.body.body {
    overflow-x: hidden;
    font-family: Fredoka, sans-serif;
    font-size: 16px;
    line-height: 1.25;
    line-height: inherit;
    color: var(--foreground);
    margin: 0;
    display: block;
}

:after,
:before {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-scroll-snap-strictness: proximity;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    box-sizing: border-box;
    border: 0 solid #e5e7eb
}

.page-container {
    --tw-bg-opacity: 1;
    -webkit-font-smoothing: antialiased;
    font-family: var(--font-sans), sans-serif;
    flex-direction: column;
    min-height: 100vh;
    display: flex;
    unicode-bidi: isolate;
}

.header-bar {
    --tw-bg-opacity: 1;
    --tw-backdrop-blur: blur(12px);
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-bottom-width: 1px;
    width: 100%;
    z-index: 50;
    position: relative;
    display: block;
    unicode-bidi: isolate;
}

.header-container {
    justify-content: space-between;
    align-items: center;
    display: flex;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;

}

.logo-section {
    gap: 2rem;
    display: flex;
}

.logo_link {
    display: flex;
    align-items: center;
}

.logo_link a {
    text-decoration: inherit;
    color: inherit;
}

.logo-box {
    --tw-shadow-color: rgba(0, 123, 67, .1);
    --tw-shadow: var(--tw-shadow-colored);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-radius: .75rem;
    position: relative;
}

.logo-box:hover img {
    transform: scale(1.1) rotate(360deg);
}

.logo-image {
    color: transparent;
    object-fit: contain;
    max-height: 40px;
    animation-duration: .5s;
    transition-duration: .5s;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);

}

.search-box {
    gap: 1rem;
    align-items: center;
    display: flex;
}

