:root {
    --neon-green: #10b981;
    --cyan: #22d3ee;
    --gold: #ffd700;
    --dark: #0a0a0a;
    --danger: #ff0033;
    --legal-h: 0px;
    /* Nav tabs — blend with charcoal bar + logo gold */
    --nav-tab-fg: rgba(188, 182, 206, 0.96);
    --nav-tab-fg-hover: rgba(244, 240, 255, 0.99);
    --nav-tab-bg: linear-gradient(
        168deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.03) 38%,
        rgba(0, 0, 0, 0.18) 100%
    );
    --nav-tab-bg-hover: linear-gradient(
        168deg,
        rgba(255, 255, 255, 0.16) 0%,
        rgba(255, 255, 255, 0.06) 42%,
        rgba(0, 0, 0, 0.12) 100%
    );
    --nav-tab-border-hover: rgba(255, 255, 255, 0.18);
    --nav-tab-active-fg: rgba(255, 252, 245, 0.99);
    --nav-tab-active-bg: linear-gradient(
        168deg,
        rgba(255, 230, 180, 0.16) 0%,
        rgba(212, 175, 95, 0.14) 45%,
        rgba(40, 32, 24, 0.55) 100%
    );
    --nav-tab-active-border: rgba(255, 220, 160, 0.45);
    --nav-tab-active-glow: rgba(255, 215, 140, 0.35);
    --nav-rail-border: rgba(255, 255, 255, 0.1);
    --nav-rail-bg: linear-gradient(
        180deg,
        rgba(28, 26, 34, 0.94) 0%,
        rgba(12, 11, 16, 0.92) 55%,
        rgba(6, 6, 10, 0.9) 100%
    );
    --nav-ind-accent: linear-gradient(
        90deg,
        rgba(160, 132, 72, 0.95) 0%,
        rgba(230, 205, 150, 0.92) 45%,
        rgba(95, 160, 150, 0.55) 100%
    );
    /* Global depth tokens (box-shadow stacks) */
    --kk-depth-1: 0 3px 12px rgba(0, 0, 0, 0.34), 0 1px 0 rgba(255, 255, 255, 0.05);
    --kk-depth-2: 0 8px 28px rgba(0, 0, 0, 0.44), 0 2px 0 rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.06);
    --kk-depth-3: 0 16px 48px rgba(0, 0, 0, 0.52), 0 4px 0 rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.07);
    --kk-depth-inset: inset 0 2px 10px rgba(0, 0, 0, 0.32);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: var(--dark);
    color: #fff;
    font-family: 'Courier Prime', monospace;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* User request: clean black vibe behind crowns */
body {
    background: #000;
}

/* Admin needs page scroll (shop uses internal scroll panes). */
body.admin-page {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

/* Admin live preview of homepage: hide shop nav/lock overlay */
body.admin-preview nav {
    display: none !important;
}
body.admin-preview #auth-lock-screen {
    display: none !important;
}

.crown-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.crown {
    position: absolute;
    font-size: 24px;
    color: var(--gold);
    text-shadow:
        0 0 12px rgba(255, 215, 0, 0.85),
        0 0 28px rgba(212, 175, 55, 0.45);
    animation: fall linear infinite;
    opacity: 0.55;
    filter: blur(0.3px);
}
@keyframes fall {
    to { transform: translateY(100vh); }
}

/* Luxury glass top bar — full width, cyber-casino */
nav.kk-nav-lux {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "logo tabs actions";
    align-items: center;
    gap: clamp(10px, 1.6vw, 22px);
    padding: 14px clamp(16px, 2.4vw, 36px);
    font-family: 'Inter', 'Orbitron', system-ui, sans-serif;
    background: rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.42);
    box-shadow:
        0 1px 0 rgba(255, 230, 160, 0.12),
        0 12px 48px rgba(0, 0, 0, 0.55),
        0 0 32px rgba(212, 175, 55, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.kk-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    grid-area: logo;
    justify-self: start;
    min-width: 0;
}
.kk-nav-brand__crown {
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    line-height: 1;
    color: #e8c45c;
    filter: drop-shadow(0 0 10px rgba(255, 210, 120, 0.75)) drop-shadow(0 0 22px rgba(212, 175, 55, 0.45));
}
.kk-nav-brand__text {
    display: inline-flex;
    align-items: baseline;
    letter-spacing: 0.14em;
    font-weight: 800;
    font-size: clamp(1.35rem, 2.1vw, 1.95rem);
    white-space: nowrap;
}
.kk-nav-brand__kings {
    color: #f4d784;
    text-shadow:
        0 0 18px rgba(255, 215, 120, 0.65),
        0 0 36px rgba(212, 175, 55, 0.35),
        0 1px 2px rgba(0, 0, 0, 0.6);
}
.kk-nav-brand__kards {
    color: #5ee7ff;
    text-shadow:
        0 0 16px rgba(34, 211, 238, 0.55),
        0 0 32px rgba(34, 211, 238, 0.25),
        0 1px 2px rgba(0, 0, 0, 0.55);
}
nav.kk-nav-lux .logo.kk-nav-brand {
    font-size: inherit;
    color: inherit;
    text-shadow: none;
}

/* Admin / checkout — compact nav without luxury skin */
nav:not(.kk-nav-lux) {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "logo tabs actions";
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(180deg, rgba(6, 6, 10, 0.92) 0%, rgba(8, 8, 12, 0.82) 65%, rgba(0, 0, 0, 0.65) 100%);
    border-bottom: 1px solid rgba(245, 246, 248, 0.14);
    box-shadow: 0 14px 46px rgba(0, 0, 0, 0.55);
}

/* Tabs underline that follows cursor */
.nav-links--polish .nav-tab:not(.nav-tab--stack) {
    min-width: 108px;
    text-align: center;
    justify-content: center;
}
.nav-links--polish .nav-tab--stack {
    min-width: 148px;
}
.nav-notif-btn,
.nav-msg-btn,
.nav-search-btn,
.nav-cart-btn {
    cursor: pointer;
}
.nav-links--polish {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 14px;
    padding: 12px 16px 14px;
    border-radius: 18px;
    border: 1px solid var(--nav-rail-border);
    background: var(--nav-rail-bg);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 0, 0, 0.25),
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(34, 211, 238, 0.08),
        0 0 56px rgba(255, 200, 100, 0.06);
}
.nav-indicator {
    position: absolute;
    left: 0;
    bottom: 6px;
    height: 4px;
    width: 60px;
    border-radius: 999px;
    background: var(--nav-ind-accent);
    box-shadow:
        0 0 12px rgba(255, 230, 200, 0.55),
        0 0 28px rgba(200, 170, 100, 0.45),
        0 0 40px rgba(34, 211, 238, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transform: translate3d(0, 0, 0);
    opacity: 0.92;
    pointer-events: none;
    will-change: transform, width;
    transition:
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.15s ease;
}
.nav-indicator.nav-indicator--instant {
    transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
    .nav-indicator {
        transition-duration: 0.01ms;
    }
}

/* Dynamic fixed-nav offset (set by JS) */
:root {
    --nav-h: 88px;
}
nav .logo {
    grid-area: logo;
    justify-self: start;
}
nav .nav-tabs {
    grid-area: tabs;
    justify-self: center;
}
nav .nav-actions {
    grid-area: actions;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
}
.logo {
    font-size: 2.2rem;
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold);
}
.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    font-size: clamp(1rem, 1.15vw, 1.16rem);
    max-width: min(1180px, 98vw);
}
nav.kk-nav-lux .nav-tabs {
    gap: 12px 18px;
}
.nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1010;
}
/* Horizontal luxury rail — cart, profile, promo, balance */
.nav-actions-lux {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
    width: 100%;
    min-width: 0;
}
.nav-lux-cluster {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
    min-width: 0;
}
.nav-mini-actions--lux {
    align-self: center;
    gap: 10px;
    padding-right: 4px;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    margin-right: 2px;
}
.nav-user-menu--lux {
    flex: 0 1 auto;
}
.nav-actions-row {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

/* Split: center = CART → user → PROMO; far right = icons row above BAL */
.nav-actions-row--split {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 14px 20px;
    width: 100%;
    max-width: min(620px, 100%);
    flex-wrap: wrap;
}
.nav-actions-center {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 0;
    flex: 1 1 200px;
}
.nav-actions-center .nav-guest-badge--actions {
    align-self: flex-start;
}
.nav-actions-rail {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    flex: 0 0 auto;
}
.nav-mini-actions {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    align-self: flex-end;
}
/* Same footprint for the three small controls; search stays rightmost */
.nav-actions-rail .nav-mini-actions .nav-notif-btn,
.nav-actions-rail .nav-mini-actions .nav-msg-btn {
    width: 40px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 10px;
}
.nav-stack-promo,
.nav-stack-cart,
.nav-stack-login {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.nav-user-menu--stacked {
    width: 100%;
    max-width: 100%;
}
.nav-user-menu--stacked .nav-user-btn.nav-stack-user {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
}
.nav-stack-login {
    margin-top: 0;
}
.nav-stack-bal {
    width: 100%;
    min-width: 148px;
    justify-content: space-between;
    box-sizing: border-box;
}

.nav-icon-cluster {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 980px) {
    nav.kk-nav-lux {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo actions"
            "tabs tabs";
        padding: 12px 14px;
        row-gap: 10px;
    }
    .nav-tabs {
        max-width: 100%;
        justify-content: center;
        gap: 8px 10px;
        font-size: 1.02rem;
    }
    .nav-actions {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 560px) {
    .nav-tabs {
        gap: 6px 8px;
        font-size: 0.96rem;
    }
    .nav-user-btn .nav-username {
        max-width: 96px;
    }
    .nav-tab {
        padding: 11px 14px;
        border-radius: 11px;
        letter-spacing: 0.1em;
    }
    .nav-actions-row--split {
        flex-direction: column;
        align-items: stretch;
        max-width: 100%;
    }
    .nav-actions-rail {
        align-self: stretch;
    }
    .nav-actions-rail .nav-mini-actions {
        justify-content: flex-end;
    }
    .nav-stack-bal {
        width: 100%;
    }
    .kk-nav-lux .nav-mini-actions--lux {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        width: 100%;
        justify-content: flex-end;
    }
    .kk-nav-lux .nav-lux-cluster {
        justify-content: flex-end;
    }
}
.nav-tab {
    cursor: pointer;
    padding: 13px 22px;
    transition:
        color 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}
.nav-tab {
    transform: translateZ(0);
    border-radius: 12px;
    background: var(--nav-tab-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--nav-tab-fg);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.22),
        0 2px 12px rgba(0, 0, 0, 0.35),
        0 0 24px rgba(34, 211, 238, 0.07),
        0 0 32px rgba(255, 200, 120, 0.05),
        0 10px 28px rgba(0, 0, 0, 0.32);
    letter-spacing: 0.13em;
    font-weight: 700;
    text-transform: uppercase;
}
.nav-tab:hover {
    transform: translateY(-1px);
    color: var(--nav-tab-fg-hover);
    background: var(--nav-tab-bg-hover);
    border-color: var(--nav-tab-border-hover);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        0 6px 22px rgba(0, 0, 0, 0.4),
        0 0 36px rgba(34, 211, 238, 0.14),
        0 0 48px rgba(255, 215, 140, 0.1);
    filter: none;
}
.nav-tab.active {
    color: var(--nav-tab-active-fg);
    background: var(--nav-tab-active-bg);
    border-color: var(--nav-tab-active-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 4px 18px rgba(0, 0, 0, 0.45),
        0 0 32px var(--nav-tab-active-glow),
        0 0 52px rgba(255, 200, 100, 0.12),
        0 0 40px rgba(34, 211, 238, 0.1);
    transform: translateY(-1px);
}
.nav-tab[data-tab="4"].nav-tab--needs-setup {
    position: relative;
    padding-right: 26px;
}
.nav-tab[data-tab="4"].nav-tab--needs-setup::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.85);
    animation: kk-pulse-dot 1.5s ease-in-out infinite;
}
@keyframes kk-pulse-dot {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.72;
    }
}
/* LIVE — neon magenta floor CTA */
.nav-tab.nav-tab--live-cta {
    position: relative;
    z-index: 2;
    min-width: 118px;
    padding: 14px 26px;
    color: #fff7ff !important;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.55),
        0 0 20px rgba(255, 120, 220, 0.55);
    border-radius: 999px;
    background: linear-gradient(165deg, #f472ff 0%, #d946ef 32%, #86198f 100%);
    border: 1px solid rgba(255, 180, 240, 0.65) !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35),
        0 8px 30px rgba(217, 70, 239, 0.55),
        0 0 48px rgba(244, 114, 255, 0.45),
        0 0 72px rgba(236, 72, 153, 0.35);
}
.nav-tab.nav-tab--live-cta:hover {
    color: #ffffff !important;
    background: linear-gradient(165deg, #f9b4ff 0%, #e879f9 38%, #a21caf 100%);
    border-color: rgba(255, 210, 250, 0.85) !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1px 0 rgba(0, 0, 0, 0.25),
        0 10px 38px rgba(232, 121, 249, 0.65),
        0 0 56px rgba(244, 114, 255, 0.55),
        0 0 88px rgba(236, 72, 153, 0.4);
    filter: brightness(1.04);
}
.nav-tab.nav-tab--live-cta.active {
    color: #fffefa !important;
    background: linear-gradient(165deg, #fbc7ff 0%, #c026d3 40%, #701a75 100%);
    border-color: rgba(255, 220, 250, 0.9) !important;
    box-shadow:
        0 0 0 2px rgba(255, 215, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 10px 42px rgba(192, 38, 211, 0.6),
        0 0 60px rgba(244, 114, 255, 0.5),
        0 0 90px rgba(255, 200, 120, 0.18);
}
@media (prefers-reduced-motion: no-preference) {
    .nav-tab.nav-tab--live-cta:not(.active) {
        animation: navLiveCtaPulse 3.2s ease-in-out infinite;
    }
}
@keyframes navLiveCtaPulse {
    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.32),
            inset 0 -1px 0 rgba(0, 0, 0, 0.35),
            0 8px 28px rgba(217, 70, 239, 0.5),
            0 0 44px rgba(244, 114, 255, 0.42);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.42),
            inset 0 -1px 0 rgba(0, 0, 0, 0.28),
            0 12px 40px rgba(236, 72, 153, 0.62),
            0 0 64px rgba(244, 114, 255, 0.58);
    }
}
@media (prefers-reduced-motion: reduce) {
    .nav-tab.nav-tab--live-cta:not(.active) {
        animation: none;
    }
}
.nav-tab[data-tab='6'] {
    color: rgba(168, 182, 196, 0.9);
}
.nav-tab[data-tab='6']:hover {
    color: rgba(210, 220, 232, 0.95);
}
.nav-tab[data-tab='6'].active {
    color: var(--nav-tab-active-fg);
}
.nav-tab[data-tab='6'].nav-tab--stack .nav-tab__line:first-child {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    opacity: 0.95;
}
.nav-tab[data-tab='6'].nav-tab--stack .nav-tab__line:last-child {
    font-size: 0.8rem;
}

/* ========== Bins tab — royal clearance ========== */
.tab-content.bins-tab {
    position: relative;
    min-height: calc(100vh - 72px);
    /* Fixed nav + admin 2-row nav: ensure hero is never under the bar */
    padding-top: calc(var(--nav-h) + 96px) !important;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 48px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

/* HOME — hero + bento grid polish */
.home-tab {
    position: relative;
    min-height: calc(100vh - 72px);
    padding-top: calc(var(--nav-h) + 44px) !important;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 56px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

/* ========== HOME v2 (high-conversion hero) ========== */
.home-v2 {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: min(1240px, 96vw);
    margin: 0 auto;
    padding: 0 0 40px;
    box-sizing: border-box;
}
.home-v2__bg {
    position: absolute;
    inset: -10%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.home-v2__spot {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    opacity: 0.55;
    filter: blur(40px);
    animation: homeV2Drift 10s ease-in-out infinite alternate;
}
.home-v2__spot--a { left: -120px; top: 80px; background: radial-gradient(circle at 40% 35%, rgba(255,215,0,0.40), transparent 60%); }
.home-v2__spot--b { right: -160px; top: 160px; background: radial-gradient(circle at 50% 40%, rgba(34,211,238,0.35), transparent 62%); animation-duration: 12s; }
.home-v2__spot--c { left: 40%; bottom: -200px; background: radial-gradient(circle at 50% 40%, rgba(255,34,68,0.28), transparent 62%); animation-duration: 14s; }
@keyframes homeV2Drift {
    from { transform: translate3d(-10px, -12px, 0) scale(1); opacity: 0.45; }
    to { transform: translate3d(14px, 16px, 0) scale(1.06); opacity: 0.72; }
}

.home-v2__hero {
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(circle at 20% 20%, rgba(255,215,0,0.10), transparent 48%),
        radial-gradient(circle at 82% 32%, rgba(34,211,238,0.10), transparent 52%),
        linear-gradient(180deg, rgba(8, 6, 10, 0.78) 0%, rgba(0, 0, 0, 0.36) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 34px 120px rgba(0,0,0,0.72);
    padding: clamp(18px, 2.6vw, 26px);
    overflow: hidden;
}
.home-v2__pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.home-v2__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: rgba(245,246,248,0.92);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}
.home-v2__pill--live {
    cursor: pointer;
    border-color: rgba(255, 34, 68, 0.28);
    background: rgba(255, 34, 68, 0.08);
    box-shadow: 0 0 18px rgba(255, 34, 68, 0.14);
    animation: homeV2Pulse 1.25s ease-in-out infinite;
}
@keyframes homeV2Pulse {
    0%, 100% { transform: translateZ(0) scale(1); filter: brightness(1); }
    50% { transform: translateZ(0) scale(1.03); filter: brightness(1.14); }
}
.home-v2__pill--hot { border-color: rgba(255,215,0,0.22); background: rgba(255,215,0,0.06); }
.home-v2__pill--trust { border-color: rgba(245,246,248,0.18); }

.home-v2__brand {
    margin-top: clamp(18px, 2.6vw, 26px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.kk-crown-3d--hero { font-size: 3.9rem; }
.home-v2__mega { font-size: clamp(3.2rem, 8.8vw, 5.8rem); }
.home-v2__tagline {
    margin-top: 10px;
    color: rgba(196,188,216,0.92);
    font-size: 1rem;
    letter-spacing: 0.06em;
    max-width: 64ch;
}

/* Home — “no brutal minimum” casino strip */
.home-v2__minfree {
    position: relative;
    margin-top: clamp(16px, 2.4vw, 24px);
    border-radius: 22px;
    border: 1px solid rgba(212, 175, 55, 0.38);
    background:
        radial-gradient(ellipse 120% 80% at 10% 0%, rgba(217, 70, 239, 0.12), transparent 55%),
        radial-gradient(ellipse 90% 70% at 90% 100%, rgba(34, 211, 238, 0.1), transparent 50%),
        linear-gradient(180deg, rgba(12, 10, 18, 0.88) 0%, rgba(4, 4, 8, 0.72) 100%);
    box-shadow:
        0 0 40px rgba(212, 175, 55, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    padding: 14px 16px;
    overflow: hidden;
}
.home-v2__minfree-glow {
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 120deg, transparent 30%, rgba(255, 215, 120, 0.06) 45%, transparent 60%);
    animation: homeMinfreeSpin 14s linear infinite;
    pointer-events: none;
    opacity: 0.85;
}
@keyframes homeMinfreeSpin {
    to {
        transform: rotate(360deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-v2__minfree-glow {
        animation: none;
        opacity: 0.35;
    }
}
.home-v2__minfree-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 18px;
}
.home-v2__minfree-left {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.home-v2__minfree-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 248, 230, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.15);
}
.home-v2__minfree-chip--cyan {
    border-color: rgba(34, 211, 238, 0.45);
    color: rgba(210, 250, 255, 0.96);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.18);
}
.home-v2__minfree-copy {
    flex: 1 1 240px;
    margin: 0;
    max-width: min(52ch, 100%);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(0.88rem, 1.5vw, 0.98rem);
    line-height: 1.55;
    color: rgba(232, 228, 244, 0.94);
    text-align: center;
}
.home-v2__minfree-copy strong {
    color: #fff;
    font-weight: 700;
}
.home-v2__minfree-amount {
    display: inline-block;
    padding: 2px 10px;
    margin: 0 2px;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0a0a0a;
    background: linear-gradient(180deg, #fde68a 0%, #f59e0b 100%);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.45);
}
.home-v2__minfree-cta {
    flex: 0 0 auto;
    padding: 10px 22px;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.25);
}
@media (max-width: 560px) {
    .home-v2__minfree-inner {
        flex-direction: column;
        text-align: center;
    }
    .home-v2__minfree-copy {
        text-align: center;
    }
}

.home-v2__cta {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.home-v2__cta-primary {
    box-shadow: 0 0 26px rgba(16, 185, 129, 0.18), 0 22px 70px rgba(0,0,0,0.55);
}

.home-v2__marquee {
    margin-top: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.25);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.home-v2__marquee-track {
    display: inline-flex;
    gap: 18px;
    padding: 10px 14px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: rgba(245,246,248,0.88);
    text-transform: uppercase;
    white-space: nowrap;
    animation: homeV2Marquee 18s linear infinite;
}
@keyframes homeV2Marquee {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(-50%,0,0); }
}

.home-v2__ticker {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    padding: 14px 14px;
}
.home-v2__ticker-k {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    color: rgba(255,215,0,0.9);
}
.home-v2__ticker-v {
    margin-top: 6px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.10em;
    color: rgba(245,246,248,0.95);
    text-shadow: 0 0 26px rgba(255,215,0,0.12);
}
.home-v2__ticker-right { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.home-v2__stat { padding: 8px 10px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.10); background: rgba(0,0,0,0.18); }
.home-v2__stat-k { font-size: 0.58rem; letter-spacing: 0.26em; color: rgba(196,188,216,0.85); font-family:'Orbitron',sans-serif; }
.home-v2__stat-v { margin-top: 6px; font-family:'Orbitron',sans-serif; font-weight: 900; letter-spacing: 0.12em; color: rgba(230,232,236,0.92); }

.home-v2__reviews {
    margin-top: 18px;
    text-align: center;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.22);
    padding: 14px 14px 16px;
}
.home-v2__reviews-k {
    font-family:'Orbitron',sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.32em;
    color: rgba(34,211,238,0.92);
}
.home-v2__reviews-q {
    margin-top: 10px;
    font-family:'Orbitron',sans-serif;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: rgba(245,246,248,0.95);
    min-height: 2.2em;
}
.home-v2__reviews-a {
    margin-top: 6px;
    color: rgba(196,188,216,0.92);
    font-family:'Courier Prime',monospace;
}

/* Floating deposit minimum notice — home tab */
.home-deposit-nudge {
    position: relative;
    margin: 20px auto 0;
    max-width: min(720px, 100%);
    z-index: 3;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.home-deposit-nudge.home-deposit-nudge--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.home-deposit-nudge__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(255, 80, 80, 0.35);
    background: rgba(10, 8, 14, 0.75);
    color: rgba(255, 180, 180, 0.95);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35), 0 12px 28px rgba(0, 0, 0, 0.45);
    transition: transform 0.15s ease, filter 0.15s ease;
}
.home-deposit-nudge__close:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}
.home-deposit-nudge__close:active {
    transform: translateY(1px);
}
.home-deposit-nudge__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px 16px;
    align-items: center;
    padding: 18px 48px 18px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 215, 0, 0.28);
    background:
        radial-gradient(120% 80% at 10% 0%, rgba(255, 215, 0, 0.14), transparent 52%),
        radial-gradient(90% 70% at 100% 100%, rgba(34, 211, 238, 0.12), transparent 50%),
        linear-gradient(165deg, rgba(14, 14, 22, 0.96) 0%, rgba(6, 6, 10, 0.98) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 0 0 1px rgba(0, 0, 0, 0.45),
        0 10px 0 rgba(0, 0, 0, 0.38),
        0 28px 60px rgba(0, 0, 0, 0.55),
        0 0 48px rgba(255, 215, 0, 0.12),
        0 0 80px rgba(34, 211, 238, 0.08);
    transform-style: preserve-3d;
    animation: kk-deposit-nudge-pulse 3.2s ease-in-out infinite;
}
.home-deposit-nudge__sheen {
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    background: linear-gradient(
        125deg,
        rgba(255, 215, 0, 0.15) 0%,
        transparent 40%,
        transparent 60%,
        rgba(34, 211, 238, 0.12) 100%
    );
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
    animation: kk-deposit-nudge-sheen 4.5s ease-in-out infinite;
}
.home-deposit-nudge__badge {
    font-size: 2.35rem;
    line-height: 1;
    color: var(--gold);
    text-shadow: 0 0 22px rgba(255, 215, 0, 0.45);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}
.home-deposit-nudge__copy {
    min-width: 0;
}
.home-deposit-nudge__kicker {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    color: rgba(34, 211, 238, 0.95);
    text-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
}
.home-deposit-nudge__lead {
    margin: 8px 0 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.82rem, 1.9vw, 0.95rem);
    line-height: 1.55;
    letter-spacing: 0.04em;
    color: rgba(248, 250, 252, 0.94);
}
.home-deposit-nudge__lead strong {
    color: var(--neon-green);
    text-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}
.home-deposit-nudge__fine {
    margin: 8px 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(180, 174, 198, 0.88);
    font-family: 'Courier Prime', monospace;
}
.home-deposit-nudge__cta {
    width: auto !important;
    min-width: 140px;
    padding: 12px 18px !important;
    font-size: 0.88rem !important;
    box-shadow:
        0 0 22px rgba(16, 185, 129, 0.35),
        0 8px 0 rgba(0, 0, 0, 0.32),
        0 18px 40px rgba(0, 0, 0, 0.4) !important;
}
@keyframes kk-deposit-nudge-pulse {
    0%,
    100% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.08) inset,
            0 0 0 1px rgba(0, 0, 0, 0.45),
            0 10px 0 rgba(0, 0, 0, 0.38),
            0 28px 60px rgba(0, 0, 0, 0.55),
            0 0 48px rgba(255, 215, 0, 0.12),
            0 0 80px rgba(34, 211, 238, 0.08);
    }
    50% {
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.1) inset,
            0 0 0 1px rgba(0, 0, 0, 0.45),
            0 10px 0 rgba(0, 0, 0, 0.38),
            0 32px 72px rgba(0, 0, 0, 0.58),
            0 0 64px rgba(255, 215, 0, 0.2),
            0 0 100px rgba(34, 211, 238, 0.14);
    }
}
@keyframes kk-deposit-nudge-sheen {
    0%,
    100% {
        opacity: 0.45;
        transform: translateX(0);
    }
    50% {
        opacity: 0.75;
        transform: translateX(6px);
    }
}
@media (max-width: 720px) {
    .home-deposit-nudge__inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 18px 44px 18px 18px;
    }
    .home-deposit-nudge__badge {
        justify-self: center;
    }
    .home-deposit-nudge__cta {
        justify-self: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-deposit-nudge__inner,
    .home-deposit-nudge__sheen {
        animation: none !important;
    }
}

.home-v2__grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (max-width: 860px) { .home-v2__grid { grid-template-columns: 1fr; } }
.home-v2__card {
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.22) 100%);
    box-shadow: 0 22px 80px rgba(0,0,0,0.55);
    padding: 16px 16px;
    cursor: pointer;
    transform: translateZ(0);
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), filter 0.18s, border-color 0.18s;
}
.home-v2__card:hover { transform: translateY(-3px) scale(1.01); filter: brightness(1.06); border-color: rgba(245,246,248,0.24); }
.home-v2__card--wide { grid-column: span 2; }
@media (max-width: 860px) { .home-v2__card--wide { grid-column: auto; } }
.home-v2__card-k { font-family:'Orbitron',sans-serif; font-size:0.62rem; letter-spacing:0.32em; color: rgba(255,215,0,0.9); }
.home-v2__card-h { margin-top: 10px; font-family:'Orbitron',sans-serif; font-weight: 900; letter-spacing:0.10em; color: rgba(245,246,248,0.95); }
.home-v2__card-p { margin-top: 8px; color: rgba(196,188,216,0.92); line-height: 1.55; }
.home-v2__card-cta { margin-top: 12px; font-family:'Orbitron',sans-serif; font-weight: 900; letter-spacing:0.16em; color: rgba(34,211,238,0.92); }

