/* ════════════════════════════════════════════════════════════════════════
   OXLYN-VIPSHOP  •  style.css  (v4 — "AAA PREMIUM" — matches the user mock)
   Dark navy/purple cyber-luxury. Panels #17182B/#1D1E35/#232544, accents
   var(--acc)/var(--acc-2)/var(--acc-3), gold coin. Sidebar + top tabs + hero + rewards.
   IMPORTANT: no backdrop-filter anywhere (CEF renders the game as black).
   ════════════════════════════════════════════════════════════════════════ */

:root {
    --bg-0: #0b0b16;
    --panel: #17182b;
    --panel-2: #1d1e35;
    --panel-3: #232544;
    --line: rgba(255, 255, 255, .06);
    --line-2: rgba(255, 255, 255, .11);
    --line-acc: rgba(var(--acc2-rgb), .35);
    --txt-0: #ffffff;
    --txt-1: #a7a9c4;
    --txt-2: #62648a;
    /* THEME ACCENTS — every purple in the file resolves here; the Settings
       tab (admin) swaps these at runtime via element style properties */
    --acc: #ff5a36;
    --acc-2: #ff8a66;
    --acc-3: #ffb199;
    --acc-rgb: 255, 90, 54;
    --acc2-rgb: 255, 138, 102;
    --acc3-rgb: 255, 177, 153;
    --accsoft-rgb: 255, 177, 153;
    --acc-soft: #ffb199;
    --acc-soft2: #ffd2c4;
    --cta-1: #c43a1e;
    --cta-2: #e24a28;
    --cta-3: #ff5a36;
    --gold: #ffc654;
    --green: #3ecf8e;
    --red: #ff5c6c;
    --mag: #ff4f9a;
    --grad-cta: linear-gradient(135deg, var(--cta-1) 0%, var(--cta-2) 55%, var(--cta-3) 100%);
    --grad-panel: linear-gradient(165deg, #1a1b30, #15162a 70%);
    --glow-acc: rgba(var(--acc2-rgb), .38);
    --r-lg: 22px;
    --r-md: 16px;
    --r-sm: 12px;
    --font: 'GTAArtDeco', Arial, sans-serif;
    --mono: 'GTAArtDeco', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; user-select: none; }
/* NEVER put color-scheme on html/body: CEF then paints an opaque dark canvas
   and the whole screen goes grey. Scope it to the form controls instead. */
input, select, textarea, option { color-scheme: dark; }
html, body { width: 100%; height: 100%; overflow: hidden; background: transparent; }
body { font-family: var(--font); color: var(--txt-0); }
input, textarea { user-select: text; font-family: var(--font); }
button { font-family: var(--font); cursor: pointer; }
img { -webkit-user-drag: none; }

/* dark themed scrollbars EVERYWHERE — never native white */
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(var(--acc2-rgb), .28); border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(var(--acc2-rgb), .5); }
*::-webkit-scrollbar-corner { background: transparent; }

/* kill the native number-input spin arrows */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

.hidden { display: none !important; }

/* ════════════════════════════════════════════════════════════════════════
   BACKDROP
   ════════════════════════════════════════════════════════════════════════ */
#app { position: fixed; inset: 0; }

.bg-dim {
    position: absolute; inset: 0;
    background:
        radial-gradient(120% 85% at 20% 0%, rgba(var(--acc2-rgb), .22), transparent 55%),
        radial-gradient(100% 80% at 100% 100%, rgba(var(--acc3-rgb), .12), transparent 55%),
        linear-gradient(160deg, #101020 0%, #0a0a14 100%);
    animation: dimIn .4s ease both;
}
@keyframes dimIn { from { opacity: 0 } to { opacity: 1 } }

.bg-aura { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.a1 { width: 44vw; height: 44vw; left: -14vw; top: -18vh; background: var(--cta-1); opacity: .3; animation: drift1 30s ease-in-out infinite alternate; }
.a2 { width: 36vw; height: 36vw; right: -12vw; bottom: -20vh; background: var(--cta-2); opacity: .2; animation: drift2 36s ease-in-out infinite alternate; }
.a3 { width: 18vw; height: 18vw; right: 24vw; top: -8vh; background: #4d6bff; opacity: .1; animation: drift1 44s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { from { transform: translate(0, 0) scale(1) } to { transform: translate(6vw, 5vh) scale(1.15) } }
@keyframes drift2 { from { transform: translate(0, 0) scale(1.1) } to { transform: translate(-5vw, -6vh) scale(.95) } }

#dust { position: absolute; inset: 0; pointer-events: none; }

/* ════════════════════════════════════════════════════════════════════════
   FRAME / TOP NAV
   ════════════════════════════════════════════════════════════════════════ */
.frame {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    padding: 16px clamp(16px, 2vw, 30px) 0;
    animation: frameIn .5s cubic-bezier(.2, .9, .3, 1) both;
}
@keyframes frameIn { from { opacity: 0; transform: translateY(24px) } to { opacity: 1; transform: none } }
#app.closing .frame { animation: frameOut .26s ease both; }
#app.closing .bg-dim, #app.closing .bg-aura { animation: dimOut .26s ease both; }
@keyframes frameOut { to { opacity: 0; transform: translateY(16px) } }
@keyframes dimOut { to { opacity: 0 } }

.topnav {
    display: flex; align-items: center; gap: 20px;
    padding: 8px 6px 14px;
    flex: none;
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: 6px; min-width: 216px; }
.brand-badge {
    width: 46px; height: 46px; flex: none; border-radius: 15px;
    display: grid; place-items: center;
    background: var(--grad-cta);
    box-shadow: 0 8px 26px var(--glow-acc);
    animation: brandFloat 4.5s ease-in-out infinite;
}
.brand-badge svg { width: 24px; height: 24px; color: #fff; }
@keyframes brandFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-4px) } }
.brand-title { font-size: 20px; font-weight: 900; letter-spacing: 2px; }
.brand-title em { font-style: normal; color: var(--acc-soft2); }
.brand-sub { font-size: 9px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--txt-2); margin-top: 2px; font-weight: 700; }

/* ── Top tabs (text style, mock) ────────────────────────────────────── */
/* vertical padding keeps the active-tab glow inside the scroll box (never clipped) */
.tabs { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; justify-content: center; padding: 10px 4px; margin: -10px 0; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    padding: 11px 19px; border-radius: 12px;
    border: 1px solid transparent; background: transparent;
    color: var(--txt-1); font-size: 13.5px; font-weight: 700;
    transition: all .22s cubic-bezier(.3, .7, .3, 1);
    position: relative;
}
.tab svg { display: none; }
/* customisable nav artwork (category images) — shown at every width */
.tab .sn-imgico { width: 18px; height: 18px; object-fit: contain; display: block; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.snav .sn-ico .sn-imgico { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 3px 9px rgba(0, 0, 0, .55)); transition: transform .22s; }
.snav:hover .sn-ico .sn-imgico { transform: scale(1.12); }
.snav.active .sn-ico .sn-imgico { transform: scale(1.08); filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .6)) drop-shadow(0 0 12px rgba(255, 255, 255, .28)); }
/* with artwork the ART is the hero — no loud gradient chip behind it */
.snav.has-img.active .sn-ico {
    background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
    border-color: rgba(var(--acc-rgb), .55);
}
.sn-fb svg { width: 20px; height: 20px; }
.tab:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.tab:active { transform: scale(.95); }
.tab.active {
    color: #fff;
    background: linear-gradient(180deg, rgba(var(--acc2-rgb), .22), rgba(var(--acc2-rgb), .08));
    border-color: rgba(var(--acc-rgb), .65);
    box-shadow:
        0 0 16px rgba(var(--acc-rgb), .45),
        0 6px 22px rgba(var(--acc2-rgb), .25),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    animation: navPop .45s cubic-bezier(.2, .9, .3, 1.3);
}
.tab .badge-dot {
    min-width: 7px; height: 7px; border-radius: 6px;
    background: var(--acc-3); box-shadow: 0 0 9px var(--acc-3);
    animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.5) } }
.tab.admin-tab { color: var(--acc-soft2); }
.tab.admin-tab.active { color: #fff; }

/* ── Top right ──────────────────────────────────────────────────────── */
.top-right { display: flex; align-items: center; gap: 12px; flex: none; }

.search-wrap {
    display: flex; align-items: center; gap: 10px; width: 250px;
    background: var(--panel); border: 1px solid var(--line-2);
    border-radius: 14px; padding: 12px 16px;
    transition: border-color .25s, box-shadow .25s, width .3s;
}
.search-wrap:focus-within { border-color: var(--line-acc); box-shadow: 0 0 0 3px rgba(var(--acc2-rgb), .14); width: 300px; }
.search-ico { width: 16px; height: 16px; color: var(--txt-2); flex: none; }
.search-wrap input { flex: 1; background: none; border: none; outline: none; color: var(--txt-0); font-size: 13.5px; min-width: 0; }
.search-wrap input::placeholder { color: var(--txt-2); }

.balance-chip {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px 8px 11px; border-radius: 14px;
    background: var(--panel); border: 1px solid var(--line-2);
    transition: transform .2s, border-color .2s; cursor: pointer;
}
.balance-chip:hover { border-color: rgba(255, 198, 84, .4); }
.balance-chip.bump { animation: bump .45s cubic-bezier(.3, 1.6, .4, 1); }
@keyframes bump { 30% { transform: scale(1.1) } }
/* NO rotateY flip on the coin — a flat PNG spinning on its Y axis reads as
   cheap. It just breathes with a soft glow instead. */
.coin-spin {
    width: 32px; height: 32px; flex: none; object-fit: contain;
    filter: drop-shadow(0 0 9px rgba(255, 198, 84, .5));
    animation: coinBreathe 3.6s ease-in-out infinite;
}
@keyframes coinBreathe {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 198, 84, .42)); }
    50%      { transform: scale(1.06); filter: drop-shadow(0 0 14px rgba(255, 198, 84, .7)); }
}
.bc-col { display: flex; flex-direction: column; line-height: 1.25; }
.bc-label { font-size: 8.5px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--txt-2); font-weight: 800; }
.bc-value { font-size: 15px; font-weight: 900; color: #fff; white-space: nowrap; }
.bc-value .bc-name { font-size: 11px; font-weight: 800; letter-spacing: .6px; color: var(--gold); margin-left: 4px; }
.bc-chev { width: 15px; height: 15px; color: var(--txt-2); flex: none; }

.btn-close {
    width: 44px; height: 44px; border-radius: 14px; flex: none;
    display: grid; place-items: center;
    background: var(--panel); border: 1px solid var(--line-2); color: var(--txt-1);
    transition: all .22s;
}
.btn-close svg { width: 17px; height: 17px; }
.btn-close:hover { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(90deg); box-shadow: 0 8px 24px rgba(255, 92, 108, .4); }

/* ════════════════════════════════════════════════════════════════════════
   BODY ROW  =  SIDEBAR + CONTENT
   ════════════════════════════════════════════════════════════════════════ */
.body-row { flex: 1; min-height: 0; display: flex; gap: 18px; }

/* ── Sidebar ────────────────────────────────────────────────────────── */
.side { width: 268px; flex: none; display: flex; flex-direction: column; gap: 16px; min-height: 0; padding-bottom: 18px; }

.side-nav {
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 14px 12px;
    display: flex; flex-direction: column; gap: 9px;
    flex: 1; min-height: 0; overflow-y: auto;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
    animation: cardIn .5s both;
}
.side-nav::-webkit-scrollbar { width: 6px; }
.side-nav::-webkit-scrollbar-thumb { background: rgba(var(--acc2-rgb), .25); border-radius: 6px; }

.snav {
    display: flex; align-items: center; gap: 13px; width: 100%;
    padding: 13px 14px; border-radius: 15px; text-align: left;
    background: transparent; border: 1px solid transparent;
    transition: all .22s cubic-bezier(.3, .7, .3, 1);
    animation: cardIn .45s both; animation-delay: calc(var(--i, 0) * 40ms);
}
.snav .sn-ico {
    width: 42px; height: 42px; flex: none; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
    color: var(--txt-1);
    transition: all .22s;
}
.snav .sn-ico svg { width: 20px; height: 20px; }
.snav .sn-name { font-size: 14px; font-weight: 800; color: var(--txt-0); }
.snav .sn-sub { font-size: 11px; color: var(--txt-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.snav:hover { background: rgba(255, 255, 255, .035); transform: translateX(3px); }
.snav:hover .sn-ico { color: var(--acc-soft2); border-color: var(--line-acc); }
.snav:active { transform: scale(.97); }
.snav.active {
    position: relative; overflow: hidden;
    background: linear-gradient(90deg, rgba(var(--acc2-rgb), .4), rgba(var(--acc2-rgb), .06) 75%);
    border-color: rgba(var(--acc-rgb), .55);
    box-shadow: 0 8px 26px rgba(var(--acc2-rgb), .28), inset 0 1px 0 rgba(255, 255, 255, .07);
    animation: navPop .45s cubic-bezier(.2, .9, .3, 1.3);
}
.snav.active::after {
    content: ''; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
    transform: skewX(-18deg); pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent);
    animation: navSweep .8s ease .1s both;
}
@keyframes navPop { 0% { transform: scale(.96); box-shadow: 0 0 0 0 rgba(var(--acc-rgb), .5) } 55% { transform: scale(1.02); box-shadow: 0 0 0 7px rgba(var(--acc-rgb), 0) } 100% { transform: scale(1) } }
@keyframes navSweep { from { left: -80% } to { left: 130% } }
.snav.active .sn-ico { background: var(--grad-cta); border-color: transparent; color: #fff; box-shadow: 0 6px 18px var(--glow-acc); }

/* ── VIP member card ────────────────────────────────────────────────── */
.member-card {
    flex: none; margin-top: auto; text-align: center;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 22px 18px 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
    position: relative; overflow: hidden;
    animation: cardIn .5s both .12s;
}
.member-card::before {
    content: ''; position: absolute; inset: -40% -20% auto;
    height: 120px; pointer-events: none;
    background: radial-gradient(50% 100% at 50% 100%, rgba(var(--acc-rgb), .18), transparent 70%);
}
/* sidebar card now shows the VIP MEMBERSHIP artwork instead of a crown icon */
.mc-glow {
    position: absolute; top: -6%; left: 50%; transform: translateX(-50%);
    width: 84%; height: 58%; border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 186, 84, .3), transparent 70%);
    filter: blur(18px); pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite;
}
/* bigger, and deliberately static — no float animation here */
.mc-art {
    position: relative; z-index: 1;
    width: 112%; max-height: 152px; object-fit: contain;
    margin: -6px -6% 4px;
    filter: drop-shadow(0 10px 24px rgba(255, 170, 60, .32));
}
.mc-hex-wrap {
    position: relative; width: 104px; height: 108px; margin: 0 auto 12px;
    display: grid; place-items: center;
    animation: hexFloat 4.5s ease-in-out infinite;
}
/* warm amber aura bleeding around the composition (bottom-left heavy) */
.mc-hex-wrap::before {
    content: ''; position: absolute; inset: -14px;
    background:
        radial-gradient(46% 46% at 38% 66%, rgba(255, 170, 60, .4), transparent 70%),
        radial-gradient(40% 40% at 64% 34%, rgba(var(--acc3-rgb), .28), transparent 70%);
    filter: blur(10px);
    animation: memberGlow 3.6s ease-in-out infinite;
}
@keyframes memberGlow { 0%, 100% { opacity: .8 } 50% { opacity: 1 } }
/* golden sparkle dots scattered around */
.mc-hex-wrap::after {
    content: ''; position: absolute; inset: -10px; pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 18% 22%, rgba(255, 214, 130, .95), transparent 60%),
        radial-gradient(1.6px 1.6px at 84% 30%, rgba(255, 198, 84, .85), transparent 60%),
        radial-gradient(2.2px 2.2px at 76% 82%, rgba(255, 170, 90, .8), transparent 60%),
        radial-gradient(1.5px 1.5px at 10% 72%, rgba(255, 255, 255, .8), transparent 60%),
        radial-gradient(1.8px 1.8px at 50% 6%, rgba(255, 214, 130, .75), transparent 60%);
    animation: sparkFloat 5s ease-in-out infinite alternate;
}
/* thin GOLD hexagon outline, rotated + offset behind the magenta hexagon */
.mc-ring {
    position: absolute; width: 88px; height: 92px;
    left: 50%; top: 50%;
    transform: translate(-56%, -44%) rotate(16deg);
    clip-path: polygon(50% 0%, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
    background: linear-gradient(135deg, #ffe3a3 0%, #ffb347 38%, #d98424 66%, #8a5216 100%);
    filter: drop-shadow(0 8px 20px rgba(255, 170, 60, .35));
    animation: ringSway 6s ease-in-out infinite;
}
.mc-ring::before {
    content: ''; position: absolute; inset: 4px;
    background: var(--panel);
    clip-path: polygon(50% 0%, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
}
@keyframes ringSway {
    0%, 100% { transform: translate(-56%, -44%) rotate(16deg) }
    50%      { transform: translate(-55%, -46%) rotate(21deg) }
}
/* vivid magenta hexagon with the crown, on top */
.mc-hex {
    width: 66px; height: 72px; position: relative; z-index: 2;
    display: grid; place-items: center;
    background: linear-gradient(165deg, var(--acc-3) 0%, var(--acc-3) 42%, var(--cta-2) 100%);
    clip-path: polygon(50% 0%, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
    box-shadow: 0 10px 30px rgba(var(--acc3-rgb), .45);
}
.mc-hex svg { width: 28px; height: 28px; color: #fff; position: relative; z-index: 1; filter: drop-shadow(0 2px 6px rgba(var(--acc3-rgb), .6)); }
@keyframes hexFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-5px) } }
.mc-title { font-size: 14px; font-weight: 900; letter-spacing: 2.5px; text-transform: uppercase; }
.mc-sub { font-size: 11px; line-height: 1.55; color: var(--txt-1); margin: 8px auto 14px; max-width: 180px; }
.mc-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border: none; border-radius: 12px;
    background: var(--grad-cta); color: #fff;
    font-size: 11px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase;
    box-shadow: 0 8px 24px var(--glow-acc);
    transition: transform .18s, box-shadow .18s;
}
.mc-btn svg { width: 13px; height: 13px; }
.mc-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--acc2-rgb), .55); }

/* ════════════════════════════════════════════════════════════════════════
   CONTENT
   ════════════════════════════════════════════════════════════════════════ */
.content { flex: 1; min-width: 0; overflow-y: auto; overflow-x: hidden; padding: 2px 4px 24px; }
.content::-webkit-scrollbar, .modal::-webkit-scrollbar { width: 8px; }
.content::-webkit-scrollbar-thumb, .modal::-webkit-scrollbar-thumb { background: rgba(var(--acc2-rgb), .25); border-radius: 8px; }
.content::-webkit-scrollbar-thumb:hover { background: rgba(var(--acc2-rgb), .45); }

.view { animation: viewIn .4s cubic-bezier(.25, .8, .3, 1) both; max-width: 1560px; margin: 0 auto; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.97) } to { opacity: 1; transform: none } }