.search-wrap {
    max-width: 230px;
    padding-left: .75rem;
    padding-right: .75rem;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.search-input {
    background: #111827;
    font-size: 14px;
    border: 1px solid #323a52;
    animation-duration: .3s;
    transition-duration: .3s;
    transition-property: all;
    line-height: 1.75rem;
    padding-right: 1rem;
    padding-left: 2.25rem;
    border-radius: 1.5rem;
    width: 100%;
    height: 2.5rem;
}

.main-content {
    max-width: 80rem;
    margin-right: auto;
    margin-left: auto;
}

.flex-grow {
    flex: 1 1 0%;
}

.page-data {
    word-break: break-word;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.game-player {
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
}

.game-player__inner {
    width: 100%;
    --mobile-height: 400px;
    --desktop-height: 550px;
    min-height: 520px;
    width: 100%;
    position: relative;
}

.thumb-card {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    will-change: transform;
    transform: translateY(0);
}

.thumb-card:hover span {
    color: white !important;
}


body.dark .thumb-card {
    background-color: rgba(23, 23, 23, 0.95);
}

@media (min-width: 1400px) {
    .header-container {
        max-width: 1400px
    }
}

@media (min-width: 1366px) {
    .game-player__inner {
        min-height: 670px;
    }

    .logo-section {
        gap: 3rem;
    }

    .search-wrap {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .page-data {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

}

@media (min-width: 1536px) {
    .flex-grow {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .player-footer__left h1 {
        font-size: 20px;
    }
}

.page-content span {
    font-weight: 400;
}

.page-content ul li {
    font-weight: 400;
}

.page-container ul li span {
    font-weight: 400;
}

.how-to-play-intro p {
    margin: 0 0 0.75rem 0;
}


.thumb-card.hidden-lg {
    display: none;
}

.thumb-card.hidden-lg.visible {
    display: block;
    animation: fadeInUp 0.35s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 32px;
    background: linear-gradient(180deg, #ffcf6b 0%, #ffb347 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgb(8 5 1 / 25%);
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 213, 2, 0.35);
}

.load-more-btn:active {
    transform: scale(0.97);
}

.load-more-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.load-more-btn .btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.load-more-btn.loading .btn-spinner {
    display: inline-block;
}

.load-more-btn.loading .btn-text {
    opacity: 0.7;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.header-bar {
    width: 100%;
    background: #070b1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 8px 16px;

    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-section {
    flex-shrink: 0;
}

.logo_link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 34px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-search {
    flex: 1;
    min-width: 0;
}

.search-results {
    width: 100%;
    padding: 0 !important;
}

.search-results>.relative {
    width: 100%;
}

.input_search {
    width: 100%;
    height: 38px;

    background: #13182b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;

    color: black !important;
    font-size: 14px;

    padding-left: 42px;
    padding-right: 16px;

    outline: none;
    transition: 0.2s ease;
}

.input_search::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

.input_search:focus {
    border-color: rgba(110, 255, 140, 0.45);
    background: #171d33;
}

#search_button {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);

    width: 16px;
    height: 16px;

    border: none;
    background: transparent;
    padding: 0;

    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

#search_button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.header-menu {
    flex-shrink: 0;
}

.header-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-menu__link {
    height: 36px;
    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: #2d2f38;

    color: #fff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    transition: 0.2s ease;
    white-space: nowrap;
}

/* .header-menu__link:hover {
    background: #3a3d47;
} */

.header-menu-mobile {
    display: none;
}

.header-menu-mobile__button {
    width: 38px;
    height: 38px;

    border: none;
    border-radius: 10px;

    color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.header-menu-mobile__button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 14px;
    }

    .logo-section {
        order: 1;
    }

    .header-menu-mobile {
        order: 2;
        margin-left: auto;
        display: flex;
    }

    .header-search {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
    }

    .header-menu {
        display: none;
    }

    .logo-image {
        height: 30px;
    }

    .input_search {
        height: 42px;
        font-size: 14px;
    }
}

.search-results {
    max-width: none !important;
}

#search_txt {
    color: #000;
}

.header-menu__link {
    height: 38px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: linear-gradient(180deg, #ffcf6b 0%, #ffb347 100%);
    border: 2px solid #ffdf9f;

    color: #5a2d00;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;

    box-shadow:
        0 3px 0 #d9891b,
        0 6px 14px rgba(255, 179, 71, 0.25);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.2s ease;

    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.header-menu__link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.45),
            transparent);

    transition: left 0.5s ease;
}

.header-menu__link:hover::before {
    left: 130%;
}

.header-menu__link:hover {
    transform: translateY(-2px);

    box-shadow:
        0 5px 0 #d9891b,
        0 10px 18px rgba(255, 179, 71, 0.35);

    filter: brightness(1.03);
}

.header-menu__link:active {
    transform: translateY(2px);

    box-shadow:
        0 1px 0 #d9891b,
        0 4px 8px rgba(255, 179, 71, 0.2);
}

@media (max-width: 768px) {

    .header-menu {
        display: none;

        width: 100%;
        order: 4;

        border-radius: 16px;
        padding: 12px;

        margin-top: 4px;
    }

    .header-menu.active {
        display: block;
    }

    .header-menu__item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .header-menu__link {
        width: 100%;
        justify-content: center;
        height: 44px;
    }
}

.swiper-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1
}

.swiper-container-no-flexbox .swiper-slide {
    float: left
}

.swiper-container-vertical>.swiper-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

.swiper-container-android .swiper-slide,
.swiper-wrapper {
    -webkit-transform: translate3d(0px, 0, 0);
    transform: translate3d(0px, 0, 0)
}

.swiper-container-multirow>.swiper-wrapper {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.swiper-container-free-mode>.swiper-wrapper {
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    margin: 0 auto
}

.swiper-slide {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform
}

.swiper-invisible-blank-slide {
    visibility: hidden
}

.swiper-container-autoheight,
.swiper-container-autoheight .swiper-slide {
    height: auto
}

.swiper-container-autoheight .swiper-wrapper {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-transition-property: height, -webkit-transform;
    transition-property: height, -webkit-transform;
    -o-transition-property: transform, height;
    transition-property: transform, height;
    transition-property: transform, height, -webkit-transform
}

.swiper-container-3d {
    -webkit-perspective: 1200px;
    perspective: 1200px
}

.swiper-container-3d .swiper-wrapper,
.swiper-container-3d .swiper-slide,
.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right,
.swiper-container-3d .swiper-slide-shadow-top,
.swiper-container-3d .swiper-slide-shadow-bottom,
.swiper-container-3d .swiper-cube-shadow {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d
}

.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right,
.swiper-container-3d .swiper-slide-shadow-top,
.swiper-container-3d .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10
}

.swiper-container-3d .swiper-slide-shadow-left {
    background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, 0)));
    background-image: -webkit-linear-gradient(right, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    background-image: -o-linear-gradient(right, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to left, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0))
}

