body {
    min-height: 100vh;
    background: var(--t1-c1, #071638);
    background-image: linear-gradient(60deg, var(--t1-c1, #06112d) 60%, var(--t1-c1, #091943) 60%);
    font-family: Kanit, Arial, sans-serif;
}

.x-main-container {
    display: flex;
    min-height: 100vh;
}

.x-main-container .x-main-side-bar {
    position: fixed;
    top: 75px;
    left: 0;
    bottom: 0;
    z-index: 5;
    overflow-y: auto;
    background: var(--t1-c48, rgba(4, 15, 43, 0.72));
}

.x-main-container .x-main-content {
    margin-left: 250px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.theme1-page-content {
    flex: 1 0 auto;
    padding-bottom: clamp(28px, 4vw, 52px);
}

.theme1-title-shimmer {
    display: inline-block;
    color: #fff;
    -webkit-filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.5));
    background: #fff -webkit-gradient(linear, 100% 0, 0 0, from(#fff), color-stop(0.5, grey), to(#fff));
    background-position: -200px top;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation-name: x-shimmer;
    animation-name: x-shimmer;
    -webkit-animation-duration: var(--theme1-title-shimmer-duration, 3.6s);
    animation-duration: var(--theme1-title-shimmer-duration, 3.6s);
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.theme1-section-divider-title {
    --theme1-section-title-line: var(--t1-c49, rgba(164, 196, 255, 0.34));
    --theme1-section-title-gap: 10px;
    --theme1-section-title-line-width: 26px;
}

.theme1-section-divider-title::before,
.theme1-section-divider-title::after {
    content: '';
    display: inline-block;
    width: var(--theme1-section-title-line-width);
    height: 1px;
    background: var(--theme1-section-title-line);
    vertical-align: middle;
}

.theme1-section-divider-title::before {
    margin-right: var(--theme1-section-title-gap);
}

.theme1-section-divider-title::after {
    margin-left: var(--theme1-section-title-gap);
}

.theme1-summary-note {
    --theme1-summary-note-bg: rgba(248, 207, 146, 0.09);
    --theme1-summary-note-text: #ffe8cc;
    --theme1-summary-note-main: #ffe7c6;
    --theme1-summary-note-sub: rgba(255, 236, 210, 0.9);
    margin-bottom: 10px;
    border-radius: 12px;
    padding: 10px 12px;
    background: var(--theme1-summary-note-bg);
    color: var(--theme1-summary-note-text);
    text-align: center;
}

.theme1-summary-note__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 3px;
}

.theme1-summary-note__main {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--theme1-summary-note-main);
}

.theme1-summary-note__sub {
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--theme1-summary-note-sub);
    margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .theme1-title-shimmer {
        -webkit-animation: none;
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .theme1-summary-note {
        padding: 8px 9px;
    }

    .theme1-summary-note__title {
        font-size: 0.9rem;
    }

    .theme1-summary-note__main {
        font-size: 0.84rem;
    }

    .theme1-summary-note__sub {
        font-size: 0.76rem;
    }
}

.x-main-container .x-main-content .-full-flex-inner-bg.-bg {
    background-image: url('../img/index-bg.jpg');
}

.x-index-top-container .-index-inner-wrapper .-banner-wrapper {
    margin-top: 1rem;
}

.x-header .container-fluid {
    padding-left: 16px;
    padding-right: 20px;
}

.x-header #headerBrand {
    gap: 14px;
}

.x-menu-provider .nav-link {
    container-type: inline-size;
}