.sec-title {
    display: flex; align-items: center; gap: 12px;
    font-size: 21px; font-weight: 900; letter-spacing: .3px;
    margin: 26px 2px 15px;
}
.sec-title:first-child { margin-top: 2px; }
.sec-title .st-bar { width: 5px; height: 22px; border-radius: 4px; background: var(--grad-cta); box-shadow: 0 0 14px var(--glow-acc); }
.sec-title .st-count { font-size: 12px; font-weight: 800; color: var(--txt-1); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.sec-title .st-link { margin-left: auto; font-size: 11.5px; font-weight: 900; letter-spacing: 1.2px; color: var(--acc-soft2); background: none; border: none; text-transform: uppercase; }
.sec-title .st-link:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════════════════
   HOME  (no-scroll: hero+rail on top, featured strip below)
   ════════════════════════════════════════════════════════════════════════ */
.content.view-home { overflow: hidden; display: flex; padding-bottom: 18px; }
.home-view { flex: 1; display: flex; flex-direction: column; min-height: 0; width: 100%; max-width: 1620px; margin: 0 auto; }

.home-top { flex: 1.34; min-height: 0; max-height: 640px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.home-bottom { flex: 1; min-height: 0; display: flex; flex-direction: column; margin-top: 16px; }

/* ── Deals carousel / hero ──────────────────────────────────────────── */
.carousel {
    grid-column: span 8; position: relative; overflow: hidden;
    border-radius: var(--r-lg); border: 1px solid var(--line-2);
    min-height: 0;
    background: var(--panel);
    animation: cardIn .55s cubic-bezier(.2, .8, .3, 1) both;
    /* glass: crisp top highlight + violet bloom bleeding in from the edges */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .10),
        inset 0 0 90px rgba(var(--acc2-rgb), .10),
        0 22px 60px rgba(0, 0, 0, .45);
}
.c-slide {
    position: absolute; inset: 0; padding: 28px 34px 26px;
    display: flex; flex-direction: column;
    opacity: 0; transform: translateX(52px); pointer-events: none;
    transition: opacity .65s ease, transform .65s cubic-bezier(.2, .8, .3, 1);
    /* layered violet glass: light bands → product bloom → ambient → base */
    /* NOTE: the vignette lives in this background stack, NOT in an ::after —
       an overlay would sit above the copy and dim the price/CTA. */
    background:
        var(--sheen),
        radial-gradient(118% 108% at 64% 44%, transparent 36%, rgba(10, 6, 22, .34) 74%, rgba(8, 5, 18, .60) 100%),
        linear-gradient(118deg, transparent 32%, rgba(var(--accsoft-rgb), .05) 41%, transparent 49%),
        linear-gradient(118deg, transparent 58%, rgba(var(--accsoft-rgb), .03) 66%, transparent 74%),
        radial-gradient(46% 62% at 70% 46%, rgba(var(--acc2-rgb), .30), transparent 66%),
        radial-gradient(34% 44% at 86% 22%, rgba(var(--acc-rgb), .14), transparent 70%),
        radial-gradient(85% 85% at 2% 0%, rgba(var(--acc2-rgb), .34), transparent 62%),
        /* accent-tinted wash over a NEUTRAL dark base — the old #201847 base
           was baked violet and survived every theme change */
        linear-gradient(158deg, rgba(var(--acc2-rgb), .30) 0%, rgba(var(--acc2-rgb), .13) 48%, rgba(var(--acc2-rgb), .05) 100%),
        linear-gradient(158deg, #141220 0%, #100e1b 48%, #0b0a15 100%);
}
.c-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.c-slide.leave { opacity: 0; transform: translateX(-52px); }

/* ── FX layer: JS parks this box exactly on the product's opaque pixels ──
   (see layoutHeroFx in app.js — the % below are only the pre-measure guess) */
.hero-fx {
    position: absolute; z-index: 0; pointer-events: none;
    left: 42%; top: 18%; width: 52%; height: 64%;
    transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease;
}
.hero-fx > * { position: absolute; }

/* purple energy field behind the product render — deep violet outer, lighter
   lilac mid, near-white core (matches the reference art direction) */
.c-slide .hero-glowfx {
    inset: -42% -34%;
    background:
        radial-gradient(50% 50% at 50% 50%, rgba(var(--acc2-rgb), .55), transparent 72%),
        radial-gradient(34% 34% at 46% 48%, rgba(var(--acc-rgb), .45), transparent 70%),
        radial-gradient(18% 18% at 48% 48%, rgba(var(--accsoft-rgb), .30), transparent 72%),
        radial-gradient(26% 26% at 30% 68%, rgba(var(--acc3-rgb), .26), transparent 72%);
    filter: blur(10px);
    animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { opacity: .85; transform: scale(1) } 50% { opacity: 1; transform: scale(1.05) } }
/* "tiger claw" — three parallel razor slashes tearing across the field
   (z-index 0 + hero-art z-index 1 → the slashes stay BEHIND the render). */
.c-slide .hero-glowfx, .c-slide .hero-sparks { z-index: 0; will-change: opacity, transform; }
.c-slide .hero-claw {
    z-index: 0; will-change: transform, opacity;
    /* centred on the subject and CAPPED: a tall product (money bag) must not
       stretch the slashes across the whole card the way a wide one does */
    top: 50%; left: 50%;
    width: min(135%, 520px); height: min(70%, 190px);
    transform: translate(-50%, -50%) rotate(-24deg);
    background:
        linear-gradient(90deg, transparent 8%, rgba(var(--acc-rgb), .45) 32%, rgba(var(--accsoft-rgb), .9) 48%, rgba(var(--acc-rgb), .6) 64%, transparent 92%) 0 28% / 100% 3px no-repeat,
        linear-gradient(90deg, transparent 2%, rgba(var(--accsoft-rgb), .6) 28%, rgba(255, 252, 255, 1) 47%, rgba(var(--acc-rgb), .8) 66%, transparent 97%) 0 50% / 100% 5px no-repeat,
        linear-gradient(90deg, transparent 14%, rgba(var(--acc2-rgb), .5) 36%, rgba(var(--accsoft-rgb), .82) 52%, rgba(var(--acc-rgb), .5) 68%, transparent 88%) 0 72% / 100% 3px no-repeat;
    filter: blur(.7px) drop-shadow(0 0 20px rgba(var(--acc-rgb), .8));
    animation: clawPulse 4.5s ease-in-out infinite;
}
.c-slide .hero-claw::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, transparent 20%, rgba(255, 255, 255, .55) 49%, transparent 80%) 0 30% / 100% 1px no-repeat,
        linear-gradient(90deg, transparent 14%, rgba(255, 255, 255, .8) 48%, transparent 86%) 0 50% / 100% 1.5px no-repeat,
        linear-gradient(90deg, transparent 26%, rgba(255, 255, 255, .45) 51%, transparent 74%) 0 70% / 100% 1px no-repeat;
}
@keyframes clawPulse {
    0%, 100% { opacity: .8; transform: translate(-50%, -50%) rotate(-24deg) translateX(-8px); }
    50%      { opacity: 1; transform: translate(-50%, -50%) rotate(-24deg) translateX(10px); }
}
.c-slide.g1 .hero-glowfx { background:
    radial-gradient(48% 44% at 60% 46%, rgba(var(--acc3-rgb), .45), transparent 70%),
    radial-gradient(32% 28% at 40% 62%, rgba(var(--acc2-rgb), .26), transparent 70%),
    radial-gradient(20% 16% at 72% 30%, rgba(255, 140, 180, .2), transparent 70%); }
.c-slide.g2 .hero-glowfx { background:
    radial-gradient(48% 44% at 60% 46%, rgba(90, 120, 255, .45), transparent 70%),
    radial-gradient(32% 28% at 40% 62%, rgba(var(--acc2-rgb), .26), transparent 70%),
    radial-gradient(20% 16% at 72% 30%, rgba(47, 230, 200, .18), transparent 70%); }

/* floating embers — sharp amber motes in front, blurred ones behind (depth) */
.c-slide .hero-sparks {
    inset: -46% -38%;
    background-image:
        radial-gradient(2.4px 2.4px at 22% 24%, rgba(255, 176, 78, .95), transparent 62%),
        radial-gradient(1.8px 1.8px at 66% 16%, rgba(255, 236, 208, .9), transparent 62%),
        radial-gradient(2.8px 2.8px at 81% 44%, rgba(255, 142, 62, .85), transparent 62%),
        radial-gradient(1.6px 1.6px at 38% 58%, rgba(var(--accsoft-rgb), .8), transparent 62%),
        radial-gradient(2.2px 2.2px at 12% 68%, rgba(255, 196, 110, .85), transparent 62%),
        radial-gradient(1.7px 1.7px at 56% 80%, rgba(255, 246, 232, .75), transparent 62%),
        radial-gradient(2.6px 2.6px at 90% 70%, rgba(255, 152, 70, .8), transparent 62%),
        radial-gradient(1.5px 1.5px at 47% 34%, rgba(var(--accsoft-rgb), .85), transparent 62%),
        radial-gradient(2px 2px at 33% 12%, rgba(255, 186, 96, .8), transparent 62%),
        radial-gradient(1.8px 1.8px at 72% 88%, rgba(255, 208, 140, .7), transparent 62%);
    filter: drop-shadow(0 0 5px rgba(255, 150, 60, .75));
    animation: emberDrift 11s ease-in-out infinite alternate;
}
.c-slide .hero-sparks::after {
    content: ''; position: absolute; inset: 0;
    filter: blur(2.5px);
    background-image:
        radial-gradient(4px 4px at 30% 42%, rgba(255, 160, 70, .55), transparent 62%),
        radial-gradient(5px 5px at 74% 26%, rgba(255, 186, 96, .45), transparent 62%),
        radial-gradient(3.5px 3.5px at 60% 62%, rgba(255, 142, 62, .45), transparent 62%),
        radial-gradient(4.5px 4.5px at 18% 50%, rgba(var(--acc-rgb), .4), transparent 62%),
        radial-gradient(4px 4px at 86% 84%, rgba(255, 196, 110, .4), transparent 62%);
    animation: emberDriftSlow 16s ease-in-out infinite alternate-reverse;
}
@keyframes emberDrift {
    0%   { opacity: .35; transform: translate3d(0, 12px, 0); }
    50%  { opacity: 1; }
    100% { opacity: .5; transform: translate3d(16px, -18px, 0); }
}
@keyframes emberDriftSlow {
    0%   { opacity: .3; transform: translate3d(0, -8px, 0); }
    50%  { opacity: .85; }
    100% { opacity: .4; transform: translate3d(-14px, 14px, 0); }
}
/* legacy alias — still used by the rewards coin sparks */
@keyframes sparkFloat {
    0%   { opacity: .45; transform: translateY(4px); }
    50%  { opacity: 1; }
    100% { opacity: .6; transform: translateY(-8px); }
}

.c-slide .shine {
    position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
    transform: skewX(-18deg); pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .05), transparent);
    animation: slideShine 6s ease-in-out infinite;
}
@keyframes slideShine { 0%, 55% { left: -80% } 90%, 100% { left: 150% } }

.b-hero .hero-art, .c-slide .hero-art {
    position: absolute; z-index: 1; right: 3%; top: 46%; height: 92%; max-width: 62%;
    object-fit: contain; object-position: center;
    filter: drop-shadow(0 20px 44px rgba(0, 0, 0, .55));
    transform: translateY(-50%) scale(var(--z, 1)); transform-origin: center;
    pointer-events: none;
    will-change: transform;
    animation: artHover 5s ease-in-out infinite;
}
/* transform-only float (GPU-composited — never animate layout properties) */
@keyframes artHover {
    0%, 100% { transform: translateY(-50%) scale(var(--z, 1)); }
    50%      { transform: translateY(calc(-50% - 12px)) scale(var(--z, 1)); }
}

.hero-kicker {
    font-size: 11px; font-weight: 900; letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--acc-soft2); position: relative; z-index: 2;
}
.hero-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.hero-lim { font-size: 11px; font-weight: 900; letter-spacing: 2.4px; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.hero-title {
    position: relative; z-index: 2;
    font-size: clamp(36px, 3.4vw, 58px); font-weight: 900; line-height: 1.02;
    letter-spacing: -.5px; text-transform: uppercase;
    max-width: 48%; margin-top: 12px;
    text-shadow: 0 8px 34px rgba(0, 0, 0, .45);
}
.hero-desc { position: relative; z-index: 2; margin-top: 10px; max-width: 44%; font-size: 13.5px; line-height: 1.55; color: var(--txt-1); }

.hero-feats { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.hf { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #d6d8ef; }
.hf .hf-ico {
    width: 24px; height: 24px; flex: none; border-radius: 8px;
    display: grid; place-items: center;
    background: rgba(var(--acc2-rgb), .18); border: 1px solid rgba(var(--acc2-rgb), .4);
    color: var(--acc-soft2);
}
.hf .hf-ico svg { width: 12px; height: 12px; }

.hero-bottom { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 22px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
.hero-prices { display: flex; align-items: center; gap: 12px; }
.hero-prices .cg { width: 34px; height: 34px; }
.hero-prices .price-new { font-size: 36px; font-weight: 900; }
.hero-prices .price-old { font-size: 19px; color: rgba(255, 255, 255, .45); }
.hero-save {
    padding: 6px 13px; border-radius: 999px;
    background: linear-gradient(135deg, #ff8a5c, #ff4f6e); color: #fff;
    font-size: 12.5px; font-weight: 900; letter-spacing: .5px;
    box-shadow: 0 5px 16px rgba(255, 84, 112, .5);
    animation: pctPulse 2.2s ease-in-out infinite;
}
.hero-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border: none; border-radius: 15px;
    background: var(--grad-cta); color: #fff;
    font-size: 13.5px; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase;
    box-shadow: 0 12px 34px var(--glow-acc);
    transition: transform .18s, box-shadow .18s, filter .18s;
    position: relative; overflow: hidden;
}
.hero-cta svg { width: 17px; height: 17px; }
.hero-cta::after {
    content: ''; position: absolute; top: 0; left: -90%; width: 50%; height: 100%;
    transform: skewX(-18deg);
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent);
    animation: slideShine 3.4s ease-in-out infinite;
}
.hero-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 44px rgba(var(--acc2-rgb), .6); filter: brightness(1.08); }

/* ── OFFER ENDS IN: amber/red "urgency" block, off-palette on purpose ──── */
.hero-cd {
    display: flex; flex-direction: column; gap: 10px; margin-left: auto; align-items: center;
    padding: 13px 16px 12px; border-radius: 18px;
    border: 1px solid transparent;
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(255, 122, 77, .12), transparent 70%) padding-box,
        linear-gradient(rgba(24, 16, 30, .72), rgba(20, 13, 26, .72)) padding-box,
        linear-gradient(135deg, rgba(255, 170, 60, .55), rgba(255, 79, 122, .45)) border-box;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 200, 140, .12);
}
.hero-cd .cd-label {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 10px; letter-spacing: 2.6px; text-transform: uppercase;
    color: #ffb45c; font-weight: 900;
}
.hero-cd .cd-label svg { width: 13px; height: 13px; animation: tick 2s steps(8) infinite; }
@keyframes tick { to { transform: rotate(360deg) } }