@media (prefers-reduced-motion: reduce) {
    .home-v2__spot,
    .home-v2__marquee-track,
    .home-v2__pill--live { animation: none !important; }
}
.home-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 215, 0, 0.14), transparent 58%),
        radial-gradient(ellipse 50% 40% at 10% 30%, rgba(34, 211, 238, 0.10), transparent 55%),
        radial-gradient(ellipse 45% 35% at 90% 70%, rgba(16, 185, 129, 0.10), transparent 55%),
        linear-gradient(165deg, #050508 0%, #07060c 40%, #000 100%);
    pointer-events: none;
    z-index: 0;
}
.home-hero {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.home-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.35);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.10);
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.82);
}
.home-hero__logo-wrap {
    margin-top: 18px;
    display: grid;
    place-items: center;
    perspective: 900px;
}
.kk-crown-3d {
    font-size: 64px;
    color: var(--gold);
    text-shadow: 0 0 28px rgba(255,215,0,0.45);
    transform: translateZ(30px);
    animation: kk-float 4.8s ease-in-out infinite;
    margin-bottom: 6px;
}
.kk-logo-3d {
    display: inline-flex;
    gap: 18px;
    align-items: baseline;
    transform-style: preserve-3d;
    animation: kk-sway 6.8s ease-in-out infinite;
}
.kk-logo-3d__gold,
.kk-logo-3d__neon {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.06em;
    font-size: clamp(54px, 6vw, 92px);
    line-height: 1;
    transform: translateZ(18px);
}
.kk-logo-3d__gold {
    background: linear-gradient(180deg, #fff7c2 0%, #ffd700 35%, #c88b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow:
        0 10px 28px rgba(0,0,0,0.65),
        0 0 28px rgba(255, 215, 0, 0.22);
}
.kk-logo-3d__neon {
    color: rgba(16, 185, 129, 0.98);
    text-shadow: 0 0 24px rgba(16, 185, 129, 0.42), 0 0 48px rgba(34, 211, 238, 0.20);
}
@keyframes kk-float {
    0%, 100% { transform: translate3d(0, 0, 30px); }
    50% { transform: translate3d(0, -10px, 34px); }
}
@keyframes kk-sway {
    0%, 100% { transform: rotateX(10deg) rotateY(-10deg); }
    50% { transform: rotateX(14deg) rotateY(10deg); }
}
.home-hero__sub {
    margin-top: 14px;
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.home-hero__cta {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.home-hero__ticker {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.home-ticker-pill {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.35);
    box-shadow: 0 0 18px rgba(255,215,0,0.10);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.82);
}
.home-eco {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(16,185,129,0.9);
    box-shadow: 0 0 18px rgba(16,185,129,0.55);
    animation: kk-pulse-dot 1.4s ease-in-out infinite;
}
.home-reviews-inline {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.38);
    box-shadow: 0 0 26px rgba(34,211,238,0.10);
}
.home-reviews-inline-kicker {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.22em;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.70);
}
.home-reviews-inline-quote {
    margin-top: 10px;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.92);
}
.home-reviews-inline-author {
    margin-top: 8px;
    color: rgba(255,215,0,0.82);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}
.home-bento {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 22px auto 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}
.bento-card {
    grid-column: span 4;
    padding: 18px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    box-shadow: 0 0 22px rgba(0,0,0,0.55), inset 0 0 26px rgba(255,255,255,0.03);
    cursor: pointer;
    transform: translateZ(0);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.bento-card,
.bins-deal-card,
.product-card {
    transform: translateZ(0) perspective(900px) rotateX(calc(var(--tilt-x, 0) * 1deg)) rotateY(calc(var(--tilt-y, 0) * 1deg));
    transform-style: preserve-3d;
}
.bento-card:hover,
.bins-deal-card:hover,
.product-card:hover {
    transform: translateY(-4px) scale(1.01) perspective(900px) rotateX(calc(var(--tilt-x, 0) * 1deg)) rotateY(calc(var(--tilt-y, 0) * 1deg));
}

/* Scroll snap helpers */
.snap-x {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.snap-x > * {
    scroll-snap-align: start;
}

/* LIVE — casino vibe */
.live-tab {
    position: relative;
    min-height: calc(100vh - 72px);
    padding-top: calc(var(--nav-h) + 34px) !important;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 56px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

/* LIVE: a bit more bottom room for centered pagination above corner notice */
section#tab-1.tab-content.live-tab {
    padding-bottom: calc(28px + var(--legal-h) + max(12px, env(safe-area-inset-bottom, 0px))) !important;
}
.live-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 215, 0, 0.14), transparent 58%),
        radial-gradient(circle at 70% 20%, rgba(34, 211, 238, 0.12), transparent 62%),
        radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.10), transparent 55%),
        linear-gradient(165deg, #050508 0%, #0b0616 40%, #000 100%);
    pointer-events: none;
    z-index: 0;
}
.live-hero {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto 18px;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 14px;
    align-items: stretch;
}
.live-badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.38);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    color: rgba(255, 215, 0, 0.86);
    box-shadow: 0 0 28px rgba(255,215,0,0.08);
}
.live-headline {
    margin-top: 14px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.08em;
    font-size: clamp(26px, 3.2vw, 44px);
    color: rgba(255,255,255,0.96);
    text-shadow: 0 0 20px rgba(34,211,238,0.10);
}
.live-sub {
    margin-top: 10px;
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
    max-width: 54ch;
}
.live-sub__hint {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
}
.live-cta {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.live-metrics {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.live-metric {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.35);
    padding: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}
.live-metric__k {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.22em;
    font-size: 0.64rem;
    color: rgba(255,255,255,0.62);
}
.live-metric__v {
    margin-top: 10px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    color: rgba(34, 211, 238, 0.92);
}
.live-metric--discount .live-metric__v {
    color: rgba(255,215,0,0.9);
}
.live-flash-card {
    height: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(circle at 30% 20%, rgba(255,215,0,0.16), transparent 52%),
        radial-gradient(circle at 80% 70%, rgba(34,211,238,0.14), transparent 58%),
        linear-gradient(165deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.6) 100%);
    box-shadow: 0 0 46px rgba(255,215,0,0.06), 0 0 56px rgba(34,211,238,0.05);
    padding: 18px;
    display: grid;
    align-content: center;
    gap: 12px;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.live-flash-card::before {
    content: "";
    position: absolute;
    inset: -60px;
    background: conic-gradient(from 180deg, rgba(255,215,0,0.0), rgba(255,215,0,0.18), rgba(34,211,238,0.16), rgba(16,185,129,0.10), rgba(255,215,0,0.0));
    animation: liveSpin 6.2s linear infinite;
    opacity: 0.85;
}
.live-flash-pulse {
    animation: liveFlashPulse 800ms ease-out both;
}
@keyframes liveFlashPulse {
    0% { filter: brightness(1) saturate(1); }
    45% { filter: brightness(1.18) saturate(1.25); }
    100% { filter: brightness(1) saturate(1); }
}
@keyframes liveSpin {
    to { transform: rotate(360deg); }
}
.live-flash-top,
.live-flash-mid,
.live-flash-bot {
    position: relative;
    z-index: 1;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.22em;
}
.live-flash-top { color: rgba(255,255,255,0.72); font-size: 0.72rem; }
.live-flash-mid { color: rgba(255,215,0,0.92); font-size: 1.35rem; text-shadow: 0 0 22px rgba(255,215,0,0.22); }
.live-flash-bot { color: rgba(34,211,238,0.88); font-size: 0.86rem; }

.live-pulse-wrap {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto 22px;
    padding: 0 14px;
    box-sizing: border-box;
}
.live-crypto-pulse {
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.07), rgba(0, 0, 0, 0.48));
    padding: 16px 18px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.live-pulse-inner {
    display: grid;
    gap: 16px;
}
@media (min-width: 960px) {
    .live-pulse-inner {
        grid-template-columns: 1.15fr 1fr;
        align-items: start;
    }
}
.live-pulse-block--news {
    border-left: 1px dashed rgba(34, 211, 238, 0.28);
    padding-left: 16px;
}
@media (max-width: 959px) {
    .live-pulse-block--news {
        border-left: none;
        padding-left: 0;
        border-top: 1px dashed rgba(34, 211, 238, 0.22);
        padding-top: 14px;
    }
}
.live-pulse-hd {
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: rgba(255, 215, 0, 0.88);
    margin-bottom: 10px;
}
.live-pulse-coins {
    display: grid;
    gap: 6px;
}
.live-pulse-coin {
    display: grid;
    grid-template-columns: 22px minmax(0, 52px) 1fr 72px;
    gap: 8px;
    align-items: center;
    font-size: 0.78rem;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.live-pulse-rank {
    font-family: Orbitron, sans-serif;
    font-size: 0.58rem;
    color: rgba(160, 168, 182, 0.95);
}
.live-pulse-sym {
    font-weight: 700;
    color: rgba(226, 232, 240, 0.98);
}
.live-pulse-price {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: rgba(190, 242, 255, 0.95);
}
.live-pulse-chg {
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-size: 0.72rem;
}
.live-pulse-chg--up {
    color: #6ee7b7;
}
.live-pulse-chg--down {
    color: #fca5a5;
}
.live-pulse-news {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(210, 218, 230, 0.95);
}
.live-pulse-news li {
    margin-bottom: 8px;
}
.live-pulse-news a {
    color: rgba(125, 211, 252, 0.95);
    text-decoration: none;
    border-bottom: 1px solid rgba(34, 211, 238, 0.25);
}
.live-pulse-news a:hover {
    border-bottom-color: rgba(34, 211, 238, 0.55);
}
.live-pulse-foot {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    font-size: 0.68rem;
    line-height: 1.4;
    color: rgba(148, 156, 172, 0.9);
}
.live-pulse-err,
.live-pulse-skel {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(200, 206, 218, 0.92);
}
.live-pulse-skel__line {
    display: inline-block;
    width: 120px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 215, 0, 0.15);
    margin-right: 8px;
    vertical-align: middle;
    animation: livePulseShimmer 1.2s ease-in-out infinite;
}
@keyframes livePulseShimmer {
    0%,
    100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .live-pulse-skel__line {
        animation: none;
        opacity: 0.85;
    }
}

.live-grid-wrap {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
}

/* Thrilling motion: subtle jiggle + pop */
.live-drop-card.product-card {
    animation: liveJiggle 3.85s ease-in-out infinite;
    animation-delay: calc(var(--live-i, 0) * 0.04s);
}
@keyframes liveJiggle {
    0%, 100% { transform: translateZ(0) rotate(0deg); }
    40% { transform: translate3d(0, -2px, 0) rotate(-0.2deg); }
    60% { transform: translate3d(0, 1px, 0) rotate(0.25deg); }
}
.live-drop-card.product-card:hover {
    animation-play-state: paused;
}

/* Portal transition when entering LIVE */
body.live-portal::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 140000;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,215,0,0.22), transparent 45%),
        radial-gradient(circle at 40% 40%, rgba(34,211,238,0.18), transparent 55%),
        linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,1) 100%);
    animation: livePortal 520ms ease both;
}
@keyframes livePortal {
    0% { opacity: 0; transform: scale(1.04); filter: blur(8px) saturate(1.2); }
    45% { opacity: 1; transform: scale(1.0); filter: blur(0px) saturate(1.45); }
    100% { opacity: 0; transform: scale(0.98); filter: blur(10px) saturate(1.1); }
}

/* ========== LIVE: casino FX overlay + jackpot sweep ========== */
.live-casino-fx {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0.95;
}

.live-fx-chip,
.live-fx-spark,
.live-fx-star {
    position: absolute;
    left: var(--x, 50%);
    bottom: -24px;
    transform: translateX(-50%) scale(var(--s, 1));
    will-change: transform, opacity;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
    animation: liveFxRise var(--d, 7s) linear forwards;
}

.live-fx-chip {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0) 55%),
        conic-gradient(from 90deg, #ffd700, #ff2244, #22d3ee, #22c55e, #ffd700);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.18), 0 0 26px rgba(255, 0, 60, 0.12);
    opacity: 0.85;
}

.live-fx-spark {
    width: 2px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,215,0,0.9), rgba(255,255,255,0));
    opacity: 0.75;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.25);
}

.live-fx-star {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.95), rgba(255,255,255,0) 60%);
    opacity: 0.55;
    animation:
        liveFxRise var(--d, 7s) linear forwards,
        liveFxTwinkle 0.9s ease-in-out infinite;
}

@keyframes liveFxRise {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0) scale(var(--s, 1));
    }
    10% {
        opacity: 0.95;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(-50% + var(--dx, 0px))) translateY(-110vh) scale(calc(var(--s, 1) * 1.05));
    }
}

@keyframes liveFxTwinkle {
    0%,
    100% {
        filter: brightness(1);
        opacity: 0.45;
    }
    50% {
        filter: brightness(1.6);
        opacity: 0.75;
    }
}

body.live-jackpot::after {
    content: '';
    position: fixed;
    inset: -20%;
    z-index: 1200;
    pointer-events: none;
    background:
        conic-gradient(from 90deg,
            rgba(255,215,0,0) 0deg,
            rgba(255,215,0,0.10) 35deg,
            rgba(255,34,68,0.10) 85deg,
            rgba(34,211,238,0.08) 135deg,
            rgba(255,215,0,0) 220deg
        );
    filter: blur(0px);
    animation: liveJackpotSweep 0.52s ease-out both;
    mix-blend-mode: screen;
    opacity: 0.9;
}

@keyframes liveJackpotSweep {
    0% {
        opacity: 0;
        transform: rotate(-12deg) scale(0.98);
        filter: blur(2px);
    }
    40% {
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        transform: rotate(14deg) scale(1.04);
        filter: blur(1px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .live-casino-fx { display: none !important; }
    body.live-jackpot::after { display: none !important; }
}

/* Wheel */
.wheel-shell {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 14px;
    align-items: center;
}
.wheel-stage {
    display: grid;
    place-items: center;
    position: relative;
}
.wheel {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 4px solid rgba(255,215,0,0.65);
    box-shadow: 0 0 50px rgba(255,215,0,0.18), 0 0 70px rgba(34,211,238,0.10);
    background: conic-gradient(
        rgba(255,215,0,0.22),
        rgba(34,211,238,0.18),
        rgba(16,185,129,0.18),
        rgba(255,215,0,0.22),
        rgba(168,85,247,0.16),
        rgba(34,211,238,0.18)
    );
    position: relative;
    transform: rotate(0deg);
}
.wheel-slice {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 0 0;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 0 16px rgba(0,0,0,0.6);
}
.wheel-slice:nth-child(1) { transform: rotate(0deg) translate(110px, -6px); }
.wheel-slice:nth-child(2) { transform: rotate(60deg) translate(110px, -6px); }
.wheel-slice:nth-child(3) { transform: rotate(120deg) translate(110px, -6px); }
.wheel-slice:nth-child(4) { transform: rotate(180deg) translate(110px, -6px); }
.wheel-slice:nth-child(5) { transform: rotate(240deg) translate(110px, -6px); }
.wheel-slice:nth-child(6) { transform: rotate(300deg) translate(110px, -6px); }
.wheel-pointer {
    position: absolute;
    top: 6px;
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 26px solid rgba(255,215,0,0.92);
    filter: drop-shadow(0 0 14px rgba(255,215,0,0.35));
}
.wheel-side { text-align: left; }
.wheel-note {
    color: rgba(255,255,255,0.78);
    line-height: 1.6;
    margin-bottom: 12px;
}
.luckspin-win-prize {
    margin: 0;
    max-height: 220px;
    overflow: auto;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.28);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Courier Prime', ui-monospace, monospace;
    font-size: 0.82rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}
@media (max-width: 980px) {
    .live-hero { grid-template-columns: 1fr; }
    .live-metrics { grid-template-columns: 1fr; }
    .wheel-shell { grid-template-columns: 1fr; }
    .wheel { width: 300px; height: 300px; }
}
.bento-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(circle at 30% 20%, rgba(34,211,238,0.16), transparent 55%),
                radial-gradient(circle at 80% 60%, rgba(255,215,0,0.10), transparent 55%);
    opacity: 0;
    transition: opacity 200ms ease;
    pointer-events: none;
}
.bento-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(34,211,238,0.38);
    box-shadow: 0 0 34px rgba(34,211,238,0.10), 0 0 44px rgba(255,215,0,0.06);
}
.bento-card:hover::before { opacity: 1; }
.bento-card--wide { grid-column: span 8; }
.bento-card--tall { grid-column: span 4; grid-row: span 2; }
.bento-k {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.72);
}
.bento-h {
    margin-top: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: rgba(255,255,255,0.96);
}
.bento-p {
    margin-top: 10px;
    color: rgba(255,255,255,0.74);
    line-height: 1.55;
}
.home-deal-line {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 18px auto 0;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.32);
    color: rgba(255,255,255,0.75);
}
.home-deal-line__copy { line-height: 1.5; }
@media (max-width: 860px) {
    .bento-card { grid-column: span 6; }
    .bento-card--wide { grid-column: span 12; }
    .bento-card--tall { grid-column: span 12; grid-row: auto; }
}

/* Lookbook + Chatvox */
.lookbook-shell {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 14px;
    margin-top: 14px;
    text-align: left;
}
.lookbook-stage {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    overflow: hidden;
    min-height: 420px;
    position: relative;
}
.lookbook-img {
    position: absolute;
    inset: 0;
}
.lookbook-hotspots {
    position: absolute;
    inset: 0;
}
.lookbook-dot {
    position: absolute;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    transform: translate(-50%, -50%);
    cursor: pointer;
}
.lookbook-dot__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255,215,0,0.85);
    box-shadow: 0 0 18px rgba(255,215,0,0.25);
    animation: kk-lookbook-ping 1.7s ease-in-out infinite;
}
.lookbook-dot__core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(34,211,238,0.95);
    box-shadow: 0 0 18px rgba(34,211,238,0.35);
}
@keyframes kk-lookbook-ping {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.18); opacity: 0.78; }
}
.lookbook-side {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.35);
    padding: 14px;
}
.lookbook-side-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.lookbook-side-title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.78);
}
.lookbook-saved-row {
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.lookbook-saved-title {
    font-family: 'Orbitron', sans-serif;
    color: rgba(255,255,255,0.92);
}
.lookbook-saved-meta {
    margin-top: 6px;
    color: rgba(255,215,0,0.82);
    font-family: 'Courier Prime', monospace;
}
.lookbook-saved-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.chatvox-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 120000;
    width: auto;
    padding: 12px 16px;
    border-radius: 999px;
    border: 2px solid rgba(255,215,0,0.45);
    background: rgba(0,0,0,0.65);
    color: rgba(255,255,255,0.9);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.14em;
    cursor: pointer;
    box-shadow: 0 0 26px rgba(34,211,238,0.12);
}
.chatvox-panel {
    position: fixed;
    right: 18px;
    bottom: 74px;
    width: min(420px, calc(100vw - 36px));
    height: 520px;
    z-index: 120000;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.chatvox-head {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.chatvox-title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: rgba(255,215,0,0.85);
}
.chatvox-close {
    width: auto;
    padding: 0 12px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.8);
    font-size: 1.6rem;
    cursor: pointer;
}
.chatvox-log {
    padding: 12px;
    flex: 1;
    overflow: auto;
    display: grid;
    gap: 10px;
}
.chatvox-row { display: flex; }
.chatvox-row--me { justify-content: flex-end; }
.chatvox-bubble {
    max-width: 82%;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}
.chatvox-row--me .chatvox-bubble {
    border-color: rgba(34,211,238,0.25);
    background: rgba(34,211,238,0.10);
}
.chatvox-input-row {
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.10);
    display: flex;
    gap: 10px;
    align-items: center;
}
@media (max-width: 880px) {
    .lookbook-shell { grid-template-columns: 1fr; }
}
.bins-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 95% 70% at 50% -5%, rgba(255, 223, 128, 0.32), transparent 58%),
        radial-gradient(ellipse 55% 45% at 100% 35%, rgba(186, 170, 255, 0.22), transparent 52%),
        radial-gradient(ellipse 50% 42% at 0% 65%, rgba(120, 220, 255, 0.2), transparent 48%),
        linear-gradient(168deg, #15122a 0%, #1c1834 38%, #12101e 100%);
    pointer-events: none;
    z-index: 0;
}
.bins-bg-bloom {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.85;
    animation: binsBloomDrift 22s ease-in-out infinite;
}
.bins-bg-bloom--a {
    width: min(520px, 85vw);
    height: 260px;
    top: 8%;
    left: -12%;
    background: rgba(255, 210, 120, 0.35);
}
.bins-bg-bloom--b {
    width: min(440px, 75vw);
    height: 220px;
    top: 28%;
    right: -14%;
    background: rgba(130, 210, 255, 0.28);
    animation-delay: -11s;
}
.bins-grid-floor {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        linear-gradient(105deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(105deg, transparent calc(50% - 1px), rgba(34, 211, 238, 0.06) 50%, transparent calc(50% + 1px));
    background-size: 64px 64px, 100% 100%;
    mask-image: radial-gradient(ellipse 85% 60% at 50% 18%, black 0%, transparent 72%);
}
@keyframes binsBloomDrift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(18px, -12px) scale(1.04);
    }
}
@media (prefers-reduced-motion: reduce) {
    .bins-bg-bloom {
        animation: none;
    }
}
.bins-layout {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}
.bins-hero {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
    padding-top: 6px;
}
.bins-hero-kicker {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    margin-bottom: 10px;
}
.bins-hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--gold);
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.35);
    margin: 0 0 12px;
    line-height: 1.12;
    padding-top: 0.08em;
    animation: binsHeroGlow 8s ease-in-out infinite;
}
.bins-hero-lead {
    color: #c4bdd6;
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 580px;
    margin: 0 auto;
}
.bins-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}
.bins-stat {
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    text-align: center;
    min-width: 118px;
}
.bins-stat__v {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    color: var(--gold);
    text-shadow: 0 0 22px rgba(255, 215, 0, 0.25);
}
.bins-stat__k {
    display: block;
    margin-top: 4px;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    color: #8a8298;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}
.bins-hero::after {
    content: '';
    display: block;
    width: min(240px, 52vw);
    height: 2px;
    margin: 22px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.55), rgba(34, 211, 238, 0.45), transparent);
    opacity: 0.9;
}
@keyframes binsHeroGlow {
    0%,
    100% {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.35);
    }
    50% {
        text-shadow: 0 0 52px rgba(255, 215, 0, 0.55), 0 0 80px rgba(34, 211, 238, 0.12);
    }
}
@media (prefers-reduced-motion: reduce) {
    .bins-hero-title {
        animation: none;
    }
}
.bins-marquee {
    position: relative;
    overflow: hidden;
    margin: 8px 0 22px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: linear-gradient(90deg, rgba(255, 252, 240, 0.14), rgba(230, 244, 255, 0.1), rgba(255, 250, 245, 0.12));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(0, 0, 0, 0.12);
}
.bins-marquee__track {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    width: max-content;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    color: rgba(55, 48, 78, 0.88);
    animation: binsMarquee 42s linear infinite;
}
.bins-marquee__dot {
    color: rgba(180, 140, 40, 0.85);
    font-size: 0.5rem;
    vertical-align: middle;
}
@keyframes binsMarquee {
    0% {
        transform: translate(0, -50%);
    }
    100% {
        transform: translate(-50%, -50%);
    }
}
@media (prefers-reduced-motion: reduce) {
    .bins-marquee__track {
        animation: none;
        left: 50%;
        transform: translate(-50%, -50%);
        justify-content: center;
    }
}
.bins-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.bins-deal-card {
    position: relative;
    border-radius: 18px;
    padding: 20px 16px 18px;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(155deg, rgba(62, 54, 82, 0.55) 0%, rgba(26, 22, 38, 0.92) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 14px 32px rgba(0, 0, 0, 0.35),
        0 32px 64px rgba(0, 0, 0, 0.22);
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.25s;
}
.bins-deal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.35s;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.15), transparent 55%);
    pointer-events: none;
}
.bins-deal-card:hover {
    transform: translateY(-6px) rotateX(4deg) rotateY(-3deg);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 36px var(--bins-glow, rgba(34, 211, 238, 0.25));
    border-color: rgba(255, 215, 0, 0.35);
}
.bins-deal-card:hover::before {
    opacity: 1;
}
.bins-deal-card--active {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.25), 0 20px 48px rgba(0, 0, 0, 0.55);
    transform: translateY(-4px);
    padding-top: 28px;
}
.bins-deal-card--active::after {
    content: '✓ SELECTED';
    position: absolute;
    top: 8px;
    right: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    color: var(--neon-green);
}
.bins-deal-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    color: #b0a8c4;
    margin-bottom: 8px;
}
.bins-deal-qty {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.bins-deal-stock {
    margin-top: 8px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: rgba(255, 215, 0, 0.85);
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.22);
}
.bins-deal-stock strong {
    color: rgba(255, 255, 255, 0.95);
}
.bins-deal-qty small {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--cyan);
    margin-top: 4px;
}
.bins-deal-price {
    margin-top: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
}
.bins-deal-each {
    margin-top: 6px;
    font-size: 0.88rem;
    color: #c9c2dc;
    font-family: 'Courier Prime', monospace;
}
.bins-deal-card-actions {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}
.bins-deal-card-add {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
    color: #020617;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.25);
    transition: transform 0.15s, filter 0.15s;
}
.bins-deal-card-add:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}
.bins-deal-card[data-hue='gold'] {
    --bins-glow: rgba(255, 215, 0, 0.45);
}
.bins-deal-card[data-hue='cyan'] {
    --bins-glow: rgba(34, 211, 238, 0.35);
}
.bins-deal-card[data-hue='violet'] {
    --bins-glow: rgba(167, 139, 250, 0.4);
}
.bins-deal-card[data-hue='green'] {
    --bins-glow: rgba(16, 185, 129, 0.4);
}
.bins-deal-card[data-hue='magenta'] {
    --bins-glow: rgba(244, 114, 182, 0.35);
}
.bins-deal-detail {
    border-radius: 18px;
    padding: 22px 20px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 215, 0, 0.32);
    background: linear-gradient(165deg, rgba(40, 36, 58, 0.72), rgba(18, 16, 28, 0.88));
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    min-height: 5.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* BINS: show all deal breakdowns */
.bins-deal-detail-card {
    padding: 16px 16px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    margin-top: 14px;
}
.bins-deal-detail-card:first-child {
    margin-top: 0;
}
.bins-deal-detail--pulse {
    animation: binsDetailPulse 0.55s ease;
}
@keyframes binsDetailPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.45);
    }
    100% {
        box-shadow: 0 0 0 14px transparent;
    }
}
.bins-detail-placeholder {
    color: #9a92ae;
    text-align: center;
    margin: 0;
    font-size: 0.95rem;
}
.bins-detail-head {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin: 0 0 10px;
    letter-spacing: 0.08em;
}
.bins-detail-body {
    color: #d6d0e8;
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0;
}
.bins-detail-math {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Courier Prime', monospace;
    font-size: 0.92rem;
    color: var(--neon-green);
}
.bins-detail-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}
.bins-add-cart {
    min-width: 190px;
}
.bins-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}
.btn-bins-live,
.btn-bins-validator {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    padding: 14px 22px;
    border-radius: 14px;
    cursor: pointer;
    border: 2px solid var(--gold);
    transition: transform 0.15s, box-shadow 0.2s;
}
.btn-bins-live {
    background: linear-gradient(90deg, #3a2208, var(--gold) 45%, #3a2208);
    color: #000;
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.35);
}
.btn-bins-validator {
    background: transparent;
    color: var(--cyan);
    border-color: rgba(34, 211, 238, 0.6);
}
.btn-bins-live:hover,
.btn-bins-validator:hover {
    transform: translateY(-2px);
}
@media (max-width: 520px) {
    .bins-deals-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.nav-balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(10, 10, 14, 0.55);
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
}
/* Keep BAL compact so it never collides with tabs */
.nav-balance-pill {
    padding: 9px 12px;
    border-radius: 12px;
    flex: 0 0 auto;
}
.nav-balance-amt {
    min-width: 72px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.nav-balance-btn {
    cursor: pointer;
}
.nav-balance-btn:hover {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 22px rgba(34, 211, 238, 0.18);
}
.nav-balance-btn:active {
    transform: translateY(1px);
}
.nav-balance-label {
    color: rgba(34, 211, 238, 0.92);
    font-weight: 800;
}
.nav-balance-amt {
    color: var(--neon-green);
    font-weight: 800;
    letter-spacing: 0.04em;
}
.nav-cart-btn {
    position: relative;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 3px solid var(--gold);
    border-radius: 12px;
    padding: 10px 18px;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.45);
}
.nav-login-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon-green);
    background: transparent;
    border: 3px solid var(--neon-green);
    border-radius: 12px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.nav-login-btn:hover {
    background: var(--neon-green);
    color: #000;
}
.nav-guest-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #a8a0c0;
    border: 1px solid rgba(168, 160, 192, 0.45);
    border-radius: 10px;
    padding: 6px 10px;
    white-space: nowrap;
}
.nav-guest-badge--actions {
    margin-right: 4px;
    align-self: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(10, 10, 14, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    flex: 0 0 auto;
}
.nav-promo-btn {
    border-color: rgba(34, 211, 238, 0.55) !important;
    color: rgba(34, 211, 238, 0.95) !important;
}
.nav-promo-btn:hover {
    background: rgba(34, 211, 238, 0.14) !important;
    color: #fff !important;
}

/* —— KingsKards luxury nav: right column —— */
.kk-nav-lux .nav-cart-btn--lux {
    position: relative;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    padding: 10px 22px;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    background: linear-gradient(180deg, #121212 0%, #070707 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 22px rgba(212, 175, 55, 0.14);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}
.kk-nav-lux .nav-cart-btn--lux:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 220, 140, 0.75);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 32px rgba(255, 215, 120, 0.28),
        0 10px 28px rgba(0, 0, 0, 0.45);
}
.kk-nav-lux .nav-cart-btn--lux .cart-count {
    position: absolute;
    top: -7px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    margin: 0;
    padding: 0 5px;
    font-size: 0.68rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
    color: #0a0a0a;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.55);
}
.kk-nav-lux .nav-cart-btn--lux .cart-count.cart-count--empty {
    visibility: hidden;
}
.kk-nav-lux .nav-balance-pill--lux {
    border-radius: 999px;
    padding: 10px 18px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: rgba(6, 10, 14, 0.65);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 20px rgba(34, 211, 238, 0.12);
}
.kk-nav-lux .nav-balance-pill--lux .nav-balance-label,
.kk-nav-lux .nav-balance-pill--lux .nav-balance-amt {
    color: rgba(120, 250, 255, 0.95);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-shadow: 0 0 14px rgba(34, 211, 238, 0.35);
}
.kk-nav-lux .nav-balance-pill--lux .nav-balance-amt {
    font-variant-numeric: tabular-nums;
}
.kk-nav-lux .nav-user-btn--lux {
    border-radius: 999px;
    padding: 8px 16px 8px 10px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 18px rgba(212, 175, 55, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.kk-nav-lux .nav-user-btn--lux:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 220, 160, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 26px rgba(255, 215, 120, 0.22);
}
.kk-nav-lux .nav-user-btn--lux .nav-avatar {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(212, 175, 55, 0.45);
}
.kk-nav-lux .nav-login-btn--lux {
    border-radius: 999px;
    border-width: 1px;
    border-color: rgba(16, 185, 129, 0.65);
    padding: 10px 20px;
    letter-spacing: 0.12em;
}
.kk-nav-lux .nav-promo-btn--lux {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 999px !important;
    border: 1px solid rgba(34, 211, 238, 0.6) !important;
    padding: 10px 22px !important;
    letter-spacing: 0.14em;
    background: linear-gradient(150deg, rgba(34, 211, 238, 0.2) 0%, rgba(10, 18, 26, 0.92) 52%, rgba(6, 12, 18, 0.96) 100%) !important;
    color: #d8fdff !important;
    box-shadow:
        0 0 26px rgba(34, 211, 238, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.kk-nav-lux .nav-promo-btn--lux:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 36px rgba(34, 211, 238, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
@media (prefers-reduced-motion: no-preference) {
    .kk-nav-lux .nav-promo-btn--lux::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(
            105deg,
            transparent 38%,
            rgba(255, 255, 255, 0.18) 50%,
            transparent 62%
        );
        transform: translateX(-130%);
        animation: kkPromoShine 5s ease-in-out infinite;
        pointer-events: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .kk-nav-lux .nav-promo-btn--lux::after {
        display: none;
    }
}
@keyframes kkPromoShine {
    0%,
    40% {
        transform: translateX(-130%);
    }
    55% {
        transform: translateX(130%);
    }
    100% {
        transform: translateX(130%);
    }
}
.nav-back-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--cyan);
    background: transparent;
    border: 2px solid var(--cyan);
    border-radius: 12px;
    padding: 10px 20px;
    cursor: pointer;
}
.nav-back-btn:hover {
    background: rgba(34, 211, 238, 0.12);
}

/* Checkout: balance apply panel */
.checkout-balance-panel {
    margin: 14px 0 6px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(34, 211, 238, 0.18);
    background: rgba(8, 8, 12, 0.6);
}
.checkout-balance-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.86);
    user-select: none;
}
.checkout-balance-rows {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}
.checkout-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    font-family: 'Courier Prime', monospace;
    color: rgba(255, 255, 255, 0.82);
}
.checkout-balance-row strong {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-green);
    letter-spacing: 0.06em;
}
.nav-user-wrap {
    position: relative;
}
.nav-user-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.nav-user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-cart-btn--compact {
    font-size: 0.9rem;
    padding: 10px 14px;
    border-width: 3px;
}
.nav-cart-btn--compact .cart-count {
    margin-left: 8px;
}
.nav-user-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.08);
    border: 3px solid var(--gold);
    border-radius: 12px;
    padding: 10px 16px;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid rgba(34, 211, 238, 0.35);
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.18);
    background: rgba(0,0,0,0.4);
    flex: 0 0 auto;
}
.nav-username {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-caret {
    font-size: 0.75rem;
    opacity: 0.85;
}
.cart-count {
    background: var(--neon-green);
    color: #000;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-left: 8px;
    padding: 0 6px;
    position: relative;
    top: 0;
    right: 0;
    vertical-align: middle;
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #111;
    border: 3px solid var(--neon-green);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 200px;
    display: none;
    z-index: 1002;
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.35);
}
.dropdown a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
}
.dropdown a:hover {
    background: var(--neon-green);
    color: #000;
}
.dropdown a.dropdown-admin-panel {
    border-bottom: 1px solid rgba(255, 215, 0, 0.28);
    color: var(--gold);
}
.dropdown a.dropdown-admin-panel:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #0a0a0a;
}

