a {
    color: #000;
    text-decoration: none;
}

.accordion-button:focus:not(:focus-visible) {
    box-shadow: none;
    outline: none;
}

.animation-toggle {
    display: none;
}

.autocomplete:empty {
    border: none;
}

body {
    background-image: url('/tpl/img/squid.png');
    background-size: 250px;
}

.gold {
    color: gold;
}

.silver {
    color: silver;
}

.search-form {
    height: 40px;
}

.navbar-toggler.collapsed + .animation-toggle {
    display: none;
}

.navbar-toggler + .animation-toggle {
    display: flex;
}

.navigation-wrapper:has(button.collapsed) {
    width: auto;
}

.navigation-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.breadcrumb-item.white:before {
    color: #fff;
}

.double-rating {
    align-items: center;
    display: flex;
    gap: 8px;
}

.double-rating input {
    height: 20px;
    margin-bottom: 2px;
    pointer-events: none;
    width: 20px;
}

td.double-rating input {
    height: 25px;
    margin-bottom: 0;
    width: 25px;
}

.table {
    height: 1px;
}

table tr td.cell-link {
    padding: 0;
}

.cell-link.place {
    position: relative;
}

.cell-link.place svg {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.table-main tr td.rank {
    border-left-width: 0.5px;
    border-right-width: 0.5px;
}

.table-main tr.active td {
    background-color: lightyellow;
}

.table-main tr.qualifier td {
    background-color: #d9eafd;
}

.table-main tr td {
    /*box-shadow: inset 0 0 0 9999px rgba(0,0,0, 0.05);*/
}

.swiper-initialized {
    max-width: 100%;
}

.cell-link > a,
.cell-link > div {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 8px;
    width: 100%;
}

.cell-link.rank > a {
    display: flex;
    gap: 4px;
    padding: 4px;
}

.cell-link > div {
    gap: 8px;
    justify-content: start;
}

.cell-link > div > a:only-child {
    width: 100%;
}

.cell-svg a {
    align-items: center;
    gap: 6px;
}

.cell-link.left > a {
    justify-content: start;
}

.chat {
    align-items: center;
    background-color: lightblue;
    border-radius: 50%;
    bottom: 14px;
    color: #000;
    cursor: pointer;
    display: flex;
    height: 60px;
    inset-inline-end: 14px;
    justify-content: center;
    padding: 6px;
    position: fixed;
    width: 60px;
    z-index: 10;
}

.left {
    text-align: left;
}

.logo {
    background-color: #fff;
    border-radius: 8px;
    display: none;
    padding: 2px;
}

.logo.footer-logo {
    display: flex;
}

main {
    position: relative;
}

.medal {
    align-items: center;
    display: flex;
    height: 36px;
    width: 36px;
}

nav {
    padding: 20px 12px 0;
}

.no-route {
    align-items: center;
    background-image: url('/tpl/img/background.jpg');
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 100%;
}

.cell-link.rank {
    align-items: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.no-route p {
    color: #fff;
    font-size: 22px;
}

.search-input-wrapper input {
    height: 40px;
}

.flip-box {
    display: flex;
    height: 100%;
    position: relative;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    width: 50px;
}

/*.flip-box .search-icon {*/
/*    animation: 10s flop infinite;*/
/*    animation-delay: 10s;*/
/*    transform: rotateY(0);*/
/*    transition: transform 0.8s;*/
/*}*/

.flip-wrapper {
    background-color: transparent;
    perspective: 1000px;
}

.flip-wrapper .flip-box {
    animation: 10s flip infinite;
    animation-delay: 10s;
    transform: rotateY(0);
}

@keyframes flip {
    0% { transform: rotateY(0) }
    20% { transform: rotateY(180deg) }
    40% { transform: rotateY(180deg) }
    60% { transform: rotateY(0) }
    80% { transform: rotateY(0) }
    100% { transform: rotateY(0) }
}

@keyframes triangle {
    0% { z-index: -1; }
    20% { z-index: 10; }
    40% { z-index: 10; }
    60% { z-index: -1; }
    80% { z-index: -1; }
    100% { z-index: -1; }
}

@keyframes circle {
    0% { z-index: -1; }
    20% { z-index: 10; }
    40% { z-index: 10; }
    60% { z-index: -1; }
    80% { z-index: -1; }
    100% { z-index: -1; }
}

@keyframes square {
    0% { z-index: -1; }
    20% { z-index: 10; }
    40% { z-index: 10; }
    60% { z-index: -1; }
    80% { z-index: -1; }
    100% { z-index: -1; }
}

.triangle-icon.active {
    background: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity));
    animation: triangle 20s infinite;
    z-index: -1;
}