/* countdown boxes (number + word label) */
.cdx { display: flex; gap: 8px; }
.cdx-cell {
    position: relative; min-width: 66px; padding: 12px 10px 9px; border-radius: 14px; text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 176, 92, .28);
    box-shadow: inset 0 1px 0 rgba(255, 210, 160, .22), 0 8px 20px rgba(0, 0, 0, .35);
    overflow: hidden;
}
.cdx-cell::before {
    content: ''; position: absolute; top: 0; left: 22%; right: 22%; height: 2px;
    background: linear-gradient(90deg, transparent, #ffb45c, transparent);
    opacity: .85;
}
.cdx-cell b {
    display: block; font: 900 24px/1.1 var(--font);
    background: linear-gradient(180deg, #fff 30%, #ffcf9a);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    text-shadow: 0 0 18px rgba(255, 170, 60, .28);
}
.cdx-cell small { font-size: 8.5px; letter-spacing: 1.6px; font-weight: 800; color: rgba(255, 180, 92, .75); text-transform: uppercase; }
/* the seconds cell carries the urgency */
.cdx-cell:last-child { border-color: rgba(255, 105, 135, .45); animation: secPulse 1s ease-in-out infinite; }
.cdx-cell:last-child::before { background: linear-gradient(90deg, transparent, #ff6f8f, transparent); }
.cdx-cell:last-child b { background: linear-gradient(180deg, #fff 30%, #ffa8be); -webkit-background-clip: text; background-clip: text; }
.cdx-cell:last-child small { color: rgba(255, 130, 160, .8); }
@keyframes secPulse {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 210, 160, .22), 0 8px 20px rgba(0, 0, 0, .35); }
    50%      { box-shadow: inset 0 1px 0 rgba(255, 210, 160, .22), 0 8px 26px rgba(255, 79, 122, .35), 0 0 0 3px rgba(255, 79, 122, .1); }
}

/* discount tag + limited-deal label */
.deal-tag {
    display: inline-flex; align-items: center;
    padding: 7px 15px; border-radius: 999px;
    background: linear-gradient(135deg, #ff8a5c, #ff4f7a 60%, #e8437f);
    color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .4px;
    box-shadow: 0 6px 20px rgba(255, 79, 122, .5), inset 0 1px 0 rgba(255, 255, 255, .35);
    animation: pctPulse 2.2s ease-in-out infinite;
}
.hero-lim { display: inline-flex; align-items: center; gap: 9px; }
.lim-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #ff6f8f;
    box-shadow: 0 0 10px #ff6f8f; animation: dotPulse 1.4s ease-in-out infinite;
}

/* card countdown chip */
.card-cd {
    align-self: flex-start; display: flex; align-items: center; gap: 7px;
    background: rgba(255, 79, 154, .1); border: 1px solid rgba(255, 79, 154, .38);
    border-radius: 999px; padding: 5px 12px;
    font-family: var(--mono); font-size: 11.5px; color: var(--mag); font-weight: 800;
}
.card-cd svg { width: 13px; height: 13px; }

.c-dots { position: absolute; z-index: 6; bottom: 13px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.c-dot {
    width: 24px; height: 6px; border-radius: 4px; border: none; padding: 0;
    background: rgba(255, 255, 255, .18); overflow: hidden; position: relative;
    transition: width .3s;
}
.c-dot.active { width: 44px; }
.c-dot.active::after {
    content: ''; position: absolute; inset: 0; border-radius: 4px;
    background: var(--grad-cta); transform-origin: left;
    animation: dotFill var(--dur, 6.5s) linear forwards;
}
@keyframes dotFill { from { transform: scaleX(0) } to { transform: scaleX(1) } }

.c-arrow {
    position: absolute; z-index: 6; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(12, 12, 26, .55); border: 1px solid rgba(255, 255, 255, .2);
    color: #fff; font-size: 20px; font-weight: 900; opacity: 0;
    transition: opacity .25s, background .2s;
}
.carousel:hover .c-arrow { opacity: 1; }
.c-arrow:hover { background: var(--grad-cta); border-color: transparent; }
.c-arrow.left { left: 16px; }
.c-arrow.right { right: 16px; }

/* ── Right rail: DAILY REWARDS + benefits ───────────────────────────── */
.rail { grid-column: span 4; min-height: 0; display: flex; flex-direction: column; gap: 14px; }

.rail-daily {
    position: relative; overflow: hidden; flex: 1; min-height: 0;
    border-radius: var(--r-lg); border: 1px solid var(--line-2);
    background: var(--panel);
    padding: 22px 24px 20px;
    display: flex; flex-direction: column;
    animation: cardIn .55s both .08s;
    transition: border-color .25s;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.rail-daily:hover { border-color: var(--line-acc); }
.bd-head-row { display: flex; align-items: center; gap: 11px; position: relative; z-index: 2; }
.bd-head-ico {
    width: 34px; height: 34px; flex: none; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--grad-cta); color: #fff;
    box-shadow: 0 6px 18px var(--glow-acc);
}
.bd-head-ico svg { width: 17px; height: 17px; }
.rail-daily .bd-title { font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .8px; }
.rail-daily .bd-sub { font-size: 11.5px; line-height: 1.5; color: var(--txt-1); margin-top: 9px; position: relative; z-index: 2; max-width: 92%; }

/* day track: connector line + circular nodes */
.bd-track { position: relative; margin-top: 18px; padding: 0 2px; z-index: 2; }
.bd-line {
    position: absolute; left: 20px; right: 20px; top: 19px; height: 4px;
    border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden;
}
.bd-line i {
    display: block; height: 100%; border-radius: 3px;
    background: var(--grad-cta); box-shadow: 0 0 12px rgba(var(--acc-rgb), .7);
    transition: width .6s cubic-bezier(.2, .8, .3, 1);
}
.rail-daily .bd-days { position: relative; display: flex; justify-content: space-between; gap: 6px; }
.rail-daily .bd-day {
    width: 38px; height: 38px; flex: none; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--panel-2); border: 1px solid var(--line-2);
    font-size: 12px; font-weight: 800; color: var(--txt-1);
    transition: transform .2s, box-shadow .2s;
}
.rail-daily .bd-day svg { width: 14px; height: 14px; }
.rail-daily .bd-day.done {
    background: linear-gradient(150deg, var(--acc), var(--cta-1)); border-color: rgba(var(--accsoft-rgb), .5); color: #fff;
    box-shadow: 0 4px 14px rgba(var(--acc2-rgb), .45);
}
.rail-daily .bd-day.next {
    background: linear-gradient(150deg, #ffcf70, #f0a828); border-color: rgba(255, 214, 130, .7);
    color: #4a3305; transform: scale(1.14);
    box-shadow: 0 0 0 4px rgba(255, 198, 84, .14), 0 8px 20px rgba(240, 168, 40, .45);
    animation: dayPulse 1.9s ease-in-out infinite;
}
@keyframes dayPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 198, 84, .12), 0 8px 20px rgba(240, 168, 40, .4); }
    50%      { box-shadow: 0 0 0 8px rgba(255, 198, 84, .05), 0 8px 26px rgba(240, 168, 40, .6); }
}
.bd-streak {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
    padding: 5px 11px; border-radius: 999px;
    background: rgba(255, 198, 84, .09); border: 1px solid rgba(255, 198, 84, .32);
    font-size: 11.5px; font-weight: 900; color: var(--gold); letter-spacing: .4px;
    position: relative; z-index: 2;
}
.bd-streak .flame svg { width: 13px; height: 13px; display: block; color: #ff9a4d; }
.bd-streak .flame { animation: flameFlick .9s ease-in-out infinite alternate; }
@keyframes flameFlick { from { transform: scale(1) rotate(-3deg) } to { transform: scale(1.15) rotate(3deg) } }

/* the big glowing coin — aurora disc + rays + orbit + sparks */
.rw-coin-wrap { position: relative; z-index: 1; flex: 1; min-height: 60px; display: grid; place-items: center; margin: 8px 0 4px; }
.rw-coin-wrap::before {
    content: ''; position: absolute; width: 84%; height: 96%;
    background:
        radial-gradient(50% 50% at 50% 54%, rgba(255, 170, 60, .4), transparent 65%),
        radial-gradient(60% 60% at 48% 46%, rgba(var(--acc-rgb), .38), transparent 72%);
    filter: blur(10px);
    animation: coinGlow 3s ease-in-out infinite;
}
/* slow multi-colour aurora spinning behind the coin */
.coin-aurora {
    position: absolute; width: min(74%, 230px); aspect-ratio: 1; border-radius: 50%;
    background: conic-gradient(from 0deg,
        rgba(255, 198, 84, .55), rgba(255, 122, 77, .4), rgba(var(--acc3-rgb), .45),
        rgba(var(--acc2-rgb), .45), rgba(77, 155, 255, .35), rgba(255, 198, 84, .55));
    filter: blur(22px); opacity: .7;
    animation: auroraSpin 14s linear infinite;
    will-change: transform;
}
@keyframes auroraSpin { to { transform: rotate(360deg) } }
/* a hairline ring with a bead orbiting the coin */
.coin-orbit {
    position: absolute; width: min(62%, 196px); aspect-ratio: 1; border-radius: 50%;
    border: 1px solid rgba(255, 198, 84, .16);
    animation: auroraSpin 9s linear infinite;
    will-change: transform;
}
.coin-orbit::before {
    content: ''; position: absolute; top: -3px; left: 50%; margin-left: -3px;
    width: 6px; height: 6px; border-radius: 50%;
    background: #ffd68a; box-shadow: 0 0 12px 2px rgba(255, 198, 84, .8);
}
.coin-orbit::after {
    content: ''; position: absolute; bottom: -2px; left: 32%;
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--acc-soft); box-shadow: 0 0 10px 2px rgba(var(--acc3-rgb), .7);
}
@keyframes coinGlow { 0%, 100% { opacity: .75; transform: scale(1) } 50% { opacity: 1; transform: scale(1.1) } }
.rw-coin, .rw-coin-wrap::before, .rw-coin-wrap::after, .coin-claw, .mh-reward-glow { will-change: transform, opacity; }
/* gold/purple claw slashes + sparks behind the coin */
.coin-claw {
    position: absolute; left: 50%; top: 50%;
    width: min(92%, 290px); height: min(84%, 220px);
    transform: translate(-50%, -50%) rotate(-22deg); pointer-events: none;
    background:
        linear-gradient(90deg, transparent 10%, rgba(255, 198, 84, .8) 46%, rgba(255, 170, 60, .55) 60%, transparent 90%) 0 34% / 100% 3px no-repeat,
        linear-gradient(90deg, transparent 5%, rgba(255, 236, 190, .95) 48%, rgba(var(--acc3-rgb), .7) 63%, transparent 95%) 0 52% / 100% 4px no-repeat,
        linear-gradient(90deg, transparent 16%, rgba(var(--acc-rgb), .7) 50%, transparent 84%) 0 70% / 100% 2.5px no-repeat;
    filter: blur(.6px) drop-shadow(0 0 12px rgba(255, 180, 70, .55));
    animation: coinClawPulse 5s ease-in-out infinite;
}
@keyframes coinClawPulse {
    0%, 100% { opacity: .8; transform: translate(-50%, -50%) rotate(-22deg) translateX(-6px); }
    50%      { opacity: 1; transform: translate(-50%, -50%) rotate(-22deg) translateX(8px); }
}
.rw-coin-wrap::after {
    content: ''; position: absolute; inset: -4%;  pointer-events: none;
    background-image:
        radial-gradient(2.5px 2.5px at 24% 30%, rgba(255, 214, 130, .95), transparent 60%),
        radial-gradient(2px 2px at 74% 22%, rgba(255, 255, 255, .9), transparent 60%),
        radial-gradient(3px 3px at 84% 62%, rgba(255, 170, 90, .85), transparent 60%),
        radial-gradient(2px 2px at 16% 68%, rgba(var(--acc3-rgb), .85), transparent 60%),
        radial-gradient(2px 2px at 55% 84%, rgba(255, 214, 130, .8), transparent 60%),
        radial-gradient(1.6px 1.6px at 42% 14%, rgba(255, 255, 255, .8), transparent 60%);
    animation: sparkFloat 6s ease-in-out infinite alternate;
}
.rw-coin {
    position: relative; width: min(60%, 168px); max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(255, 170, 60, .35));
    animation: artBob 5s ease-in-out infinite;
}
@keyframes artBob { 0%, 100% { transform: translateY(0) rotate(-2deg) } 50% { transform: translateY(-9px) rotate(2deg) } }

.rail-daily .bd-foot { margin-top: auto; position: relative; z-index: 2; flex: none; }
.bd-claim {
    width: 100%; padding: 14px 20px; border: none; border-radius: 13px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--grad-cta); color: #fff;
    font-size: 12.5px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
    box-shadow: 0 10px 28px var(--glow-acc);
    transition: transform .18s, box-shadow .18s;
    position: relative; overflow: hidden;
}
.bd-claim b {
    padding: 3px 10px; border-radius: 999px; letter-spacing: .6px; font-size: 12px;
    background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
/* claimed state: a proper cooldown panel instead of a dead grey button */
.bd-cool {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border-radius: 13px;
    border: 1px solid transparent;
    /* the padding-box layer MUST be opaque, otherwise the border-box gradient
       shows through and tints the whole panel */
    background:
        linear-gradient(#1e2038, #1a1c31) padding-box,
        linear-gradient(135deg, rgba(62, 207, 142, .45), rgba(255, 198, 84, .32)) border-box;
}
.bd-cool-ico {
    width: 32px; height: 32px; flex: none; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #34d399, #10b981); color: #04382a;
    box-shadow: 0 6px 16px rgba(16, 185, 129, .35);
}
.bd-cool-ico svg { width: 15px; height: 15px; }
.bd-cool-txt { min-width: 0; }
.bd-cool-t { font-size: 11.5px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; color: var(--green); }
.bd-cool-s { font-size: 11px; color: var(--txt-2); margin-top: 3px; }
.bd-cool-s b { color: var(--gold); font-family: var(--mono); font-size: 12px; }
.bd-claim::after {
    content: ''; position: absolute; top: 0; left: -90%; width: 50%; height: 100%;
    transform: skewX(-18deg);
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
    animation: slideShine 3.8s ease-in-out infinite;
}
.bd-claim:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(var(--acc2-rgb), .55); }
.bd-claim:disabled { background: var(--panel-3); color: var(--txt-2); box-shadow: none; cursor: not-allowed; transform: none; }
.bd-claim:disabled::after { display: none; }
.bd-cd { text-align: center; font-size: 11.5px; color: var(--txt-2); margin-top: 9px; }
.bd-cd b { color: var(--gold); font-family: var(--mono); }

/* benefits 2×2 */
.bene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: none; }
.bene {
    display: flex; align-items: center; gap: 11px;
    padding: 14px 15px; border-radius: var(--r-md);
    background: var(--panel); border: 1px solid var(--line);
    transition: all .22s;
    animation: cardIn .5s both; animation-delay: calc(var(--i, 0) * 60ms);
}
.bene:hover { border-color: var(--line-acc); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.bene .bn-ico {
    width: 36px; height: 36px; flex: none; border-radius: 11px;
    display: grid; place-items: center;
    background: rgba(var(--acc2-rgb), .15); border: 1px solid rgba(var(--acc2-rgb), .35);
    color: var(--acc-soft2);
}
.bene .bn-ico svg { width: 17px; height: 17px; }
.bene .bn-name { font-size: 12.5px; font-weight: 800; }
.bene .bn-sub { font-size: 10.5px; color: var(--txt-2); margin-top: 2px; }

/* pills / badges */
.pill {
    display: inline-flex; align-items: center;
    padding: 6px 13px; border-radius: 999px;
    background: #fff; color: #1a1430;
    font-size: 11px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.pill.teal { background: var(--grad-cta); color: #fff; box-shadow: 0 6px 18px var(--glow-acc); }
.pill.mag  { background: var(--mag); color: #fff; box-shadow: 0 6px 18px rgba(255, 79, 154, .45); }
.pill.vio  { background: var(--grad-cta); color: #fff; box-shadow: 0 6px 18px var(--glow-acc); }

.pbadge {
    font-size: 9.5px; font-weight: 900; letter-spacing: 1.3px;
    padding: 5px 11px; border-radius: 999px; text-transform: uppercase;
}
.pbadge.hot      { background: linear-gradient(135deg, #ff8a5c, #ff4f6e); color: #fff; box-shadow: 0 4px 16px rgba(255, 84, 112, .5); animation: pctPulse 2s ease-in-out infinite; }
.pbadge.new      { background: linear-gradient(135deg, #34d399, #10b981); color: #04382a; box-shadow: 0 4px 16px rgba(62, 207, 142, .45); }
.pbadge.limited  { background: var(--grad-cta); color: #fff; box-shadow: 0 4px 16px var(--glow-acc); }
.pbadge.featured { background: #fff; color: #1a1430; box-shadow: 0 4px 16px rgba(255, 255, 255, .25); }
.pbadge.off      { background: var(--mag); color: #fff; box-shadow: 0 4px 16px rgba(255, 79, 154, .5); animation: pctPulse 2.2s ease-in-out infinite; }
@keyframes pctPulse { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.08) } }

.card-stock {
    position: absolute; z-index: 3; top: 12px; right: 12px;
    font-size: 9.5px; font-weight: 800; letter-spacing: .8px;
    padding: 5px 10px; border-radius: 999px;
    background: rgba(10, 10, 22, .72); border: 1px solid var(--line-2); color: var(--txt-1);
}
.card-stock.out { background: rgba(255, 92, 108, .2); border-color: rgba(255, 92, 108, .55); color: #ffb9c1; }

/* ── Featured strip ─────────────────────────────────────────────────── */
.strip-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex: none; }
.strip-head .sh-crown {
    width: 32px; height: 32px; flex: none; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--grad-cta); color: #fff;
    box-shadow: 0 6px 18px var(--glow-acc);
}
.strip-head .sh-crown svg { width: 16px; height: 16px; }
.strip-head .sh-title { font-size: 18px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.strip-tabs { display: flex; gap: 7px; margin-left: 10px; }
.strip-tab {
    padding: 8px 17px; border-radius: 999px; border: 1px solid var(--line-2);
    background: transparent; color: var(--txt-1);
    font-size: 11.5px; font-weight: 800;
    transition: all .2s;
}
.strip-tab:hover { color: #fff; border-color: var(--line-acc); }
.strip-tab.active {
    background: var(--panel-3); color: #fff; border-color: var(--line-acc);
    box-shadow: 0 6px 18px rgba(var(--acc2-rgb), .25);
}
.strip-hint { margin-left: auto; }
.view-all {
    margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none; color: var(--acc-soft2);
    font-size: 11.5px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase;
    transition: color .2s, gap .25s;
}
.view-all svg { width: 13px; height: 13px; }
.view-all:hover { color: #fff; gap: 10px; }

.strip {
    flex: 1; min-height: 0; display: flex; gap: 15px;
    overflow-x: auto; overflow-y: hidden; padding: 2px 2px 8px;
    scroll-behavior: smooth;
}
.strip::-webkit-scrollbar { height: 7px; }
.strip::-webkit-scrollbar-thumb { background: rgba(var(--acc2-rgb), .3); border-radius: 8px; }

.fcard {
    flex: 1 0 250px; max-width: 500px; min-height: 0; cursor: pointer;
    display: flex; flex-direction: column;
    padding: 14px 16px 15px; border-radius: 20px;
    background: var(--panel); border: 1px solid var(--line-2);
    position: relative; overflow: hidden;
    transition: transform .25s cubic-bezier(.2, .9, .3, 1.15), border-color .25s, box-shadow .25s;
    animation: cardIn .5s both; animation-delay: calc(var(--i, 0) * 55ms);
}
.fcard::before {
    content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none;
    background:
        radial-gradient(62% 48% at 50% 34%, rgba(var(--acc-rgb), .18), transparent 70%),
        radial-gradient(30% 24% at 50% 34%, rgba(var(--accsoft-rgb), .09), transparent 72%),
        linear-gradient(118deg, transparent 36%, rgba(var(--accsoft-rgb), .05) 46%, transparent 55%);
}
.fcard:hover { transform: translateY(-5px); border-color: var(--line-acc); box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 26px rgba(var(--acc2-rgb), .12); }
.fcard .f-badges { position: absolute; z-index: 3; top: 13px; left: 14px; display: flex; gap: 5px; }
.fcard .f-media { flex: 1; min-height: 0; display: grid; place-items: center; padding: 10px 0 18px; position: relative; z-index: 1; }
.fcard .f-media::after {
    content: ''; position: absolute; left: 50%; bottom: 4px;
    width: 54%; height: 11px; transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(6, 4, 14, .55), rgba(var(--acc2-rgb), .16) 60%, transparent 75%);
    filter: blur(3px); pointer-events: none;
}
.fcard .f-media img {
    max-width: 86%; max-height: 100%; object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .5));
    transform: translateY(var(--ty, 0)) scale(var(--z, 1));
    transition: transform .4s ease;
}
.fcard:hover .f-media img { transform: translateY(calc(var(--ty, 0) - 3px)) scale(calc(var(--z, 1) * 1.05)); }
.fcard .f-name { font-size: 14.5px; font-weight: 800; margin-top: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: none; position: relative; z-index: 1; }
.fcard .f-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; flex: none; position: relative; z-index: 1; }
.fcard .f-price { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 900; }
.fcard .f-price .f-old {
    font-size: 11.5px; color: rgba(255, 255, 255, .45); font-weight: 700; margin-right: 2px;
    text-decoration: line-through; text-decoration-color: rgba(255, 90, 110, .95); text-decoration-thickness: 2px;
}
.fcard .f-buy {
    width: 38px; height: 38px; border-radius: 12px; border: none;
    display: grid; place-items: center;
    background: var(--grad-cta); color: #fff;
    box-shadow: 0 6px 16px var(--glow-acc);
    transition: transform .18s, box-shadow .18s;
}
.fcard .f-buy svg { width: 16px; height: 16px; }
.fcard .f-buy:hover { transform: scale(1.12); box-shadow: 0 10px 24px rgba(var(--acc2-rgb), .6); }

/* coin glyph (price rows) */
.cg {
    width: 20px; height: 20px; object-fit: contain; display: inline-block; flex: none;
    filter: drop-shadow(0 0 7px rgba(255, 198, 84, .45));
}
.price-new { font-size: 20px; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 7px; }
.price-old {
    font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .45);
    text-decoration: line-through; text-decoration-color: rgba(255, 90, 110, .95);
    text-decoration-thickness: 2px;
}

/* ════════════════════════════════════════════════════════════════════════
   STORE
   ════════════════════════════════════════════════════════════════════════ */
.store-hero {
    position: relative; overflow: hidden;
    border-radius: var(--r-lg); border: 1px solid var(--line-2);
    background:
        radial-gradient(90% 160% at 100% 50%, rgba(var(--acc2-rgb), .18), transparent 55%),
        var(--panel);
    min-height: 124px; padding: 24px 32px;
    display: flex; flex-direction: column; justify-content: center;
    margin-bottom: 20px;
    animation: cardIn .5s both;
}
.store-hero .sh-kicker { font-size: 10px; font-weight: 900; letter-spacing: 2.6px; text-transform: uppercase; color: var(--acc-soft2); }
.store-hero .sh-name { font-size: clamp(26px, 2.4vw, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: -.3px; margin-top: 4px; }
.store-hero .sh-meta { font-size: 12.5px; color: var(--txt-1); margin-top: 6px; font-weight: 600; }
.store-hero .sh-art {
    position: absolute; right: 18px; bottom: 6px; top: auto;
    height: 84%; max-width: 30%;
    object-fit: contain; object-position: bottom right;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .5));
    pointer-events: none;
}
/* scene/banner art: SMALLER, fully visible, sitting low — the old 210% crop
   band blew past the banner and swallowed the title on every category */
.store-hero .sh-art.crop {
    height: 88%; border-radius: 14px;
    -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 30%);
    mask-image: linear-gradient(100deg, transparent 0%, #000 30%);
}
/* 3D icon art (cases page): a touch smaller with room to breathe */
.store-hero .sh-art.ico { height: 72%; right: 36px; bottom: 12px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 16px; }
/* match the HOME featured-card scale: wide cards, tall media, art bottom-
   anchored onto the pedestal like a showroom piece (no dead air below) */
.grid.size-xl { grid-template-columns: repeat(auto-fit, minmax(340px, 500px)); justify-content: center; gap: 20px; }
.grid.size-xl .card-media { height: 356px; padding: 16px 16px 30px; align-items: flex-end; }
.grid.size-xl .card-media img { max-width: 90%; margin-bottom: 2px; }
.grid.size-xl .card-name { font-size: 18px; }
.grid.size-xl .card-desc { font-size: 13px; }
.grid.size-xl .price-new { font-size: 22px; }
.grid.size-xl .btn-buy { padding: 13px 22px; font-size: 13px; }
.grid.size-lg { grid-template-columns: repeat(auto-fit, minmax(300px, 430px)); justify-content: center; gap: 18px; }
.grid.size-lg .card-media { height: 292px; padding: 14px 14px 28px; align-items: flex-end; }
.grid.size-lg .card-media img { max-width: 88%; margin-bottom: 2px; }
.grid.size-lg .card-name { font-size: 17px; }

.card {
    position: relative; overflow: hidden;
    border-radius: 20px;
    background: var(--panel);
    border: 1px solid var(--line-2);
    display: flex; flex-direction: column;
    transition: transform .28s cubic-bezier(.2, .9, .3, 1.15), border-color .28s, box-shadow .28s;
    animation: cardIn .5s cubic-bezier(.2, .8, .3, 1) both;
    animation-delay: calc(var(--i, 0) * 45ms);
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--line-acc);
    box-shadow: 0 24px 54px rgba(0, 0, 0, .5), 0 0 30px rgba(var(--acc2-rgb), .13);
}
.card::before {
    content: ''; position: absolute; z-index: 2; top: 0; left: -90%; width: 50%; height: 100%;
    transform: skewX(-18deg);
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .06), transparent);
    transition: left .65s ease; pointer-events: none;
}
.card:hover::before { left: 145%; }

.card-media {
    position: relative; height: 182px; overflow: hidden;
    /* breathing room all around, extra at the bottom: the art must FLOAT,
       never sit flush against the title block (bags/cars have canvas-edge
       artwork that otherwise reads as "cut off") */
    padding: 14px 16px 32px;
    /* violet bloom behind the product, brightening toward the centre */
    background:
        radial-gradient(56% 60% at 50% 42%, rgba(var(--acc-rgb), .24), transparent 70%),
        radial-gradient(28% 32% at 48% 44%, rgba(var(--accsoft-rgb), .11), transparent 72%),
        radial-gradient(100% 70% at 50% 100%, rgba(var(--acc2-rgb), .14), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 60%);
    display: flex; align-items: center; justify-content: center;
}
/* a soft light band raking across the product art */
.card-media::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(118deg, transparent 38%, rgba(var(--accsoft-rgb), .07) 47%, transparent 56%);
}
/* floor shadow — grounds the floating render like a showroom pedestal */
.card-media::before {
    content: ''; position: absolute; left: 50%; bottom: 13px;
    width: 58%; height: 15px; transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(6, 4, 14, .6), rgba(var(--acc2-rgb), .18) 60%, transparent 75%);
    filter: blur(3px); pointer-events: none;
}
.card-media img {
    max-width: 84%; max-height: 100%; width: auto; height: auto;
    object-fit: contain; position: relative; z-index: 1;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .5));
    /* --ty/--z are measured per-image by autoFitCards() */
    transform: translateY(var(--ty, 0)) scale(var(--z, 1));
    transform-origin: center bottom;
    transition: transform .45s ease;
}
.card:hover .card-media img { transform: translateY(calc(var(--ty, 0) - 4px)) scale(calc(var(--z, 1) * 1.04)); }
/* hairline divider gives the body its own clean shelf */
.card-body { position: relative; }
.card-body::before {
    content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accsoft-rgb), .16), transparent);
}
.card-media .ph-ico { color: rgba(var(--acc-rgb), .5); transition: transform .35s; }
.card-media .ph-ico svg { width: 58px; height: 58px; filter: drop-shadow(0 6px 18px rgba(var(--acc2-rgb), .3)); }
.card:hover .ph-ico { transform: scale(1.15) rotate(-4deg); }

.card-badges { position: absolute; z-index: 3; top: 12px; left: 12px; display: flex; gap: 6px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name { font-size: 17px; font-weight: 900; letter-spacing: .2px; }
.card-desc { font-size: 12.5px; line-height: 1.5; color: var(--txt-1); flex: 1; min-height: 36px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.card-prices { display: flex; flex-direction: column; }

.btn-buy {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; gap: 9px;
    border: none; border-radius: 13px;
    padding: 12px 22px; font-size: 12.5px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase;
    color: #fff; background: var(--grad-cta);
    box-shadow: 0 8px 22px var(--glow-acc);
    transition: transform .18s, box-shadow .18s, filter .18s;
}
.btn-buy svg { width: 15px; height: 15px; }
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--acc2-rgb), .55); filter: brightness(1.1); }
.btn-buy:active { transform: translateY(0) scale(.96); }
.btn-buy:disabled { background: var(--panel-3); color: var(--txt-2); box-shadow: none; cursor: not-allowed; transform: none; filter: none; }

.empty-note {
    padding: 52px 20px; text-align: center; color: var(--txt-2);
    font-size: 14px; border: 1px dashed var(--line-2); border-radius: var(--r-lg);
}