/* ========== Notifications (nav bell) ========== */
.nav-notif-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    z-index: 1002;
}

.nav-msg-btn {
    border-color: rgba(34, 211, 238, 0.26);
    background: rgba(34, 211, 238, 0.06);
    color: var(--cyan);
}
.nav-msg-btn:hover {
    border-color: rgba(34, 211, 238, 0.42);
    background: rgba(34, 211, 238, 0.1);
}
.nav-msg-cta {
    margin-top: 12px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 2px solid rgba(34, 211, 238, 0.28);
    background: rgba(34, 211, 238, 0.08);
    color: #e6fbff;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.12em;
}
.nav-msg-cta:hover {
    filter: brightness(1.08);
}

/* ========== Full-screen screens (Messages / Inventory) ========== */
.kk-screen {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(16px);
}
.kk-screen__panel {
    position: absolute;
    inset: 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.08), transparent 45%),
        linear-gradient(180deg, rgba(10, 10, 14, 0.92) 0%, rgba(5, 4, 8, 0.96) 100%);
    box-shadow: 0 28px 110px rgba(0,0,0,0.75);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.kk-screen__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255,255,255,0.03);
}
.kk-screen__title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: rgba(245,246,248,0.94);
    text-shadow: 0 0 20px rgba(230,232,236,0.10);
}
.kk-screen__head-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.kk-screen__btn {
    border-radius: 12px;
    border: 1px solid rgba(245,246,248,0.24);
    background: rgba(245,246,248,0.08);
    color: rgba(245,246,248,0.94);
    padding: 10px 12px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
}
.kk-screen__btn:hover { filter: brightness(1.08); }
.kk-screen__btn--ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.14);
    color: rgba(196, 188, 216, 0.95);
}
.kk-screen__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.kk-msg-layout {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
}
@media (max-width: 880px) {
    .kk-screen__panel { inset: 10px; }
    .kk-msg-layout { grid-template-columns: 1fr; }
}
.kk-msg-list {
    overflow: auto;
    border-right: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.25);
    padding: 10px;
}
.kk-msg-list__empty {
    padding: 18px 14px;
    color: #8a8298;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
}
.kk-msg-row {
    width: 100%;
    text-align: left;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    padding: 12px 12px;
    cursor: pointer;
    color: #e8e0fc;
    margin-bottom: 10px;
    box-shadow: 0 12px 26px rgba(0,0,0,0.45);
}
.kk-msg-row:hover { border-color: rgba(230,232,236,0.24); filter: brightness(1.05); }
.kk-msg-row--unread { border-color: rgba(34,211,238,0.28); box-shadow: 0 0 24px rgba(34,211,238,0.10); }
.kk-msg-row__top { display:flex; justify-content:space-between; gap:10px; }
.kk-msg-row__kind {
    font-family:'Orbitron',sans-serif;
    font-size:0.58rem;
    letter-spacing:0.22em;
    color: rgba(34,211,238,0.92);
}
.kk-msg-row__when { font-size:0.72rem; color:#8a8298; }
.kk-msg-row__title {
    margin-top: 8px;
    font-family:'Orbitron',sans-serif;
    font-size:0.84rem;
    letter-spacing:0.08em;
}

.kk-msg-detail {
    overflow: auto;
    padding: 16px;
}
.kk-msg-empty {
    padding: 22px 16px;
    border-radius: 18px;
    border: 1px dashed rgba(255,255,255,0.16);
    color: #8a8298;
}
.kk-msg-card {
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        radial-gradient(circle at 20% 20%, rgba(255,215,0,0.06), transparent 45%),
        linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.28) 100%);
    box-shadow: 0 24px 90px rgba(0,0,0,0.55);
    padding: 18px 16px;
}
.kk-msg-card__kicker {
    font-family:'Orbitron',sans-serif;
    letter-spacing:0.28em;
    font-size:0.6rem;
    color: rgba(255,215,0,0.92);
}
.kk-msg-card__title {
    margin-top: 10px;
    font-family:'Orbitron',sans-serif;
    font-weight:900;
    letter-spacing:0.12em;
    font-size:1.05rem;
    color: #f8f4ff;
}
.kk-msg-card__meta {
    margin-top: 8px;
    color:#8a8298;
    font-size:0.85rem;
}
.kk-msg-card__body {
    margin-top: 14px;
    color:#d6d0e6;
    line-height: 1.55;
}
.kk-msg-card__row {
    margin-top: 12px;
    display:flex;
    gap:10px;
    flex-wrap: wrap;
    align-items: center;
    color:#c4bcd8;
    font-family:'Courier Prime',monospace;
}
.kk-msg-card__actions {
    margin-top: 16px;
    display:flex;
    gap: 10px;
    flex-wrap: wrap;
}
.kk-msg-lineitems {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.kk-msg-lineitems__k {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: var(--cyan);
    margin-bottom: 10px;
}
.kk-msg-lineitems__ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.kk-msg-lineitems__li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
}
.kk-msg-lineitems__thumb {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    place-items: center;
}
.kk-msg-lineitems__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.kk-msg-lineitems__thumb--ph::after {
    content: '♚';
    font-size: 1.25rem;
    opacity: 0.35;
}
.kk-msg-lineitems__txt {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #e8e0f8;
    font-size: 0.88rem;
}
.kk-msg-lineitems__pr {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.06em;
}
.nav-notif-wrap--hidden {
    display: none !important;
}
.nav-notif-btn {
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.28);
    background: rgba(255, 215, 0, 0.06);
    color: var(--gold);
    border-radius: 12px;
    padding: 9px 10px;
    cursor: pointer;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.nav-notif-btn:hover {
    border-color: rgba(255, 215, 0, 0.46);
    background: rgba(255, 215, 0, 0.1);
}
.nav-notif-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: #000;
    background: var(--neon-green);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
}
.nav-notif-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(420px, 92vw);
    max-height: min(60vh, 520px);
    overflow: auto;
    background: rgba(10, 10, 10, 0.86);
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.72);
    z-index: 1500;
}
.nav-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 12px 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.14);
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.14em;
    font-weight: 900;
}
.nav-notif-close {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 2px 6px;
}
.nav-notif-list {
    padding: 10px 12px 12px;
    display: grid;
    gap: 10px;
}
.nav-notif-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 10px 9px;
    background: rgba(255, 255, 255, 0.03);
}
.nav-notif-item--unread {
    border-color: rgba(16, 185, 129, 0.28);
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.08) inset;
}
.nav-notif-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.nav-notif-title {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.06em;
    font-size: 0.92rem;
}
.nav-notif-when {
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Courier Prime', monospace;
    font-size: 0.78rem;
    white-space: nowrap;
}
.nav-notif-body {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Courier Prime', monospace;
    font-size: 0.86rem;
    line-height: 1.25rem;
}
.nav-notif-empty {
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Courier Prime', monospace;
    padding: 10px 2px;
}

/* Inventory download link (paid Toolz delivery) */
.inventory-download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    background: rgba(16, 185, 129, 0.08);
    color: #d8fff0;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
    width: fit-content;
}
.inventory-download-link:hover {
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.12);
    color: #ffffff;
}

.tab-content {
    display: none;
    position: relative;
    z-index: 2;
    /* Fixed nav offset (dynamic via JS) */
    padding-top: calc(var(--nav-h) + 22px);
    padding-bottom: calc(24px + var(--legal-h));
    height: 100vh;
    overflow-y: auto;
    opacity: 0;
}
.tab-content.active {
    display: block;
    opacity: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 -48px 90px rgba(0, 0, 0, 0.18);
}
.tab-content.tab-enter {
    animation: tabPageIn 0.32s cubic-bezier(0.22, 1, 0.32, 1) both;
}
@keyframes tabPageIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Depth page transitions (layered) ========== */
.tab-content.tab-exit {
    animation: kkTabExit 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: transform, filter, opacity;
}
@keyframes kkTabExit {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    100% {
        opacity: 0.2;
        transform: translateY(-8px) scale(0.988);
        filter: blur(6px) saturate(0.9);
    }
}

.kk-transition {
    position: fixed;
    inset: 0;
    z-index: 1400; /* above nav, below modals if they use 9999+ */
    pointer-events: none;
    opacity: 0;
    transform: translateZ(0);
}
.kk-transition::before,
.kk-transition::after {
    content: "";
    position: absolute;
    inset: -20%;
    opacity: 0;
    transform: translateZ(0);
}
/* Layer 1: gold/cyan sweep */
.kk-transition::before {
    background:
        radial-gradient(ellipse 60% 55% at 20% 20%, rgba(255, 215, 0, 0.22), transparent 55%),
        radial-gradient(ellipse 50% 45% at 80% 75%, rgba(34, 211, 238, 0.16), transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.34) 65%, rgba(0, 0, 0, 0.52) 100%);
    filter: blur(10px);
}
/* Layer 2: vignette + depth shadow */
.kk-transition::after {
    background:
        radial-gradient(ellipse 120% 90% at 50% 50%, rgba(0, 0, 0, 0.0) 35%, rgba(0, 0, 0, 0.72) 100%);
    filter: blur(2px);
}

body.kk-transit .kk-transition {
    opacity: 1;
}
body.kk-transit .kk-transition::before {
    animation: kkDepthSweep 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}
body.kk-transit .kk-transition::after {
    animation: kkDepthVignette 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes kkDepthSweep {
    0% { opacity: 0; transform: translate3d(-18px, 14px, 0) scale(1.02); }
    55% { opacity: 1; transform: translate3d(6px, -6px, 0) scale(1.00); }
    100% { opacity: 0; transform: translate3d(16px, -14px, 0) scale(0.995); }
}
@keyframes kkDepthVignette {
    0% { opacity: 0; transform: scale(1.02); }
    60% { opacity: 1; transform: scale(1.00); }
    100% { opacity: 0; transform: scale(0.995); }
}

@media (prefers-reduced-motion: reduce) {
    .tab-content.tab-exit { animation: none !important; }
    body.kk-transit .kk-transition::before,
    body.kk-transit .kk-transition::after { animation: none !important; }
}

/* ========== Legal notice — compact corner card (all pages) ========== */
body.legal-open {
    --legal-h: min(168px, 34vh);
}
body.legal-closed {
    --legal-h: 46px;
}
.legal-ribbon {
    position: fixed;
    left: auto;
    right: max(10px, env(safe-area-inset-right, 10px));
    bottom: max(10px, env(safe-area-inset-bottom, 10px));
    width: min(292px, calc(100vw - 20px));
    max-height: min(46vh, 300px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 10, 10, 0.88);
    border: 1px solid rgba(255, 215, 0, 0.28);
    border-radius: 12px;
    backdrop-filter: blur(14px);
    box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.72),
        0 0 20px rgba(255, 215, 0, 0.06);
    overflow: hidden;
}
body.legal-closed .legal-ribbon {
    max-height: none;
}
.legal-ribbon-toggle {
    flex: 0 0 auto;
    appearance: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    background: rgba(255, 215, 0, 0.07);
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 0.16em;
    font-size: 0.62rem;
    padding: 8px 10px;
    cursor: pointer;
}
.legal-ribbon__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
body.legal-closed .legal-ribbon__content {
    display: none;
}
.legal-ribbon__title {
    padding: 6px 10px 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: rgba(255, 215, 0, 0.75);
}
.legal-ribbon-toggle::after {
    content: '▾';
    opacity: 0.9;
}
body.legal-closed .legal-ribbon-toggle::after {
    content: '▸';
}
.legal-ribbon-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 6px 10px 10px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.72rem;
    line-height: 1.35rem;
}
.legal-ribbon-item strong {
    color: #fff;
}
@media (max-width: 860px) {
    .legal-ribbon-body {
        flex-direction: column;
        gap: 8px;
        font-size: 0.7rem;
    }
}

/* Expandable full legal copy — stays compact until opened */
.legal-details {
    margin-top: 8px;
    width: 100%;
}
.legal-details__summary {
    cursor: pointer;
    list-style: none;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: rgba(255, 215, 0, 0.85);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    padding: 4px 0;
    user-select: none;
}
.legal-details__summary::-webkit-details-marker {
    display: none;
}
.legal-details__summary::after {
    content: ' \25BE';
    font-size: 0.65rem;
    opacity: 0.85;
}
.legal-details[open] .legal-details__summary::after {
    content: ' \25B4';
}
.legal-details__scroll {
    max-height: 5.5rem;
    overflow-y: auto;
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 215, 0, 0.12);
    font-size: 0.68rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.82);
}
.legal-details__scroll p {
    margin: 0 0 0.45rem;
}
.legal-details__scroll p:last-child {
    margin-bottom: 0;
}
.legal-details__scroll strong {
    color: #fff;
    font-weight: 600;
}

/* Checkout page — corner legal card to match main shop */
.checkout-legal-wrap {
    position: fixed;
    left: auto;
    right: max(10px, env(safe-area-inset-right, 10px));
    bottom: max(10px, env(safe-area-inset-bottom, 10px));
    z-index: 8000;
    width: min(292px, calc(100vw - 20px));
    max-height: min(42vh, 280px);
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 10, 10, 0.88);
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    padding: 6px 10px 8px;
}
.checkout-legal-wrap .legal-details {
    margin-top: 0;
}
.checkout-has-legal-foot .checkout-page-main {
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
}

/* Avoid covering modals on short screens */
body.legal-open .royal-modal {
    margin-bottom: min(120px, 22vh);
}

.hero-title {
    text-align: center;
    padding-top: 120px;
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    color: var(--neon-green);
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}
.hero-sub {
    text-align: center;
    font-size: 2rem;
    color: var(--cyan);
    margin-top: 12px;
}
.inventory-heading {
    text-align: center;
    padding-top: 120px;
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: var(--gold);
    text-shadow: 0 0 24px rgba(255, 215, 0, 0.4);
}

/* ========== LIVE tab — gamble / drops floor ========== */
.live-tab-content {
    position: relative;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 0, 60, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 45% at 100% 30%, rgba(16, 185, 129, 0.08), transparent 50%),
        linear-gradient(180deg, #060508 0%, #0a080c 40%, #050308 100%);
    min-height: 100vh;
    box-sizing: border-box;
    overflow-x: hidden;
}
.live-tab-content::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.75;
    background:
        radial-gradient(circle at 18% 35%, rgba(34, 211, 238, 0.12), transparent 45%),
        radial-gradient(circle at 82% 55%, rgba(255, 215, 0, 0.10), transparent 48%),
        radial-gradient(circle at 50% 88%, rgba(255, 34, 68, 0.10), transparent 52%);
    filter: blur(0px);
    animation: liveGlowSweep 14s ease-in-out infinite alternate;
}
@keyframes liveGlowSweep {
    from {
        transform: translateY(-6px) scale(1);
        opacity: 0.55;
    }
    to {
        transform: translateY(8px) scale(1.02);
        opacity: 0.9;
    }
}
.live-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 70%, rgba(255, 215, 0, 0.04), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 60, 0.06), transparent 30%);
    animation: liveAmbientDrift 18s ease-in-out infinite alternate;
}
@keyframes liveAmbientDrift {
    from {
        opacity: 0.65;
        transform: scale(1);
    }
    to {
        opacity: 1;
        transform: scale(1.04);
    }
}
.live-tab-header,
.live-grid,
.live-pagination {
    position: relative;
    z-index: 1;
}
.live-tab-header {
    text-align: center;
    padding: 96px 16px 12px;
    position: relative;
}
.live-tab-header::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(520px, 90vw);
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
}
.live-tab-pill {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.42em;
    color: #ff2244;
    text-shadow: 0 0 18px rgba(255, 34, 68, 0.75);
    margin-bottom: 8px;
}
.live-tab-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.75rem, 4.5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0.14em;
    color: #f8f4ff;
    text-shadow: 0 0 28px rgba(255, 215, 0, 0.35), 0 0 60px rgba(255, 0, 60, 0.15);
    margin: 0;
}
.live-tab-sub {
    margin: 10px 0 0;
    font-size: 0.92rem;
    color: #8a8298;
    letter-spacing: 0.06em;
}
.live-pulse-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    margin-top: 18px;
    padding: 10px 14px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: #9a92a8;
}
.live-pulse-row {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 22px rgba(34, 211, 238, 0.10),
        0 0 26px rgba(255, 215, 0, 0.06);
}
.live-pulse-row:hover {
    border-color: rgba(255, 215, 0, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 26px rgba(34, 211, 238, 0.14),
        0 0 34px rgba(255, 34, 68, 0.08);
}
.live-dot-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px #22c55e;
    animation: liveDotPulse 1.2s ease-in-out infinite;
}
@keyframes liveDotPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.35);
        opacity: 0.65;
    }
}
.live-viewers-label {
    color: #6b6578;
    text-transform: uppercase;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
}
.live-viewers-count {
    color: var(--neon-green);
    font-weight: 800;
    font-size: 0.85rem;
    text-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
}
.live-ticker-sep {
    color: #444;
}
.live-ticker-strip {
    color: #c4bcd8;
    font-size: 0.62rem;
    max-width: 340px;
    text-align: center;
    line-height: 1.35;
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 12px;
    padding: 18px 14px 28px;
    max-width: 1320px;
    margin: 0 auto 28px;
    box-sizing: border-box;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 25% 15%, rgba(255, 215, 0, 0.08), transparent 42%),
        radial-gradient(circle at 78% 30%, rgba(34, 211, 238, 0.09), transparent 45%),
        linear-gradient(180deg, rgba(8, 6, 10, 0.65) 0%, rgba(0, 0, 0, 0.28) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 24px 90px rgba(0, 0, 0, 0.55),
        0 0 44px rgba(255, 0, 60, 0.08);
}
@media (min-width: 1100px) {
    .live-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (min-width: 1440px) {
    .live-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.live-slot-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px 4px;
}
.live-slot-top__id {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    color: rgba(196, 188, 216, 0.92);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.live-card-meta-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 2px 8px 6px;
}
.live-meta-chip {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.42);
    color: rgba(232, 228, 242, 0.96);
    text-transform: uppercase;
    max-width: 100%;
    line-height: 1.2;
}
.live-meta-chip--credit {
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.12);
    color: rgba(200, 250, 255, 0.98);
}
.live-meta-chip--debit {
    border-color: rgba(244, 114, 182, 0.38);
    box-shadow: 0 0 12px rgba(244, 114, 182, 0.1);
    color: rgba(252, 220, 240, 0.98);
}
.live-meta-chip--level {
    border-color: rgba(212, 175, 55, 0.28);
    color: rgba(255, 236, 200, 0.95);
}

.live-drop-card.product-card {
    position: relative;
    /* "Real card" feel: card stock + edge + soft gloss */
    background:
        radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.08), transparent 42%),
        radial-gradient(circle at 70% 85%, rgba(34, 211, 238, 0.07), transparent 50%),
        linear-gradient(165deg, rgba(18, 10, 22, 0.96) 0%, rgba(6, 5, 9, 0.98) 100%);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0 0 10px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s, border-color 0.2s;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
    animation: liveCardPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: calc(var(--live-i, 0) * 0.035s);
    display: flex;
    flex-direction: column;
}
.live-drop-card.product-card::marker {
    content: '';
}
.live-drop-card.product-card {
    /* Compact retail tile — height comes from content, not a tall flex stretch */
    min-height: 0;
}
.live-drop-card.product-card .live-plastic-wrap {
    flex: 0 0 auto;
}
.live-drop-card.product-card .live-drop-text-block {
    flex: 0 1 auto;
    min-height: 0;
}
.live-drop-card.product-card .btn-add-cart {
    flex: 0 0 auto;
}
.live-drop-card.product-card::before {
    /* Keep the subtle "print lines" texture but make it feel like paper grain */
    opacity: 0.22;
}
.live-drop-card.product-card .live-plastic-wrap {
    margin: 6px auto 0;
    max-width: 168px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.22);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.live-drop-card.product-card .live-plastic-img {
    border-radius: 12px;
    filter: saturate(1.05) contrast(1.05);
}
.live-drop-card.product-card .live-drop-text-block {
    padding: 6px 10px 0;
}
.live-drop-card.product-card .btn-add-cart {
    margin-top: auto;
}
@keyframes liveCardPop {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.live-drop-card.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.02) 3px,
        rgba(255, 255, 255, 0.02) 4px
    );
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: overlay;
}
.live-drop-card.product-card::after {
    content: '';
    position: absolute;
    inset: -40% -40%;
    background: conic-gradient(from 120deg, transparent 0deg, rgba(255, 215, 0, 0.06) 60deg, transparent 120deg);
    animation: liveCardShimmer 3.25s linear infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s;
}
.live-drop-card.product-card:hover {
    transform: translateY(-6px) scale(1.02) rotate(-0.5deg);
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.65),
        0 0 32px rgba(255, 0, 60, 0.18),
        0 0 48px rgba(16, 185, 129, 0.12);
}

.live-drop-card.product-card:active {
    transform: translateY(-2px) scale(1.01);
    filter: brightness(1.03);
}
.live-drop-card.product-card:hover {
    filter: saturate(1.06);
}
.live-drop-card.product-card:hover::after {
    opacity: 1;
}
@keyframes liveCardShimmer {
    to {
        transform: rotate(360deg);
    }
}

/* LIVE: moving grid energy (transform-only, per-card offsets via CSS vars) */
.live-drop-card.product-card {
    --dx: 10px;
    --dy: 8px;
    --rot: 0.6deg;
}
.live-drop-card.product-card {
    animation:
        liveCardPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards,
        liveFloorDrift calc(3.85s + (var(--live-i, 0) * 0.04s)) ease-in-out infinite alternate,
        liveFloorWobble calc(1.2s + (var(--live-i, 0) * 0.008s)) ease-in-out infinite;
}
.live-drop-card.product-card:hover {
    animation-play-state: paused;
}
@keyframes liveFloorDrift {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); }
    100% { transform: translate3d(var(--dx), calc(var(--dy) * -1), 0) rotate(var(--rot)); }
}
@keyframes liveFloorWobble {
    0%, 100% { filter: saturate(1.06); }
    50% { filter: saturate(1.12) brightness(1.03); }
}
@media (prefers-reduced-motion: reduce) {
    .live-drop-card.product-card {
        animation: liveCardPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) backwards !important;
    }
}

.live-drop-card--floor {
    border-color: rgba(34, 211, 238, 0.25);
}
.live-drop-card--mid {
    border-color: rgba(16, 185, 129, 0.35);
}
.live-drop-card--hot {
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.12);
}
.live-drop-card--whale {
    border-color: rgba(255, 34, 68, 0.45);
    box-shadow: 0 0 26px rgba(255, 34, 68, 0.15);
}
.live-drop-card--grail {
    border-color: rgba(255, 215, 0, 0.65);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), 0 0 40px rgba(255, 0, 60, 0.12);
}
.live-drop-card--floor {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 26px rgba(34, 211, 238, 0.10);
}
.live-drop-card--mid {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 26px rgba(16, 185, 129, 0.10);
}
.live-drop-card--hot {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 215, 0, 0.12);
}
.live-drop-card--whale {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 32px rgba(255, 34, 68, 0.14);
}

.live-drop-badge {
    display: inline-block;
    margin: 4px auto 2px;
    padding: 3px 8px;
    border-radius: 999px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: #0a0a0a;
    background: linear-gradient(90deg, #ffd700, #ff9f1c);
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.45);
}
.live-drop-card--floor .live-drop-badge {
    background: linear-gradient(90deg, #22d3ee, #0ea5e9);
    color: #020617;
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.35);
}
.live-drop-card--whale .live-drop-badge,
.live-drop-card--grail .live-drop-badge {
    background: linear-gradient(90deg, #ff2244, #ff6b35);
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.live-plastic-wrap {
    position: relative;
    margin: 6px 10px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.live-flag-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-size: 1.35rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65));
    pointer-events: none;
}
.live-masked-pan {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 6px 8px 7px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    color: #f5f0e6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    background: linear-gradient(0deg, rgba(8, 6, 10, 0.92) 0%, transparent 100%);
    text-align: center;
    pointer-events: none;
}
.live-plastic-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 200 / 126;
    object-fit: cover;
    border-radius: 12px;
}
.live-drop-text-block {
    padding: 6px 8px 0;
    position: relative;
    z-index: 1;
}
.live-drop-line {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #9a92ac;
    margin: 0 0 4px;
    line-height: 1.3;
}
.live-drop-line--1 {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #e8e0fc;
    margin-top: 2px;
}
.live-drop-line--2 {
    color: #c4bcd8;
    letter-spacing: 0.12em;
}
.live-drop-line--3 {
    font-size: 0.56rem;
    letter-spacing: 0.04em;
    color: #8f879c;
    margin-bottom: 4px;
    word-break: break-word;
    line-height: 1.38;
    max-width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.live-card-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.12rem;
    font-weight: 900;
    color: var(--neon-green);
    text-shadow: 0 0 18px rgba(16, 185, 129, 0.55);
    margin: 2px 0 0;
    letter-spacing: 0.04em;
}
.live-card-premium-hint {
    font-size: 0.68rem;
    line-height: 1.35;
    color: #fbbf24;
    margin: 6px 0 0;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}
.live-drop-card--whale .live-card-price,
.live-drop-card--grail .live-card-price {
    color: #ffd700;
    text-shadow: 0 0 22px rgba(255, 215, 0, 0.5);
}

.live-drop-card.product-card .btn-add-cart {
    margin: 8px 10px 0;
    width: calc(100% - 20px);
    padding: 8px 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
    color: #020617;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.35);
    transition: transform 0.15s, filter 0.15s;
}
.live-drop-card.product-card .btn-add-cart:hover {
    filter: brightness(1.08);
    transform: scale(1.02);
}

