/* Shared Rysa shell — scoped copy of the approved homepage styles. */
.rysa-shell-wrap { max-width:1180px; margin:0 auto; padding:0 22px; }
@media (max-width:420px) { .rysa-shell-wrap { padding-left:15px; padding-right:15px; } }


header.rysa-shared-header {height:72px;
    border-bottom:1px solid #1b2550;
    background:rgba(4,7,20,.88);
    backdrop-filter:blur(14px);
    position:sticky;
    top:0;
    z-index:50;}

header.rysa-shared-header .nav {height:72px;
    display:flex;
    align-items:center;
    gap:16px;}

header.rysa-shared-header .logo {display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-weight: 900;
    font-size: 25px;
    letter-spacing: 1px;
    text-decoration: none;}

header.rysa-shared-header .logo-mark {width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    animation: rysaMarkIn 0.8s ease-out both;}

header.rysa-shared-header .logo-text {display: block;
    line-height: 1;
    color: #f7f7ff;}

header.rysa-shared-header .logo-text small {display: block;
    font-size: 8px;
    letter-spacing: 4px;
    margin: 4px 0 0 2px;
    color: #aab0ca;}

@keyframes rysaMarkIn {
    0% {
        opacity: 0;
        transform: translateY(5px) scale(0.88);
    }
    70% {
        opacity: 1;
        transform: translateY(-1px) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

header.rysa-shared-header .links {display:flex;
    align-items:center;
    gap:13px;
    color:#cdd3ee;
    font-size:13px;
    white-space:nowrap;}

header.rysa-shared-header .mobile-menu-toggle {display:none;
    width:40px;
    height:40px;
    flex-shrink:0;
    align-items:center;
    justify-content:center;
    border:1px solid #24475f;
    border-radius:12px;
    background:#101a3d;
    color:#fff;
    cursor:pointer;}

header.rysa-shared-header .mobile-menu-toggle svg {width:22px;
    height:22px;
    display:block;}

@media (max-width:850px) {
header.rysa-shared-header {height: auto;}
header.rysa-shared-header .rysa-shell-wrap.nav {position: relative;
        min-height: 68px;
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;}
header.rysa-shared-header .mobile-menu-toggle {display: flex;
        order: 3;}
header.rysa-shared-header .search-wrap {order: 2;
        width: auto;
        min-width: 0;
        flex: 1;}
header.rysa-shared-header .profile {order: 4;}
header.rysa-shared-header .links {display: flex;
    order: 5;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0;
    background: #0b1230;
    border: 1px solid #252b56;
    border-radius: 14px;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    pointer-events: none;

    transition:
        max-height .3s ease,
        opacity .2s ease,
        transform .2s ease,
        padding .3s ease,
        visibility 0s linear .3s;}
header.rysa-shared-header .links.mobile-open {max-height: calc(100vh - 160px);
max-height: calc(100dvh - 160px);
overflow-y: auto;
overscroll-behavior-y: contain;
-webkit-overflow-scrolling: touch;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;

    transition:
        max-height .3s ease,
        opacity .2s ease,
        transform .2s ease,
        padding .3s ease,
        visibility 0s;}
header.rysa-shared-header .links a {display: block;
        padding: 13px 12px;
        border-radius: 9px;}
header.rysa-shared-header .links a:hover,
header.rysa-shared-header .links a:focus-visible {background: #143750;}
header.rysa-shared-header .links a::after {display: none;}
}

header.rysa-shared-header .links a {position: relative;}

header.rysa-shared-header .links a::after {content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:#3ca8ff;
    transition:width .3s ease;}

header.rysa-shared-header .links a:hover::after,
header.rysa-shared-header .links a:focus-visible::after,
header.rysa-shared-header .links a.active::after {width:100%;}

header.rysa-shared-header .search-wrap {position:relative;
    margin-left:auto;
    width:230px;
    flex-shrink:1;}

header.rysa-shared-header .search {width:100%;
    margin-left:0;
    background:#101a3d;
    border:1px solid #202b59;
    border-radius:30px;
    padding:11px 18px;
    color:#f7f7ff;
    outline:none;}

header.rysa-shared-header .search:focus {border-color:#44b0ff;
    box-shadow:0 0 0 3px #44b0ff22;}

header.rysa-shared-header .search::placeholder {color:#aab2d0;}

header.rysa-shared-header .search-results {position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    z-index:100;
    background:#0b1230;
    border:1px solid #234f6c;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 12px 30px #0008;}

header.rysa-shared-header .search-results[hidden] {display:none !important;}

header.rysa-shared-header .search-results [data-game] {display:flex;
    align-items:center;
    padding:13px 15px;
    color:#f7f7ff;
    cursor:pointer;
    border-bottom:1px solid #202448;
    transition:background .2s ease;}

header.rysa-shared-header .search-results [data-game]:hover {background:#143750;}

header.rysa-shared-header .search-results .no-results {padding:13px 15px;
    color:#a8b0cf;
    font-size:13px;}

header.rysa-shared-header .profile {position:relative;
    flex-shrink:0;}

header.rysa-shared-header .profile-trigger {width:43px;
    height:43px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0;
    border:1px solid #24475f;
    border-radius:50%;
    background:linear-gradient(145deg,#133247,#101a3d);
    color:#fff;
    cursor:pointer;
    transition:border-color .25s,background .25s,transform .25s;}

header.rysa-shared-header .profile-trigger:hover,
header.rysa-shared-header .profile-trigger[aria-expanded="true"] {border-color:#5cb7ff;
    background:#143750;}

header.rysa-shared-header .profile-trigger:active {transform:scale(.95);}

header.rysa-shared-header .profile-trigger svg {width:21px;
    height:21px;
    display:block;}

header.rysa-shared-header .profile-menu {position:absolute;
    top:calc(100% + 13px);
    right:0;
    width:205px;
    padding:7px;
    background:#0b1230;
    border:1px solid #244256;
    border-radius:15px;
    box-shadow:0 16px 40px #0009;
    transform:translateY(-8px) scale(.97);
    transform-origin:top right;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .2s ease,transform .2s ease,visibility .2s;}

header.rysa-shared-header .profile-menu.open {opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0) scale(1);}

header.rysa-shared-header .profile-menu a {display:flex;
    align-items:center;
    gap:11px;
    padding:12px;
    color:#e8e7ff;
    font-size:13px;
    border-radius:10px;
    transition:background .2s,color .2s;}

header.rysa-shared-header .profile-menu a:hover,
header.rysa-shared-header .profile-menu a:focus-visible {background:#143750;
    color:#9ad3ff;
    outline:none;}

header.rysa-shared-header .profile-menu a svg {width:18px;
    height:18px;
    flex-shrink:0;
    color:#8acdff;}

header.rysa-shared-header .profile-divider {height:1px;
    background:#243d4a;
    margin:5px 7px;}

header.rysa-shared-header .profile-name {display:block;
    padding:10px 12px 7px;
    color:#a8b0cf;
    font-size:11px;
    overflow-wrap:anywhere;}

header.rysa-shared-header .profile-wallet {margin: 5px 7px;
    padding: 13px;
    border: 1px solid #24475f;
    border-radius: 12px;
    background: linear-gradient(135deg, #133247, #101a3d);
    display: flex;
    flex-direction: column;
    gap: 7px;}

header.rysa-shared-header .profile-wallet-label {color: #b0c8d8;
    font-size: 11px;}

header.rysa-shared-header .profile-wallet strong {color: #ffffff;
    font-size: 21px;
    font-weight: 800;}

header.rysa-shared-header .profile-wallet a {padding: 0;
    color: #8acdff;
    font-size: 11px;}

header.rysa-shared-header .profile-wallet a:hover {background: transparent;
    color: #bde3ff;}

@media (max-width:1000px) {
header.rysa-shared-header .nav {gap:9px;}
header.rysa-shared-header .links {gap:8px; font-size:12px;}
header.rysa-shared-header .search-wrap {width:160px;}
}

@media (max-width:850px) {
header.rysa-shared-header .nav {gap:12px;}
header.rysa-shared-header .search-wrap {width:auto; flex:1;}
header.rysa-shared-header .search {padding:11px 13px;}
}

@media (max-width:420px) {
header.rysa-shared-header .nav {gap:10px;}
header.rysa-shared-header .logo {font-size:20px;}
header.rysa-shared-header .logo small {margin-left:25px; font-size:7px;}
header.rysa-shared-header .profile-trigger {width:39px; height:39px;}
header.rysa-shared-header .search {font-size:12px; padding:10px 11px;}
}

header.rysa-shared-header .mobile-menu-backdrop {display:none;}

header.rysa-shared-header .mobile-drawer-head,
header.rysa-shared-header .mobile-drawer-wallet,
header.rysa-shared-header .mobile-drawer-account-links,
header.rysa-shared-header .mobile-drawer-section-label,
header.rysa-shared-header .mobile-nav-icon,
header.rysa-shared-header .mobile-link-arrow {display:none;}

@media (max-width:850px) {
header.rysa-shared-header {height:auto;
        -webkit-backdrop-filter:none;
        backdrop-filter:none;}
header.rysa-shared-header .rysa-shell-wrap.nav {position:relative;
        min-height:68px;
        height:auto;
        flex-wrap:nowrap;
        gap:8px;
        padding-top:10px;
        padding-bottom:10px;}
header.rysa-shared-header .logo {order:1;}
header.rysa-shared-header .search-wrap {order:2;
        margin-left:auto;
        width:auto;
        min-width:0;
        flex:1 1 auto;}
header.rysa-shared-header .profile {order:3;}
header.rysa-shared-header .mobile-menu-toggle {order:4;
        display:flex;
        width:43px;
        height:43px;
        border-radius:14px;
        flex:0 0 43px;}
header.rysa-shared-header .mobile-menu-backdrop {display:block;
        position:fixed;
        inset:0;
        z-index:59;
        width:100%;
        height:100%;
        padding:0;
        margin:0;
        border:0;
        border-radius:0;
        background:rgba(2,4,14,.70);
        -webkit-backdrop-filter:blur(3px);
        backdrop-filter:blur(3px);
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transition:opacity .28s ease, visibility .28s ease;
        cursor:default;}
header.rysa-shared-header .mobile-menu-backdrop.open {opacity:1;
        visibility:visible;
        pointer-events:auto;}
header.rysa-shared-header .links {position:fixed !important;
        top:0 !important;
        right:0 !important;
        bottom:0 !important;
        left:auto !important;
        z-index:60;
        display:flex !important;
        flex-direction:column !important;
        align-items:stretch !important;
        justify-content:flex-start;
        gap:5px !important;
        width:min(86vw,420px) !important;
        max-width:100vw;
        height:100vh;
        height:100dvh;
        max-height:none !important;
        flex:0 0 auto !important;
        box-sizing:border-box;
        overflow-x:hidden !important;
        overflow-y:auto !important;
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
        margin:0 !important;
        padding:22px 19px 30px !important;
        background:linear-gradient(160deg,#0b1230 0%,#0a1028 60%,#0a202d 100%);
        border:1px solid #244256;
        border-right:0;
        border-radius:22px 0 0 22px;
        box-shadow:-18px 0 55px rgba(0,0,0,.42);
        white-space:normal;
        transform:translateX(105%) !important;
        opacity:1 !important;
        visibility:hidden !important;
        pointer-events:none !important;
        transition:transform .30s cubic-bezier(.22,.8,.25,1), visibility .30s ease !important;}
header.rysa-shared-header .links.mobile-open {max-height:none !important;
        padding:22px 19px 30px !important;
        transform:translateX(0) !important;
        visibility:visible !important;
        pointer-events:auto !important;}
header.rysa-shared-header .mobile-drawer-head {display:flex;
        align-items:center;
        justify-content:space-between;
        gap:14px;
        padding:0 0 20px;
        margin:0 0 10px;
        border-bottom:1px solid #25404f;
        flex:0 0 auto;}
header.rysa-shared-header .profile {display:none !important;}
header.rysa-shared-header .mobile-menu-toggle {order:3;}
header.rysa-shared-header .mobile-drawer-head {align-items:flex-start;
        gap:10px;
        padding-bottom:16px;
        margin-bottom:14px;}
header.rysa-shared-header .drawer-account-identity {display:flex;
        align-items:center;
        gap:11px;
        min-width:0;
        flex:1 1 auto;
        padding-top:2px;}
header.rysa-shared-header .drawer-account-avatar {display:flex;
        align-items:center;
        justify-content:center;
        width:48px;
        height:48px;
        flex:0 0 48px;
        border:1px solid #44b4ff;
        border-radius:50%;
        background:linear-gradient(135deg,#3baeff,#235be8);
        color:#fff;
        font-size:23px;
        font-weight:850;
        box-shadow:0 0 22px #35a0e633;}
header.rysa-shared-header .drawer-account-avatar svg {width:24px; height:24px;}
header.rysa-shared-header .drawer-account-avatar-wrap {position:relative;display:block;flex:0 0 70px;width:70px;height:70px;overflow:visible;}
header.rysa-shared-header .drawer-account-avatar-wrap .drawer-account-avatar {position:relative;z-index:1;left:auto;top:auto;width:100%;height:100%;flex:0 0 100%;font-size:23px;}
header.rysa-shared-header .drawer-account-identity--gold {padding:7px 9px;border:1px solid rgba(237,180,49,.48);border-radius:13px;background:linear-gradient(110deg,rgba(76,49,12,.5),rgba(15,22,44,.96) 68%);box-shadow:inset 0 0 22px rgba(240,183,51,.08);}
header.rysa-shared-header .drawer-account-identity--platinum {padding:7px 9px;border:1px solid rgba(102,178,255,.5);border-radius:13px;background:linear-gradient(110deg,rgba(24,65,112,.52),rgba(13,23,48,.96) 68%);box-shadow:inset 0 0 22px rgba(86,170,255,.09);}
header.rysa-shared-header .drawer-account-copy {display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:5px;
        min-width:0;}
header.rysa-shared-header .drawer-account-copy > strong {max-width:100%;
        color:#f7f7ff;
        font-size:16px;
        line-height:1.25;
        overflow-wrap:anywhere;}
header.rysa-shared-header .drawer-account-email {display:block;
        max-width:100%;
        color:#a8b0cf;
        font-size:11px;
        line-height:1.35;
        overflow-wrap:anywhere;}
header.rysa-shared-header .drawer-membership-badge {display:inline-flex;
        align-items:center;
        gap:5px;
        max-width:100%;
        padding:4px 8px;
        border:1px solid #2b73a9;
        border-radius:999px;
        background:#113752;
        color:#c1e4ff;
        font-size:9px;
        font-weight:800;
        letter-spacing:.4px;}
header.rysa-shared-header .drawer-membership-badge svg {width:12px; height:12px; flex:0 0 12px;}
header.rysa-shared-header .drawer-login-link {display:inline-flex;
        gap:6px;
        align-items:center;
        color:#a3d7ff;
        font-size:12px;
        font-weight:700;}
header.rysa-shared-header .mobile-drawer-wallet {display:block;
        flex:0 0 auto;
        margin:0 0 14px;
        padding:13px;
        border:1px solid #2b5875;
        border-radius:15px;
        background:linear-gradient(135deg,#153141 0%,#101a3d 100%);}
header.rysa-shared-header .drawer-wallet-summary {display:flex; align-items:center; gap:11px; min-width:0;}
header.rysa-shared-header .drawer-wallet-icon {display:flex;
        align-items:center;
        justify-content:center;
        width:39px;
        height:39px;
        flex:0 0 39px;
        border-radius:12px;
        background:#0e2446;
        color:#39d7ff;}
header.rysa-shared-header .drawer-wallet-icon svg {width:22px; height:22px;}
header.rysa-shared-header .drawer-wallet-copy {display:flex; flex-direction:column; gap:3px; min-width:0;}
header.rysa-shared-header .drawer-wallet-label {color:#a8b0cf; font-size:11px; line-height:1.3;}
header.rysa-shared-header .drawer-wallet-copy strong {color:#40dafa; font-size:23px; line-height:1.15; font-weight:850; letter-spacing:.1px;}
header.rysa-shared-header .drawer-wallet-topup {display:flex !important;
        align-items:center;
        justify-content:center;
        gap:8px;
        min-height:43px !important;
        margin-top:12px !important;
        padding:10px 12px !important;
        border:0 !important;
        border-radius:11px !important;
        background:linear-gradient(100deg,#39a4f2,#1f80f4) !important;
        color:#fff !important;
        font-size:13px !important;
        font-weight:750 !important;
        text-align:center;}
header.rysa-shared-header .drawer-wallet-topup svg {width:18px; height:18px;}
header.rysa-shared-header .mobile-drawer-account-links {display:flex; flex-direction:column; gap:3px; flex:0 0 auto;}
header.rysa-shared-header .links a.mobile-account-action,
header.rysa-shared-header .links > a.mobile-store-link {display:flex;
        align-items:center;
        gap:12px;
        min-height:45px;
        padding:11px 12px !important;
        border:1px solid transparent;
        border-radius:10px;
        color:#dce2fa;
        font-size:14px;
        font-weight:600;
        line-height:1.3;}
header.rysa-shared-header .links a.mobile-account-action {background:#0e1532; border-color:#202851;}
header.rysa-shared-header .mobile-nav-icon {display:block; width:20px; height:20px; flex:0 0 20px; color:#9ad6ff;}
header.rysa-shared-header .mobile-link-arrow {margin-left:auto; color:#9ba9ec; font-size:24px; font-weight:400; line-height:1;}
header.rysa-shared-header .links a.mobile-account-logout {color:#ff7188;}
header.rysa-shared-header .links a.mobile-account-logout .mobile-nav-icon {color:#ff7188;}
header.rysa-shared-header .mobile-drawer-section-label {display:block;
        margin:15px 5px 7px;
        padding-top:15px;
        border-top:1px solid #25404f;
        color:#8792be;
        font-size:10px;
        font-weight:800;
        letter-spacing:1.6px;
        line-height:1.3;}
header.rysa-shared-header .links > a.mobile-store-link {background:transparent;}
header.rysa-shared-header .links a.mobile-account-action:hover,
header.rysa-shared-header .links > a.mobile-store-link:hover,
header.rysa-shared-header .links a.mobile-account-action:focus-visible,
header.rysa-shared-header .links > a.mobile-store-link:focus-visible {background:linear-gradient(100deg,#113b5a,#162650); color:#fff;}
header.rysa-shared-header .links > a {display:flex;
        align-items:center;
        min-height:51px;
        padding:15px 14px !important;
        margin:0;
        border-radius:12px;
        color:#d7def7;
        font-size:16px;
        font-weight:550;
        line-height:1.35;
        white-space:normal;
        border-bottom:0;
        transition:background .18s ease,color .18s ease;}
header.rysa-shared-header .links > a:hover,
header.rysa-shared-header .links > a:focus-visible,
header.rysa-shared-header .links > a.active {background:linear-gradient(100deg,#134265,#182656);
        color:#fff;
        outline:none;}
header.rysa-shared-header .links > a::after {display:none !important;}
body.mobile-menu-open {overflow:hidden;}
}

@media (max-width:420px) {
header.rysa-shared-header .rysa-shell-wrap.nav {gap:7px;}
header.rysa-shared-header .logo {gap:6px;}
header.rysa-shared-header .logo-mark {width:32px; height:32px;}
header.rysa-shared-header .logo-text {font-size:19px;}
header.rysa-shared-header .logo-text small {margin-left:2px; font-size:7px; letter-spacing:3px;}
header.rysa-shared-header .search {font-size:12px; padding:10px 10px;}
header.rysa-shared-header .profile-trigger {width:39px; height:39px;}
header.rysa-shared-header .mobile-menu-toggle {width:40px; height:40px; flex-basis:40px;}
}

@media (max-width:850px) {
header.rysa-shared-header .links {gap:2px !important;
        padding:12px 13px 14px !important;}
header.rysa-shared-header .links.mobile-open {padding:12px 13px 14px !important;}
header.rysa-shared-header .mobile-drawer-head {align-items:center !important;
        gap:8px !important;
        padding:0 0 8px !important;
        margin:0 0 8px !important;}
header.rysa-shared-header .drawer-account-identity {gap:8px; padding-top:0;}
header.rysa-shared-header .drawer-account-avatar {width:38px;
        height:38px;
        flex-basis:38px;
        font-size:18px;
        box-shadow:0 0 12px #35a0e622;}
header.rysa-shared-header .drawer-account-avatar svg {width:20px; height:20px;}
header.rysa-shared-header .drawer-account-avatar-wrap {width:60px;height:60px;flex-basis:60px;}
header.rysa-shared-header .drawer-account-avatar-wrap .drawer-account-avatar {left:auto;top:auto;width:100%;height:100%;flex-basis:100%;font-size:20px;}
header.rysa-shared-header .drawer-account-identity--gold,
header.rysa-shared-header .drawer-account-identity--platinum {padding:5px 7px;border-radius:11px;}
header.rysa-shared-header .drawer-account-copy {gap:2px;}
header.rysa-shared-header .drawer-account-copy > strong {font-size:14px; line-height:1.15;}
header.rysa-shared-header .drawer-account-email {font-size:10px; line-height:1.2;}
header.rysa-shared-header .drawer-membership-badge {padding:2px 6px;
        gap:4px;
        font-size:8px;
        line-height:1.2;
        letter-spacing:.25px;}
header.rysa-shared-header .drawer-membership-badge svg {width:10px; height:10px; flex-basis:10px;}
header.rysa-shared-header .mobile-drawer-wallet {margin:0 0 8px !important;
        padding:9px !important;
        border-radius:12px;}
header.rysa-shared-header .drawer-wallet-summary {gap:8px;}
header.rysa-shared-header .drawer-wallet-icon {width:31px;
        height:31px;
        flex-basis:31px;
        border-radius:9px;}
header.rysa-shared-header .drawer-wallet-icon svg {width:18px; height:18px;}
header.rysa-shared-header .drawer-wallet-copy {gap:1px;}
header.rysa-shared-header .drawer-wallet-label {font-size:10px; line-height:1.2;}
header.rysa-shared-header .drawer-wallet-copy strong {font-size:19px; line-height:1.12;}
header.rysa-shared-header .drawer-wallet-topup {min-height:34px !important;
        margin-top:7px !important;
        padding:7px 9px !important;
        gap:6px;
        border-radius:9px !important;
        font-size:12px !important;}
header.rysa-shared-header .drawer-wallet-topup svg {width:15px; height:15px;}
header.rysa-shared-header .mobile-drawer-account-links {gap:2px;}
header.rysa-shared-header .links a.mobile-account-action,
header.rysa-shared-header .links > a.mobile-store-link {min-height:36px;
        gap:9px;
        padding:7px 9px !important;
        border-radius:8px;
        font-size:13px;
        line-height:1.2;}
header.rysa-shared-header .mobile-nav-icon {width:17px; height:17px; flex-basis:17px;}
header.rysa-shared-header .mobile-link-arrow {font-size:19px;}
header.rysa-shared-header .mobile-drawer-section-label {margin:7px 4px 4px;
        padding-top:7px;
        font-size:9px;
        letter-spacing:1.3px;
        line-height:1.2;}
header.rysa-shared-header .links > a {min-height:36px;
        padding:7px 9px !important;
        border-radius:8px;
        font-size:13px;
        line-height:1.2;}
}

@media (max-width:420px) and (max-height:780px) {
header.rysa-shared-header .links {padding:9px 11px 10px !important;}
header.rysa-shared-header .links.mobile-open {padding:9px 11px 10px !important;}
header.rysa-shared-header .mobile-drawer-head {padding-bottom:6px !important; margin-bottom:6px !important;}
header.rysa-shared-header .mobile-drawer-wallet {margin-bottom:6px !important; padding:8px !important;}
header.rysa-shared-header .drawer-wallet-copy strong {font-size:18px;}
header.rysa-shared-header .drawer-wallet-topup {min-height:31px !important; margin-top:5px !important; padding:5px 8px !important;}
header.rysa-shared-header .links a.mobile-account-action,
header.rysa-shared-header .links > a.mobile-store-link,
header.rysa-shared-header .links > a {min-height:33px; padding:6px 8px !important;}
header.rysa-shared-header .mobile-drawer-section-label {margin-top:5px; padding-top:5px;}
}

header.rysa-shared-header .mobile-tools-dropdown {position: relative;
    display: block;
    flex: 0 0 auto;
    min-width: 0;}

header.rysa-shared-header .mobile-tools-menu-toggle {display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    white-space: inherit;}

header.rysa-shared-header .mobile-tools-menu-toggle:focus-visible {outline: 2px solid #7ccaff;
    outline-offset: 2px;}

header.rysa-shared-header .mobile-tools-menu-toggle .mobile-tools-chevron {display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transform: rotate(90deg);
    transition: transform .18s ease;}

header.rysa-shared-header .mobile-tools-dropdown.is-open > .mobile-tools-menu-toggle .mobile-tools-chevron {transform: rotate(-90deg);}

header.rysa-shared-header .mobile-tools-submenu {position: absolute;
    z-index: 120;
    top: calc(100% + 7px);
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 255px;
    max-width: min(330px, 85vw);
    padding: 8px;
    border: 1px solid #244256;
    border-radius: 13px;
    background: linear-gradient(160deg, #0b1230 0%, #0a1028 62%, #0a202d 100%);
    box-shadow: 0 14px 36px rgba(0,0,0,.42);}

header.rysa-shared-header .mobile-tools-submenu[hidden] {display: none !important;}

header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link {position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 38px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #dce2fa;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;}

header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link::after {display: none !important;}

header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link:hover,
header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link:focus-visible {border-color: #27516d;
    background: linear-gradient(100deg, #113b5a, #162650);
    color: #fff;
    outline: none;}

header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link.active {border-color: #27516d;
    background: linear-gradient(100deg, #113b5a, #162650);
    color: #fff;}

header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link svg {display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #9ad6ff;}

header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link[aria-disabled="true"] {opacity: .72;
    cursor: not-allowed;}

header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link[aria-disabled="true"]:hover,
header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link[aria-disabled="true"]:focus-visible {border-color: transparent;
    background: transparent;
    color: #dce2fa;}

@media (max-width: 850px) {
header.rysa-shared-header .links .mobile-tools-dropdown {display: block;
        width: 100%;
        flex: 0 0 auto;}
header.rysa-shared-header .links .mobile-tools-menu-toggle {display: flex !important;
        align-items: center;
        gap: 9px;
        min-height: 36px;
        padding: 7px 9px !important;
        border: 1px solid transparent;
        border-radius: 8px;
        color: #dce2fa;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        background: transparent;
        text-align: left;}
header.rysa-shared-header .links .mobile-tools-menu-toggle .mobile-nav-icon {display: block;
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
        color: #9ad6ff;}
header.rysa-shared-header .links .mobile-tools-menu-toggle .mobile-tools-chevron {display: inline-flex;
        margin-left: auto;
        color: #9ba9ec;
        font-size: 19px;
        line-height: 1;}
header.rysa-shared-header .links .mobile-tools-dropdown.is-open > .mobile-tools-menu-toggle {border-color: #27516d;
        background: linear-gradient(100deg, #143348, #101b3e);
        color: #fff;}
header.rysa-shared-header .links .mobile-tools-submenu {position: relative;
        top: auto;
        left: auto;
        min-width: 0;
        max-width: none;
        margin: 2px 0 3px;
        padding: 6px 6px 6px 25px;
        border: 1px solid #202b55;
        border-radius: 12px;
        background: linear-gradient(160deg, rgba(15,24,57,.96), rgba(11,16,42,.96));
        box-shadow: none;
        gap: 0;}
header.rysa-shared-header .links .mobile-tools-submenu::before {content: "";
        position: absolute;
        top: 10px;
        bottom: 10px;
        left: 13px;
        width: 2px;
        border-radius: 2px;
        background: linear-gradient(180deg, #5592b8, #252f62);
        pointer-events: none;}
header.rysa-shared-header .links .mobile-tools-submenu a.mobile-tools-sub-link {display: flex !important;
        align-items: center;
        gap: 10px;
        min-height: 37px;
        padding: 7px 8px !important;
        border: 1px solid transparent;
        border-radius: 8px;
        color: #dce2fa;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.25;}
header.rysa-shared-header .links .mobile-tools-submenu a.mobile-tools-sub-link svg {width: 17px;
        height: 17px;
        flex: 0 0 17px;}
header.rysa-shared-header .links .mobile-tools-submenu a.mobile-tools-sub-link[aria-disabled="true"] {opacity: .68;}
header.rysa-shared-header .links .mobile-tools-submenu a.mobile-tools-sub-link::after {display: none !important;}
}


/* Desktop navigation: same two-row layout as the homepage. */
/* RYSA STORE — desktop-only navigation refresh.
   Isolated to min-width: 851px so the existing phone layout is unchanged. */
@media (min-width: 851px) {
    header.rysa-shared-header {
        height: auto;
        min-height: 123px;
        border-bottom: 1px solid rgba(74, 91, 170, .48);
        background: linear-gradient(180deg, rgba(4, 7, 20, .98), rgba(6, 10, 29, .96));
        box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
    }

    header.rysa-shared-header .rysa-shell-wrap.nav {
        display: grid !important;
        grid-template-columns: minmax(180px, auto) minmax(0, 1fr) 48px;
        grid-template-rows: 66px 50px;
        column-gap: 20px;
        row-gap: 0;
        align-items: center;
        height: auto;
        min-height: 116px;
        padding-top: 3px;
        padding-bottom: 4px;
    }

    header.rysa-shared-header .logo {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        gap: 9px;
    }

    header.rysa-shared-header .logo-mark {
        width: 42px;
        height: 42px;
    }

    header.rysa-shared-header .logo-text {
        font-size: 27px;
        letter-spacing: 1.2px;
    }

    header.rysa-shared-header .logo-text small {
        font-size: 8px;
        letter-spacing: 4px;
    }

    header.rysa-shared-header .mobile-menu-toggle,
    header.rysa-shared-header .mobile-menu-backdrop {
        display: none !important;
    }

    header.rysa-shared-header .search-wrap {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        width: min(100%, 510px);
        min-width: 0;
        margin-left: 0;
        flex: initial;
    }

    header.rysa-shared-header .search {
        width: 100%;
        height: 46px;
        padding: 0 20px;
        border: 1px solid #394583;
        border-radius: 28px;
        background: linear-gradient(110deg, #101a3d 0%, #101631 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
        font-size: 14px;
    }

    header.rysa-shared-header .search:focus {
        border-color: #63c4ff;
        box-shadow: 0 0 0 3px rgba(99, 196, 255, .15), 0 0 20px rgba(72, 106, 255, .10);
    }

    header.rysa-shared-header .profile {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin-left: 0;
    }

    header.rysa-shared-header .profile-trigger {
        width: 46px;
        height: 46px;
        border: 1px solid #437ea5;
        background: linear-gradient(145deg, #133247, #101a3d);
        box-shadow: 0 0 18px rgba(64, 178, 255, .16);
    }

    header.rysa-shared-header .profile-trigger:hover,
    header.rysa-shared-header .profile-trigger[aria-expanded="true"] {
        border-color: #7ccaff;
        box-shadow: 0 0 22px rgba(61, 171, 255, .28);
    }

    header.rysa-shared-header .links {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex !important;
        flex: initial;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: clamp(2px, .35vw, 6px);
        width: 100%;
        min-width: 0;
        height: 50px;
        min-height: 50px;
        max-height: none;
        margin: 0;
        padding: 5px 0 0;
        overflow: visible;
        border: 0;
        border-top: 1px solid rgba(55, 68, 135, .58);
        border-radius: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        color: #cdd3ee;
        font-size: 12px;
        white-space: nowrap;
    }

    header.rysa-shared-header .links > a.mobile-store-link {
        display: flex;
        flex: 0 1 auto;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-width: 0;
        min-height: 39px;
        margin: 0;
        padding: 8px clamp(5px, .65vw, 10px);
        border: 1px solid transparent;
        border-radius: 10px;
        color: #cdd3ee;
        font-size: clamp(10px, .86vw, 12.5px);
        font-weight: 600;
        letter-spacing: 0;
        line-height: 1.1;
        white-space: nowrap;
        transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    }

    header.rysa-shared-header .links > a.mobile-store-link .mobile-nav-icon {
        display: block !important;
        width: 16px;
        height: 16px;
        flex: 0 0 16px;
        color: #9ad8ff;
    }

    header.rysa-shared-header .links > a.mobile-store-link .mobile-link-arrow {
        display: none !important;
    }

    header.rysa-shared-header .links > a.mobile-store-link::after {
        left: 10px;
        right: auto;
        bottom: 0;
        width: 0;
        height: 2px;
        border-radius: 2px;
    }

    header.rysa-shared-header .links > a.mobile-store-link:hover::after,
    header.rysa-shared-header .links > a.mobile-store-link:focus-visible::after,
    header.rysa-shared-header .links > a.mobile-store-link.active::after {
        width: calc(100% - 20px);
    }

    header.rysa-shared-header .links > a.mobile-store-link:hover,
    header.rysa-shared-header .links > a.mobile-store-link:focus-visible {
        border-color: rgba(89, 164, 213, .42);
        background: linear-gradient(110deg, rgba(26, 71, 104, .78), rgba(22, 38, 86, .72));
        color: #fff;
        outline: none;
    }

    header.rysa-shared-header .links > a.mobile-store-link.active {
        border-color: rgba(89, 171, 222, .5);
        background: linear-gradient(110deg, rgba(29, 78, 112, .72), rgba(20, 42, 100, .68));
        color: #fff;
        box-shadow: inset 0 0 18px rgba(81, 193, 255, .08);
    }

    header.rysa-shared-header .links > a.mobile-store-link.active .mobile-nav-icon,
    header.rysa-shared-header .links > a.mobile-store-link:hover .mobile-nav-icon,
    header.rysa-shared-header .links > a.mobile-store-link:focus-visible .mobile-nav-icon {
        color: #b0dfff;
    }
}

/* Keep labels comfortably readable on smaller laptop / tablet-sized desktop windows. */
@media (min-width: 851px) and (max-width: 1050px) {
    header.rysa-shared-header .rysa-shell-wrap.nav {
        column-gap: 14px;
        grid-template-columns: minmax(155px, auto) minmax(0, 1fr) 44px;
    }

    header.rysa-shared-header .logo-mark {
        width: 37px;
        height: 37px;
    }

    header.rysa-shared-header .logo-text {
        font-size: 24px;
    }

    header.rysa-shared-header .search-wrap {
        width: min(100%, 390px);
    }

    header.rysa-shared-header .links {
        gap: 1px;
    }

    header.rysa-shared-header .links > a.mobile-store-link {
        gap: 4px;
        padding-right: 4px;
        padding-left: 4px;
        font-size: 10.5px;
    }

    header.rysa-shared-header .links > a.mobile-store-link .mobile-nav-icon {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }
}



/* Homepage footer design, reused without changing page content. */

/* Rysa Store footer redesign: restrained colors, clearer support CTA and compact links. */
#sokongan.rysa-footer {
    box-sizing: border-box;
    padding: 36px 0 24px;
    color: #9aa5c3;
    background: #070b19;
    border-top: 1px solid #1b2540;
    font-size: 14px;
    line-height: 1.5;
}
#sokongan.rysa-footer * { box-sizing: border-box; }
#sokongan .rysa-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: start;
    gap: 24px 28px;
}
#sokongan .rysa-footer-brand,
#sokongan .rysa-footer-whatsapp,
#sokongan .rysa-footer-bottom { grid-column: 1 / -1; min-width: 0; }
#sokongan .rysa-footer-brand { padding: 0 2px 1px; }
#sokongan .brandfoot {
    color: #f6f7ff;
    font-size: clamp(25px, 3vw, 30px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -.025em;
}
#sokongan .rysa-footer-brand > small {
    display: block;
    margin: 5px 0 0 28px;
    color: #9aa5c3;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .38em;
    line-height: 1.3;
}
#sokongan .rysa-footer-brand > p { margin: 12px 0 0; color: #929dbb; font-size: 14px; }
#sokongan .rysa-footer-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 13px;
    color: #f1f3ff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1.35;
}
#sokongan .rysa-footer-heading svg {
    display: block;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #80c5ef;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#sokongan .rysa-footer-whatsapp-card {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 16px;
    padding: 16px 18px;
    color: #eef2ff;
    text-decoration: none;
    background: #0d1425;
    border: 1px solid #26324b;
    border-radius: 16px;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
#sokongan .rysa-footer-whatsapp-card:hover,
#sokongan .rysa-footer-whatsapp-card:focus-visible {
    border-color: #347968;
    background: #0d1927;
    outline: none;
}
#sokongan .rysa-footer-wa-icon {
    position: relative;
    display: flex;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #15382f;
    border: 1px solid rgba(37, 211, 102, .2);
    border-radius: 50%;
    animation: rysaWaFloat 3.8s ease-in-out infinite;
}
#sokongan .rysa-footer-wa-icon::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(37, 211, 102, .14);
    border-radius: 50%;
    animation: rysaWaRing 3.8s ease-out infinite;
    pointer-events: none;
}
#sokongan .rysa-footer-wa-icon svg { display: block; width: 37px; height: 37px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#sokongan .rysa-footer-wa-copy { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; gap: 3px; }
#sokongan .rysa-footer-wa-eyebrow { color: #7fb9a4; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
#sokongan .rysa-footer-wa-copy strong { color: #f4f6ff; font-size: 17px; font-weight: 800; line-height: 1.3; }
#sokongan .rysa-footer-wa-note { color: #9ca9c6; font-size: 12px; line-height: 1.45; }
#sokongan .rysa-footer-arrow { color: #a2aecb; font-size: 24px; font-weight: 400; line-height: 1; transition: color .18s ease, transform .18s ease; }
#sokongan .rysa-footer-whatsapp-card:hover .rysa-footer-arrow { color: #8ad6b1; transform: translateX(2px); }
#sokongan .rysa-footer-panel { min-width: 0; }
#sokongan .rysa-footer-link-list { list-style: none; margin: 0; padding: 0; }
#sokongan .rysa-footer-link-list li { margin: 0; padding: 0; min-width: 0; }
#sokongan .rysa-footer-link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 38px;
    padding: 8px 7px;
    color: #c4cce0;
    border-bottom: 1px solid #1b2438;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .18s ease, background-color .18s ease;
}
#sokongan .rysa-footer-link-list li:last-child a { border-bottom-color: transparent; }
#sokongan .rysa-footer-link-list a:hover,
#sokongan .rysa-footer-link-list a:focus-visible { color: #fff; background: rgba(119, 182, 220, .06); outline: none; }
#sokongan .rysa-footer-link-list a:hover .rysa-footer-arrow,
#sokongan .rysa-footer-link-list a:focus-visible .rysa-footer-arrow { color: #9acff0; }
#sokongan .rysa-footer-payment-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 13px;
    background: #0d1425;
    border: 1px solid #202b43;
    border-radius: 14px;
}
#sokongan .rysa-footer-payment-icon {
    display: flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: #9bd2f4;
    background: #192d37;
    border-radius: 12px;
}
#sokongan .rysa-footer-payment-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#sokongan .rysa-footer-payment-copy { min-width: 0; }
#sokongan .rysa-footer-payment-copy strong { display: block; color: #e9edfb; font-size: 11px; font-weight: 800; letter-spacing: .055em; line-height: 1.4; }
#sokongan .rysa-footer-payment-copy p { margin: 5px 0 0; color: #9aa5c3; font-size: 12px; line-height: 1.45; }
#sokongan .rysa-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px 10px;
    margin-top: 1px;
    padding-top: 19px;
    border-top: 1px solid #1b2438;
    color: #8792af;
    text-align: center;
    font-size: 12px;
}
#sokongan .rysa-footer-bottom p { margin: 0; }
#sokongan .rysa-footer-domain { color: #9aa5c3; }
@keyframes rysaWaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes rysaWaRing { 0%,100% { opacity: .55; transform: scale(.98); } 55% { opacity: .15; transform: scale(1.04); } }
@media (max-width: 600px) {
    #sokongan.rysa-footer { padding: 29px 0 20px; font-size: 13px; }
    #sokongan .rysa-footer-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px 14px; }
    #sokongan .brandfoot { font-size: 26px; }
    #sokongan .rysa-footer-brand > p { margin-top: 10px; font-size: 13px; }
    #sokongan .rysa-footer-heading { gap: 8px; margin-bottom: 10px; font-size: 12px; letter-spacing: .045em; }
    #sokongan .rysa-footer-heading svg { flex-basis: 20px; width: 20px; height: 20px; }
    #sokongan .rysa-footer-whatsapp-card { gap: 12px; padding: 13px; border-radius: 14px; }
    #sokongan .rysa-footer-wa-icon { flex-basis: 48px; width: 48px; height: 48px; }
    #sokongan .rysa-footer-wa-icon svg { width: 30px; height: 30px; }
    #sokongan .rysa-footer-wa-copy strong { font-size: 15px; }
    #sokongan .rysa-footer-wa-eyebrow { font-size: 9px; }
    #sokongan .rysa-footer-wa-note { font-size: 11px; }
    #sokongan .rysa-footer-whatsapp-card > .rysa-footer-arrow { font-size: 21px; }
    #sokongan .rysa-footer-link-list a { gap: 4px; min-height: 36px; padding: 7px 4px; font-size: 12px; }
    #sokongan .rysa-footer-link-list .rysa-footer-arrow { font-size: 20px; }
    #sokongan .rysa-footer-payment-card { display: block; margin-top: 18px; padding: 11px; }
    #sokongan .rysa-footer-payment-icon { width: 34px; height: 34px; margin-bottom: 9px; border-radius: 10px; }
    #sokongan .rysa-footer-payment-icon svg { width: 21px; height: 21px; }
    #sokongan .rysa-footer-payment-copy strong { font-size: 10px; }
    #sokongan .rysa-footer-payment-copy p { font-size: 11px; }
    #sokongan .rysa-footer-bottom { flex-direction: column; gap: 3px; padding-top: 15px; font-size: 11px; }
}
@media (max-width: 360px) {
    #sokongan .rysa-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    #sokongan .rysa-footer-brand,
    #sokongan .rysa-footer-whatsapp,
    #sokongan .rysa-footer-quicklinks,
    #sokongan .rysa-footer-support-info,
    #sokongan .rysa-footer-bottom { grid-column: 1 / -1; }
    #sokongan .rysa-footer-link-list a { font-size: 13px; }
    #sokongan .rysa-footer-payment-card { display: flex; align-items: center; }
    #sokongan .rysa-footer-payment-icon { margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
    #sokongan .rysa-footer-wa-icon,
    #sokongan .rysa-footer-wa-icon::after { animation: none !important; }
    #sokongan .rysa-footer-whatsapp-card,
    #sokongan .rysa-footer-arrow,
    #sokongan .rysa-footer-link-list a { transition: none !important; }
}



/* The shared shell uses its own width wrapper so page-specific .wrap rules remain untouched. */
#sokongan .rysa-shell-wrap { width:min(100%,1180px); max-width:1180px; margin-left:auto; margin-right:auto; padding-left:22px; padding-right:22px; }
@media (max-width:420px) { #sokongan .rysa-shell-wrap { padding-left:15px; padding-right:15px; } }


/* Final isolation rules: keep the shared homepage shell unchanged by page-local generic styles. */
header.rysa-shared-header {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
header.rysa-shared-header .search {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: auto;
    margin: 0;
    font: inherit;
}
header.rysa-shared-header .search-results [data-game] {
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #202448;
    border-radius: 0;
    background: transparent;
    text-align: left;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}
#sokongan.rysa-footer {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
}


/* -------------------------------------------------------------------------
   RYSA SHARED SHELL FIX 1 — isolate the approved header/footer from each
   page's legacy generic body/header/button/anchor rules.
   ------------------------------------------------------------------------- */
body.rysa-page-shell {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip !important;
}

/* Page CSS sometimes styles every <header> as a flex row or adds padding. */
header.rysa-shared-header {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    flex: 0 0 auto !important;
    border-radius: 0 !important;
    text-align: initial !important;
}

header.rysa-shared-header .rysa-shell-wrap.nav {
    box-sizing: border-box !important;
    width: min(100%, 1180px) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
}

/* Legacy page-wide anchor rules must never underline the shared menu. */
header.rysa-shared-header a,
header.rysa-shared-header a:hover,
header.rysa-shared-header a:focus,
header.rysa-shared-header a:focus-visible,
#sokongan.rysa-footer a,
#sokongan.rysa-footer a:hover,
#sokongan.rysa-footer a:focus-visible {
    text-decoration: none !important;
}

/* Header controls: reset generic button rules inherited from Tools/Settings. */
header.rysa-shared-header .mobile-menu-toggle {
    display: none;
    box-sizing: border-box !important;
    width: 43px !important;
    min-width: 43px !important;
    max-width: 43px !important;
    height: 43px !important;
    min-height: 43px !important;
    max-height: 43px !important;
    flex: 0 0 43px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #24475f !important;
    border-radius: 14px !important;
    background: #101a3d !important;
    color: #fff !important;
    box-shadow: none !important;
    line-height: 1 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer;
}
header.rysa-shared-header .mobile-menu-toggle svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
}

/* The close button was missing its own style; generic button rules made it
   render as a white block or a huge full-width X on different pages. */
header.rysa-shared-header .mobile-drawer-close {
    display: flex !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #24475f !important;
    border-radius: 13px !important;
    background: #101a3d !important;
    color: #f7f7ff !important;
    box-shadow: none !important;
    font: inherit !important;
    line-height: 1 !important;
    text-align: center !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
}
header.rysa-shared-header .mobile-drawer-close svg {
    display: block !important;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    flex: 0 0 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
}

/* The nested tools row is a button too: prevent global page button sizing. */
header.rysa-shared-header .links .mobile-tools-menu-toggle {
    display: flex !important;
    box-sizing: border-box !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #dce2fa !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
}
header.rysa-shared-header .links .mobile-tools-menu-toggle:hover,
header.rysa-shared-header .links .mobile-tools-menu-toggle:focus-visible {
    background: linear-gradient(100deg, #113b5a, #162650) !important;
    color: #fff !important;
    outline: none;
}

/* Put back breathing room that used to come from body padding on compact
   informational/auth pages, while keeping the header itself edge-to-edge. */
body.rysa-page-shell > main.card {
    display: block;
    box-sizing: border-box;
    width: calc(100% - 32px) !important;
    margin: 28px auto 38px !important;
}
body.rysa-page-shell > .wrap,
body.rysa-page-shell > main.wrap {
    margin-top: 18px !important;
    margin-bottom: 30px !important;
}

/* Page-level generic footer rules (text-align/margin/padding) must not alter
   the approved footer composition. */
#sokongan.rysa-footer {
    display: block !important;
    box-sizing: border-box !important;
    position: relative !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    margin: 30px 0 0 !important;
    text-align: left !important;
    float: none !important;
}

@media (max-width: 850px) {
    header.rysa-shared-header .mobile-menu-toggle {
        display: flex !important;
        margin: 0 !important;
    }
    header.rysa-shared-header .mobile-drawer-close {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        flex-basis: 42px !important;
    }
}

@media (min-width: 851px) {
    header.rysa-shared-header .mobile-menu-toggle,
    header.rysa-shared-header .mobile-menu-backdrop,
    header.rysa-shared-header .mobile-drawer-close {
        display: none !important;
    }
    header.rysa-shared-header .rysa-shell-wrap.nav {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}


/* Preserve the old content gutters after moving page padding off the body. */
body.rysa-page-account > .container {
    width: calc(100% - 40px) !important;
}
body.rysa-page-settings > .container {
    width: calc(100% - 40px) !important;
}
body.rysa-page-checkout > .wrap {
    width: calc(100% - 26px) !important;
    margin: 18px auto 34px !important;
}
body.rysa-page-auth > main.card {
    width: calc(100% - 40px) !important;
}
body.rysa-page-wallet-return > main.card {
    width: calc(100% - 40px) !important;
}
body.rysa-page-wallet-topup > main.card {
    width: calc(100% - 48px) !important;
}
body.rysa-page-membership-return > main.card {
    width: calc(100% - 48px) !important;
}
body.rysa-page-info > main.card {
    width: calc(100% - 28px) !important;
}
@media (max-width: 760px) {
    body.rysa-page-account > .container {
        width: calc(100% - 20px) !important;
    }
}
@media (max-width: 530px) {
    body.rysa-page-checkout > .wrap {
        width: calc(100% - 20px) !important;
        margin-top: 11px !important;
        margin-bottom: 28px !important;
    }
}


/* Shared Rysa authentication modal, matching the homepage popup. */
/* Rysa Store inline login/register modal: compact, responsive and isolated from existing page styles. */
.rysa-auth-overlay[hidden] { display: none !important; }
.rysa-auth-overlay {
    position: fixed; inset: 0; z-index: 12000;
    display: flex; align-items: center; justify-content: center;
    padding: 16px; background: rgba(3, 5, 18, .78);
    -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
.rysa-auth-dialog {
    position: relative; width: min(100%, 460px); max-height: min(88dvh, 760px);
    overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
    padding: clamp(18px, 4vw, 26px); border-radius: 22px;
    color: #f5f5ff; background: linear-gradient(155deg, #11172f 0%, #090e22 100%);
    border: 1px solid rgba(92, 182, 246, .54);
    box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 34px rgba(56, 143, 201, .12);
}
.rysa-auth-close {
    position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
    display: grid; place-items: center; border-radius: 12px;
    border: 1px solid #2a4e65; background: #151b35; color: #f8f7ff;
    cursor: pointer; font-size: 25px; line-height: 1;
}
.rysa-auth-brand { margin: 0 44px 16px; text-align: center; font-weight: 850; font-size: clamp(22px, 5vw, 29px); letter-spacing: .02em; }
.rysa-auth-brand span { color: #8bcdfa; }
.rysa-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; gap: 4px; border: 1px solid #264255; border-radius: 14px; background: #080d1e; margin: 0 0 18px; }
.rysa-auth-tab { min-height: 42px; border: 0; border-radius: 10px; color: #b9c1dc; background: transparent; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.rysa-auth-tab[aria-selected="true"] { color: #fff; background: linear-gradient(105deg, #2999ef, #216cef); box-shadow: 0 5px 16px rgba(66, 171, 232, .2); }
.rysa-auth-heading { margin: 0 0 5px; text-align: center; font-size: 21px; line-height: 1.25; }
.rysa-auth-description { margin: 0 0 18px; text-align: center; color: #aeb8d6; font-size: 13px; line-height: 1.5; }
.rysa-auth-form label { display: block; margin: 12px 0 6px; color: #d9def4; font-size: 13px; font-weight: 650; }
.rysa-auth-form input { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px; border: 1px solid #33405f; border-radius: 11px; outline: none; background: #070c1d; color: #f8f8ff; font: inherit; font-size: 14px; box-sizing: border-box; }
.rysa-auth-form input:focus { border-color: #5cb6f6; box-shadow: 0 0 0 3px rgba(92, 182, 246,.13); }
.rysa-auth-submit { width: 100%; min-height: 48px; margin-top: 17px; padding: 12px 16px; border: 0; border-radius: 12px; background: linear-gradient(105deg, #2f9ef2, #2475ef); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.rysa-auth-submit:disabled { opacity: .65; cursor: wait; }
.rysa-auth-status { display: none; margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.rysa-auth-status.is-visible { display: block; }
.rysa-auth-status.is-error { color: #ffd0d8; background: #431927; border: 1px solid #773047; }
.rysa-auth-status.is-success { color: #c4ffe6; background: #10372f; border: 1px solid #1d6d58; }
.rysa-auth-switch { margin: 15px 0 0; text-align: center; color: #aeb8d6; font-size: 13px; line-height: 1.5; }
.rysa-auth-switch button { border: 0; padding: 0; color: #a4d9ff; background: none; font: inherit; font-weight: 750; cursor: pointer; }
.rysa-auth-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; color: #8d99bd; font-size: 12px; }
.rysa-auth-divider::before, .rysa-auth-divider::after { content: ""; height: 1px; flex: 1; background: #2d3655; }
.rysa-auth-google-area { position: relative; display: flex; justify-content: center; width: 100%; }
.rysa-auth-google-custom {
    width: 100%; min-height: 52px; margin: 0; padding: 14px 18px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: rgba(255,255,255,.04); color: #fff;
    border: 1px solid rgba(151,170,255,.45); border-radius: 14px;
    font-family: Arial, sans-serif; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.rysa-auth-google-custom:hover {
    background: rgba(92, 191, 255,.16); border-color: #7bcdff;
    box-shadow: 0 0 18px rgba(83,107,255,.22); transform: translateY(-1px);
}
.rysa-auth-google-custom:focus-visible { outline: 2px solid #8bcdfa; outline-offset: 3px; }
.rysa-auth-google-custom img { width: 20px; height: 20px; flex-shrink: 0; }
.rysa-auth-google-signin { display: none !important; }
body.rysa-auth-open { overflow: hidden; }
@media (max-width: 480px) {
    .rysa-auth-overlay { padding: 10px; align-items: center; }
    .rysa-auth-dialog { width: 100%; max-height: 88dvh; padding: 17px; border-radius: 18px; }
    .rysa-auth-brand { margin-bottom: 13px; }
    .rysa-auth-tabs { margin-bottom: 14px; }
    .rysa-auth-heading { font-size: 19px; }
    .rysa-auth-description { margin-bottom: 12px; }
    .rysa-auth-form label { margin-top: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
    .rysa-auth-dialog { animation: rysaAuthDialogIn .16s ease-out; }
    @keyframes rysaAuthDialogIn { from { opacity: 0; transform: translateY(7px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
}


/* Shared Rysa Wallet top-up popup. */
.rysa-wallet-overlay[hidden] { display: none !important; }
.rysa-wallet-overlay {
    position: fixed; inset: 0; z-index: 12010; display: flex;
    align-items: center; justify-content: center; padding: 16px;
    background: rgba(3, 5, 18, .80); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
.rysa-wallet-dialog {
    position: relative; width: min(100%, 460px); max-height: min(88dvh, 760px);
    overflow: auto; overscroll-behavior: contain; padding: clamp(20px, 4vw, 28px);
    border: 1px solid rgba(92, 182, 246, .54); border-radius: 22px;
    color: #f5f5ff; background: linear-gradient(155deg, #11172f 0%, #090e22 100%);
    box-shadow: 0 24px 80px rgba(0,0,0,.5), 0 0 34px rgba(56, 143, 201,.12);
}
.rysa-wallet-close {
    position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
    display: grid; place-items: center; border: 1px solid #2a4e65; border-radius: 12px;
    background: #151b35; color: #f8f7ff; cursor: pointer; font-size: 25px; line-height: 1;
}
.rysa-wallet-brand { margin: 0 46px 8px 0; color: #f5f5ff; font-size: 13px; font-weight: 850; letter-spacing: .12em; }
.rysa-wallet-brand span { color: #8bcdfa; }
.rysa-wallet-dialog h2 { margin: 0 44px 12px 0; color: #f5f5ff; font-size: clamp(21px, 4.5vw, 26px); line-height: 1.2; }
.rysa-wallet-info, .rysa-wallet-note { color: #b8c0df; font-size: 13px; line-height: 1.7; }
.rysa-wallet-info { margin: 0 0 16px; padding: 12px 14px; border: 1px solid #30365a; border-radius: 12px; background: rgba(8,13,30,.62); }
.rysa-wallet-form label { display: block; margin: 14px 0 7px; color: #d9def4; font-size: 13px; font-weight: 700; }
.rysa-wallet-form input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #33405f; border-radius: 11px; outline: none; background: #070c1d; color: #f8f8ff; font: inherit; font-size: 15px; box-sizing: border-box; }
.rysa-wallet-form input:focus { border-color: #5cb6f6; box-shadow: 0 0 0 3px rgba(92, 182, 246,.13); }
.rysa-wallet-submit { width: 100%; min-height: 49px; margin-top: 20px; padding: 12px 16px; border: 0; border-radius: 12px; background: linear-gradient(105deg,#2f9ef2,#2475ef); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.rysa-wallet-submit:disabled { opacity: .65; cursor: wait; }
.rysa-wallet-status { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.rysa-wallet-status[hidden] { display: none !important; }
.rysa-wallet-status.is-error { color: #ffd0d8; background: #431927; border: 1px solid #773047; }
.rysa-wallet-status.is-success { color: #c4ffe6; background: #10372f; border: 1px solid #1d6d58; }
.rysa-wallet-note { margin: 14px 0 0; }
body.rysa-wallet-open { overflow: hidden; }
@media (max-width: 480px) {
    .rysa-wallet-overlay { padding: 10px; }
    .rysa-wallet-dialog { width: 100%; max-height: 88dvh; padding: 18px; border-radius: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
    .rysa-wallet-dialog { animation: rysaWalletDialogIn .16s ease-out; }
    @keyframes rysaWalletDialogIn { from { opacity: 0; transform: translateY(7px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
}


/* RYSA MOBILE TAP POLISH — remove browser tap/selection flashes from interactive UI. */
html,
html * {
    -webkit-tap-highlight-color: transparent !important;
}
a,
button,
[role="button"],
[role="tab"],
summary,
.product,
.product-filter,
.catalog-option,
.quantity-picker-button,
.catalog-game-section .card,
.catalog-game-section .thumb,
a *,
button *,
[role="button"] *,
[role="tab"] *,
.product *,
.product-filter *,
.catalog-option * {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
/* Text fields must remain selectable/editable for normal customer input. */
input,
textarea,
select,
[contenteditable="true"] {
    -webkit-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default;
}

/* Footer layout approved for mobile-first Rysa Store: no Quick Links column. */
#sokongan .rysa-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}
#sokongan .rysa-footer-brand,
#sokongan .rysa-footer-whatsapp,
#sokongan .rysa-footer-lower,
#sokongan .rysa-footer-bottom { grid-column: 1 / -1; min-width: 0; }
#sokongan .rysa-footer-lower {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 18px 24px;
    min-width: 0;
}
#sokongan .rysa-footer-support-info { min-width: 0; }
#sokongan .rysa-footer-payment-card {
    display: block;
    height: 100%;
    margin: 0;
    padding: 18px;
    align-self: center;
}
#sokongan .rysa-footer-payment-icon {
    width: 48px;
    height: 48px;
    margin: 0 0 14px;
}
#sokongan .rysa-footer-payment-icon svg { width: 27px; height: 27px; }
#sokongan .rysa-footer-payment-copy strong { font-size: 12px; }
#sokongan .rysa-footer-payment-copy p { font-size: 14px; }
#sokongan .rysa-footer-wa-icon {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    animation: none !important;
}
#sokongan .rysa-footer-wa-icon::after { display: none; }
#sokongan .rysa-footer-wa-fallback {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
#sokongan .rysa-footer-wa-fallback svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
#sokongan .rysa-footer-wa-icon.is-lottie-ready .rysa-footer-wa-fallback { display: none; }
#sokongan .rysa-footer-wa-icon > svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
}
@media (max-width: 600px) {
    #sokongan .rysa-footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    #sokongan .rysa-footer-lower {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
        gap: 14px;
    }
    #sokongan .rysa-footer-payment-card { display: block; margin: 0; padding: 12px; }
    #sokongan .rysa-footer-payment-icon { width: 38px; height: 38px; margin-bottom: 10px; }
    #sokongan .rysa-footer-payment-icon svg { width: 22px; height: 22px; }
    #sokongan .rysa-footer-payment-copy strong { font-size: 10px; }
    #sokongan .rysa-footer-payment-copy p { font-size: 11px; }
    #sokongan .rysa-footer-wa-icon { flex-basis: 58px; width: 58px; height: 58px; }
}
@media (max-width: 360px) {
    #sokongan .rysa-footer-lower { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    #sokongan .rysa-footer-payment-card { display: flex; align-items: center; gap: 12px; height: auto; }
    #sokongan .rysa-footer-payment-icon { flex: 0 0 38px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
    #sokongan .rysa-footer-wa-icon > svg { animation: none !important; }
}


/* RYSA new symbol-only logo — overrides legacy wordmark dimensions. */
header.rysa-shared-header .logo { width:56px; height:56px; gap:0; justify-content:flex-start; }
header.rysa-shared-header .logo-mark { display:block; width:54px !important; height:54px !important; max-width:none; object-fit:contain; }
.rysa-logo-symbol { display:block; width:92px; height:92px; max-width:100%; object-fit:contain; }
#sokongan .rysa-footer-brand > p { margin:10px 0 0; }
@media (max-width:600px) {
  header.rysa-shared-header .logo { width:50px; height:50px; }
  header.rysa-shared-header .logo-mark { width:48px !important; height:48px !important; }
  .rysa-logo-symbol { width:82px; height:82px; }
}

/* Login/register modal brand now uses the official symbol-only mark. */
.rysa-auth-brand { display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:0; line-height:0; }
.rysa-auth-brand img { display:block; width:84px; height:84px; object-fit:contain; }


/* Gold membership progress in the mobile account drawer */
header.rysa-shared-header .mobile-drawer-gold-progress,
header.rysa-shared-header .mobile-drawer-gold-unlocked { display:none; }
@media (max-width:850px) {
  header.rysa-shared-header .mobile-drawer-gold-progress {
    display:block; flex:0 0 auto; min-width:0; margin:0 0 8px; padding:9px 10px 8px;
    border:1px solid rgba(215,174,66,.86); border-radius:13px;
    background:linear-gradient(145deg,rgba(19,35,67,.98),rgba(9,19,43,.98));
    box-shadow:0 0 12px rgba(216,171,52,.10),inset 0 0 18px rgba(34,103,173,.08);
  }
  header.rysa-shared-header .drawer-gold-progress-top {display:flex;align-items:center;gap:8px;min-width:0;}
  header.rysa-shared-header .drawer-gold-progress-icon {display:flex;align-items:center;justify-content:center;width:29px;height:29px;flex:0 0 29px;border-radius:9px;background:linear-gradient(145deg,#8f6b27,#594018);color:#ffe08a;}
  header.rysa-shared-header .drawer-gold-progress-icon svg {width:18px;height:18px;}
  header.rysa-shared-header .drawer-gold-progress-top > strong {min-width:0;flex:1 1 auto;color:#f5f7ff;font-size:12px;font-weight:800;line-height:1.2;}
  header.rysa-shared-header .drawer-gold-progress-badge {flex:0 0 auto;padding:4px 7px;border:1px solid #248dca;border-radius:999px;background:#0d5c94;color:#e1f5ff;font-size:8px;font-weight:850;white-space:nowrap;}
  header.rysa-shared-header .drawer-gold-progress-values {display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:7px 1px 5px;}
  header.rysa-shared-header .drawer-gold-progress-values strong {color:#f7f9ff;font-size:20px;font-weight:900;line-height:1.1;letter-spacing:.1px;}
  header.rysa-shared-header .drawer-gold-progress-values > span {color:#2bb8ff;font-size:19px;font-weight:900;line-height:1.1;}
  header.rysa-shared-header .drawer-gold-progress-track {height:7px;overflow:hidden;border-radius:999px;background:#293953;}
  header.rysa-shared-header .drawer-gold-progress-track > span {display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#13b8ed,#3199f1);transition:width .35s ease;}
  header.rysa-shared-header .drawer-gold-progress-bottom {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;}
  header.rysa-shared-header .drawer-gold-progress-bottom > span {min-width:0;color:#c7d3e8;font-size:9px;line-height:1.35;}
  header.rysa-shared-header .drawer-gold-progress-bottom > a {display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;color:#28b7ff;font-size:10px;font-weight:850;white-space:nowrap;}
  header.rysa-shared-header .mobile-drawer-gold-unlocked {
    display:block;flex:0 0 auto;min-width:0;margin:0 0 8px;padding:10px 11px;
    border:1px solid rgba(215,174,66,.82);border-radius:13px;
    background:linear-gradient(145deg,rgba(34,35,54,.98),rgba(11,21,43,.98));
    box-shadow:0 0 12px rgba(216,171,52,.08);
  }
  header.rysa-shared-header .drawer-gold-unlocked-heading {display:flex;align-items:center;gap:7px;min-width:0;}
  header.rysa-shared-header .drawer-gold-unlocked-icon {display:flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px;border-radius:9px;background:#72551f;color:#ffe18b;font-size:19px;}
  header.rysa-shared-header .drawer-gold-unlocked-heading > strong {flex:1 1 auto;color:#f9dda0;font-size:11px;font-weight:900;line-height:1.2;}
  header.rysa-shared-header .drawer-gold-unlocked-badge {padding:4px 6px;border:1px solid #b58b37;border-radius:999px;color:#f4d68e;font-size:8px;font-weight:850;white-space:nowrap;}
  header.rysa-shared-header .mobile-drawer-gold-unlocked p {margin:7px 0 5px;color:#ccd6e8;font-size:10px;line-height:1.4;}
  header.rysa-shared-header .mobile-drawer-gold-unlocked > a {display:inline-flex;align-items:center;gap:4px;color:#35baff;font-size:10px;font-weight:850;}
}
@media (max-width:420px) and (max-height:780px) {
  header.rysa-shared-header .mobile-drawer-gold-progress,
  header.rysa-shared-header .mobile-drawer-gold-unlocked {margin-bottom:5px;padding:7px 8px;}
  header.rysa-shared-header .drawer-gold-progress-values {margin-top:5px;margin-bottom:4px;}
  header.rysa-shared-header .drawer-gold-progress-values strong {font-size:18px;}
  header.rysa-shared-header .drawer-gold-progress-values > span {font-size:17px;}
  header.rysa-shared-header .drawer-gold-progress-bottom {margin-top:5px;}
}

/* One-time Gold / Platinum membership congratulations popup. */
body.rysa-gold-popup-open {overflow:hidden;}
.rysa-gold-celebration-overlay[hidden] {display:none !important;}
.rysa-gold-celebration-overlay {position:fixed;inset:0;z-index:100500;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:18px;background:rgba(2,6,18,.82);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);}
.rysa-gold-celebration-dialog {position:relative;z-index:1;width:min(100%,460px);max-height:min(90dvh,720px);overflow:auto;box-sizing:border-box;padding:22px 22px 22px;border:1px solid #c5a14f;border-radius:23px;background:linear-gradient(155deg,#13213e 0%,#0c1730 100%);box-shadow:0 22px 70px rgba(0,0,0,.55),0 0 24px rgba(222,179,79,.12);color:#f6f8ff;text-align:center;animation:rysa-gold-popup-in .42s cubic-bezier(.2,.85,.25,1) both;}
.rysa-gold-celebration-close {position:absolute;top:10px;right:12px;width:34px;height:34px;border:1px solid #314b6a;border-radius:50%;background:#142744;color:#dceaff;font-size:23px;line-height:1;cursor:pointer;}
.rysa-membership-celebration-logo {display:block;width:48px;height:48px;object-fit:contain;margin:0 auto 5px;}
.rysa-gold-celebration-crown {margin:0 auto 8px;font-size:43px;line-height:1.2;filter:drop-shadow(0 3px 8px rgba(239,190,79,.24));}
.rysa-gold-celebration-eyebrow {display:inline-block;margin:0 auto 11px;padding:6px 12px;border:1px solid rgba(210,157,66,.38);border-radius:999px;background:rgba(126,74,29,.22);color:#f0b16b;font-size:10px;font-weight:900;letter-spacing:.8px;}
.rysa-gold-celebration-dialog h2 {margin:0 0 12px;color:#f5d27d;font-size:clamp(25px,7vw,32px);font-weight:900;line-height:1.15;}
.rysa-gold-celebration-lead {margin:0 0 11px;color:#fff;font-size:15px;font-weight:850;line-height:1.45;}
.rysa-gold-celebration-copy {margin:0 auto 16px;max-width:360px;color:#cbd6e9;font-size:13px;line-height:1.55;}
.rysa-gold-celebration-member {display:flex;flex-direction:column;gap:5px;margin:0 0 14px;padding:16px 12px;border-radius:15px;background:#202d45;}
.rysa-gold-celebration-member strong {color:#f1cf78;font-size:22px;font-weight:900;}
.rysa-gold-celebration-member span {color:#cbd6e9;font-size:11px;}
.rysa-gold-celebration-note {margin:0 auto 17px;max-width:360px;color:#cbd6e9;font-size:12px;line-height:1.5;}
.rysa-gold-celebration-action {display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 16px;border-radius:13px;background:linear-gradient(100deg,#e9ad2f,#ffdc76);color:#171d2c !important;font-size:14px;font-weight:900;letter-spacing:.25px;text-align:center;box-shadow:0 8px 22px rgba(194,137,31,.24);}
.rysa-gold-celebration-overlay.is-platinum .rysa-gold-celebration-dialog {border-color:#6b9fff;background:linear-gradient(155deg,#14234a 0%,#0b1532 100%);box-shadow:0 22px 70px rgba(0,0,0,.55),0 0 28px rgba(70,142,255,.22);}
.rysa-gold-celebration-overlay.is-platinum .rysa-gold-celebration-crown {filter:hue-rotate(190deg) saturate(1.2) drop-shadow(0 3px 8px rgba(106,164,255,.32));}
.rysa-gold-celebration-overlay.is-platinum .rysa-gold-celebration-eyebrow {border-color:rgba(93,160,255,.45);background:rgba(32,91,166,.24);color:#9dccff;}
.rysa-gold-celebration-overlay.is-platinum .rysa-gold-celebration-dialog h2 {color:#b9d9ff;}
.rysa-gold-celebration-overlay.is-platinum .rysa-gold-celebration-member {background:#1b2b4c;border:1px solid rgba(100,151,230,.25);}
.rysa-gold-celebration-overlay.is-platinum .rysa-gold-celebration-member strong {color:#9ecbff;}
.rysa-gold-celebration-overlay.is-platinum .rysa-gold-celebration-action {background:linear-gradient(100deg,#1688f0,#1559d8);color:#fff !important;box-shadow:0 8px 22px rgba(16,115,208,.28);}
@keyframes rysa-gold-popup-in {from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}

/* Full-viewport falling confetti, following the Starlight Giveaway treatment. */
.rysa-membership-confetti-layer {position:fixed;inset:0;z-index:100510;overflow:hidden;pointer-events:none;}
.rysa-membership-confetti-piece {position:absolute;top:-18px;width:8px;height:13px;opacity:0;border-radius:2px;animation:rysaMembershipConfettiFall 2.8s ease-in forwards;}
@keyframes rysaMembershipConfettiFall {0%{transform:translate3d(0,-15px,0) rotate(0deg);opacity:0}12%{opacity:1}100%{transform:translate3d(var(--drift,20px),105vh,0) rotate(740deg);opacity:0}}
@media (max-width:420px) {.rysa-gold-celebration-overlay{padding:12px}.rysa-gold-celebration-dialog{padding:20px 16px 16px;border-radius:19px}.rysa-gold-celebration-crown{font-size:37px}.rysa-gold-celebration-member{padding:13px 10px}.rysa-membership-celebration-logo{width:42px;height:42px}}
@media (prefers-reduced-motion:reduce) {.rysa-gold-celebration-dialog{animation:none}.drawer-gold-progress-track>span{transition:none}.rysa-membership-confetti-piece{animation:none !important;display:none !important}}


/* Rysa Store profile frame preview: the 512px PNG has a circular aperture of ~378px.
   A 136% overlay keeps that aperture aligned with the customer's circular avatar. */
.rysa-avatar-frame-wrap{position:relative!important;overflow:visible!important;isolation:isolate;}
.rysa-avatar-frame-overlay{position:absolute!important;left:-18%!important;top:-18%!important;width:136%!important;height:136%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;display:block!important;z-index:5!important;pointer-events:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;}


/* Membership profile-frame effects.
   Gold receives a polished shine pulse; Platinum receives a luminous glow plus shine. */
img[src*="/membership-gold.png"] {
    animation: rysaGoldFrameShine 4.2s ease-in-out infinite;
    transform-origin: center;
    will-change: filter;
}
img[src*="/membership-platinum.png"] {
    animation: rysaPlatinumFrameGlowShine 3.6s ease-in-out infinite;
    transform-origin: center;
    will-change: filter;
}
@keyframes rysaGoldFrameShine {
    0%, 100% { filter: brightness(1) saturate(1); }
    42% { filter: brightness(1.10) saturate(1.12); }
    56% { filter: brightness(1.24) saturate(1.2); }
    70% { filter: brightness(1.08) saturate(1.08); }
}
@keyframes rysaPlatinumFrameGlowShine {
    0%, 100% {
        filter: brightness(1.02) saturate(1.08)
            drop-shadow(0 0 5px rgba(75, 183, 255, .48))
            drop-shadow(0 0 10px rgba(145, 103, 255, .25));
    }
    42% {
        filter: brightness(1.14) saturate(1.22)
            drop-shadow(0 0 8px rgba(76, 196, 255, .72))
            drop-shadow(0 0 17px rgba(149, 110, 255, .50));
    }
    58% {
        filter: brightness(1.30) saturate(1.28)
            drop-shadow(0 0 12px rgba(95, 218, 255, .92))
            drop-shadow(0 0 23px rgba(164, 119, 255, .72));
    }
    74% {
        filter: brightness(1.12) saturate(1.16)
            drop-shadow(0 0 7px rgba(76, 196, 255, .62))
            drop-shadow(0 0 13px rgba(149, 110, 255, .38));
    }
}
@media (prefers-reduced-motion: reduce) {
    img[src*="/membership-gold.png"],
    img[src*="/membership-platinum.png"] { animation: none !important; }
}

/* -------------------------------------------------------------------------
   RYSA SHARED SHELL v20261119 — one navigation system for desktop and mobile.
   This block intentionally comes last to neutralise legacy per-page header rules.
   ------------------------------------------------------------------------- */
html { scrollbar-gutter: stable; }
header.rysa-shared-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 500 !important;
    height: auto !important;
    min-height: 78px !important;
    overflow: visible !important;
    border-bottom: 1px solid #1b2d50 !important;
    background: #070b19 !important;
    box-shadow: 0 8px 26px rgba(0,0,0,.18) !important;
}
header.rysa-shared-header > .rysa-shell-wrap.nav {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 46px 46px 48px !important;
    grid-template-rows: 78px !important;
    align-items: center !important;
    gap: 11px !important;
    width: 100% !important;
    height: 78px !important;
    min-height: 78px !important;
    max-width: 1224px !important;
    margin: 0 auto !important;
    padding: 0 22px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    transform: none !important;
    transition: none !important;
}
header.rysa-shared-header .logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: 0 !important;
    min-width: 0 !important;
    justify-self: start !important;
    margin: 0 !important;
}
header.rysa-shared-header .logo-mark { width: 42px !important; height: 42px !important; }
header.rysa-shared-header .search-wrap {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 46px !important;
    overflow: visible !important;
}
header.rysa-shared-header .search-icon-trigger,
header.rysa-shared-header .mobile-menu-toggle {
    display: inline-flex !important;
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    flex: 0 0 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #29466b !important;
    border-radius: 14px !important;
    background: #101a36 !important;
    color: #eaf5ff !important;
    box-shadow: 0 5px 16px rgba(0,0,0,.18) !important;
    cursor: pointer !important;
    transform: none !important;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}
header.rysa-shared-header .search-icon-trigger:hover,
header.rysa-shared-header .search-icon-trigger:focus-visible,
header.rysa-shared-header .mobile-menu-toggle:hover,
header.rysa-shared-header .mobile-menu-toggle:focus-visible,
header.rysa-shared-header .mobile-menu-toggle[aria-expanded="true"] {
    border-color: #58b8f4 !important;
    background: #13294b !important;
    box-shadow: 0 0 0 3px rgba(68,176,255,.10) !important;
    outline: none !important;
}
header.rysa-shared-header .search-icon-trigger svg { display:block !important; width:22px !important; height:22px !important; }
header.rysa-shared-header .mobile-menu-toggle svg { display:block !important; width:22px !important; height:22px !important; }
header.rysa-shared-header .mobile-menu-toggle .mobile-menu-icon { display:none !important; }
header.rysa-shared-header .mobile-menu-toggle .desktop-menu-icon { display:block !important; }
header.rysa-shared-header .profile {
    position: relative !important;
    grid-column: 4 !important;
    grid-row: 1 !important;
    order: 0 !important;
    display: block !important;
    justify-self: end !important;
    width: 48px !important;
    min-width: 48px !important;
    margin: 0 !important;
    flex: 0 0 48px !important;
}
header.rysa-shared-header .profile-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    min-height: 46px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 1px solid #29466b !important;
    border-radius: 50% !important;
    background: #101a36 !important;
    color: #eef7ff !important;
    box-shadow: 0 5px 16px rgba(0,0,0,.18) !important;
}
header.rysa-shared-header .profile-trigger > svg { width:22px !important; height:22px !important; }
header.rysa-shared-header .profile-trigger-avatar-wrap {
    position: relative !important;
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    overflow: visible !important;
}
header.rysa-shared-header .profile-trigger-avatar {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border: 1px solid #5aaee8 !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg,#247eb7,#1a3c71) !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
}
header.rysa-shared-header .profile-trigger-avatar img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    object-fit:cover !important;
    border-radius:50% !important;
}
header.rysa-shared-header .profile-menu { z-index: 510 !important; }

/* Desktop: grid popup, anchored to the menu icon without pushing page content. */
@media (min-width: 851px) {
    header.rysa-shared-header .mobile-menu-backdrop { display:none !important; }
    header.rysa-shared-header .links {
        position: absolute !important;
        top: calc(100% - 1px) !important;
        right: 22px !important;
        left: auto !important;
        z-index: 505 !important;
        display: grid !important;
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        grid-auto-rows: minmax(52px,auto) !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        gap: 8px !important;
        width: min(660px,calc(100vw - 44px)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 28px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: min(76vh,680px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 15px !important;
        margin: 0 !important;
        border: 1px solid #2b4a70 !important;
        border-radius: 18px !important;
        background: #080f22 !important;
        box-shadow: 0 24px 58px rgba(0,0,0,.48) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(8px) scale(.985) !important;
        transform-origin: top right !important;
        transition: opacity .17s ease, transform .17s ease, visibility .17s ease !important;
        white-space: normal !important;
    }
    header.rysa-shared-header .links.desktop-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) scale(1) !important;
    }
    header.rysa-shared-header .mobile-drawer-head,
    header.rysa-shared-header .mobile-drawer-wallet,
    header.rysa-shared-header .mobile-drawer-gold-progress,
    header.rysa-shared-header .mobile-drawer-gold-unlocked,
    header.rysa-shared-header .mobile-drawer-account-links,
    header.rysa-shared-header .mobile-drawer-section-label,
    header.rysa-shared-header .mobile-drawer-close,
    header.rysa-shared-header .links .mobile-link-arrow { display:none !important; }
    header.rysa-shared-header .links > a.mobile-store-link {
        display:flex !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:10px !important;
        min-width:0 !important;
        min-height:49px !important;
        height:auto !important;
        padding:10px 11px !important;
        margin:0 !important;
        border:1px solid #1d3151 !important;
        border-radius:12px !important;
        background:#0d1730 !important;
        color:#e2eaff !important;
        font-size:13px !important;
        font-weight:650 !important;
        line-height:1.25 !important;
        text-align:left !important;
        white-space:normal !important;
        box-shadow:none !important;
        transition:background .16s ease,border-color .16s ease,color .16s ease !important;
    }
    header.rysa-shared-header .links > a.mobile-store-link .mobile-nav-icon {
        display:block !important;
        width:19px !important;
        height:19px !important;
        flex:0 0 19px !important;
        color:#9ad6ff !important;
        stroke:currentColor !important;
    }
    header.rysa-shared-header .links > a.mobile-store-link::after { display:none !important; }
    header.rysa-shared-header .links > a.mobile-store-link:hover,
    header.rysa-shared-header .links > a.mobile-store-link:focus-visible,
    header.rysa-shared-header .links > a.mobile-store-link.active {
        border-color:#397eae !important;
        background:#12294a !important;
        color:#fff !important;
        outline:none !important;
    }
    header.rysa-shared-header .mobile-tools-dropdown {
        display:flex !important;
        flex-direction:column !important;
        align-items:stretch !important;
        min-width:0 !important;
        width:100% !important;
        margin:0 !important;
        padding:0 !important;
        border:1px solid #1d3151 !important;
        border-radius:12px !important;
        background:#0d1730 !important;
    }
    header.rysa-shared-header .mobile-tools-menu-toggle {
        display:flex !important;
        align-items:center !important;
        justify-content:flex-start !important;
        gap:10px !important;
        width:100% !important;
        min-height:49px !important;
        padding:10px 11px !important;
        border:0 !important;
        border-radius:11px !important;
        background:transparent !important;
        color:#e2eaff !important;
        font-size:13px !important;
        font-weight:650 !important;
        line-height:1.25 !important;
    }
    header.rysa-shared-header .mobile-tools-menu-toggle .mobile-nav-icon { display:block !important; width:19px !important; height:19px !important; flex:0 0 19px !important; color:#9ad6ff !important; }
    header.rysa-shared-header .mobile-tools-menu-toggle .mobile-tools-chevron { margin-left:auto !important; transform:rotate(90deg); transition:transform .17s ease; }
    header.rysa-shared-header .mobile-tools-dropdown.is-open > .mobile-tools-menu-toggle { background:#12294a !important; color:#fff !important; }
    header.rysa-shared-header .mobile-tools-dropdown.is-open > .mobile-tools-menu-toggle .mobile-tools-chevron { transform:rotate(-90deg); }
    header.rysa-shared-header .mobile-tools-submenu {
        position:static !important;
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:4px !important;
        min-width:0 !important;
        max-width:none !important;
        margin:0 7px 7px !important;
        padding:6px !important;
        border:1px solid #20385c !important;
        border-radius:9px !important;
        background:#091329 !important;
        box-shadow:none !important;
    }
    header.rysa-shared-header .mobile-tools-submenu[hidden] { display:none !important; }
    header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link {
        display:flex !important;
        align-items:center !important;
        min-height:36px !important;
        gap:9px !important;
        padding:7px 8px !important;
        border-radius:7px !important;
        color:#cddcf3 !important;
        font-size:12px !important;
        font-weight:600 !important;
        text-decoration:none !important;
    }
    header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link svg { display:block !important; width:17px !important; height:17px !important; flex:0 0 17px !important; color:#9ad6ff !important; }
    header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link:hover,
    header.rysa-shared-header .mobile-tools-submenu a.mobile-tools-sub-link.active { background:#132c4d !important; color:#fff !important; }
}

/* Mobile: retain the familiar drawer, but use the shared icon-only search and menu. */
@media (max-width: 850px) {
    header.rysa-shared-header { min-height:68px !important; }
    header.rysa-shared-header > .rysa-shell-wrap.nav {
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        justify-content:space-between !important;
        gap:9px !important;
        width:100% !important;
        height:auto !important;
        min-height:68px !important;
        padding:9px 15px !important;
    }
    header.rysa-shared-header .logo { order:1 !important; flex:0 0 auto !important; }
    header.rysa-shared-header .logo-mark { width:39px !important; height:39px !important; }
    header.rysa-shared-header .search-wrap { order:2 !important; margin-left:auto !important; }
    header.rysa-shared-header .mobile-menu-toggle { order:3 !important; display:inline-flex !important; }
    header.rysa-shared-header .mobile-menu-toggle .desktop-menu-icon { display:none !important; }
    header.rysa-shared-header .mobile-menu-toggle .mobile-menu-icon { display:block !important; }
    header.rysa-shared-header .profile { display:none !important; }
    header.rysa-shared-header .mobile-menu-backdrop {
        display:block !important;
        position:fixed !important;
        inset:0 !important;
        z-index:600 !important;
        width:100% !important;
        height:100% !important;
        padding:0 !important;
        margin:0 !important;
        border:0 !important;
        border-radius:0 !important;
        background:rgba(2,5,16,.72) !important;
        -webkit-backdrop-filter:blur(4px) !important;
        backdrop-filter:blur(4px) !important;
        opacity:0 !important;
        visibility:hidden !important;
        pointer-events:none !important;
        transition:opacity .22s ease,visibility .22s ease !important;
    }
    header.rysa-shared-header .mobile-menu-backdrop.open { opacity:1 !important; visibility:visible !important; pointer-events:auto !important; }
    header.rysa-shared-header .links {
        position:fixed !important;
        top:0 !important;
        right:0 !important;
        bottom:0 !important;
        left:auto !important;
        z-index:601 !important;
        display:flex !important;
        flex-direction:column !important;
        align-items:stretch !important;
        justify-content:flex-start !important;
        gap:4px !important;
        width:min(88vw,420px) !important;
        max-width:100vw !important;
        height:100vh !important;
        height:100dvh !important;
        min-height:0 !important;
        max-height:none !important;
        margin:0 !important;
        padding:18px 15px 26px !important;
        overflow-x:hidden !important;
        overflow-y:auto !important;
        overscroll-behavior:contain !important;
        -webkit-overflow-scrolling:touch !important;
        border:1px solid #244256 !important;
        border-right:0 !important;
        border-radius:19px 0 0 19px !important;
        background:#080f22 !important;
        box-shadow:-18px 0 55px rgba(0,0,0,.46) !important;
        opacity:1 !important;
        visibility:hidden !important;
        pointer-events:none !important;
        transform:translateX(105%) !important;
        transition:transform .28s cubic-bezier(.22,.8,.25,1),visibility .28s ease !important;
        white-space:normal !important;
    }
    header.rysa-shared-header .links.mobile-open {
        visibility:visible !important;
        pointer-events:auto !important;
        transform:translateX(0) !important;
    }
    header.rysa-shared-header .mobile-drawer-head { display:flex !important; align-items:flex-start !important; justify-content:space-between !important; gap:10px !important; padding:0 0 13px !important; margin:0 0 9px !important; border-bottom:1px solid #253a59 !important; flex:0 0 auto !important; }
    header.rysa-shared-header .mobile-drawer-close { display:flex !important; align-items:center !important; justify-content:center !important; width:40px !important; min-width:40px !important; height:40px !important; min-height:40px !important; padding:0 !important; border:1px solid #29466b !important; border-radius:11px !important; background:#101a36 !important; color:#fff !important; }
    header.rysa-shared-header .mobile-drawer-wallet,
    header.rysa-shared-header .mobile-drawer-account-links,
    header.rysa-shared-header .mobile-drawer-section-label,
    header.rysa-shared-header .mobile-nav-icon,
    header.rysa-shared-header .mobile-link-arrow { display:block; }
    header.rysa-shared-header .mobile-drawer-wallet { display:block !important; }
    header.rysa-shared-header .mobile-drawer-account-links { display:flex !important; }
    header.rysa-shared-header .mobile-drawer-section-label { display:block !important; }
    header.rysa-shared-header .links > a.mobile-store-link { display:flex !important; }
    header.rysa-shared-header .links .mobile-tools-dropdown { display:block !important; width:100% !important; }
    header.rysa-shared-header .links .mobile-tools-submenu { position:relative !important; top:auto !important; left:auto !important; min-width:0 !important; max-width:none !important; margin:3px 0 5px !important; }
    header.rysa-shared-header .links .mobile-tools-submenu[hidden] { display:none !important; }
    body.mobile-menu-open { overflow:hidden !important; }
}

/* Search is a centred, lightweight popup on both form factors. */
header.rysa-shared-header .rysa-search-overlay[hidden] { display:none !important; }
header.rysa-shared-header .rysa-search-overlay {
    position:fixed !important;
    inset:0 !important;
    z-index:1200 !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:center !important;
    padding:clamp(76px,12vh,130px) 18px 24px !important;
    box-sizing:border-box !important;
    background:rgba(2,5,16,.76) !important;
    -webkit-backdrop-filter:blur(7px) !important;
    backdrop-filter:blur(7px) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transition:opacity .18s ease,visibility .18s ease !important;
}
header.rysa-shared-header .rysa-search-overlay.is-open { opacity:1 !important; visibility:visible !important; pointer-events:auto !important; }
header.rysa-shared-header .rysa-search-dialog {
    width:min(560px,100%) !important;
    max-height:min(72vh,650px) !important;
    padding:20px !important;
    overflow:hidden !important;
    border:1px solid #31547b !important;
    border-radius:20px !important;
    background:#080f22 !important;
    box-shadow:0 28px 80px rgba(0,0,0,.58) !important;
    color:#f3f7ff !important;
    transform:translateY(10px) scale(.985) !important;
    transition:transform .18s ease !important;
}
header.rysa-shared-header .rysa-search-overlay.is-open .rysa-search-dialog { transform:translateY(0) scale(1) !important; }
header.rysa-shared-header .rysa-search-dialog-head { display:flex !important; align-items:center !important; justify-content:space-between !important; gap:12px !important; margin:0 0 15px !important; }
header.rysa-shared-header .rysa-search-eyebrow { display:block !important; margin:0 0 4px !important; color:#82caff !important; font-size:9px !important; font-weight:850 !important; letter-spacing:1.6px !important; }
header.rysa-shared-header .rysa-search-dialog-head h2 { margin:0 !important; color:#f3f7ff !important; font-size:22px !important; font-weight:800 !important; line-height:1.2 !important; }
header.rysa-shared-header .rysa-search-close { display:flex !important; align-items:center !important; justify-content:center !important; width:38px !important; height:38px !important; border:1px solid #29466b !important; border-radius:11px !important; background:#101a36 !important; color:#fff !important; font-size:25px !important; line-height:1 !important; cursor:pointer !important; }
header.rysa-shared-header .rysa-search-field { display:flex !important; align-items:center !important; gap:10px !important; min-height:50px !important; padding:0 14px !important; border:1px solid #31547b !important; border-radius:14px !important; background:#101a36 !important; }
header.rysa-shared-header .rysa-search-field:focus-within { border-color:#62bfff !important; box-shadow:0 0 0 3px rgba(74,173,244,.13) !important; }
header.rysa-shared-header .rysa-search-field > svg { display:block !important; width:21px !important; height:21px !important; flex:0 0 21px !important; color:#9bcfff !important; }
header.rysa-shared-header .rysa-search-input { display:block !important; width:100% !important; min-width:0 !important; height:48px !important; margin:0 !important; padding:0 !important; border:0 !important; outline:none !important; background:transparent !important; box-shadow:none !important; color:#f6f8ff !important; font:inherit !important; font-size:15px !important; }
header.rysa-shared-header .rysa-search-input::placeholder { color:#8998b7 !important; }
header.rysa-shared-header .search-results { position:relative !important; top:auto !important; left:auto !important; right:auto !important; z-index:1 !important; display:block !important; max-height:min(42vh,380px) !important; margin:11px 0 0 !important; overflow-y:auto !important; border:1px solid #1d3455 !important; border-radius:13px !important; background:#0a1429 !important; box-shadow:none !important; }
header.rysa-shared-header .search-results[hidden] { display:none !important; }
header.rysa-shared-header .search-results [data-game] { display:flex !important; align-items:center !important; width:100% !important; min-height:46px !important; padding:11px 13px !important; border:0 !important; border-bottom:1px solid #1b2d4b !important; background:transparent !important; color:#eaf2ff !important; font:inherit !important; font-size:13px !important; font-weight:650 !important; text-align:left !important; cursor:pointer !important; }
header.rysa-shared-header .search-results [data-game]:hover,
header.rysa-shared-header .search-results [data-game][aria-selected="true"] { background:#132b4b !important; color:#fff !important; }
header.rysa-shared-header .search-results .no-results { padding:13px !important; color:#9baac8 !important; font-size:13px !important; }
header.rysa-shared-header .rysa-search-hint { margin:11px 2px 0 !important; color:#8495b5 !important; font-size:11px !important; line-height:1.45 !important; }
body.rysa-search-open { overflow:hidden !important; }
@media (max-width:850px) {
    header.rysa-shared-header .rysa-search-overlay { align-items:flex-start !important; padding:76px 13px 18px !important; }
    header.rysa-shared-header .rysa-search-dialog { padding:16px !important; border-radius:17px !important; max-height:78vh !important; }
    header.rysa-shared-header .rysa-search-dialog-head h2 { font-size:20px !important; }
}
@media (prefers-reduced-motion: reduce) {
    header.rysa-shared-header .links,
    header.rysa-shared-header .rysa-search-overlay,
    header.rysa-shared-header .rysa-search-dialog { transition:none !important; }
}