/* info button + details modal */
.card-actions { display: flex; align-items: center; gap: 8px; }
.btn-info {
    width: 40px; height: 40px; flex: none; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
    color: var(--txt-1);
    transition: all .2s;
}
.btn-info svg { width: 17px; height: 17px; }
.btn-info:hover { background: rgba(var(--acc2-rgb), .18); border-color: var(--line-acc); color: var(--acc-soft2); transform: translateY(-2px); }

.pmodal { width: min(960px, 94%); padding: 0; overflow: hidden; }
.pm-x { position: absolute; top: 16px; right: 16px; z-index: 5; }
.pm-grid { display: grid; grid-template-columns: minmax(320px, 6fr) 6.5fr; min-height: 430px; }
.pm-media {
    position: relative; display: flex; align-items: center; justify-content: center;
    padding: 30px 26px 44px;
    background:
        radial-gradient(70% 60% at 50% 44%, rgba(var(--acc-rgb), .22), transparent 70%),
        linear-gradient(165deg, rgba(var(--acc2-rgb), .16), rgba(var(--acc2-rgb), .04)),
        linear-gradient(165deg, #16141f, #100f18);
    border-right: 1px solid var(--line);
}
.pm-media::before {
    content: ''; position: absolute; left: 50%; bottom: 24px;
    width: 60%; height: 16px; transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(6, 4, 14, .6), rgba(var(--acc2-rgb), .2) 60%, transparent 75%);
    filter: blur(3px);
}
.pm-glow {
    position: absolute; width: 74%; height: 64%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(var(--acc2-rgb), .34), transparent 72%);
    filter: blur(18px);
    animation: glowPulse 5s ease-in-out infinite;
}
.pm-media img {
    position: relative; z-index: 1;
    max-width: 92%; max-height: 340px; object-fit: contain;
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .55));
    transform: translateY(var(--ty, 0)) scale(var(--z, 1));
    /* fade only — cardIn ends on `transform:none` (fill both) and would
       permanently override the measured --ty/--z fit */
    animation: pmFade .45s ease both;
}
@keyframes pmFade { from { opacity: 0 } to { opacity: 1 } }
.pm-media .ph-ico { color: rgba(var(--acc-rgb), .5); }
.pm-media .ph-ico svg { width: 84px; height: 84px; }
.pm-media .card-badges { top: 16px; left: 16px; }
.pm-body { padding: 30px 30px 26px; display: flex; flex-direction: column; }
.pm-cat { font-size: 10px; font-weight: 900; letter-spacing: 2.4px; text-transform: uppercase; color: var(--acc-soft2); }
.pm-name { font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; letter-spacing: -.3px; margin-top: 8px; text-transform: uppercase; }
.pm-desc { font-size: 13.5px; line-height: 1.6; color: var(--txt-1); margin-top: 10px; }
.pm-feats { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.pm-cd { margin-top: 16px; }
.pm-stock { margin-top: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .6px; color: var(--txt-2); text-transform: uppercase; }
.pm-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    margin-top: auto; padding-top: 22px; flex-wrap: wrap;
}
.pm-foot .price-new { font-size: 26px; }
.pm-foot .cg { width: 26px; height: 26px; }

/* ════════════════════════════════════════════════════════════════════════
   REDEEM
   ════════════════════════════════════════════════════════════════════════ */
.redeem-view { display: flex; }
.rd-stage {
    display: grid; grid-template-columns: minmax(300px, 4.2fr) 8fr; gap: 18px;
    height: calc(100vh - 170px); min-height: 540px; align-items: stretch; width: 100%;
}

/* ── character stage: spotlight beam + floor pool + drifting motes ────── */
.rd-char {
    position: relative; overflow: hidden; border-radius: var(--r-lg);
    border: 1px solid transparent;
    background:
        var(--sheen) padding-box,
        radial-gradient(110% 80% at 50% 108%, rgba(var(--acc2-rgb), .32), transparent 62%) padding-box,
        linear-gradient(170deg, rgba(var(--acc2-rgb), .26), rgba(var(--acc2-rgb), .10) 60%, rgba(var(--acc2-rgb), .03)) padding-box,
        linear-gradient(170deg, #16141f, #100f1a 60%, #0b0a13) padding-box,
        var(--edge) border-box;
    box-shadow: var(--glass-in), 0 16px 44px rgba(0, 0, 0, .34);
    min-height: 440px;
    animation: cardIn .5s both;
}
/* light cone falling from the top */
.rd-char .rd-beam {
    position: absolute; top: -12%; left: 50%; width: 78%; height: 92%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(var(--accsoft-rgb), .20), rgba(var(--acc-rgb), .05) 55%, transparent 78%);
    clip-path: polygon(38% 0%, 62% 0%, 100% 100%, 0% 100%);
    filter: blur(10px);
    animation: beamBreathe 6s ease-in-out infinite;
}
@keyframes beamBreathe { 0%, 100% { opacity: .75 } 50% { opacity: 1 } }
/* pool of light the character stands in */
.rd-char .rd-glow {
    position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%);
    width: 74%; height: 26%; border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(var(--acc-rgb), .55), transparent 70%);
    filter: blur(22px);
    animation: glowPulse 5s ease-in-out infinite;
}
.rd-char .rd-motes {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(2.2px 2.2px at 24% 28%, rgba(var(--accsoft-rgb), .85), transparent 62%),
        radial-gradient(1.6px 1.6px at 72% 20%, rgba(255, 255, 255, .7), transparent 62%),
        radial-gradient(2.6px 2.6px at 82% 58%, rgba(var(--accsoft-rgb), .7), transparent 62%),
        radial-gradient(1.8px 1.8px at 16% 62%, rgba(255, 236, 208, .6), transparent 62%),
        radial-gradient(2px 2px at 56% 82%, rgba(var(--accsoft-rgb), .65), transparent 62%),
        radial-gradient(1.5px 1.5px at 40% 44%, rgba(255, 255, 255, .6), transparent 62%);
    animation: emberDrift 13s ease-in-out infinite alternate;
}
.rd-char img {
    position: absolute; bottom: 0; left: 50%;
    height: 94%; object-fit: contain; object-position: bottom;
    filter: drop-shadow(0 20px 44px rgba(0, 0, 0, .6));
    animation: charIn .75s cubic-bezier(.2, .8, .3, 1) both .1s, charFloat 7s ease-in-out infinite 1s;
}
@keyframes charIn {
    from { opacity: 0; transform: translateX(-50%) translateY(46px) }
    to   { opacity: 1; transform: translateX(-50%) translateY(0) }
}
@keyframes charFloat {
    0%, 100% { transform: translateX(-50%) translateY(0) }
    50%      { transform: translateX(-50%) translateY(-10px) }
}

/* ── main panel ──────────────────────────────────────────────────────── */
.rd-main {
    position: relative; overflow: hidden; border-radius: var(--r-lg);
    border: 1px solid transparent;
    background:
        var(--sheen) padding-box,
        radial-gradient(70% 90% at 88% 30%, rgba(var(--acc2-rgb), .16), transparent 62%) padding-box,
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--edge) border-box;
    box-shadow: var(--glass-in), 0 16px 44px rgba(0, 0, 0, .34);
    padding: clamp(26px, 3.2vw, 52px);
    display: flex; flex-direction: column; justify-content: center;
    animation: cardIn .5s both .08s;
}
.rd-main .rd-deco {
    position: absolute; right: -3%; bottom: 0; height: 58%; max-width: 32%;
    object-fit: contain; object-position: bottom right; opacity: .16;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .4)) saturate(.85);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
    mask-image: linear-gradient(90deg, transparent, #000 45%);
}

/* floating key emblem */
.rd-keyart {
    position: relative; width: 74px; height: 74px; margin-bottom: 20px; z-index: 2;
    display: grid; place-items: center;
    animation: keyFloat 4.5s ease-in-out infinite;
}
@keyframes keyFloat { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-7px) } }
.rd-keyring {
    position: absolute; inset: -10px; border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(var(--acc-rgb), .55), transparent 55%);
    filter: blur(9px);
    animation: auroraSpin 7s linear infinite;
}
.rd-keyhex {
    position: relative; width: 100%; height: 100%;
    display: grid; place-items: center;
    background: var(--grad-cta); color: #fff;
    clip-path: polygon(50% 0%, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
    box-shadow: 0 12px 32px var(--glow-acc);
}
.rd-keyhex svg { width: 32px; height: 32px; filter: drop-shadow(0 2px 6px rgba(60, 20, 110, .6)); }

.rd-kicker { font-size: 11px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: var(--acc-soft2); position: relative; z-index: 2; }
.rd-title {
    font-size: clamp(32px, 3vw, 50px); font-weight: 900; text-transform: uppercase;
    letter-spacing: -.5px; line-height: 1.05; margin-top: 10px; position: relative; z-index: 2;
    max-width: 70%;
}
.rd-title em { font-style: normal; background: var(--grad-cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rd-sub { font-size: 13.5px; line-height: 1.6; color: var(--txt-1); margin-top: 12px; max-width: 56%; position: relative; z-index: 2; }

/* ── the key slot ────────────────────────────────────────────────────── */
.rd-slot {
    position: relative; z-index: 2; overflow: hidden;
    display: flex; align-items: center; gap: 12px;
    margin-top: 26px; max-width: 680px;
    padding: 12px 12px 12px 18px; border-radius: 20px;
    border: 1px solid transparent;
    background:
        linear-gradient(rgba(9, 8, 20, .92), rgba(9, 8, 20, .92)) padding-box,
        var(--edge) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 14px 38px rgba(0, 0, 0, .4);
    transition: box-shadow .3s, transform .2s;
}
.rd-slot:focus-within { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 4px rgba(var(--acc2-rgb), .16), 0 18px 44px rgba(0, 0, 0, .45); }
.rd-slot-ico {
    display: grid; place-items: center; width: 34px; height: 34px; flex: none;
    color: var(--acc-soft2); transition: color .25s, transform .35s;
}
.rd-slot-ico svg { width: 20px; height: 20px; }
.redeem-input {
    flex: 1; padding: 12px 4px; border: none; background: none;
    color: #fff; font-family: var(--mono); font-size: 18px; letter-spacing: 3.5px;
    outline: none; text-transform: uppercase; min-width: 0;
}
.redeem-input::placeholder { color: var(--txt-2); letter-spacing: 1px; font-size: 13px; text-transform: none; }
.redeem-input.shake { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-7px) } 40%, 80% { transform: translateX(7px) } }

/* laser sweeping the slot while the code is validated */
.rd-scan {
    position: absolute; top: 0; bottom: 0; width: 34%; left: -40%;
    pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(var(--accsoft-rgb), .30), rgba(255, 255, 255, .12), transparent);
}
.rd-slot.is-checking .rd-scan { opacity: 1; animation: rdScan 1.1s linear infinite; }
@keyframes rdScan { from { left: -40% } to { left: 110% } }
.rd-slot.is-checking { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 3px rgba(var(--acc2-rgb), .18), 0 14px 38px rgba(0, 0, 0, .4); }
.rd-slot.is-checking .rd-slot-ico { animation: auroraSpin 1.4s linear infinite; }

.rd-slot.is-ok {
    background:
        linear-gradient(rgba(9, 20, 16, .92), rgba(9, 18, 15, .92)) padding-box,
        linear-gradient(150deg, rgba(160, 255, 214, .8), rgba(62, 207, 142, .35) 45%, rgba(62, 207, 142, .5)) border-box;
    box-shadow: 0 0 0 4px rgba(62, 207, 142, .16), 0 18px 44px rgba(0, 0, 0, .45);
    animation: okPop .5s cubic-bezier(.2, .9, .3, 1.4);
}
.rd-slot.is-ok .rd-slot-ico { color: var(--green); transform: rotate(-20deg) scale(1.15); }
@keyframes okPop { 30% { transform: scale(1.015) } }

.rd-slot.is-err {
    background:
        linear-gradient(rgba(22, 8, 14, .92), rgba(20, 7, 13, .92)) padding-box,
        linear-gradient(150deg, rgba(255, 170, 190, .8), rgba(255, 92, 108, .35) 45%, rgba(255, 92, 108, .5)) border-box;
    box-shadow: 0 0 0 4px rgba(255, 92, 108, .14), 0 18px 44px rgba(0, 0, 0, .45);
}
.rd-slot.is-err .rd-slot-ico { color: var(--red); }

/* status line under the slot */
.rd-status {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 9px;
    margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--txt-2);
    letter-spacing: .4px;
}
.rd-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--txt-2); flex: none; }
.rd-status.s-checking { color: var(--acc-soft2); }
.rd-status.s-checking i { background: var(--acc); box-shadow: 0 0 10px var(--acc); animation: dotPulse 1s ease-in-out infinite; }
.rd-status.s-ok { color: var(--green); }
.rd-status.s-ok i { background: var(--green); box-shadow: 0 0 10px var(--green); }
.rd-status.s-err { color: #ffb9c1; }
.rd-status.s-err i { background: var(--red); box-shadow: 0 0 10px var(--red); }

/* trust chips */
.rd-chips { position: relative; z-index: 2; display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.rd-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
    font-size: 11.5px; font-weight: 700; color: var(--txt-1);
}
.rd-chip svg { width: 14px; height: 14px; color: var(--acc-soft2); }

/* ── how it works ────────────────────────────────────────────────────── */
/* sits right under the chips — no margin-top:auto, that left a hole in the
   middle of a tall panel because the block above is vertically centred */
.rd-how { position: relative; z-index: 2; margin-top: 44px; }
.rd-how-t { font-size: 10.5px; font-weight: 900; letter-spacing: 2.4px; text-transform: uppercase; color: var(--txt-2); margin-bottom: 14px; }
.rd-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 900px; }
.rd-step {
    position: relative; display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 16px;
    border: 1px solid transparent;
    background:
        var(--sheen) padding-box,
        linear-gradient(var(--panel-2), var(--panel-2)) padding-box,
        var(--edge-soft) border-box;
    animation: cardIn .5s both; animation-delay: calc(.2s + var(--i) * .09s);
    transition: transform .22s, border-color .22s;
}
.rd-step:hover { transform: translateY(-3px); }
.rd-step-n {
    position: absolute; top: -8px; left: 14px;
    min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
    display: grid; place-items: center;
    background: var(--grad-cta); color: #fff;
    font-size: 10px; font-weight: 900;
    box-shadow: 0 4px 12px var(--glow-acc);
}
.rd-step-ico {
    width: 38px; height: 38px; flex: none; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(var(--acc2-rgb), .14); border: 1px solid rgba(var(--acc2-rgb), .3);
    color: var(--acc-soft2);
}
.rd-step-ico svg { width: 18px; height: 18px; }
.rd-step-txt { min-width: 0; }
.rd-step-txt b { display: block; font-size: 12.5px; font-weight: 800; }
.rd-step-txt span { display: block; font-size: 11px; color: var(--txt-2); margin-top: 3px; line-height: 1.4; }

.btn-redeem {
    padding: 15px 30px; border: none; border-radius: 15px; flex: none;
    font-size: 13.5px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
    color: #fff; background: var(--grad-cta);
    box-shadow: 0 10px 30px var(--glow-acc);
    transition: transform .18s, box-shadow .18s;
}
.btn-redeem:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(var(--acc2-rgb), .55); }
.btn-redeem:disabled { opacity: .55; cursor: wait; transform: none; }

/* ════════════════════════════════════════════════════════════════════════
   REWARDS VIEW
   ════════════════════════════════════════════════════════════════════════ */
.rw-hero {
    position: relative; overflow: hidden; border-radius: var(--r-lg);
    border: 1px solid var(--line-acc);
    background:
        radial-gradient(100% 120% at 100% 0%, rgba(var(--acc2-rgb), .18), transparent 55%),
        var(--panel);
    padding: clamp(28px, 3vw, 46px);
    animation: cardIn .5s both;
}
.rw-hero .rw-art {
    position: absolute; right: 5%; top: 50%; transform: translateY(-50%); height: 62%; max-width: 26%;
    object-fit: contain;
    filter: drop-shadow(0 16px 36px rgba(255, 170, 60, .35));
    pointer-events: none;
    animation: rwArtBob 5s ease-in-out infinite;
}
/* keeps the -50% vertical centering while bobbing (transform-only, GPU) */
@keyframes rwArtBob {
    0%, 100% { transform: translateY(-50%) rotate(-2deg); }
    50%      { transform: translateY(calc(-50% - 10px)) rotate(2deg); }
}
.rw-title { font-size: clamp(30px, 2.8vw, 44px); font-weight: 900; text-transform: uppercase; letter-spacing: -.4px; position: relative; z-index: 2; }
.rw-sub { font-size: 14px; color: var(--txt-1); margin-top: 10px; max-width: 50%; line-height: 1.6; position: relative; z-index: 2; }
/* ── rewards stat panels (replaces the old text streak chip) ─────────── */
.rw-stats {
    position: relative; z-index: 2; margin-top: 26px;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px; max-width: 900px;
}
.rw-stat {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px; border-radius: 18px;
    border: 1px solid transparent;
    background:
        var(--sheen) padding-box,
        linear-gradient(var(--panel-2), var(--panel-2)) padding-box,
        var(--edge-soft) border-box;
    box-shadow: var(--glass-in), 0 12px 30px rgba(0, 0, 0, .3);
    animation: cardIn .5s both; animation-delay: calc(var(--i) * .08s);
    transition: transform .22s;
}
.rw-stat:hover { transform: translateY(-3px); }
.rw-stat-txt { min-width: 0; }
.rw-stat-txt b { display: block; font-size: 26px; font-weight: 900; line-height: 1; color: #fff; }
.rw-stat-txt b.rw-stat-sm { font-size: 14px; letter-spacing: .3px; }
.rw-stat-txt b i { font-style: normal; font-size: 15px; color: var(--txt-2); }
.rw-stat-txt > span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--txt-2); margin-top: 6px; }
.rw-stat-ico {
    width: 46px; height: 46px; flex: none; border-radius: 14px;
    display: grid; place-items: center;
    background: rgba(var(--acc2-rgb), .14); border: 1px solid rgba(var(--acc2-rgb), .3);
    color: var(--acc-soft2);
}
.rw-stat-ico svg { width: 21px; height: 21px; }
.rw-stat-ico img { width: 26px; height: 26px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255, 198, 84, .5)); }

/* streak ring: conic progress through the current cycle */
.rw-ring {
    width: 52px; height: 52px; flex: none; border-radius: 50%;
    display: grid; place-items: center;
    background: conic-gradient(#ff9a4d 0deg, #ffc654 var(--deg, 0deg), rgba(255, 255, 255, .07) var(--deg, 0deg) 360deg);
    box-shadow: 0 0 18px rgba(255, 154, 77, .28);
}
.rw-ring-in {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--panel-2); color: #ff9a4d;
}
.rw-ring-in svg { width: 18px; height: 18px; animation: flameFlick .9s ease-in-out infinite alternate; }
.s-streak .rw-stat-txt b { color: var(--gold); }