.live-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px 36px;
    max-width: 1280px;
    margin: 0 auto;
}
.live-page-btn {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    min-width: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(12, 10, 16, 0.9);
    color: #c9c2d8;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.live-page-btn:hover:not(:disabled) {
    border-color: rgba(255, 215, 0, 0.55);
    color: #fff;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.15);
}
.live-page-btn:disabled {
    opacity: 0.35;
    cursor: default;
}
.live-page-btn.live-page-btn--active {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}
.live-page-ellipsis {
    color: #555;
    font-size: 0.85rem;
    padding: 0 4px;
}

/* Legacy cart / other contexts */
.btn-add-cart {
    margin-top: 12px;
    background: var(--neon-green);
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
}
.btn-remove-cart {
    background: var(--danger);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

/* Inventory "own screen" */
.inventory-screen {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    background:
        radial-gradient(1200px 600px at 25% 20%, rgba(34, 211, 238, 0.09), transparent 55%),
        radial-gradient(1000px 520px at 80% 40%, rgba(255, 215, 0, 0.07), transparent 58%),
        rgba(6, 6, 10, 0.96);
    overflow: auto;
}
.inventory-screen.is-open {
    display: block;
}
.inventory-shell {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px clamp(14px, 4vw, 36px) 72px;
    box-sizing: border-box;
}
.inventory-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0 12px;
}
.inventory-kicker {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: rgba(34, 211, 238, 0.92);
    margin-bottom: 10px;
}
.inventory-heading {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--gold);
    text-shadow: 0 0 26px rgba(255, 215, 0, 0.25);
}
.inventory-sub {
    margin: 10px 0 0;
    color: #8e889b;
    max-width: 64ch;
    line-height: 1.6;
}
.inventory-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr);
    gap: 10px 12px;
    margin: 14px 0 14px;
    padding: 12px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 14, 0.55);
}
.inventory-control-row {
    display: grid;
    gap: 8px;
}
.inventory-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.7);
}
.inventory-control-row .inventory-label {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    margin-bottom: 2px;
}
.inventory-select {
    padding: 12px 14px;
}
.inventory-select.inventory-select--compact {
    padding: 7px 10px;
    font-size: 0.78rem;
    line-height: 1.25;
    min-height: 0;
    border-radius: 12px;
}
.inventory-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: flex-start;
}
.inventory-actions--nav {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
}
.inventory-btn.inventory-btn--compact {
    padding: 6px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    border-radius: 10px;
}
.inventory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: end;
}
.inventory-btn {
    white-space: nowrap;
}
.inventory-summary {
    margin: 10px 0 18px;
    color: #b8b0cc;
    font-family: 'Courier Prime', monospace;
}

/* —— Inventory hub (category home) —— */
.inventory-panel-hub {
    padding: 8px 0 48px;
}
.inventory-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2.5vw, 22px);
    max-width: 820px;
    margin: 0 auto;
}
@media (max-width: 560px) {
    .inventory-hub-grid {
        grid-template-columns: 1fr;
    }
}
.inventory-hub-tile {
    position: relative;
    border: none;
    border-radius: 22px;
    padding: 0;
    cursor: pointer;
    text-align: left;
    color: #f4f4f8;
    min-height: 148px;
    overflow: hidden;
    transform: translateY(0);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
    box-shadow:
        0 6px 0 rgba(0, 0, 0, 0.45),
        0 14px 40px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.inventory-hub-tile:hover {
    transform: translateY(-3px);
    filter: brightness(1.06);
    box-shadow:
        0 8px 0 rgba(0, 0, 0, 0.4),
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.inventory-hub-tile:active {
    transform: translateY(4px);
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.5),
        0 8px 24px rgba(0, 0, 0, 0.45),
        inset 0 2px 10px rgba(0, 0, 0, 0.35);
}
.inventory-hub-tile__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%, transparent 100%);
    pointer-events: none;
}
.inventory-hub-tile__body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 22px 20px;
    z-index: 1;
}
.inventory-hub-tile__label {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 900;
    letter-spacing: 0.28em;
    text-shadow: 0 0 22px rgba(0, 0, 0, 0.45);
}
.inventory-hub-tile__hint {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}
.inventory-hub-tile__count {
    margin-top: auto;
    align-self: flex-end;
    min-width: 2.5rem;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.inventory-hub-tile--live {
    background: linear-gradient(155deg, rgba(12, 74, 110, 0.95), rgba(6, 12, 28, 0.98));
    border: 1px solid rgba(34, 211, 238, 0.45);
}
.inventory-hub-tile--bins {
    background: linear-gradient(155deg, rgba(72, 42, 120, 0.92), rgba(10, 8, 20, 0.98));
    border: 1px solid rgba(167, 139, 250, 0.42);
}
.inventory-hub-tile--toolz {
    background: linear-gradient(155deg, rgba(18, 90, 70, 0.92), rgba(6, 14, 12, 0.98));
    border: 1px solid rgba(52, 211, 153, 0.4);
}
.inventory-hub-tile--all {
    background: linear-gradient(155deg, rgba(90, 70, 20, 0.95), rgba(14, 10, 6, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.42);
}
.inventory-hub-tile--all .inventory-hub-tile__label {
    color: var(--gold);
}

/* —— Inventory 3D buttons (browse + chrome) —— */
.inventory-btn-3d {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid rgba(255, 215, 0, 0.28);
    color: rgba(255, 250, 235, 0.95);
    background: linear-gradient(180deg, rgba(48, 44, 58, 0.95) 0%, rgba(18, 16, 26, 0.98) 100%);
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.42),
        0 8px 22px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}
.inventory-btn-3d:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}
.inventory-btn-3d:active {
    transform: translateY(3px);
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.5),
        inset 0 2px 8px rgba(0, 0, 0, 0.35);
}
.inventory-btn-3d--ghost {
    background: linear-gradient(180deg, rgba(28, 32, 44, 0.9) 0%, rgba(10, 12, 18, 0.95) 100%);
    border-color: rgba(34, 211, 238, 0.35);
    color: rgba(186, 230, 253, 0.95);
}
.inventory-btn-3d--muted {
    opacity: 0.88;
    border-color: rgba(255, 255, 255, 0.12);
}
.inventory-browse-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 14, 0.55);
}
.inventory-browse-bar__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: rgba(255, 215, 0, 0.85);
}
.inventory-panel-default .inventory-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
}
.inventory-select-3d {
    box-shadow:
        inset 0 3px 8px rgba(0, 0, 0, 0.45),
        0 2px 0 rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 215, 0, 0.22) !important;
}
.inventory-grid--browse,
.inventory-grid--category,
.inventory-grid {
    perspective: 1200px;
}
.inventory-card.inventory-card--3d {
    transform-style: preserve-3d;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
    box-shadow:
        0 5px 0 rgba(0, 0, 0, 0.38),
        0 14px 40px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.inventory-card.inventory-card--3d:hover {
    transform: translateY(-6px) rotateX(3.5deg);
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow:
        0 10px 0 rgba(0, 0, 0, 0.28),
        0 24px 60px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.inventory-card.inventory-card--3d:active {
    transform: translateY(-2px) rotateX(1.5deg);
}
.inventory-card--live.inventory-card--rich {
    grid-template-columns: minmax(0, 1fr);
    border-color: rgba(34, 211, 238, 0.38);
    background: linear-gradient(165deg, rgba(12, 28, 42, 0.95), rgba(8, 10, 18, 0.98));
    box-shadow:
        0 5px 0 rgba(0, 0, 0, 0.4),
        0 14px 44px rgba(0, 0, 0, 0.45),
        0 0 32px rgba(34, 211, 238, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.inventory-card__live-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    width: 100%;
}
.inventory-card__live-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 2px 2px 4px;
}
.inventory-card__live-kv {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.16);
    background: rgba(0, 0, 0, 0.35);
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.inventory-card__live-kv-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(186, 230, 253, 0.82);
}
.inventory-card__live-kv-val {
    font-family: 'Courier Prime', monospace;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(248, 250, 252, 0.94);
    word-break: break-word;
    overflow-wrap: anywhere;
    min-width: 0;
    max-height: 5.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.inventory-card__live-kv-val--vault {
    white-space: pre-wrap;
    max-height: 7.5rem;
}
.inventory-card--live.inventory-card--3d:hover {
    border-color: rgba(34, 211, 238, 0.55);
    box-shadow:
        0 10px 0 rgba(0, 0, 0, 0.3),
        0 24px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(34, 211, 238, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.inventory-card__media--live-card {
    aspect-ratio: 1.586 / 1;
    max-height: min(220px, 42vw);
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    min-height: 0;
    border-radius: 16px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.45);
}
.inventory-card__media--live-card .inventory-card__live-img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
}
@media (max-width: 560px) {
    .inventory-card--live.inventory-card--rich {
        grid-template-columns: 1fr;
    }
    .inventory-card__media--live-card {
        max-width: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    .inventory-hub-tile,
    .inventory-hub-tile:hover,
    .inventory-hub-tile:active,
    .inventory-btn-3d,
    .inventory-btn-3d:hover,
    .inventory-btn-3d:active,
    .inventory-card.inventory-card--3d,
    .inventory-card.inventory-card--3d:hover,
    .inventory-card.inventory-card--3d:active {
        transition: none;
        transform: none;
    }
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
@media (max-width: 980px) {
    .inventory-controls { grid-template-columns: 1fr; }
    .inventory-actions { justify-content: flex-start; }
    .inventory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .inventory-grid { grid-template-columns: 1fr; }
}
.inventory-card {
    background: linear-gradient(165deg, rgba(18, 16, 24, 0.9), rgba(10, 10, 14, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.22);
    border-radius: 18px;
    padding: 18px 18px;
    text-align: left;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}
.inventory-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    padding: 60px;
    line-height: 1.6;
}

.inventory-card--rich {
    display: grid;
    grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
    gap: 14px 16px;
    align-items: stretch;
    padding: 16px;
}
@media (max-width: 560px) {
    .inventory-card--rich {
        grid-template-columns: 1fr;
    }
}
.inventory-card__media {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    min-height: 100px;
    display: grid;
    place-items: center;
}
.inventory-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 100px;
}
.inventory-card__thumb-fallback {
    width: 100%;
    min-height: 100px;
    display: grid;
    place-items: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.92);
}
.inventory-card__thumb-fallback--def {
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.2), transparent 55%),
        linear-gradient(165deg, #141018, #08080c);
}
.inventory-card__thumb-fallback--bal {
    background: radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.25), transparent 55%),
        linear-gradient(165deg, #0f1814, #080c0a);
    color: var(--neon-green);
}
.inventory-card__thumb-fallback--promo {
    background: radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.25), transparent 55%),
        linear-gradient(165deg, #160f1c, #0a080c);
    color: #e9d5ff;
}
.inventory-card__thumb-fallback--bins {
    background: linear-gradient(165deg, rgba(24, 22, 32, 0.95), rgba(8, 8, 12, 0.98));
}
.inventory-card__thumb-fallback--bins.inventory-card__thumb-fallback--cyan {
    box-shadow: inset 0 0 0 2px rgba(34, 211, 238, 0.35);
}
.inventory-card__thumb-fallback--bins.inventory-card__thumb-fallback--green {
    box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.35);
}
.inventory-card__thumb-fallback--bins.inventory-card__thumb-fallback--violet {
    box-shadow: inset 0 0 0 2px rgba(167, 139, 250, 0.35);
}
.inventory-card__thumb-fallback--bins.inventory-card__thumb-fallback--gold {
    box-shadow: inset 0 0 0 2px rgba(255, 215, 0, 0.35);
}
.inventory-card__thumb-fallback--bins.inventory-card__thumb-fallback--magenta {
    box-shadow: inset 0 0 0 2px rgba(244, 114, 182, 0.35);
}
.inventory-card__body {
    min-width: 0;
}
.inventory-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.inventory-card__title {
    margin: 0;
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    line-height: 1.25;
}
.inventory-pill {
    flex: 0 0 auto;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 0.16em;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.inventory-pill--loc {
    color: var(--neon-green);
    border-color: rgba(16, 185, 129, 0.35);
}
.inventory-pill--srv {
    color: var(--cyan);
    border-color: rgba(34, 211, 238, 0.35);
}
.inventory-card__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}
.inventory-card__price-row--when-only {
    justify-content: flex-end;
}
.inventory-panel-category {
    padding: 8px 0 48px;
}
.inventory-category-head {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 18px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 14, 0.55);
}
.inventory-category-live-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
.inventory-category-typed-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
@media (min-width: 720px) {
    .inventory-category-live-actions {
        width: auto;
        flex: 0 0 auto;
    }
    .inventory-category-typed-actions {
        width: auto;
        flex: 0 0 auto;
    }
}
.inventory-category-title {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.1rem, 2.6vw, 1.45rem);
    letter-spacing: 0.12em;
    color: var(--cyan);
    text-shadow: 0 0 18px rgba(34, 211, 238, 0.2);
}
.inventory-card__price {
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
}
.inventory-card__when {
    color: #8e889b;
    font-family: 'Courier Prime', monospace;
    font-size: 0.82rem;
}
.inventory-card__dl {
    margin: 12px 0 0;
    display: grid;
    gap: 8px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.86rem;
    color: #b8b0cc;
}
.inventory-card__dl > div {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 10px;
    align-items: baseline;
}
.inventory-card__dl dt {
    margin: 0;
    color: #7a7488;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}
.inventory-card__dl dd {
    margin: 0;
}
.inventory-card__actions {
    margin-top: 12px;
}

#cart-toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    border: 4px solid var(--gold);
    color: var(--neon-green);
    padding: 20px 40px;
    border-radius: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    box-shadow: 0 0 40px var(--gold);
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 999999;
    animation: toastPop 0.3s ease forwards;
}
.toast-crown {
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 0 16px var(--gold);
}
@keyframes toastPop {
    0% { transform: translateX(-50%) scale(0.8); opacity: 0; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* ===== Unified royal modals ===== */
.royal-modal-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* Promo redeem — stack above cart/checkout modals, match site blur */
#promo-modal.royal-modal-backdrop {
    z-index: 200100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
    padding: clamp(16px, 4vw, 32px);
}
.promo-modal-lead {
    margin-bottom: 14px !important;
    font-size: 0.95rem;
    color: rgba(203, 198, 220, 0.95);
}
.promo-modal-input {
    margin-top: 4px;
    margin-bottom: 4px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.promo-modal-note {
    min-height: 1.35em;
    margin: 10px 0 18px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
    color: rgba(248, 250, 252, 0.92);
}
.promo-modal-note--pending {
    color: var(--cyan);
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.25);
}
.promo-modal-note--err {
    color: #fca5a5;
    text-shadow: 0 0 10px rgba(248, 113, 113, 0.25);
}
.promo-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4px;
}
.promo-modal-btn {
    width: auto !important;
    min-width: 140px;
    flex: 1 1 calc(50% - 8px);
    max-width: 220px;
    padding: 14px 18px !important;
    font-size: 1.05rem !important;
    margin-top: 0 !important;
}

/* ===== Account modal ===== */
.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 6px;
    text-align: left;
}
.account-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.10), inset 0 0 28px rgba(34, 211, 238, 0.04);
}
.account-k {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
}
.account-v {
    margin-top: 10px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    word-break: break-word;
}
.account-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
}
@media (max-width: 720px) {
    .account-grid { grid-template-columns: 1fr; }
}

.account-block {
    margin-top: 14px;
    padding: 14px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.28);
    text-align: left;
}
.account-block__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.account-block__title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.78);
}
.account-orders {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}
.account-order {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    padding: 12px 12px;
    box-shadow: 0 0 18px rgba(34,211,238,0.08);
}
.account-order__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}
.account-order__title {
    font-family: 'Orbitron', sans-serif;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.08em;
    font-size: 0.9rem;
}
.account-order__amt {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: rgba(255,215,0,0.90);
}
.account-order__meta {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: rgba(255,255,255,0.62);
    font-size: 0.85rem;
}
.account-order__items {
    margin-top: 8px;
    color: rgba(255,255,255,0.78);
    line-height: 1.5;
}
.account-order__tx {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.62);
    font-family: 'Courier Prime', monospace;
    font-size: 0.9rem;
}
.account-order__link {
    color: rgba(34,211,238,0.92);
    text-decoration: none;
    border-bottom: 1px solid rgba(34,211,238,0.35);
}
.account-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.22);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
}
.account-pill--ok {
    color: rgba(16,185,129,0.95);
    border-color: rgba(16,185,129,0.22);
}
.account-pill--pending {
    color: rgba(245, 158, 11, 0.95);
    border-color: rgba(245, 158, 11, 0.25);
}
.account-pill--warn {
    color: rgba(255, 85, 119, 0.95);
    border-color: rgba(255, 85, 119, 0.25);
}
.account-order--pending {
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.10);
}

.support-quick {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 10px;
}
#message-modal.royal-modal-backdrop,
#success-modal.royal-modal-backdrop {
    z-index: 100000;
}

/* Simple #message-modal / #success-modal (checkout + index) — fixed overlay above page content */
/* Full-viewport overlays (body overflow:hidden would clip these without position:fixed) */
#message-modal.modal,
#success-modal.modal,
#login-modal.modal,
#forgot-modal.modal,
#reset-modal.modal,
#cart-modal.modal,
#guest-block-modal.modal,
#crypto-modal.modal {
    position: fixed;
    inset: 0;
    z-index: 200100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 32px);
    box-sizing: border-box;
    background: rgba(4, 6, 12, 0.92);
    backdrop-filter: blur(10px);
}
#message-modal.modal .modal-content,
#success-modal.modal .modal-content,
#login-modal.modal .modal-content,
#forgot-modal.modal .modal-content,
#reset-modal.modal .modal-content,
#cart-modal.modal .modal-content,
#guest-block-modal.modal .modal-content,
#crypto-modal.modal .modal-content {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: clamp(22px, 4vw, 32px);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: linear-gradient(165deg, rgba(18, 20, 30, 0.98), rgba(6, 8, 14, 0.98));
    box-shadow:
        0 0 0 1px rgba(34, 211, 238, 0.12),
        0 24px 80px rgba(0, 0, 0, 0.65);
    text-align: center;
}
#message-modal.modal .modal-content h3,
#success-modal.modal .modal-content h3 {
    margin: 0 0 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    letter-spacing: 0.08em;
    color: var(--gold);
}
#message-modal.modal .modal-content > div,
#success-modal.modal .modal-content > div {
    color: #c4c0d4;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 18px;
    text-align: left;
}
#message-modal.modal .modal-content button,
#success-modal.modal .modal-content button,
#login-modal.modal .modal-content button,
#forgot-modal.modal .modal-content button,
#reset-modal.modal .modal-content button,
#cart-modal.modal .modal-content button,
#guest-block-modal.modal .modal-content button,
#crypto-modal.modal .modal-content button {
    margin-top: 6px;
    min-width: 120px;
}

/* Premium member login / forgot / reset (guest → Sign in, nav LOGIN) */
#login-modal.modal .modal-content.kk-login-card,
#forgot-modal.modal .modal-content.kk-login-card,
#reset-modal.modal .modal-content.kk-login-card {
    max-width: min(432px, calc(100vw - 28px));
    padding: 30px 26px 26px;
    text-align: center;
    position: relative;
    overflow: visible;
    border-radius: 22px;
    background: linear-gradient(165deg, rgba(24, 28, 46, 0.99), rgba(8, 10, 18, 0.98));
    box-shadow:
        0 0 0 1px rgba(255, 215, 0, 0.18),
        0 6px 0 rgba(0, 0, 0, 0.35),
        0 32px 72px rgba(0, 0, 0, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
#login-modal.modal .modal-content.kk-login-card--narrow,
#forgot-modal.modal .modal-content.kk-login-card--narrow,
#reset-modal.modal .modal-content.kk-login-card--narrow {
    max-width: min(400px, calc(100vw - 28px));
}
.kk-login-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.4);
    color: rgba(248, 250, 252, 0.92);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.kk-login-close:hover {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.08);
}
.kk-login-close:active {
    transform: scale(0.96);
}
.kk-login-crown {
    font-size: 2rem;
    line-height: 1;
    margin: 0 0 6px;
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.45));
}
.kk-login-crown--sm {
    font-size: 1.5rem;
}
.kk-login-brand {
    font-family: Orbitron, system-ui, sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}
.kk-login-brand-k {
    color: #ffd700;
    text-shadow: 0 0 24px rgba(255, 215, 0, 0.35);
}
.kk-login-brand-a {
    color: #67e8f9;
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.35);
}
.kk-login-heading {
    margin: 0 0 8px;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(248, 250, 252, 0.98);
}
.kk-login-sub {
    margin: 0 0 20px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(154, 164, 178, 0.96);
}
.kk-login-fields {
    text-align: left;
    margin-bottom: 12px;
}
.kk-login-label {
    display: block;
    margin: 10px 0 6px;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    color: rgba(186, 190, 204, 0.9);
}
.kk-login-fields .kk-login-label:first-child {
    margin-top: 0;
}
.kk-login-input.kk-login-input {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}
.kk-login-server-hint {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 12px;
    text-align: left;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(200, 204, 214, 0.95);
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 0;
}
.kk-login-server-hint:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: 0;
}
#forgot-modal .kk-login-server-hint:empty {
    display: none;
}
.kk-login-submit-3d {
    position: relative;
    display: block;
    width: 100%;
    margin: 8px 0 0;
    padding: 16px 22px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #0a0b0f;
    background: linear-gradient(180deg, #ffe066 0%, #f5c400 40%, #c9a227 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45) inset,
        0 8px 0 #7a5c12,
        0 10px 24px rgba(0, 0, 0, 0.55);
    transform: translateY(0);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.kk-login-submit-3d:hover {
    filter: brightness(1.05);
}
.kk-login-submit-3d:active {
    transform: translateY(4px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 4px 0 #7a5c12,
        0 6px 18px rgba(0, 0, 0, 0.5);
}
.kk-login-submit-shine {
    position: absolute;
    inset: -40%;
    background: linear-gradient(
        105deg,
        transparent 35%,
        rgba(255, 255, 255, 0.45) 48%,
        rgba(255, 255, 255, 0.12) 52%,
        transparent 65%
    );
    transform: translateX(-60%);
    animation: kkLoginShine 3.2s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.55;
}
@keyframes kkLoginShine {
    0% {
        transform: translateX(-80%);
    }
    100% {
        transform: translateX(80%);
    }
}
.kk-login-submit-text {
    position: relative;
    z-index: 1;
}
.kk-login-submit-3d--secondary {
    background: linear-gradient(180deg, #5eead4 0%, #22d3ee 45%, #0891b2 100%);
    color: #04120f;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.35) inset,
        0 8px 0 #0e7490,
        0 10px 24px rgba(0, 0, 0, 0.5);
}
.kk-login-submit-3d--secondary:active {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.28) inset,
        0 4px 0 #0e7490,
        0 6px 18px rgba(0, 0, 0, 0.45);
}
.kk-login-secondary {
    margin-top: 14px;
}
.kk-login-linkish {
    background: none;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    font-family: 'Courier Prime', monospace;
    font-size: 0.78rem;
    color: rgba(103, 232, 249, 0.95);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.kk-login-linkish:hover {
    color: #fde68a;
}
@media (prefers-reduced-motion: reduce) {
    .kk-login-submit-shine {
        animation: none;
        opacity: 0.2;
    }
}
#login-modal.modal .modal-content.kk-login-card .kk-login-submit-3d,
#forgot-modal.modal .modal-content.kk-login-card .kk-login-submit-3d,
#reset-modal.modal .modal-content.kk-login-card .kk-login-submit-3d,
#login-modal.modal .modal-content.kk-login-card .kk-login-close,
#forgot-modal.modal .modal-content.kk-login-card .kk-login-close,
#reset-modal.modal .modal-content.kk-login-card .kk-login-close,
#login-modal.modal .modal-content.kk-login-card .kk-login-linkish {
    min-width: 0;
    margin-top: 0;
}

#success-modal-sub {
    white-space: pre-line;
    word-break: break-word;
}
#success-modal.checkout-balance-success-modal #success-modal-sub {
    white-space: normal;
    text-align: center;
}
.checkout-success-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 800;
    color: #04120a;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), transparent 45%), var(--neon-green);
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.45);
}
.checkout-success-lead {
    margin: 0 0 14px;
    color: rgba(248, 250, 252, 0.95);
    font-size: 1.02rem;
    line-height: 1.45;
}
.checkout-success-facts {
    list-style: none;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}
.checkout-success-facts li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.checkout-success-facts li:last-child {
    border-bottom: 0;
}
.checkout-success-facts__k {
    color: rgba(180, 174, 198, 0.95);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
}
.checkout-success-facts__v {
    color: var(--cyan);
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
}
.checkout-success-note {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(184, 176, 204, 0.95);
}
.checkout-atlas__paid-banner {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(6, 10, 14, 0.9));
    color: rgba(240, 253, 250, 0.98);
    font-size: 0.92rem;
    line-height: 1.45;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.12);
}
.checkout-atlas__paid-banner strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: rgba(167, 243, 208, 0.98);
    margin-bottom: 6px;
}
.checkout-atlas__paid-banner-sub {
    display: block;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.84rem;
}
.royal-modal {
    position: relative;
    background: linear-gradient(165deg, #141414 0%, #0a0a0a 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px 32px 32px;
    text-align: center;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
}
.royal-modal-gold {
    border: 4px solid var(--gold);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.35), inset 0 0 40px rgba(255, 215, 0, 0.06);
}
.royal-modal.promo-modal-inner {
    padding: 32px 28px 28px;
}
.royal-modal-cyan {
    border: 4px solid var(--cyan);
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.35), inset 0 0 40px rgba(34, 211, 238, 0.06);
}
.royal-modal-neon {
    border: 4px solid var(--neon-green);
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.35), inset 0 0 40px rgba(16, 185, 129, 0.06);
}
.modal-crown {
    font-size: 4.5rem;
    line-height: 1;
    color: var(--gold);
    text-shadow: 0 0 30px var(--gold);
    margin-bottom: 8px;
}
.modal-close-x {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--danger);
    font-size: 2.25rem;
    line-height: 1;
    cursor: pointer;
    text-shadow: 0 0 12px var(--danger);
}
.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.85rem;
    color: var(--gold);
    margin-bottom: 16px;
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.4);
}
.modal-title-inline {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    color: var(--gold);
}
.modal-body-text {
    color: #bbb;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 22px;
}
#message-modal.modal-error .modal-title {
    color: #ff6b6b;
    text-shadow: 0 0 16px rgba(255, 0, 51, 0.45);
}

.royal-input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    background: #0a0a0a;
    border: 2px solid var(--cyan);
    color: #fff;
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: 'Courier Prime', monospace;
    box-shadow: var(--kk-depth-inset), var(--kk-depth-1);
}
.btn-royal-primary {
    width: 100%;
    background: var(--neon-green);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.25rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    cursor: pointer;
    margin-top: 8px;
    box-shadow:
        0 0 20px rgba(16, 185, 129, 0.4),
        0 6px 0 rgba(0, 0, 0, 0.28),
        0 14px 36px rgba(0, 0, 0, 0.42);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.btn-royal-outline {
    width: 100%;
    background: transparent;
    border: 3px solid var(--gold);
    color: var(--gold);
    padding: 15px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--kk-depth-2);
}
.btn-royal-outline-muted {
    width: 100%;
    background: transparent;
    border: 2px solid #555;
    color: #999;
    padding: 14px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    margin-top: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    box-shadow: var(--kk-depth-1);
}

/* Admin: make all action buttons behave like real buttons (not full-width blocks) */
body.admin-page .btn-royal-primary,
body.admin-page .btn-royal-outline,
body.admin-page .btn-royal-outline-muted {
    width: auto;
    margin-top: 0;
    padding: 10px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    line-height: 1.1;
    pointer-events: auto;
}
body.admin-page .btn-royal-outline-muted {
    padding: 10px 14px;
}
body.admin-page .admin-actions .btn-royal-primary,
body.admin-page .admin-actions .btn-royal-outline,
body.admin-page .admin-actions .btn-royal-outline-muted {
    width: auto;
}
.btn-royal-outline-muted:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}
.btn-royal-ghost {
    width: 100%;
    margin-top: 14px;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
}

/* Global 3D actions — every clickable control feels pressable */
:is(
    button,
    input[type='button'],
    input[type='submit'],
    a.btn-royal-primary,
    a.btn-royal-outline,
    a.btn-royal-outline-muted,
    .nav-tab,
    .nav-search-btn,
    .inventory-btn-3d,
    .inventory-hub-tile
):not(.kk-no-3d) {
    transform: translateY(0);
    transform-style: preserve-3d;
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        filter 0.16s ease,
        border-color 0.16s ease,
        background 0.16s ease;
    will-change: transform;
}

:is(
    button,
    input[type='button'],
    input[type='submit'],
    a.btn-royal-primary,
    a.btn-royal-outline,
    a.btn-royal-outline-muted,
    .nav-tab,
    .nav-search-btn,
    .inventory-btn-3d,
    .inventory-hub-tile
):not(.kk-no-3d):hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

:is(
    button,
    input[type='button'],
    input[type='submit'],
    a.btn-royal-primary,
    a.btn-royal-outline,
    a.btn-royal-outline-muted,
    .nav-tab,
    .nav-search-btn,
    .inventory-btn-3d,
    .inventory-hub-tile
):not(.kk-no-3d):active {
    transform: translateY(1px);
    filter: brightness(0.98);
}