.swiper-container-3d .swiper-slide-shadow-right {
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, 0)));
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0))
}

.swiper-container-3d .swiper-slide-shadow-top {
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, 0)));
    background-image: -webkit-linear-gradient(bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    background-image: -o-linear-gradient(bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0))
}

.swiper-container-3d .swiper-slide-shadow-bottom {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, 0)));
    background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    background-image: -o-linear-gradient(top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0))
}

.swiper-container-wp8-horizontal,
.swiper-container-wp8-horizontal>.swiper-wrapper {
    -ms-touch-action: pan-y;
    touch-action: pan-y
}

.swiper-container-wp8-vertical,
.swiper-container-wp8-vertical>.swiper-wrapper {
    -ms-touch-action: pan-x;
    touch-action: pan-x
}

.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    width: 27px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-size: 27px 44px;
    background-position: center;
    background-repeat: no-repeat
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    opacity: .35;
    cursor: auto;
    pointer-events: none
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
    left: 10px;
    right: auto
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");
    right: 10px;
    left: auto
}

.swiper-button-prev.swiper-button-white,
.swiper-container-rtl .swiper-button-next.swiper-button-white {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")
}

.swiper-button-next.swiper-button-white,
.swiper-container-rtl .swiper-button-prev.swiper-button-white {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")
}

.swiper-button-prev.swiper-button-black,
.swiper-container-rtl .swiper-button-next.swiper-button-black {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")
}

.swiper-button-next.swiper-button-black,
.swiper-container-rtl .swiper-button-prev.swiper-button-black {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")
}

.swiper-button-lock {
    display: none
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    -webkit-transition: .3s opacity;
    -o-transition: .3s opacity;
    transition: .3s opacity;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 10
}

.swiper-pagination.swiper-pagination-hidden {
    opacity: 0
}

.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 10px;
    left: 0;
    width: 100%
}

.swiper-pagination-bullets-dynamic {
    overflow: hidden;
    font-size: 0
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    -webkit-transform: scale(.33);
    -ms-transform: scale(.33);
    transform: scale(.33);
    position: relative
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev {
    -webkit-transform: scale(.66);
    -ms-transform: scale(.66);
    transform: scale(.66)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev {
    -webkit-transform: scale(.33);
    -ms-transform: scale(.33);
    transform: scale(.33)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next {
    -webkit-transform: scale(.66);
    -ms-transform: scale(.66);
    transform: scale(.66)
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next {
    -webkit-transform: scale(.33);
    -ms-transform: scale(.33);
    transform: scale(.33)
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 100%;
    background: #000;
    opacity: .2
}

button.swiper-pagination-bullet {
    border: none;
    margin: 0;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.swiper-pagination-clickable .swiper-pagination-bullet {
    cursor: pointer
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007aff
}

.swiper-container-vertical>.swiper-pagination-bullets {
    right: 10px;
    top: 50%;
    -webkit-transform: translate3d(0px, -50%, 0);
    transform: translate3d(0px, -50%, 0)
}

.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 6px 0;
    display: block
}

.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 8px
}

.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    display: inline-block;
    -webkit-transition: .2s top, .2s -webkit-transform;
    transition: .2s top, .2s -webkit-transform;
    -o-transition: .2s transform, .2s top;
    transition: .2s transform, .2s top;
    transition: .2s transform, .2s top, .2s -webkit-transform
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 4px
}

.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    white-space: nowrap
}

.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    -webkit-transition: .2s left, .2s -webkit-transform;
    transition: .2s left, .2s -webkit-transform;
    -o-transition: .2s transform, .2s left;
    transition: .2s transform, .2s left;
    transition: .2s transform, .2s left, .2s -webkit-transform
}

.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    -webkit-transition: .2s right, .2s -webkit-transform;
    transition: .2s right, .2s -webkit-transform;
    -o-transition: .2s transform, .2s right;
    transition: .2s transform, .2s right;
    transition: .2s transform, .2s right, .2s -webkit-transform
}