.circle-icon.active {
    background: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity));
    animation: circle 20s infinite;
    z-index: -1;
}

.square-icon.active {
    background: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity));
    animation: square 20s infinite;
    z-index: -1;
}

.circle-icon,
.search-icon,
.square-icon,
.triangle-icon {
    backface-visibility: hidden;
    height: 100%;
    position: absolute;
    width: 100%;
    -webkit-backface-visibility: hidden;
}

.circle-icon,
.square-icon,
.triangle-icon,
.circle-icon.active,
.square-icon.active,
.triangle-icon.active {
    border-color: #ee1e87;
    transform: rotateY(180deg);
}

.grid-view {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-block: 16px;
}

.grid-view-button {
    border-radius: 3px 0 0 3px;
}

.player-card {
    align-items: center;
    border: 1px solid #000;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.player-card .player-place1,
.player-card .player-points {
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    height: 36px;
    justify-content: center;
    padding: 4px;
    position: absolute;
    top: 2px;
    width: 36px;
    z-index: 10;
}

.player-card .player-place {
    inset-inline-start: 2px;
}

.player-card .player-points {
    inset-inline-end: 2px;
}

.player-card .player-place {
    align-items: center;
    background: #186555;
    color: #fff;
    display: flex;
    font-size: 22px;
    height: 36px;
    justify-content: center;
    width: 100%;
}

.player-card .player-image {
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.player-card .player-name {
    background-color: #ee1e87;
    display: flex;
    justify-content: space-between;
    margin-top: -2px;
    padding: 10px 12px;
    width: 100%;
}

.player-card .player-name > div:only-child {
    display: flex;
    justify-content: center;
    width: 100%;
}

.player-photo-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 10px;
    justify-content: center;
}

.player-card .player-photo-wrapper {
    height: 200px;
}

.player-card .activity-level li.active {
    background-color: #1b998b;
}

.player-card .awards {
    align-items: center;
    display: flex;
    justify-content: center;
}

.activity-level {
    display: flex;
    justify-content: center;
    flex: 1;
    margin: 0;
    padding: 0;
    width: 100%;
}

.player-card .activity-level li {
    background-color: #ccc;
    display: inline-block;
    height: 4px;
    margin: 0 3px;
    position: relative;
    width: 16.5%;
}

.player-card .activity-level li div {
    background-color: #1b998b;
    height: 100%;
    left: 0;
    position: absolute;
}

.player-card .tournaments {
    flex: 1;
    gap: 6px;
    justify-content: space-between;
    padding-inline: 12px;
    width: 100%;
}

.progress-bar {
    justify-content: center;
    padding-bottom: 10px;
}

.quotation-modal {
    z-index: 15000;
}

.table-view-button {
    border-radius: 0 3px 3px 0;
}

.view-button {
    align-items: center;
    background-color: #ebebeb;
    border: 1px solid #ccc;
    color: #7d7d7d;
    display: flex;
    height: 38px;
    justify-content: center;
    padding: 7px 10px;
}

.view-button:disabled {
    background-color: #dedede;
}

.player-sort {
    align-items: center;
    display: flex;
    gap: 8px;
}

.search-icon {
    border-color: #ee1e87;
    display: flex;
    justify-content: center;
}

.october-leaf {
    position: absolute;
    background-color: transparent;
    background-image: url('/tpl/img/leaves.png');
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
}

.nav.nav-pills.nav-fill li:not(:last-child) {
    border-inline-end: 1px solid var(--bs-accordion-border-color);
}

.nav.nav-pills.nav-fill li {
    border-bottom: 1px solid var(--bs-accordion-border-color);
}

.one-row {
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-blade {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.player-nickname {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    position: relative;
}

.table-name {
    cursor: default;
    font-size: 20px;
    font-weight: 500;
    justify-content: center;
}

.table-name:after {
    content: none;
}

section {
    padding: 10px 12px 20px;
}

.root {
    min-height: calc(100vh - 100px);
}

.share {
    align-items: center;
    bottom: 0;
    display: flex;
    gap: 4px;
    inset-inline-end: 0;
    position: absolute;
    top: 0;
}

.table-players td {
    font-size: 14px;
    padding: 8px 4px;
}

.table-players td.cell-link a {
    padding-block: 8px;
    padding-inline: 3px;
}

.table-players td.cell-link:first-child a {
    padding-inline-end: 2px;
    padding-inline-start: 4px;
}

.table-players th {
    font-size: 12px;
}

.table-players th:first-child {
    width: 20%;
}

.table-select {
    display: none;
}

.table-sort-header th {
    padding: 0;
}

.table-sort-header th button {
    align-items: center;
    display: flex;
    gap: 4px;
    justify-content: center;
    padding: 8px;
    width: 100%;
}

.table-sort-header th button label {
    cursor: pointer;
}

.table-sort-header th button > svg {
    margin-top: 2px;
}

.table-sort-header.table-main th button {
    align-items: center;
}

.table-sort-header.table-players th button {
    gap: 2px;
    padding: 8px 3px;
}

.table-sort-header.table-players th button > svg {
    margin-top: 0;
}

.table-heading.flex {
    align-items: center;
    display: flex;
    justify-content: center;
}

.table-heading,
.table-share,
.table-sort {
    background: none;
    border: none;
    color: #000;
    font-weight: 400;
    padding: 0;
    -webkit-appearance: none;
}

.table-heading {
    height: 100%;
    padding: 6px 3px;
}

.table-heading.rank {
    padding: 8px;
}

.table-tournament {
    margin-top: 0;
}

.table-tournament th {
    font-size: 12px;
}

td, td, th {
     border-right: 1px solid lightblue;
     text-align: center;
}

th {
    vertical-align: middle;
}

table.table-bordered thead th {
    box-shadow: inset 0 -1px #dee2e6;
    position: sticky;
    top: -1px;
}

th svg {
    cursor: pointer;
}

.table-sticky tbody > tr td:nth-child(2) {
    position: sticky;
    left: 0;
}

tbody > tr > td {
    vertical-align: middle;
}

.tooltip-text {
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    text-decoration: underline;
    z-index: 10;
}

.tooltip-text:active,
.tooltip-text:focus,
.tooltip-text:hover,
.btn.tooltip-text:active,
.btn.tooltip-text:focus,
.btn.tooltip-text:hover {
    border: none;
    outline: none;
}

.player-card .swiper-initialized {
    height: 100%;
}

.swiper-initialized .player-photo {
    object-fit: cover;
}

.player-photo {
    align-self: start;
    object-fit: contain;
    width: 100%;
}

.player-profile {
    display: flex;
    flex-direction: column-reverse;
}

.tournament-photo {
    max-width: 100%;
    width: 100%;
}

.main-wrapper {
    height: 100vh;
    overflow: scroll;
}

.desktop-only,
.desktop-only-inline {
    display: none;
}

.pokerbet {
    align-items: center;
    background-color: #000;
    border-radius: 4px;
    display: inline-flex;
    justify-content: center;
    max-height: 26px;
    padding-block: 4px;
    padding-inline-end: 4px;
    padding-inline-start: 3px;
}

h3 .pokerbet {
    max-height: unset;
}

.table .small > a {
    padding-block: 8px;
    padding-inline-end: 2px;
    padding-inline-start: 4px;
}

.table form {
    display: flex;
    gap: 2px;
    justify-content: center;
    width: 100%;
}

.table.table-main form {
    gap: 4px;
}

.table td.admin-table-action {
    padding: 0;
}

.admin-table-action button {
    padding: 0 2px;
}

.show-more-button {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
}

.table-terms td {
    text-transform: lowercase;
}

.inactive td,
.inactive th {
    background-color: #f1b0b7;
}

select:disabled,
.form-select:disabled,
.edit-input.form-select:disabled {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: none !important;
}

select:disabled,
.form-select:disabled {
    background-color: #e9ecef !important;
}

.edit-input:disabled {
    background-color: transparent !important;
}

sup {
    color: red;
}

.touch-none {
    touch-action: none;
}

.cursor-default {
    cursor: default;
}

.hidden {
    display: none;
}

.h-12px {
    height: 12px;
}

.h-14px {
    height: 14px;
}

.h-16px {
    height: 16px;
}

.h-18px {
    height: 18px;
}

.h-20px {
    height: 20px;
}

.h-22px {
    height: 22px;
}

.h-24px {
    height: 24px;
}

.h-30px {
    height: 30px;
}

.h-32px {
    height: 32px;
}

.h-36px {
    height: 36px;
}

.h-38px {
    height: 38px;
}

.h-40px {
    height: 40px;
}

.mb-05 {
    margin-bottom: 2px;
}

.mb-n05 {
    margin-bottom: -2px;
}

.mb-n1 {
    margin-bottom: -4px;
}

.mt-n05 {
    margin-top: -2px;
}

.mt-n1 {
    margin-top: -4px;
}

.mw-50 {
    max-width: 50px;
}

.mw-100 {
    max-width: 100px;
}

.mw-120 {
    max-width: 120px;
}

.mw-200 {
    max-width: 200px;
}

.right-0 {
    right: 0;
}

.right-1 {
    right: 4px;
}

.rounded-sm-0 {
    border-radius: 0;
}

.top-0 {
    top: 0;
}

.w-12px {
    width: 12px;
}

.w-14px {
    width: 14px;
}

.w-16px {
    width: 16px;
}

.w-18px {
    width: 18px;
}

.w-20px {
    width: 20px;
}

.w-22px {
    width: 22px;
}

.w-24px {
    width: 24px;
}

.w-28px {
    width: 28px;
}

.w-30px {
    width: 30px;
}

.w-32px {
    width: 32px;
}

.w-36px {
    width: 36px;
}

.w-80px {
    width: 80px;
}

.w-125px {
    width: 125px;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-38 {
    width: 38%;
}

.w-40 {
    width: 40%;
}

.w-45 {
    width: 45%;
}

.w-50 {
    width: 50%;
}

.w-55 {
    width: 55%;
}

.w-58 {
    width: 58%;
}

.w-65 {
    width: 65%;
}

@media screen and (min-width: 767px) {
    .cell-link.rank > a {
        gap: 6px;
        padding: 8px;
    }

    .grid-view {
        grid-template-columns: repeat(6, 1fr);
        gap: 24px;
        margin-top: 24px;
    }

    .rounded-sm-0 {
        border-radius: 6px;
    }

    .table-sort-header th button {
        padding: 8px;
    }

    .cell-link > a,
    .cell-link > div {
        padding: 8px;
    }

    .table-heading {
        padding: 6px;
    }

    .swiper-initialized.tournament {
        max-width: 100%;
    }

    .swiper-initialized {
        max-width: 230px;
    }

    .player-card .swiper-initialized {
        max-width: 100%;
    }

    .flip-box {
        width: 80px;
    }

    .table-players td.cell-link:first-child a {
        padding-inline: 8px;
    }

    .table-sort-header th button {
        align-items: center;
    }

    .table-sort-header.table-players th button {
        gap: 4px;
        padding: 8px;
    }

    .table-sort-header.table-players th button > svg {
        margin-top: 2px;
    }

    .desktop-only {
        display: block;
    }

    .desktop-only-inline {
        display: inline;
    }

    .no-route p {
        font-size: 36px;
    }

    .table-name {
        font-size: 22px;
    }

    .player-nickname {
        gap: 0;
    }

    .table-players td.cell-link a {
        padding: 8px;
    }

    .table .small > a {
        padding-inline: 8px;
    }

    table .desktop-only {
        display: table-cell;
    }

    table tr.desktop-only {
        display: table-row;
    }

    .table form {
        gap: 5px;
    }

    table span.desktop-only {
        display: inline;
    }

    nav {
        padding: 20px 40px 0;
    }

    .mobile-only,
    .mobile-only-inline {
        display: none;
    }

    .swiper-initialized .player-photo {
        width: 100%;
    }

    .player-card .player-photo-wrapper {
        height: 300px;
    }

    .player-photo {
        max-height: 231px;
        width: auto;
    }

    .player-profile {
        flex-direction: row;
    }

    .pokerbet {
        max-height: unset;
    }

    section {
        padding: 20px 40px 40px;
    }

    .share {
        gap: 10px;
    }

    .admin-table-action button {
        padding: 3px 12px;
    }

    .table-players td,
    .table-players th,
    .table-tournament th {
        font-size: 16px;
    }

    .table td.admin-table-action {
        display: table-cell;
        padding: 4px 8px;
        width: 380px;
    }

    .table th.admin-table-action-heading.long {
        width: 500px;
    }

    .table th.admin-table-action-heading.longer {
        width: 600px;
    }

    .table-players th:first-child {
        width: unset;
    }
}

@media screen and (min-width: 992px) {
    .logo {
        display: flex;
    }
}