/* Give non-royal generic buttons a 3D base shadow */
:is(button, input[type='button'], input[type='submit'])
:not(.kk-no-3d):not(.btn-royal-primary):not(.btn-royal-outline):not(.btn-royal-outline-muted):not(.btn-royal-ghost) {
    box-shadow:
        0 6px 0 rgba(0, 0, 0, 0.28),
        0 14px 34px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:is(button, input[type='button'], input[type='submit'])
:not(.kk-no-3d):not(.btn-royal-primary):not(.btn-royal-outline):not(.btn-royal-outline-muted):not(.btn-royal-ghost):hover {
    box-shadow:
        0 10px 0 rgba(0, 0, 0, 0.22),
        0 22px 52px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:is(button, input[type='button'], input[type='submit'])
:not(.kk-no-3d):not(.btn-royal-primary):not(.btn-royal-outline):not(.btn-royal-outline-muted):not(.btn-royal-ghost):active {
    box-shadow:
        0 2px 0 rgba(0, 0, 0, 0.24),
        0 8px 22px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

:is(
    button,
    input[type='button'],
    input[type='submit'],
    a.btn-royal-primary,
    a.btn-royal-outline,
    a.btn-royal-outline-muted,
    .nav-tab,
    .nav-search-btn,
    .inventory-btn-3d,
    .inventory-hub-tile
):not(.kk-no-3d):disabled,
:is(
    button,
    input[type='button'],
    input[type='submit'],
    a.btn-royal-primary,
    a.btn-royal-outline,
    a.btn-royal-outline-muted,
    .nav-tab,
    .nav-search-btn,
    .inventory-btn-3d,
    .inventory-hub-tile
):not(.kk-no-3d)[aria-disabled='true'] {
    transform: none;
    filter: none;
    cursor: not-allowed;
    opacity: 0.72;
    will-change: auto;
}

.cart-modal-inner .cart-title-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.cart-empty-msg {
    text-align: center;
    color: #666;
    padding: 48px 20px;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid var(--cyan);
}
.cart-total {
    font-size: 1.65rem;
    text-align: right;
    color: var(--neon-green);
    margin: 20px 0;
    font-family: 'Orbitron', sans-serif;
}
.checkout-btn {
    width: 100%;
    background: var(--neon-green);
    color: #000;
    border: none;
    padding: 18px;
    font-size: 1.35rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
}

.crypto-header {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 6px;
    font-family: 'Orbitron', sans-serif;
}
.crypto-sub {
    font-family: 'Courier Prime', monospace;
    color: #999;
    margin-bottom: 20px;
    font-size: 1rem;
}
.coin-option {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #0b0b0b;
    border: 2px solid var(--cyan);
    border-radius: 16px;
    padding: 14px;
    margin: 12px 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    text-align: left;
}
.coin-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(34, 211, 238, 0.3);
}
.coin-option.coin-selected {
    border-color: var(--gold);
    box-shadow: 0 0 28px rgba(255, 215, 0, 0.35);
}
.payment-qr {
    width: 88px;
    height: 88px;
    border-radius: 10px;
    border: 2px solid var(--gold);
    flex-shrink: 0;
    background: #fff;
}
.coin-icon-lg {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 48px;
    text-align: center;
}
.coin-option-text {
    flex: 1;
    min-width: 0;
}
.coin-name {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-family: 'Orbitron', sans-serif;
}
.address-box {
    font-family: 'Courier Prime', monospace;
    font-size: 0.88rem;
    color: #aaa;
    word-break: break-all;
}
.copy-btn {
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    flex-shrink: 0;
}
.confirm-paid {
    width: 100%;
    background: var(--neon-green);
    color: #000;
    border: none;
    padding: 16px;
    font-size: 1.2rem;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    margin-top: 16px;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
}

/* ========== HOME — high-energy hero ========== */
.home-tab {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding-bottom: 48px;
}

/* ========== HOME (v3) — new clean front door ========== */
.home3 {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 98px 16px 54px;
    box-sizing: border-box;
}
.home3-shell {
    max-width: 1180px;
    margin: 0 auto;
}
.home3-hero {
    text-align: center;
    padding: clamp(18px, 4vw, 36px) 10px 0;
}
.home3-kicker {
    margin: 0 0 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.38em;
    color: rgba(34, 211, 238, 0.92);
    text-shadow: 0 0 18px rgba(34, 211, 238, 0.22);
}
.home3-title {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(2.2rem, 6.4vw, 4.25rem);
    line-height: 1.05;
    text-shadow: 0 0 28px rgba(255, 215, 0, 0.18);
}
.home3-sub {
    margin: 14px auto 0;
    max-width: 56ch;
    color: #a79fb5;
    font-size: clamp(0.98rem, 2.2vw, 1.2rem);
    line-height: 1.55;
    letter-spacing: 0.02em;
}
.home3-cta-row {
    margin-top: clamp(18px, 3vw, 26px);
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.home3-cta {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    border-radius: 14px;
    padding: 13px 16px;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    transition: transform 0.16s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}
.home3-cta--primary {
    background: linear-gradient(90deg, #22c55e 0%, #22d3ee 100%);
    color: #020617;
    box-shadow: 0 18px 46px rgba(34, 211, 238, 0.16);
}
.home3-cta--outline {
    background: rgba(0, 0, 0, 0.32);
    border-color: rgba(255, 215, 0, 0.45);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}
.home3-cta:hover {
    transform: translateY(-2px);
}
.home3-cta--primary:hover {
    filter: brightness(1.05);
}
.home3-cta--outline:hover {
    border-color: rgba(34, 211, 238, 0.45);
}
.home3-trust {
    margin-top: clamp(18px, 3vw, 26px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.home3-trust-chip {
    border-radius: 16px;
    padding: 12px 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.home3-trust-chip strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255, 215, 0, 0.92);
    margin-bottom: 6px;
}
.home3-trust-chip span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
}
.home3-eco-line {
    text-align: center;
    margin-top: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Courier Prime', monospace;
    font-size: 0.84rem;
    line-height: 1.5;
    color: rgba(34, 211, 238, 0.78);
}
.home3-grid {
    margin-top: clamp(26px, 5vw, 46px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.home3-card {
    border-radius: 18px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.26);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 46px rgba(0, 0, 0, 0.48),
        0 44px 110px rgba(0, 0, 0, 0.28);
    text-align: left;
}
.home3-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.home3-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 215, 0, 0.16);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: rgba(255, 215, 0, 0.95);
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
}
.home3-icon--cyan {
    background: rgba(34, 211, 238, 0.14);
    border-color: rgba(34, 211, 238, 0.35);
    color: rgba(34, 211, 238, 0.95);
}
.home3-icon--gold {
    background: rgba(255, 215, 0, 0.16);
    border-color: rgba(255, 215, 0, 0.35);
}
.home3-card-title {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
}
.home3-card-body {
    margin: 10px 0 14px;
    color: #a79fb5;
    line-height: 1.55;
}
.home3-card-link {
    border: none;
    background: transparent;
    color: rgba(34, 211, 238, 0.92);
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    cursor: pointer;
    padding: 6px 0;
}
.home3-card-link:hover {
    color: rgba(255, 215, 0, 0.92);
}
.home3-steps {
    margin-top: clamp(28px, 5vw, 52px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 46px rgba(0, 0, 0, 0.45),
        0 44px 110px rgba(0, 0, 0, 0.24);
    padding: 18px 16px;
}
.home3-section-title {
    margin: 0 0 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.28em;
    color: rgba(255, 215, 0, 0.92);
    text-transform: uppercase;
}
.home3-steps-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.home3-step {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 14, 0.42);
    padding: 12px 12px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
}
.home3-step strong {
    color: rgba(34, 211, 238, 0.92);
}
.home3-step-num {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255, 215, 0, 0.9);
    margin-bottom: 8px;
}
.home3-footer-cta {
    margin-top: clamp(24px, 4.5vw, 46px);
}
.home3-footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 22px;
    border: 1px solid rgba(34, 211, 238, 0.18);
    background: radial-gradient(900px 420px at 20% 20%, rgba(34, 211, 238, 0.14), transparent 60%),
        radial-gradient(900px 420px at 80% 60%, rgba(255, 215, 0, 0.10), transparent 60%),
        rgba(0, 0, 0, 0.22);
    padding: 18px 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 60px rgba(0, 0, 0, 0.6),
        0 54px 140px rgba(0, 0, 0, 0.32);
}
.home3-footer-title {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
}
.home3-footer-sub {
    margin: 10px 0 0;
    color: #a79fb5;
}
.home3-footer-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
@media (max-width: 860px) {
    .home3-trust,
    .home3-grid,
    .home3-steps-row {
        grid-template-columns: 1fr;
    }
    .home3-footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.home-layout {
    --home-gutter: clamp(14px, 3vw, 28px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: min(1320px, 100%);
    margin: 0 auto;
    padding: 0 var(--home-gutter) 40px;
    align-items: start;
}
@media (min-width: 960px) {
    .home-layout {
        grid-template-columns: 1fr;
    }
}
.home-main {
    min-width: 0;
}

.hero-section {
    position: relative;
    text-align: left;
    padding: 20px 0 28px;
    max-width: 100%;
    margin: 0;
}

/* ----- HOME (redo): clean, symmetrical, conversion-style layout ----- */
.home-tab .hero-section {
    padding-top: clamp(22px, 5vw, 46px);
}
.home-tab .hero-brand-center {
    max-width: 920px;
    padding: 0;
    gap: 0;
}
.home-tab .hero-mega {
    font-size: clamp(2.6rem, 7.2vw, 5.1rem);
    letter-spacing: 0.06em;
    line-height: 1.02;
    white-space: nowrap;
}
@media (max-width: 420px) {
    .home-tab .hero-mega {
        white-space: normal;
    }
}
.home-tab .hero-sub-mega {
    margin-top: 10px;
    max-width: 34ch;
    font-size: clamp(1.02rem, 2.6vw, 1.55rem);
    letter-spacing: 0.12em;
}
.home-hero-actions {
    margin-top: clamp(18px, 3vw, 26px);
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.home-cta {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: 0.12em;
    border-radius: 14px;
    padding: 12px 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    text-transform: uppercase;
}
.home-cta-primary {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.95), rgba(34, 211, 238, 0.92));
    color: #000;
    box-shadow: 0 14px 34px rgba(16, 185, 129, 0.18);
}
.home-cta-outline {
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 215, 0, 0.55);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.home-cta:hover {
    transform: translateY(-2px);
}
.home-cta-primary:hover {
    box-shadow: 0 18px 46px rgba(34, 211, 238, 0.22);
}
.home-cta-outline:hover {
    border-color: rgba(34, 211, 238, 0.5);
    box-shadow: 0 18px 46px rgba(34, 211, 238, 0.12);
}

/* Symmetry spacing: headline → crypto → deal → reviews */
.home-crypto-band {
    margin-top: clamp(42px, 7vw, 74px);
}
.home-deal-line {
    margin-top: clamp(24px, 5vw, 40px);
    max-width: min(56rem, 100%);
}
.home-reviews-ribbon {
    margin-top: clamp(16px, 3vw, 28px);
}

/* When admin layout uses absolute positioning, reserve vertical space so later sections (reviews) don't overlap crypto. */
.home-layout-abs .hero-section {
    min-height: clamp(720px, 70vh, 920px);
    padding-bottom: clamp(64px, 10vh, 120px);
}
.home-layout-abs .home-reviews-ribbon {
    margin-top: clamp(26px, 4.5vw, 44px) !important;
}
/* Headline block: restore original centered layout */
.hero-brand-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 8px clamp(8px, 3vw, 20px) 0;
    box-sizing: border-box;
}
/* Full-width band so left/right groups hug the edges (per request) */
.home-main .home-crypto-band {
    width: calc(100% + 2 * var(--home-gutter));
    max-width: none;
    margin-left: calc(-1 * var(--home-gutter));
    margin-right: calc(-1 * var(--home-gutter));
}
.home-crypto-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 24px clamp(22px, 6vw, 64px);
    width: 100%;
    margin: clamp(42px, 7vw, 74px) 0 0;
    /* content aligns to same left/right edges as page content */
    padding: 0 var(--home-gutter);
    box-sizing: border-box;
}
@media (min-width: 960px) {
    .hero-crypto-row {
        flex-wrap: nowrap;
        gap: clamp(28px, 5.5vw, 64px);
    }
    .soon-chain-row--hero-right {
        gap: clamp(22px, 4.5vw, 48px);
    }
    .soon-chain-row--hero-right .soon-chain-glyph {
        font-size: clamp(3.1rem, 8.5vw, 5.25rem);
    }
}
@media (max-width: 640px) {
    .home-crypto-band {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .home-crypto-right {
        align-items: flex-start !important;
        text-align: left !important;
        margin-left: 0 !important;
    }
    .soon-chain-row--hero-right {
        justify-content: flex-start !important;
    }
    .hero-more-crypto-hint {
        text-align: left !important;
        margin-left: 0;
    }
}
.home-crypto-left {
    text-align: left;
    padding-left: 0;
    flex: 0 1 auto;
    min-width: 0;
    justify-self: start;
}
.home-crypto-right {
    display: flex;
    flex-direction: column;
    /* Mirror the left block: label + hint left-aligned inside the right column */
    text-align: left;
    align-items: flex-start;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
    margin-left: auto;
    justify-self: end;
}
.hero-more-crypto-label {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.72rem, 1.5vw, 0.85rem);
    font-weight: 800;
    letter-spacing: 0.28em;
    color: var(--gold);
    text-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}
.hero-more-crypto-hint {
    margin: 4px 0 0;
    font-size: clamp(0.72rem, 1.6vw, 0.82rem);
    color: #7a7488;
    line-height: 1.4;
    max-width: 28ch;
    text-align: left;
}
.soon-chain-row--hero-right {
    margin: 0;
    justify-content: flex-end;
    gap: clamp(18px, 4vw, 36px);
}
.home-deal-line {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px 14px;
    margin: 28px auto 0;
    padding: 0 clamp(8px, 3vw, 20px);
    border: none;
    background: none;
    box-shadow: none;
    max-width: min(52rem, 100%);
    font-family: 'Orbitron', sans-serif;
    text-align: left;
    font-size: clamp(0.78rem, 1.65vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.55;
    color: #d8d0e4;
}
.home-deal-torch {
    flex-shrink: 0;
    line-height: 0;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.75)) drop-shadow(0 0 14px rgba(234, 88, 12, 0.45));
}
.home-deal-torch-svg {
    display: block;
    width: clamp(22px, 4vw, 30px);
    height: auto;
}
.home-deal-line__copy strong {
    color: var(--gold);
    font-weight: 800;
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
}
.home-hero-atmos {
    position: absolute;
    inset: -8% -12% auto;
    height: 70%;
    pointer-events: none;
    z-index: 0;
    background: conic-gradient(
        from 200deg at 50% 40%,
        rgba(255, 215, 0, 0.08),
        transparent 40%,
        rgba(255, 0, 60, 0.06),
        transparent 70%,
        rgba(34, 211, 238, 0.07),
        transparent
    );
    filter: blur(28px);
    opacity: 0.85;
    animation: homeHeroAtmosSpin 22s linear infinite;
}
@keyframes homeHeroAtmosSpin {
    to {
        transform: rotate(360deg);
    }
}
.hero-mega,
.hero-sub-mega,
.home-live-ticker,
.hero-crypto-label,
.hero-crypto-row,
.hero-brand-center,
.home-crypto-band,
.home-deal-line {
    position: relative;
    z-index: 1;
}
.home-live-ticker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 16px auto 0;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    background: rgba(10, 8, 14, 0.65);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.08);
    max-width: min(420px, 100%);
}
.home-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff2244;
    box-shadow: 0 0 12px #ff2244;
    flex-shrink: 0;
    animation: homeLiveDot 1.4s ease-in-out infinite;
}
@keyframes homeLiveDot {
    50% {
        opacity: 0.45;
        transform: scale(0.85);
    }
}
.home-ticker-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: #c9c2d8;
    line-height: 1.4;
    text-align: center;
}

.home-steam-center {
    text-align: center;
    max-width: min(960px, 100%);
    margin: 48px auto 0;
    padding: 0 clamp(12px, 4vw, 28px);
}
.soon-kicker--steam {
    margin-bottom: 16px;
}
.home-steam-showcase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
    margin-bottom: 18px;
}
.home-steam-icon-wrap {
    color: #66c0f4;
    filter: drop-shadow(0 0 24px rgba(102, 192, 244, 0.6));
    flex-shrink: 0;
}
.soon-svg-steam--hero {
    width: clamp(120px, 26vw, 200px);
    height: clamp(120px, 26vw, 200px);
    display: block;
}
.soon-headline--steam-hero {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    letter-spacing: 0.12em;
    margin: 0;
    text-align: center;
}
.soon-lead--steam-center {
    margin: 0 auto;
    max-width: 38ch;
    text-align: center;
    font-size: clamp(0.95rem, 2.1vw, 1.12rem);
}
.soon-kicker {
    margin: 0 0 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.72rem, 2vw, 0.88rem);
    font-weight: 800;
    letter-spacing: 0.38em;
    color: var(--neon-green);
    text-shadow: 0 0 18px rgba(16, 185, 129, 0.45);
}
.soon-kicker--gold {
    color: var(--gold);
    letter-spacing: 0.32em;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
}
.soon-steam-head {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 22px);
    margin-bottom: 14px;
}
.soon-steam-icon {
    color: #66c0f4;
    filter: drop-shadow(0 0 16px rgba(102, 192, 244, 0.55));
    flex-shrink: 0;
}
.soon-svg-steam {
    width: clamp(72px, 14vw, 108px);
    height: clamp(72px, 14vw, 108px);
    display: block;
}
.soon-headline {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.35rem, 3.8vw, 2.15rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
}
.soon-headline--right {
    text-align: right;
}
.soon-lead {
    margin: 0;
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    line-height: 1.55;
    color: #9a94ac;
    max-width: 42ch;
}
.soon-lead--right {
    margin-left: auto;
    text-align: right;
}
.soon-chain-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    gap: clamp(22px, 5vw, 44px);
    margin: 18px 0 16px;
}
.soon-chain {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: none;
    background: none;
    padding: 0;
    box-shadow: none;
}
.soon-chain-glyph {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 28px rgba(255, 255, 255, 0.15);
}
.soon-chain-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    font-weight: 800;
    letter-spacing: 0.22em;
}
.soon-chain-doge {
    color: #f4d03f;
    filter: drop-shadow(0 0 12px rgba(244, 208, 63, 0.35));
}
.soon-chain-doge .soon-chain-name {
    color: #e8d89a;
}
.soon-chain-ltc {
    color: #d4d4d8;
    filter: drop-shadow(0 0 10px rgba(200, 200, 210, 0.25));
}
.soon-chain-ltc .soon-chain-name {
    color: #b8b8c8;
}
.soon-chain-xrp {
    color: #38bdf8;
    filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.35));
}
.soon-chain-xrp .soon-chain-name {
    color: #7dd3fc;
}

.home-reviews-rail {
    min-width: 0;
    border-radius: 18px;
    padding: 18px 16px 18px;
    background: rgba(10, 10, 14, 0.62);
    border: 1px solid rgba(34, 211, 238, 0.22);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.45),
        0 18px 44px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
}
@media (min-width: 960px) {
    .home-reviews-rail {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}
.reviews-rail-header {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.14);
}
.reviews-rail-kicker {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.38em;
    color: rgba(34, 211, 238, 0.9);
    margin-bottom: 6px;
}
.reviews-rail-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.06em;
    text-shadow: 0 0 18px rgba(34, 211, 238, 0.18);
}
.reviews-rail-card {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
}
.hero-review-quote {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.78rem, 1.65vw, 0.9rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.55;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.hero-review-quote.hero-review-visible {
    opacity: 1;
    transform: translateX(0);
}
.hero-review-author {
    font-family: 'Courier Prime', monospace;
    font-size: clamp(0.72rem, 1.5vw, 0.82rem);
    color: var(--neon-green);
    margin: 0;
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
    word-break: break-word;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.55s ease 0.08s, transform 0.55s ease 0.08s;
}
.hero-review-author.hero-review-visible {
    opacity: 1;
    transform: translateX(0);
}
.reviews-rail-foot {
    margin: 18px 0 0;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.36);
    text-transform: uppercase;
}
.hero-mega {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.02;
    text-align: center;
    margin: 0 auto;
    max-width: none;
    color: var(--neon-green);
    text-shadow:
        0 0 40px rgba(16, 185, 129, 0.85),
        0 0 80px rgba(16, 185, 129, 0.45),
        0 0 120px rgba(34, 211, 238, 0.25);
    letter-spacing: 0.04em;
    animation: heroPulse 3.5s ease-in-out infinite;
    /* Keep LIVE beside DEALS but allow true centered alignment */
    display: flex;
    width: 100%;
    align-items: baseline;
    justify-content: center;
    gap: 0.25em;
    white-space: nowrap;
}
.hero-mega-live {
    display: inline-block;
    margin-left: 0.22em;
    font-size: 0.92em;
    color: var(--gold);
    text-shadow: 0 0 26px rgba(255, 215, 0, 0.35);
}
@keyframes heroPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}
.hero-sub-mega {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.15rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--cyan);
    margin: 14px auto 0;
    text-shadow: 0 0 24px rgba(34, 211, 238, 0.55);
    letter-spacing: 0.06em;
    text-align: left;
    max-width: none;
    width: 100%;
    /* Pull left a bit more than the hero block edge */
    transform: translateX(clamp(-18px, -1.4vw, -10px));
}
@media (min-width: 960px) {
    .hero-mega {
        text-align: right;
        margin-left: auto;
        margin-right: 0;
    }
    .hero-sub-mega {
        text-align: right;
        margin-left: auto;
        margin-right: 0;
    }
}
.hero-crypto-label {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.78rem, 1.6vw, 0.92rem);
    letter-spacing: 0.32em;
    color: rgba(255, 255, 255, 0.52);
    margin: 0 0 14px;
    text-align: left;
}
.hero-crypto-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    gap: clamp(20px, 5vw, 48px);
    flex-wrap: wrap;
}

/* Symmetric left/right coin alignment */
.home-crypto-band {
    --crypto-row-width: clamp(320px, 34vw, 460px);
}
.hero-crypto-row {
    width: var(--crypto-row-width);
    justify-content: space-between;
}
.soon-chain-row--hero-right {
    width: var(--crypto-row-width);
    justify-content: space-between;
}
@media (max-width: 640px) {
    .hero-crypto-row,
    .soon-chain-row--hero-right {
        width: 100%;
        justify-content: flex-start;
    }
}
.crypto-hero-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.88rem, 2vw, 1.05rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}
.crypto-svg {
    width: clamp(84px, 14vw, 118px);
    height: clamp(84px, 14vw, 118px);
    display: block;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
}

/* Make "coming soon" crypto glyphs match the main crypto icon sizing */
.soon-chain-glyph {
    width: clamp(84px, 14vw, 118px);
    height: clamp(84px, 14vw, 118px);
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-size: clamp(2.75rem, 6.5vw, 3.6rem);
}
.soon-chain {
    gap: 12px;
}

.streaming-section {
    margin-top: 48px;
    padding: 36px clamp(8px, 2vw, 20px) 56px;
    text-align: center;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.07) 50%, transparent 100%);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}
.home-main .streaming-section {
    margin-top: 44px;
}
.streaming-soon-badge {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.88rem, 2.4vw, 1.12rem);
    font-weight: 800;
    letter-spacing: 0.42em;
    color: var(--neon-green);
    text-shadow: 0 0 22px rgba(16, 185, 129, 0.5);
    margin: 0 auto 16px;
    border: none;
    padding: 0;
    background: none;
    box-shadow: none;
}
.streaming-hint {
    color: #7a7488;
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    max-width: 40ch;
    margin: 0 auto 36px;
    line-height: 1.55;
    text-align: center;
}
.streaming-logos {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: clamp(10px, 1.8vw, 24px);
    width: 100%;
    max-width: min(1240px, 100%);
    margin: 0 auto;
    padding: 0 clamp(6px, 1.2vw, 16px);
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .streaming-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 28px;
    }
}
.streaming-logos .stream-brand:nth-child(odd) {
    transform: translateY(3px);
}
.streaming-logos .stream-brand:nth-child(even) {
    transform: translateY(-4px);
}
.stream-brand {
    display: inline-flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 22px);
    padding: 0;
    border-radius: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.95rem, 2.4vw, 1.28rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.82);
    border: none;
    background: none;
    opacity: 0.95;
    flex: 0 1 auto;
    transition: opacity 0.2s, transform 0.2s, filter 0.2s;
}
.stream-brand:hover {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}
.streaming-logos .stream-brand:nth-child(odd):hover,
.streaming-logos .stream-brand:nth-child(even):hover {
    transform: translateY(-4px) scale(1.03);
}
.stream-icon {
    width: clamp(54px, 10vw, 84px);
    height: clamp(54px, 10vw, 84px);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.25rem, 3vw, 1.85rem);
    font-weight: 800;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}