.swiper-pagination-progressbar {
    background: rgba(0, 0, 0, .25);
    position: absolute
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #007aff;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top
}

.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top
}

.swiper-container-horizontal>.swiper-pagination-progressbar,
.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
    width: 100%;
    height: 4px;
    left: 0;
    top: 0
}

.swiper-container-vertical>.swiper-pagination-progressbar,
.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite {
    width: 4px;
    height: 100%;
    left: 0;
    top: 0
}

.swiper-pagination-white .swiper-pagination-bullet-active {
    background: #fff
}

.swiper-pagination-progressbar.swiper-pagination-white {
    background: rgba(255, 255, 255, .25)
}

.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill {
    background: #fff
}

.swiper-pagination-black .swiper-pagination-bullet-active {
    background: #000
}

.swiper-pagination-progressbar.swiper-pagination-black {
    background: rgba(0, 0, 0, .25)
}

.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill {
    background: #000
}

.swiper-pagination-lock {
    display: none
}

.swiper-scrollbar {
    border-radius: 10px;
    position: relative;
    -ms-touch-action: none;
    background: rgba(0, 0, 0, .1)
}

.swiper-container-horizontal>.swiper-scrollbar {
    position: absolute;
    left: 1%;
    bottom: 3px;
    z-index: 50;
    height: 5px;
    width: 98%
}

.swiper-container-vertical>.swiper-scrollbar {
    position: absolute;
    right: 3px;
    top: 1%;
    z-index: 50;
    width: 5px;
    height: 98%
}

.swiper-scrollbar-drag {
    height: 100%;
    width: 100%;
    position: relative;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    left: 0;
    top: 0
}

.swiper-scrollbar-cursor-drag {
    cursor: move
}

.swiper-scrollbar-lock {
    display: none
}

.swiper-zoom-container {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center
}

.swiper-zoom-container>img,
.swiper-zoom-container>svg,
.swiper-zoom-container>canvas {
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

.swiper-slide-zoomed {
    cursor: move
}

.swiper-lazy-preloader {
    width: 42px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 10;
    -webkit-transform-origin: 50%;
    -ms-transform-origin: 50%;
    transform-origin: 50%;
    -webkit-animation: swiper-preloader-spin 1s steps(12, end) infinite;
    animation: swiper-preloader-spin 1s steps(12, end) infinite
}

.swiper-lazy-preloader:after {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-position: 50%;
    background-size: 100%;
    background-repeat: no-repeat
}

.swiper-lazy-preloader-white:after {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")
}

@-webkit-keyframes swiper-preloader-spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes swiper-preloader-spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.swiper-container .swiper-notification {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    z-index: -1000
}

.swiper-container-fade.swiper-container-free-mode .swiper-slide {
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    transition-timing-function: ease-out
}

.swiper-container-fade .swiper-slide {
    pointer-events: none;
    -webkit-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity
}

.swiper-container-fade .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-container-fade .swiper-slide-active,
.swiper-container-fade .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

.swiper-container-cube {
    overflow: visible
}

.swiper-container-cube .swiper-slide {
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1;
    visibility: hidden;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    width: 100%;
    height: 100%
}

.swiper-container-cube .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-container-cube.swiper-container-rtl .swiper-slide {
    -webkit-transform-origin: 100% 0;
    -ms-transform-origin: 100% 0;
    transform-origin: 100% 0
}

.swiper-container-cube .swiper-slide-active,
.swiper-container-cube .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

.swiper-container-cube .swiper-slide-active,
.swiper-container-cube .swiper-slide-next,
.swiper-container-cube .swiper-slide-prev,
.swiper-container-cube .swiper-slide-next+.swiper-slide {
    pointer-events: auto;
    visibility: visible
}

.swiper-container-cube .swiper-slide-shadow-top,
.swiper-container-cube .swiper-slide-shadow-bottom,
.swiper-container-cube .swiper-slide-shadow-left,
.swiper-container-cube .swiper-slide-shadow-right {
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.swiper-container-cube .swiper-cube-shadow {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .6;
    -webkit-filter: blur(50px);
    filter: blur(50px);
    z-index: 0
}

.swiper-container-flip {
    overflow: visible
}

.swiper-container-flip .swiper-slide {
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 1
}

.swiper-container-flip .swiper-slide .swiper-slide {
    pointer-events: none
}

.swiper-container-flip .swiper-slide-active,
.swiper-container-flip .swiper-slide-active .swiper-slide-active {
    pointer-events: auto
}

.swiper-container-flip .swiper-slide-shadow-top,
.swiper-container-flip .swiper-slide-shadow-bottom,
.swiper-container-flip .swiper-slide-shadow-left,
.swiper-container-flip .swiper-slide-shadow-right {
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

.swiper-container-coverflow .swiper-wrapper {
    -ms-perspective: 1200px
}

.vx-page {
    --vx-ink: #3a3a3a;
    --vx-muted: #5c5c5c;
    --vx-accent: #007b43;
    --vx-soft: rgba(0, 123, 67, 0.1);
}

html.dark .vx-page {
    --vx-ink: #d4d4d4;
    --vx-muted: #b0b8c1;
    --vx-accent: #4ade80;
    --vx-soft: rgba(0, 123, 67, 0.22);
}

.vx-page p {
    color: var(--vx-ink);
    line-height: 1.65;
}

.vx-ctrl {
    display: grid;
    margin: 0.45rem 0 1.9rem;
    border-top: 2px solid var(--vx-accent);
}

.vx-ctrl__head,
.vx-ctrl__row {
    display: grid;
    grid-template-columns: 0.95fr 1.1fr 1.25fr;
}

.vx-ctrl__head {
    background: var(--vx-soft);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--vx-accent);
}

.vx-ctrl__cell {
    padding: 0.62rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    color: #505050;
    line-height: 1.45;
    font-size: 0.95rem;
}

.vx-ctrl__row:last-child .vx-ctrl__cell {
    border-bottom: 0;
}

.vx-ctrl__cell--action {
    font-weight: 700;
}

.vx-ctrl__row:nth-child(odd) {
    background: rgba(0, 123, 67, 0.035);
}

html.dark .vx-ctrl__row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.03);
}