.x-menu-provider .nav-link .-text-nav-menu.-title {
    max-width: 100%;
    font-size: 18px;
    font-size: clamp(18px, 9.5cqw, 20px);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.x-menu-provider .nav-link .-text-nav-menu.-title-trans,
.x-menu-provider .nav-link .-text-nav-menu.-title-mobile {
    max-width: 100%;
    font-size: 14px;
    font-size: clamp(14px, 7cqw, 14px);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.x-main-side-bar .x-menu-provider .nav-link {
    border: 1px solid var(--t1-c2, rgba(103, 147, 233, 0.34));
    box-shadow: 0 8px 16px var(--t1-c20, rgba(2, 9, 28, 0.28)), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.x-main-side-bar .x-menu-provider .nav-link .-ic-menu {
    transform-origin: center;
    transition: transform 0.28s ease, filter 0.28s ease;
    will-change: transform;
}

.x-main-side-bar .x-menu-provider .nav-link .-text-nav-menu.-title,
.x-main-side-bar .x-menu-provider .nav-link .-text-nav-menu.-title-trans,
.x-main-side-bar .x-menu-provider .nav-link .-text-nav-menu.-title-mobile {
    transition: color 0.22s ease;
}

.x-main-side-bar .x-menu-provider .nav-link.active {
    border-color: var(--t1-c50, rgba(175, 217, 255, 0.74));
    background: linear-gradient(180deg, var(--t1-c3, #3a84ea) 0%, var(--t1-c4, #1d4f9a) 100%);
    box-shadow: 0 12px 22px var(--t1-c51, rgba(5, 16, 43, 0.46)), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    filter: saturate(1.06) brightness(1.02);
}

.x-main-side-bar .x-menu-provider .nav-link.active .-text-nav-menu.-title,
.x-main-side-bar .x-menu-provider .nav-link.active .-text-nav-menu.-title-mobile {
    color: #ffffff;
}

.x-main-side-bar .x-menu-provider .nav-link.active .-text-nav-menu.-title-trans {
    color: rgba(230, 240, 255, 0.95);
}

.x-main-side-bar .x-menu-provider .nav-link.active .-ic-menu {
    animation: theme1-sidebar-icon-float 2.8s ease-in-out infinite;
    filter: drop-shadow(0 6px 10px var(--t1-c5, rgba(8, 20, 56, 0.42)));
}

@media (hover: hover) and (pointer: fine) {
    .x-main-side-bar .x-menu-provider .nav-link:hover {
        border-color: var(--t1-c52, rgba(175, 217, 255, 0.66));
        background: linear-gradient(180deg, var(--t1-c3, #397fe0) 0%, var(--t1-c6, #1b4a92) 100%);
        box-shadow: 0 11px 20px var(--t1-c53, rgba(5, 15, 42, 0.4)), inset 0 1px 0 rgba(255, 255, 255, 0.19);
        filter: saturate(1.04) brightness(1.015);
        transform: translateX(4px);
    }

    .x-main-side-bar .x-menu-provider .nav-link:hover .-text-nav-menu.-title,
    .x-main-side-bar .x-menu-provider .nav-link:hover .-text-nav-menu.-title-mobile {
        color: #ffffff;
    }

    .x-main-side-bar .x-menu-provider .nav-link:hover .-text-nav-menu.-title-trans {
        color: rgba(230, 240, 255, 0.92);
    }

    .x-main-side-bar .x-menu-provider .nav-link:hover .-ic-menu {
        animation: theme1-sidebar-icon-float 2.1s ease-in-out infinite;
        filter: drop-shadow(0 6px 10px var(--t1-c7, rgba(8, 20, 56, 0.38)));
    }
}

@keyframes theme1-sidebar-icon-float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    38% {
        transform: translateY(-2px) rotate(-3deg) scale(1.03);
    }

    72% {
        transform: translateY(1px) rotate(2deg) scale(1.01);
    }
}

@media (prefers-reduced-motion: reduce) {
    .x-main-side-bar .x-menu-provider .nav-link,
    .x-main-side-bar .x-menu-provider .nav-link .-ic-menu {
        transition: none;
    }

    .x-main-side-bar .x-menu-provider .nav-link.active .-ic-menu,
    .x-main-side-bar .x-menu-provider .nav-link:hover .-ic-menu {
        animation: none;
    }

    .x-main-side-bar .x-menu-provider .nav-link:hover {
        transform: none;
    }
}

.theme1-banner-slide:not(.slick-initialized) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 190px;
    overflow: hidden;
}

.theme1-banner-slide:not(.slick-initialized) .-slide-inner-wrapper {
    flex: 0 0 31%;
    opacity: 0.55;
}

.theme1-banner-slide:not(.slick-initialized) .-slide-inner-wrapper.is-active {
    flex-basis: 44%;
    opacity: 1;
}

.theme1-banner-slide .-link-wrapper {
    display: block;
    margin: 0 12px;
}

.theme1-banner-slide .-slide-inner-wrapper .-slick-item {
    width: 100%;
    aspect-ratio: 927 / 325;
    height: auto;
    object-fit: cover;
}

.theme1-banner-slide.slick-initialized .-slide-inner-wrapper .-slick-item {
    width: clamp(520px, 42vw, 680px) !important;
    max-width: 100%;
}

.theme1-banner-slide.slick-initialized .slick-slide,
.theme1-banner-slide.slick-initialized .-link-wrapper {
    width: clamp(520px, 42vw, 680px) !important;
}

.theme1-banner-slide.slick-initialized .slick-list {
    padding-left: 28px !important;
    padding-right: 28px !important;
}

.theme1-game-section {
    padding: 18px 24px 0;
}

.theme1-game-section .category-title .-title {
    align-items: center;
    color: #fff;
    display: flex;
    flex-wrap: nowrap;
    font-size: 28px !important;
    font-weight: 600;
    gap: 8px;
    line-height: 1.12;
    margin-bottom: 14px;
    overflow-wrap: anywhere;
    white-space: nowrap;
}

.theme1-game-section .category-title .-title img {
    flex: 0 0 auto;
    height: auto;
    margin-right: 0 !important;
    width: 40px;
}

.theme1-provider-list,
.theme1-slot-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.theme1-provider-list .nav-item,
.theme1-slot-list .nav-item {
    min-width: 0;
}

.theme1-slot-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.theme1-provider-list .x-game-list-item-macro,
.theme1-slot-list .x-game-list-item-macro {
    width: 100%;
}

.theme1-provider-list .-cover-img,
.theme1-slot-list .-cover-img {
    width: 100%;
    object-fit: cover;
}

.theme1-provider-list .-cover-img {
    aspect-ratio: 1.72 / 1;
}

.theme1-slot-list .-cover-img {
    aspect-ratio: 1 / 1.2;
}

.theme1-hover-card-title {
    color: var(--t1-c11, #d8e8ff);
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.theme1-provider-list .x-game-list-item-macro:hover .theme1-hover-card-title,
.theme1-provider-list .x-game-list-item-macro.-toggled .theme1-hover-card-title,
.theme1-slot-list .x-game-list-item-macro:hover .theme1-hover-card-title,
.theme1-slot-list .x-game-list-item-macro.-toggled .theme1-hover-card-title {
    color: #fff;
}

.theme1-provider-card {
    display: grid;
    gap: 8px;
    color: var(--t1-c11, #d8e8ff);
    text-align: center;
    text-decoration: none;
}

.theme1-provider-card:hover {
    color: #fff;
    text-decoration: none;
}

.theme1-provider-card img {
    width: 100%;
    aspect-ratio: 1.72 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.theme1-provider-card.-slot img {
    aspect-ratio: 1 / 1.2;
}

.theme1-provider-card span {
    font-size: 0.85rem;
}

.theme1-thumb-frame {
    position: relative;
    display: block;
    overflow: hidden;
    --theme1-lock-badge-size: 74px;
    --theme1-lock-ribbon-width: 116px;
    --theme1-lock-ribbon-height: 28px;
    --theme1-lock-ribbon-top: 14px;
    --theme1-lock-ribbon-left: -28px;
    --theme1-lock-icon-size: 19px;
    --theme1-lock-icon-top: 9px;
    --theme1-lock-icon-left: 11px;
}

.theme1-thumb-frame .-inner-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 10px;
}

.theme1-thumb-frame .x-game-badge-image {
    display: block !important;
    z-index: 6;
    pointer-events: none;
}

.theme1-thumb-frame .x-game-badge-image::before {
    background: rgba(0, 0, 0, 0.6);
}

.theme1-thumb-frame .-cover-img {
    position: relative;
    z-index: 1;
    transition: opacity 0.22s ease;
}

.theme1-thumb-frame .theme1-thumb-status {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    max-width: calc(100% - 28px);
    padding: 5px 12px;
    border: 1px solid var(--t1-c24, rgba(187, 214, 255, 0.18));
    border-radius: 999px;
    background: var(--t1-c54, rgba(4, 14, 37, 0.52));
    color: rgba(226, 237, 255, 0.84);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
    transform: translateX(-50%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.theme1-thumb-frame.is-loading .-inner-wrapper,
.theme1-thumb-frame.is-fallback .-inner-wrapper {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2399b8ff' stroke-opacity='0.18' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2.2'/%3E%3Ccircle cx='9' cy='10' r='1.35'/%3E%3Cpath d='M20.5 16l-5.2-5.2a1 1 0 0 0-1.42 0L8 16.7'/%3E%3C/svg%3E") center 56% / 46px 46px no-repeat,
        radial-gradient(circle at top left, var(--t1-c8, rgba(134, 202, 255, 0.16)), transparent 40%),
        linear-gradient(180deg, var(--t1-c9, rgba(13, 29, 69, 0.92)) 0%, var(--t1-c10, rgba(8, 19, 48, 0.96)) 100%);
    box-shadow: inset 0 0 0 1px var(--t1-c27, rgba(193, 220, 255, 0.14)), inset 0 10px 22px rgba(255, 255, 255, 0.02);
}

.theme1-thumb-frame.is-loading .-inner-wrapper::before,
.theme1-thumb-frame.is-loading .-inner-wrapper::after,
.theme1-thumb-frame.is-fallback .-inner-wrapper::before,
.theme1-thumb-frame.is-fallback .-inner-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -18%;
    width: 136%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--t1-c55, rgba(214, 232, 255, 0.06)) 18%, var(--t1-c31, rgba(214, 232, 255, 0.24)) 50%, var(--t1-c55, rgba(214, 232, 255, 0.06)) 82%, transparent 100%);
    transform-origin: center;
    z-index: 0;
    pointer-events: none;
}

.theme1-thumb-frame.is-loading .-inner-wrapper::before,
.theme1-thumb-frame.is-fallback .-inner-wrapper::before {
    transform: rotate(45deg);
}

.theme1-thumb-frame.is-loading .-inner-wrapper::after,
.theme1-thumb-frame.is-fallback .-inner-wrapper::after {
    transform: rotate(-45deg);
}

.theme1-thumb-frame.is-loading .-cover-img,
.theme1-thumb-frame.is-fallback .-cover-img {
    opacity: 0;
}

.theme1-thumb-frame.is-loading .theme1-thumb-status,
.theme1-thumb-frame.is-fallback .theme1-thumb-status {
    opacity: 1;
}

.theme1-thumb-frame.is-fallback .-inner-wrapper {
    filter: saturate(0.92);
}

/* ===== Footer ===== */
.theme1-template-footer {
    background: var(--t1-c1, #15192a);
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: auto;
}
.theme1-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px 40px;
    padding: 28px 24px;
}
.theme1-footer-col {
    min-width: 0;
}
.theme1-footer-col.-desc {
    flex: 1 1 220px;
    max-width: 340px;
}
.theme1-footer-col.-tags {
    flex: 2 1 320px;
}
.theme1-footer-col.-rights {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
    margin-left: auto;
}
.theme1-footer-domain {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--t1-c3, #4fd1c5);
    text-decoration: none;
    margin-bottom: 6px;
    word-break: break-all;
}
.theme1-footer-domain:hover { color: var(--t1-c11, #81e6d9); }
.theme1-footer-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--t1-c11, #c8d8f0);
    margin-bottom: 6px;
    line-height: 1.4;
}
.theme1-footer-text {
    font-size: 12px;
    color: var(--t1-c3, #7a8db0);
    line-height: 1.6;
    margin-bottom: 0;
}
.theme1-footer-tag-heading {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}
.theme1-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.theme1-footer-tag-pill {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    color: var(--t1-c11, #c8d8f0);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}
.theme1-footer-tag-pill:hover {
    background: var(--t1-c12, rgba(79,209,197,0.15));
    color: var(--t1-c3, #4fd1c5);
    border-color: var(--t1-c13, rgba(79,209,197,0.35));
}
.theme1-footer-terms {
    display: block;
    font-size: 13px;
    color: var(--t1-c3, #4fd1c5);
    text-decoration: none;
    margin-bottom: 6px;
}
.theme1-footer-terms:hover { color: var(--t1-c11, #81e6d9); text-decoration: underline; }
.theme1-footer-copyright {
    font-size: 12px;
    color: var(--t1-c3, #7a8db0);
    margin-bottom: 0;
}

/* ===== Theme Switcher ===== */
/* พื้นหลัง modal เมนูสามขีด: สีเข้มคงที่ ไม่อิงธีมสี (themeColor) ให้กลืนเป็นโทนเดียวกันทั้งผืน อ้างอิง bahama888 (รูปที่ 2) */
#themeSwitcherModal {
    background: rgba(13, 10, 20, 0.6) !important;
    backdrop-filter: blur(4px);
}

/* กล่อง modal โปร่งใส เพื่อให้เห็นพื้นเข้มของฉากหลังเป็นสีเดียวกันทั้งหมด ไม่เป็นกล่องสีอ่อนตามธีม */
#themeSwitcherModal.x-theme-switcher-v2 .-modal-content,
#themeSwitcherModal.x-theme-switcher-v2 .-modal-body,
#themeSwitcherModal .-modal-content,
#themeSwitcherModal .-modal-body {
    background: transparent !important;
}

#themeSwitcherModal.x-theme-switcher-v2 .-modal-size {
    max-width: 560px !important;
}

#themeSwitcherModal.x-theme-switcher-v2 .close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    opacity: 1;
    text-shadow: none;
}

#themeSwitcherModal.x-theme-switcher-v2 .close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #dce7ff;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-shell {
    display: block;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

#themeSwitcherModal.x-theme-switcher-v2 .-theme-switcher-container.theme1-switcher-shell {
    justify-content: flex-start;
    align-items: stretch;
    padding: 0.25rem 0.75rem 1rem;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-header {
    margin: 0.75rem 0 1rem;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-logo {
    display: block;
    width: auto;
    max-width: 170px;
    max-height: 62px;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.26));
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-box {
    display: flex;
    flex: 0 0 33.333333%;
    width: 33.333333%;
    max-width: 33.333333%;
    padding: 0 6px 16px !important;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    text-decoration: none;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-link:hover,
#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-link:focus {
    background: transparent !important;
    text-decoration: none;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-link.is-disabled {
    cursor: default;
    pointer-events: none;
    opacity: 0.55;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(88px, 17vw, 98px);
    height: clamp(88px, 17vw, 98px);
    margin: 0 auto -2px;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-icon {
    width: clamp(74px, 14vw, 84px);
    height: clamp(74px, 14vw, 84px);
    object-fit: contain;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.18));
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-link:hover .theme1-switcher-menu-icon,
#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-link:focus .theme1-switcher-menu-icon {
    transform: translateY(-2px) scale(1.04);
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-typo {
    display: block !important;
    width: 100%;
    margin-top: -0.12rem;
    margin-left: 0 !important;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-box:nth-child(-n+3) .theme1-switcher-menu-icon-box {
    width: clamp(94px, 18vw, 104px);
    height: clamp(94px, 18vw, 104px);
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-box:nth-child(-n+3) .theme1-switcher-menu-icon {
    width: clamp(80px, 15vw, 90px);
    height: clamp(80px, 15vw, 90px);
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-text {
    display: block;
    width: 100%;
    margin: 0;
    min-height: 2.4em;
    color: #fff6f4 !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-banner-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0.25rem;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-banner-box {
    width: 100%;
    padding: 0 !important;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-banner-link,
#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-banner-link.is-static {
    display: block;
    width: 100%;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-banner-link .-banner-image,
#themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-banner-link.is-static .-banner-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    #themeSwitcherModal.x-theme-switcher-v2 .close {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .-theme-switcher-container.theme1-switcher-shell {
        padding: 0.25rem 0.35rem 0.85rem;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-logo {
        max-width: 150px;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-box {
        padding: 0 3px 13px !important;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-icon-box {
        width: 98px;
        height: 98px;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-icon {
        width: 84px;
        height: 84px;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-box:nth-child(-n+3) .theme1-switcher-menu-icon-box {
        width: 104px;
        height: 104px;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-box:nth-child(-n+3) .theme1-switcher-menu-icon {
        width: 90px;
        height: 90px;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-text {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 420px) {
    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-box {
        padding: 0 1px 12px !important;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-icon-box {
        width: 96px;
        height: 96px;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-icon {
        width: 82px;
        height: 82px;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-box:nth-child(-n+3) .theme1-switcher-menu-icon-box {
        width: 102px;
        height: 102px;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-box:nth-child(-n+3) .theme1-switcher-menu-icon {
        width: 88px;
        height: 88px;
    }

    #themeSwitcherModal.x-theme-switcher-v2 .theme1-switcher-menu-text {
        font-size: 0.74rem !important;
    }
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .text-center {
    margin-top: 1.15rem;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .-x-input-icon {
    margin-bottom: 1rem;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field {
    position: relative;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field + .theme1-login-field {
    margin-top: 0.9rem;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field-error {
    display: block;
    margin-top: 0.4rem;
    color: rgba(255, 226, 226, 0.88);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field-error + .theme1-login-field {
    margin-top: 0.9rem;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .-x-input-icon .-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--t1-c18, rgba(195, 220, 244, 0.72));
    font-size: 1.05rem;
    line-height: 1;
    opacity: 0.9;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .x-form-control {
    height: 58px;
    padding-left: 54px;
    padding-right: 18px;
    padding-top: 0.85rem;
    padding-bottom: 0.55rem;
    text-align: left;
    color: #eff7ff;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    background: linear-gradient(180deg, var(--t1-c14, rgba(32, 55, 108, 0.92)) 0%, var(--t1-c15, rgba(25, 45, 90, 0.96)) 100%);
    border: 1px solid var(--t1-c16, rgba(97, 192, 255, 0.4));
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -12px 20px var(--t1-c17, rgba(7, 16, 44, 0.26)), 0 14px 26px var(--t1-c57, rgba(4, 12, 36, 0.3));
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, padding 0.18s ease;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field .x-form-control:not(:placeholder-shown),
:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field .x-form-control:-webkit-autofill {
    padding-top: 1.2rem;
    padding-bottom: 0.35rem;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .x-form-control::placeholder {
    color: rgba(221, 235, 255, 0.62);
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-floating-label {
    position: absolute;
    top: 50%;
    left: 54px;
    z-index: 2;
    max-width: calc(100% - 74px);
    margin: 0;
    padding: 0;
    color: var(--t1-c58, rgba(208, 225, 244, 0.48));
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: top 0.18s ease, transform 0.18s ease, color 0.18s ease, font-size 0.18s ease, letter-spacing 0.18s ease, opacity 0.18s ease;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field .x-form-control:not(:placeholder-shown) ~ .theme1-login-floating-label,
:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field .x-form-control:-webkit-autofill ~ .theme1-login-floating-label {
    top: 0.55rem;
    color: var(--t1-c18, rgba(175, 214, 236, 0.72));
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    opacity: 0.88;
    transform: none;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .x-form-control:hover {
    border-color: var(--t1-c19, rgba(120, 212, 255, 0.62));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -12px 20px var(--t1-c20, rgba(7, 16, 44, 0.28)), 0 18px 30px var(--t1-c59, rgba(4, 12, 36, 0.34));
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field.-has-error .x-form-control {
    border-color: rgba(255, 147, 147, 0.7);
    box-shadow: 0 0 0 3px rgba(255, 109, 109, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -12px 20px rgba(47, 11, 31, 0.2), 0 16px 28px rgba(19, 7, 21, 0.3);
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field.-has-error .-icon {
    color: rgba(255, 205, 205, 0.9);
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .x-form-control:focus {
    color: #f4fbff;
    background: linear-gradient(180deg, var(--t1-c21, rgba(38, 67, 130, 0.96)) 0%, var(--t1-c22, rgba(29, 54, 106, 0.98)) 100%);
    border-color: var(--t1-c23, rgba(82, 216, 255, 0.86));
    box-shadow: 0 0 0 3px var(--t1-c24, rgba(82, 216, 255, 0.18)), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -12px 20px var(--t1-c25, rgba(9, 20, 56, 0.22)), 0 18px 30px var(--t1-c7, rgba(7, 18, 50, 0.38));
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .-x-input-icon:focus-within .-icon,
:is(.theme1-login-form, #loginModal .theme1-login-form) .-x-input-icon:hover .-icon {
    color: var(--t1-c60, rgba(180, 230, 255, 0.92));
    opacity: 1;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .x-form-control:-webkit-autofill,
:is(.theme1-login-form, #loginModal .theme1-login-form) .x-form-control:-webkit-autofill:hover,
:is(.theme1-login-form, #loginModal .theme1-login-form) .x-form-control:-webkit-autofill:focus,
:is(.theme1-login-form, #loginModal .theme1-login-form) .x-form-control:-webkit-autofill:active {
    -webkit-text-fill-color: #eff7ff;
    caret-color: #eff7ff;
    border: 1px solid var(--t1-c26, rgba(82, 216, 255, 0.5));
    -webkit-box-shadow: 0 0 0 1000px var(--t1-c6, #223a72) inset, 0 0 0 1px var(--t1-c27, rgba(82, 216, 255, 0.14)), 0 14px 26px var(--t1-c57, rgba(4, 12, 36, 0.3));
    box-shadow: 0 0 0 1000px var(--t1-c6, #223a72) inset, 0 0 0 1px var(--t1-c27, rgba(82, 216, 255, 0.14)), 0 14px 26px var(--t1-c57, rgba(4, 12, 36, 0.3));
    transition: background-color 9999s ease-out 0s, color 9999s ease-out 0s;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 56px;
    padding: 0.95rem 2.25rem;
    border: 1px solid rgba(255, 241, 188, 0.52);
    border-radius: 18px;
    color: var(--t1-c28, #172549);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-shadow: none;
    background: linear-gradient(135deg, #ffe07a 0%, #f8bb33 46%, #ffdf8a 100%);
    box-shadow: 0 16px 28px rgba(247, 189, 52, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.54);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .-submit::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 17px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.02) 55%, rgba(110, 70, 7, 0.08) 100%);
    pointer-events: none;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .-submit span,
:is(.theme1-login-form, #loginModal .theme1-login-form) .-submit .spinner-border {
    position: relative;
    z-index: 1;
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .-submit:not([disabled]):hover {
    color: var(--t1-c1, #101b38);
    transform: translateY(-2px);
    filter: saturate(1.05) brightness(1.02);
    box-shadow: 0 20px 34px rgba(247, 189, 52, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

:is(.theme1-login-form, #loginModal .theme1-login-form) .-submit[disabled] {
    color: var(--t1-c29, rgba(23, 37, 73, 0.72));
    background: linear-gradient(135deg, #c9b377 0%, #ae8c2d 100%);
    box-shadow: none;
    filter: grayscale(0.08);
}

@media (max-width: 767.98px) {
    :is(.theme1-login-form, #loginModal .theme1-login-form) .x-form-control {
        height: 54px;
        padding-left: 50px;
        padding-top: 0.78rem;
        padding-bottom: 0.5rem;
        border-radius: 14px;
    }

    :is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field .x-form-control:not(:placeholder-shown),
    :is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field .x-form-control:-webkit-autofill {
        padding-top: 1.05rem;
        padding-bottom: 0.3rem;
    }

    :is(.theme1-login-form, #loginModal .theme1-login-form) .-x-input-icon .-icon {
        left: 16px;
        width: 20px;
        height: 20px;
        font-size: 0.96rem;
    }

    :is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-floating-label {
        left: 50px;
    }

    :is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field + .theme1-login-field {
        margin-top: 1rem;
    }

    :is(.theme1-login-form, #loginModal .theme1-login-form) .theme1-login-field-error + .theme1-login-field {
        margin-top: 1rem;
    }

    :is(.theme1-login-form, #loginModal .theme1-login-form) .-submit {
        width: 100%;
        min-width: 0;
        min-height: 54px;
        border-radius: 16px;
        font-size: 1rem;
    }
}

@media (max-width: 1480px) {
    .x-main-container .x-main-content {
        margin-left: 200px;
    }

    .x-main-side-bar .x-menu-provider .nav-link .-text-nav-menu.-title {
        font-size: clamp(17px, 10cqw, 19px);
    }

    .x-main-side-bar .x-menu-provider .nav-link .-text-nav-menu.-title-trans {
        font-size: clamp(13px, 7.5cqw, 15px);
    }
}

@media (max-width: 991.98px) {
    .x-header.navbar {
        padding-left: 0;
        padding-right: 0;
    }

    .x-header .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }

    .x-header #headerBrand {
        gap: 10px;
        align-items: center;
        flex: 0 0 auto;
        min-width: 0;
    }

    .x-header #headerBrand .navbar-brand {
        margin-right: 0;
    }

    .x-header #headerBrand .navbar-brand .-logo {
        width: 100px;
        height: auto;
    }

    .x-header #headerContent {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-end;
    }

    .x-header #headerContent .navbar-nav {
        margin-left: auto;
        flex: 0 0 auto;
    }

    .x-header #headerContent .x-logged {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
        min-width: 0;
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        gap: 6px;
        padding: 4px 6px 4px 4px;
        border: 1px solid var(--t1-c8, rgba(120, 174, 255, 0.16));
        border-radius: 22px;
        background: linear-gradient(180deg, var(--t1-c29, rgba(18, 38, 87, 0.72)) 0%, var(--t1-c30, rgba(11, 25, 61, 0.58)) 100%);
        box-shadow: 0 8px 16px var(--t1-c61, rgba(4, 12, 32, 0.16)), inset 0 1px 0 rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster:hover,
    .x-header #headerContent .x-logged .theme1-mobile-account-cluster:focus-within {
        transform: translateY(-1px);
        border-color: var(--t1-c31, rgba(134, 198, 255, 0.24));
        background: linear-gradient(180deg, var(--t1-c32, rgba(23, 47, 106, 0.8)) 0%, var(--t1-c33, rgba(12, 27, 68, 0.68)) 100%);
        box-shadow: 0 10px 18px var(--t1-c62, rgba(4, 12, 32, 0.18)), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster > * {
        flex: 0 0 auto;
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster .theme1-mobile-balance {
        border-color: transparent;
        box-shadow: none;
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster .x-profile-image {
        border-color: transparent;
        box-shadow: none;
    }

    .x-header #headerContent .x-logged .x-header-btn-support.-in-logged {
        flex: 0 0 auto;
        margin-right: 0;
    }

    .x-header #headerContent .x-logged .theme1-mobile-support-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        line-height: 0;
        transition: transform 0.18s ease, filter 0.18s ease;
    }

    .x-header #headerContent .x-logged .theme1-mobile-support-link:hover,
    .x-header #headerContent .x-logged .theme1-mobile-support-link:focus-visible {
        filter: brightness(1.06);
        transform: translateY(-1px);
    }

    .x-header #headerContent .x-logged .theme1-mobile-support-link .-ic {
        display: none;
        width: 0;
    }

    .x-header #headerContent .x-logged .theme1-mobile-support-link .-ic.-mobile {
        display: block;
        width: auto;
        height: 36px;
    }

    .x-header #headerContent .x-logged .theme1-mobile-balance {
        flex: 0 0 auto;
        margin: 0;
        min-height: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        padding: 0 6px 0 14px;
        border-radius: 16px;
        border-color: transparent;
        background: transparent;
        box-shadow: none;
        transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }

    .x-header #headerContent .x-logged .theme1-mobile-balance .theme1-chip-coin {
        display: none;
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster:hover .theme1-mobile-balance,
    .x-header #headerContent .x-logged .theme1-mobile-account-cluster:focus-within .theme1-mobile-balance {
        background: transparent;
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster .x-profile-image {
        position: relative;
        width: 36px;
        height: 36px;
        margin-left: 2px;
        background: linear-gradient(180deg, var(--t1-c34, rgba(27, 58, 117, 0.68)) 0%, var(--t1-c30, rgba(14, 31, 71, 0.58)) 100%);
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster .x-profile-image::before {
        content: '';
        position: absolute;
        left: -2px;
        top: 50%;
        width: 1px;
        height: 18px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, var(--t1-c35, rgba(147, 202, 255, 0.2)) 50%, rgba(255, 255, 255, 0.02) 100%);
        transform: translateY(-50%);
        opacity: 0.72;
        pointer-events: none;
    }

    .x-header #headerContent .x-logged .-profile-container {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .x-header #headerContent .x-logged .theme1-mobile-profile-trigger {
        flex: 0 0 auto;
        margin: 0;
        padding: 4px 6px 4px 4px;
        line-height: 0;
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster:hover .x-profile-image,
    .x-header #headerContent .x-logged .theme1-mobile-account-cluster:focus-visible .x-profile-image,
    .x-header #headerContent .x-logged .theme1-mobile-account-cluster.-open .x-profile-image {
        filter: brightness(1.05);
    }

    .theme1-account-trigger .-profile-name {
        display: none;
    }

    .theme1-account-trigger .-btn-wrapper {
        gap: 6px;
    }

    .theme1-account-trigger .-inner-wrapper {
        gap: 4px;
    }

    .theme1-account-trigger .theme1-balance-chip {
        padding: 4px 12px;
        min-width: 48px;
        font-size: 0.82rem;
    }

    .theme1-account-trigger .x-profile-image {
        width: 36px;
        height: 36px;
    }

    .x-header #headerContent .x-anon {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        flex-wrap: nowrap;
        flex: 0 0 auto;
    }

    .x-header #headerContent .x-anon .x-btn-register-header {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        flex-shrink: 0;
        min-width: 0;
        height: 34px;
        margin: 0;
        padding: 0 14px;
        border-radius: 999px;
        box-shadow: 0 10px 22px var(--t1-c20, rgba(3, 11, 32, 0.28));
        overflow: hidden;
        white-space: nowrap;
        text-decoration: none;
    }

    .x-header #headerContent .x-anon .x-btn-register-header .-bg-img,
    .x-header #headerContent .x-anon .x-btn-register-header .-ic-img {
        display: none !important;
    }

    .x-header #headerContent .x-anon .x-btn-register-header .-text-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: static;
        top: auto;
        left: auto;
        width: auto;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 0;
        color: #fff;
        white-space: nowrap;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.16);
        transform: none;
        -webkit-transform: none;
    }

    .x-header #headerContent .x-anon #_regis_btn {
        min-width: 94px;
        background: linear-gradient(180deg, var(--t1-c3, #3aa9ff) 0%, var(--t1-c36, #0f74de) 100%);
        border: 1px solid var(--t1-c18, rgba(162, 220, 255, 0.72));
    }

    .x-header #headerContent .x-anon #_login_btn {
        min-width: 98px;
        background: linear-gradient(180deg, #ff6da5 0%, #cf285d 100%);
        border: 1px solid rgba(255, 191, 210, 0.72);
    }

    .x-menu-provider .nav-link {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .x-menu-provider .nav-link .-text-provider-wrapper {
        width: 100%;
        margin-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .x-menu-provider .nav-link .-text-nav-menu {
        width: 100%;
        text-align: center;
    }

    .x-menu-provider .nav-link .-text-nav-menu.-title,
    .x-menu-provider .nav-link .-text-nav-menu.-title-trans,
    .x-menu-provider .nav-link .-text-nav-menu.-title-mobile {
        text-align: center;
    }

    .x-main-container .x-main-side-bar {
        display: none;
    }

    .x-main-container .x-main-content {
        margin-left: 0;
    }

    .theme1-banner-slide:not(.slick-initialized) .-slide-inner-wrapper {
        display: none;
    }

    .theme1-banner-slide:not(.slick-initialized) .-slide-inner-wrapper.is-active,
    .theme1-banner-slide:not(.slick-initialized) .-slide-inner-wrapper:first-child {
        display: block;
        flex: 0 0 100%;
    }

    .theme1-banner-slide.slick-initialized .-slide-inner-wrapper .-slick-item {
        width: 100% !important;
    }

    .theme1-banner-slide.slick-initialized .slick-slide,
    .theme1-banner-slide.slick-initialized .-link-wrapper {
        width: calc(100vw - 32px) !important;
    }

    .theme1-banner-slide .-link-wrapper {
        margin: 0 8px;
    }

    .theme1-banner-slide.slick-initialized .slick-list {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .theme1-banner-slide.slick-initialized .slick-list,
    .theme1-banner-slide.slick-initialized .slick-track,
    .theme1-banner-slide.slick-initialized .slick-slide,
    .theme1-banner-slide.slick-initialized .-link-wrapper {
        height: clamp(126px, calc((100vw - 32px) * 0.3506), 325px) !important;
        min-height: 0 !important;
    }

    .theme1-banner-slide.slick-initialized .slick-dots {
        bottom: -24px !important;
        height: 20px !important;
        margin-top: 0;
        position: absolute !important;
    }

    .theme1-banner-slide.slick-dotted {
        margin-bottom: 28px !important;
    }

    .theme1-provider-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme1-slot-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .theme1-game-section .category-title .-title {
        font-size: 24px !important;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .theme1-game-section .category-title .-title img {
        width: 34px;
    }

    .theme1-section-divider-title {
        --theme1-section-title-gap: 8px;
        --theme1-section-title-line-width: 22px;
    }
}

@media (max-width: 575.98px) {
    .x-header #headerBrand {
        gap: 8px;
    }

    .x-header #headerBrand .navbar-brand .-logo {
        width: 88px;
    }

    .x-header #headerContent .x-anon {
        gap: 6px;
    }

    .x-header #headerContent .x-logged {
        gap: 10px;
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster {
        gap: 5px;
        padding: 3px 5px 3px 3px;
        border-radius: 20px;
    }

    .x-header #headerContent .x-logged .theme1-mobile-support-link {
        width: auto;
        height: auto;
    }

    .x-header #headerContent .x-logged .theme1-mobile-support-link .-ic.-mobile {
        width: auto;
        height: 34px;
    }

    .x-header #headerContent .x-logged .theme1-mobile-balance {
        min-height: 34px;
        height: 34px;
        padding: 0 6px 0 11px;
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster .x-profile-image {
        width: 34px;
        height: 34px;
        margin-left: 0;
    }

    .x-header #headerContent .x-logged .theme1-mobile-account-cluster .x-profile-image::before {
        left: -2px;
        height: 16px;
    }

    .x-header #headerContent .x-logged .theme1-mobile-balance .js-customer-balance,
    .x-header #headerContent .x-logged .theme1-mobile-balance .-amount {
        font-size: 0.84rem;
    }

    .theme1-account-trigger .-balance-container .-user-balance .-inner-box-wrapper {
        min-height: 30px;
        min-width: 52px;
        padding: 3px 12px;
    }

    .theme1-account-trigger .theme1-balance-chip .js-customer-balance,
    .theme1-account-trigger .theme1-balance-chip .-amount {
        font-size: 0.8rem;
    }

    .theme1-account-trigger .x-profile-image {
        width: 34px;
        height: 34px;
    }

    .x-header #headerContent .x-anon .x-btn-register-header {
        height: 32px;
        padding: 0 12px;
    }

    .x-header #headerContent .x-anon #_regis_btn {
        min-width: 88px;
    }

    .x-header #headerContent .x-anon #_login_btn {
        min-width: 92px;
    }

    .x-header #headerContent .x-anon .x-btn-register-header .-text-btn {
        font-size: 12px;
    }

    .theme1-game-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .theme1-slot-list,
    .theme1-provider-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .theme1-game-section .category-title .-title {
        font-size: 21px !important;
        gap: 6px;
        line-height: 1.08;
    }

    .theme1-game-section .category-title .-title img {
        width: 30px;
    }

    .theme1-footer-inner {
        padding: 20px 16px;
        gap: 20px 24px;
    }
    .theme1-footer-col.-desc {
        max-width: 100%;
    }
    .theme1-footer-col.-rights {
        margin-left: 0;
        text-align: left;
    }
}

@media (max-width: 379.98px) {
    .x-header #headerBrand .navbar-brand .-logo {
        width: 82px;
    }

    .x-header #headerContent .x-anon .x-btn-register-header {
        height: 30px;
        padding: 0 10px;
    }

    .x-header #headerContent .x-anon #_regis_btn {
        min-width: 82px;
    }

    .x-header #headerContent .x-anon #_login_btn {
        min-width: 86px;
    }

    .x-header #headerContent .x-anon .x-btn-register-header .-text-btn {
        font-size: 11px;
    }

    .theme1-game-section .category-title .-title {
        font-size: 19px !important;
    }

    .theme1-game-section .category-title .-title img {
        width: 28px;
    }
}

/* ===== Account Drawer ===== */
.theme1-account-trigger {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

body.theme1-account-drawer-open {
    overflow: hidden;
}

.theme1-account-trigger .-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.theme1-account-trigger .-inner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 0;
}

.theme1-account-trigger .-profile-name {
    max-width: 180px;
    overflow: hidden;
    color: #eff5ff;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme1-chip-coin {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    pointer-events: none;
}

.theme1-balance-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px 5px 16px;
    border: 1px solid var(--t1-c37, rgba(130, 180, 255, 0.25));
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #e8f3ff;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    min-width: 52px;
    text-align: center;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.theme1-balance-chip .js-customer-balance,
.theme1-balance-chip .-amount {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.theme1-account-trigger:hover .theme1-balance-chip,
.theme1-account-trigger.-open .theme1-balance-chip {
    background: rgba(255, 255, 255, 0.13);
    border-color: var(--t1-c38, rgba(130, 180, 255, 0.38));
}

.theme1-account-trigger .x-profile-image {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 2px;
    border: 1px solid var(--t1-c8, rgba(123, 188, 255, 0.16));
    border-radius: 16px;
    background: linear-gradient(180deg, var(--t1-c39, rgba(27, 58, 117, 0.9)) 0%, var(--t1-c10, rgba(14, 31, 71, 0.96)) 100%);
    box-shadow: 0 10px 18px var(--t1-c63, rgba(3, 13, 35, 0.24));
}

.theme1-account-trigger .x-profile-image .-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.theme1-account-trigger:hover .-btn-wrapper,
.theme1-account-trigger.-open .-btn-wrapper {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.theme1-account-trigger:focus-visible {
    outline: 2px solid var(--t1-c18, rgba(93, 187, 255, 0.72));
    outline-offset: 4px;
    border-radius: 18px;
}

.theme1-account-sidebar {
    --theme1-drawer-bg-top: var(--t1-c40, rgba(14, 31, 72, 0.98));
    --theme1-drawer-bg-bottom: var(--t1-c64, rgba(5, 12, 31, 0.99));
    --theme1-drawer-card: var(--t1-c41, rgba(11, 24, 58, 0.94));
    --theme1-drawer-card-hover: var(--t1-c42, rgba(16, 35, 79, 0.98));
    --theme1-drawer-border: var(--t1-c24, rgba(109, 171, 255, 0.18));
    --theme1-drawer-text: #eff5ff;
    --theme1-drawer-muted: var(--t1-c11, #8ea8cf);
    --theme1-drawer-accent: var(--t1-c3, #4faeff);
    --theme1-drawer-strong: var(--t1-c11, #7bdcff);
    --theme1-drawer-danger: #ff7da6;
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -380px;
    width: min(360px, calc(100vw - 16px));
    min-width: 0;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 1100;
    text-align: left;
    transition: right 0.28s ease;
    overflow: hidden;
}

.theme1-account-sidebar.-open {
    right: 0;
}

.theme1-account-sidebar .x-modal-account-menu-mobile {
    position: relative;
    z-index: 1101;
    width: 100%;
    min-width: 0;
    height: 100%;
    max-height: 100dvh;
    padding: 18px 18px 22px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
    border-left: 1px solid var(--theme1-drawer-border);
    border-radius: 28px 0 0 28px;
    background: linear-gradient(180deg, var(--theme1-drawer-bg-top) 0%, var(--theme1-drawer-bg-bottom) 100%);
    box-shadow: -24px 0 48px rgba(0, 5, 19, 0.48);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--t1-c43, rgba(121, 185, 255, 0.68)) rgba(255, 255, 255, 0.06);
}

.theme1-account-sidebar .x-modal-account-menu-mobile::-webkit-scrollbar {
    width: 6px;
}

.theme1-account-sidebar .x-modal-account-menu-mobile::-webkit-scrollbar-thumb {
    background: var(--t1-c43, rgba(121, 185, 255, 0.68));
    border-radius: 999px;
}

.theme1-account-sidebar .x-modal-account-menu-mobile::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

.theme1-account-sidebar .-overlay {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    background: rgba(1, 8, 23, 0.38);
}

.theme1-account-sidebar.-open .-overlay {
    display: block;
}

.theme1-account-sidebar .-modal-profile-mobile {
    text-align: center;
}

.theme1-account-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--t1-c11, #d6e4fb);
    cursor: pointer;
}

.theme1-account-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.theme1-account-sidebar .x-profile-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.theme1-account-sidebar .x-profile-image .-profile-image {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.theme1-account-identity {
    margin-top: 12px;
    color: var(--theme1-drawer-text);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-align: center;
}

.theme1-account-subtitle {
    margin-top: 6px;
    color: var(--theme1-drawer-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.theme1-account-sidebar .-balance-container {
    margin-top: 14px;
    padding-top: 0;
    border-bottom: none;
    color: var(--theme1-drawer-text);
}

.theme1-account-sidebar .x-modal-account-menu-mobile .-modal-profile-mobile .-balance-container .-user-balance {
    margin-top: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    min-height: 40px;
    border: 1px solid var(--t1-c44, rgba(120, 176, 255, 0.3));
    border-radius: 999px;
    background: var(--t1-c28, #0b1f4f);
    box-shadow: none;
}

.theme1-account-sidebar .-balance-container .-user-balance .-inner-box-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.theme1-account-sidebar .-balance-container .-user-balance .-inner-box-wrapper .-ic-coin {
    position: static !important;
    left: auto !important;
    top: auto;
    transform: none;
    width: 22px !important;
    height: 22px;
    flex: 0 0 auto;
}

.theme1-account-sidebar .-balance-container .-user-balance .js-customer-balance,
.theme1-account-sidebar .-balance-container .-user-balance .js-customer-balance .-amount {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    background: transparent;
    color: #fdf2a8;
    font-size: 1rem;
    font-weight: 700;
}

.theme1-account-sidebar .-balance-container .-user-balance .-btn-balance {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    flex: 0 0 auto;
    right: auto;
    color: var(--t1-c11, #d5e8ff);
}

.theme1-account-sidebar .-balance-container .-user-balance .-btn-balance:hover {
    color: #fff;
}

.theme1-account-sidebar .-transaction-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.theme1-account-sidebar .x-transaction-button-v2.-in-sidebar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    width: calc(50% - 6px);
    min-height: 74px;
    padding: 0.85rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 28px rgba(0, 0, 0, 0.2);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.theme1-account-sidebar .x-transaction-button-v2.-in-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0.16) 44%, rgba(255, 255, 255, 0) 68%);
    transform: translateX(-135%);
    transition: transform 0.42s ease;
    pointer-events: none;
    opacity: 0.72;
}

.theme1-account-sidebar .x-transaction-button-v2.-in-sidebar > * {
    position: relative;
    z-index: 1;
}

.theme1-account-sidebar .x-transaction-button-v2.-in-sidebar.-deposit {
    background: linear-gradient(135deg, rgba(37, 205, 125, 0.24) 0%, rgba(11, 107, 71, 0.38) 100%) !important;
    border-color: rgba(76, 224, 153, 0.24);
}

.theme1-account-sidebar .x-transaction-button-v2.-in-sidebar.-withdraw {
    background: linear-gradient(135deg, rgba(255, 192, 86, 0.24) 0%, rgba(169, 91, 22, 0.36) 100%) !important;
    border-color: rgba(255, 199, 96, 0.22);
}

.theme1-account-sidebar .x-transaction-button-v2.-in-sidebar .-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin-right: 0;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.theme1-account-sidebar .x-transaction-button-v2.-in-sidebar .-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    line-height: 1.1;
}

.theme1-account-sidebar .x-transaction-button-v2.-in-sidebar .-title {
    display: block;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    transition: color 0.18s ease, transform 0.18s ease;
}

.theme1-account-sidebar .x-transaction-button-v2.-in-sidebar .-sub-title {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.72rem;
    transition: color 0.18s ease, opacity 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:hover,
    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:focus-visible {
        transform: translateY(-2px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 34px rgba(0, 0, 0, 0.28);
        text-decoration: none;
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:hover::before,
    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:focus-visible::before {
        transform: translateX(135%);
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar.-deposit:hover,
    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar.-deposit:focus-visible {
        border-color: rgba(99, 239, 173, 0.34);
        background: linear-gradient(135deg, rgba(45, 222, 136, 0.3) 0%, rgba(13, 130, 84, 0.48) 100%) !important;
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar.-withdraw:hover,
    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar.-withdraw:focus-visible {
        border-color: rgba(255, 208, 113, 0.34);
        background: linear-gradient(135deg, rgba(255, 202, 96, 0.28) 0%, rgba(188, 102, 28, 0.46) 100%) !important;
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:hover .-icon,
    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:focus-visible .-icon {
        transform: translateY(-1px) scale(1.05);
        filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.18));
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:hover .-title,
    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:focus-visible .-title {
        transform: translateX(1px);
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:hover .-sub-title,
    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:focus-visible .-sub-title {
        color: rgba(255, 255, 255, 0.82);
    }
}

.theme1-account-sidebar .x-transaction-button-v2.-in-sidebar:focus-visible {
    outline: none;
}

.theme1-account-sidebar .navbar-nav {
    margin-top: 18px;
    flex-direction: column;
    gap: 10px;
}

.theme1-account-sidebar .navbar-nav .nav-item {
    margin-bottom: 0;
    border: 1px solid var(--theme1-drawer-border);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--theme1-drawer-card) 0%, var(--t1-c10, rgba(7, 17, 40, 0.96)) 100%);
    box-shadow: 0 14px 28px rgba(1, 8, 24, 0.26);
}

.theme1-account-sidebar .navbar-nav .nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: transparent !important;
}

.theme1-account-sidebar .navbar-nav .nav-item .nav-link .-icon-image {
    width: 34px;
    height: 34px;
    margin-top: 0;
    flex: 0 0 34px;
}

.theme1-account-sidebar .navbar-nav .nav-item .nav-link .-text-menu {
    color: var(--theme1-drawer-text) !important;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.25;
}

.theme1-account-sidebar .navbar-nav .nav-item.active,
.theme1-account-sidebar .navbar-nav .nav-item:hover {
    border-color: var(--t1-c2, rgba(79, 174, 255, 0.34));
    box-shadow: 0 16px 30px rgba(1, 8, 24, 0.36), inset 0 0 0 1px var(--t1-c45, rgba(79, 174, 255, 0.12));
}

.theme1-account-sidebar .navbar-nav .nav-item.active .nav-link,
.theme1-account-sidebar .navbar-nav .nav-item:hover .nav-link {
    background: linear-gradient(180deg, var(--theme1-drawer-card-hover) 0%, var(--t1-c40, rgba(8, 19, 47, 0.98)) 100%) !important;
}

.theme1-account-sidebar .navbar-nav .nav-item.-logout {
    border-color: rgba(255, 125, 166, 0.16);
}

.theme1-account-sidebar .navbar-nav .nav-item.-logout .nav-link .-text-menu {
    color: #ff9fba !important;
}

.theme1-account-sidebar .navbar-nav .nav-item.-logout:hover,
.theme1-account-sidebar .navbar-nav .nav-item.-logout.active {
    border-color: rgba(255, 125, 166, 0.34);
}

.theme1-account-sidebar .navbar-nav .nav-item.-logout:hover .nav-link,
.theme1-account-sidebar .navbar-nav .nav-item.-logout.active .nav-link {
    background: linear-gradient(180deg, rgba(81, 19, 41, 0.94) 0%, rgba(48, 10, 24, 0.98) 100%) !important;
}

@media (max-width: 991.98px) {
    .theme1-account-sidebar {
        width: min(336px, calc(100vw - 12px));
    }

    .theme1-account-sidebar .x-modal-account-menu-mobile {
        padding: 16px 14px 18px;
        padding-bottom: calc(110px + env(safe-area-inset-bottom));
        border-radius: 24px 0 0 24px;
    }

    .theme1-account-sidebar .-transaction-button-wrapper {
        gap: 10px;
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar {
        min-height: 68px;
        padding: 0.8rem 0.75rem;
        gap: 8px;
    }
}

@media (max-width: 575.98px) {
    .theme1-account-sidebar {
        width: min(304px, calc(100vw - 8px));
    }

    .theme1-account-sidebar .x-modal-account-menu-mobile {
        padding: 14px 12px 16px;
        padding-bottom: calc(108px + env(safe-area-inset-bottom));
        border-radius: 20px 0 0 20px;
    }

    .theme1-account-identity {
        font-size: 1.2rem;
    }

    .theme1-account-subtitle {
        font-size: 0.82rem;
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar {
        min-height: 62px;
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar .-icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar .-title {
        font-size: 0.9rem;
    }

    .theme1-account-sidebar .x-transaction-button-v2.-in-sidebar .-sub-title {
        font-size: 0.68rem;
    }

    .theme1-account-sidebar .navbar-nav .nav-item .nav-link {
        gap: 12px;
        padding: 12px 14px;
    }

    .theme1-account-sidebar .navbar-nav .nav-item .nav-link .-icon-image {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }
}

/* ===== Header account: ใช้สไตล์ desktop กับทุกขนาดจอ + ซ่อนปุ่ม LINE + ไอคอนเด้งเบาๆ (เฉพาะ theme_1) ===== */
@media (max-width: 991.98px) {
    /* ซ่อนไอคอน LINE ที่มุมขวาบนของ header บนจอ mobile/tablet */
    .x-header #headerContent .x-logged .theme1-mobile-support-link {
        display: none !important;
    }

    /* แสดงชื่อผู้ใช้บนจอเล็กด้วย ให้หน้าตาเหมือน desktop */
    .theme1-account-trigger .-profile-name {
        display: block;
    }
}

/* ไอคอนโปรไฟล์เด้งขึ้น-ลงเบาๆ (ทุกขนาดจอ) */
@keyframes theme1-avatar-bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.theme1-account-trigger .x-profile-image {
    animation: theme1-avatar-bounce 2.4s ease-in-out infinite;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .theme1-account-trigger .x-profile-image {
        animation: none;
    }
}

/* รอบวันที่ (date round) — ใช้ร่วมกันหน้า cashback / friend */
.date-label {
    font-size: 0.9rem;
    color: var(--cb-muted, var(--fr-muted, #9aa6b8));
    display: block;
    margin-bottom: 4px;
}

.date-display {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f2c08f;
    background-color: rgba(248, 207, 146, 0.15);
    border: 1px solid rgba(248, 207, 146, 0.38);
    border-radius: 10px;
    padding: 7px 14px;
    display: inline-block;
}

@media (max-width: 767.98px) {
    .date-display {
        font-size: 1rem;
        padding: 6px 12px;
    }
}