.stream-netflix .stream-icon { background: #e50914; color: #fff; }
.stream-spotify .stream-icon { background: #1db954; color: #000; }
.stream-hulu .stream-icon { background: #1ce783; color: #000; }
.stream-disney .stream-icon { background: #113ccf; color: #fff; }
.stream-hbo .stream-icon { background: #8b5cf6; color: #fff; }
.stream-amazon .stream-icon { background: #00a8e1; color: #fff; }

/* ----- HOME tab — visual polish (same sections, stronger hierarchy & glow) ----- */
.home-tab {
    padding-top: clamp(84px, 11vw, 112px);
    background: transparent;
}

.home-tab .home-layout {
    gap: clamp(22px, 4vw, 34px);
}

.home-tab .hero-section {
    padding-top: clamp(4px, 1.5vw, 16px);
}

.home-tab .hero-brand-center {
    padding: clamp(22px, 4.5vw, 40px) clamp(18px, 4vw, 36px) clamp(26px, 4.5vw, 42px);
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.home-tab .hero-mega {
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.45rem, 7vw, 4.85rem);
    letter-spacing: 0.055em;
    color: var(--neon-green);
    text-shadow:
        0 0 32px rgba(16, 185, 129, 0.75),
        0 0 64px rgba(34, 211, 238, 0.28),
        0 0 100px rgba(16, 185, 129, 0.18);
}

.home-tab .hero-mega-live {
    font-size: 0.86em;
    margin-left: 0.18em;
    padding: 0.06em 0.2em 0.04em;
    border-radius: 0.14em;
    border: 1px solid rgba(255, 215, 0, 0.38);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.18), rgba(255, 215, 0, 0.04));
    box-shadow: 0 0 22px rgba(255, 215, 0, 0.28);
    color: #ffe566;
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.45);
}

.home-tab .hero-sub-mega {
    text-align: center;
    transform: none;
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(12px, 2.2vw, 20px);
    max-width: 30ch;
    font-size: clamp(1.02rem, 2.5vw, 1.62rem);
    letter-spacing: 0.11em;
    color: #a5f3fc;
    text-shadow: 0 0 26px rgba(34, 211, 238, 0.5);
}

@media (min-width: 960px) {
    .home-tab .hero-mega,
    .home-tab .hero-sub-mega {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.home-tab .home-live-ticker {
    margin-top: clamp(18px, 3vw, 26px);
    border-color: rgba(34, 211, 238, 0.28);
    background: rgba(8, 10, 18, 0.75);
    box-shadow:
        0 0 36px rgba(34, 211, 238, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-tab .home-ticker-text {
    color: #d4cee8;
}

.home-tab .home-reviews-ribbon {
    margin-top: clamp(16px, 3vw, 28px);
    margin-left: calc(-1 * var(--home-gutter));
    margin-right: calc(-1 * var(--home-gutter));
    padding: clamp(20px, 3.5vw, 32px) var(--home-gutter);
    border-radius: 0;
    border: none;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.55), rgba(34, 211, 238, 0.5), rgba(16, 185, 129, 0.55), transparent) 1;
    background: transparent;
    box-shadow: none;
}
.home-tab .home-reviews-ribbon .home-reviews-inline {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
    max-width: min(920px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.home-tab .home-crypto-band {
    margin-top: clamp(28px, 5vw, 44px);
    padding: 0 var(--home-gutter);
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.home-tab .hero-crypto-label {
    color: rgba(255, 255, 255, 0.62);
    text-shadow: 0 0 14px rgba(34, 211, 238, 0.15);
}

.home-tab .crypto-hero-icon {
    transition: transform 0.22s ease, filter 0.22s ease;
}
.home-tab .crypto-hero-icon:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 14px 28px rgba(16, 185, 129, 0.35));
}

.home-tab .soon-chain-glyph {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.home-tab .soon-chain:hover .soon-chain-glyph {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.home-tab .home-deal-line {
    margin-top: clamp(28px, 5vw, 42px);
    padding: clamp(14px, 2.5vw, 20px) clamp(16px, 3vw, 26px);
    border-radius: 18px;
    border: 1px solid rgba(251, 191, 36, 0.18);
    background: linear-gradient(125deg, rgba(36, 22, 10, 0.82) 0%, rgba(14, 12, 24, 0.88) 100%);
    box-shadow:
        0 0 48px rgba(251, 146, 60, 0.1),
        0 18px 44px rgba(0, 0, 0, 0.38);
    color: #e4dcf5;
    font-size: clamp(0.78rem, 1.5vw, 0.93rem);
}

.home-tab .home-steam-center {
    margin-top: clamp(40px, 7vw, 58px);
    padding: 0 clamp(12px, 4vw, 28px);
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.home-tab .soon-kicker--steam {
    color: #93d8ff;
    text-shadow: 0 0 22px rgba(147, 216, 255, 0.4);
}

.home-tab .soon-headline--steam-hero {
    text-shadow: 0 0 36px rgba(102, 192, 244, 0.38);
}

.home-tab .soon-lead--steam-center {
    color: #a8a0bc;
}

.home-tab .streaming-section {
    margin-top: clamp(40px, 7vw, 58px);
    padding: 36px clamp(8px, 2vw, 20px) 56px;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.home-tab .streaming-hint {
    color: #9d96b0;
    margin-bottom: clamp(22px, 4vw, 34px);
}

.home-tab .streaming-logos .stream-brand:nth-child(odd),
.home-tab .streaming-logos .stream-brand:nth-child(even) {
    transform: none;
}

.home-tab .stream-brand {
    border-radius: 16px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.22);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.home-tab .stream-brand:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

/* ========== VALIDATOR tab ========== */
.validator-tab {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 72px);
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    background: transparent;
}
.validator-tab.active {
    display: flex;
    flex-direction: column;
}

.validator-layout {
    width: 100%;
    max-width: min(1220px, 96vw);
    margin: 0 auto;
    padding: calc(var(--nav-h) + 24px) clamp(14px, 3vw, 28px) 120px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(18px, 3vw, 26px);
    align-items: start;
}
@media (min-width: 1040px) {
    .validator-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
        gap: 22px 28px;
    }
    .validator-side-col {
        position: sticky;
        top: 88px;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
}

.validator-main-col {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vw, 22px);
    min-width: 0;
}

.validator-side-col {
    min-width: 0;
}
.validator-side-col .validator-upcoming-grid {
    grid-template-columns: 1fr;
}
@media (max-width: 1039px) {
    .validator-side-col .validator-upcoming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .validator-side-col .validator-upcoming-grid {
        grid-template-columns: 1fr;
    }
}

.validator-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
    max-width: none;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 899px) {
    .validator-panel-check,
    .validator-panel-studio {
        min-height: auto;
    }
}
.validator-surface {
    border-radius: 22px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    background: linear-gradient(165deg, rgba(24, 22, 20, 0.92) 0%, rgba(8, 8, 10, 0.97) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06),
        0 18px 50px rgba(0, 0, 0, 0.52),
        0 54px 140px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.validator-panel-check {
    min-height: auto;
    display: flex;
    align-items: stretch;
}
.validator-panel-studio {
    min-height: auto;
    padding: 22px 18px 36px;
    max-width: none;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}
.validator-panel-privacy {
    flex: 0 1 auto;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
}

.validator-top {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(28px, 4vw, 40px) clamp(18px, 3vw, 32px) clamp(32px, 4vw, 44px);
    text-align: center;
    box-sizing: border-box;
}
.validator-crown {
    font-size: 3.5rem;
    margin-bottom: 8px;
}
.validator-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--gold);
    text-shadow: 0 0 24px rgba(255, 215, 0, 0.45);
    margin: 0 0 10px;
    text-align: center;
}
.validator-tagline {
    color: #888;
    font-size: 0.95rem;
    margin: 0 auto 28px;
    max-width: 420px;
}
.card-label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--cyan);
    margin-bottom: 10px;
    width: 100%;
    max-width: min(520px, 100%);
    text-align: left;
}
.card-input-premium {
    width: 100%;
    max-width: min(520px, 100%);
    padding: 18px 22px;
    font-family: 'Courier Prime', monospace;
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    color: #fff;
    background: linear-gradient(145deg, #151515 0%, #0a0a0a 100%);
    border: 3px solid var(--gold);
    border-radius: 16px;
    outline: none;
    box-shadow:
        0 0 0 1px rgba(255, 215, 0, 0.15),
        0 0 40px rgba(255, 215, 0, 0.12),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.card-input-premium:focus {
    border-color: var(--neon-green);
    box-shadow:
        0 0 0 2px rgba(16, 185, 129, 0.3),
        0 0 48px rgba(16, 185, 129, 0.25),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}
.card-status {
    margin-top: 22px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}
.card-status-waiting {
    color: #666;
    text-shadow: none;
}
.card-status-valid {
    color: var(--neon-green);
    text-shadow: 0 0 24px rgba(16, 185, 129, 0.9);
}
.card-status-invalid {
    color: var(--danger);
    text-shadow: 0 0 24px rgba(255, 0, 51, 0.65);
}
.card-status-partial {
    color: #888;
    font-size: 1.05rem;
    font-weight: 600;
}
.card-type-line {
    margin-top: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--cyan);
    min-height: 1.4em;
    text-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
}
.validator-deals-strip {
    max-width: none;
    margin: 0;
    width: 100%;
    padding: clamp(18px, 3vw, 26px) clamp(16px, 2.5vw, 22px) clamp(20px, 3vw, 26px);
    box-sizing: border-box;
}

/* Validator: Upcoming tools */
.validator-upcoming {
    max-width: none;
    margin: 0;
    width: 100%;
    padding: clamp(18px, 2.5vw, 22px) clamp(14px, 2vw, 18px) clamp(20px, 2.5vw, 24px);
    box-sizing: border-box;
}
.validator-upcoming-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-align: center;
    margin: 0 0 8px;
}
.validator-upcoming-sub {
    text-align: center;
    font-size: 0.82rem;
    color: #777;
    margin: 0 0 16px;
    line-height: 1.5;
}
.validator-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (max-width: 720px) {
    .validator-upcoming-grid { grid-template-columns: 1fr; }
}
.upcoming-tool {
    padding: 14px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 14, 0.5);
    color: #b8b0cc;
    line-height: 1.55;
}
.upcoming-tool-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.06em;
}
.upcoming-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.9);
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.9), rgba(255, 215, 0, 0.9));
}
.upcoming-tool p {
    margin: 0;
    font-size: 0.9rem;
}
.validator-deals-strip-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: var(--gold);
    text-align: center;
    margin: 0 0 6px;
}
.validator-deals-strip-sub {
    text-align: center;
    font-size: 0.78rem;
    color: #666;
    margin: 0 0 14px;
}
.validator-deals-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    min-height: 108px;
    padding: 10px 6px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
}
.validator-deal-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 132px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(160deg, rgba(30, 26, 38, 0.95), rgba(8, 8, 12, 0.98));
    cursor: pointer;
    text-align: left;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.validator-deal-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.validator-deal-chip small {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: #888;
    margin-bottom: 4px;
}
.validator-deal-chip strong {
    display: block;
    font-size: 1.05rem;
    color: var(--gold);
}
.validator-deal-chip em {
    display: block;
    font-size: 0.72rem;
    font-style: normal;
    color: var(--cyan);
    margin-top: 4px;
}

.validator-bottom {
    flex: 0 1 auto;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}
.validator-bottom.validator-surface {
    padding: clamp(20px, 3vw, 28px) clamp(16px, 2.5vw, 20px) clamp(22px, 3vw, 30px);
    background: linear-gradient(165deg, rgba(14, 22, 18, 0.95) 0%, rgba(6, 8, 10, 0.98) 100%);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(16, 185, 129, 0.1);
}
.validator-bottom-inner {
    max-width: none;
    margin: 0;
}
.validator-bottom-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--gold);
    margin-bottom: 12px;
    text-align: left;
    letter-spacing: 0.08em;
}
.validator-bottom-text {
    color: #9a94ac;
    line-height: 1.65;
    text-align: left;
    margin-bottom: 16px;
    font-size: 0.9rem;
}
.validator-bullets {
    color: #8a8498;
    font-size: 0.86rem;
    line-height: 1.65;
    padding-left: 1.1em;
    max-width: none;
    margin: 0;
    text-align: left;
}
.validator-bullets li {
    margin-bottom: 8px;
}

/* Validator — wallet + studio */
.validator-panel-wallet .validator-ledger {
    padding: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.validator-ledger {
    padding: 28px 20px 8px;
    display: flex;
    justify-content: center;
}
.ledger-panel {
    width: 100%;
    max-width: 520px;
    background: linear-gradient(165deg, #1a1510 0%, #0c0c0c 100%);
    border: 3px solid var(--gold);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 0 36px rgba(255, 215, 0, 0.2);
}
.ledger-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}
.ledger-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: #888;
}
.ledger-balance {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--neon-green);
    text-shadow: 0 0 22px rgba(16, 185, 129, 0.55);
}
.ledger-hint {
    margin-top: 12px;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.45;
}
.btn-ledger-deposit {
    margin-top: 16px;
    width: 100%;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #0d4d3a 0%, var(--neon-green) 50%, #0d4d3a 100%);
    color: #000;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
}

.validator-studio-wrap {
    padding: clamp(14px, 2.5vw, 20px) clamp(14px, 2.5vw, 22px) clamp(24px, 3vw, 36px);
    max-width: none;
    margin: 0;
    width: 100%;
}
.validator-panel-studio.validator-studio-wrap {
    padding-top: clamp(22px, 3vw, 30px);
}
.studio-label-row {
    text-align: center;
    margin-bottom: 14px;
}
.studio-badge {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    margin-bottom: 6px;
}
.studio-title {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.35rem;
    color: var(--gold);
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.35);
    margin: 0;
}
.studio-lock-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #777;
}
.studio-chrome {
    position: relative;
    border-radius: 24px;
    padding: 3px;
    min-height: 300px;
    background: linear-gradient(145deg, #3a3a42 0%, #1a1a1e 40%, #2a2a30 100%);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.studio-chrome-bezel {
    border-radius: 22px;
    padding: 18px 20px 22px;
    background: linear-gradient(180deg, #222228 0%, #101012 100%);
    position: relative;
}
.studio-chrome-rivet {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #666, #111);
    top: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8);
}
.studio-chrome-rivet:first-of-type { left: 14px; }
.studio-chrome-rivet:nth-of-type(2) { right: 14px; }
.studio-chrome-screen {
    position: relative;
    margin-top: 8px;
    border-radius: 14px;
    padding: 22px 18px;
    background: radial-gradient(ellipse at top, #152a22 0%, #050807 70%);
    border: 2px solid rgba(16, 185, 129, 0.25);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.65);
}
.studio-screen-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}
.studio-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: 0 0 12px var(--neon-green);
    animation: studioLed 1.4s ease-in-out infinite;
}
@keyframes studioLed {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.studio-disclaimer {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.4;
    margin-bottom: 16px;
    text-align: left;
}
.btn-studio-generate {
    width: 100%;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px;
    border-radius: 10px;
    border: 2px solid var(--gold);
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold);
    cursor: pointer;
    letter-spacing: 0.12em;
}
.btn-studio-generate:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    filter: grayscale(0.9);
}
.studio-unlocked .btn-studio-generate {
    background: linear-gradient(90deg, #1a3328, var(--neon-green));
    color: #000;
    border-color: var(--neon-green);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.4);
}
.generator-output {
    margin-top: 22px;
    min-height: 5.5rem;
    text-align: center;
    perspective: 800px;
}
.virtual-pan-card {
    position: relative;
    margin: 0 auto;
    max-width: 340px;
    border-radius: 16px;
    padding: 0 0 20px;
    background: linear-gradient(135deg, #1e2430 0%, #0d1018 55%, #151c28 100%);
    border: 1px solid rgba(255, 215, 0, 0.35);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.65),
        0 0 40px rgba(255, 215, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: rotateX(4deg);
    overflow: hidden;
    animation: panCardReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes panCardReveal {
    from {
        opacity: 0;
        transform: rotateX(8deg) translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: rotateX(4deg) translateY(0) scale(1);
    }
}
.virtual-pan-stripe {
    height: 36px;
    background: repeating-linear-gradient(
        90deg,
        #0a0a0c 0px,
        #0a0a0c 4px,
        #1a1a22 4px,
        #1a1a22 8px
    );
    border-bottom: 1px solid rgba(0, 0, 0, 0.6);
}
.virtual-pan-chip {
    position: absolute;
    top: 52px;
    left: 22px;
    width: 42px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(145deg, #d4af37 0%, #8a7020 45%, #c9a227 100%);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.35);
}
.virtual-pan-chip::after {
    content: '';
    position: absolute;
    inset: 6px 5px;
    border-radius: 3px;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 2px,
        transparent 2px,
        transparent 4px
    );
    opacity: 0.5;
}
.virtual-pan-body {
    padding: 56px 20px 8px;
    text-align: center;
}
.generator-pan {
    display: block;
    font-family: 'Courier Prime', monospace;
    font-size: clamp(1.05rem, 2.8vw, 1.28rem);
    letter-spacing: 0.14em;
    color: #e8f4ff;
    text-shadow: 0 0 18px rgba(34, 211, 238, 0.55);
}
.generator-meta {
    display: block;
    margin-top: 10px;
    font-size: 0.78rem;
    color: #7a8a9a;
}
.studio-lock-overlay {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.2) 0%, rgba(8, 8, 10, 0.88) 45%, rgba(6, 6, 8, 0.92) 100%);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 12px 16px 22px;
}
.studio-lock-card {
    max-width: 360px;
    width: 100%;
    text-align: center;
    padding: 18px 18px 20px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(20, 20, 24, 0.96);
    margin-bottom: 4%;
}
.studio-lock-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    filter: grayscale(1);
    opacity: 0.85;
}
.studio-lock-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 10px;
}
.studio-lock-text {
    font-size: 0.88rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 16px;
}
.studio-lock-cta {
    margin-top: 0 !important;
}

/* Floating royal wallet (validator tab only — inside #tab-2) */
.royal-wallet-float {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 4000;
    pointer-events: auto;
}
.royal-wallet-float-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 168px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 2px solid rgba(255, 215, 0, 0.55);
    background: linear-gradient(155deg, rgba(26, 22, 18, 0.97) 0%, rgba(8, 8, 10, 0.98) 100%);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}
.royal-wallet-float-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.28em;
    color: #888;
    text-align: center;
}
.royal-wallet-float-balance {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--neon-green);
    text-shadow: 0 0 18px rgba(16, 185, 129, 0.55);
    text-align: center;
}
.royal-wallet-float-deposit {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, #0d4d3a, var(--neon-green) 50%, #0d4d3a);
    color: #000;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.4);
}
.royal-wallet-float-deposit:hover {
    filter: brightness(1.08);
}
@media (max-width: 520px) {
    .royal-wallet-float {
        right: 12px;
        bottom: 14px;
    }
    .royal-wallet-float-inner {
        min-width: 148px;
        padding: 12px;
    }
}

.deposit-modal-inner {
    max-width: 640px;
}
.deposit-amount-row {
    margin: 18px 0 8px;
    text-align: left;
}
.deposit-amt-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #888;
    display: block;
    margin-bottom: 10px;
}
.deposit-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.deposit-chip {
    flex: 1;
    min-width: 72px;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #444;
    background: #111;
    color: #aaa;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
}
.deposit-chip-active {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
}
.payment-qr-sm {
    width: 64px;
    height: 64px;
}
.deposit-qr-tappable {
    cursor: pointer;
    border-radius: 8px;
    transition: box-shadow 0.15s ease, transform 0.12s ease;
}
.deposit-qr-tappable:hover {
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.45);
    transform: scale(1.04);
}
.deposit-qr-tappable:focus {
    outline: 2px solid rgba(16, 185, 129, 0.85);
    outline-offset: 2px;
}
.deposit-qr-lightbox-inner {
    max-width: 400px;
    text-align: center;
}
.deposit-footnote {
    font-size: 0.75rem;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
}

/* Website builder tab */
.wb-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    width: 100%;
    max-width: min(1320px, 100%);
    margin: 0 auto;
    align-items: start;
    box-sizing: border-box;
}
.wb-toolz-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 26px;
    align-items: stretch;
}
@media (min-width: 900px) {
    .wb-toolz-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Toolz tab — coming soon pipeline (illustrative brand styling) */
.wb-pipeline {
    margin: 32px 0 12px;
    padding: 22px 20px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(217, 70, 239, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(14, 12, 20, 0.95) 0%, rgba(6, 6, 10, 0.88) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 60px rgba(0, 0, 0, 0.45);
}
.wb-pipeline__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.wb-pipeline__badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.28em;
    color: rgba(244, 114, 255, 0.95);
    border: 1px solid rgba(244, 114, 255, 0.35);
    background: rgba(0, 0, 0, 0.35);
}
.wb-pipeline__title {
    margin: 12px 0 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    color: rgba(255, 252, 245, 0.98);
    text-shadow: 0 0 28px rgba(255, 215, 120, 0.12);
}
.wb-pipeline__sub {
    margin: 10px 0 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(196, 188, 216, 0.92);
}
.wb-pipeline__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 16px;
    margin-top: 20px;
}
.wb-pipeline-card {
    position: relative;
    border-radius: 18px;
    padding: 18px 16px 20px;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}
.wb-pipeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.wb-pipeline-card__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.wb-pipeline-word {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
}
.wb-pipeline-word--netflix {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
    letter-spacing: 0.18em;
}
.wb-pipeline-word--hulu {
    font-size: clamp(1.65rem, 3.4vw, 2.1rem);
    font-weight: 800;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    color: #0b1f16;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.wb-pipeline-word--steam {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    letter-spacing: 0.22em;
    color: #b8d4e8;
    text-shadow: 0 0 18px rgba(102, 192, 244, 0.35);
}
.wb-pipeline-icon {
    opacity: 0.95;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}
.wb-pipeline-card--netflix {
    background: linear-gradient(165deg, #0a0a0a 0%, #0a0a0a 48%, #e50914 48%, #b20710 100%);
    border-color: rgba(255, 80, 80, 0.35);
}
.wb-pipeline-card--hulu {
    background: linear-gradient(180deg, #1ce783 0%, #12a85c 100%);
    border-color: rgba(12, 80, 50, 0.45);
}
.wb-pipeline-card--steam {
    background: linear-gradient(145deg, #171a21 0%, #1b2838 45%, #2a475e 100%);
    border-color: rgba(102, 192, 244, 0.28);
}
.wb-pipeline-card__hint {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
    max-width: 22ch;
}
.wb-pipeline-card--hulu .wb-pipeline-card__hint {
    color: rgba(12, 40, 28, 0.92);
    font-weight: 600;
}
.wb-pipeline-card__soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    color: rgba(10, 10, 14, 0.95);
    background: linear-gradient(180deg, #fde68a 0%, #fbbf24 100%);
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.35);
}
.wb-pipeline-card--hulu .wb-pipeline-card__soon {
    color: #0a0a0a;
}
.wb-pipeline__fine {
    margin: 16px auto 0;
    font-size: 0.68rem;
    line-height: 1.45;
    color: rgba(148, 140, 168, 0.88);
    text-align: center;
    max-width: 820px;
}

.validator-validate-btn {
    max-width: min(520px, 100%);
    margin-left: auto;
    margin-right: auto;
}
.support-vendor-card .support-vendor-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 12px 0 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}
.support-quick .btn-royal-outline {
    margin-top: 0;
}
.support-form .support-label:first-of-type {
    margin-top: 4px;
}
.wb-tool-card .wb-template-desc {
    margin-bottom: 12px;
}
.wb-tool-shot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    aspect-ratio: 3 / 4;
    max-height: 520px;
    height: auto;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 25%, rgba(34, 211, 238, 0.18), transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(255, 215, 0, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(8, 8, 12, 0.75) 0%, rgba(10, 12, 18, 0.9) 100%);
}
/* Override generic template 16:10 + cover so tall product art shows the full figure */
.wb-tool-card .wb-template-shot.wb-tool-shot {
    aspect-ratio: 3 / 4;
    height: auto;
    min-height: 340px;
    max-height: 520px;
}
.wb-tool-shot .wb-template-img,
.wb-tool-shot .wb-tool-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: contain;
    object-position: center center;
    background: rgba(255, 255, 255, 0.92);
}
.wb-tool-icon {
    font-size: 4.2rem;
    filter: drop-shadow(0 0 22px rgba(34, 211, 238, 0.25)) drop-shadow(0 0 22px rgba(255, 215, 0, 0.14));
}
.wb-tool-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    background: rgba(114, 137, 218, 0.22);
    border: 1px solid rgba(114, 137, 218, 0.4);
    color: rgba(255, 255, 255, 0.92);
}
.wb-tool-badge--cyan {
    background: rgba(34, 211, 238, 0.16);
    border-color: rgba(34, 211, 238, 0.42);
}
.wb-tool-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}
.wb-tool-price {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--gold);
    text-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
}
.wb-tool-btn {
    width: auto;
    padding: 10px 14px;
}
.wb-shell-main {
    min-width: 0;
}
.wb-shell-rail {
    display: none;
    min-height: 300px;
    border-radius: 22px;
    border: 1px dashed rgba(255, 215, 0, 0.28);
    background:
        linear-gradient(155deg, rgba(255, 215, 0, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, rgba(8, 8, 12, 0.88) 0%, rgba(12, 14, 20, 0.94) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 215, 0, 0.07),
        0 18px 48px rgba(0, 0, 0, 0.4);
}
@media (min-width: 1080px) {
    .wb-shell {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
        gap: 28px 40px;
    }
    .wb-shell-rail {
        display: block;
        position: sticky;
        top: 96px;
        align-self: start;
    }
}
.website-builder-tab {
    position: relative;
    z-index: 2;
    /* Account for fixed top nav so gold headings aren't covered */
    padding: 96px clamp(10px, 3vw, 28px) 80px;
    max-width: none;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.wb-hero {
    text-align: left;
    padding: 36px clamp(12px, 3vw, 28px) 28px clamp(4px, 5vw, 52px);
    max-width: 880px;
}
.wb-crown {
    font-size: 3rem;
    margin-bottom: 8px;
}
.wb-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--gold);
    text-shadow: 0 0 28px rgba(255, 215, 0, 0.4);
}
.wb-price-tag {
    margin-top: 14px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #ccc;
}
.wb-price-tag span {
    color: var(--neon-green);
    font-size: 1.5rem;
    text-shadow: 0 0 18px rgba(16, 185, 129, 0.5);
}

/* Website builder — example template previews */
.wb-templates-section {
    margin: 8px 0 36px;
    padding: 0 clamp(2px, 2vw, 12px);
}
.wb-templates-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
    color: #fff;
    text-align: left;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
    margin: 0 0 12px clamp(0, 1vw, 8px);
    max-width: 20ch;
    line-height: 1.25;
}
.wb-templates-sub {
    text-align: left;
    color: #888;
    font-size: 0.92rem;
    max-width: min(640px, 100%);
    margin: 0 0 28px clamp(0, 1vw, 8px);
    line-height: 1.55;
}
.wb-templates-credit {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: #5c5668;
    margin: 22px 0 0;
    text-align: right;
}
.wb-templates-credit a {
    color: var(--cyan);
    text-decoration: none;
}
.wb-templates-credit a:hover {
    text-decoration: underline;
}
.wb-templates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px 20px;
}
@media (max-width: 1000px) {
    .wb-templates-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .wb-templates-grid { grid-template-columns: 1fr; }
    .wb-templates-grid .wb-template:nth-child(n) {
        transform: none;
    }
    .wb-templates-heading {
        max-width: none;
    }
}
.wb-template {
    background: linear-gradient(165deg, #161616 0%, #0a0a0a 100%);
    border-radius: 16px;
    padding: 14px 14px 16px;
    border: 2px solid #333;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.wb-templates-grid .wb-template:nth-child(1) {
    transform: rotate(-1.1deg) translateX(-4px);
}
.wb-templates-grid .wb-template:nth-child(2) {
    transform: translateY(14px) rotate(0.75deg);
}
.wb-templates-grid .wb-template:nth-child(3) {
    transform: rotate(-0.5deg) translateY(6px);
}
.wb-templates-grid .wb-template:nth-child(4) {
    transform: rotate(1deg) translateX(6px);
}
.wb-template:hover {
    transform: translateY(-6px) rotate(0deg) scale(1.02);
    z-index: 2;
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 28px rgba(16, 185, 129, 0.12);
}
.wb-template-neon { border-color: rgba(16, 185, 129, 0.35); }
.wb-template-noir { border-color: rgba(255, 215, 0, 0.25); }
.wb-template-drops { border-color: rgba(255, 0, 51, 0.35); }
.wb-template-brutal { border-color: rgba(192, 255, 0, 0.35); }
.wb-template-browser {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    margin-bottom: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.wb-template-bar {
    display: flex;
    gap: 5px;
    padding: 8px 10px;
    background: #222;
}
.wb-template-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #555;
}
.wb-template-bar span:first-child { background: #ff5f57; }
.wb-template-bar span:nth-child(2) { background: #febc2e; }
.wb-template-bar span:nth-child(3) { background: #28c840; }
.wb-template-shot {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #08080a;
    overflow: hidden;
}
.wb-template-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
}
.wb-template:hover .wb-template-img {
    transform: scale(1.04);
    filter: saturate(1.08) brightness(1.05);
}
.wb-template-body {
    height: 118px;
    padding: 10px;
    position: relative;
}
.wb-mock-neon {
    background: radial-gradient(ellipse at 30% 0%, rgba(16, 185, 129, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, #070a09 0%, #050508 100%);
}
.wb-mock-hero {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--neon-green);
    text-shadow: 0 0 12px var(--neon-green);
    text-align: center;
    margin-top: 4px;
}
.wb-mock-line {
    height: 3px;
    width: 42%;
    margin: 10px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.8;
}
.wb-mock-row {
    display: flex;
    gap: 6px;
    margin-top: 14px;
    justify-content: center;
}
.wb-mock-row span {
    width: 22%;
    height: 28px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
}
.wb-mock-noir {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1510 100%);
}
.wb-mock-nav {
    height: 6px;
    width: 40%;
    background: rgba(255, 215, 0, 0.25);
    border-radius: 2px;
    margin: 8px auto 0;
}
.wb-mock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 12px;
    padding: 0 6px;
}
.wb-mock-grid span {
    height: 36px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.15);
}
.wb-mock-drops {
    background: linear-gradient(180deg, #120808 0%, #0a0606 100%);
}
.wb-mock-banner {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    color: #fff;
    background: var(--danger);
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    margin: 6px 0 0 6px;
    letter-spacing: 0.15em;
}
.wb-mock-cards {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    padding: 0 6px;
    justify-content: center;
}
.wb-mock-cards span {
    flex: 1;
    height: 52px;
    border-radius: 4px;
    background: linear-gradient(145deg, #222 0%, #111 100%);
    border: 1px solid rgba(255, 0, 51, 0.25);
}
.wb-mock-brutal {
    background: #0a0a0a;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px !important;
}
.wb-mock-big {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 0.85;
    color: #c8ff00;
    text-shadow: 0 0 20px rgba(200, 255, 0, 0.4);
    flex-shrink: 0;
}
.wb-mock-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 4px;
}
.wb-mock-stack span {
    height: 8px;
    border-radius: 1px;
    background: #fff;
    opacity: 0.85;
}
.wb-mock-stack span:last-child {
    width: 70%;
    opacity: 0.4;
}
.wb-template-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.88rem;
    color: var(--gold);
    margin-bottom: 6px;
}
.wb-template-desc {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.45;
    margin-bottom: 12px;
    min-height: 3.2em;
}
.wb-template-btn {
    width: 100%;
    padding: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    border-radius: 8px;
    border: 2px solid var(--neon-green);
    background: rgba(16, 185, 129, 0.12);
    color: var(--neon-green);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.wb-template-btn:hover {
    background: var(--neon-green);
    color: #000;
}

.wb-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 28px 36px;
    align-items: start;
    margin-top: 8px;
    transform: rotate(-0.25deg);
}
@media (max-width: 900px) {
    .wb-grid { grid-template-columns: 1fr; }
}
.wb-explain {
    background: rgba(17, 17, 17, 0.9);
    border: 2px solid rgba(34, 211, 238, 0.35);
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.08);
}
.wb-explain-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    font-size: 1.1rem;
    margin-bottom: 14px;
}
.wb-explain-p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 12px;
}
.wb-callout {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid var(--gold);
    background: rgba(255, 215, 0, 0.06);
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.5;
}
.wb-form {
    background: rgba(17, 17, 17, 0.95);
    border: 3px solid var(--gold);
    border-radius: 18px;
    padding: 24px 22px 28px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.12);
}
.wb-form-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 1.15rem;
}
.wb-form .wb-form-hint {
    margin: -6px 0 14px;
}
.wb-label {
    display: block;
    text-align: left;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: var(--cyan);
    margin: 14px 0 6px;
}
.wb-input, .wb-textarea {
    margin-top: 0 !important;
}
.wb-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Courier Prime', monospace;
}
.wb-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 18px;
    text-align: left;
    font-size: 0.88rem;
    color: #bbb;
    line-height: 1.45;
    cursor: pointer;
}
.wb-check input {
    margin-top: 4px;
    flex-shrink: 0;
}
.wb-submit {
    margin-top: 20px !important;
}

.checkout-qr-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 4px;
    font-size: 0.85rem;
    color: #c9c2b0;
    cursor: pointer;
    user-select: none;
    text-align: left;
}
.checkout-qr-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
    cursor: pointer;
}
.checkout-hide-addr-qrs .coin-option .payment-qr {
    display: none;
}

/* Checkout: on-chain payment summary + tx verification */
.checkout-pay-summary {
    margin: 16px 0 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.22);
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #e8e0d0;
}
.checkout-pay-summary strong {
    color: #ffd700;
}
.checkout-qr-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
}
.checkout-pay-qr {
    width: 180px;
    height: 180px;
    max-width: 100%;
    border-radius: 12px;
    border: 2px solid var(--gold);
    background: #fff;
    vertical-align: middle;
}
.checkout-qr-caption {
    margin: 10px 0 0;
    font-size: 0.78rem;
    color: #9a9488;
    line-height: 1.45;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}