.vx-diff {
    margin: 0.2rem 0 1.15rem;
    padding-left: 1.15rem;
}

.vx-diff li {
    color: #4f4f4f;
    margin-bottom: 0.45rem;
    line-height: 1.55;
}

.vx-note {
    position: relative;
    margin: 0.2rem 0 1.9rem;
    padding: 0.85rem 1rem 0.9rem 2.45rem;
    border-left: 3px solid var(--vx-accent);
    background: var(--vx-soft);
}

.vx-note::before {
    content: "i";
    position: absolute;
    left: 0.85rem;
    top: 0.9rem;
    width: 0.95rem;
    height: 0.95rem;
    font-size: 0.72rem;
    font-weight: 700;
    font-style: italic;
    line-height: 0.95rem;
    text-align: center;
    color: var(--vx-accent);
    border: 1px solid var(--vx-accent);
    border-radius: 50%;
}

.vx-note p {
    margin: 0;
    color: var(--vx-ink);
    line-height: 1.6;
}

.vx-tips {
    list-style: none;
    counter-reset: vx-tip;
    padding: 0;
    margin: 0.35rem 0 1.85rem;
}

.vx-tips li {
    counter-increment: vx-tip;
    position: relative;
    padding: 0.7rem 0 0.7rem 2.15rem;
    color: #494949;
    line-height: 1.55;
    border-bottom: 1px dotted rgba(148, 163, 184, 0.4);
}

.vx-tips li:last-child {
    border-bottom: 0;
}

.vx-tips li::before {
    content: counter(vx-tip);
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 1.45rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--vx-accent);
}