.rw-stat.is-ready { border-color: transparent; }
.rw-stat.is-ready .rw-stat-ico {
    background: linear-gradient(150deg, #4ee2a4, #10b981); border-color: transparent; color: #04382a;
    /* glow-only pulse — dotPulse scales 1.5x and made this tile balloon */
    animation: readyGlow 2s ease-in-out infinite;
}
@keyframes readyGlow {
    0%, 100% { box-shadow: 0 8px 22px rgba(16, 185, 129, .35), 0 0 0 0 rgba(78, 226, 164, .30); }
    50%      { box-shadow: 0 8px 26px rgba(16, 185, 129, .5), 0 0 0 7px rgba(78, 226, 164, 0); }
}
.rw-stat.is-ready .rw-stat-txt b { color: var(--green); }

.rw-cycle .rw-cycle-bar {
    display: block; width: 100%; height: 5px; border-radius: 4px; margin-top: 9px;
    background: rgba(255, 255, 255, .07); overflow: hidden;
}
.rw-cycle .rw-cycle-bar i {
    display: block; height: 100%; border-radius: 4px;
    background: var(--grad-cta); box-shadow: 0 0 10px rgba(var(--acc-rgb), .7);
    transition: width .6s cubic-bezier(.2, .8, .3, 1);
}

/* Daily-rewards path: connected medallion steps (fully custom, no stock UI) */
.rw-path { position: relative; margin-top: 34px; padding: 4px 6px 0; }
.rw-line {
    position: absolute; left: calc(100% / 14); right: calc(100% / 14); top: 62px;
    height: 6px; border-radius: 4px;
    background: rgba(255, 255, 255, .06); overflow: hidden;
}
.rw-line span {
    display: block; height: 100%; border-radius: 4px;
    background: var(--grad-cta);
    box-shadow: 0 0 16px rgba(var(--acc-rgb), .8);
    transition: width .7s cubic-bezier(.2, .8, .3, 1);
}
.rw-steps { position: relative; display: grid; grid-template-columns: repeat(var(--cols, 7), 1fr); gap: 12px; }
.rw-step {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    animation: cardIn .5s both; animation-delay: calc(var(--i) * 70ms);
}
.rw-medal {
    position: relative; width: 118px; height: 118px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--edge) border-box;
    transition: transform .25s;
}
.rw-medal img { width: 64px; height: 64px; object-fit: contain; position: relative; z-index: 1; filter: drop-shadow(0 6px 16px rgba(255, 170, 60, .4)); }
.rw-medal-glow {
    position: absolute; inset: 12%; border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 170, 60, .3), transparent 70%);
    filter: blur(7px);
}
.rw-badge {
    position: absolute; z-index: 2; right: 4px; bottom: 4px;
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    border: 2px solid #101223;
}
.rw-badge svg { width: 14px; height: 14px; }
.rw-badge.ok { background: linear-gradient(135deg, #34d399, #10b981); color: #04382a; }
.rw-badge.lk { background: var(--panel-3); color: var(--txt-2); }
.rw-amt { font-size: 18px; font-weight: 900; }
.rw-dl { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--txt-2); font-weight: 800; }
.rw-step.claimed .rw-medal img { filter: grayscale(.55) brightness(.85); }
.rw-step.claimed .rw-medal-glow { opacity: .22; }
.rw-step.claimed .rw-amt { color: var(--txt-2); }
.rw-step.future .rw-medal img { filter: grayscale(.85) brightness(.6); }
.rw-step.future .rw-medal-glow { opacity: 0; }
.rw-step.future .rw-amt { color: var(--txt-1); }
.rw-step.current .rw-medal {
    transform: scale(1.12);
    background:
        linear-gradient(var(--panel), var(--panel)) padding-box,
        linear-gradient(135deg, #ffcf70, #f0a828 45%, var(--cta-3)) border-box;
    animation: medalPulse 2.2s ease-in-out infinite;
}
.rw-step.current .rw-medal img { animation: coinBreathe 3.2s ease-in-out infinite; }
.rw-step.current .rw-amt { color: var(--gold); }
@keyframes medalPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255, 198, 84, .1), 0 14px 40px rgba(255, 170, 60, .2); }
    50%      { box-shadow: 0 0 0 8px rgba(255, 198, 84, .18), 0 16px 48px rgba(255, 170, 60, .4); }
}
.streak-chip .flame svg { width: 15px; height: 15px; display: block; color: #ff9a4d; }

.claim-row { text-align: center; margin-top: 30px; }
.btn-claim {
    padding: 18px 52px; border: none; border-radius: 16px;
    font-size: 15px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
    color: #fff; background: var(--grad-cta);
    box-shadow: 0 12px 36px var(--glow-acc);
    transition: transform .18s, box-shadow .18s;
    animation: claimGlow 2s ease-in-out infinite;
}
@keyframes claimGlow { 0%, 100% { box-shadow: 0 12px 36px rgba(var(--acc2-rgb), .35) } 50% { box-shadow: 0 12px 52px rgba(var(--acc-rgb), .6) } }
.btn-claim:hover { transform: translateY(-3px) scale(1.03); }
.btn-claim:disabled { background: var(--panel-3); color: var(--txt-2); box-shadow: none; animation: none; cursor: not-allowed; transform: none; }
.claim-cd { margin-top: 14px; font-size: 13px; color: var(--txt-2); }
.claim-cd b { color: var(--gold); font-family: var(--mono); }

/* ════════════════════════════════════════════════════════════════════════
   ADMIN
   ════════════════════════════════════════════════════════════════════════ */
.adm-tabs { display: flex; gap: 9px; margin: 18px 0 22px; flex-wrap: wrap; }
.adm-tab {
    padding: 11px 22px; border-radius: 999px; border: 1px solid var(--line-2);
    background: transparent; color: var(--txt-1);
    font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    transition: all .2s;
}
.adm-tab:hover { color: #fff; border-color: var(--line-acc); }
.adm-tab.active { background: var(--grad-cta); color: #fff; border-color: transparent; box-shadow: 0 8px 22px var(--glow-acc); }

.adm-toolbar { display: flex; align-items: center; gap: 12px; row-gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.adm-toolbar .spacer { flex: 1; }
.adm-toolbar .field { flex: none; }
.adm-toolbar .search-wrap { background: rgba(9, 9, 20, .75); }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border-radius: 13px; border: 1px solid var(--line-2);
    background: var(--panel-2); color: var(--txt-0);
    font-size: 13px; font-weight: 800;
    transition: all .2s;
}
.btn svg { width: 15px; height: 15px; }
.btn:hover { border-color: var(--line-acc); transform: translateY(-1px); }
.btn.primary { background: var(--grad-cta); color: #fff; border-color: transparent; box-shadow: 0 8px 22px var(--glow-acc); }
.btn.primary:hover { box-shadow: 0 12px 30px rgba(var(--acc2-rgb), .5); }
.btn.violet { background: var(--grad-cta); color: #fff; border-color: transparent; }
.btn.danger { color: #ffb9c1; border-color: rgba(255, 92, 108, .45); background: transparent; }
.btn.danger:hover { background: rgba(255, 92, 108, .15); border-color: var(--red); }
.btn.ghost { background: transparent; }
.btn.small { padding: 8px 14px; font-size: 12px; border-radius: 11px; }

.adm-list { display: flex; flex-direction: column; gap: 10px; }
.adm-row {
    display: flex; align-items: center; gap: 15px;
    padding: 14px 18px; border-radius: var(--r-md);
    background: var(--panel);
    border: 1px solid var(--line);
    transition: border-color .2s, transform .2s;
    animation: cardIn .4s both; animation-delay: calc(var(--i, 0) * 30ms);
}
.adm-row:hover { border-color: var(--line-acc); transform: translateX(3px); }
.adm-row .ar-thumb {
    width: 64px; height: 48px; border-radius: 10px; flex: none; overflow: hidden;
    background: rgba(9, 9, 20, .6); border: 1px solid var(--line);
    display: grid; place-items: center; color: rgba(var(--acc-rgb), .6);
    /* breathing room: art that touched the edges got its corners shaved off
       by the rounded overflow clip ("ligeiramente cortadas") */
    padding: 5px;
}
.adm-row .ar-thumb img { width: 100%; height: 100%; object-fit: contain; }
.adm-row .ar-thumb svg { width: 24px; height: 24px; }
.adm-row .ar-main { flex: 1; min-width: 0; }
.adm-row .ar-name { font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-row .ar-name .mono { font-family: var(--mono); letter-spacing: 1.5px; color: var(--acc-soft2); }
.adm-row .ar-meta { font-size: 11.5px; color: var(--txt-2); margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }
.adm-row .ar-meta b { color: var(--txt-1); }
.adm-row .ar-price { font-size: 16px; font-weight: 900; color: #fff; white-space: nowrap; }
.adm-row .ar-actions { display: flex; gap: 7px; flex: none; align-items: center; }
.adm-row.disabled-row { opacity: .5; }

.tag {
    font-size: 9px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
    padding: 3px 9px; border-radius: 999px;
}
.tag.on   { background: rgba(62, 207, 142, .15); color: var(--green); border: 1px solid rgba(62, 207, 142, .4); }
.tag.off  { background: rgba(255, 92, 108, .13); color: #ffb9c1; border: 1px solid rgba(255, 92, 108, .4); }
.tag.gold { background: rgba(var(--acc2-rgb), .15); color: var(--acc-soft2); border: 1px solid rgba(var(--acc2-rgb), .4); }

/* ── Forms ──────────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--txt-2); }
.field .hint { font-size: 10.5px; color: var(--txt-2); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input[type=text], .field input[type=number], .field select, .field textarea {
    padding: 12px 14px; border-radius: 12px;
    background: rgba(9, 9, 20, .75); border: 1px solid var(--line-2);
    color: var(--txt-0); font-size: 13.5px; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
/* no native resize grip, no scrollbar corner — the "HTML corner" is banned */
.field textarea { resize: none; min-height: 66px; scrollbar-width: thin; }
.field textarea::-webkit-resizer { display: none; }
.field textarea::-webkit-scrollbar { width: 8px; }
.field textarea::-webkit-scrollbar-corner { background: transparent; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--line-acc); box-shadow: 0 0 0 3px rgba(var(--acc2-rgb), .13);
}
.field select {
    appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23a7a9c4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center; background-size: 15px;
    padding-right: 38px;
}
.field select option { background: var(--panel-2); color: var(--txt-0); }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(9, 9, 20, .75); border: 1px solid var(--line-2); }
.switch-row span { font-size: 13px; font-weight: 600; color: var(--txt-1); }
.switch { position: relative; width: 44px; height: 24px; flex: none; cursor: pointer; }
.switch input { display: none; }
.switch .track { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); transition: all .25s; }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--txt-2); transition: all .25s cubic-bezier(.3, 1.4, .4, 1); }
.switch input:checked + .track { background: rgba(var(--acc2-rgb), .3); border-color: var(--line-acc); }
.switch input:checked + .track + .thumb { left: 23px; background: var(--acc-soft2); box-shadow: 0 0 12px rgba(var(--acc-rgb), .6); }

.icon-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-opt {
    width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
    background: rgba(9, 9, 20, .75); border: 1px solid var(--line-2); color: var(--txt-1);
    transition: all .18s;
}
.icon-opt svg { width: 20px; height: 20px; }
.icon-opt:hover { border-color: var(--line-acc); color: var(--acc-soft2); }
.icon-opt.sel { background: var(--grad-cta); color: #fff; border-color: transparent; box-shadow: 0 6px 18px var(--glow-acc); }

/* ════════════════════════════════════════════════════════════════════════
   MODALS
   ════════════════════════════════════════════════════════════════════════ */
.modal-layer {
    position: absolute; inset: 0; z-index: 40;
    display: grid; place-items: center;
    background: rgba(6, 6, 14, .8);
    animation: dimIn .22s ease both;
}
.modal {
    width: min(700px, 92%); max-height: 86vh; overflow-y: auto;
    padding: 28px 28px 24px; border-radius: 24px;
    background: linear-gradient(165deg, #1e1f38, #14152a);
    border: 1px solid var(--line-2);
    box-shadow: 0 44px 110px rgba(0, 0, 0, .7), 0 0 0 1px rgba(var(--acc2-rgb), .12);
    animation: modalIn .32s cubic-bezier(.2, .9, .3, 1.2) both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.94) } to { opacity: 1; transform: none } }
.modal.small { width: min(480px, 92%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-title { font-size: 19px; font-weight: 900; letter-spacing: .3px; }
.modal-x { width: 34px; height: 34px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--txt-1); font-size: 15px; transition: all .2s; }
.modal-x:hover { background: var(--red); color: #fff; border-color: var(--red); }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }

.confirm-body { text-align: center; padding: 10px 6px 4px; }
.confirm-ico {
    width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 20px;
    display: grid; place-items: center;
    background: rgba(var(--acc2-rgb), .14); border: 1px solid rgba(var(--acc2-rgb), .4); color: var(--acc-soft2);
}
.confirm-ico svg { width: 30px; height: 30px; }
.confirm-ico.danger { background: rgba(255, 92, 108, .12); border-color: rgba(255, 92, 108, .45); color: var(--red); }
.confirm-text { font-size: 15px; line-height: 1.6; color: var(--txt-1); }
.confirm-text b { color: #fff; }

/* ════════════════════════════════════════════════════════════════════════
   TOASTS + COIN BURST
   ════════════════════════════════════════════════════════════════════════ */
/* Centre-screen notifications. backdrop-filter is banned in CEF, so the
   "blurred backdrop" is a blurred dark radial scrim painted BEHIND the card. */
.toasts {
    position: absolute; z-index: 60; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px; pointer-events: none;
}
.toast {
    position: relative; isolation: isolate;
    display: flex; align-items: center; gap: 16px;
    min-width: 380px; max-width: 560px;
    padding: 18px 26px 18px 20px; border-radius: 20px;
    border: 1px solid transparent;
    background:
        var(--sheen) padding-box,
        linear-gradient(160deg, rgba(var(--acc2-rgb), .22), rgba(var(--acc2-rgb), .06)) padding-box,
        linear-gradient(160deg, #171724, #11111c) padding-box,
        var(--edge) border-box;
    box-shadow: var(--glass-in), 0 26px 70px rgba(0, 0, 0, .6);
    animation: toastIn .42s cubic-bezier(.2, .9, .3, 1.25) both;
    overflow: hidden;
}
.toast.out { animation: toastOut .3s ease both; }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(22px) scale(.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.94); } }

/* the soft dark halo that lifts the card off the UI behind it */
.toast .t-scrim {
    position: absolute; z-index: -1; inset: -70px -110px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(6, 5, 14, .82), rgba(6, 5, 14, .42) 52%, transparent 76%);
    filter: blur(14px);
    pointer-events: none;
}
/* colour bloom that reads as the notification's mood */
.toast .t-ring {
    position: absolute; z-index: -1; left: -40px; top: 50%; transform: translateY(-50%);
    width: 190px; height: 190px; border-radius: 50%;
    filter: blur(34px); opacity: .55;
}
.toast .t-ico {
    width: 46px; height: 46px; flex: none; border-radius: 15px;
    display: grid; place-items: center; color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
    animation: toastIco .5s cubic-bezier(.2, .9, .3, 1.6) both .1s;
}
.toast .t-ico svg { width: 22px; height: 22px; }
@keyframes toastIco { from { transform: scale(.4) rotate(-25deg); opacity: 0 } to { transform: none; opacity: 1 } }
.toast .t-txt { min-width: 0; }
.toast .t-txt b {
    display: block; font-size: 11px; font-weight: 900;
    letter-spacing: 2.2px; text-transform: uppercase;
}
.toast .t-txt span { display: block; font-size: 14.5px; font-weight: 600; color: #fff; margin-top: 5px; line-height: 1.4; }
/* drain bar = how long it stays */
.toast .t-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .07); }
.toast .t-bar i { display: block; height: 100%; width: 100%; transform-origin: left; animation: toastDrain linear forwards; }
@keyframes toastDrain { from { transform: scaleX(1) } to { transform: scaleX(0) } }

.toast.success .t-ico { background: linear-gradient(150deg, #4ee2a4, #10b981); }
.toast.success .t-txt b { color: var(--green); }
.toast.success .t-ring { background: var(--green); }
.toast.success .t-bar i { background: linear-gradient(90deg, #4ee2a4, #10b981); }

.toast.error .t-ico { background: linear-gradient(150deg, #ff8095, #e8435f); }
.toast.error .t-txt b { color: #ffb9c1; }
.toast.error .t-ring { background: var(--red); }
.toast.error .t-bar i { background: linear-gradient(90deg, #ff8095, #e8435f); }

.toast.info .t-ico { background: var(--grad-cta); }
.toast.info .t-txt b { color: var(--acc-soft2); }
.toast.info .t-ring { background: var(--acc); }
.toast.info .t-bar i { background: var(--grad-cta); }

#burstLayer { position: absolute; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; }
.burst-coin {
    position: absolute; width: 20px; height: 20px;
    background: url('img/vipcoin.png') center / contain no-repeat;
    filter: drop-shadow(0 0 8px rgba(255, 198, 84, .6));
    animation: burstFly .9s cubic-bezier(.15, .8, .4, 1) both;
}
@keyframes burstFly {
    0%   { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(.35); opacity: 0; }
}

/* ════════════════════════════════════════════════════════════════════════
   VIEW: VIP MEMBER (subscription)
   ════════════════════════════════════════════════════════════════════════ */
.member-hero {
    display: grid; grid-template-columns: minmax(360px, 5fr) 7fr; gap: 18px;
    height: calc(100vh - 200px); min-height: 540px; align-items: stretch;
}
.mh-left {
    position: relative; overflow: hidden; border-radius: var(--r-lg);
    text-align: center; padding: clamp(26px, 3vw, 46px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    animation: cardIn .5s both;
}
.mh-hex { transform: scale(1.35); margin-bottom: 30px; }
.mh-title { font-size: clamp(28px, 2.6vw, 40px); font-weight: 900; letter-spacing: 3px; text-transform: uppercase; margin-top: 14px; }
.mh-sub { font-size: 13px; line-height: 1.65; color: var(--txt-1); margin: 12px auto 0; max-width: 320px; }
.mh-status {
    display: inline-flex; padding: 8px 20px; border-radius: 999px; margin-top: 22px;
    font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
}
.mh-status.on  { background: rgba(62, 207, 142, .13); border: 1px solid rgba(62, 207, 142, .45); color: var(--green); }
.mh-status.off { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); color: var(--txt-1); }
.mh-until { font-size: 13px; color: var(--txt-1); margin-top: 12px; font-weight: 600; }
.mh-cd { font-size: 12px; color: var(--txt-2); margin-top: 6px; }
.mh-cd b { color: var(--gold); font-family: var(--mono); }
.mh-price { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; align-items: center; }
.mh-price .cg { width: 30px; height: 30px; }
.mh-price b { font-size: 34px; font-weight: 900; }
.mh-price span { font-size: 12.5px; color: var(--txt-2); font-weight: 700; }
.mh-cta { margin-top: 24px; }

.mh-right { min-height: 0; display: flex; flex-direction: column; gap: 16px; }
.mh-daily {
    position: relative; overflow: hidden; flex: 1; min-height: 0;
    border-radius: var(--r-lg); padding: 24px 26px 22px;
    display: flex; flex-direction: column;
    animation: cardIn .5s both .08s;
}
.mh-reward {
    position: relative; flex: 1; min-height: 120px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.mh-reward-glow {
    position: absolute; width: min(60%, 380px); height: min(85%, 380px);
    background:
        radial-gradient(50% 50% at 50% 54%, rgba(255, 170, 60, .32), transparent 65%),
        radial-gradient(60% 60% at 48% 46%, rgba(var(--acc-rgb), .3), transparent 72%);
    filter: blur(12px);
    animation: coinGlow 3.2s ease-in-out infinite;
}
.mh-reward-ico { position: relative; font-size: 64px; color: var(--acc-soft2); display: grid; place-items: center; }
.mh-reward-ico svg { width: 74px; height: 74px; filter: drop-shadow(0 10px 26px rgba(var(--acc2-rgb), .5)); }
.mh-reward-ico img { width: 84px; height: 84px; filter: drop-shadow(0 10px 26px rgba(255, 170, 60, .5)); }
.mh-reward-label { position: relative; font-size: 20px; font-weight: 900; }

.mh-upcoming {
    border-radius: var(--r-lg); padding: 18px 22px; flex: none;
    animation: cardIn .5s both .14s;
}
.mu-title { font-size: 11px; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase; color: var(--txt-2); margin-bottom: 12px; }
.mu-row { display: flex; gap: 10px; flex-wrap: wrap; }
.mu-chip {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 16px; border-radius: 13px;
    background: var(--panel-2); border: 1px solid var(--line-2);
    animation: cardIn .45s both; animation-delay: calc(var(--i, 0) * 60ms);
    transition: border-color .2s, transform .2s;
}
.mu-chip:hover { border-color: var(--line-acc); transform: translateY(-2px); }
.mu-ico { display: grid; place-items: center; color: var(--acc-soft2); }
.mu-ico svg { width: 17px; height: 17px; }
.mu-ico img { width: 18px; height: 18px; }
.mu-label { font-size: 12.5px; font-weight: 700; }

/* ── Member v3: membership card + plan picker + reward track ────────── */
.member-view { display: flex; flex-direction: column; min-height: calc(100vh - 200px); }
.mb-top { display: grid; grid-template-columns: minmax(320px, 4.4fr) 8fr; gap: 18px; align-items: stretch; }

/* the membership card itself */
.mb-card {
    position: relative; overflow: hidden;
    border-radius: 24px; padding: 0 26px 24px;
    border: 1px solid transparent;
    background:
        var(--sheen) padding-box,
        radial-gradient(90% 55% at 50% 0%, rgba(255, 176, 60, .12), transparent 62%) padding-box,
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--edge) border-box;
    box-shadow: var(--glass-in), 0 18px 48px rgba(0, 0, 0, .38);
    animation: cardIn .5s both;
    display: flex; flex-direction: column;
}
.mb-card.is-active { border-color: transparent; }
.mb-card .mb-card-glow {
    position: absolute; top: -18%; left: 50%; transform: translateX(-50%);
    width: 78%; height: 46%; border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 186, 84, .34), transparent 70%);
    filter: blur(26px); pointer-events: none;
    animation: glowPulse 5s ease-in-out infinite;
}
.mb-art {
    position: relative; z-index: 1;
    width: 100%; max-height: 210px; object-fit: contain; margin: 6px auto 4px;
    filter: drop-shadow(0 14px 34px rgba(255, 170, 60, .28));
    animation: keyFloat 5.5s ease-in-out infinite;
}
.mb-card-body { position: relative; z-index: 1; }

/* circular days-remaining ring (the new way of seeing progress) */
/* registered so the conic fill can TRANSITION — bindView nudges --p 0→value */
@property --p { syntax: '<number>'; inherits: false; initial-value: 0; }
.mb-ringrow { display: flex; align-items: center; gap: 20px; }
.mb-ring {
    width: 122px; height: 122px; flex: none; border-radius: 50%;
    display: grid; place-items: center; position: relative;
    background: conic-gradient(#ffe3a1 0turn, #ffc654 calc(var(--p, 0) * .55%), #ff9a4d calc(var(--p, 0) * 1%), rgba(255, 255, 255, .07) 0);
    box-shadow: 0 0 30px rgba(255, 170, 60, .28);
    animation: ringIn .8s cubic-bezier(.2, .8, .3, 1) both;
    transition: --p 1.3s cubic-bezier(.25, .9, .3, 1);
}
.mb-ring::after {
    content: ''; position: absolute; inset: -9px; border-radius: 50%;
    border: 1px dashed rgba(255, 198, 84, .28);
    animation: ringSpin 26s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg) } }
@keyframes ringIn { from { transform: rotate(-90deg) scale(.85); opacity: 0 } to { transform: none; opacity: 1 } }
.mb-ring-in {
    width: 94px; height: 94px; border-radius: 50%;
    display: grid; place-items: center; text-align: center;
    background: var(--panel-2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.mb-ring-in b { display: block; font-size: 30px; font-weight: 900; color: #fff; line-height: 1; }
.mb-ring-in span { display: block; font-size: 8.5px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; color: var(--txt-2); margin-top: 4px; }
.mb-meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mb-tier-name { font-size: 24px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; color: var(--gold); }
.mb-mult {
    align-self: flex-start; padding: 4px 11px; border-radius: 999px;
    background: rgba(255, 198, 84, .12); border: 1px solid rgba(255, 198, 84, .35);
    font-size: 11px; font-weight: 900; color: var(--gold);
}
.mb-until, .mb-used { font-size: 11.5px; color: var(--txt-2); }

.mb-perks { margin-top: 20px; }
.mb-perks-t { font-size: 10px; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase; color: var(--txt-2); margin-bottom: 10px; }
.mb-perk { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: var(--txt-1); padding: 5px 0; }
.mb-perk svg { width: 13px; height: 13px; color: var(--green); flex: none; }

.mb-empty { text-align: center; padding: 14px 0 8px; }
.mb-empty-t {
    font-size: 19px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.6px;
    background: linear-gradient(90deg, #ffe3a1, #f0a828);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(255, 190, 70, .3));
}
.mb-empty-s { font-size: 12.5px; color: var(--txt-1); margin-top: 9px; }

/* plan picker */
.mb-plans-wrap { display: flex; flex-direction: column; min-width: 0; }
.mb-plans-head { margin-bottom: 14px; }
.mb-plans-t { display: block; font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: .4px; }
.mb-plans-s { display: block; font-size: 12.5px; color: var(--txt-2); margin-top: 6px; max-width: 560px; }
.mb-plans { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
/* ── PLAN CARDS v2 — heavy tier identity, glowing CTA ─────────────────── */
.mb-plan {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 24px 22px 22px; border-radius: 22px;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--tier-edge, var(--edge-soft)) border-box;
    box-shadow: var(--glass-in), 0 16px 40px rgba(0, 0, 0, .38);
    animation: cardIn .5s both; animation-delay: calc(var(--i) * .09s);
    transition: transform .24s, box-shadow .24s;
}
.mb-plan:hover { transform: translateY(-6px); box-shadow: var(--glass-in), 0 26px 60px rgba(0, 0, 0, .5), 0 0 40px var(--tier-glow, transparent); }
/* the middle plan is the pitch — give it the spotlight */
.mb-plan.lift { transform: scale(1.035); z-index: 1; box-shadow: var(--glass-in), 0 22px 54px rgba(0, 0, 0, .5), 0 0 44px var(--tier-glow, transparent); }
.mb-plan.lift:hover { transform: scale(1.035) translateY(-6px); }
.mb-plan::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3.5px; z-index: 2;
    background: var(--tier, var(--grad-cta));
    box-shadow: 0 2px 14px var(--tier-glow, transparent);
}
/* tier-colored aura breathing behind the content */
.pl-aura {
    position: absolute; left: 50%; top: -70px; width: 320px; height: 240px;
    transform: translateX(-50%); pointer-events: none;
    background: radial-gradient(52% 60% at 50% 30%, var(--tier-glow, transparent), transparent 72%);
    animation: plAura 4.2s ease-in-out infinite;
}
@keyframes plAura { 0%, 100% { opacity: .55 } 50% { opacity: 1 } }
.pl-sheen {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(118deg, transparent 30%, rgba(255, 255, 255, .05) 44%, transparent 58%);
}
.mb-plan.t-silver { --tier: linear-gradient(90deg, #eef2fa, #97a3c0); --tier-glow: rgba(170, 185, 216, .24); --tier-ink: #dfe6f5;
    --tier-edge: linear-gradient(160deg, rgba(222, 230, 246, .65), rgba(255, 255, 255, .08) 40%, rgba(142, 154, 181, .45));
    --tier-cta: linear-gradient(135deg, #8e9ab5, #c8d2e8 55%, #eef2fa); --tier-cta-ink: #17203a; --tier-cta-glow: rgba(170, 185, 216, .4); }
.mb-plan.t-gold { --tier: linear-gradient(90deg, #ffe3a1, #f0a828); --tier-glow: rgba(255, 190, 70, .26); --tier-ink: #ffd98a;
    --tier-edge: linear-gradient(160deg, rgba(255, 217, 138, .8), rgba(255, 255, 255, .08) 40%, rgba(240, 168, 40, .55));
    --tier-cta: linear-gradient(135deg, #f0a828, #ffc654 55%, #ffe3a1); --tier-cta-ink: #3c2a04; --tier-cta-glow: rgba(255, 190, 70, .45); }
.mb-plan.t-elite { --tier: linear-gradient(90deg, #e2b9ff, var(--acc-3)); --tier-glow: rgba(var(--acc-rgb), .3); --tier-ink: var(--acc-soft);
    --tier-edge: linear-gradient(160deg, rgba(var(--acc-rgb), .75), rgba(255, 255, 255, .08) 40%, rgba(var(--acc3-rgb), .55));
    --tier-cta: var(--grad-cta); --tier-cta-ink: #fff; --tier-cta-glow: var(--glow-acc); }
.mb-plan.t-vio  { --tier: linear-gradient(90deg, #b7aaff, var(--cta-1)); --tier-glow: rgba(var(--acc2-rgb), .25); --tier-ink: var(--acc-soft2);
    --tier-cta: var(--grad-cta); --tier-cta-ink: #fff; --tier-cta-glow: var(--glow-acc); }
.mb-plan.t-teal { --tier: linear-gradient(90deg, #7ff0d8, #14b8a6); --tier-glow: rgba(45, 212, 191, .24); --tier-ink: #99f6e4;
    --tier-cta: linear-gradient(135deg, #0d9488, #14b8a6 55%, #5eead4); --tier-cta-ink: #022c26; --tier-cta-glow: rgba(45, 212, 191, .4); }
.mb-plan.t-blue { --tier: linear-gradient(90deg, #9ec8ff, #4d9bff); --tier-glow: rgba(96, 165, 250, .24); --tier-ink: #bfdbfe;
    --tier-cta: linear-gradient(135deg, #2563eb, #4d9bff 55%, #9ec8ff); --tier-cta-ink: #071a3a; --tier-cta-glow: rgba(96, 165, 250, .4); }

/* crest badge — the tier wears its colour */
.pl-crest {
    position: relative; z-index: 1;
    width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center; margin-bottom: 12px;
    color: var(--tier-ink);
    background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
    border: 1px solid var(--line-2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 22px var(--tier-glow, transparent);
}
.pl-crest svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 8px var(--tier-glow, transparent)); }

.mb-plan-name {
    position: relative; z-index: 1;
    font-size: 21px; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase;
    background: var(--tier, none); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 16px var(--tier-glow, transparent));
}
.pl-mult {
    position: relative; z-index: 1;
    margin-top: 8px; padding: 5px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
    font-size: 10.5px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; color: var(--tier-ink);
}
.mb-plan-price { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 9px; margin-top: 18px; }
.mb-plan-price .cg { width: 26px; height: 26px; align-self: center; }
.mb-plan-price b { font-size: 36px; font-weight: 900; line-height: 1; text-shadow: 0 0 26px var(--tier-glow, transparent); }
.pl-per { font-size: 11px; color: var(--txt-2); font-weight: 700; }
.pl-div {
    position: relative; z-index: 1; align-self: stretch; height: 1px; margin: 16px 0 14px;
    background: linear-gradient(90deg, var(--tier-glow, var(--line-2)), transparent 80%);
}
.mb-plan-perks { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.mb-plan-perks span { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; color: var(--txt-1); }
.mb-plan-perks svg { width: 13px; height: 13px; color: var(--tier-ink); flex: none; }
.mb-plan-none { color: var(--txt-2); }

/* CTA: tier-coloured, glowing, with a shine sweep */
.mb-plan-btn {
    position: relative; z-index: 1; overflow: hidden;
    margin-top: auto; width: 100%; padding: 15px 16px; border: none; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: var(--tier-cta, var(--grad-cta)); color: var(--tier-cta-ink, #fff);
    font-size: 12px; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 30px var(--tier-cta-glow, var(--glow-acc));
    transition: transform .18s, box-shadow .18s, filter .18s;
}
.mb-plan-btn svg { width: 13px; height: 13px; }
.mb-plan-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 18px 42px var(--tier-cta-glow, var(--glow-acc)); }
.mb-plan-btn:active { transform: translateY(0) scale(.97); }
.mb-plan-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.pl-btn-shine {
    position: absolute; top: 0; bottom: 0; width: 46%; left: -60%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .38), transparent);
    animation: plShine 3.2s ease-in-out infinite;
}
@keyframes plShine { 0%, 55% { left: -60% } 85%, 100% { left: 130% } }

.mb-plan.is-current { padding-top: 42px; }
.mb-plan-tag {
    position: absolute; top: 0; left: 0; right: 0; z-index: 3; text-align: center;
    padding: 7px 0 6px; background: var(--tier, linear-gradient(90deg, #ffd98a, #f0a828));
    color: #241a04; font-size: 8.5px; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase;
}
.mb-plan.t-silver .mb-plan-tag { color: #1b2438; }
.mb-plan.t-elite .mb-plan-tag { color: #fff; }

/* ── claim progress bar (track header) ────────────────────────────────── */
.mh-head { align-items: center; }
.mh-prog { flex: 1; min-width: 220px; max-width: 470px; margin-left: auto; }
.mh-prog-top {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 11px; font-weight: 800; letter-spacing: .5px; color: var(--txt-1); margin-bottom: 7px;
}
.mh-prog-top b { color: var(--gold); font-size: 12.5px; text-shadow: 0 0 14px rgba(255, 198, 84, .5); }
.mh-prog-bar {
    position: relative; height: 11px; border-radius: 999px;
    background: rgba(9, 9, 20, .8); border: 1px solid var(--line-2);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5);
}
.mh-prog-bar i {
    position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px;
    background: linear-gradient(90deg, #f0a828, #ffc654 60%, #ffe3a1);
    box-shadow: 0 0 16px rgba(255, 190, 70, .55);
    overflow: hidden;
    animation: progFill 1.1s cubic-bezier(.25, .9, .3, 1) .15s backwards;
}
.mh-prog-bar i::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .5) 50%, transparent 80%);
    animation: plShine 2.6s ease-in-out infinite;
}
@keyframes progFill { from { width: 0 } }
.mh-prog-dot {
    position: absolute; top: 50%; width: 19px; height: 19px; margin-left: -10px;
    transform: translateY(-50%); border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff4d6, #ffc654 55%, #f0a828);
    box-shadow: 0 0 14px rgba(255, 198, 84, .8), 0 2px 6px rgba(0, 0, 0, .5);
    animation: progFill 0s;
    transition: left .3s;
}
/* no subscription: a quiet hint pill instead of a dead empty bar */
.mh-hint {
    margin-left: auto; display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 18px; border-radius: 999px;
    background: rgba(255, 198, 84, .08); border: 1px solid rgba(255, 198, 84, .3);
    font-size: 12px; font-weight: 800; color: #ffd98a;
}
.mh-hint svg { width: 13px; height: 13px; flex: none; }

.mh-track {
    flex: none; display: flex; gap: 14px;
    overflow-x: auto; overflow-y: hidden; padding: 6px 2px 12px;
    /* NO scroll-behavior:smooth here — it fights the wheel handler and the
       track crawls; smoothWheelScroll() does the easing instead */
}
.mh-track::-webkit-scrollbar { height: 8px; }
.mh-track::-webkit-scrollbar-thumb { background: rgba(var(--acc2-rgb), .3); border-radius: 8px; }
/* browsing the track with no subscription: a quiet, dimmed preview */
.mh-track.preview .tk-card { opacity: .68; }
.mh-track.preview .tk-card:hover { opacity: 1; }
.tk-state.only-ico { display: grid; place-items: center; padding-top: 10px; }
.tk-state.only-ico svg { width: 15px; height: 15px; color: var(--txt-2); }

.tk-card {
    position: relative; overflow: hidden; flex: none;
    width: 200px; height: 300px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 18px 14px 16px; border-radius: 18px;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--edge-soft) border-box;
    animation: cardIn .45s both; animation-delay: calc(var(--i, 0) * 40ms);
    transition: transform .22s, box-shadow .22s;
}
.tk-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
.tk-day { font-size: 10px; font-weight: 900; letter-spacing: 1.8px; text-transform: uppercase; color: var(--txt-2); }
.tk-ico { margin: 18px 0 12px; color: var(--acc-soft2); display: grid; place-items: center; height: 84px; }
.tk-ico svg { width: 50px; height: 50px; filter: drop-shadow(0 6px 16px rgba(var(--acc2-rgb), .45)); }
/* reward artwork varies wildly in aspect (coin, wide weapon, car) — contain it.
   tk-ico MUST stretch: on a centered flex column it shrink-wraps the img, so
   max-width:100% resolved to the image's own width and wide art got CLIPPED */
.tk-ico { align-self: stretch; }
.tk-ico img {
    max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5));
}
.tk-label { font-size: 13px; font-weight: 800; line-height: 1.3; min-height: 34px; display: grid; place-items: center; }
.tk-state { margin-top: auto; padding-top: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; }
.tk-state.done { color: var(--green); }
.tk-state.lock { color: var(--txt-2); text-transform: uppercase; font-size: 9.5px; letter-spacing: 1px; }
.tk-state.lock b { display: block; margin-top: 3px; color: var(--acc-soft2); font-family: var(--mono); font-size: 11px; letter-spacing: 0; text-transform: none; }
.tk-claim {
    margin-top: auto; width: 100%; padding: 10px 12px; border: none; border-radius: 11px;
    background: var(--grad-cta); color: #fff;
    font-size: 11px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 20px var(--glow-acc);
    transition: transform .18s, box-shadow .18s;
    animation: claimGlow 2.2s ease-in-out infinite;
}
.tk-claim:hover { transform: translateY(-2px); }
.tk-lock { position: absolute; top: 12px; right: 12px; color: var(--txt-2); opacity: .55; }
.tk-lock svg { width: 13px; height: 13px; }

.tk-card.claimed { opacity: .62; }
.tk-card.claimed .tk-ico { filter: grayscale(.5); }
.tk-card.claimable {
    background:
        radial-gradient(90% 70% at 50% 0%, rgba(var(--acc-rgb), .16), transparent 70%) padding-box,
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--edge) border-box;
    box-shadow: 0 0 0 2px rgba(var(--acc-rgb), .18), 0 14px 34px rgba(0, 0, 0, .35);
    transform: translateY(-3px);
}
.tk-card.locked .tk-ico { opacity: .45; filter: grayscale(.7); }
.tk-card.locked .tk-label { color: var(--txt-1); }

/* ════════════════════════════════════════════════════════════════════════
   GLOWING GRADIENT EDGES + BUTTONS v2  (late in the file → wins cascade)
   ════════════════════════════════════════════════════════════════════════ */
:root {
    /* rim light: bright lavender where the light hits the top-left curve,
       fading through the body, picking up magenta on the far edge */
    --edge: linear-gradient(150deg,
        rgba(var(--accsoft-rgb), .85) 0%, rgba(var(--acc-rgb), .38) 20%,
        rgba(var(--acc2-rgb), .10) 48%, rgba(var(--acc3-rgb), .26) 76%, rgba(255, 255, 255, .12) 100%);
    --edge-soft: linear-gradient(150deg,
        rgba(var(--accsoft-rgb), .5) 0%, rgba(var(--acc-rgb), .22) 22%,
        rgba(var(--acc2-rgb), .07) 50%, rgba(var(--acc3-rgb), .16) 78%, rgba(255, 255, 255, .07) 100%);
    /* FROSTED GLASS. backdrop-filter is banned in CEF, so the glass is built
       from a diagonal sheen + a specular top lip + a dark bottom edge.
       NEVER add a grain/noise tile: an SVG-turbulence texture renders as
       visible dots once the frame zoom scales it up. Smooth gradients only. */
    --sheen: linear-gradient(158deg,
        rgba(255, 255, 255, .095) 0%, rgba(255, 255, 255, .035) 24%,
        rgba(255, 255, 255, .006) 52%, rgba(255, 255, 255, .028) 100%);
    --glass-in:
        inset 0 1px 0 rgba(255, 255, 255, .17),
        inset 0 -1px 0 rgba(0, 0, 0, .30),
        inset 0 0 48px rgba(var(--acc2-rgb), .10);
}
.card, .fcard, .bene, .rail-daily, .member-card, .side-nav, .carousel, .mh-left, .mh-daily, .mh-upcoming {
    border: 1px solid transparent;
    background:
        var(--sheen) padding-box,
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--edge) border-box;
    box-shadow: var(--glass-in), 0 16px 44px rgba(0, 0, 0, .34);
}
.tk-card, .mu-chip {
    background:
        var(--sheen) padding-box,
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--edge-soft) border-box;
}
.tk-card, .mu-chip { box-shadow: var(--glass-in), 0 10px 26px rgba(0, 0, 0, .28); }
/* the countdown keeps its own amber identity — only the depth is shared */
.cdx-cell { box-shadow: inset 0 1px 0 rgba(255, 210, 160, .22), 0 10px 26px rgba(0, 0, 0, .3); }
.rail-daily, .mh-left, .mh-daily {
    background:
        var(--sheen) padding-box,
        radial-gradient(120% 90% at 100% 0%, rgba(var(--acc2-rgb), .1), transparent 55%) padding-box,
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--edge) border-box;
}
.store-hero, .rw-hero {
    border: 1px solid transparent;
    background:
        var(--sheen) padding-box,
        radial-gradient(90% 160% at 100% 50%, rgba(var(--acc2-rgb), .16), transparent 55%) padding-box,
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--edge) border-box;
    box-shadow: var(--glass-in), 0 16px 44px rgba(0, 0, 0, .34);
}
.bene, .side-nav {
    background:
        var(--sheen) padding-box,
        linear-gradient(var(--panel), var(--panel)) padding-box,
        var(--edge-soft) border-box;
}

/* premium buttons: inner top highlight + soft depth */
.hero-cta, .bd-claim, .btn-redeem, .btn-claim, .mc-btn, .btn-buy, .btn.primary, .btn.violet {
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .28),
        inset 0 -10px 18px rgba(20, 8, 40, .28),
        0 10px 28px var(--glow-acc);
}
.hero-cta:hover, .bd-claim:hover, .btn-redeem:hover, .btn-claim:hover, .mc-btn:hover, .btn-buy:hover, .btn.primary:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .35),
        inset 0 -10px 18px rgba(20, 8, 40, .2),
        0 14px 36px rgba(var(--acc2-rgb), .55),
        0 0 0 1px rgba(var(--accsoft-rgb), .35);
}
.bd-claim:disabled, .btn-claim:disabled, .btn-buy:disabled {
    border-color: var(--line-2);
    box-shadow: none;
}
/* cart buttons: dark glass, purple icon → gradient on hover (per mock) */
.fcard .f-buy {
    background: rgba(var(--acc2-rgb), .13);
    border: 1px solid rgba(var(--acc-rgb), .38);
    color: var(--acc-soft2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 14px rgba(0, 0, 0, .3);
}
.fcard .f-buy:hover {
    background: var(--grad-cta); color: #fff;
    border-color: rgba(255, 255, 255, .2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 24px rgba(var(--acc2-rgb), .6);
}
.tab.active { text-shadow: 0 0 12px rgba(var(--accsoft-rgb), .8); }

/* ── Fullscreen composition on big screens (mock proportions @1440p+) ── */
/* Vice: resolution scaling is done by vice-viewport.js, this old big-screen zoom is disabled */
@media (min-width: 999999px) {
    .frame, .modal-layer, .toasts { zoom: 1.22; }
    /* vh units are not divided by zoom — compensate */
    .rd-stage { height: calc(82vh - 170px); }
    .member-view { min-height: calc(82vh - 150px); }
}

/* ── Responsive squeeze ─────────────────────────────────────────────── */
@media (max-width: 1500px) {
    .side { width: 216px; }
    .carousel { grid-column: span 12; min-height: 320px; }
    .rail { grid-column: span 12; flex-direction: row; }
    .rail-daily { flex: 1.3; }
    .bene-grid { flex: 1; }
    .content.view-home { overflow-y: auto; }
    .home-view { display: block; }
    .home-top { display: grid; }
    .hero-title { max-width: 60%; }
}
@media (max-width: 1180px) {
    .side { display: none; }
    .tab svg { display: block; width: 15px; height: 15px; }
    .search-wrap { width: 170px; }
    .rw-steps { grid-template-columns: repeat(4, 1fr); }
    .rw-line { display: none; }
    .rd-stage { grid-template-columns: 1fr; height: auto; }
    .rd-steps { grid-template-columns: 1fr; }
    .rd-char { display: none; }
    .rd-title, .rd-sub { max-width: 100%; }
}

/* ════════════════════════════════════════════════════════════════════════
   CASES  •  case shop, preview, CS:GO roulette, prize reveal
   ════════════════════════════════════════════════════════════════════════ */
/* drop-rarity accent (derived from chance %): common → legendary */
/* rarity colours are FIXED (CS:GO semantics) — they never follow the theme */
.r0 { --rc: #9aa7c7; --rc-rgb: 154, 167, 199; }
.r1 { --rc: #4b8bff; --rc-rgb: 75, 139, 255; }
.r2 { --rc: #a05cff; --rc-rgb: 160, 92, 255; }
.r3 { --rc: #e84dff; --rc-rgb: 232, 77, 255; }
.r4 { --rc: #ffb84d; --rc-rgb: 255, 184, 77; }

@keyframes caseIn { from { opacity: 0; transform: translateY(16px) scale(.97) } }

.cases-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 430px));
    justify-content: center; gap: 18px; margin-top: 16px;
}
.case-card {
    position: relative; display: flex; flex-direction: column;
    border-radius: 22px; overflow: hidden; cursor: pointer;
    padding: 14px 14px 16px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .05), transparent 36%) padding-box,
        linear-gradient(180deg, #1d1e35, #14152a) padding-box,
        var(--edge) border-box;
    border: 1px solid transparent;
    box-shadow: 0 20px 44px rgba(5, 5, 14, .45);
    transition: transform .22s, box-shadow .22s;
    /* backwards (not both): the end state must release so :hover can move it */
    animation: caseIn .5s cubic-bezier(.2, .9, .25, 1) backwards;
    animation-delay: calc(var(--i, 0) * 70ms);
}
.case-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(5, 5, 14, .6), 0 0 34px rgba(var(--acc2-rgb), .18); }

.case-media {
    position: relative; height: 216px; border-radius: 16px; overflow: hidden;
    margin-bottom: 14px; padding: 12px 16px 30px;
    display: flex; align-items: flex-end; justify-content: center;
    background:
        radial-gradient(56% 60% at 50% 44%, rgba(var(--acc-rgb), .22), transparent 70%),
        radial-gradient(100% 70% at 50% 100%, rgba(var(--acc2-rgb), .15), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(10, 10, 22, .35));
}
/* floor shadow under the case art */
.case-media::before {
    content: ''; position: absolute; left: 50%; bottom: 16px;
    width: 62%; height: 20px; transform: translateX(-50%);
    background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .55), transparent 72%);
}
.case-media img {
    position: relative; z-index: 1; max-height: 100%; max-width: 82%; object-fit: contain;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5));
    transition: transform .3s;
}
.case-card:hover .case-media img { transform: translateY(-6px) scale(1.04); }
.case-glow {
    position: absolute; inset: 0;
    background: radial-gradient(50% 55% at 50% 46%, rgba(var(--acc-rgb), .30), transparent 72%);
    animation: caseGlowPulse 3.6s ease-in-out infinite;
}
@keyframes caseGlowPulse { 0%, 100% { opacity: .55 } 50% { opacity: 1 } }
.case-card.is-cooling .case-media img { filter: grayscale(.55) brightness(.72) drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); }
.case-card.is-cooling .case-glow { opacity: .3; animation: none; }

.case-tags { position: absolute; z-index: 2; top: 26px; left: 26px; display: flex; gap: 8px; }
.case-name { font-size: 19px; font-weight: 900; letter-spacing: .4px; padding: 0 4px; }
.case-meta {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    font-size: 12px; color: var(--txt-2); font-weight: 700;
    margin: 6px 0 14px; padding: 0 4px;
}
.case-best b { color: var(--acc-soft); }
.case-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px; }
.case-price { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 900; color: #fff; }
.case-price .cg { width: 25px; height: 25px; }
.case-price.free { color: #3ecf8e; letter-spacing: 1.5px; text-shadow: 0 0 18px rgba(62, 207, 142, .45); }
.case-cd { display: inline-flex; align-items: center; gap: 8px; color: #ffc46b; font-weight: 800; font-size: 13.5px; }
.case-cd svg { width: 16px; height: 16px; }

/* ── Case preview modal ─────────────────────────────────────────────── */
.modal.cmodal { width: min(1060px, 94%); }
.cm-head { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; padding-right: 46px; }
.cm-art { width: 148px; height: 108px; object-fit: contain; flex: none; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5)); }
.cm-txt { flex: 1; min-width: 0; }
.cm-meta { font-size: 12.5px; color: var(--txt-2); font-weight: 700; margin-top: 6px; }
.cm-cta { display: flex; align-items: center; gap: 18px; flex: none; }
.pm-x { position: absolute; top: 20px; right: 20px; }
.modal.cmodal { position: relative; }

.cm-items {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
    gap: 12px; max-height: 46vh; overflow-y: auto; padding: 2px 4px 4px 2px;
}
.cm-item {
    position: relative; overflow: hidden; border-radius: 14px; text-align: center;
    padding: 16px 10px 12px;
    background: linear-gradient(180deg, #191b31, #14162a);
    border: 1px solid var(--line);
}
.cm-item::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: var(--rc); box-shadow: 0 0 14px var(--rc);
}
.cm-item-glow {
    position: absolute; inset: 0; opacity: .16;
    background: radial-gradient(62% 52% at 50% 32%, var(--rc), transparent 72%);
}
.cm-item img { position: relative; z-index: 1; height: 64px; max-width: 86%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.cm-item-label { position: relative; z-index: 1; font-size: 12.5px; font-weight: 800; margin-top: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-item-chance { position: relative; z-index: 1; font-size: 11px; font-weight: 900; letter-spacing: .8px; color: var(--rc); margin-top: 3px; }

/* ── Roulette ───────────────────────────────────────────────────────── */
.cr-window {
    position: relative; height: 208px; border-radius: 18px; overflow: hidden;
    background: linear-gradient(180deg, #131528, #0e1020);
    border: 1px solid var(--line-2);
    box-shadow: inset 0 12px 34px rgba(0, 0, 0, .55);
}
.cr-strip {
    position: absolute; left: 0; top: 15px;
    display: flex; gap: 10px;
    will-change: transform;
}
.cr-tile {
    width: 148px; height: 178px; flex: none;
    position: relative; overflow: hidden; border-radius: 14px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 8px 12px;
    background: linear-gradient(180deg, #1b1d34, #151730);
    border: 1px solid var(--line);
}
.cr-tile::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: var(--rc); box-shadow: 0 0 16px var(--rc);
}
.cr-tile img { height: 84px; max-width: 88%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
.cr-tile span { font-size: 11.5px; font-weight: 800; max-width: 96%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-tile.is-won { border-color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 34px var(--rc); animation: wonPulse .55s ease-in-out 2; }
@keyframes wonPulse { 50% { box-shadow: 0 0 0 3px #fff, 0 0 54px var(--rc) } }

.cr-pointer {
    position: absolute; z-index: 3; left: 50%; top: 0; bottom: 0;
    width: 2px; margin-left: -1px;
    background: linear-gradient(180deg, #ffd257, #ff9d4d);
    box-shadow: 0 0 12px rgba(255, 205, 90, .8);
}
.cr-pointer::before, .cr-pointer::after {
    content: ''; position: absolute; left: 50%; transform: translateX(-50%);
    border-left: 9px solid transparent; border-right: 9px solid transparent;
}
.cr-pointer::before { top: 0; border-top: 11px solid #ffd257; filter: drop-shadow(0 2px 6px rgba(255, 205, 90, .7)); }
.cr-pointer::after { bottom: 0; border-bottom: 11px solid #ffd257; filter: drop-shadow(0 -2px 6px rgba(255, 205, 90, .7)); }
.cr-fade { position: absolute; z-index: 2; top: 0; bottom: 0; width: 130px; pointer-events: none; }
.cr-fade.l { left: 0; background: linear-gradient(90deg, #14152a, transparent); }
.cr-fade.r { right: 0; background: linear-gradient(270deg, #14152a, transparent); }

/* ── Prize reveal ───────────────────────────────────────────────────── */
.cr-reveal { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 30px 16px 20px; }
.crr-rays {
    position: absolute; left: 50%; top: 128px; width: 580px; height: 580px;
    margin: -290px 0 0 -290px; border-radius: 50%;
    background: repeating-conic-gradient(rgba(255, 255, 255, .055) 0 9deg, transparent 9deg 18deg);
    -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 62%);
    mask-image: radial-gradient(circle, #000 0%, transparent 62%);
    animation: raysSpin 16s linear infinite;
}
@keyframes raysSpin { to { transform: rotate(360deg) } }
.crr-glow {
    position: absolute; left: 50%; top: 128px; width: 360px; height: 360px;
    transform: translate(-50%, -50%); opacity: .26;
    background: radial-gradient(circle, var(--rc), transparent 66%);
}
.crr-art {
    position: relative; z-index: 1; height: 196px; max-width: 72%; object-fit: contain;
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, .55));
    animation: prizeIn .7s cubic-bezier(.2, .9, .3, 1.25) backwards;
}
@keyframes prizeIn { from { opacity: 0; transform: scale(.35) translateY(46px) } }
@keyframes revealUp { from { opacity: 0; transform: translateY(12px) } }
.crr-won { margin-top: 20px; font-size: 12px; font-weight: 900; letter-spacing: 3.5px; text-transform: uppercase; color: var(--txt-2); animation: revealUp .5s .15s backwards; }
.crr-label { position: relative; z-index: 1; font-size: 31px; font-weight: 900; letter-spacing: .5px; margin-top: 7px; text-shadow: 0 0 28px var(--rc); animation: revealUp .5s .25s backwards; }
.crr-delivery {
    display: inline-flex; align-items: center; gap: 9px;
    margin-top: 16px; padding: 10px 18px; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; color: #b9f0d4;
    background: rgba(62, 207, 142, .1); border: 1px solid rgba(62, 207, 142, .3);
    animation: revealUp .5s .35s backwards;
}
.crr-delivery svg { width: 15px; height: 15px; color: #3ecf8e; flex: none; }
.crr-actions { display: flex; gap: 12px; margin-top: 26px; animation: revealUp .5s .45s backwards; }

/* ════════════════════════════════════════════════════════════════════════
   ADMIN APP  (/adminvip)
   ════════════════════════════════════════════════════════════════════════ */
/* the store search + coin balance are shop furniture — not admin tools */
.admin-mode #searchWrap, .admin-mode #balanceChip { display: none; }

.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 4px 0 20px; }
.dtile {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 22px; border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, .04), transparent 40%) padding-box,
        linear-gradient(180deg, #1c1d34, #15162b) padding-box,
        var(--edge-soft) border-box;
    border: 1px solid transparent;
    animation: caseIn .45s cubic-bezier(.2, .9, .25, 1) backwards;
    animation-delay: calc(var(--i, 0) * 55ms);
}
.dtile-ico {
    width: 48px; height: 48px; flex: none; border-radius: 14px;
    display: grid; place-items: center; color: var(--acc-soft);
    background: linear-gradient(135deg, rgba(var(--acc-rgb), .22), rgba(var(--acc2-rgb), .08));
    border: 1px solid rgba(var(--acc-rgb), .3);
}
.dtile-ico svg { width: 22px; height: 22px; }
.dtile b { display: block; font-size: 25px; font-weight: 900; line-height: 1.05; }
.dtile span { font-size: 11.5px; font-weight: 700; letter-spacing: .4px; color: var(--txt-2); }

.log-toolbar { flex-wrap: wrap; row-gap: 10px; }
.log-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.lf-chip {
    padding: 9px 16px; border-radius: 999px;
    font-size: 10.5px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
    background: rgba(255, 255, 255, .035); border: 1px solid var(--line); color: var(--txt-2);
    transition: color .15s, border-color .15s, background .15s, box-shadow .15s;
}
.lf-chip:hover { color: #fff; border-color: rgba(var(--acc-rgb), .45); }
.lf-chip.active { background: var(--grad-cta); border-color: transparent; color: #fff; box-shadow: 0 6px 18px var(--glow-acc); }

@media (max-width: 1500px) {
    .dash-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 400px)); }
}

/* ════════════════════════════════════════════════════════════════════════
   ADMIN v2 — clipped-tag fix, coin prices, custom selects, wizard,
   pagination, vivid dashboard, theme settings
   ════════════════════════════════════════════════════════════════════════ */
/* tags were clipped by the ellipsis on .ar-name — only the NAME may shrink */
.adm-row .ar-name { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: visible; white-space: nowrap; }
.adm-row .ar-name .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-row .ar-name .tag, .adm-row .ar-name .rar-chip { flex: none; }
.adm-row .ar-price { display: inline-flex; align-items: center; gap: 7px; }
.adm-row .ar-price .cg { width: 19px; height: 19px; }
.adm-row .ar-meta .meta-note svg, .adm-row .ar-meta .meta-coin .cg { width: 13px; height: 13px; vertical-align: -2px; }
.adm-row .ar-meta .meta-coin { display: inline-flex; align-items: center; gap: 5px; }

.rar-chip {
    font-size: 9.5px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px;
    color: var(--rc); background: rgba(var(--rc-rgb), .13); border: 1px solid rgba(var(--rc-rgb), .4);
}
.ar-thumb.rar-thumb { border-color: rgba(var(--rc-rgb), .45); box-shadow: inset 0 0 14px rgba(var(--rc-rgb), .15); }

/* price input with the coin INSIDE the field */
.coin-input {
    display: flex; align-items: center; gap: 10px;
    padding: 0 0 0 12px; border-radius: 12px;
    background: rgba(9, 9, 20, .75); border: 1px solid var(--line-2);
}
.coin-input .cg { width: 20px; height: 20px; flex: none; }
.coin-input input { flex: 1; background: none !important; border: none !important; box-shadow: none !important; }

/* ── custom select (design único — zero native dropdowns) ────────────── */
.xsel { position: relative; }
.xsel-btn {
    width: 100%; display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: 12px; text-align: left;
    background: rgba(9, 9, 20, .75); border: 1px solid var(--line-2);
    color: var(--txt-0); font-size: 13.5px; font-weight: 600;
    transition: border-color .2s, box-shadow .2s;
}
/* the chevron glyph points RIGHT — rotate it down (closed) / up (open) */
.xsel-btn svg { width: 15px; height: 15px; margin-left: auto; flex: none; color: var(--txt-2); transform: rotate(90deg); transition: transform .2s; }
.xsel.open .xsel-btn { border-color: var(--line-acc); box-shadow: 0 0 0 3px rgba(var(--acc2-rgb), .13); }
.xsel.open .xsel-btn svg { transform: rotate(-90deg); }
.xsel-cur { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xsel-menu {
    position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
    max-height: 240px; overflow-y: auto;
    padding: 6px; border-radius: 14px;
    background: linear-gradient(170deg, #232544, #191a30);
    border: 1px solid var(--line-acc);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .65), 0 0 0 1px rgba(var(--acc2-rgb), .12);
    opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none;
    transition: opacity .16s, transform .16s;
}
.xsel.open .xsel-menu { opacity: 1; transform: none; pointer-events: auto; }
.xsel-opt {
    width: 100%; display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 9px; border: none; text-align: left;
    background: transparent; color: var(--txt-1); font-size: 13px; font-weight: 600;
    transition: background .12s, color .12s;
}
.xsel-opt:hover { background: rgba(var(--acc2-rgb), .14); color: #fff; }
.xsel-opt.sel { color: #fff; background: rgba(var(--acc2-rgb), .2); }
.xsel-opt svg { width: 14px; height: 14px; margin-left: auto; flex: none; opacity: 0; color: var(--acc-soft); }
.xsel-opt.sel svg { opacity: 1; }
.xsel-sw { width: 13px; height: 13px; border-radius: 5px; flex: none; box-shadow: 0 0 8px rgba(0, 0, 0, .4); }
.xsel-lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── product wizard ──────────────────────────────────────────────────── */
.modal.wizard { width: min(760px, 92%); }
.wz-lbl { margin-left: auto; margin-right: 14px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--txt-2); }
.wz-steps { display: flex; align-items: center; gap: 10px; margin: 2px 2px 22px; }
.wz-step { display: flex; align-items: center; gap: 9px; }
.wz-n {
    width: 30px; height: 30px; border-radius: 10px; flex: none;
    display: grid; place-items: center;
    font-size: 12.5px; font-weight: 900; color: var(--txt-2);
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2);
    transition: all .25s;
}
.wz-n svg { width: 13px; height: 13px; }
.wz-step.cur .wz-n { background: var(--grad-cta); border-color: transparent; color: #fff; box-shadow: 0 6px 16px var(--glow-acc); }
.wz-step.done .wz-n { background: rgba(62, 207, 142, .15); border-color: rgba(62, 207, 142, .5); color: #3ecf8e; }
.wz-t { font-size: 12px; font-weight: 800; color: var(--txt-2); letter-spacing: .3px; }
.wz-step.cur .wz-t { color: #fff; }
.wz-step.done .wz-t { color: #7fd8ae; }
.wz-line { flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); min-width: 18px; }
.wz-foot { align-items: center; }
.wz-foot .spacer { flex: 1; }
#wzBack svg { width: 14px; height: 14px; transform: rotate(90deg); }
#wzBody { min-height: 264px; }

.wz-review .wz-card {
    display: flex; align-items: center; gap: 18px;
    padding: 16px 18px; border-radius: 16px; margin-bottom: 16px;
    background:
        radial-gradient(70% 90% at 18% 30%, rgba(var(--acc-rgb), .14), transparent 60%),
        linear-gradient(180deg, #1c1d34, #15162b);
    border: 1px solid var(--line-2);
}
.wz-media {
    width: 108px; height: 82px; flex: none; border-radius: 12px; overflow: hidden;
    display: grid; place-items: center;
    background: rgba(9, 9, 20, .6); border: 1px solid var(--line); color: var(--acc-soft2);
}
.wz-media img { width: 92%; height: 92%; object-fit: contain; }
.wz-media svg { width: 30px; height: 30px; }
.wz-sum { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.wz-sum b { font-size: 17px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-sum span { font-size: 12px; color: var(--txt-1); font-weight: 600; }
.wz-price { display: inline-flex !important; align-items: center; gap: 8px; font-size: 16px !important; font-weight: 900 !important; color: #fff !important; }
.wz-price .cg { width: 19px; height: 19px; }
.wz-price i { font-style: normal; color: var(--mag); font-size: 12px; }

/* ── pagination (numbered squares, like the reference) ───────────────── */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.pg {
    min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px;
    background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2);
    color: var(--txt-1); font-size: 13px; font-weight: 800;
    transition: all .15s;
}
.pg:hover { color: #fff; border-color: var(--line-acc); }
.pg.active { background: var(--grad-cta); border-color: transparent; color: #fff; box-shadow: 0 6px 16px var(--glow-acc); }

/* ── vivid dashboard tiles (per-metric hue via --hu) ─────────────────── */
.dtile-ico {
    color: var(--hu, var(--acc-soft));
    background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
    border: 1px solid var(--line-2);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, .25);
    position: relative;
}
.dtile-ico::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: 0 0 22px var(--hu, transparent); opacity: .22;
}
.dtile b { color: var(--hu, #fff); text-shadow: 0 0 22px color-mix(in srgb, var(--hu, #fff) 40%, transparent); }
@supports not (color: color-mix(in srgb, red 50%, blue)) {
    .dtile b { text-shadow: none; }
}

/* ── admin nav: every section wears its own vivid hue ────────────────── */
.admin-mode .snav .sn-ico {
    color: var(--hu, var(--txt-1));
    border-color: var(--line-2);
    text-shadow: 0 0 14px var(--hu, transparent);
}
.admin-mode .snav .sn-ico svg { filter: drop-shadow(0 0 9px var(--hu, transparent)); }
.admin-mode .snav:hover .sn-ico { color: var(--hu, var(--acc-soft2)); border-color: var(--hu, var(--line-acc)); }
.admin-mode .snav.active .sn-ico {
    background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03));
    color: var(--hu, #fff); border-color: var(--hu, transparent);
    box-shadow: 0 0 20px var(--hu, var(--glow-acc)), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.admin-mode .tab svg { display: block; width: 14px; height: 14px; color: var(--hu, currentColor); filter: drop-shadow(0 0 8px var(--hu, transparent)); }

/* ── settings: theme cards ───────────────────────────────────────────── */
.set-hint {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 10px 16px; border-radius: 999px; margin-bottom: 14px;
    background: rgba(var(--acc2-rgb), .1); border: 1px solid rgba(var(--acc2-rgb), .3);
    font-size: 12.5px; font-weight: 700; color: var(--acc-soft);
}
.set-hint svg { width: 15px; height: 15px; flex: none; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.th-card {
    position: relative; overflow: hidden; text-align: left;
    padding: 14px; border-radius: 16px;
    background: linear-gradient(180deg, #1c1d34, #15162b);
    border: 1px solid var(--line-2);
    display: flex; flex-direction: column; gap: 10px;
    transition: transform .18s, border-color .18s, box-shadow .18s;
    /* <button> — without this the UA paints the theme names BLACK */
    color: var(--txt-0); font: inherit;
}
.th-card:hover { transform: translateY(-3px); border-color: var(--line-acc); }
.th-card.active { border-color: var(--acc); box-shadow: 0 0 0 2px rgba(var(--acc-rgb), .35), 0 12px 30px rgba(0, 0, 0, .4); }
.th-prev { height: 56px; border-radius: 11px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 18px rgba(0, 0, 0, .35); }
.th-dots { display: flex; gap: 6px; }
.th-dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 8px rgba(0, 0, 0, .5); }
.th-name { font-size: 13px; font-weight: 900; letter-spacing: .4px; }
.th-check {
    position: absolute; top: 10px; right: 10px;
    width: 24px; height: 24px; border-radius: 8px;
    display: grid; place-items: center;
    background: var(--grad-cta); color: #fff;
    opacity: 0; transform: scale(.6); transition: all .2s;
}
.th-check svg { width: 12px; height: 12px; }
.th-card.active .th-check { opacity: 1; transform: none; }

/* v2: each theme previewed as a MINIATURE of the real interface */
.theme-grid.tg-big { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.th-card.v2 { padding: 12px 12px 13px; gap: 12px; }
.th-card.v2 .th-check { z-index: 3; top: 18px; right: 18px; }
.th-card.v2 .th-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px; }
.th-card.v2 .th-name { font-size: 14px; letter-spacing: .6px; }
.tm {
    position: relative; overflow: hidden;
    aspect-ratio: 16 / 9.4; border-radius: 12px;
    background: #0d0e18; border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 26px rgba(0, 0, 0, .4);
    padding: 8px;
    display: flex; flex-direction: column; gap: 7px;
}
.tm-glow { position: absolute; inset: 0; pointer-events: none; }
.tm i, .tm b { display: block; }
.tm-top { position: relative; display: flex; align-items: center; gap: 6px; }
.tm-logo { width: 16px; height: 16px; border-radius: 5px; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
.tm-tab { width: 26px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.tm-tab.on { box-shadow: 0 0 8px rgba(255, 255, 255, .12); }
.tm-coin {
    margin-left: auto; width: 34px; height: 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
    position: relative;
}
.tm-coin::before { content: ''; position: absolute; left: 3px; top: 2.5px; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe9b0, #ffc654 60%, #c98a1e); }
.tm-body { position: relative; flex: 1; display: flex; gap: 7px; min-height: 0; }
.tm-side { width: 34px; flex: none; display: flex; flex-direction: column; gap: 5px; }
.tm-side i {
    flex: 1; border-radius: 6px; background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .06);
    display: flex; align-items: center; padding-left: 5px;
}
.tm-side i b { width: 7px; height: 7px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.tm-main { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.tm-hero { position: relative; flex: 1.35; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; padding: 8px 9px; }
.tm-chip { width: 22px; height: 5px; border-radius: 3px; margin-bottom: 5px; box-shadow: 0 0 8px rgba(0, 0, 0, .3); }
.tm-line { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .16); width: 56%; margin-bottom: 4px; }
.tm-line.lg { height: 8px; width: 42%; background: rgba(255, 255, 255, .5); }
.tm-btn { position: absolute; left: 9px; bottom: 8px; width: 42px; height: 12px; border-radius: 6px; }
.tm-orb { position: absolute; right: 12px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.tm-cards { flex: 1; display: flex; gap: 6px; }
.tm-cards i { position: relative; flex: 1; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.tm-cards i b { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.th-card.v2:hover .tm { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 14px 34px rgba(0, 0, 0, .55); }

/* ════════════════════════════════════════════════════════════════════════
   CASES v2 — live ticker, detail page, rarity tile backgrounds, multi-open
   ════════════════════════════════════════════════════════════════════════ */
/* ── live drops ticker ───────────────────────────────────────────────── */
.live-strip { margin: 14px 0 16px; }
.lv-head {
    display: flex; align-items: center; gap: 9px; margin-bottom: 10px;
    font-size: 10.5px; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase; color: var(--txt-2);
}
.lv-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 10px rgba(62, 207, 142, .9); animation: lvBlink 1.6s ease-in-out infinite; }
@keyframes lvBlink { 50% { opacity: .35 } }
.lv-clip { overflow: hidden; border-radius: 14px; }
.lv-track { display: flex; gap: 10px; width: max-content; }
.lv-clip.marquee .lv-track { animation: lvScroll calc(var(--n) * 3.4s) linear infinite; }
.lv-clip.marquee:hover .lv-track { animation-play-state: paused; }
@keyframes lvScroll { to { transform: translateX(-50%) } }
.lv-card {
    position: relative; overflow: hidden; flex: none;
    display: flex; align-items: center; gap: 10px;
    width: 218px; padding: 9px 12px; border-radius: 13px;
    background:
        radial-gradient(90% 130% at 50% 115%, rgba(var(--rc-rgb), .28), transparent 62%),
        linear-gradient(180deg, #1b1d34, #14162a);
    border: 1px solid rgba(var(--rc-rgb), .3);
}
.lv-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; background: var(--rc); box-shadow: 0 0 10px var(--rc); }
.lv-glow { position: absolute; inset: 0; opacity: .1; background: radial-gradient(50% 70% at 22% 50%, var(--rc), transparent 70%); }
.lv-card img { width: 44px; height: 34px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); position: relative; }
.lv-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; }
.lv-txt b { font-size: 12px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-txt i { font-style: normal; font-size: 10px; font-weight: 700; color: var(--txt-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── case detail page ────────────────────────────────────────────────── */
.cdt-back {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px 10px 14px; border-radius: 12px; margin-bottom: 14px;
    background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2);
    color: var(--txt-1); font-size: 12.5px; font-weight: 800;
    transition: all .18s;
}
.cdt-back svg { width: 14px; height: 14px; transform: rotate(90deg); }
.cdt-back:hover { color: #fff; border-color: var(--line-acc); transform: translateX(-2px); }

.cdt-hero {
    display: flex; align-items: center; gap: 22px;
    padding: 18px 22px; border-radius: 20px; margin-bottom: 16px;
    background:
        radial-gradient(60% 120% at 12% 50%, rgba(var(--acc-rgb), .16), transparent 60%),
        linear-gradient(160deg, rgba(255, 255, 255, .04), transparent 40%),
        linear-gradient(180deg, #1d1e35, #14152a);
    border: 1px solid var(--line-2);
}
.cdt-art { position: relative; width: 190px; height: 128px; flex: none; display: grid; place-items: center; }
.cdt-art img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .55)); }
.cdt-info { flex: 1; min-width: 0; }
.cdt-name { font-size: clamp(24px, 2vw, 34px); font-weight: 900; letter-spacing: -.2px; margin-top: 3px; }
.cdt-meta { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-top: 9px; font-size: 12.5px; color: var(--txt-1); font-weight: 700; }
.rc-text { color: var(--rc); }

.cdt-ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; flex: none; }
.cdt-price { display: flex; align-items: center; gap: 16px; }
.oc-chips { display: flex; gap: 7px; }
.oc-chip {
    min-width: 46px; height: 34px; border-radius: 10px;
    background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2);
    color: var(--txt-1); font-size: 13px; font-weight: 900;
    transition: all .15s;
}
.oc-chip:hover { color: #fff; border-color: var(--line-acc); }
.oc-chip.active { background: var(--grad-cta); border-color: transparent; color: #fff; box-shadow: 0 6px 16px var(--glow-acc); }
.oc-chip.cant { opacity: .4; }
.oc-quick {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2);
    color: var(--txt-2); font-size: 11px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase;
    transition: all .18s;
}
.oc-quick svg { width: 13px; height: 13px; }
.oc-quick.active { color: #ffd257; border-color: rgba(255, 198, 84, .55); background: rgba(255, 198, 84, .1); box-shadow: 0 0 18px rgba(255, 198, 84, .2); }

/* multi-row roulette window */
.cr-window.rows-2 { height: 398px; }
.cr-window.rows-3 { height: 588px; }

/* rarity RADIAL BACKGROUND behind every prize (grid + roulette + reveal) */
.cr-tile {
    background:
        radial-gradient(85% 65% at 50% 84%, rgba(var(--rc-rgb), .30), transparent 64%),
        linear-gradient(180deg, #1b1d34, #151730);
}
.cr-tile-glow { position: absolute; inset: 0; opacity: .12; background: radial-gradient(60% 50% at 50% 40%, var(--rc), transparent 72%); }
.cm-item {
    background:
        radial-gradient(85% 60% at 50% 82%, rgba(var(--rc-rgb), .26), transparent 66%),
        linear-gradient(180deg, #191b31, #14162a);
    border-color: rgba(var(--rc-rgb), .28);
}

/* drops-from-this-case grid */
.drops-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 13px; }
.drop-card {
    position: relative; overflow: hidden; text-align: center;
    padding: 26px 12px 14px; border-radius: 16px;
    background:
        radial-gradient(90% 62% at 50% 88%, rgba(var(--rc-rgb), .3), transparent 64%),
        linear-gradient(180deg, #1a1c33, #14162a);
    border: 1px solid rgba(var(--rc-rgb), .3);
    animation: caseIn .45s cubic-bezier(.2, .9, .25, 1) backwards;
    animation-delay: calc(var(--i, 0) * 45ms);
    transition: transform .2s, box-shadow .2s;
}
.drop-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .45), 0 0 26px rgba(var(--rc-rgb), .2); }
.drop-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5px; background: var(--rc); box-shadow: 0 0 16px var(--rc); }
.drop-glow { position: absolute; inset: 0; opacity: .12; background: radial-gradient(58% 48% at 50% 36%, var(--rc), transparent 72%); }
.drop-chance {
    position: absolute; z-index: 2; top: 10px; right: 10px;
    font-size: 10.5px; font-weight: 900; letter-spacing: .6px;
    padding: 4px 9px; border-radius: 999px;
    color: var(--rc); background: rgba(9, 9, 20, .72); border: 1px solid rgba(var(--rc-rgb), .45);
}
.drop-card img { position: relative; z-index: 1; height: 84px; max-width: 88%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); }
.drop-label { position: relative; z-index: 1; margin-top: 10px; font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop-rar { position: relative; z-index: 1; margin-top: 3px; font-size: 10px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; color: var(--rc); }

/* legendary tiles breathe */
.drop-card.r4 .drop-glow, .cr-tile.r4 .cr-tile-glow, .lv-card.r4 .lv-glow { animation: r4Breathe 2.6s ease-in-out infinite; }
@keyframes r4Breathe { 0%, 100% { opacity: .1 } 50% { opacity: .26 } }

/* ── reveal: rarity name + multi grid ────────────────────────────────── */
.crr-rar {
    margin-top: 8px; font-size: 11px; font-weight: 900; letter-spacing: 2.6px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 999px;
    color: var(--rc); background: rgba(var(--rc-rgb), .12); border: 1px solid rgba(var(--rc-rgb), .45);
    animation: revealUp .5s .2s backwards;
}
.crr-delivery.fail { color: #ffb9c1; background: rgba(255, 92, 108, .1); border-color: rgba(255, 92, 108, .35); }
.crr-delivery.fail svg { color: var(--red); }
.crr-multi {
    position: relative; z-index: 1;
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    margin-top: 18px;
}
.crm-card {
    position: relative; overflow: hidden; text-align: center;
    width: 196px; padding: 22px 12px 14px; border-radius: 16px;
    background:
        radial-gradient(90% 62% at 50% 88%, rgba(var(--rc-rgb), .32), transparent 64%),
        linear-gradient(180deg, #1b1d34, #14162a);
    border: 1px solid rgba(var(--rc-rgb), .4);
    animation: prizeIn .6s cubic-bezier(.2, .9, .3, 1.2) backwards;
    animation-delay: calc(.15s + var(--i, 0) * .14s);
}
.crm-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5px; background: var(--rc); box-shadow: 0 0 16px var(--rc); }
.crm-card img { position: relative; z-index: 1; height: 92px; max-width: 88%; object-fit: contain; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .55)); }
.crm-rar { position: relative; z-index: 1; margin-top: 9px; font-size: 9.5px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; color: var(--rc); }
.crm-label { position: relative; z-index: 1; margin-top: 3px; font-size: 14px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-ok {
    position: absolute; z-index: 2; top: 9px; right: 9px;
    width: 22px; height: 22px; border-radius: 8px; display: grid; place-items: center;
    background: rgba(62, 207, 142, .16); border: 1px solid rgba(62, 207, 142, .5); color: #3ecf8e;
}
.crm-ok svg { width: 11px; height: 11px; }
.crm-card.failed { filter: grayscale(.5) brightness(.8); }
.crm-fail {
    position: absolute; z-index: 2; top: 9px; right: 9px;
    font-size: 9px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase;
    padding: 4px 8px; border-radius: 999px;
    color: #ffb9c1; background: rgba(255, 92, 108, .16); border: 1px solid rgba(255, 92, 108, .45);
}

@media (max-width: 1500px) {
    .cdt-hero { flex-wrap: wrap; }
    .cdt-ctrl { align-items: flex-start; }
}


/* ════════════════════════════════════════════════════════════════════════
   TEST DRIVE — card / modal buttons + the countdown HUD shown while driving
   (the HUD lives OUTSIDE #app because the shop is closed during the drive)
   ════════════════════════════════════════════════════════════════════════ */
.btn-test {
    color: var(--acc-soft2);
    background: rgba(var(--acc2-rgb), .14);
    border-color: rgba(var(--acc-rgb), .38);
}
.btn-test:hover { background: rgba(var(--acc2-rgb), .26); color: #fff; }
.btn-test svg { width: 18px; height: 18px; }

.pm-cta { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; margin-left: auto; }
.pm-cta .btn-buy, .pm-cta .btn-test-lg { white-space: nowrap; }
.pm-cta .btn-test-lg { padding: 11px 15px; }
.pm-cta .btn-buy { padding: 12px 18px; }
.btn-test-lg {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 11px 18px; border-radius: 13px;
    font-size: 12.5px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--acc-soft2);
    background: rgba(var(--acc2-rgb), .14);
    border: 1px solid rgba(var(--acc-rgb), .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: transform .18s, background .18s, color .18s, box-shadow .18s;
}
.btn-test-lg svg { width: 16px; height: 16px; }
.btn-test-lg:hover {
    transform: translateY(-2px); color: #fff;
    background: rgba(var(--acc2-rgb), .28);
    box-shadow: 0 10px 26px rgba(var(--acc2-rgb), .35), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn-test-lg:active { transform: translateY(0) scale(.97); }

#tdHud {
    position: fixed; left: 50%; bottom: 42px; transform: translateX(-50%);
    z-index: 9999; pointer-events: none;
    font-family: var(--font); color: #fff;
    transition: opacity .35s, transform .35s;
}
#tdHud.hidden { display: none; }
#tdHud .td-card {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
    min-width: 440px; padding: 14px 22px 18px 16px; border-radius: 20px;
    border: 1px solid transparent;
    background:
        radial-gradient(120% 160% at 0% 0%, rgba(var(--acc-rgb), .22), transparent 60%) padding-box,
        linear-gradient(rgba(20, 16, 34, .92), rgba(14, 12, 26, .94)) padding-box,
        linear-gradient(135deg, rgba(var(--acc-rgb), .7), rgba(var(--acc3-rgb), .45)) border-box;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .04), 0 0 40px rgba(var(--acc2-rgb), .25);
    animation: tdIn .45s cubic-bezier(.2, .9, .25, 1.2) both;
}
@keyframes tdIn { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }
#tdHud .td-ico {
    width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    background: var(--grad-cta); box-shadow: 0 8px 22px var(--glow-acc);
}
#tdHud .td-ico svg { width: 24px; height: 24px; color: #fff; animation: tdSpin 6s linear infinite; }
@keyframes tdSpin { to { transform: rotate(360deg); } }
#tdHud .td-title { font-size: 12px; font-weight: 900; letter-spacing: 2.2px; text-transform: uppercase; color: var(--acc-soft); }
#tdHud .td-name { color: #fff; letter-spacing: .6px; text-transform: none; font-weight: 800; }
#tdHud .td-hint { margin-top: 4px; font-size: 11.5px; color: var(--txt-1); }
#tdHud .td-time {
    font-family: var(--mono); font-size: 34px; font-weight: 800; letter-spacing: 2px; line-height: 1;
    color: #fff; text-shadow: 0 0 18px rgba(var(--acc-rgb), .65);
    font-variant-numeric: tabular-nums; min-width: 96px; text-align: right;
}
#tdHud .td-bar {
    position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .07);
}
#tdHud .td-bar i {
    display: block; height: 100%; width: 100%;
    background: var(--grad-cta); box-shadow: 0 0 12px var(--glow-acc);
    transition: width .12s linear;
}
#tdHud.urgent .td-time { color: #ff8a96; text-shadow: 0 0 18px rgba(255, 92, 108, .7); animation: tdPulse .5s ease-in-out infinite alternate; }
#tdHud.urgent .td-bar i { background: linear-gradient(90deg, #ff5c6c, #ff9a4a); box-shadow: 0 0 12px rgba(255, 92, 108, .6); }
@keyframes tdPulse { from { transform: scale(1); } to { transform: scale(1.06); } }

/* ════════════════════════════════════════════════════════════════════════
   ADMIN ITEM PICKER  (searchable item-name inputs, inventory thumbnails)
   ════════════════════════════════════════════════════════════════════════ */
.ip-host { position: relative; }
.ip-search { position: relative; display: flex; }
.ip-search > svg {
    position: absolute; left: 14px; top: 50%; width: 17px; height: 17px;
    transform: translateY(-50%); color: var(--acc-soft); pointer-events: none;
}
.field .ip-search input[type=text] { flex: 1; padding-left: 42px; }
.ip-quick .ip-search input[type=text] { border-color: rgba(var(--acc2-rgb), .3); background: rgba(var(--acc2-rgb), .07); }

.ip-menu {
    /* in-flow on purpose: an absolute list gets clipped by the scrollable modal */
    position: relative; z-index: 2;
    max-height: 300px; overflow-y: auto; scrollbar-width: thin;
    padding: 6px; border-radius: 14px;
    background: linear-gradient(170deg, #232544, #191a30);
    border: 1px solid var(--line-acc);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .65), 0 0 0 1px rgba(var(--acc2-rgb), .12);
    display: none;
}
.ip-menu.open { display: block; animation: ipIn .14s ease both; }
.ip-menu::-webkit-scrollbar { width: 8px; }
.ip-menu::-webkit-scrollbar-thumb { background: rgba(var(--acc2-rgb), .25); border-radius: 8px; }
@keyframes ipIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.ip-head {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 2px 4px 6px 8px;
    font-size: 10px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: var(--txt-2);
}
.ip-refresh {
    width: 26px; height: 26px; flex: none; display: grid; place-items: center;
    border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
    color: var(--txt-1); transition: color .15s, border-color .15s;
}
.ip-refresh svg { width: 14px; height: 14px; }
.ip-refresh:hover { color: #fff; border-color: var(--line-acc); }
.ip-refresh.spin svg { animation: ipSpin .8s linear infinite; }
@keyframes ipSpin { to { transform: rotate(360deg); } }

.ip-opt {
    width: 100%; display: flex; align-items: center; gap: 11px;
    padding: 6px 9px; border-radius: 10px; border: none; text-align: left;
    background: transparent; color: var(--txt-1);
    transition: background .12s, color .12s;
}
.ip-opt:hover, .ip-opt.act { background: rgba(var(--acc2-rgb), .16); color: #fff; }
.ip-opt.act { box-shadow: inset 0 0 0 1px rgba(var(--acc2-rgb), .35); }
.ip-thumb {
    position: relative; width: 38px; height: 38px; flex: none; overflow: hidden;
    display: grid; place-items: center; border-radius: 9px;
    background: rgba(9, 9, 20, .75); border: 1px solid var(--line-2); color: var(--txt-2);
}
.ip-thumb svg { width: 17px; height: 17px; }
.ip-thumb img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: contain; }
.ip-thumb.ok svg { display: none; }
.ip-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ip-txt b, .ip-txt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ip-txt b { font-size: 13px; font-weight: 700; color: inherit; }
.ip-txt small { font-size: 11px; color: var(--txt-2); font-family: 'GTAArtDeco', Arial, sans-serif; }
.ip-note { padding: 14px 10px; text-align: center; font-size: 12px; color: var(--txt-2); }

@media (prefers-reduced-motion: reduce) {
    .ip-menu.open, .ip-refresh.spin svg { animation: none; }
    .ip-opt, .ip-refresh { transition: none; }
}

/* ── Settings: daily coin prizes editor ──────────────────────────────── */
.adm-row.dc-row { align-items: flex-start; }
.dc-row .ar-thumb .cg { width: 26px; height: 26px; }
.dc-grid { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin-top: 10px; }
.dc-day { display: flex; flex-direction: column; gap: 5px; width: 92px; }
.dc-day span { font-size: 9.5px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: var(--txt-2); }
.dc-day input {
    width: 100%; padding: 9px 10px; border-radius: 10px;
    background: rgba(9, 9, 20, .75); border: 1px solid var(--line-2);
    color: var(--txt-0); font-size: 13px; font-weight: 700; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.dc-day input:focus { border-color: var(--line-acc); box-shadow: 0 0 0 3px rgba(var(--acc2-rgb), .13); }
.dc-tools { display: flex; gap: 6px; }
.dc-actions { display: flex; flex-direction: column; gap: 8px; flex: none; align-self: center; }
@media (prefers-reduced-motion: reduce) { .dc-day input { transition: none; } }