.tx-verify-section {
    margin-top: 18px;
    text-align: left;
}
.tx-verify-section label {
    display: block;
    font-size: 0.85rem;
    color: #c9c2b0;
    margin-bottom: 8px;
}
.tx-verify-section input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-family: ui-monospace, monospace;
    font-size: 0.85rem;
}
.tx-verify-section .btn {
    margin-top: 12px;
    width: 100%;
}
.tx-verify-hint {
    font-size: 0.8rem;
    color: #9a9488;
    margin-top: 10px;
    line-height: 1.45;
}

/* ========== SUPPORT tab ========== */
.support-tab {
    position: relative;
    min-height: 100vh;
    /* Must track --nav-h (set by JS from real nav height); fixed px was too small when nav wraps */
    padding-top: calc(var(--nav-h) + 30px);
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: calc(48px + var(--legal-h));
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}
.support-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(34, 211, 238, 0.12), transparent 50%),
        linear-gradient(175deg, #07060c 0%, #0c0818 50%, #050508 100%);
    pointer-events: none;
}
.support-layout {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
}
.support-hero {
    text-align: center;
    margin-bottom: 28px;
}
.support-kicker {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.35em;
    color: var(--cyan);
    margin-bottom: 10px;
}
.support-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--gold);
    text-shadow: 0 0 28px rgba(255, 215, 0, 0.35);
    margin: 0 0 12px;
}
.support-lead {
    color: #9a92a8;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 560px;
    margin: 0 auto;
}
.support-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 860px) {
    .support-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: start;
    }
}
.support-card {
    border-radius: 20px;
    padding: 22px 20px 24px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: rgba(10, 10, 16, 0.88);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 48px rgba(0, 0, 0, 0.52),
        0 54px 140px rgba(0, 0, 0, 0.26);
}
.support-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    color: var(--gold);
    margin: 0 0 10px;
    letter-spacing: 0.1em;
}
.support-card-hint {
    font-size: 0.78rem;
    color: #6b6578;
    margin: 0 0 16px;
    line-height: 1.45;
}
.support-card-hint code {
    font-size: 0.72rem;
    color: #8a8298;
}
.support-card-hint--warn {
    color: #fbbf24 !important;
    border-left: 3px solid rgba(251, 191, 36, 0.55);
    padding-left: 12px;
}
.support-label {
    display: block;
    text-align: left;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    color: var(--cyan);
    margin: 14px 0 6px;
}
.support-input,
.support-textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0 !important;
}
.support-submit {
    width: 100%;
    margin-top: 20px !important;
}
.support-faq {
    margin: 0;
    padding-left: 18px;
    color: #b8b0c8;
    font-size: 0.9rem;
    line-height: 1.65;
}
.support-faq li {
    margin-bottom: 12px;
}
.support-faq strong {
    color: #e8e0f0;
}
.support-note {
    margin: 18px 0 0;
    font-size: 0.82rem;
    color: #6b6578;
    line-height: 1.5;
}

/* ========== Auth lock screen (first visit / after sign out) ========== */
.auth-lock-screen {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    /* Above inventory / search (99k, 12k); below simple .modals (200100) */
    z-index: 190000;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    overflow: auto;
    /* Opaque base so blurred page never “bleeds through” if inner content fails to paint */
    background: rgba(0, 0, 0, 0.88);
    isolation: isolate;
}
body.auth-locked .auth-lock-screen {
    display: flex;
}
/* Exclude .modal overlays so login/forgot/cart stay clickable above the lock */
/* Keep top nav usable so PROMO / LOGIN / cart still work while the lock panel is up */
/* noscript banner must stay clickable when JS is off (otherwise pointer-events:none blocks /login links). */
body.auth-locked > *:not(#auth-lock-screen):not(.royal-modal-backdrop):not(.modal):not(nav):not(noscript) {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}
body.auth-locked > noscript {
    filter: none !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 200001;
}
.auth-lock-screen,
.auth-lock-screen * {
    filter: none !important;
    pointer-events: auto;
    user-select: auto;
}
.auth-lock-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 215, 0, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 80%, rgba(34, 211, 238, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 35% at 0% 60%, rgba(168, 85, 247, 0.1), transparent 45%),
        linear-gradient(165deg, #06060a 0%, #0f0a14 45%, #060810 100%);
    pointer-events: none;
}
.auth-lock-card-fan {
    position: absolute;
    left: 50%;
    top: 8%;
    transform: translateX(-50%);
    width: min(420px, 92vw);
    height: 200px;
    pointer-events: none;
    z-index: 0;
}
.playing-card {
    position: absolute;
    width: 76px;
    height: 108px;
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.85);
    background: linear-gradient(145deg, #1a1020 0%, #0d0d12 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 215, 0, 0.15);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #f5e6c8;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.02em;
}
.playing-card::after {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    opacity: 0.9;
}
.playing-card-spade::after {
    content: '♠';
    color: #e8e0d8;
}
.playing-card-heart::after {
    content: '♥';
    color: #f472b6;
}
.playing-card-club::after {
    content: '♣';
    color: #86efac;
}
.playing-card-diamond::after {
    content: '♦';
    color: #38bdf8;
}
.playing-card-k {
    left: 8%;
    top: 24px;
    transform: rotate(-18deg);
}
.playing-card-q {
    left: 28%;
    top: 0;
    transform: rotate(-6deg);
    z-index: 1;
}
.playing-card-j {
    left: 48%;
    top: 8px;
    transform: rotate(8deg);
    z-index: 2;
}
.playing-card-a {
    left: 66%;
    top: 28px;
    transform: rotate(22deg);
    z-index: 1;
}
.auth-lock-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    margin-top: clamp(48px, 12vh, 160px);
    padding: 28px 26px 22px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.2), 0 24px 48px rgba(0, 0, 0, 0.5);
    background: rgba(8, 8, 12, 0.92);
    backdrop-filter: blur(12px);
}
.auth-lock-crown {
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 4px;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
}
.auth-lock-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #ffd700;
    margin: 0 0 8px;
    text-shadow: 0 0 24px rgba(255, 215, 0, 0.35);
}
.auth-lock-tagline {
    font-size: 0.88rem;
    color: #a8a0b8;
    margin: 0 0 20px;
    line-height: 1.45;
}

/* Lock screen — same messaging as top noscript banner on homepage (JS + fallback links) */
.auth-lock-js-notice {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a1520;
    color: #e8e0f0;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.auth-lock-js-notice-lead {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    line-height: 1.5;
}
.auth-lock-js-notice-lead strong {
    color: #fde68a;
    font-weight: 700;
}
.auth-lock-js-notice-links {
    margin: 10px 0 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.76rem;
    line-height: 1.5;
}
.auth-lock-js-notice-links a {
    color: #7dd3fc;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.auth-lock-js-notice-links a[href='/continue-as-guest'] {
    color: #c4b5fd;
}
.auth-lock-js-notice-links a[href='/logout'],
.auth-lock-js-notice-links a[href='/'] {
    color: #9aa0a6;
}
.auth-lock-js-sep {
    margin: 0 0.2em;
    color: rgba(255, 255, 255, 0.25);
}
.auth-lock-js-notice-foot {
    margin: 10px 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #b8b3c0;
}

/* Lock screen reviews */
.lock-reviews {
    margin: 14px 0 14px;
    padding: 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 14, 0.55);
    text-align: left;
}
.lock-reviews-kicker {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.34em;
    color: rgba(34, 211, 238, 0.92);
    margin-bottom: 8px;
}
.lock-review-quote {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.lock-review-author {
    margin: 10px 0 0;
    font-family: 'Courier Prime', monospace;
    font-size: 0.78rem;
    color: rgba(16, 185, 129, 0.95);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.5s ease 0.06s, transform 0.5s ease 0.06s;
}

/* Home — reviews ribbon (between deal line & Steam; distinct from hero card) */
.home-reviews-ribbon {
    position: relative;
    z-index: 1;
}

.home-reviews-ribbon .home-reviews-inline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(16px, 3.5vw, 28px);
    align-items: stretch;
    text-align: left;
}

.home-reviews-ribbon .home-reviews-inline-kicker {
    margin: 0;
    align-self: start;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    line-height: 1.3;
    color: rgba(255, 215, 0, 0.95);
    background: rgba(0, 0, 0, 0.35);
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}

.home-reviews-ribbon .home-reviews-body {
    min-width: 0;
    padding: 2px 0 4px 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: clamp(12px, 2.6vw, 18px);
}

.home-reviews-ribbon .home-review-quote {
    margin: 0;
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-style: italic;
    font-weight: 600;
    font-size: clamp(1.02rem, 2.5vw, 1.35rem);
    line-height: 1.55;
    letter-spacing: 0.02em;
    color: rgba(255, 250, 245, 0.94);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.home-reviews-ribbon .home-review-quote::before {
    content: '\201C';
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-style: normal;
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1;
    margin-bottom: 6px;
    color: rgba(34, 211, 238, 0.45);
    text-shadow: 0 0 28px rgba(34, 211, 238, 0.35);
}

.home-reviews-ribbon .home-review-author {
    margin: 14px 0 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.65rem, 1.4vw, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(16, 185, 129, 0.95);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease 0.06s, transform 0.5s ease 0.06s;
}

@media (max-width: 560px) {
    .home-reviews-ribbon .home-reviews-inline {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .home-reviews-ribbon .home-reviews-inline-kicker {
        writing-mode: horizontal-tb;
        transform: none;
        text-align: center;
        letter-spacing: 0.28em;
        padding: 10px 14px;
        justify-self: start;
    }
    .home-reviews-ribbon .home-reviews-body {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 14px;
    }
}

/* Fallback if .home-reviews-inline appears elsewhere */
.home-reviews-inline {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 14, 0.45);
    text-align: left;
    max-width: min(640px, 100%);
}
.home-reviews-inline-kicker {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.34em;
    color: rgba(34, 211, 238, 0.92);
    margin-bottom: 8px;
}
.home-review-quote {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.84rem, 1.6vw, 0.95rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.home-review-author {
    margin: 10px 0 0;
    font-family: 'Courier Prime', monospace;
    font-size: clamp(0.78rem, 1.5vw, 0.86rem);
    color: rgba(16, 185, 129, 0.95);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.5s ease 0.06s, transform 0.5s ease 0.06s;
}

.kk-review-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.auth-lock-label {
    display: block;
    text-align: left;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    margin: 10px 0 6px;
}
.auth-lock-input {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0 !important;
}
.auth-optional-tag {
    font-family: 'Courier Prime', monospace;
    letter-spacing: 0.04em;
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: none;
}
.kk-forgot-btn {
    margin-top: 8px;
    font-size: 0.74rem !important;
    letter-spacing: 0.12em !important;
}
.auth-lock-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}
.auth-lock-btn {
    width: 100%;
    margin: 0 !important;
}
.auth-lock-guest {
    width: 100%;
    margin-top: 14px !important;
    font-size: 0.82rem !important;
}
.auth-lock-hint {
    font-size: 0.72rem;
    color: #6b6578;
    margin: 14px 0 0;
    line-height: 1.4;
}

/* Admin dashboard */
.admin-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 18px clamp(14px, 4vw, 34px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 12, 0.78);
    backdrop-filter: blur(10px);
}
.admin-brand {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.14em;
    color: var(--gold);
    font-weight: 800;
}
.admin-badge {
    margin-left: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    padding: 6px 10px;
    border-radius: 999px;
    color: #000;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.9), rgba(255, 215, 0, 0.9));
}
.admin-user {
    font-family: 'Courier Prime', monospace;
    color: rgba(255, 255, 255, 0.75);
}
.admin-main {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px clamp(14px, 4vw, 34px) 72px;
    box-sizing: border-box;
    display: grid;
    gap: 18px;
}
.admin-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 14, 0.6);
    padding: 18px 18px;
    box-shadow: var(--kk-depth-2);
}
.admin-title {
    margin: 0 0 10px;
    font-family: 'Orbitron', sans-serif;
    color: var(--gold);
    letter-spacing: 0.06em;
}
.admin-title-sm {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    letter-spacing: 0.06em;
}
.admin-sub {
    margin: 0 0 14px;
    color: #8e889b;
    line-height: 1.55;
}
.admin-label {
    display: block;
    margin: 12px 0 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.7);
}
.admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.admin-note {
    margin: 10px 0 0;
    color: #a8a0b8;
    font-size: 0.9rem;
}
.admin-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.admin-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.admin-card-actions a.btn-royal-outline,
.admin-card-actions a.btn-royal-primary {
    width: auto;
    margin-top: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}
.admin-products {
    display: grid;
    gap: 10px;
}
.admin-prod-row {
    display: grid;
    grid-template-columns: 1fr 160px 140px 220px;
    gap: 12px;
    align-items: center;
    padding: 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 12, 0.5);
}
@media (max-width: 980px) {
    .admin-prod-row {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }
}
.admin-prod-sub {
    margin-top: 6px;
    color: #7a7488;
    font-family: 'Courier Prime', monospace;
    font-size: 0.82rem;
}
.admin-prod-price {
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-prod-dollar {
    font-family: 'Orbitron', sans-serif;
    color: var(--gold);
    font-weight: 800;
}
.admin-prod-input {
    padding: 10px 12px;
}
.admin-prod-price-input {
    text-align: right;
}
.admin-prod-active {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}
.admin-prod-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Admin quick resupply cards */
.admin-quick-card {
    margin: 14px 0 18px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.18);
    box-shadow: 0 12px 34px rgba(0,0,0,0.55);
}
.admin-quick-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.86rem;
}
.admin-prod-btn {
    white-space: nowrap;
}

/* Admin hub (commerce vs layout) */
body.admin-page .admin-hub {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
}
body.admin-page .admin-hub--site {
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body.admin-page .admin-hub__kicker {
    margin: 0 0 2px;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    color: rgba(255, 215, 0, 0.75);
    text-transform: uppercase;
}

/* LIVE admin matrix */
.admin-live-overview {
    margin-top: 12px;
}
.admin-live-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.admin-live-stat {
    flex: 1 1 140px;
    min-width: 120px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.28);
}
.admin-live-stat__v {
    display: block;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 0.04em;
}
.admin-live-stat__l {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    color: rgba(200, 206, 220, 0.85);
    line-height: 1.35;
}
.admin-live-stats-hint {
    margin: 10px 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(160, 168, 186, 0.9);
}
.admin-live-empty {
    padding: 16px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: rgba(200, 206, 220, 0.88);
    font-size: 0.86rem;
    line-height: 1.5;
}
.admin-live-scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
}
.admin-live-matrix {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
    min-width: 720px;
}
.admin-live-matrix thead th {
    text-align: left;
    padding: 10px 12px;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.35);
}
.admin-live-matrix .admin-live-th-n,
.admin-live-matrix .admin-live-td-n {
    width: 36px;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
}
.admin-live-sum-row td {
    padding: 10px 12px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(226, 232, 240, 0.92);
}
.admin-live-sum-row:hover td {
    background: rgba(255, 215, 0, 0.04);
}
.admin-live-mono {
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
    color: #fff;
}
.admin-live-muted {
    color: rgba(160, 168, 186, 0.88);
}
.admin-live-preview {
    max-width: 280px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.74rem;
    color: rgba(34, 211, 238, 0.92);
    word-break: break-word;
}
.admin-live-code {
    font-size: 0.72rem;
    color: rgba(255, 215, 0, 0.85);
}
.admin-live-inline-cell {
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    background: rgba(0, 0, 0, 0.35);
}
.admin-live-editor {
    padding: 14px 14px 18px;
}
.admin-live-editor .admin-prod-row {
    margin-top: 0;
}
.admin-live-stock-note {
    display: block;
    min-height: 1.2em;
    margin: 6px 0 4px;
    font-size: 0.78rem;
    color: rgba(16, 185, 129, 0.95);
}
.admin-stock-split-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 8px 0 4px;
}
.admin-label--inline {
    margin: 0;
    display: inline;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
}
.admin-stock-split-select {
    max-width: 240px;
    font-size: 0.75rem;
}
.admin-stock-delim-input {
    flex: 1 1 180px;
    max-width: 360px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.78rem;
}
.admin-stock-split-hint {
    margin: 0 0 8px;
    font-size: 0.74rem;
    line-height: 1.45;
    color: rgba(160, 168, 186, 0.92);
}
.admin-live-stock-ta {
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    line-height: 1.35;
}
.admin-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    padding: 3px 8px;
    border-radius: 999px;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}
.admin-pill--on {
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: rgba(16, 185, 129, 0.95);
    background: rgba(16, 185, 129, 0.12);
}
.admin-pill--off {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(160, 168, 186, 0.75);
    background: rgba(0, 0, 0, 0.2);
}

/* Admin: Home layout editor */
.admin-home-studio-intro {
    max-width: 920px;
}
.admin-home-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0 14px;
    flex-wrap: wrap;
}
.admin-home-toolbar--studio {
    row-gap: 12px;
}
.admin-home-toolbar--studio .admin-note {
    margin: 0 0 0 auto;
    flex: 1 1 140px;
    text-align: right;
    min-width: 0;
}
.admin-home-zoom-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 4px;
}
.admin-home-zoom-range {
    width: min(120px, 22vw);
    accent-color: var(--cyan);
}
.admin-home-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
}
.admin-home-filter {
    flex: 1 1 160px;
    min-width: 140px;
    max-width: 280px;
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
}
.admin-home-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 14px;
    align-items: start;
}
@media (max-width: 980px) {
    .admin-home-editor { grid-template-columns: 1fr; }
}
.admin-home-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(900px 520px at 20% 35%, rgba(34, 211, 238, 0.12), transparent 60%),
        radial-gradient(900px 520px at 80% 45%, rgba(255, 215, 0, 0.08), transparent 60%),
        rgba(8, 8, 12, 0.7);
    overflow: hidden;
}
.admin-home-canvas--studio {
    aspect-ratio: auto;
    min-height: 0;
    border-radius: 18px;
    overflow: visible;
    background: rgba(6, 6, 10, 0.55);
}

/* Full-page homepage preview: outer scrolls so you can scroll the whole home */
.admin-home-preview-scroll {
    max-height: min(82vh, 1100px);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 4, 8, 0.85);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.admin-home-preview-scale {
    width: 100%;
    transform-origin: top center;
    transition: transform 0.12s ease-out;
}
.admin-home-preview-inner {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
}
.admin-home-preview-inner.admin-home-preview-inner--mobile {
    max-width: 420px;
}
.admin-home-iframe {
    display: block;
    width: 100%;
    min-height: 800px;
    height: 2200px;
    border: 0;
    background: #07060c;
}
/* Overlay: no pointer-events so wheel scroll reaches the scroll parent; handles opt in */
.admin-home-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}
.admin-home-item {
    position: absolute;
    transform: translate(-50%, -50%);
    max-width: 70%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
    padding: 10px 12px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.06em;
    cursor: grab;
    user-select: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
    z-index: 6;
    font-size: clamp(0.58rem, 1.1vw, 0.72rem);
    line-height: 1.25;
    text-align: left;
}
.admin-home-item--selected {
    border-color: rgba(255, 215, 0, 0.55);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2), 0 12px 28px rgba(0, 0, 0, 0.45);
}
.admin-home-item--drag {
    cursor: grabbing;
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18), 0 16px 40px rgba(0, 0, 0, 0.45);
}
.admin-home-panel {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 14, 0.55);
    padding: 12px 12px;
    overflow: auto;
    max-height: 520px;
}
.admin-home-panel--studio {
    max-height: min(82vh, 1100px);
    position: sticky;
    top: 12px;
}
.admin-home-row {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 12, 0.45);
    padding: 10px 10px;
    margin-bottom: 10px;
}
.admin-home-row--selected {
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.12);
}
.admin-home-row--hidden {
    opacity: 0.45;
}
.admin-home-xy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}
.admin-home-nudge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}
.admin-home-nudge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}
.admin-home-nudge:hover {
    border-color: rgba(34, 211, 238, 0.35);
    color: #fff;
}
.admin-home-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.admin-home-row-actions button {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}
.admin-home-row-actions button:hover {
    border-color: rgba(255, 215, 0, 0.35);
}
.admin-home-xy-input {
    width: 100%;
    padding: 8px 10px !important;
    font-size: 0.85rem !important;
}
.admin-home-row-title {
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
}
.admin-home-row-meta {
    color: #7a7488;
    font-family: 'Courier Prime', monospace;
    font-size: 0.78rem;
    margin-top: 4px;
}
.admin-home-row-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}
.admin-home-color {
    width: 54px;
    height: 34px;
    border: none;
    background: transparent;
}
@media (max-width: 520px) {
    .auth-lock-card-fan {
        top: 4%;
        height: 160px;
    }
    .playing-card {
        width: 62px;
        height: 88px;
        font-size: 1.4rem;
    }
    .playing-card-k {
        left: 2%;
    }
    .playing-card-a {
        left: 72%;
    }
    .auth-lock-panel {
        margin-top: 100px;
        padding: 22px 18px 18px;
    }
}

/* ============================================================
   Optional polish preview (toggle with ?polish=1)
   Scoped so default look stays unchanged unless enabled.
   ============================================================ */
body.kk-polish-preview {
    --kk-radius-lg: 18px;
    --kk-radius-md: 14px;
    --kk-shadow-1: 0 14px 40px rgba(0, 0, 0, 0.55);
    --kk-shadow-2: 0 22px 70px rgba(0, 0, 0, 0.72);
    --kk-ring: 0 0 0 2px rgba(16, 185, 129, 0.35);
}

body.kk-polish-preview nav {
    box-shadow: var(--kk-shadow-1), 0 0 26px rgba(16, 185, 129, 0.12);
}

body.kk-polish-preview .nav-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(200, 168, 110, 0.5);
    border-radius: 12px;
}

body.kk-polish-preview .btn-royal-primary:focus-visible,
body.kk-polish-preview .btn-royal-outline:focus-visible,
body.kk-polish-preview .btn-royal-outline-muted:focus-visible,
body.kk-polish-preview .nav-login-btn:focus-visible,
body.kk-polish-preview .nav-cart-btn:focus-visible {
    outline: none;
    box-shadow: var(--kk-ring);
}

body.kk-polish-preview .home3-card,
body.kk-polish-preview .bins-deal-card,
body.kk-polish-preview .support-card,
body.kk-polish-preview .validator-surface {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

body.kk-polish-preview .home3-card:hover,
body.kk-polish-preview .bins-deal-card:hover,
body.kk-polish-preview .support-card:hover,
body.kk-polish-preview .validator-surface:hover {
    transform: translateY(-2px);
    box-shadow: var(--kk-shadow-2);
}

body.kk-polish-preview .live-drop-card.product-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

/* Skeleton loaders */
@keyframes kkShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

body.kk-polish-preview .kk-skel-shimmer {
    border-radius: 12px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 215, 0, 0.10) 45%,
        rgba(34, 211, 238, 0.10) 55%,
        rgba(255, 255, 255, 0.06) 100%
    );
    background-size: 220% 100%;
    animation: kkShimmer 1.15s ease-in-out infinite;
    filter: saturate(1.05);
}

body.kk-polish-preview .kk-skel--live {
    border-radius: var(--kk-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.22);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 198px;
}

body.kk-polish-preview .kk-skel-live-top {
    height: 102px;
    border-radius: 12px;
}

body.kk-polish-preview .kk-skel-line--lg { height: 12px; width: 78%; }
body.kk-polish-preview .kk-skel-line--md { height: 12px; width: 62%; }
body.kk-polish-preview .kk-skel-line--sm { height: 12px; width: 44%; }
body.kk-polish-preview .kk-skel-btn { height: 40px; width: 100%; border-radius: 12px; }

body.kk-polish-preview .kk-skel--toolz {
    opacity: 0.95;
}

body.kk-polish-preview .kk-skel-tool-shot {
    height: 170px;
    border-radius: 12px;
}

body.kk-polish-preview .kk-skel-tool-title {
    height: 18px;
    width: 72%;
    margin-top: 10px;
}

body.kk-polish-preview .kk-skel-tool-price {
    height: 22px;
    width: 120px;
    border-radius: 10px;
}

body.kk-polish-preview .kk-skel-tool-btn {
    height: 40px;
    width: 160px;
    border-radius: 12px;
    margin-left: auto;
}

@media (prefers-reduced-motion: reduce) {
    body.kk-polish-preview .kk-skel-shimmer {
        animation: none;
    }
    body.kk-polish-preview .home3-card,
    body.kk-polish-preview .bins-deal-card,
    body.kk-polish-preview .support-card,
    body.kk-polish-preview .validator-surface,
    body.kk-polish-preview .live-drop-card.product-card {
        transition: none;
    }
    .tab-content.tab-enter {
        animation: none;
    }
    .virtual-pan-card {
        animation: none;
        transform: none;
    }
    .hero-review-quote,
    .hero-review-author {
        transition: none;
    }
}

/* —— kk-ui-v3: nav search, WB AI shots, global search, payments sheet, cart drawer, toasts, messages toolbar, account timeline, inventory pick, live price tick —— */
.nav-search-btn {
    width: 40px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.28);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    box-shadow: var(--kk-depth-2);
}
.nav-search-btn:hover {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(0, 0, 0, 0.5);
}
.nav-search-btn:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.85);
    outline-offset: 2px;
}

.nav-actions button.nav-cart {
    box-shadow:
        0 0 18px rgba(255, 215, 0, 0.22),
        0 5px 0 rgba(0, 0, 0, 0.35),
        0 12px 28px rgba(0, 0, 0, 0.4);
}

.nav-tab--stack {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    line-height: 1.12;
    padding-top: 9px;
    padding-bottom: 9px;
}
.nav-tab__line {
    display: block;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
}

.wb-shell--single {
    grid-template-columns: 1fr;
    max-width: 1100px;
    margin: 0 auto;
}

.wb-template-shot--ai {
    position: relative;
    min-height: 200px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.55), rgba(20, 30, 40, 0.4));
    overflow: hidden;
}
.wb-template-shot--ai img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 720 / 450;
}
.wb-template-ai-cap {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: rgba(255, 255, 255, 0.92);
}
.wb-template-ai-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(0, 0, 0, 0.35);
}

.kk-global-search {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 72px 16px 24px;
    pointer-events: none;
}
.kk-global-search > * {
    pointer-events: auto;
}
.kk-global-search__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}
.kk-global-search__panel {
    position: relative;
    width: min(560px, 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: rgba(8, 10, 16, 0.96);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
    padding: 14px 14px 12px;
}
.kk-global-search__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.kk-global-search__title {
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.92);
}
.kk-global-search__close {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    padding: 2px 8px;
}
.kk-global-search__close:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.85);
    outline-offset: 2px;
}
.kk-global-search__input {
    width: 100%;
    margin: 0 0 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-family: system-ui, sans-serif;
}
.kk-global-search__input:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.75);
    outline-offset: 1px;
}
.kk-global-search__results {
    max-height: min(52vh, 420px);
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.kk-global-search__empty {
    color: rgba(255, 255, 255, 0.55);
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.78rem;
    padding: 10px 4px;
}
.kk-global-search__hit {
    text-align: left;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    padding: 10px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.kk-global-search__hit:hover {
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.08);
}
.kk-global-search__hit:focus-visible {
    outline: 2px solid rgba(255, 215, 0, 0.75);
    outline-offset: 2px;
}
.kk-global-search__hit-t {
    font-weight: 600;
    font-size: 0.92rem;
}
.kk-global-search__hit-s {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(255, 215, 0, 0.75);
    font-family: Orbitron, system-ui, sans-serif;
}
body.kk-global-search-open {
    overflow: hidden;
}

.kk-payments-sheet {
    position: fixed;
    inset: 0;
    z-index: 11950;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    pointer-events: none;
}
.kk-payments-sheet > * {
    pointer-events: auto;
}
.kk-payments-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}
.kk-payments-sheet__panel {
    position: relative;
    width: min(640px, 100%);
    border-radius: 18px 18px 12px 12px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: rgba(8, 10, 16, 0.98);
    box-shadow: 0 -12px 60px rgba(0, 0, 0, 0.55);
    padding: 16px 18px 20px;
    max-height: min(78vh, 560px);
    overflow: auto;
}
.kk-payments-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.kk-payments-sheet__title {
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.92);
}
.kk-payments-sheet__close {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    padding: 2px 8px;
}
.kk-payments-sheet__close:focus-visible,
.kk-payments-sheet__panel:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.85);
    outline-offset: 2px;
}
.kk-payments-sheet__body p {
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.55;
    margin: 0 0 12px;
    font-size: 0.92rem;
}
body.kk-payments-sheet-open {
    overflow: hidden;
}

#kk-cart-drawer.kk-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 11880;
    display: none;
    pointer-events: none;
}
#kk-cart-drawer.kk-cart-drawer > * {
    pointer-events: auto;
}
.kk-cart-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
}
.kk-cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 100vw);
    border-left: 1px solid rgba(255, 215, 0, 0.22);
    background: rgba(6, 8, 12, 0.97);
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.55);
    padding: 16px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.kk-cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Orbitron, system-ui, sans-serif;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.92);
}
.kk-cart-drawer__x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.35));
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    border-radius: 12px;
    padding: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.kk-cart-drawer__x:hover {
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 6px 22px rgba(0, 0, 0, 0.5),
        0 0 22px rgba(255, 215, 0, 0.15);
    transform: scale(1.05);
}
.kk-cart-drawer__x:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.85);
    outline-offset: 2px;
}
.kk-cart-drawer__items {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 120px;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}
.kk-cart-drawer__total {
    font-family: Orbitron, system-ui, sans-serif;
    color: rgba(255, 215, 0, 0.95);
    font-size: 0.95rem;
}
.kk-cart-drawer__checkout {
    width: 100%;
    margin-top: 4px;
}
body.kk-cart-drawer-open {
    overflow: hidden;
}

.kk-toast-stack {
    position: fixed;
    right: 16px;
    bottom: 18px;
    z-index: 200150;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}