@media (max-width: 767px) {
    .vx-ctrl__head {
        display: none;
    }

    .vx-ctrl {
        border-top: 0;
        gap: 0.65rem;
    }

    .vx-ctrl__row {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        margin: 0 0 0.65rem;
        padding: 0.8rem 0.85rem;
        background: var(--vx-soft);
        border-left: 3px solid var(--vx-accent);
    }

    .vx-ctrl__cell {
        padding: 0;
        border-bottom: 0;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .vx-ctrl__cell::before {
        content: attr(data-label);
        display: block;
        font-family: var(--font-heading);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--vx-accent);
        margin-bottom: 0.12rem;
    }

    .vx-note {
        padding: 0.75rem 0.85rem 0.75rem 2.3rem;
    }

    .vx-tips li {
        padding-left: 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 500px) {

    .vx-page p,
    .vx-ctrl__cell,
    .vx-diff li,
    .vx-tips li {
        font-size: 0.94rem;
    }
}

/* Death Run 3D game page — scoped to .dr-page */
.dr-page {
    --dr-ink: #3a3a3a;
    --dr-muted: #5c5c5c;
    --dr-accent: #007b43;
    --dr-soft: rgba(0, 123, 67, 0.1);
}

html.dark .dr-page {
    --dr-ink: #d4d4d4;
    --dr-muted: #b0b8c1;
    --dr-accent: #4ade80;
    --dr-soft: rgba(0, 123, 67, 0.22);
}

.dr-page p {
    color: var(--dr-ink);
    line-height: 1.65;
}

.dr-ctrl {
    display: grid;
    margin: 0.45rem 0 1.9rem;
    border-top: 2px solid var(--dr-accent);
}

.dr-ctrl__head,
.dr-ctrl__row {
    display: grid;
    grid-template-columns: 0.9fr 1.05fr 1.3fr;
}

.dr-ctrl__head {
    background: var(--dr-soft);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--dr-accent);
}

.dr-ctrl__cell {
    padding: 0.62rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    color: #393939;
    line-height: 1.45;
    font-size: 0.95rem;
}

.dr-ctrl__row:last-child .dr-ctrl__cell {
    border-bottom: 0;
}

.dr-ctrl__cell--action {
    font-weight: 700;
}

.dr-ctrl__row:nth-child(odd) {
    background: rgba(0, 123, 67, 0.035);
}

html.dark .dr-ctrl__row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.03);
}

.dr-diff {
    margin: 0.2rem 0 1.15rem;
    padding-left: 1.15rem;
}

.dr-diff li {
    color: #1f1f1f;
    margin-bottom: 0.45rem;
    line-height: 1.55;
}

.dr-note {
    position: relative;
    margin: 0.2rem 0 1.9rem;
    padding: 0.85rem 1rem 0.9rem 2.45rem;
    border-left: 3px solid var(--dr-accent);
    background: var(--dr-soft);
}

.dr-note::before {
    content: ">";
    position: absolute;
    left: 0.85rem;
    top: 0.9rem;
    width: 0.95rem;
    height: 0.95rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 0.95rem;
    text-align: center;
    color: var(--dr-accent);
    border: 1px solid var(--dr-accent);
}

.dr-note p {
    margin: 0;
    color: var(--dr-ink);
    line-height: 1.6;
}

.dr-tips {
    list-style: none;
    counter-reset: dr-tip;
    padding: 0;
    margin: 0.35rem 0 1.85rem;
}

.dr-tips li {
    counter-increment: dr-tip;
    position: relative;
    padding: 0.7rem 0 0.7rem 2.15rem;
    color: #373737;
    line-height: 1.55;
    border-bottom: 1px dotted rgba(148, 163, 184, 0.4);
}

.dr-tips li:last-child {
    border-bottom: 0;
}

.dr-tips li::before {
    content: counter(dr-tip);
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 1.45rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dr-accent);
}