.kk-toast {
    pointer-events: none;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: rgba(6, 10, 18, 0.94);
    color: rgba(240, 250, 255, 0.95);
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.kk-toast--in {
    opacity: 1;
    transform: translateY(0);
}
.kk-toast--out {
    opacity: 0;
    transform: translateY(6px);
}
.kk-toast--err {
    border-color: rgba(255, 85, 119, 0.45);
}

.kk-toast--balance {
    pointer-events: auto;
    max-width: min(380px, calc(100vw - 32px));
    padding: 0;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: linear-gradient(155deg, rgba(22, 18, 8, 0.98), rgba(6, 10, 18, 0.98));
    box-shadow:
        0 0 0 1px rgba(34, 211, 238, 0.12),
        0 16px 48px rgba(0, 0, 0, 0.55);
}
.kk-balance-toast {
    padding: 14px 16px 16px;
    text-align: center;
}
.kk-balance-toast__top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.kk-balance-toast__crown {
    font-size: 1.35rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.45));
}
.kk-balance-toast__brand {
    font-family: Orbitron, system-ui, sans-serif;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    line-height: 1.1;
}
.kk-balance-toast__title {
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(253, 224, 71, 0.95);
    margin-bottom: 8px;
}
.kk-balance-toast__amt {
    font-family: 'Courier Prime', monospace;
    font-size: 0.88rem;
    color: rgba(226, 232, 240, 0.95);
    margin-bottom: 4px;
}
.kk-balance-toast__amt strong {
    color: rgba(240, 253, 250, 0.98);
    font-weight: 700;
}
.kk-balance-toast__delta {
    font-family: 'Courier Prime', monospace;
    font-size: 0.78rem;
    color: rgba(52, 211, 153, 0.95);
    font-weight: 700;
}

.kk-msg-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.18);
}
.kk-msg-toolbar__sp {
    flex: 1;
    min-width: 8px;
}
.kk-msg-filter {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.kk-msg-filter--active {
    border-color: rgba(34, 211, 238, 0.45);
    background: rgba(34, 211, 238, 0.12);
}
.kk-msg-filter:focus-visible {
    outline: 2px solid rgba(255, 215, 0, 0.75);
    outline-offset: 2px;
}

.account-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 2px;
}
.account-timeline__empty {
    color: #777;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.78rem;
}
.account-timeline__row {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 10px;
    padding: 8px 0;
}
.account-timeline__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
    margin-left: 2px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(34, 211, 238, 0.85));
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}
.account-timeline__card {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
    padding: 10px 12px;
}
.account-timeline__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.9);
}
.account-timeline__meta {
    margin-top: 4px;
    font-size: 0.72rem;
    color: rgba(154, 160, 166, 0.95);
}
.account-timeline__items {
    margin-top: 6px;
    font-size: 0.78rem;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.35;
}

.inventory-card--rich {
    position: relative;
}
.inventory-card__pick {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}
.inventory-card__pick input {
    accent-color: #22d3ee;
}

.live-grid--price-tick {
    animation: kkLivePricePulse 0.85s ease-out 1;
}
@keyframes kkLivePricePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.0);
        filter: saturate(1);
    }
    35% {
        box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.35);
        filter: saturate(1.25);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
        filter: saturate(1);
    }
}

body[data-kk-tab='1'] .tab-content.tab-enter {
    animation-duration: 0.42s;
}
body[data-kk-tab='3'] .tab-content.tab-enter {
    animation-duration: 0.5s;
}

@media (prefers-reduced-motion: reduce) {
    .live-grid--price-tick {
        animation: none;
    }
    .kk-toast {
        transition: none;
    }
    body[data-kk-tab='1'] .tab-content.tab-enter,
    body[data-kk-tab='3'] .tab-content.tab-enter {
        animation-duration: inherit;
    }
}

/* —— Checkout “Royal Relay” (v5) —— */
body.checkout-relay {
    background: #05060a;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
}
.checkout-relay-nav {
    backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(6, 8, 14, 0.94), rgba(6, 8, 14, 0.72)) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.12) !important;
}
.checkout-relay-actions {
    justify-content: flex-end;
}
.checkout-relay-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.35));
    color: rgba(255, 255, 255, 0.92);
    font-family: system-ui, 'Segoe UI', sans-serif;
    font-size: 1.55rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 4px 18px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(255, 60, 80, 0.15);
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.checkout-relay-x:hover {
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 6px 22px rgba(0, 0, 0, 0.5),
        0 0 28px rgba(255, 215, 0, 0.2);
    transform: scale(1.04);
}
.checkout-relay-x:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.85);
    outline-offset: 2px;
}
.checkout-relay-back {
    border-radius: 999px !important;
    letter-spacing: 0.1em !important;
}
.checkout-page-main.checkout-atlas {
    position: relative;
    padding-top: calc(var(--nav-h) + 12px);
    max-width: min(1320px, 100%);
    margin: 0 auto;
    padding-left: clamp(14px, 3vw, 28px);
    padding-right: clamp(14px, 3vw, 28px);
    padding-bottom: 48px;
    isolation: isolate;
}
.checkout-atlas__mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.checkout-atlas__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: checkoutAtlasOrb 14s ease-in-out infinite alternate;
}
.checkout-atlas__orb--a {
    width: min(52vw, 420px);
    height: min(52vw, 420px);
    top: -8%;
    left: -10%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.5), transparent 70%);
}
.checkout-atlas__orb--b {
    width: min(48vw, 380px);
    height: min(48vw, 380px);
    bottom: -5%;
    right: -8%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.45), transparent 72%);
    animation-delay: -4s;
}
.checkout-atlas__scan {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.12) 2px,
        rgba(0, 0, 0, 0.12) 3px
    );
    opacity: 0.35;
    mix-blend-mode: overlay;
}
@keyframes checkoutAtlasOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(24px, 18px) scale(1.06);
    }
}
.checkout-atlas__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr);
    gap: clamp(22px, 3.5vw, 40px);
    align-items: start;
}
@media (max-width: 960px) {
    .checkout-atlas__grid {
        grid-template-columns: 1fr;
    }
}
.checkout-atlas__right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: calc(var(--nav-h) + 12px);
    align-self: start;
}
@media (max-width: 960px) {
    .checkout-atlas__right {
        position: relative;
        top: auto;
    }
}
.checkout-atlas__recap,
.checkout-atlas__tips {
    padding: clamp(16px, 2vw, 22px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(155deg, rgba(16, 20, 32, 0.92), rgba(6, 8, 14, 0.9));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.checkout-atlas__recap-head {
    margin-bottom: 12px;
}
.checkout-atlas__recap-title {
    margin: 0;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    color: rgba(34, 211, 238, 0.9);
}
.checkout-atlas__recap-sub {
    margin: 6px 0 0;
    font-size: 0.8rem;
    color: rgba(154, 164, 178, 0.95);
}
.checkout-order-recap__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.checkout-order-recap__list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.95);
}
.checkout-order-recap__name {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}
.checkout-order-recap__price {
    font-family: 'Courier Prime', monospace;
    color: rgba(253, 224, 71, 0.95);
    white-space: nowrap;
}
.checkout-order-recap__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: rgba(240, 250, 255, 0.92);
}
.checkout-order-recap__total strong {
    color: #ffd700;
    font-size: 0.95rem;
}
.checkout-order-recap__empty {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(180, 176, 198, 0.95);
}
.checkout-atlas__tips-title {
    margin: 0 0 10px;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: rgba(255, 215, 0, 0.88);
}
.checkout-atlas__tips-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(200, 206, 220, 0.95);
}
.checkout-atlas__tips-list li {
    margin-bottom: 8px;
}
.checkout-atlas__coin-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 6px;
}
.checkout-atlas__coin-bar-label {
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: rgba(154, 164, 178, 0.95);
}
.checkout-atlas__coin-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.checkout-atlas__coin-pill {
    min-width: 64px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(240, 250, 255, 0.9);
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.checkout-atlas__coin-pill:hover {
    border-color: rgba(34, 211, 238, 0.45);
}
.checkout-atlas__coin-pill--active {
    border-color: rgba(255, 215, 0, 0.55);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14), rgba(34, 211, 238, 0.08));
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.12);
    color: #fff8e8;
}
.checkout-atlas__coin-bar-hint {
    margin: 0 0 14px;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(154, 164, 178, 0.95);
}
body.checkout-hide-session-qr .checkout-qr-block {
    display: none !important;
}
.checkout-qr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(4, 6, 12, 0.92);
    backdrop-filter: blur(10px);
}
.checkout-qr-lightbox__panel {
    position: relative;
    max-width: min(420px, 100%);
    padding: 22px 22px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.28);
    background: linear-gradient(165deg, rgba(18, 22, 32, 0.98), rgba(6, 8, 14, 0.98));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
    text-align: center;
}
.checkout-qr-lightbox__title {
    margin: 0 0 12px;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: rgba(253, 224, 71, 0.95);
}
.checkout-qr-lightbox__img {
    display: block;
    width: min(280px, 72vw);
    height: auto;
    margin: 0 auto;
    border-radius: 14px;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
}
.checkout-qr-lightbox__cap {
    margin: 12px 0 0;
    font-size: 0.76rem;
    line-height: 1.45;
    color: rgba(186, 190, 204, 0.95);
}
.checkout-qr-lightbox__x {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(240, 250, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}
.checkout-qr-lightbox__x:hover {
    border-color: rgba(255, 215, 0, 0.35);
}
.checkout-atlas__rail {
    position: sticky;
    top: calc(var(--nav-h) + 12px);
    padding: clamp(18px, 2.5vw, 28px);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(18, 22, 32, 0.92), rgba(8, 10, 16, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(255, 215, 0, 0.08),
        0 28px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}
.checkout-atlas__seal {
    font-size: 2.4rem;
    line-height: 1;
    text-align: center;
    filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.35));
    margin-bottom: 6px;
}
.checkout-atlas__kicker {
    margin: 0;
    text-align: center;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    color: rgba(34, 211, 238, 0.85);
}
.checkout-atlas__title {
    margin: 10px 0 12px;
    text-align: center;
    font-family: Orbitron, system-ui, sans-serif;
    font-weight: 900;
    line-height: 0.95;
    font-size: clamp(2.1rem, 5vw, 3rem);
    letter-spacing: 0.02em;
}
.checkout-atlas__title-line {
    display: block;
    color: rgba(245, 246, 248, 0.96);
}
.checkout-atlas__title-line--accent {
    background: linear-gradient(90deg, #ffd700, #22d3ee, #ffd700);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: checkoutAtlasShine 5s linear infinite;
}
@keyframes checkoutAtlasShine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .checkout-atlas__title-line--accent {
        animation: none;
        background-position: 0% center;
        color: #ffd700;
    }
}
.checkout-atlas__lede {
    margin: 0 0 18px;
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(186, 192, 204, 0.92);
}
.checkout-atlas__steps {
    list-style: none;
    margin: 0 0 20px;
    padding: 0 4px;
    text-align: left;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.checkout-atlas__steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(218, 224, 234, 0.96);
}
.checkout-atlas__steps li:last-child {
    margin-bottom: 0;
}
/* LIVE floor + crypto timing notices */
.kk-crypto-timing,
.deposit-crypto-timing,
.live-floor-disclaimer {
    margin: 0 auto 16px;
    max-width: 520px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: rgba(12, 10, 8, 0.55);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    font-size: 0.76rem;
    line-height: 1.5;
    color: rgba(226, 224, 210, 0.94);
    text-align: left;
}
.kk-crypto-timing strong,
.deposit-crypto-timing strong,
.live-floor-disclaimer strong {
    color: rgba(255, 228, 160, 0.98);
    font-weight: 700;
}
.kk-crypto-timing ul,
.deposit-crypto-timing ul {
    margin: 8px 0 0 1.1em;
    padding: 0;
}
.kk-crypto-timing li,
.deposit-crypto-timing li {
    margin: 4px 0;
}
.live-floor-disclaimer {
    border-color: rgba(34, 211, 238, 0.28);
    background: rgba(6, 18, 28, 0.55);
    color: rgba(200, 230, 242, 0.95);
}
.live-floor-disclaimer strong {
    color: rgba(165, 243, 252, 0.98);
}
.checkout-atlas__step-n {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.12);
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffe8a8;
}
.checkout-atlas__hint {
    margin: 10px 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(170, 180, 195, 0.95);
}
.checkout-atlas__status-err {
    margin: 0 0 8px;
    color: #fecaca;
}
.checkout-atlas__retry-row {
    margin: 12px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.checkout-atlas__ghost-btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.08);
    color: rgba(190, 242, 255, 0.98);
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    cursor: pointer;
}
.checkout-atlas__ghost-btn:hover {
    background: rgba(34, 211, 238, 0.16);
}
.checkout-atlas__status {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    background: rgba(0, 0, 0, 0.35);
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.95);
    min-height: 3.2em;
}
.checkout-atlas__status:focus {
    outline: 2px solid rgba(34, 211, 238, 0.5);
    outline-offset: 2px;
}
.checkout-atlas__panel {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}
.checkout-atlas__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 10px 0;
    cursor: pointer;
    font-size: 0.82rem;
    color: rgba(220, 226, 234, 0.92);
}
.checkout-atlas__row--tight {
    margin-top: 4px;
}
.checkout-atlas__chk {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #22d3ee;
    flex-shrink: 0;
}
.checkout-atlas__balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.18);
    font-size: 0.8rem;
}
.checkout-atlas__balance-amt {
    font-family: Orbitron, system-ui, sans-serif;
    color: #ffd700;
}
.checkout-atlas__balance-hint {
    margin: 0 0 12px;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(200, 208, 220, 0.88);
}
.checkout-atlas__pay-balance-btn {
    display: none;
    width: 100%;
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.45);
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.22), rgba(34, 211, 238, 0.12));
    color: #fff8e8;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.12s ease;
}
.checkout-atlas__pay-balance-btn:hover:not(:disabled) {
    filter: brightness(1.08);
}
.checkout-atlas__pay-balance-btn:active:not(:disabled) {
    transform: scale(0.99);
}
.checkout-atlas__pay-balance-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
.checkout-atlas__chain-picker-btn {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(224, 242, 254, 0.95);
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.checkout-atlas__chain-picker-btn:hover {
    border-color: rgba(255, 215, 0, 0.45);
    background: rgba(255, 215, 0, 0.06);
}
.checkout-atlas__chain-picker-note {
    margin: 0 0 16px;
    font-size: 0.72rem;
    line-height: 1.45;
    color: rgba(154, 164, 178, 0.95);
}
.success-modal__title {
    margin: 0 0 10px;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 0.04em;
}
.checkout-atlas__session.checkout-pay-summary {
    margin: 0 0 18px;
    padding: 0;
    border: none;
    background: transparent;
}
#checkout-pay-summary.checkout-summary--updating {
    position: relative;
    opacity: 0.78;
    transition: opacity 0.18s ease;
    pointer-events: none;
}
#checkout-pay-summary.checkout-summary--updating::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 215, 0, 0.07) 50%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: checkoutSummaryUpdating 1.1s ease-in-out infinite;
    pointer-events: none;
}
@keyframes checkoutSummaryUpdating {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}
.checkout-atlas__session .checkout-summary-loading,
.checkout-atlas__session .checkout-summary-error {
    padding: 16px;
    border-radius: 14px;
    font-size: 0.86rem;
    line-height: 1.45;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(220, 226, 234, 0.92);
}
.checkout-atlas__session .checkout-summary-error {
    border-color: rgba(255, 85, 119, 0.35);
    color: #ffb4c4;
}
.checkout-atlas__session .checkout-summary-card {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.22);
    background: linear-gradient(165deg, rgba(255, 215, 0, 0.07), rgba(0, 0, 0, 0.45));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.checkout-summary-card .checkout-sum-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
    color: rgba(210, 216, 226, 0.9);
}
.checkout-summary-card .checkout-sum-row:last-of-type {
    border-bottom: none;
}
.checkout-summary-card .checkout-sum-mono {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(34, 211, 238, 0.2);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.72rem;
    word-break: break-all;
    color: rgba(110, 231, 183, 0.95);
}

.checkout-sum-items {
    margin: 10px 0 0;
    padding: 0 0 0 18px;
    color: rgba(210, 216, 226, 0.92);
    font-size: 0.82rem;
    line-height: 1.4;
}
.checkout-sum-items li {
    margin: 2px 0;
}

.inventory-details {
    margin-top: 6px;
}
.inventory-details summary {
    cursor: pointer;
    color: rgba(34, 211, 238, 0.92);
    font-size: 0.78rem;
}
.inventory-details pre {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: pre-wrap;
    word-break: break-word;
    font-family: "Courier Prime", monospace;
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(226, 232, 240, 0.92);
}
.checkout-summary-card .checkout-sum-hint {
    margin: 12px 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(154, 160, 172, 0.95);
}
.checkout-summary-card .checkout-amount {
    color: #ffd700;
}
.checkout-atlas__session .checkout-qr-block {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 215, 0, 0.25);
}
.checkout-atlas__session .checkout-pay-qr {
    border-radius: 16px;
    border: 2px solid rgba(34, 211, 238, 0.45);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
    cursor: zoom-in;
}
.checkout-atlas__verify {
    margin-top: 4px;
}
.checkout-atlas__verify-label {
    display: block;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    color: rgba(255, 215, 0, 0.75);
    margin-bottom: 8px;
}
.checkout-atlas__tx-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82rem;
    margin-bottom: 14px;
}
.checkout-atlas__tx-input:focus-visible {
    outline: 2px solid rgba(34, 211, 238, 0.7);
    outline-offset: 2px;
}
.checkout-atlas__verify-btn {
    position: relative;
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 14px 20px;
    cursor: pointer;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: #0a0b0f;
    background: linear-gradient(90deg, #ffd700, #f5e6a8, #22d3ee);
    background-size: 180% auto;
    font-weight: 900;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.22);
}
.checkout-atlas__verify-btn-glow {
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 120deg, transparent, rgba(255, 255, 255, 0.35), transparent 40%);
    animation: checkoutAtlasSpin 4s linear infinite;
    opacity: 0.5;
}
.checkout-atlas__verify-btn-txt {
    position: relative;
    z-index: 1;
}
@keyframes checkoutAtlasSpin {
    to {
        transform: rotate(360deg);
    }
}
.checkout-atlas__vault-head {
    margin-bottom: 18px;
}
.checkout-atlas__vault-title {
    margin: 0;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.26em;
    color: rgba(255, 215, 0, 0.88);
}
.checkout-atlas__vault-sub {
    margin: 8px 0 0;
    font-size: 0.82rem;
    color: rgba(154, 160, 172, 0.95);
}
.checkout-atlas-ticket {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    margin-bottom: 16px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 12, 18, 0.75);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    transform: rotate(-0.35deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.checkout-atlas-ticket:nth-child(even) {
    transform: rotate(0.35deg);
}
.checkout-atlas-ticket:hover {
    transform: rotate(0deg) translateY(-3px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}
.checkout-atlas-ticket--btc {
    border-color: rgba(247, 147, 26, 0.35);
}
.checkout-atlas-ticket--eth {
    border-color: rgba(98, 126, 234, 0.4);
}
.checkout-atlas-ticket--sol {
    border-color: rgba(168, 85, 247, 0.4);
}
.checkout-atlas-ticket__qr {
    flex: 0 0 auto;
    padding: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-atlas-ticket__qr img {
    display: block;
    width: 168px;
    height: 168px;
    max-width: min(168px, 42vw);
    max-height: min(168px, 42vw);
    object-fit: contain;
    cursor: zoom-in;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.checkout-atlas-ticket__body {
    flex: 1 1 220px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    border-left: 1px dashed rgba(255, 255, 255, 0.12);
}
.checkout-atlas-ticket__chain {
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: rgba(245, 246, 248, 0.88);
}
.checkout-atlas-ticket--btc .checkout-atlas-ticket__chain {
    color: rgba(251, 191, 36, 0.95);
}
.checkout-atlas-ticket--eth .checkout-atlas-ticket__chain {
    color: rgba(165, 180, 252, 0.98);
}
.checkout-atlas-ticket--sol .checkout-atlas-ticket__chain {
    color: rgba(216, 180, 254, 0.98);
}
.checkout-atlas-ticket__addr {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.72rem;
    line-height: 1.45;
    word-break: break-all;
    color: rgba(226, 232, 240, 0.94);
    background: rgba(0, 0, 0, 0.35);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.checkout-atlas-ticket__copy {
    align-self: flex-start;
    margin-top: 4px;
    min-height: 44px;
    min-width: 44px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(255, 215, 0, 0.1);
    color: #ffe8a8;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    cursor: pointer;
}
.checkout-atlas-ticket__copy:hover {
    background: rgba(255, 215, 0, 0.18);
}
.checkout-atlas-modal.modal .modal-content {
    border-radius: 22px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    background: linear-gradient(165deg, rgba(18, 22, 32, 0.98), rgba(6, 8, 12, 0.98));
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
}
/* Chain picker (crypto modal): full-width rows, readable wrapped addresses */
#crypto-modal .modal-content.kk-chain-picker {
    max-width: min(520px, 96vw);
    text-align: left;
}
.kk-chain-picker__title {
    text-align: center;
    margin-top: 0;
}
.kk-chain-picker__hint {
    margin: 0 0 16px;
    text-align: center;
    font-family: Orbitron, system-ui, sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    line-height: 1.55;
    color: rgba(186, 190, 204, 0.95);
}
.kk-chain-picker__hint strong {
    color: rgba(253, 224, 71, 0.95);
    font-weight: 700;
}
.checkout-coin-grid.kk-chain-picker__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.checkout-coin-grid.kk-chain-picker__grid .coin-option.kk-chain-picker__row {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
    margin: 0;
    flex-wrap: nowrap;
    align-items: flex-start;
}
@media (max-width: 520px) {
    .checkout-coin-grid.kk-chain-picker__grid .coin-option.kk-chain-picker__row {
        flex-wrap: wrap;
    }
}
.kk-chain-picker__row-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.kk-chain-picker__addr {
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.45;
    font-size: 0.78rem !important;
    color: rgba(198, 206, 220, 0.95) !important;
}
.kk-chain-picker__row-tools {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.kk-chain-picker__row-tools .payment-qr {
    width: 72px;
    height: 72px;
}
.kk-chain-picker__copy {
    margin-top: 0 !important;
    min-width: 72px !important;
    padding: 6px 10px !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.12em;
}
.kk-chain-picker__footer {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}
.checkout-coin-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.checkout-coin-grid .coin-option {
    min-width: 160px;
    flex: 1 1 160px;
    max-width: 220px;
}
.checkout-hide-addr-qrs .checkout-coin-grid .payment-qr {
    opacity: 0.12;
    filter: grayscale(1);
    pointer-events: none;
}
.cart-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
}
.kk-cart-drawer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}
.kk-cart-drawer__actions .btn-royal-primary,
.kk-cart-drawer__actions .btn-royal-outline {
    flex: 1 1 140px;
}

@media (prefers-reduced-motion: reduce) {
    body.checkout-relay .checkout-atlas__orb,
    body.checkout-relay .checkout-atlas__title-line--accent,
    body.checkout-relay .checkout-atlas__verify-btn-glow {
        animation: none !important;
    }
    body.checkout-relay .checkout-atlas-ticket,
    body.checkout-relay .checkout-atlas-ticket:nth-child(even) {
        transform: none;
    }
}

/* -------------------------------------------------------------------------- */
/* Kingskards — broad depth pass (box-shadow on common flat surfaces)         */
/* Uses body + :is() for specificity over plain class utilities.            */
/* -------------------------------------------------------------------------- */
body:not(.admin-page)
    :is(
        .home-v2__pill--trust,
        .home-v2__pill--hot,
        .home-v2__ticker,
        .home-v2__stat,
        .home-v2__reviews,
        .home-v2__grid,
        .live-sub__hint,
        .live-cta,
        .live-grid-wrap,
        .live-toolbar,
        .bins-stat,
        .bins-marquee,
        .bins-layout,
        .bins-hero-lead,
        .support-hero,
        .support-layout,
        .support-input,
        .support-textarea,
        .support-submit,
        .crypto-header,
        .wb-shell,
        .wb-shell-main,
        .kk-msg-row,
        .kk-msg-filter,
        .kk-msg-toolbar,
        .kk-msg-list,
        .kk-msg-detail,
        .nav-msg-cta,
        .nav-notif-panel,
        .nav-notif-item,
        .nav-notif-head,
        .legal-details__scroll,
        .checkout-atlas__panel,
        .checkout-atlas__rail,
        .checkout-atlas__status,
        .checkout-atlas__balance,
        .checkout-atlas__verify,
        .checkout-atlas__session,
        .kk-cart-drawer,
        .kk-toast,
        .account-block,
        .account-item,
        .account-order,
        .deposit-modal-inner,
        .promo-modal-inner,
        #guest-block-modal,
        .virtual-pan-card,
        .bins-deal-qty,
        .bins-deal-stock
    ) {
    box-shadow: var(--kk-depth-1);
}

body:not(.admin-page)
    :is(
        .home-v2__marquee,
        .live-metrics,
        .live-pulse-wrap,
        .bins-hero-stats,
        .bins-deals-grid,
        .support-grid,
        .live-crypto-pulse,
        .kk-screen__btn,
        .kk-screen__head,
        .inventory-controls,
        .inventory-browse-bar,
        .inventory-category-head,
        .inventory-hub-tile__count
    ) {
    box-shadow: var(--kk-depth-2);
}

body.admin-page main :is(.admin-hub, table) {
    box-shadow: var(--kk-depth-1);
}

body.admin-page .admin-title,
body.admin-page .admin-title-sm {
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

/* =============================================================================
   Mobile web — everything below is inside max-width media queries only.
   Wider viewports (typical desktop/tablet landscape): unchanged.
   ============================================================================= */
@media (max-width: 639px) {
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* iOS / mobile browsers: stable full-height without affecting desktop */
    body:not(.admin-page):not(.checkout-relay) {
        min-height: 100vh;
        min-height: 100dvh;
    }

    /* Reduce sideways drift from wide children */
    #app {
        max-width: 100%;
        overflow-x: clip;
    }

    /* Momentum scrolling inside tab panels */
    .tab-content {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }

    /* Notch / home indicator safe area on main shop nav */
    nav.kk-nav-lux {
        padding-left: max(14px, env(safe-area-inset-left, 0px));
        padding-right: max(14px, env(safe-area-inset-right, 0px));
        padding-top: max(12px, env(safe-area-inset-top, 0px));
    }

    /* One row of tabs + horizontal swipe — avoids multi-row nav eating the screen */
    .nav-links.nav-tabs.nav-links--polish {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 100%;
        min-width: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    nav.kk-nav-lux .nav-tabs {
        min-width: 0;
        max-width: 100%;
    }

    .nav-tab {
        flex: 0 0 auto;
        min-height: 44px;
    }

    .nav-links.nav-tabs.nav-links--polish .nav-indicator {
        bottom: 2px;
    }

    /* iOS Safari: text fields under 16px trigger focus-zoom — shop/checkout only */
    body:not(.admin-page) input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='range']):not([type='button']):not([type='submit']):not([type='reset']):not([type='file']),
    body:not(.admin-page) textarea,
    body:not(.admin-page) select {
        font-size: max(16px, 1rem);
    }

    /* Checkout page: stable height + safe-area under status bar */
    body.checkout-relay {
        min-height: 100dvh;
    }

    nav:not(.kk-nav-lux) {
        padding-left: max(28px, env(safe-area-inset-left, 0px));
        padding-right: max(28px, env(safe-area-inset-right, 0px));
        padding-top: max(12px, env(safe-area-inset-top, 0px));
    }

    /* Royal modals (lookbook, deposit, wheel, promo, etc.) */
    .royal-modal-backdrop,
    #promo-modal.royal-modal-backdrop {
        padding-top: max(16px, env(safe-area-inset-top, 0px));
        padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
        box-sizing: border-box;
    }

    .royal-modal {
        max-height: min(88dvh, calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 32px));
        -webkit-overflow-scrolling: touch;
    }

    /* #message-modal, login, cart, crypto — same as desktop layout, scroll if tall */
    #message-modal.modal,
    #success-modal.modal,
    #login-modal.modal,
    #forgot-modal.modal,
    #reset-modal.modal,
    #cart-modal.modal,
    #guest-block-modal.modal,
    #crypto-modal.modal {
        padding-top: max(16px, env(safe-area-inset-top, 0px));
        padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
    }

    #message-modal.modal .modal-content,
    #success-modal.modal .modal-content,
    #login-modal.modal .modal-content,
    #forgot-modal.modal .modal-content,
    #reset-modal.modal .modal-content,
    #cart-modal.modal .modal-content,
    #guest-block-modal.modal .modal-content,
    #crypto-modal.modal .modal-content {
        max-height: min(85dvh, calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 32px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Cart drawer — home indicator safe area */
    .kk-cart-drawer__panel {
        padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
        max-height: 100dvh;
    }

    /* Global search (⌕) */
    .kk-global-search {
        padding-top: max(72px, calc(env(safe-area-inset-top, 0px) + 52px));
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
        padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
    }

    .kk-global-search__results {
        max-height: min(52dvh, 420px);
        -webkit-overflow-scrolling: touch;
    }

    .kk-toast-stack {
        bottom: max(18px, env(safe-area-inset-bottom, 0px));
        right: max(16px, env(safe-area-inset-right, 0px));
    }

    /* BINS — easier tap targets for add-to-cart */
    body:not(.admin-page) .bins-deal-card-add {
        min-height: 44px;
    }
}