@media (max-width: 767px) {
    .dr-ctrl__head {
        display: none;
    }

    .dr-ctrl {
        border-top: 0;
        gap: 0.65rem;
    }

    .dr-ctrl__row {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        margin: 0 0 0.65rem;
        padding: 0.8rem 0.85rem;
        background: var(--dr-soft);
        border-left: 3px solid var(--dr-accent);
    }

    .dr-ctrl__cell {
        padding: 0;
        border-bottom: 0;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .dr-ctrl__cell::before {
        content: attr(data-label);
        display: block;
        font-family: var(--font-heading);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--dr-accent);
        margin-bottom: 0.12rem;
    }

    .dr-note {
        padding: 0.75rem 0.85rem 0.75rem 2.3rem;
    }

    .dr-tips li {
        padding-left: 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 500px) {

    .dr-page p,
    .dr-ctrl__cell,
    .dr-diff li,
    .dr-tips li {
        font-size: 0.94rem;
    }
}

/* Bacon May Die game page — scoped to .bm-page */
.bm-page {
    --bm-ink: #3a3a3a;
    --bm-muted: #5c5c5c;
    --bm-accent: #007b43;
    --bm-soft: rgba(0, 123, 67, 0.1);
}

html.dark .bm-page {
    --bm-ink: #d4d4d4;
    --bm-muted: #b0b8c1;
    --bm-accent: #4ade80;
    --bm-soft: rgba(0, 123, 67, 0.22);
}

.bm-page p {
    color: var(--bm-ink);
    line-height: 1.65;
}

.bm-ctrl {
    display: grid;
    margin: 0.45rem 0 1.9rem;
    border-top: 2px solid var(--bm-accent);
}

.bm-ctrl__head,
.bm-ctrl__row {
    display: grid;
    grid-template-columns: 0.75fr 1.1fr 1.4fr;
}

.bm-ctrl__head {
    background: var(--bm-soft);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--bm-accent);
}

.bm-ctrl__cell {
    padding: 0.62rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    color: #2f2f2f;
    line-height: 1.45;
    font-size: 0.95rem;
}

.bm-ctrl__row:last-child .bm-ctrl__cell {
    border-bottom: 0;
}

.bm-ctrl__cell--action {
    font-weight: 700;
}

.bm-ctrl__row:nth-child(odd) {
    background: rgba(0, 123, 67, 0.035);
}

html.dark .bm-ctrl__row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.03);
}

.bm-diff {
    margin: 0.2rem 0 1.15rem;
    padding-left: 1.15rem;
}

.bm-diff li {
    color: #1c1c1c;
    margin-bottom: 0.45rem;
    line-height: 1.55;
}

.bm-note {
    position: relative;
    margin: 0.2rem 0 1.9rem;
    padding: 0.85rem 1rem 0.9rem 2.45rem;
    border-left: 3px solid var(--bm-accent);
    background: var(--bm-soft);
}

.bm-note::before {
    content: "+";
    position: absolute;
    left: 0.85rem;
    top: 0.9rem;
    width: 0.95rem;
    height: 0.95rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 0.9rem;
    text-align: center;
    color: var(--bm-accent);
    border: 1px solid var(--bm-accent);
}

.bm-note p {
    margin: 0;
    color: var(--bm-ink);
    line-height: 1.6;
}

.bm-tips {
    list-style: none;
    counter-reset: bm-tip;
    padding: 0;
    margin: 0.35rem 0 1.85rem;
}

.bm-tips li {
    counter-increment: bm-tip;
    position: relative;
    padding: 0.7rem 0 0.7rem 2.15rem;
    color: #272727;
    line-height: 1.55;
    border-bottom: 1px dotted rgba(148, 163, 184, 0.4);
}

.bm-tips li:last-child {
    border-bottom: 0;
}

.bm-tips li::before {
    content: counter(bm-tip);
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 1.45rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bm-accent);
}

@media (max-width: 767px) {
    .bm-ctrl__head {
        display: none;
    }

    .bm-ctrl {
        border-top: 0;
        gap: 0.65rem;
    }

    .bm-ctrl__row {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        margin: 0 0 0.65rem;
        padding: 0.8rem 0.85rem;
        background: var(--bm-soft);
        border-left: 3px solid var(--bm-accent);
    }

    .bm-ctrl__cell {
        padding: 0;
        border-bottom: 0;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .bm-ctrl__cell::before {
        content: attr(data-label);
        display: block;
        font-family: var(--font-heading);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--bm-accent);
        margin-bottom: 0.12rem;
    }

    .bm-note {
        padding: 0.75rem 0.85rem 0.75rem 2.3rem;
    }

    .bm-tips li {
        padding-left: 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 500px) {

    .bm-page p,
    .bm-ctrl__cell,
    .bm-diff li,
    .bm-tips li {
        font-size: 0.94rem;
    }
}

.play-gate {
    --gate-btn: #4e9a5f;
    --gate-btn-dark: #2f6b3d;

    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    border-radius: inherit;
}

.play-gate.is-hidden {
    display: none;
}

.play-gate__bg {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center;
    filter: blur(14px) brightness(.5) saturate(1.1);
    transform: scale(1.1);
}

.play-gate__card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.play-gate__cover {
    width: clamp(130px, 22vw, 190px);
    aspect-ratio: 1;
    border: 3px solid #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

.play-gate__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-gate__info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.play-gate__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.play-gate__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    border: 0;
    border-radius: 18px;
    cursor: pointer;
    font-family: inherit;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .4);
    background: orange;
    box-shadow: 0 5px 0 #b17404, 0 12px 22px rgba(0, 0, 0, .4);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.play-gate__btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.play-gate__btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.play-gate__btn:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 var(--gate-btn-dark), 0 4px 10px rgba(0, 0, 0, .4);
}

.play-gate__btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.play-gate__btn:disabled {
    cursor: progress;
    filter: saturate(.7) brightness(.95);
    transform: none;
}

@media (max-width: 768px) {
    .play-gate__card {
        gap: 18px;
    }

    .play-gate__btn {
        padding: 12px 28px;
        font-size: 17px;
    }
}

/* ===== Tablet & mobile ===== */
@media (max-width: 768px) {
    .play-gate {
        padding: 14px;
    }

    .play-gate__bg {
        inset: -30px;
        filter: blur(10px) brightness(.5) saturate(1.1);
    }

    .play-gate__card {
        gap: 18px;
        width: 100%;
    }

    .play-gate__cover {
        width: clamp(120px, 38vw, 170px);
        border-width: 3px;
        border-radius: 20px;
    }

    .play-gate__btn {
        padding: 13px 30px;
        font-size: 17px;
        border-radius: 16px;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .play-gate {
        padding: 10px;
    }

    .play-gate__card {
        gap: 16px;
    }

    .play-gate__cover {
        width: clamp(110px, 40vw, 150px);
        border-radius: 18px;
    }

    .play-gate__btn {
        width: min(100%, 240px);
        padding: 12px 22px;
        font-size: 16px;
        letter-spacing: .06em;

    }

    .play-gate__btn:active {
        transform: translateY(3px);
        box-shadow: 0 1px 0 var(--gate-btn-dark), 0 3px 8px rgba(0, 0, 0, .4);
    }

    .play-gate__btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-height: 460px) and (orientation: landscape) {
    .play-gate__card {
        flex-direction: row;
        gap: 22px;
    }

    .play-gate__cover {
        width: clamp(90px, 28vh, 130px);
    }

    .play-gate__btn {
        width: auto;
        padding: 11px 24px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .play-gate__btn {
        transition: none;
    }
}

.pf-controls-table {
    width: 100%;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 20px rgba(18, 16, 16, 0.15);
    font-size: 16px;
}

.pf-controls-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    transition: background-color 0.2s ease;
}

.pf-controls-cell {
    padding: 14px 18px;
    color: #1f2937;
    line-height: 1.5;
    border-bottom: 1px solid #eceff3;
}

.pf-controls-row--head {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.pf-controls-cell--head {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 3px solid #7f1d1d;
}

.pf-controls-row:not(.pf-controls-row--head):nth-child(even) {
    background: #ffffff;
}

.pf-controls-row:not(.pf-controls-row--head):nth-child(odd) {
    background: #f3f4f6;
}

.pf-controls-row:not(.pf-controls-row--head):hover {
    background: #fee2e2;
}


.pf-controls-cell strong {
    color: #111827;
}

.pf-controls-row:not(.pf-controls-row--head) .pf-controls-cell:last-child {
    font-weight: 600;
    /* color: #b91c1c; */
}

.pf-controls-row:last-child .pf-controls-cell {
    border-bottom: none;
}

@media (max-width: 600px) {
    .pf-controls-row {
        grid-template-columns: 1fr;
    }

    .pf-controls-row--head {
        display: none;
    }

    .pf-controls-cell {
        padding: 10px 16px;
        border-bottom: none;
    }

    .pf-controls-row:not(.pf-controls-row--head) .pf-controls-cell:first-child {
        padding-bottom: 2px;
    }

    .pf-controls-cell::before {
        content: attr(data-label) ": ";
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        color: #9ca3af;
        display: block;
    }
}