:root{--bg:#100d16;--panel:#1a1522;--panel2:#221b2c;--text:#fffaf5;--muted:#a99eb1;--accent:#9d70ff;--berry:#8c6cff;--danger:#ff667f;--line:rgba(255,255,255,.09);--safeT:env(safe-area-inset-top,0px);--safeB:env(safe-area-inset-bottom,0px);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color-scheme:dark}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#09070d;color:var(--text)}body{overscroll-behavior:none}button{font:inherit;color:inherit;border:0}.game-shell{width:100%;height:100dvh;max-width:560px;margin:auto;position:relative;overflow:hidden;background:var(--bg);box-shadow:0 0 80px #000}.scene{display:none;position:absolute;inset:0;min-height:0;background:var(--bg)}.scene.is-active{display:flex}.eyebrow{font-size:10px;font-weight:900;letter-spacing:.17em;color:#c6b8cf}.wallet-pill{height:38px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.06);display:flex;align-items:center;gap:7px}.wallet-pill b{font-size:14px}.icon-button,.back-button,.result-close,.hud-exit{display:grid;place-items:center;background:rgba(255,255,255,.07);border:1px solid var(--line);border-radius:14px;cursor:pointer}
/* HOME */
.scene-home{flex-direction:column;padding:calc(var(--safeT) + 14px) 20px calc(var(--safeB) + 12px);background:radial-gradient(circle at 50% 43%,#352045 0,#1d1426 31%,#100d16 66%)}.scene-home:before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px);background-size:21px 21px;mask-image:linear-gradient(to bottom,black,transparent 75%);pointer-events:none}.home-topbar{height:42px;display:flex;justify-content:space-between;position:relative;z-index:2}.icon-button{width:38px;height:38px}.home-hero{position:relative;z-index:1;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:5px}.logo-lockup{text-align:center;position:relative;z-index:2}.logo-lockup h1{font-size:clamp(38px,11vw,60px);line-height:.82;margin:8px 0 0;letter-spacing:-.065em;font-weight:1000}.logo-lockup h1 em{font-style:normal;color:var(--accent);text-shadow:0 0 28px color-mix(in srgb,var(--accent) 45%,transparent)}.version-chip{position:absolute;right:-12px;bottom:-8px;font-size:11px;font-weight:1000;background:#fff;color:#17111e;padding:5px 7px;border-radius:8px;transform:rotate(-8deg)}.bailey-stage{width:min(62vw,300px);aspect-ratio:1/.83;margin:7px 0 -2px;position:relative;display:grid;place-items:center}.orbit{position:absolute;border:1px solid rgba(255,255,255,.11);border-radius:50%;transform:rotate(-12deg)}.orbit-a{width:100%;height:58%}.orbit-b{width:78%;height:98%;transform:rotate(65deg)}.sock-float{position:absolute;font-size:35px;filter:drop-shadow(0 8px 10px #0008)}.sock-a{left:3%;top:20%;transform:rotate(-24deg)}.sock-b{right:2%;bottom:15%;transform:rotate(21deg)}.bailey-line{font-size:14px;font-weight:750;color:#ddd4e2;margin:0 0 12px}.play-button{width:min(92%,380px);padding:14px 20px 13px;border-radius:20px;background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 66%,#ff7bad));box-shadow:0 13px 32px color-mix(in srgb,var(--accent) 28%,transparent);cursor:pointer}.play-button span{display:block;font-size:24px;font-weight:1000;letter-spacing:.04em}.play-button i{display:block;font-style:normal;font-size:9px;font-weight:900;letter-spacing:.16em;opacity:.72}.best-run{height:28px;margin-top:10px;display:flex;gap:7px;align-items:baseline;color:var(--muted);font-size:10px;font-weight:850}.best-run b{font-size:17px;color:#fff}.best-run span{letter-spacing:.12em}.home-dock{height:64px;flex:none;border:1px solid var(--line);border-radius:22px;background:rgba(14,11,18,.78);backdrop-filter:blur(18px);display:grid;grid-template-columns:1fr 1fr 1fr;padding:5px}.home-dock button{background:transparent;border-radius:16px;color:#94899e;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.home-dock button span{font-size:20px}.home-dock button b{font-size:10px}.home-dock .is-active{background:#fff;color:#18121e;transform:translateY(-5px);box-shadow:0 9px 24px #0008}
/* BAILEY CSS MASCOT */
.bailey-mascot{position:relative;display:block;filter:drop-shadow(0 18px 24px #0007)}.mascot-xl{width:140px;height:125px}.mascot-md{width:98px;height:88px}.mascot-sm{width:57px;height:51px}.bailey-mascot .head{position:absolute;left:14%;top:10%;width:72%;height:72%;background:linear-gradient(150deg,#eadbc8,#c8b19b);border-radius:48% 48% 43% 43%;box-shadow:inset 0 -12px 18px rgba(79,49,38,.17)}.bailey-mascot .ear{position:absolute;top:2%;width:31%;height:54%;background:#74564e;border-radius:65% 45% 55% 65%;z-index:-1}.bailey-mascot .ear.left{left:1%;transform:rotate(-22deg)}.bailey-mascot .ear.right{right:1%;transform:scaleX(-1) rotate(-22deg)}.bailey-mascot .eye{position:absolute;top:31%;width:9%;aspect-ratio:1;background:#171319;border-radius:50%}.bailey-mascot .eye.left{left:27%}.bailey-mascot .eye.right{right:27%}.bailey-mascot .muzzle{position:absolute;left:31%;bottom:10%;width:38%;height:32%;background:#f2e4d5;border-radius:50%}.bailey-mascot .nose{position:absolute;left:44%;bottom:27%;width:15%;height:12%;background:#161218;border-radius:50%}.bailey-mascot .tag{position:absolute;bottom:0;left:42%;width:20%;aspect-ratio:1;border-radius:50%;background:var(--accent);display:grid;place-items:center;font-size:.55em;font-weight:1000;border:2px solid #fff}
/* GAME */
.scene-game{flex-direction:column;background:#08060c;padding-top:var(--safeT);padding-bottom:var(--safeB)}.game-hud{height:76px;flex:none;display:grid;grid-template-columns:42px 1fr 1fr 58px;align-items:center;gap:8px;padding:9px 12px;border-bottom:1px solid var(--line);background:#100d16}.hud-exit{width:38px;height:38px;font-size:26px}.hud-stat,.hud-combo{min-width:0}.game-hud small{display:block;font-size:8px;font-weight:900;letter-spacing:.15em;color:#8f8497}.game-hud b{font-size:20px;line-height:1}.hud-combo b{color:var(--accent)}.timer-disc{width:52px;height:52px;position:relative;display:grid;place-items:center}.timer-disc svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}.timer-disc circle{fill:none;stroke:rgba(255,255,255,.08);stroke-width:4}.timer-disc .timer-ring{stroke:var(--accent);stroke-linecap:round;stroke-dasharray:113.1;stroke-dashoffset:0;transition:stroke-dashoffset .12s linear}.timer-disc b{font-size:15px}.arena-shell{position:relative;flex:1;min-height:0;overflow:hidden}.arena-shell canvas{display:block;width:100%;height:100%;touch-action:none}.arena-vignette{position:absolute;inset:0;box-shadow:inset 0 0 60px #0009;pointer-events:none}.floating-toast{position:absolute;top:18px;left:50%;transform:translate(-50%,-10px) scale(.96);opacity:0;background:#fff;color:#151019;border-radius:999px;padding:8px 13px;font-size:11px;font-weight:1000;letter-spacing:.04em;pointer-events:none}.floating-toast.show{animation:toast .95s ease}.chaos-flash{position:absolute;inset:0;display:grid;place-content:center;text-align:center;background:rgba(91,20,42,.74);backdrop-filter:blur(2px);opacity:0;pointer-events:none;transition:.25s}.chaos-flash.show{opacity:1;animation:chaosPulse 1s infinite alternate}.chaos-flash b{font-size:42px;letter-spacing:-.05em}.chaos-flash span{font-size:11px;font-weight:900;letter-spacing:.24em}.bailey-cutin{position:absolute;left:10px;bottom:10px;max-width:78%;display:flex;gap:9px;align-items:center;transform:translateX(-115%);transition:.25s cubic-bezier(.2,.8,.2,1);pointer-events:none}.bailey-cutin.show{transform:translateX(0)}.bailey-cutin p{margin:0;padding:10px 12px;background:#fff;color:#17121c;border-radius:8px 16px 16px 16px;font-size:11px;font-weight:850;box-shadow:0 9px 24px #0008}.game-control-strip{height:88px;flex:none;display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:12px;padding:9px 14px;border-top:1px solid var(--line);background:#100d16}.held-target{height:64px;border-radius:18px;border:1px solid var(--line);background:#18131f;display:flex;align-items:center;padding:8px 10px;gap:9px;opacity:.55}.held-target.is-active{opacity:1;border-color:color-mix(in srgb,var(--accent) 55%,transparent);box-shadow:inset 0 0 20px color-mix(in srgb,var(--accent) 10%,transparent)}.held-sock{font-size:32px}.held-target small{display:block;font-size:7px;font-weight:900;letter-spacing:.13em;color:var(--muted)}.held-target b{font-size:22px}.chaos-gauge span{display:flex;justify-content:space-between;align-items:center}.chaos-gauge b,.chaos-gauge small{font-size:8px;font-weight:950;letter-spacing:.12em}.chaos-gauge small{color:var(--muted)}.chaos-gauge i{display:block;height:9px;margin-top:7px;background:#211a28;border-radius:99px;overflow:hidden}.chaos-gauge em{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--accent),#ff637e);border-radius:inherit;transition:width .18s}
/* RESULT */
.scene-result{flex-direction:column;align-items:center;justify-content:center;padding:calc(var(--safeT) + 24px) 24px calc(var(--safeB) + 24px);text-align:center;background:radial-gradient(circle at 50% 25%,color-mix(in srgb,var(--accent) 25%,#17101d),#100d16 57%)}.result-close{position:absolute;top:calc(var(--safeT) + 14px);right:16px;width:40px;height:40px;font-size:24px}.result-mascot{margin-bottom:14px}.scene-result h2{font-size:30px;letter-spacing:-.05em;margin:7px 0 0}.result-score{margin:9px 0 14px}.result-score b{display:block;font-size:clamp(56px,18vw,86px);line-height:.9;letter-spacing:-.07em}.result-score span{font-size:9px;font-weight:1000;letter-spacing:.24em;color:var(--muted)}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);width:100%;max-width:390px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.035);overflow:hidden}.result-stats div{padding:13px 5px;border-right:1px solid var(--line)}.result-stats div:last-child{border:0}.result-stats b{display:block;font-size:20px}.result-stats small{font-size:8px;font-weight:900;color:var(--muted)}.scene-result blockquote{font-size:13px;line-height:1.45;color:#d9cedf;margin:18px auto;max-width:350px}.primary-action{width:100%;max-width:390px;padding:15px 18px;border-radius:17px;background:var(--accent);font-weight:1000;letter-spacing:.04em;cursor:pointer}.primary-action:disabled{opacity:.45}.text-action{margin-top:9px;background:transparent;color:#afa3b8;font-size:12px;font-weight:800;padding:10px}
/* PAGES */
.scene-page{flex-direction:column;padding-top:var(--safeT);background:#100d16}.page-header{height:74px;flex:none;padding:12px 14px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;border-bottom:1px solid var(--line)}.back-button{width:40px;height:40px;font-size:31px}.page-header h2{font-size:23px;line-height:1;margin:2px 0 0;letter-spacing:-.035em}.period-switch{height:48px;flex:none;padding:7px 14px;display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.period-switch button{border-radius:12px;background:#18131f;color:#8f8498;font-size:11px;font-weight:900}.period-switch button.is-active{background:#fff;color:#151019}.leaderboard-scroll,.shop-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:10px 14px calc(var(--safeB) + 24px)}.podium{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:2px 0 14px}.podium-card{min-height:96px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#211a2a,#17121e);padding:14px;display:flex;flex-direction:column;justify-content:end}.podium-card.rank-1{grid-column:1/-1;min-height:122px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 23%,#211a2a),#17121e)}.podium-card span{font-size:20px;margin-bottom:auto}.podium-card b{font-size:26px}.podium-card.rank-1 b{font-size:35px}.podium-card small{font-size:10px;color:var(--muted)}.empty-state{grid-column:1/-1;padding:28px;text-align:center;border:1px dashed var(--line);border-radius:18px}.empty-state b,.empty-state span{display:block}.empty-state span{color:var(--muted);font-size:12px;margin-top:4px}.score-list{display:flex;flex-direction:column;gap:6px}.score-list article{min-height:61px;border:1px solid var(--line);border-radius:16px;background:#17121e;display:grid;grid-template-columns:40px 1fr auto;align-items:center;padding:9px 13px}.score-list .rank{font-size:11px;font-weight:950;color:var(--muted)}.score-list b{display:block;font-size:13px}.score-list small{font-size:9px;color:var(--muted)}.score-list strong{font-size:17px}
/* SHOP */
.scene-shop{overflow:hidden}.loadout-strip{height:62px;flex:none;display:flex;gap:6px;padding:7px 14px;overflow-x:auto;scrollbar-width:none}.loadout-strip::-webkit-scrollbar,.shop-categories::-webkit-scrollbar{display:none}.loadout-strip button{min-width:61px;border:1px solid var(--line);border-radius:14px;background:#17121e;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.loadout-strip button span{font-size:19px}.loadout-strip button small{font-size:7px;color:var(--muted);font-weight:900}.shop-categories{height:44px;flex:none;display:flex;gap:6px;padding:4px 14px;overflow-x:auto;scrollbar-width:none}.shop-categories button{white-space:nowrap;border-radius:999px;padding:0 12px;background:#1a1521;color:#8f8498;font-size:9px;font-weight:900}.shop-categories button span{margin-right:5px}.shop-categories button.is-active{background:#fff;color:#151019}.shop-scroll{padding-top:8px}.shop-feature{min-height:124px;border-radius:22px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 28%,#24192e),#17121e);border:1px solid color-mix(in srgb,var(--accent) 32%,transparent);padding:17px;display:flex;align-items:center;justify-content:space-between;gap:10px}.shop-feature h3{margin:4px 0;font-size:22px}.shop-feature p{margin:0 0 7px;color:#b7aebe;font-size:11px;max-width:260px}.shop-feature b{font-size:11px}.feature-icon{font-size:58px;filter:drop-shadow(0 10px 12px #0006)}.collection-heading{display:flex;justify-content:space-between;align-items:end;margin:18px 2px 10px}.collection-heading h3{margin:2px 0 0;font-size:20px}.collection-heading>b{font-size:12px;color:var(--muted)}.item-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.shop-item{min-height:163px;text-align:left;border:1px solid var(--line);border-radius:20px;background:#17121e;padding:10px;overflow:hidden}.shop-item.is-equipped{border-color:color-mix(in srgb,var(--accent) 65%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 15%,transparent)}.item-art{height:88px;border-radius:14px;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 18%,#2a2233),#211a29);display:grid;place-items:center;font-size:46px}.shop-item small{display:block;margin:8px 0 2px;font-size:7px;font-weight:950;letter-spacing:.13em;color:var(--accent)}.shop-item b{display:block;font-size:13px}.shop-item span{display:block;margin-top:3px;color:#a69baa;font-size:9px;font-weight:800}.item-sheet{position:absolute;inset:0;z-index:20;display:none;align-items:end}.item-sheet.is-open{display:flex}.sheet-scrim{position:absolute;inset:0;background:#000b;backdrop-filter:blur(4px)}.item-sheet article{position:relative;width:100%;background:#1b1522;border-radius:26px 26px 0 0;padding:20px 18px calc(var(--safeB) + 20px);animation:sheetUp .24s ease}.sheet-close{position:absolute;right:15px;top:15px;width:34px;height:34px;border-radius:12px;background:#2a2232;font-size:20px}.sheet-art{height:120px;border-radius:20px;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 25%,#30223b),#211827);display:grid;place-items:center;font-size:66px;margin-bottom:16px}.item-sheet h3{font-size:26px;margin:4px 0}.item-sheet p{color:#b4aabd;font-size:12px;line-height:1.5;margin:0 0 16px}.shake{animation:shake .32s}
@keyframes toast{0%{opacity:0;transform:translate(-50%,-10px) scale(.96)}18%,72%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-4px)}}@keyframes chaosPulse{to{background:rgba(65,18,73,.7)}}@keyframes sheetUp{from{transform:translateY(100%)}to{transform:none}}@keyframes shake{25%{transform:translateX(-6px)}50%{transform:translateX(6px)}75%{transform:translateX(-4px)}}
@media (max-height:690px){.mascot-xl{width:108px;height:96px}.bailey-stage{width:min(49vw,235px);margin:3px 0}.logo-lockup h1{font-size:38px}.bailey-line{margin-bottom:8px}.play-button{padding:11px 18px}.best-run{margin-top:6px}.home-dock{height:58px}.game-hud{height:66px}.game-control-strip{height:78px}.held-target{height:56px}.result-mascot{width:76px;height:68px}.scene-result blockquote{margin:12px auto}.result-score b{font-size:58px}}
/* 2.1 cleanup: one shop navigation row, clearer game objects, stronger Bailey silhouette */
.scene-shop .shop-categories{height:54px;padding:8px 14px 6px;border-bottom:1px solid var(--line)}
.scene-shop .shop-categories button{min-height:38px;padding:0 14px}
.scene-shop .shop-scroll{padding-top:12px}
.bailey-mascot .ear{width:31px;height:43px;border-radius:55% 55% 30% 30%;top:1px;background:#76584f;transform-origin:bottom center}
.bailey-mascot .ear.left{left:12px;transform:rotate(-15deg)}.bailey-mascot .ear.right{right:12px;transform:rotate(15deg)}
.bailey-mascot .head{width:78%;height:68%;left:11%;top:24%;border-radius:34% 34% 42% 42%;background:#d8c0a9}
.bailey-mascot .muzzle{width:48%;height:35%;left:26%;top:47%;border-radius:50%;background:#fff0e2}
.bailey-mascot .nose{width:12%;height:9%;left:44%;top:54%;border-radius:55%;background:#171219}
.bailey-mascot .eye{top:34%;width:7%;height:9%;background:#171219}.bailey-mascot .eye.left{left:29%}.bailey-mascot .eye.right{right:29%}
.bailey-mascot .head:after{content:"";position:absolute;left:40%;top:19%;width:20%;height:8%;border-top:2px solid rgba(90,62,55,.35);border-radius:50%}

/* 2.2 GAME JUICE — escalation, impact, readable combo rewards */
.hud-combo{position:relative}.hud-combo i{display:block;height:10px;margin-top:2px;font-style:normal;font-size:7px;font-weight:1000;letter-spacing:.12em;color:var(--accent);opacity:.7}.hud-combo[data-tier="1"] b,.hud-combo[data-tier="2"] b,.hud-combo[data-tier="3"] b{animation:comboBeat .45s ease}.hud-combo[data-tier="2"]{filter:drop-shadow(0 0 8px color-mix(in srgb,var(--accent) 60%,transparent))}.hud-combo[data-tier="3"]{filter:drop-shadow(0 0 12px #ffb34799)}
.impact-flash{position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(circle at 50% 52%,color-mix(in srgb,var(--accent) 24%,transparent),transparent 52%)}.impact-flash.hit{animation:impactFlash .22s ease-out}
.score-pop{position:absolute;left:50%;top:39%;transform:translate(-50%,8px) scale(.82);opacity:0;pointer-events:none;font-size:26px;font-weight:1000;letter-spacing:-.04em;text-shadow:0 4px 14px #000,0 0 20px color-mix(in srgb,var(--accent) 70%,transparent)}.score-pop.show{animation:scorePop .55s cubic-bezier(.16,.9,.3,1)}
.phase-banner{position:absolute;left:50%;top:16%;transform:translate(-50%,-12px) scale(.92);opacity:0;pointer-events:none;text-align:center;padding:9px 16px 8px;border-radius:14px;background:rgba(9,7,13,.78);border:1px solid color-mix(in srgb,var(--accent) 42%,transparent);backdrop-filter:blur(8px)}.phase-banner small{display:block;font-size:7px;font-weight:950;letter-spacing:.22em;color:var(--muted)}.phase-banner b{display:block;margin-top:1px;font-size:21px;letter-spacing:.04em}.phase-banner.show{animation:phaseIn 1.05s ease}
.chaos-gauge strong{display:block;margin-top:5px;font-size:7px;letter-spacing:.08em;color:#8f8498;font-weight:850}
body[data-phase="RUSH"] .arena-shell{box-shadow:inset 0 0 34px color-mix(in srgb,var(--accent) 7%,transparent)}body[data-phase="TURBO"] .arena-shell{box-shadow:inset 0 0 46px color-mix(in srgb,var(--accent) 11%,transparent)}body[data-phase="PANIKA"] .arena-shell{box-shadow:inset 0 0 60px rgba(255,94,114,.12)}body[data-phase="PANIKA"] .timer-disc{animation:timerPanic .7s ease-in-out infinite alternate}
.result-badge{min-height:21px;margin-top:7px;padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--accent) 18%,transparent);font-size:8px;font-weight:1000;letter-spacing:.11em;color:#f7effa}.next-challenge{width:100%;max-width:390px;margin:0 0 10px;padding:9px 12px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.035);display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left}.next-challenge small{grid-column:1/-1;font-size:7px;font-weight:950;letter-spacing:.16em;color:var(--muted)}.next-challenge b{font-size:13px;margin-top:2px}.next-challenge span{font-size:9px;color:var(--accent);font-weight:900}.primary-action small{display:block;margin-top:2px;font-size:8px;opacity:.68;text-transform:uppercase;letter-spacing:.12em}
@keyframes impactFlash{0%{opacity:0}30%{opacity:1}100%{opacity:0}}@keyframes scorePop{0%{opacity:0;transform:translate(-50%,10px) scale(.78)}18%{opacity:1;transform:translate(-50%,-4px) scale(1.08)}72%{opacity:1;transform:translate(-50%,-17px) scale(1)}100%{opacity:0;transform:translate(-50%,-29px) scale(.92)}}@keyframes phaseIn{0%{opacity:0;transform:translate(-50%,-12px) scale(.9)}15%,68%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-8px) scale(.97)}}@keyframes comboBeat{0%{transform:scale(1)}35%{transform:scale(1.16)}100%{transform:scale(1)}}@keyframes timerPanic{to{filter:drop-shadow(0 0 9px rgba(255,90,110,.8))}}
@media (max-height:690px){.phase-banner{top:12%}.score-pop{top:36%}.next-challenge{padding:7px 10px;margin-bottom:7px}.result-badge{margin-top:4px}.scene-result blockquote{margin:9px auto}}

/* 2.3 SOUND + REVERSE READABILITY */
.scene-home .orbit-a{animation:homeOrbitA 9s linear infinite}.scene-home .orbit-b{animation:homeOrbitB 13s linear infinite}.scene-home .sock-a{animation:homeSockA 3.1s ease-in-out infinite}.scene-home .sock-b{animation:homeSockB 3.7s ease-in-out infinite}.scene-home .mascot-xl{animation:homeBailey 2.8s ease-in-out infinite}.scene-home .play-button{animation:homePlayGlow 2.4s ease-in-out infinite alternate}
/* Reverse is now a readable signal, never a dark modal over gameplay. */
.chaos-flash{inset:12px auto auto 50%;width:auto;min-width:164px;height:auto;display:block;place-content:unset;transform:translateX(-50%);padding:9px 15px 8px;border-radius:999px;background:rgba(28,12,35,.72);border:1px solid color-mix(in srgb,var(--accent) 58%,#fff);backdrop-filter:blur(7px);box-shadow:0 8px 24px #0008,0 0 26px color-mix(in srgb,var(--accent) 20%,transparent);opacity:0;pointer-events:none;transition:.18s;z-index:7}
.chaos-flash.show{opacity:1;animation:reverseBanner .9s ease both}.chaos-flash b{display:inline;font-size:15px;letter-spacing:.04em}.chaos-flash span{display:inline;margin-left:7px;font-size:7px;letter-spacing:.13em;color:#d7c8dc}
body[data-event="reverse"] .arena-shell:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;border:2px solid color-mix(in srgb,var(--accent) 38%,transparent);box-shadow:inset 0 0 32px color-mix(in srgb,var(--accent) 12%,transparent)}
body[data-event="reverse"] .arena-shell canvas{filter:saturate(1.08) brightness(1.04)}
body[data-event="reverse"] .chaos-gauge small{color:var(--accent)}
@keyframes reverseBanner{0%{opacity:0;transform:translate(-50%,-12px) scale(.9)}18%,72%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-5px) scale(.96)}}
@keyframes homeOrbitA{to{transform:rotate(348deg)}}@keyframes homeOrbitB{to{transform:rotate(425deg)}}
@keyframes homeSockA{0%,100%{transform:translateY(0) rotate(-24deg)}50%{transform:translateY(-8px) rotate(-16deg)}}@keyframes homeSockB{0%,100%{transform:translateY(0) rotate(21deg)}50%{transform:translateY(7px) rotate(29deg)}}
@keyframes homeBailey{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.015)}}
@keyframes homePlayGlow{to{box-shadow:0 16px 38px color-mix(in srgb,var(--accent) 40%,transparent)}}
@media (prefers-reduced-motion:reduce){.scene-home .orbit,.scene-home .sock-float,.scene-home .mascot-xl,.scene-home .play-button{animation:none}}
/* 2.4 BAILEY PERSONALITY DIRECTOR */
.bailey-line{max-width:390px;text-align:center;min-height:2.55em;display:grid;place-items:center;line-height:1.28;transition:.2s}
.bailey-cutin{z-index:8;max-width:min(88%,430px)}
.bailey-cutin p{font-size:12px;line-height:1.28;font-weight:900;max-width:320px;border:1px solid rgba(0,0,0,.08)}
.bailey-cutin.show .mascot-sm{animation:baileyTalkBob .28s ease-out}
@keyframes baileyTalkBob{0%{transform:translateX(-5px) rotate(-4deg) scale(.94)}60%{transform:translateX(2px) rotate(2deg) scale(1.04)}100%{transform:none}}


/* 2.10 — Bailey commentator moved to upper-right gameplay zone */
.arena-shell .bailey-cutin{left:auto;right:10px;bottom:auto;top:10px;max-width:min(60vw,260px);flex-direction:row-reverse;align-items:flex-start;justify-content:flex-end;transform:translateX(118%);z-index:9}
.arena-shell .bailey-cutin.show{transform:translateX(0)}
.arena-shell .bailey-cutin p{max-width:min(47vw,220px);border-radius:16px 8px 16px 16px;margin-top:2px;box-shadow:0 10px 28px rgba(0,0,0,.32)}
.arena-shell .bailey-cutin .mascot-sm{flex:none}
@media (max-width:390px){.arena-shell .bailey-cutin{right:8px;top:8px;max-width:min(65vw,250px)}.arena-shell .bailey-cutin p{max-width:min(50vw,205px);font-size:11px;padding:9px 11px}}
@media (max-height:700px){.arena-shell .bailey-cutin{top:8px}.arena-shell .bailey-cutin p{font-size:11px;line-height:1.22}}


/* 2.11 — Bailey commentary in HUD, out of gameplay path */
.game-hud{position:relative;overflow:visible}
.game-hud .bailey-cutin{position:absolute;right:66px;top:50%;bottom:auto;left:auto;max-width:min(42vw,190px);display:flex;flex-direction:row-reverse;gap:7px;align-items:center;transform:translate(118%,-50%);transition:.22s cubic-bezier(.2,.8,.2,1);pointer-events:none;z-index:6}
.game-hud .bailey-cutin.show{transform:translate(0,-50%)}
.game-hud .bailey-cutin .mascot-sm{width:40px;height:36px;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}
.game-hud .bailey-cutin p{margin:0;max-width:min(30vw,136px);padding:7px 10px;background:#fff;color:#17121c;border-radius:14px 8px 14px 14px;font-size:10px;line-height:1.18;font-weight:900;box-shadow:0 8px 18px rgba(0,0,0,.24);border:1px solid rgba(0,0,0,.07)}
.game-hud .bailey-cutin.show .mascot-sm{animation:baileyTalkBob .28s ease-out}
.arena-shell .bailey-cutin{display:none}
@media (max-width:390px){.game-hud .bailey-cutin{right:58px;max-width:min(43vw,175px)}.game-hud .bailey-cutin p{max-width:min(29vw,126px);font-size:9.5px;padding:7px 9px}}
@media (max-height:700px){.game-hud .bailey-cutin .mascot-sm{width:37px;height:33px}.game-hud .bailey-cutin p{font-size:9px;line-height:1.15}}


/* 2.11 — Bailey visual refresh based on real blue/grey French bulldog reference */
.bailey-mascot{filter:drop-shadow(0 16px 22px rgba(0,0,0,.42))}
.bailey-mascot .tag{display:none!important}
.bailey-mascot .ear{background:linear-gradient(180deg,#6f7077 0%,#555862 72%,#484b54 100%)!important;border-radius:54% 54% 30% 30%!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),inset 0 -7px 10px rgba(0,0,0,.18)}
.bailey-mascot .ear.left{left:8px!important;transform:rotate(-9deg)!important}
.bailey-mascot .ear.right{right:8px!important;transform:rotate(9deg)!important}
.bailey-mascot .head{left:7%!important;top:20%!important;width:86%!important;height:72%!important;border-radius:42% 42% 46% 46%!important;background:radial-gradient(circle at 52% 28%,#80828a 0%,#74767f 35%,#656872 68%,#5b5e67 100%)!important;box-shadow:inset 0 -12px 18px rgba(28,29,35,.24),inset 0 2px 4px rgba(255,255,255,.06)!important}
.bailey-mascot .head:before{content:"";position:absolute;left:31%;top:18%;width:38%;height:18%;border-top:3px solid rgba(40,40,46,.36);border-radius:50%;box-shadow:0 5px 0 -2px rgba(40,40,46,.18)}
.bailey-mascot .head:after{content:""!important;position:absolute!important;left:44%!important;top:24%!important;width:12%!important;height:18%!important;border:0!important;border-left:2px solid rgba(35,35,42,.2)!important;border-radius:50%!important}
.bailey-mascot .eye{top:35%!important;width:10%!important;height:12%!important;background:radial-gradient(circle at 38% 32%,#fff 0 10%,#232630 12%,#090b0f 68%,#000 100%)!important;box-shadow:0 0 0 2px rgba(35,35,42,.2)}
.bailey-mascot .eye.left{left:25%!important}.bailey-mascot .eye.right{right:25%!important}
.bailey-mascot .muzzle{left:22%!important;top:48%!important;width:56%!important;height:38%!important;border-radius:48% 48% 50% 50%!important;background:linear-gradient(180deg,#c7c4c0 0%,#b7b5b2 64%,#d5d0c9 100%)!important;box-shadow:inset 0 -5px 8px rgba(80,78,78,.12)}
.bailey-mascot .muzzle:before,.bailey-mascot .muzzle:after{content:"";position:absolute;bottom:8%;width:38%;height:42%;border-bottom:2px solid rgba(64,58,60,.3);border-radius:50%}
.bailey-mascot .muzzle:before{left:5%;transform:rotate(7deg)}.bailey-mascot .muzzle:after{right:5%;transform:rotate(-7deg)}
.bailey-mascot .nose{left:41%!important;top:51%!important;width:18%!important;height:14%!important;border-radius:48% 48% 58% 58%!important;background:radial-gradient(circle at 42% 32%,#54545a 0 8%,#242329 18%,#111116 75%)!important;box-shadow:0 2px 3px rgba(0,0,0,.35)}
/* commentator lower under the top HUD */
.arena-shell .bailey-cutin{top:58px!important;right:10px!important;max-width:min(63vw,270px)!important}
@media (max-width:390px){.arena-shell .bailey-cutin{top:54px!important;right:8px!important}}
@media (max-height:700px){.arena-shell .bailey-cutin{top:46px!important}}


/* 2.12 — commentator lives inside arena, noticeably below HUD */
.game-hud .bailey-cutin{display:none!important}
.arena-shell .bailey-cutin{display:flex!important;position:absolute;left:auto!important;right:10px!important;top:22%!important;bottom:auto!important;max-width:min(74vw,330px)!important;flex-direction:row-reverse;gap:9px;align-items:center;justify-content:flex-start;transform:translateX(118%)!important;transition:.24s cubic-bezier(.2,.8,.2,1);pointer-events:none;z-index:9}
.arena-shell .bailey-cutin.show{transform:translateX(0)!important}
.arena-shell .bailey-cutin p{margin:0;max-width:min(55vw,250px)!important;padding:10px 13px!important;background:#fff;color:#17121c;border-radius:16px 8px 16px 16px!important;font-size:11.5px!important;line-height:1.24;font-weight:900;box-shadow:0 10px 28px rgba(0,0,0,.32);border:1px solid rgba(0,0,0,.07)}
.arena-shell .bailey-cutin .mascot-sm{width:56px!important;height:52px!important;flex:none;filter:drop-shadow(0 7px 12px rgba(0,0,0,.4))}
@media(max-width:390px){.arena-shell .bailey-cutin{right:8px!important;top:24%!important;max-width:min(78vw,300px)!important}.arena-shell .bailey-cutin p{max-width:min(57vw,218px)!important;font-size:10.5px!important;padding:9px 11px!important}}
@media(max-height:700px){.arena-shell .bailey-cutin{top:20%!important}}

/* French bulldog silhouette refinement — broad skull, rounded bat ears, short muzzle */
.bailey-mascot .ear{top:0!important;width:29%!important;height:50%!important;background:linear-gradient(180deg,#777c87,#5c616c)!important;border-radius:54% 54% 34% 34%!important;z-index:-1!important}
.bailey-mascot .ear.left{left:5%!important;transform:rotate(-4deg)!important}.bailey-mascot .ear.right{right:5%!important;transform:rotate(4deg)!important}
.bailey-mascot .head{left:5%!important;top:18%!important;width:90%!important;height:76%!important;border-radius:39% 39% 44% 44%!important;background:radial-gradient(circle at 50% 24%,#858a95 0,#747984 36%,#626771 72%,#575c66 100%)!important}
.bailey-mascot .eye{top:35%!important;width:11%!important;height:13%!important}.bailey-mascot .eye.left{left:24%!important}.bailey-mascot .eye.right{right:24%!important}
.bailey-mascot .muzzle{left:19%!important;top:49%!important;width:62%!important;height:39%!important;border-radius:46% 46% 50% 50%!important;background:linear-gradient(180deg,#cbc9c6,#b9b7b5 68%,#d6d2cd)!important}
.bailey-mascot .nose{left:40%!important;top:51%!important;width:20%!important;height:15%!important;border-radius:48% 48% 58% 58%!important}


/* 2.13 — real Bailey asset, replaces old CSS pseudo-dog entirely */
.bailey-mascot{
  background:url('../assets/bailey-face.png') center 45%/cover no-repeat!important;
  border-radius:34%!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.16)!important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.12),0 12px 24px rgba(0,0,0,.32)!important;
  filter:none!important;
}
.bailey-mascot>.ear,.bailey-mascot>.head,.bailey-mascot>.tag{display:none!important}
.mascot-xl{width:148px!important;height:148px!important;border-radius:38%!important}
.mascot-md{width:98px!important;height:98px!important;border-radius:38%!important}
.mascot-sm{width:58px!important;height:58px!important;border-radius:36%!important}
.arena-shell .bailey-cutin{top:27%!important;right:10px!important}
.arena-shell .bailey-cutin .mascot-sm{width:58px!important;height:58px!important}
@media(max-width:390px){.arena-shell .bailey-cutin{top:28%!important;right:8px!important}}
@media(max-height:700px){.arena-shell .bailey-cutin{top:24%!important}}


/* 2.14 — comic speech bubble above Bailey, less obstructive */
.arena-shell .bailey-cutin{
  top:31% !important;
  right:10px !important;
  left:auto !important;
  bottom:auto !important;
  max-width:min(44vw,172px) !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  gap:6px !important;
  transform:translateX(118%) scale(.96) !important;
  transform-origin:right center;
}
.arena-shell .bailey-cutin.show{transform:translateX(0) scale(1) !important}
.arena-shell .bailey-cutin p{
  order:1;
  position:relative;
  margin:0 !important;
  max-width:min(42vw,164px) !important;
  padding:9px 11px !important;
  font-size:10.5px !important;
  line-height:1.18 !important;
  font-weight:900;
  border-radius:18px !important;
  background:#fff;
  color:#17121c;
  box-shadow:0 10px 24px rgba(0,0,0,.28);
  border:1px solid rgba(0,0,0,.08);
}
.arena-shell .bailey-cutin p::after{
  content:"";
  position:absolute;
  right:16px;
  bottom:-9px;
  width:16px;
  height:16px;
  background:#fff;
  border-right:1px solid rgba(0,0,0,.08);
  border-bottom:1px solid rgba(0,0,0,.08);
  transform:rotate(45deg);
  border-radius:0 0 4px 0;
}
.arena-shell .bailey-cutin .mascot-sm{
  order:2;
  width:52px !important;
  height:52px !important;
  margin-right:4px;
  border-radius:18px !important;
  box-shadow:0 8px 18px rgba(0,0,0,.34) !important;
}
@media (max-width:390px){
  .arena-shell .bailey-cutin{top:32% !important; right:8px !important; max-width:min(47vw,168px) !important}
  .arena-shell .bailey-cutin p{max-width:min(44vw,160px) !important; font-size:10px !important; padding:8px 10px !important}
  .arena-shell .bailey-cutin .mascot-sm{width:48px !important;height:48px !important}
}
@media (max-height:700px){
  .arena-shell .bailey-cutin{top:28% !important}
}


/* 2.15 — separate Bailey assets for home and gameplay */
.scene-home .bailey-mascot, .scene-result .bailey-mascot{background-image:url('../assets/bailey-home.png')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;border:none!important;box-shadow:none!important;border-radius:0!important}
.arena-shell .bailey-cutin .bailey-mascot{background-image:url('../assets/bailey-game.png')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;border:none!important;box-shadow:none!important;border-radius:0!important}


/* 2.17 — home Bailey gets a livelier face */
.scene-home .bailey-mascot{background-image:url('../assets/bailey-game.png')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;}
.scene-result .bailey-mascot{background-image:url('../assets/bailey-home.png')!important;}


/* 2.18 — final Bailey cutouts selected by user */
.scene-home .bailey-mascot{background-image:url('../assets/bailey-home.png')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;}
.scene-result .bailey-mascot{background-image:url('../assets/bailey-home.png')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;}
.arena-shell .bailey-cutin .bailey-mascot{background-image:url('../assets/bailey-game.png')!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;}
.scene-home .mascot-xl{width:156px!important;height:156px!important;}


/* 2.19 — integrated bottom dock + softer Bailey speech glass */
.home-dock{
  height:68px!important;
  padding:6px!important;
  border-radius:24px!important;
  border:1px solid rgba(180,136,255,.16)!important;
  background:linear-gradient(180deg,rgba(28,21,38,.72),rgba(12,9,18,.90))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 14px 34px rgba(0,0,0,.34),0 0 28px rgba(157,112,255,.045)!important;
  backdrop-filter:blur(22px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(120%)!important;
  gap:4px!important;
}
.home-dock button{
  position:relative;
  border-radius:18px!important;
  color:#91869d!important;
  background:transparent!important;
  transition:transform .18s ease,color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
.home-dock button span{font-size:19px!important;filter:saturate(.88);transition:transform .18s ease,filter .18s ease}
.home-dock button b{font-size:10px!important;font-weight:800!important;letter-spacing:.01em}
.home-dock .is-active{
  color:#f4ecff!important;
  background:linear-gradient(180deg,rgba(157,112,255,.18),rgba(157,112,255,.075))!important;
  border:1px solid rgba(174,133,255,.20)!important;
  box-shadow:inset 0 0 22px rgba(157,112,255,.08),0 7px 20px rgba(0,0,0,.16)!important;
  transform:none!important;
}
.home-dock .is-active::after{
  content:"";
  position:absolute;
  left:50%;bottom:4px;
  width:22px;height:2px;
  transform:translateX(-50%);
  border-radius:99px;
  background:linear-gradient(90deg,transparent,var(--accent),transparent);
  box-shadow:0 0 10px color-mix(in srgb,var(--accent) 55%,transparent);
}
.home-dock .is-active span{transform:translateY(-1px) scale(1.04);filter:saturate(1.05) drop-shadow(0 0 7px rgba(157,112,255,.22))}

.arena-shell .bailey-cutin p{
  background:linear-gradient(145deg,rgba(37,28,50,.86),rgba(18,14,26,.78))!important;
  color:rgba(255,250,255,.95)!important;
  border:1px solid rgba(191,154,255,.18)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05),0 0 22px rgba(157,112,255,.055)!important;
  backdrop-filter:blur(14px) saturate(115%)!important;
  -webkit-backdrop-filter:blur(14px) saturate(115%)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:10.25px!important;
  line-height:1.24!important;
  font-weight:760!important;
  letter-spacing:-.01em!important;
  padding:9px 11px!important;
  border-radius:15px 15px 15px 6px!important;
}
.arena-shell .bailey-cutin p::after{
  right:16px!important;
  bottom:-7px!important;
  width:13px!important;
  height:13px!important;
  background:rgba(26,20,36,.90)!important;
  border-right:1px solid rgba(191,154,255,.16)!important;
  border-bottom:1px solid rgba(191,154,255,.16)!important;
  box-shadow:none!important;
}
.arena-shell .bailey-cutin .mascot-sm{
  filter:drop-shadow(0 7px 12px rgba(0,0,0,.34)) drop-shadow(0 0 8px rgba(157,112,255,.10))!important;
}
@media(max-width:390px){
  .home-dock{height:64px!important}
  .arena-shell .bailey-cutin p{font-size:9.8px!important;line-height:1.22!important;padding:8px 10px!important}
}


/* =========================
   2.20 FULL POLISH PASS
   ========================= */
/* Home — stronger hero, less debug/UI feel */
.version-chip{display:none!important}
.scene-home .bailey-stage{width:min(66vw,320px);margin:9px 0 2px}
.scene-home .bailey-stage::before{content:"";position:absolute;width:62%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 22%,transparent),transparent 68%);filter:blur(7px);animation:heroAura 3.8s ease-in-out infinite;pointer-events:none}
.scene-home .mascot-xl{width:160px!important;height:160px!important;filter:drop-shadow(0 16px 25px rgba(0,0,0,.26))!important;z-index:2}
.scene-home .orbit{opacity:.72}
.scene-home .sock-float{font-size:31px;opacity:.92}
.scene-home .sock-a{animation-duration:4.1s}.scene-home .sock-b{animation-duration:4.7s}
.bailey-line{width:min(92%,420px);min-height:auto!important;padding:6px 12px;margin:0 0 10px!important;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));border:1px solid rgba(255,255,255,.045);color:#e4dbe9!important;font-size:13px!important;font-weight:720!important;line-height:1.28!important;text-wrap:balance}
.play-button{position:relative;overflow:hidden}
.play-button::after{content:"";position:absolute;inset:-60% -30%;background:linear-gradient(110deg,transparent 42%,rgba(255,255,255,.18) 50%,transparent 58%);transform:translateX(-80%);animation:playSheen 4.8s ease-in-out infinite}
@keyframes heroAura{50%{transform:scale(1.08);opacity:.7}}@keyframes playSheen{0%,70%{transform:translateX(-90%)}86%,100%{transform:translateX(90%)}}

/* Leaderboard — game destination rather than sterile list */
.scene-page[data-scene="leaderboard"]{background:radial-gradient(circle at 50% 22%,rgba(111,69,155,.14),transparent 34%),#100d16}
.period-switch{padding:7px 14px 5px;gap:7px}
.period-switch button{background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.045);color:#93889e!important;transition:.18s}
.period-switch button.is-active{background:linear-gradient(180deg,rgba(157,112,255,.20),rgba(157,112,255,.08))!important;color:#f7f1ff!important;border-color:rgba(169,125,255,.24);box-shadow:inset 0 0 18px rgba(157,112,255,.05)}
.board-note{display:flex;align-items:center;gap:8px;margin:2px 2px 11px;padding:8px 11px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.05)}
.board-note span{font-size:16px}.board-note p{margin:0;font-size:10px;color:#b7acbf;font-weight:700}
.podium{gap:9px}
.podium-card{position:relative;overflow:hidden;background:linear-gradient(150deg,rgba(38,29,47,.94),rgba(19,15,25,.98));border-color:rgba(255,255,255,.075)}
.podium-card::after{content:"";position:absolute;inset:auto -20% -55% 20%;height:90%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 18%,transparent),transparent 68%);pointer-events:none}
.podium-card.rank-1{min-height:132px;border-color:rgba(189,150,255,.26);background:linear-gradient(145deg,rgba(86,55,109,.56),rgba(28,20,35,.98));box-shadow:0 12px 28px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.04)}
.podium-card.rank-1 span{filter:drop-shadow(0 0 8px rgba(255,212,88,.32));font-size:23px}.podium-card.rank-1 b{font-size:38px;letter-spacing:-.035em}
.podium-card.rank-2::before,.podium-card.rank-3::before{position:absolute;right:12px;top:10px;font-size:16px;opacity:.7}.podium-card.rank-2::before{content:"🥈"}.podium-card.rank-3::before{content:"🥉"}
.score-list{gap:7px}.score-list article{background:linear-gradient(180deg,rgba(27,21,34,.92),rgba(20,16,26,.96));border-color:rgba(255,255,255,.065);padding:9px 13px;transition:.16s}.score-list article:nth-child(-n+3){border-color:rgba(157,112,255,.12)}
.score-list b{font-size:12px;letter-spacing:.08em;color:#d8cedf}.score-list strong{font-size:18px;letter-spacing:-.02em}.score-list .rank{font-size:12px}

/* Shop — unlock motivation and collectible feel */
.scene-shop{background:radial-gradient(circle at 50% 19%,rgba(124,74,166,.10),transparent 32%),#100d16}
.scene-shop .shop-categories{gap:7px;padding-inline:14px}
.scene-shop .shop-categories button{background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.045);color:#9b90a4!important;min-height:36px!important}
.scene-shop .shop-categories button.is-active{background:linear-gradient(180deg,rgba(157,112,255,.20),rgba(157,112,255,.08))!important;color:#f8f2ff!important;border-color:rgba(174,133,255,.24);box-shadow:inset 0 0 17px rgba(157,112,255,.05)}
.shop-feature{position:relative;overflow:hidden;min-height:136px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 25%,#281b31),rgba(22,17,29,.98));border-color:color-mix(in srgb,var(--accent) 34%,transparent);box-shadow:0 14px 32px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.04)}
.shop-feature::after{content:"";position:absolute;right:-45px;top:-55px;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 20%,transparent),transparent 68%);pointer-events:none}
.feature-copy{position:relative;z-index:2;min-width:0;flex:1}.feature-icon{position:relative;z-index:2;width:78px;height:78px;display:grid;place-items:center;font-size:54px}.feature-icon img{width:74px;height:74px;object-fit:contain;filter:drop-shadow(0 10px 12px rgba(0,0,0,.25))}
.unlock-progress{margin-top:8px;max-width:220px}.unlock-progress i{display:block;height:6px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}.unlock-progress em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#d867dc);box-shadow:0 0 10px color-mix(in srgb,var(--accent) 38%,transparent)}.unlock-progress span{display:block;margin-top:4px;color:#a99eb1;font-size:8.5px;font-weight:800}
.item-grid{gap:9px}.shop-item{position:relative;background:linear-gradient(180deg,rgba(26,20,33,.97),rgba(20,16,26,.98));border-color:rgba(255,255,255,.065);transition:transform .16s,border-color .16s,box-shadow .16s}.shop-item:active{transform:scale(.985)}
.shop-item.is-equipped{border-color:color-mix(in srgb,var(--accent) 70%,transparent)!important;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 15%,transparent),0 0 22px color-mix(in srgb,var(--accent) 7%,transparent)}
.shop-item.is-owned:not(.is-equipped){border-color:rgba(255,255,255,.09)}.shop-item.is-locked{opacity:.92}
.item-art{position:relative;overflow:hidden;background:radial-gradient(circle at 50% 38%,color-mix(in srgb,var(--accent) 17%,#2b2234),#201925);font-size:44px}.item-art::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 55%,rgba(255,255,255,.035));pointer-events:none}.item-art img{width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 7px 10px rgba(0,0,0,.25))}
.lock-chip{position:absolute;right:7px;top:7px;min-width:32px;padding:3px 6px;border-radius:999px;background:rgba(12,9,17,.68);border:1px solid rgba(255,255,255,.08);font-size:8px!important;color:#c5b9cd!important;text-align:center;backdrop-filter:blur(8px)}
.shop-item small{font-size:7px!important}.shop-item.is-locked small{color:#c187ff!important}.shop-item span{font-size:9px!important}

/* Gameplay — quieter drum, clearer objects, less UI obstruction */
.arena-vignette{box-shadow:inset 0 0 42px rgba(0,0,0,.52)!important}
.arena-shell .bailey-cutin{top:30%!important;right:8px!important;max-width:min(39vw,150px)!important;gap:4px!important}
.arena-shell .bailey-cutin p{max-width:min(38vw,145px)!important;padding:7px 9px!important;font-size:9.5px!important;line-height:1.22!important;background:linear-gradient(145deg,rgba(33,25,44,.74),rgba(17,13,23,.72))!important;border-color:rgba(183,146,245,.13)!important;box-shadow:0 8px 22px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.035)!important}
.arena-shell .bailey-cutin p::after{width:10px!important;height:10px!important;bottom:-5px!important;right:13px!important;background:rgba(23,17,31,.78)!important}
.arena-shell .bailey-cutin .mascot-sm{width:42px!important;height:42px!important;margin-right:3px!important;filter:drop-shadow(0 6px 10px rgba(0,0,0,.24))!important}
.floating-toast{background:rgba(30,23,39,.84)!important;color:#efe7f4!important;border:1px solid rgba(186,147,252,.13);backdrop-filter:blur(12px);box-shadow:0 8px 20px rgba(0,0,0,.18);font-size:9.5px!important;padding:7px 11px!important}
.held-target{background:linear-gradient(180deg,rgba(27,21,35,.90),rgba(20,16,27,.94))!important}.held-target.is-active{box-shadow:inset 0 0 18px color-mix(in srgb,var(--accent) 7%,transparent)!important}
@media(max-width:390px){.arena-shell .bailey-cutin{top:31%!important;right:6px!important;max-width:min(40vw,145px)!important}.arena-shell .bailey-cutin p{max-width:min(39vw,140px)!important;font-size:9px!important}.arena-shell .bailey-cutin .mascot-sm{width:40px!important;height:40px!important}}


/* =========================
   2.21 HALL OF FAME PASS
   ========================= */
.scene-page[data-scene="leaderboard"] .leaderboard-scroll{padding-top:8px}
.hall-hero{display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:center;margin:3px 1px 13px;padding:10px 12px;border-radius:18px;background:linear-gradient(135deg,rgba(111,68,146,.20),rgba(26,20,34,.70));border:1px solid rgba(177,130,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.hall-hero img{width:62px;height:62px;object-fit:contain;filter:drop-shadow(0 7px 12px rgba(0,0,0,.24))}.hall-hero span{display:block;font-size:7px;font-weight:950;letter-spacing:.16em;color:#a989d7}.hall-hero b{display:block;margin-top:2px;font-size:14px;line-height:1.08;color:#fff9ff}.hall-hero p{margin:3px 0 0;font-size:9.5px;color:#b6aabe;font-weight:700}
.scene-page[data-scene="leaderboard"] .podium{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;align-items:end;margin:0 0 10px!important}
.scene-page[data-scene="leaderboard"] .podium-card{grid-column:auto!important;min-height:0!important;height:auto!important;padding:8px 5px 0!important;text-align:center;align-items:center;justify-content:flex-start;border-radius:18px 18px 12px 12px;overflow:visible;background:linear-gradient(180deg,rgba(38,29,49,.94),rgba(20,16,27,.98));box-shadow:0 10px 24px rgba(0,0,0,.20)}
.scene-page[data-scene="leaderboard"] .podium-card.rank-1{order:2;padding-top:5px!important;border-color:rgba(218,179,93,.34)!important;background:linear-gradient(180deg,rgba(82,59,94,.96),rgba(29,22,37,.99));transform:translateY(-8px)}
.scene-page[data-scene="leaderboard"] .podium-card.rank-2{order:1;border-color:rgba(187,192,212,.18)}
.scene-page[data-scene="leaderboard"] .podium-card.rank-3{order:3;border-color:rgba(203,128,73,.20)}
.pod-medal{font-size:17px;line-height:1;height:19px;filter:drop-shadow(0 3px 6px rgba(0,0,0,.25))}.rank-1 .pod-medal{font-size:21px}
.pod-avatar{position:relative;width:48px;height:55px;margin:2px auto 4px}.rank-1 .pod-avatar{width:57px;height:64px}.pod-avatar i{position:absolute;display:block}.pod-avatar .head{width:22px;height:22px;border-radius:50%;top:0;left:50%;transform:translateX(-50%);background:linear-gradient(145deg,#d7c8e3,#977db2);box-shadow:inset 0 -3px 5px rgba(62,39,76,.18)}.pod-avatar .body{width:32px;height:32px;left:50%;bottom:0;transform:translateX(-50%);border-radius:16px 16px 10px 10px;background:linear-gradient(145deg,#8d62cf,#5c3f8e)}.rank-1 .pod-avatar .body{background:linear-gradient(145deg,#d6a854,#8d6030)}.rank-2 .pod-avatar .body{background:linear-gradient(145deg,#aeb5c3,#70798b)}.rank-3 .pod-avatar .body{background:linear-gradient(145deg,#b87850,#75452d)}.pod-avatar .arm{width:10px;height:28px;border-radius:10px;background:#7d58b4;bottom:4px}.pod-avatar .arm.left{left:2px;transform:rotate(20deg)}.pod-avatar .arm.right{right:2px;transform:rotate(-20deg)}.rank-1 .pod-avatar .arm{background:#a97535}.rank-2 .pod-avatar .arm{background:#7b8497}.rank-3 .pod-avatar .arm{background:#865036}.pod-avatar span{position:absolute;left:50%;bottom:5px;transform:translateX(-50%);font-size:14px;margin:0!important}
.scene-page[data-scene="leaderboard"] .podium-card small{font-size:6.4px!important;line-height:1.05;letter-spacing:.07em;color:#a99eb1;text-transform:uppercase;min-height:15px;display:flex;align-items:center;justify-content:center}.scene-page[data-scene="leaderboard"] .podium-card b{font-size:18px!important;line-height:1;margin-top:2px;letter-spacing:-.04em}.scene-page[data-scene="leaderboard"] .podium-card.rank-1 b{font-size:22px!important}.scene-page[data-scene="leaderboard"] .podium-card em{font-style:normal;font-size:7.5px;color:#94899d;margin:2px 0 7px}.pod-step{width:100%;height:24px;border-radius:7px 7px 10px 10px;display:grid;place-items:center;background:rgba(255,255,255,.045);font-size:13px;font-weight:1000;color:#766a80}.rank-1 .pod-step{height:32px;background:linear-gradient(180deg,rgba(208,163,82,.18),rgba(255,255,255,.035));color:#e2b869}.rank-2 .pod-step{height:25px;color:#b7bdc9}.rank-3 .pod-step{height:21px;color:#b87a51}.podium-card.is-empty{opacity:.35}.pod-empty{font-size:26px;font-weight:1000;color:#7c7085;margin:18px 0 8px}
.board-challenge{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 1px 13px;padding:9px 11px;border-radius:15px;background:linear-gradient(90deg,rgba(157,112,255,.14),rgba(157,112,255,.035));border:1px solid rgba(157,112,255,.16)}.board-challenge span{display:block;font-size:6.8px;font-weight:950;letter-spacing:.15em;color:#a98ad5}.board-challenge b{display:block;font-size:14px;margin-top:1px}.board-challenge strong{font-size:9px;color:#d4c7df;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.055);white-space:nowrap}
.rank-divider{display:flex;align-items:center;gap:8px;margin:1px 2px 8px}.rank-divider span{font-size:7px;font-weight:950;letter-spacing:.16em;color:#7f7388}.rank-divider i{height:1px;flex:1;background:linear-gradient(90deg,rgba(255,255,255,.08),transparent)}
.scene-page[data-scene="leaderboard"] .score-list article{grid-template-columns:36px 1fr auto;min-height:58px;border-radius:15px}.scene-page[data-scene="leaderboard"] .score-list b{font-size:10.5px;letter-spacing:.045em;color:#e4d8e9}.scene-page[data-scene="leaderboard"] .score-list small{font-size:8px}.scene-page[data-scene="leaderboard"] .score-list strong{font-size:17px}
@media(max-width:390px){.hall-hero{grid-template-columns:56px 1fr;padding:9px 10px}.hall-hero img{width:54px;height:54px}.scene-page[data-scene="leaderboard"] .podium{gap:5px!important}.pod-avatar{transform:scale(.92);margin-bottom:1px}.scene-page[data-scene="leaderboard"] .podium-card{padding-inline:3px!important}.scene-page[data-scene="leaderboard"] .podium-card small{font-size:5.9px!important}.scene-page[data-scene="leaderboard"] .podium-card b{font-size:16px!important}.scene-page[data-scene="leaderboard"] .podium-card.rank-1 b{font-size:20px!important}}


/* =========================
   2.22 PODIUM + FIXED HALL
   ========================= */
.scene-page[data-scene="leaderboard"]{overflow:hidden!important}
.scene-page[data-scene="leaderboard"] .page-header,
.scene-page[data-scene="leaderboard"] .period-switch{flex:none}
.leaderboard-static{flex:none;padding:8px 14px 0;overflow:visible}
.leaderboard-list-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:4px 14px calc(var(--safeB) + 24px);touch-action:pan-y}
.scene-page[data-scene="leaderboard"] .leaderboard-scroll{display:none!important}

/* tighter fixed area so the list still gets useful space */
.leaderboard-static .hall-hero{margin:1px 0 10px;padding:8px 10px;grid-template-columns:54px 1fr}
.leaderboard-static .hall-hero img{width:52px;height:52px}
.leaderboard-static .hall-hero b{font-size:13px}.leaderboard-static .hall-hero p{font-size:8.8px}
.leaderboard-static .podium{margin-bottom:7px!important;gap:6px!important}
.leaderboard-static .board-challenge{margin-bottom:6px;padding:7px 10px}

/* real little game characters instead of presentation stick figures */
.pod-avatar{position:relative!important;width:58px!important;height:67px!important;margin:0 auto 4px!important;transform:none!important}
.rank-1 .pod-avatar{width:66px!important;height:75px!important}
.pod-avatar .avatar-head{position:absolute;z-index:3;left:50%;top:0;transform:translateX(-50%);width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:25px;line-height:1;background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.25),rgba(255,255,255,.03));box-shadow:0 5px 12px rgba(0,0,0,.28)}
.rank-1 .pod-avatar .avatar-head{width:38px;height:38px;font-size:29px}
.pod-avatar .avatar-hoodie{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);width:45px;height:35px;border-radius:18px 18px 12px 12px;display:grid;place-items:center;background:linear-gradient(145deg,#8994a8,#596274);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 12px rgba(0,0,0,.25)}
.rank-1 .pod-avatar .avatar-hoodie{width:50px;height:38px;background:linear-gradient(145deg,#d8ad59,#8c5c24)}
.rank-3 .pod-avatar .avatar-hoodie{background:linear-gradient(145deg,#b96f4a,#6f3828)}
.pod-avatar .avatar-hoodie span{font-size:17px!important;margin:0!important;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}
.pod-avatar .avatar-leg{position:absolute;bottom:0;width:14px;height:18px;border-radius:8px;background:#596274;z-index:0}
.pod-avatar .avatar-leg.left{left:15px;transform:rotate(10deg)}.pod-avatar .avatar-leg.right{right:15px;transform:rotate(-10deg)}
.rank-1 .pod-avatar .avatar-leg{background:#8c5c24}.rank-3 .pod-avatar .avatar-leg{background:#6f3828}
.scene-page[data-scene="leaderboard"] .podium-card{padding-top:6px!important}
.scene-page[data-scene="leaderboard"] .podium-card.rank-1{transform:translateY(-5px)}
.scene-page[data-scene="leaderboard"] .podium-card small{font-size:6.2px!important;letter-spacing:.08em;min-height:14px}
.scene-page[data-scene="leaderboard"] .podium-card b{font-size:17px!important}.scene-page[data-scene="leaderboard"] .podium-card.rank-1 b{font-size:21px!important}
.scene-page[data-scene="leaderboard"] .podium-card em{margin-bottom:5px}
.pod-step{height:21px}.rank-1 .pod-step{height:28px}.rank-2 .pod-step{height:23px}.rank-3 .pod-step{height:19px}

.leaderboard-list-scroll .rank-divider{position:sticky;top:0;z-index:2;margin:0 -2px 7px;padding:7px 2px 5px;background:linear-gradient(#100d16 75%,transparent)}
.leaderboard-list-scroll .score-list article{background:linear-gradient(145deg,rgba(27,21,35,.98),rgba(19,15,25,.98));border-color:rgba(160,120,215,.11)}
.leaderboard-list-scroll .score-list b{color:#efe5f2!important}

@media(max-width:390px){
 .leaderboard-static{padding-left:10px;padding-right:10px}
 .leaderboard-list-scroll{padding-left:10px;padding-right:10px}
 .leaderboard-static .hall-hero{grid-template-columns:48px 1fr;padding:7px 9px}.leaderboard-static .hall-hero img{width:46px;height:46px}
 .pod-avatar{width:52px!important;height:62px!important}.rank-1 .pod-avatar{width:59px!important;height:69px!important}
 .pod-avatar .avatar-head{width:31px;height:31px;font-size:23px}.rank-1 .pod-avatar .avatar-head{width:35px;height:35px;font-size:27px}
 .pod-avatar .avatar-hoodie{width:41px;height:32px}.rank-1 .pod-avatar .avatar-hoodie{width:46px;height:35px}
 .scene-page[data-scene="leaderboard"] .podium-card b{font-size:15px!important}.scene-page[data-scene="leaderboard"] .podium-card.rank-1 b{font-size:19px!important}
}


/* =========================================================
   2.23 — BAILEY SHOP / FULL E-COMMERCE REDESIGN
   ========================================================= */
.scene-shop-v2{flex-direction:column;overflow:hidden;background:radial-gradient(circle at 73% 18%,rgba(137,87,205,.12),transparent 30%),#0f0c14;padding-top:var(--safeT)}
.shop-v2-header{height:74px;flex:none;display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.07);background:rgba(13,10,18,.82);backdrop-filter:blur(18px);z-index:3}
.shop-v2-title h2{margin:2px 0 0;font-size:24px;line-height:1;letter-spacing:-.04em}.shop-v2-title .eyebrow{color:#c9b8d4}
.shop-v2-body{flex:1;min-height:0;display:grid;grid-template-columns:78px minmax(0,1fr);overflow:hidden}
.shop-v2-rail{min-height:0;padding:10px 7px calc(var(--safeB) + 10px);border-right:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(19,14,25,.95),rgba(12,9,16,.98));display:flex;flex-direction:column;gap:7px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.shop-v2-rail::-webkit-scrollbar{display:none}
.rail-item{min-height:66px;padding:7px 4px;border-radius:18px;border:1px solid transparent;background:transparent;color:#8f8498;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;transition:.18s}.rail-item span{font-size:22px;filter:grayscale(.18)}.rail-item b{font-size:7px;letter-spacing:.08em;font-weight:950;line-height:1.05;text-align:center}.rail-item.is-active{color:#fff;background:linear-gradient(155deg,rgba(154,99,255,.24),rgba(112,65,173,.09));border-color:rgba(164,111,255,.30);box-shadow:inset 0 0 20px rgba(142,87,230,.08),0 8px 20px rgba(0,0,0,.18)}.rail-item.is-active span{transform:scale(1.08);filter:none}
.shop-v2-feed{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px 11px calc(var(--safeB) + 28px);scrollbar-width:none}.shop-v2-feed::-webkit-scrollbar{display:none}
.shop-v2-hero{position:relative;min-height:176px;border-radius:24px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 104px;align-items:center;gap:6px;padding:19px 15px 17px;background:radial-gradient(circle at 88% 40%,color-mix(in srgb,var(--accent) 27%,transparent),transparent 34%),linear-gradient(145deg,color-mix(in srgb,var(--accent) 21%,#281d31),#17121e 66%);border:1px solid color-mix(in srgb,var(--accent) 38%,transparent);box-shadow:0 18px 40px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.05);cursor:pointer}
.shop-v2-hero:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.05);border-radius:50%;right:-84px;top:-70px;box-shadow:0 0 0 24px rgba(255,255,255,.018),0 0 0 48px rgba(255,255,255,.012)}
.hero-badge{position:absolute;left:15px;top:12px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);font-size:7px;font-weight:950;letter-spacing:.12em;color:#d8cce0}.hero-copy{position:relative;z-index:1;padding-top:16px;min-width:0}.hero-copy>span{display:block;color:#b9a8c5;font-size:7px;font-weight:900;letter-spacing:.12em}.hero-copy h3{margin:4px 0 3px;font-size:24px;line-height:.98;letter-spacing:-.045em}.hero-copy p{margin:0 0 8px;color:#b9aebe;font-size:10px;line-height:1.32}.hero-price{font-size:11px;font-weight:950}.hero-progress{margin-top:8px}.hero-progress i{display:block;height:7px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}.hero-progress em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#e263d9)}.hero-progress b{display:block;margin-top:5px;color:#b6a9be;font-size:8px}.hero-art{position:relative;z-index:1;display:grid;place-items:center;font-size:64px;filter:drop-shadow(0 12px 14px rgba(0,0,0,.42))}.hero-art img{width:98px;height:98px;object-fit:contain}
.bailey-pick{margin-top:10px;min-height:74px;border:1px solid rgba(255,255,255,.07);border-radius:19px;background:linear-gradient(135deg,rgba(34,25,43,.92),rgba(20,15,26,.95));padding:9px 10px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:9px;align-items:center;cursor:pointer}.bailey-pick img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 5px 8px rgba(0,0,0,.32))}.bailey-pick small{display:block;color:#bf9fff;font-size:6.5px;font-weight:950;letter-spacing:.14em}.bailey-pick b{display:block;margin-top:1px;font-size:11px}.bailey-pick p{margin:1px 0 0;color:#a99cac;font-size:8.5px;line-height:1.18}.bailey-pick>span{max-width:68px;text-align:right;color:#a99cac;font-size:7px;font-weight:900;line-height:1.18}
.shop-v2-heading{display:flex;align-items:end;justify-content:space-between;margin:17px 2px 9px}.shop-v2-heading h3{margin:2px 0 0;font-size:20px;letter-spacing:-.035em}.shop-v2-heading>b{font-size:10px;color:#8f8497}
.shop-v2-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.product-card{min-width:0;overflow:hidden;border:1px solid rgba(255,255,255,.075);border-radius:19px;background:linear-gradient(180deg,#19131f,#141019);box-shadow:0 10px 26px rgba(0,0,0,.13);cursor:pointer;transition:.16s}.product-card:active{transform:scale(.985)}.product-card.is-equipped{border-color:color-mix(in srgb,var(--accent) 72%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 15%,transparent),0 0 24px color-mix(in srgb,var(--accent) 8%,transparent)}
.product-art{height:106px;position:relative;display:grid;place-items:center;font-size:50px;background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--accent) 17%,#30243a),#201824 72%);overflow:hidden}.product-art:after{content:"";position:absolute;inset:auto 10% -35% 10%;height:55%;border-radius:50%;background:color-mix(in srgb,var(--accent) 12%,transparent);filter:blur(18px)}.product-art>span:first-child{position:relative;z-index:1}.product-art img{position:relative;z-index:1;width:88px;height:88px;object-fit:contain}.product-progress{position:absolute!important;z-index:2!important;right:8px;top:8px;padding:4px 6px;border-radius:999px;background:rgba(11,8,15,.72);backdrop-filter:blur(8px);color:#d2c5d8!important;font-size:7px!important;font-weight:900}
.product-info{padding:10px}.product-info small{display:block;color:#b48aff;font-size:6.5px;font-weight:950;letter-spacing:.12em}.product-info h4{margin:3px 0 2px;font-size:12.5px;line-height:1.05}.product-info p{height:2.35em;overflow:hidden;margin:0;color:#918694;font-size:8px;line-height:1.18}.product-cta{width:100%;height:28px;margin-top:8px;border-radius:10px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.055);color:#c8bccf;font-size:7px;font-weight:950;letter-spacing:.04em}.product-card.is-equipped .product-cta{background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 32%,#241b2e),color-mix(in srgb,var(--accent) 13%,#19131f));color:#fff;border-color:color-mix(in srgb,var(--accent) 35%,transparent)}
.shop-v2-sheet .sheet-art{overflow:hidden}.shop-v2-sheet .sheet-art img{width:120px;height:120px;object-fit:contain}.shop-v2-sheet .sheet-art span{font-size:66px}.sheet-state{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:-5px 0 15px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.055)}.sheet-state b{font-size:10px}.sheet-state span{font-size:8px;color:#9e92a7;text-align:right}
@media(max-width:380px){.shop-v2-body{grid-template-columns:72px minmax(0,1fr)}.rail-item{min-height:61px}.rail-item b{font-size:6.5px}.shop-v2-hero{grid-template-columns:minmax(0,1fr) 88px;padding-inline:13px}.hero-art img{width:82px;height:82px}.hero-art{font-size:56px}.hero-copy h3{font-size:22px}.shop-v2-grid{gap:8px}.product-info h4{font-size:11.5px}}

/* 2.24 — real gameplay customization categories */
/* More rail categories, still usable as an independent sticky shop rail. */
.shop-v2-rail{gap:5px;padding-top:7px}
.rail-item{min-height:55px;border-radius:16px;padding:5px 3px}
.rail-item span{font-size:19px}.rail-item b{font-size:6.3px}

/* HUD skins — actual gameplay changes */
body[data-hud-skin="glass"] .game-hud{background:linear-gradient(180deg,rgba(31,23,42,.78),rgba(16,12,22,.72));backdrop-filter:blur(18px);border-bottom-color:rgba(188,145,255,.18);box-shadow:0 8px 28px rgba(0,0,0,.22)}
body[data-hud-skin="glass"] .timer-disc{filter:drop-shadow(0 0 10px color-mix(in srgb,var(--accent) 32%,transparent))}
body[data-hud-skin="retro"] .game-hud{background:#16130f;border-bottom:2px solid #776744;box-shadow:inset 0 -8px 20px rgba(145,116,58,.08)}
body[data-hud-skin="retro"] .game-hud small{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#b9a77f;letter-spacing:.09em}
body[data-hud-skin="retro"] .game-hud b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#efe2b6;text-shadow:0 0 8px rgba(224,190,110,.18)}
body[data-hud-skin="retro"] .timer-disc .timer-ring{stroke:#d8b968}
body[data-hud-skin="minimal"] .game-hud{background:#0a080d;border-bottom-color:rgba(255,255,255,.035);padding-inline:16px}
body[data-hud-skin="minimal"] .hud-exit{background:transparent;border-color:transparent;opacity:.72}
body[data-hud-skin="minimal"] .game-hud small{opacity:.58}
body[data-hud-skin="minimal"] .timer-disc circle:first-child{stroke:transparent}
body[data-hud-skin="gold"] .game-hud{background:linear-gradient(180deg,#1b150b,#100c08);border-bottom-color:rgba(244,204,104,.30);box-shadow:inset 0 -1px 0 rgba(244,204,104,.18)}
body[data-hud-skin="gold"] .game-hud small{color:#bda76e}
body[data-hud-skin="gold"] .hud-combo b,body[data-hud-skin="gold"] .timer-disc .timer-ring{color:#f4cc68;stroke:#f4cc68}
body[data-hud-skin="gold"] .timer-disc{filter:drop-shadow(0 0 9px rgba(244,204,104,.22))}

/* CHAOS skins — remain readable; no full-screen darkness. */
body[data-chaos-skin="scan"][data-event="reverse"] .arena-shell::after,
body[data-chaos-skin="alarm"][data-event="reverse"] .arena-shell::after,
body[data-chaos-skin="glitch"][data-event="reverse"] .arena-shell::after,
body[data-chaos-skin="void"][data-event="reverse"] .arena-shell::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:5}
body[data-chaos-skin="scan"][data-event="reverse"] .arena-shell::after{background:repeating-linear-gradient(180deg,transparent 0 8px,rgba(173,116,255,.055) 9px 10px);mix-blend-mode:screen}
body[data-chaos-skin="alarm"][data-event="reverse"] .arena-shell::after{box-shadow:inset 0 0 0 3px rgba(255,91,111,.32),inset 0 0 45px rgba(255,62,92,.09);animation:alarmPulse .62s ease-in-out infinite alternate}
body[data-chaos-skin="glitch"][data-event="reverse"] .arena-shell::after{background:linear-gradient(90deg,rgba(98,61,255,.04),transparent 33%,rgba(255,82,165,.035));animation:glitchShift .24s steps(2,end) infinite}
body[data-chaos-skin="void"][data-event="reverse"] .arena-shell::after{background:radial-gradient(circle at 50% 52%,transparent 0 33%,rgba(93,49,164,.045) 55%,rgba(36,15,59,.12) 100%);box-shadow:inset 0 0 50px rgba(124,71,255,.11)}
body[data-chaos-skin="scan"] .chaos-flash{border-style:dashed}
body[data-chaos-skin="alarm"] .chaos-flash{border-color:rgba(255,102,127,.62);box-shadow:0 8px 24px #0008,0 0 24px rgba(255,88,115,.19)}
body[data-chaos-skin="glitch"] .chaos-flash{transform:translateX(-50%) skewX(-3deg)}
body[data-chaos-skin="void"] .chaos-flash{background:rgba(28,11,48,.80);border-color:rgba(145,92,255,.58)}
@keyframes alarmPulse{from{opacity:.35}to{opacity:.9}}
@keyframes glitchShift{0%{transform:translateX(-2px)}50%{transform:translateX(3px)}100%{transform:translateX(0)}}


/* 2.25 — gameplay washer redesign */
.scene-game{background:radial-gradient(circle at 50% 0%,rgba(151,113,255,.11),transparent 28%),linear-gradient(180deg,#0b0910,#08060c 68%,#09070d)!important}
.game-hud{background:linear-gradient(180deg,rgba(21,17,29,.98),rgba(14,11,20,.96))!important;border-bottom-color:rgba(255,255,255,.07)!important;box-shadow:inset 0 -1px 0 rgba(255,255,255,.03)}
.game-control-strip{background:linear-gradient(180deg,rgba(17,13,24,.98),rgba(12,10,18,.98))!important;border-top-color:rgba(255,255,255,.07)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.arena-shell{background:linear-gradient(180deg,rgba(12,10,18,.94),rgba(8,6,12,.98))!important}
.arena-vignette{box-shadow:inset 0 0 65px rgba(0,0,0,.42),inset 0 0 120px rgba(0,0,0,.24)!important}

/* 2.27 — cleaner Bailey washer look */
.scene-game{background:radial-gradient(circle at 50% 0%,rgba(125,82,196,.10),transparent 30%),linear-gradient(180deg,#0d0913,#08060c 68%,#09070d)!important}
.arena-vignette{box-shadow:inset 0 0 54px rgba(0,0,0,.38),inset 0 0 100px rgba(0,0,0,.18)!important}

/* 2.37 — Bailey live command bar */
.game-hud.game-livebar{
  height:74px;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:11px;
  padding:9px 12px;
  background:
    radial-gradient(circle at 74% 0%,color-mix(in srgb,var(--accent) 16%,transparent),transparent 42%),
    linear-gradient(180deg,rgba(21,16,29,.985),rgba(13,10,18,.98))!important;
  border-bottom:1px solid color-mix(in srgb,var(--accent) 14%,rgba(255,255,255,.05))!important;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.025),0 9px 28px rgba(0,0,0,.18);
}
.game-livebar .hud-exit{width:40px;height:40px;border-radius:15px;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035));border-color:rgba(255,255,255,.09)}
.game-brand{min-width:0;align-self:center;position:relative;line-height:1;padding-bottom:7px}
.game-brand small{display:block;color:color-mix(in srgb,var(--accent) 62%,#9b8fa4);font-size:6.2px;font-weight:950;letter-spacing:.18em;margin-bottom:5px}
.game-brand b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f7f3f8;font-size:13.5px;font-weight:1000;letter-spacing:-.035em}
.game-brand b span{color:#fff}
.game-brand>i{position:absolute;left:0;bottom:0;width:62px;height:2px;border-radius:99px;background:linear-gradient(90deg,var(--accent),transparent);box-shadow:0 0 11px color-mix(in srgb,var(--accent) 35%,transparent)}
.live-washers{min-width:118px;height:44px;padding:0 11px 0 10px;border-radius:17px;border:1px solid color-mix(in srgb,var(--accent) 16%,rgba(255,255,255,.055));background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 9%,rgba(255,255,255,.035)),rgba(255,255,255,.028));display:flex;align-items:center;gap:9px;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.live-wave{width:21px;height:20px;display:flex;align-items:center;justify-content:center;gap:2px;position:relative}
.live-wave:before{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:#73eb99;box-shadow:0 0 9px rgba(115,235,153,.58)}
.live-wave i{width:2px;border-radius:99px;background:color-mix(in srgb,var(--accent) 80%,#fff);opacity:.68;animation:liveBars 1.15s ease-in-out infinite alternate}
.live-wave i:nth-child(1){height:6px;transform:translateX(-8px);animation-delay:-.45s}.live-wave i:nth-child(2){height:11px;transform:translateX(-5px);animation-delay:-.2s}.live-wave i:nth-child(3){height:8px;transform:translateX(5px);animation-delay:-.6s}.live-wave i:nth-child(4){height:13px;transform:translateX(8px);animation-delay:-.1s}
.live-washers div{min-width:0;line-height:1}.live-washers b{display:block;font-size:15px;font-weight:1000;color:#fff;letter-spacing:-.03em}.live-washers small{display:block;margin-top:4px;font-size:5.6px;font-weight:900;color:#92869a;letter-spacing:.11em;white-space:nowrap}
@keyframes liveBars{from{transform:scaleY(.65);opacity:.45}to{transform:scaleY(1.16);opacity:.95}}

/* 2.47 — pair prompt removed: preserve flow, no "HĽADÁŠ PÁR" panel */
.game-control-strip{
  grid-template-columns:1fr!important;
  height:70px!important;
  padding:10px 16px!important;
}
.game-control-strip .held-target{display:none!important}
.game-control-strip .chaos-gauge{width:100%;max-width:none}
@media(max-height:690px){
  .game-control-strip{height:64px!important}
}


/* 2.52 — BAILEY CARE / TAMAGOTCHI */
.scene-bailey-care{
  flex-direction:column;
  background:
    radial-gradient(circle at 50% 31%,rgba(132,81,166,.23),transparent 34%),
    linear-gradient(180deg,#15101b 0%,#0d0a11 100%);
  padding-top:var(--safeT);
  padding-bottom:var(--safeB);
  overflow:hidden;
}
.care-header{
  height:72px;flex:none;display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;
  padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(14,11,18,.84);backdrop-filter:blur(18px);z-index:4
}
.care-header h2{margin:1px 0 0;font-size:20px;line-height:1;font-weight:1000;letter-spacing:-.03em}
.care-state-pill{height:32px;padding:0 11px;border:1px solid rgba(255,255,255,.10);border-radius:999px;background:#18131f;display:flex;align-items:center;gap:7px;font-size:8px;font-weight:950;letter-spacing:.12em}
.care-state-pill i{width:7px;height:7px;border-radius:50%;background:#75dc8a;box-shadow:0 0 11px rgba(117,220,138,.6)}
.care-state-pill.is-walking i{background:#ffc96a;box-shadow:0 0 11px rgba(255,201,106,.6)}
.care-scroll{flex:1;min-height:0;overflow:auto;padding:14px 16px 22px;-webkit-overflow-scrolling:touch}
.care-hero{height:235px;position:relative;display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));overflow:hidden}
.care-glow{position:absolute;width:210px;height:210px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent) 24%,transparent),transparent 67%);filter:blur(4px)}
.care-hero img{height:190px;max-width:72%;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 22px 24px rgba(0,0,0,.48));transition:.25s}
.care-hero img.is-away{opacity:.16;transform:scale(.88);filter:grayscale(.35) blur(.5px)}
.care-speech{position:absolute;left:14px;right:14px;bottom:12px;z-index:2;padding:10px 13px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(14,11,18,.84);backdrop-filter:blur(12px);font-size:11px;font-weight:850;text-align:center;color:#eee8f1}
.care-vitals{display:grid;gap:8px;margin-top:12px}
.care-vitals article{padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#15111b}
.care-vitals article>div{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:7px}
.care-vitals article span{font-size:16px}.care-vitals article b{font-size:10px;letter-spacing:.02em}.care-vitals article strong{font-size:10px;color:#bdb3c3}
.care-vitals article>i{display:block;height:6px;margin-top:8px;border-radius:99px;background:#27202e;overflow:hidden}
.care-vitals article>i>em{display:block;height:100%;width:50%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#ff89af);transition:width .3s ease}
.care-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}
.care-action{min-height:83px;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(145deg,#1a1520,#120f17);color:#fff;display:grid;grid-template-columns:38px 1fr 18px;gap:8px;align-items:center;text-align:left}
.care-action:disabled{opacity:.46;filter:saturate(.45)}
.care-action-icon{width:36px;height:36px;border-radius:12px;background:rgba(255,255,255,.06);display:grid;place-items:center;font-size:21px}
.care-action b{display:block;font-size:11px;font-weight:1000}.care-action small{display:block;margin-top:3px;font-size:8px;line-height:1.22;color:#9d93a5}.care-action>strong{font-size:18px;color:var(--accent)}
.walk-card{margin-top:12px;padding:15px;border:1px solid color-mix(in srgb,var(--accent) 24%,rgba(255,255,255,.08));border-radius:22px;background:linear-gradient(155deg,color-mix(in srgb,var(--accent) 9%,#17121d),#100d15)}
.walk-heading{display:flex;justify-content:space-between;align-items:center}.walk-heading h3{margin:2px 0 0;font-size:17px;font-weight:1000}.walk-icon{font-size:25px}
.walk-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}
.walk-options button{height:61px;border-radius:15px;border:1px solid rgba(255,255,255,.09);background:#211928;color:#fff}
.walk-options b{display:block;font-size:20px}.walk-options small{display:block;margin-top:1px;font-size:7px;font-weight:950;letter-spacing:.13em;color:#a99eb0}
.walk-running{margin-top:12px;text-align:center;padding:15px;border-radius:16px;background:rgba(0,0,0,.20)}
.walk-running span{display:block;font-size:8px;font-weight:950;letter-spacing:.16em;color:var(--accent)}
.walk-running b{display:block;margin:3px 0;font-size:34px;font-weight:1000;letter-spacing:-.04em}
.walk-running small{font-size:9px;color:#a79cac}
@media(max-height:700px){
  .care-header{height:64px}.care-scroll{padding-top:10px}.care-hero{height:190px}.care-hero img{height:150px}
  .care-vitals{gap:6px}.care-vitals article{padding:8px 10px}.care-actions{margin-top:9px}.care-action{min-height:72px}.walk-card{margin-top:9px}
}


/* 2.53 — care economy + silence */
.care-header{grid-template-columns:42px 1fr auto}
.care-head-right{display:flex;align-items:center;gap:7px}
.care-wallet{height:32px;padding:0 9px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:#18131f;display:flex;align-items:center;gap:5px}
.care-wallet span{font-size:13px}.care-wallet b{font-size:11px}
.care-actions-single{grid-template-columns:1fr}
.care-actions-single .care-action{min-height:68px}
.care-pantry{margin-top:12px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:22px;background:linear-gradient(145deg,#17121d,#100d15)}
.care-pantry-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.care-pantry-head h3{margin:2px 0 0;font-size:17px;font-weight:1000}
.care-pantry-head>small{font-size:7px;font-weight:950;letter-spacing:.12em;color:#918797}
.care-items{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}
.care-items button{min-width:0;padding:11px 7px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#211928;color:#fff;text-align:center}
.care-items button>span{display:block;font-size:24px;margin-bottom:5px}
.care-items button b{display:block;font-size:9px;font-weight:1000}
.care-items button small{display:block;margin-top:2px;font-size:7px;color:#9d92a4}
.care-items button strong{display:block;margin-top:7px;font-size:9px;color:#d9c8ff}
@media(max-width:390px){
  .care-header{padding-left:10px;padding-right:10px}.care-head-right{gap:5px}
  .care-wallet{padding:0 7px}.care-state-pill{padding:0 8px}
}


/* 2.55 — Bailey expeditions + fixed header */
.care-header{grid-template-columns:42px minmax(0,1fr) auto!important}
.care-header>div:nth-child(2){min-width:0}
.care-header h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.care-wallet{flex:none}
.care-state-overlay{position:absolute;top:12px;right:12px;z-index:3;background:rgba(14,11,18,.82);backdrop-filter:blur(10px)}
.care-state-overlay span{white-space:nowrap}
.walk-options button{height:72px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.walk-options em{display:block;margin-top:3px;font-size:6px;font-style:normal;font-weight:950;letter-spacing:.11em;color:#756a7c}
.walk-result{margin-top:12px;padding:15px;border-radius:16px;background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.07)}
.walk-result p{margin:7px 0 12px;font-size:12px;line-height:1.35;font-weight:800;color:#eee8f1}
.walk-result button{width:100%;height:38px;border-radius:12px;background:var(--accent);color:#fff;font-size:9px;font-weight:1000;letter-spacing:.1em}
.inventory-sheet{position:absolute;inset:0;z-index:40;pointer-events:none}
.inventory-sheet.show{pointer-events:auto}
.inventory-scrim{position:absolute;inset:0;background:rgba(0,0,0,.62);opacity:0;transition:.2s}
.inventory-sheet.show .inventory-scrim{opacity:1}
.inventory-sheet>article{position:absolute;left:0;right:0;bottom:0;max-height:72%;overflow:auto;padding:18px 16px calc(20px + var(--safeB));border-radius:26px 26px 0 0;background:#15101b;border-top:1px solid rgba(255,255,255,.10);transform:translateY(105%);transition:.28s cubic-bezier(.2,.8,.2,1)}
.inventory-sheet.show>article{transform:translateY(0)}
.inventory-sheet-head{display:flex;align-items:center;justify-content:space-between}
.inventory-sheet-head h3{margin:2px 0 0;font-size:24px;font-weight:1000}
.inventory-sheet-head button{width:38px;height:38px;border-radius:13px;background:#211928;color:#fff;font-size:22px}
.inventory-sheet>article>p{margin:8px 0 14px;color:#9d93a5;font-size:10px}
.inventory-grid{display:grid;gap:8px}
.inventory-grid article{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#1b1521}
.inventory-grid article>span{font-size:25px}
.inventory-grid article b{display:block;font-size:11px}.inventory-grid article small{display:block;margin-top:2px;font-size:8px;color:#95899e}
.inventory-grid article strong{font-size:13px;color:var(--accent)}
.inventory-empty{padding:28px 10px;text-align:center;border:1px dashed rgba(255,255,255,.10);border-radius:18px;color:#8f8498}
.inventory-empty:first-letter{font-size:30px}.inventory-empty b,.inventory-empty small{display:block;margin-top:6px}
@media(max-width:390px){
  .care-header h2{font-size:18px}
  .care-wallet{height:30px}
}

/* 2.56 — player profile + balance HUD */
.home-profile-strip{position:relative;z-index:3;margin:3px 14px 4px;height:58px;flex:none;display:grid;grid-template-columns:42px minmax(0,1fr) auto auto auto;align-items:center;gap:8px;padding:7px 10px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(15,11,20,.74);backdrop-filter:blur(16px);color:#fff;text-align:left}.profile-avatar{width:40px;height:40px;border-radius:13px;background:#22192a;display:grid;place-items:center;font-size:23px}.profile-main{min-width:0}.profile-main b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-main small,.profile-stat small{display:block;font-size:6px;font-weight:950;letter-spacing:.12em;color:#8f8597}.profile-stat{text-align:right}.profile-stat b{display:block;font-size:10px;margin-top:2px}.profile-stat.daily b{color:var(--accent)}.result-daily{margin:10px auto 0;padding:7px 11px;border-radius:999px;background:#1b1521;border:1px solid rgba(255,255,255,.08);font-size:9px;font-weight:950;letter-spacing:.08em;color:#cfc4d4}
.profile-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:end center;pointer-events:none}.profile-modal.show{pointer-events:auto}.profile-scrim{position:absolute;inset:0;background:rgba(0,0,0,.68);opacity:0;transition:.2s}.profile-modal.show .profile-scrim{opacity:1}.profile-card{position:relative;width:min(100%,520px);max-height:92vh;overflow:auto;padding:24px 18px calc(24px + var(--safeB));border-radius:28px 28px 0 0;background:linear-gradient(180deg,#19131f,#0f0c13);border-top:1px solid rgba(255,255,255,.12);transform:translateY(105%);transition:.28s cubic-bezier(.2,.8,.2,1)}.profile-modal.show .profile-card{transform:translateY(0)}.profile-card h2{margin:5px 0 7px;font-size:28px;line-height:.95;font-weight:1000;letter-spacing:-.04em}.profile-card>p{margin:0 0 18px;color:#a69baa;font-size:11px;line-height:1.4}.profile-name-label span{display:block;margin-bottom:6px;font-size:7px;font-weight:950;letter-spacing:.14em;color:#92889a}.profile-name-label input{width:100%;height:48px;border-radius:14px;border:1px solid rgba(255,255,255,.10);background:#211927;color:#fff;padding:0 14px;font-size:16px;font-weight:800;outline:none}.avatar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}.avatar-grid button{height:67px;border-radius:15px;border:1px solid rgba(255,255,255,.08);background:#1c1622;color:#fff;font-size:26px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.avatar-grid button small{font-size:6px;font-weight:950;letter-spacing:.09em;color:#8f8596}.avatar-grid button.is-active{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 16%,#1c1622)}.profile-preview{margin:14px 0;display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:16px;background:#16111c;border:1px solid rgba(255,255,255,.07)}.profile-preview>span{width:45px;height:45px;border-radius:14px;background:#241b2c;display:grid;place-items:center;font-size:25px}.profile-preview small{display:block;font-size:6px;font-weight:950;letter-spacing:.13em;color:#8f8596}.profile-preview b{display:block;margin-top:2px;font-size:14px}@media(max-width:390px){.home-profile-strip{grid-template-columns:38px minmax(0,1fr) auto auto;height:54px;margin-left:10px;margin-right:10px;padding:6px 8px;gap:6px}.profile-stat.daily{display:none}.profile-avatar{width:37px;height:37px}}


/* 2.57 — top user panel instead of live counter */
.game-hud.game-livebar{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px}
.game-user-panel{display:flex;align-items:center;justify-content:flex-end;min-width:0}
.user-badge{display:grid;grid-template-columns:34px minmax(72px,1fr) auto auto;align-items:center;gap:8px;min-width:0;padding:7px 10px;border-radius:18px;border:1px solid color-mix(in srgb,var(--accent) 18%,rgba(255,255,255,.06));background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 8%,rgba(255,255,255,.03)),rgba(255,255,255,.02));box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.user-avatar{width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.05);display:grid;place-items:center;font-size:20px}
.user-main,.user-meta{min-width:0;line-height:1}
.user-main small,.user-meta small{display:block;font-size:5.5px;font-weight:950;letter-spacing:.13em;color:#93899c;white-space:nowrap}
.user-main b,.user-meta b{display:block;margin-top:4px;font-size:11px;font-weight:1000;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-main b{max-width:82px}
.user-meta{text-align:right}
.user-meta:last-child b{color:var(--accent)}
@media(max-width:390px){
  .game-hud.game-livebar{grid-template-columns:40px minmax(0,1fr) auto;gap:8px}
  .user-badge{grid-template-columns:30px auto auto;gap:6px;padding:6px 8px}
  .user-avatar{width:30px;height:30px;font-size:18px;border-radius:11px}
  .user-main small,.user-meta small{font-size:5px}
  .user-main b,.user-meta b{font-size:10px;margin-top:3px}
  .user-main{display:none}
}


/* 2.58 — header polish */
.game-brand{padding-bottom:4px}
.game-brand b{white-space:normal;overflow:visible;text-overflow:clip;line-height:.88;font-size:13px;max-width:108px}
.game-brand b span{display:block}
.game-brand>i{width:56px;bottom:-1px}
.game-user-panel{justify-content:flex-end}
.user-badge{display:grid;grid-template-columns:36px minmax(48px,.72fr) auto;align-items:center;gap:8px;min-width:0;padding:8px 10px 8px 9px;border-radius:20px;background:linear-gradient(135deg,rgba(131,80,214,.16),rgba(255,255,255,.03));border:1px solid rgba(188,145,255,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 8px 24px rgba(0,0,0,.14)}
.user-avatar{width:36px;height:36px;border-radius:13px;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.16),rgba(255,255,255,.04));display:grid;place-items:center;font-size:21px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.user-main{min-width:0;line-height:.95}
.user-main small{display:block;font-size:5.4px;font-weight:950;letter-spacing:.16em;color:#9588a3;margin-bottom:4px}
.user-main b{display:block;font-size:11.5px;font-weight:1000;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-stats{display:flex;align-items:center;gap:6px;min-width:0}
.metric-pill{display:flex;align-items:center;gap:6px;min-width:0;padding:6px 8px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.05)}
.metric-pill.accent{background:linear-gradient(135deg,rgba(188,145,255,.11),rgba(255,255,255,.025));border-color:rgba(188,145,255,.18)}
.metric-icon{width:20px;height:20px;display:grid;place-items:center;font-size:15px;flex:none}
.metric-copy{line-height:.94;min-width:0}
.metric-copy small{display:block;font-size:5.1px;font-weight:950;letter-spacing:.15em;color:#94889e;margin-bottom:4px;white-space:nowrap}
.metric-copy b{display:block;font-size:11.4px;font-weight:1000;color:#fff;white-space:nowrap}
.metric-pill.accent .metric-copy b{color:var(--accent)}
@media(max-width:390px){
  .game-brand b{font-size:12px;max-width:94px}
  .user-badge{grid-template-columns:34px minmax(36px,.58fr) auto;gap:6px;padding:7px 8px}
  .user-avatar{width:34px;height:34px;font-size:19px}
  .user-main small{font-size:4.8px;margin-bottom:3px}
  .user-main b{font-size:10.2px;max-width:42px}
  .user-stats{gap:5px}
  .metric-pill{padding:5px 7px;gap:5px}
  .metric-icon{width:18px;height:18px;font-size:13px}
  .metric-copy small{font-size:4.7px}
  .metric-copy b{font-size:10.3px}
}


/* 2.59 — compact user badge + Bailey head in brand */
.game-brand{min-width:0}
.brand-lockup{display:flex;align-items:flex-end;gap:8px;min-width:0}
.brand-bailey-head{width:26px;height:26px;object-fit:contain;flex:none;filter:drop-shadow(0 4px 10px rgba(0,0,0,.28))}
.game-brand b{max-width:82px;line-height:.84}
.user-badge{grid-template-columns:30px minmax(38px,.55fr) auto;gap:7px;padding:6px 8px;border-radius:18px}
.user-avatar{width:30px;height:30px;border-radius:11px;font-size:17px}
.user-main small{font-size:5px;margin-bottom:3px}
.user-main b{font-size:10.6px;max-width:40px}
.user-stats{gap:5px}
.metric-pill{padding:5px 7px;gap:5px;border-radius:12px}
.metric-pill.berries{padding-right:8px}
.metric-pill.berries b,.metric-pill.limit b{display:block;font-size:10.8px;font-weight:1000;color:#fff;line-height:1}
.metric-pill.limit small{display:block;font-size:4.9px;font-weight:950;letter-spacing:.14em;color:#988ca4;margin-bottom:3px;white-space:nowrap;line-height:1}
.metric-pill.limit b{color:var(--accent)}
.metric-pill .metric-copy{display:none}
.metric-icon{width:17px;height:17px;font-size:13px}
@media(max-width:390px){
  .brand-lockup{gap:6px}
  .brand-bailey-head{width:22px;height:22px}
  .game-brand b{font-size:11.5px;max-width:74px}
  .user-badge{grid-template-columns:28px minmax(28px,.48fr) auto;gap:5px;padding:5px 7px}
  .user-avatar{width:28px;height:28px;font-size:16px}
  .user-main small{font-size:4.6px}
  .user-main b{font-size:9.8px;max-width:34px}
  .metric-pill{padding:4px 6px;gap:4px}
  .metric-pill.berries b,.metric-pill.limit b{font-size:10px}
  .metric-pill.limit small{font-size:4.5px}
  .metric-icon{width:15px;height:15px;font-size:12px}
}


/* 2.60 — two-row gameplay header */
.game-hud.game-livebar{
  height:104px!important;
  display:flex!important;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  gap:7px;
  padding:8px 12px 9px!important;
  background:linear-gradient(180deg,rgba(20,15,28,.99),rgba(12,9,18,.98))!important;
}
.game-nav-row{height:39px;display:grid;grid-template-columns:40px 1fr;align-items:center;gap:10px}
.game-nav-row .hud-exit{width:38px;height:38px;border-radius:14px}
.game-brand{padding:0!important;min-width:0}
.brand-lockup{display:flex;align-items:center;gap:8px;min-width:0}
.game-brand b{display:block!important;max-width:none!important;white-space:nowrap!important;font-size:15px!important;line-height:1!important;letter-spacing:-.035em!important;color:#f7f3f8!important}
.game-brand b span{display:inline!important;color:#fff}
.brand-bailey-head{width:30px!important;height:30px!important;object-fit:contain;flex:none;filter:drop-shadow(0 4px 9px rgba(0,0,0,.32))}

.game-player-strip{
  height:43px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:7px;
  padding:5px 7px 5px 6px;
  border-radius:16px;
  border:1px solid rgba(188,145,255,.14);
  background:linear-gradient(135deg,rgba(119,71,188,.11),rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.player-id{display:flex;align-items:center;gap:7px;min-width:0}
.player-id .user-avatar{width:31px!important;height:31px!important;border-radius:11px!important;font-size:17px!important;flex:none}
.player-id .user-main{display:block!important;min-width:0;line-height:.95}
.player-id .user-main small{font-size:4.9px!important;margin-bottom:3px!important;letter-spacing:.14em}
.player-id .user-main b{font-size:10.5px!important;max-width:82px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.player-berry,.player-limit{height:31px;display:flex;align-items:center;border-radius:11px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.045)}
.player-berry{gap:5px;padding:0 8px}
.player-berry span{font-size:14px;line-height:1}
.player-berry b{font-size:10.8px;font-weight:1000;color:#fff;white-space:nowrap}
.player-limit{flex-direction:column;justify-content:center;align-items:flex-end;padding:0 9px;min-width:72px;line-height:.9}
.player-limit small{font-size:4.5px;font-weight:950;letter-spacing:.13em;color:#95899f;white-space:nowrap}
.player-limit b{margin-top:3px;font-size:10.8px;font-weight:1000;color:var(--accent);white-space:nowrap}

@media(max-width:390px){
  .game-hud.game-livebar{height:100px!important;padding-inline:10px!important;gap:6px}
  .game-nav-row{grid-template-columns:38px 1fr;gap:8px;height:37px}
  .game-brand b{font-size:14px!important}
  .brand-bailey-head{width:27px!important;height:27px!important}
  .game-player-strip{height:41px;gap:5px;padding:5px 6px}
  .player-id .user-avatar{width:29px!important;height:29px!important;font-size:16px!important}
  .player-id .user-main b{font-size:9.8px!important;max-width:58px!important}
  .player-berry{padding:0 7px;gap:4px}
  .player-limit{min-width:67px;padding:0 7px}
  .player-berry b,.player-limit b{font-size:10px}
  .player-limit small{font-size:4.2px}
}

/* 2.61 — gameplay header unified with the rest of the app */
.game-hud.game-livebar{
  height:74px!important;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:12px 14px!important;
  border-bottom:1px solid rgba(255,255,255,.07)!important;
  background:rgba(13,10,18,.82)!important;
  backdrop-filter:blur(18px);
  box-shadow:none!important;
}

.game-nav-row,
.game-player-strip,
.brand-bailey-head,
.player-limit,
.player-berry,
.player-id{display:contents}

.game-brand.game-brand-compact{
  min-width:0;
  display:block!important;
  padding:0!important;
  line-height:1;
}
.game-brand.game-brand-compact .game-player-inline{
  display:flex;
  align-items:center;
  gap:5px;
  margin-bottom:4px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
  color:#c6b8cf;
  white-space:nowrap;
}
.game-brand.game-brand-compact .game-player-inline #hudAvatar{
  display:inline-grid;
  place-items:center;
  width:14px;
  height:14px;
  font-size:11px;
  line-height:1;
}
.game-brand.game-brand-compact .game-player-inline #hudPlayerName{
  display:inline-block;
  min-width:0;
  max-width:74px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.game-brand.game-brand-compact b{
  display:block!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:.88!important;
  font-size:12.5px!important;
  font-weight:1000;
  letter-spacing:-.035em!important;
  color:#f7f3f8!important;
  max-width:106px!important;
}
.game-brand.game-brand-compact b span{
  display:block!important;
  color:#fff;
}
.game-wallet-pill{
  height:40px;
  padding:0 14px;
  gap:8px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  box-shadow:none;
}
.game-wallet-pill span{font-size:18px;line-height:1}
.game-wallet-pill b{font-size:16px!important;font-weight:1000;color:#fff}

@media(max-width:390px){
  .game-hud.game-livebar{padding:10px 10px!important;gap:8px;height:70px!important}
  .game-brand.game-brand-compact b{font-size:11.5px!important;max-width:92px!important}
  .game-brand.game-brand-compact .game-player-inline{font-size:8px;gap:4px}
  .game-brand.game-brand-compact .game-player-inline #hudPlayerName{max-width:62px}
  .game-wallet-pill{height:38px;padding:0 12px;gap:6px}
  .game-wallet-pill b{font-size:15px!important}
}

/* 2.62 — restore original gameplay header with live washers */
.game-hud.game-livebar{
  height:76px!important;
  display:grid!important;
  grid-template-columns:42px 1fr auto!important;
  align-items:center;
  gap:8px!important;
  padding:9px 12px!important;
  border-bottom:1px solid var(--line)!important;
  background:#100d16!important;
  backdrop-filter:none!important;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.03)!important;
}
.game-brand.game-brand-compact,
.game-wallet-pill,
.game-player-strip,
.game-nav-row{display:none!important}
.game-brand{display:block!important;min-width:0;align-self:center;position:relative;line-height:1;padding-bottom:7px!important}
.game-brand small{display:block!important;color:color-mix(in srgb,var(--accent) 62%,#9b8fa4);font-size:6.2px!important;font-weight:950;letter-spacing:.18em;margin-bottom:5px}
.game-brand b{display:block!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;color:#f7f3f8!important;font-size:13.5px!important;font-weight:1000;letter-spacing:-.035em!important;line-height:.88!important;max-width:none!important}
.game-brand b span{display:block!important;color:#fff}
.live-washers{display:flex!important;min-width:118px;height:44px;padding:0 11px 0 10px;border-radius:17px;border:1px solid color-mix(in srgb,var(--accent) 16%,rgba(255,255,255,.055));background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 9%,rgba(255,255,255,.035)),rgba(255,255,255,.028));align-items:center;gap:9px;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.live-washers i{width:10px;height:10px;border-radius:50%;background:#68f091;box-shadow:0 0 0 4px rgba(104,240,145,.12)}
.live-washers div{min-width:0;line-height:1}
.live-washers b{display:block!important;font-size:15px!important;font-weight:1000!important;color:#fff!important;letter-spacing:-.03em!important}
.live-washers small{display:block!important;margin-top:4px;font-size:5.6px!important;font-weight:900!important;color:#92869a!important;letter-spacing:.11em;white-space:nowrap}
@media(max-width:390px){
  .game-hud.game-livebar{height:72px!important;padding:8px 10px!important;gap:7px!important}
  .live-washers{min-width:108px;height:40px;padding:0 10px 0 9px;gap:8px}
  .live-washers b{font-size:14px!important}
  .live-washers small{font-size:5.3px!important}
}

/* 2.63 — gameplay header exactly like other screens */
.scene-game .care-header.game-screen-header{
  height:72px!important;
  flex:none;
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  padding:10px 14px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  background:rgba(14,11,18,.84)!important;
  backdrop-filter:blur(18px)!important;
  z-index:4;
}
.scene-game .game-screen-header .back-button{
  width:40px;height:40px;font-size:31px;
}
.scene-game .game-screen-header > div:nth-child(2){min-width:0}
.scene-game .game-screen-header .eyebrow{
  display:block;
  font-size:10px;
  font-weight:900;
  letter-spacing:.17em;
  color:#c6b8cf;
}
.scene-game .game-screen-header h2{
  margin:1px 0 0;
  font-size:20px;
  line-height:1;
  font-weight:1000;
  letter-spacing:-.03em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.scene-game .game-screen-header .care-wallet{
  height:32px;
  padding:0 9px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:999px;
  background:#18131f;
  display:flex!important;
  align-items:center;
  gap:5px;
  flex:none;
}
.scene-game .game-screen-header .care-wallet span{font-size:13px}
.scene-game .game-screen-header .care-wallet b{font-size:11px}
/* hide previous gameplay-specific header variants if any */
.scene-game .game-brand,
.scene-game .live-washers,
.scene-game .game-wallet-pill,
.scene-game .game-player-strip,
.scene-game .game-nav-row{display:none!important}
@media(max-width:390px){
  .scene-game .care-header.game-screen-header{padding-left:10px!important;padding-right:10px!important}
  .scene-game .game-screen-header .care-wallet{padding:0 7px}
  .scene-game .game-screen-header h2{font-size:18px}
}


/* 2.66 — one-minute escalation meter + result payout card */
.game-control-strip{height:82px!important;display:block!important;padding:12px 22px 14px!important}
.phase-progress{width:100%}.phase-progress-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.phase-progress-top b{font-size:10px;font-weight:1000;letter-spacing:.18em}.phase-progress-top small{font-size:9px;font-weight:850;color:#a99db2}.phase-track{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;height:11px}.phase-segment{display:block;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.035)}.phase-segment em{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#ff6f91);transition:width .12s linear;box-shadow:0 0 14px color-mix(in srgb,var(--accent) 38%,transparent)}.phase-segment.is-done em{width:100%!important}.phase-segment.is-active{border-color:color-mix(in srgb,var(--accent) 35%,transparent)}
.result-daily-card{width:100%;max-width:390px;margin:0 0 12px;padding:13px 14px 12px;border:1px solid color-mix(in srgb,var(--accent) 32%,var(--line));border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 10%,#17121e),#141019);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}.result-daily-head,.result-daily-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.result-daily-head span{font-size:8px;font-weight:1000;letter-spacing:.18em;color:#a99db2}.result-daily-head b{font-size:11px}.result-daily-track{height:9px;margin:9px 0 8px;border-radius:99px;overflow:hidden;background:rgba(255,255,255,.07)}.result-daily-track i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#ff6f91);transition:width .45s ease}.result-daily-foot span{font-size:9px;color:#a99db2;font-weight:800;text-align:left}.result-daily-foot strong{font-size:8px;letter-spacing:.08em;color:#ff9ab0;text-align:right}.scene-result{background:radial-gradient(circle at 50% 22%,color-mix(in srgb,var(--accent) 28%,#17101d),#0c0911 62%)!important}.scene-result:before{content:"";position:absolute;inset:10px;border:1px solid rgba(255,255,255,.035);border-radius:30px;pointer-events:none}.scene-result>*{position:relative;z-index:1}
@media(max-height:720px){.game-control-strip{height:70px!important;padding:8px 18px 10px!important}.phase-progress-top{margin-bottom:6px}.result-daily-card{padding:9px 11px;margin-bottom:8px}.result-daily-track{margin:6px 0}.scene-result{padding-top:calc(var(--safeT) + 14px)!important;padding-bottom:calc(var(--safeB) + 14px)!important}}

/* 2.67 — continuous 60-second escalation meter */
.escalation-track{position:relative;height:12px;border-radius:999px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.05);overflow:visible;box-shadow:inset 0 1px 3px rgba(0,0,0,.35)}
.escalation-fill{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--accent) 0%,#b95be8 42%,#ff9b57 72%,#ff5578 100%);box-shadow:0 0 15px color-mix(in srgb,var(--accent) 42%,transparent);will-change:width}
.escalation-mark{position:absolute;top:-3px;width:2px;height:18px;border-radius:2px;background:rgba(255,255,255,.42);z-index:2}.escalation-mark.m1{left:25%}.escalation-mark.m2{left:50%}.escalation-mark.m3{left:75%}
.escalation-dot{position:absolute;z-index:3;top:50%;left:0;width:16px;height:16px;border-radius:50%;transform:translate(-50%,-50%);background:#fff;border:4px solid var(--accent);box-shadow:0 0 13px var(--accent);will-change:left}
.escalation-labels{display:grid;grid-template-columns:repeat(4,1fr);margin-top:7px;color:#756b7e;font-size:6.5px;font-weight:950;letter-spacing:.1em;text-align:center}.escalation-labels span{transition:color .2s,opacity .2s}.escalation-track[data-stage="0"]+.escalation-labels span:nth-child(1),.escalation-track[data-stage="1"]+.escalation-labels span:nth-child(2),.escalation-track[data-stage="2"]+.escalation-labels span:nth-child(3),.escalation-track[data-stage="3"]+.escalation-labels span:nth-child(4){color:#fff}


/* =========================
   HOME 2.78 — approved polish only
   ========================= */
.scene-home .bailey-stage{
  width:min(70vw,340px)!important;
  margin:8px 0 2px!important;
}
.scene-home .mascot-xl{
  width:178px!important;
  height:178px!important;
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.28))!important;
}
.scene-home .bailey-stage::before{
  width:67%!important;
  opacity:.92;
}

.home-dock{
  height:74px!important;
  padding:7px!important;
  gap:7px!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,rgba(28,20,39,.80),rgba(11,8,17,.94))!important;
  border:1px solid rgba(183,142,255,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 16px 34px rgba(0,0,0,.36),0 0 28px rgba(142,91,255,.05)!important;
}
.home-dock button{
  min-width:0;
  border:1px solid rgba(255,255,255,.035)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.010))!important;
  color:#9a8fa5!important;
  gap:3px!important;
  -webkit-tap-highlight-color:transparent;
}
.home-dock button span{
  width:31px;
  height:31px;
  display:grid;
  place-items:center;
  border-radius:11px;
  font-size:18px!important;
  line-height:1;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.045);
  filter:saturate(.96)!important;
}
.home-dock button b{
  font-size:10.5px!important;
  font-weight:850!important;
  color:inherit;
}
.home-dock button:active{
  transform:scale(.97)!important;
  color:#f4ecff!important;
  border-color:rgba(177,132,255,.22)!important;
  background:linear-gradient(180deg,rgba(157,112,255,.16),rgba(157,112,255,.055))!important;
}
.home-dock button:active span{
  background:rgba(157,112,255,.13);
  box-shadow:0 0 16px rgba(157,112,255,.10);
}

@media(max-width:390px){
  .scene-home .mascot-xl{width:172px!important;height:172px!important}
  .scene-home .bailey-stage{width:min(70vw,326px)!important}
  .home-dock{height:70px!important;padding:6px!important;gap:6px!important}
  .home-dock button span{width:29px;height:29px;font-size:17px!important}
}
@media(max-height:720px){
  .scene-home .mascot-xl{width:164px!important;height:164px!important}
  .scene-home .bailey-stage{width:min(62vw,292px)!important;margin:3px 0!important}
  .home-dock{height:66px!important}
}

/* 2.80 HOME dock — higher 3-tab bar, text left + icon right */
.scene-home .home-dock{
  height:76px!important;
  margin:0 0 40px!important;
  padding:0 14px!important;
  gap:0!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,rgba(24,18,34,.86),rgba(11,8,17,.96))!important;
  border:1px solid rgba(183,142,255,.16)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 14px 30px rgba(0,0,0,.28)!important;
  overflow:hidden;
}
.scene-home .home-dock button{
  position:relative;
  height:100%;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#a99fb2!important;
  display:flex!important;
  flex-direction:row-reverse!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  transform:none!important;
  box-shadow:none!important;
  text-align:left!important;
}
.scene-home .home-dock button:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:18px;
  bottom:18px;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.12) 26%,rgba(183,142,255,.18) 50%,rgba(255,255,255,.10) 74%,transparent);
}
.scene-home .home-dock button span{
  width:auto!important;
  height:auto!important;
  padding:0!important;
  display:block!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  font-size:22px!important;
  line-height:1!important;
  filter:saturate(.96)!important;
  transition:transform .16s ease,filter .16s ease;
}
.scene-home .home-dock button b{
  font-size:17px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:-.02em!important;
  color:inherit!important;
}
.scene-home .home-dock button:active{
  color:#f2eaff!important;
  background:linear-gradient(180deg,rgba(157,112,255,.07),rgba(157,112,255,.02))!important;
}
.scene-home .home-dock button:active span{
  transform:translateX(1px) scale(1.06)!important;
  filter:saturate(1.08) drop-shadow(0 0 8px rgba(157,112,255,.20))!important;
  background:transparent!important;
  box-shadow:none!important;
}
.scene-home .home-dock .is-active{
  color:#f4edff!important;
  background:linear-gradient(180deg,rgba(157,112,255,.08),rgba(157,112,255,.025))!important;
  transform:none!important;
  box-shadow:none!important;
}
.scene-home .home-dock .is-active::before{
  content:"";
  position:absolute;
  left:24%;right:24%;bottom:6px;height:2px;border-radius:999px;
  background:rgba(174,132,255,.72);
  box-shadow:0 0 10px rgba(157,112,255,.28);
}
@media(max-width:390px){
  .scene-home .home-dock{height:72px!important;margin-bottom:34px!important;padding:0 10px!important}
  .scene-home .home-dock button{gap:8px!important}
  .scene-home .home-dock button span{font-size:20px!important}
  .scene-home .home-dock button b{font-size:15px!important}
}
@media(max-height:720px){
  .scene-home .home-dock{height:70px!important;margin-bottom:26px!important}
  .scene-home .home-dock button:not(:last-child)::after{top:16px;bottom:16px}
  .scene-home .home-dock button b{font-size:15px!important}
}

/* 2.81 HOME dock — playful Bailey laundry controls */
.scene-home .home-dock{
  height:82px!important;
  margin:0 0 34px!important;
  padding:7px!important;
  gap:7px!important;
  overflow:visible!important;
  border-radius:25px!important;
  background:linear-gradient(180deg,rgba(28,19,39,.90),rgba(12,8,18,.96))!important;
}
.scene-home .home-dock button{
  border-radius:18px!important;
  flex-direction:row!important;
  gap:8px!important;
  overflow:visible!important;
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,.008))!important;
}
.scene-home .home-dock button:not(:last-child)::after{display:none!important}
.scene-home .home-dock button span{
  order:2!important;
  font-size:23px!important;
  transform:rotate(0deg);
  filter:drop-shadow(0 5px 7px rgba(0,0,0,.35))!important;
}
.scene-home .home-dock button:nth-child(1) span{transform:rotate(-8deg)!important}
.scene-home .home-dock button:nth-child(2) span{font-size:26px!important;transform:translateY(-2px) rotate(3deg)!important}
.scene-home .home-dock button:nth-child(3) span{transform:rotate(9deg)!important}
.scene-home .home-dock button b{
  order:1!important;
  font-size:14px!important;
  font-weight:950!important;
  letter-spacing:.015em!important;
  text-transform:uppercase;
}
.scene-home .home-dock button:nth-child(2){
  transform:translateY(-5px)!important;
  background:linear-gradient(180deg,rgba(157,112,255,.13),rgba(157,112,255,.035))!important;
  border:1px solid rgba(183,142,255,.12)!important;
}
.scene-home .home-dock button:nth-child(2)::before{
  content:"";position:absolute;left:24%;right:24%;bottom:5px;height:2px;border-radius:999px;
  background:rgba(174,132,255,.62);box-shadow:0 0 10px rgba(157,112,255,.25)
}
.scene-home .home-dock button:active{transform:translateY(-2px) scale(.97)!important}
.scene-home .home-dock button:nth-child(2):active{transform:translateY(-6px) scale(.97)!important}
.scene-home .home-dock .is-active::before{display:none!important}
@media(max-width:390px){
 .scene-home .home-dock{height:78px!important;margin-bottom:30px!important;gap:5px!important;padding:6px!important}
 .scene-home .home-dock button{gap:6px!important}
 .scene-home .home-dock button b{font-size:12.5px!important}
 .scene-home .home-dock button span{font-size:21px!important}
 .scene-home .home-dock button:nth-child(2) span{font-size:24px!important}
}


/* =========================================================
   HOME 2.82 — WAR DESK / Bailey-native navigation
   Three game objects, not an app dock.
   ========================================================= */
.scene-home .home-dock.war-dock{
  width:min(100%,430px)!important;
  height:96px!important;
  margin:0 auto 27px!important;
  padding:0 4px!important;
  gap:8px!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  display:grid!important;
  grid-template-columns:1fr 1.12fr 1fr!important;
  align-items:end!important;
  position:relative;
}
.scene-home .home-dock.war-dock::before{
  content:"MIMO BOJA";
  position:absolute;
  left:50%;top:-14px;
  transform:translateX(-50%) rotate(-1deg);
  padding:3px 10px 2px;
  border-radius:999px;
  background:#17111f;
  border:1px solid rgba(255,255,255,.08);
  color:#746a7d;
  font-size:7px;
  line-height:1;
  font-weight:1000;
  letter-spacing:.23em;
  white-space:nowrap;
}
.scene-home .home-dock.war-dock .war-tab{
  height:72px!important;
  min-width:0!important;
  padding:10px 8px 9px!important;
  border:1px solid rgba(255,255,255,.095)!important;
  border-radius:17px 19px 15px 20px!important;
  color:#f5eff8!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  overflow:visible!important;
  box-shadow:0 12px 22px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.07)!important;
  position:relative!important;
  transform-origin:50% 100%!important;
  isolation:isolate;
}
.scene-home .home-dock.war-dock .war-tab::after{
  content:"";
  position:absolute;
  inset:4px;
  border:1px dashed rgba(255,255,255,.055);
  border-radius:13px 15px 12px 16px;
  pointer-events:none;
  z-index:-1;
}
.scene-home .war-tab-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  line-height:1;
}
.scene-home .home-dock.war-dock .war-tab-copy small{
  display:block;
  font-size:6.5px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
  color:#8f8299!important;
  white-space:nowrap;
}
.scene-home .home-dock.war-dock .war-tab-copy b{
  display:block;
  order:initial!important;
  font-size:11.5px!important;
  line-height:1!important;
  font-weight:1000!important;
  letter-spacing:.015em!important;
  color:#f7f2fa!important;
  text-transform:uppercase!important;
  white-space:nowrap;
}
.scene-home .home-dock.war-dock .war-tab-icon{
  order:initial!important;
  width:31px!important;
  height:29px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  font-size:25px!important;
  line-height:1!important;
  filter:drop-shadow(0 5px 6px rgba(0,0,0,.42))!important;
}
.scene-home .home-dock.war-dock .tab-glory{
  transform:rotate(-2.4deg)!important;
  background:linear-gradient(155deg,rgba(255,196,67,.09),rgba(42,26,25,.94) 42%,rgba(18,12,20,.98))!important;
  border-color:rgba(255,207,94,.17)!important;
}
.scene-home .home-dock.war-dock .tab-glory .war-tab-icon{transform:rotate(-10deg)!important}
.scene-home .home-dock.war-dock .tab-glory .war-tab-copy small{color:#b49a6e!important}
.scene-home .home-dock.war-dock .tab-loot{
  transform:rotate(2.2deg)!important;
  background:linear-gradient(205deg,rgba(104,145,255,.10),rgba(28,21,45,.94) 44%,rgba(17,12,21,.98))!important;
  border-color:rgba(130,166,255,.16)!important;
}
.scene-home .home-dock.war-dock .tab-loot .war-tab-icon{transform:rotate(11deg)!important}
.scene-home .home-dock.war-dock .tab-loot .war-tab-copy small{color:#8698bc!important}
.scene-home .home-dock.war-dock .tab-bailey{
  height:86px!important;
  transform:translateY(-7px) rotate(.5deg)!important;
  padding-top:25px!important;
  background:radial-gradient(circle at 50% 9%,rgba(190,145,255,.19),rgba(47,29,68,.96) 43%,rgba(19,12,25,.99) 84%)!important;
  border:1px solid rgba(190,145,255,.25)!important;
  box-shadow:0 15px 29px rgba(0,0,0,.38),0 0 26px rgba(157,112,255,.09),inset 0 1px 0 rgba(255,255,255,.09)!important;
}
.scene-home .home-dock.war-dock .tab-bailey::before{
  content:"";
  position:absolute;
  left:50%;top:-9px;
  width:55px;height:10px;
  transform:translateX(-50%) rotate(-2deg);
  border-radius:3px;
  background:linear-gradient(180deg,#c4a77a,#8b704d);
  box-shadow:0 3px 7px rgba(0,0,0,.30);
  opacity:.76;
}
.scene-home .bailey-tab-face{
  position:absolute!important;
  left:50%;top:-26px;
  width:60px!important;height:60px!important;
  transform:translateX(-50%) rotate(-2deg)!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  background:radial-gradient(circle,#35233f,#17101e 70%)!important;
  border:2px solid rgba(229,208,255,.55)!important;
  box-shadow:0 9px 17px rgba(0,0,0,.38),0 0 18px rgba(157,112,255,.18)!important;
  overflow:hidden!important;
  z-index:3;
}
.scene-home .bailey-tab-face img{
  width:68px;height:68px;
  object-fit:contain;
  transform:translateY(3px) scale(1.10);
  filter:drop-shadow(0 4px 5px rgba(0,0,0,.2));
}
.scene-home .home-dock.war-dock .tab-bailey .war-tab-copy small{color:#b99add!important}
.scene-home .home-dock.war-dock .tab-bailey .war-tab-copy b{font-size:14px!important;letter-spacing:.045em!important}
.scene-home .home-dock.war-dock .war-tab:active{
  transform:translateY(2px) scale(.96)!important;
  filter:brightness(1.13);
}
.scene-home .home-dock.war-dock .tab-bailey:active{
  transform:translateY(-4px) rotate(.5deg) scale(.96)!important;
}
.scene-home .home-dock.war-dock .is-active,
.scene-home .home-dock.war-dock .is-active::before{
  box-shadow:none!important;
}
@media(max-width:390px){
  .scene-home .home-dock.war-dock{height:91px!important;margin-bottom:24px!important;gap:6px!important;padding:0 2px!important}
  .scene-home .home-dock.war-dock .war-tab{height:68px!important;padding-left:5px!important;padding-right:5px!important}
  .scene-home .home-dock.war-dock .tab-bailey{height:82px!important}
  .scene-home .home-dock.war-dock .war-tab-copy b{font-size:10.5px!important}
  .scene-home .home-dock.war-dock .war-tab-copy small{font-size:6px!important;letter-spacing:.09em!important}
  .scene-home .bailey-tab-face{width:56px!important;height:56px!important;top:-24px}
}
@media(max-height:720px){
  .scene-home .home-dock.war-dock{height:83px!important;margin-bottom:18px!important}
  .scene-home .home-dock.war-dock::before{top:-10px}
  .scene-home .home-dock.war-dock .war-tab{height:64px!important}
  .scene-home .home-dock.war-dock .tab-bailey{height:76px!important;transform:translateY(-5px) rotate(.5deg)!important}
  .scene-home .bailey-tab-face{width:52px!important;height:52px!important;top:-22px}
}


/* 2.83 — simplified integrated dock, no duplicate Bailey head */
.scene-home .home-hero{padding-bottom:0!important}
.scene-home .bailey-line{
  width:min(92%,520px)!important;
  text-align:center!important;
  padding:10px 16px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
  margin:2px 0 14px!important;
}
.scene-home .home-dock.clean-dock{
  position:relative!important;
  height:auto!important;
  min-height:88px!important;
  margin:16px 0 6px!important;
  padding:8px!important;
  gap:8px!important;
  border-radius:28px!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  align-items:stretch!important;
  background:linear-gradient(180deg,rgba(27,20,38,.88),rgba(11,8,17,.96))!important;
  border:1px solid rgba(179,140,255,.18)!important;
  box-shadow:0 18px 40px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05), 0 0 36px rgba(151,102,255,.08)!important;
  backdrop-filter:blur(20px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(120%)!important;
  overflow:visible!important;
}
.scene-home .home-dock.clean-dock::before{
  content:"";
  position:absolute;
  left:22px; right:22px; top:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);
  pointer-events:none;
}
.scene-home .home-dock.clean-dock .dock-tab{
  position:relative!important;
  min-height:72px!important;
  padding:10px 6px 9px!important;
  border:none!important;
  border-radius:22px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)!important;
  color:#f6f0ff!important;
  transform:none!important;
}
.scene-home .home-dock.clean-dock .dock-tab::after{
  content:"";
  position:absolute;
  inset:auto 18px 0;
  height:2px;
  border-radius:999px;
  opacity:.0;
  transition:opacity .18s ease;
  background:linear-gradient(90deg,transparent,var(--accent),transparent);
}
.scene-home .home-dock.clean-dock .dock-tab:active{transform:translateY(1px)!important}
.scene-home .home-dock.clean-dock .dock-tab:active::after{opacity:.55}
.scene-home .home-dock.clean-dock .dock-tab-center{
  background:linear-gradient(180deg,rgba(163,116,255,.22),rgba(119,74,205,.14))!important;
  box-shadow:inset 0 0 0 1px rgba(206,179,255,.14), 0 10px 24px rgba(110,65,196,.12)!important;
}
.scene-home .home-dock.clean-dock .dock-tab-badge{
  width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  font-size:18px!important;
  line-height:1!important;
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.04))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),0 6px 16px rgba(0,0,0,.18)!important;
}
.scene-home .home-dock.clean-dock .dock-tab-center .dock-tab-badge{
  width:38px!important;
  height:38px!important;
  font-size:19px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.06))!important;
}
.scene-home .home-dock.clean-dock .dock-tab-text{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:1px!important;
}
.scene-home .home-dock.clean-dock .dock-tab-text small{
  margin:0!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1.05!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  color:#b7adca!important;
}
.scene-home .home-dock.clean-dock .dock-tab-text b{
  margin:0!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.02!important;
  letter-spacing:-.02em!important;
  color:#fff!important;
}
.scene-home .home-dock.clean-dock .dock-tab-center .dock-tab-text small{color:#d6c2ff!important}
.scene-home .home-dock.clean-dock .dock-tab-left .dock-tab-badge{background:linear-gradient(180deg,rgba(255,214,100,.20),rgba(255,255,255,.03))!important}
.scene-home .home-dock.clean-dock .dock-tab-right .dock-tab-badge{background:linear-gradient(180deg,rgba(158,180,255,.15),rgba(255,255,255,.03))!important}
.scene-home .home-dock.clean-dock .dock-tab-center .dock-tab-badge.paw{filter:drop-shadow(0 0 12px rgba(176,130,255,.35))}
@media (max-width:390px){
  .scene-home .home-dock.clean-dock{min-height:84px!important;margin-top:14px!important;padding:7px!important;gap:7px!important}
  .scene-home .home-dock.clean-dock .dock-tab{min-height:68px!important;padding:9px 5px 8px!important}
  .scene-home .home-dock.clean-dock .dock-tab-badge{width:32px!important;height:32px!important;font-size:17px!important}
  .scene-home .home-dock.clean-dock .dock-tab-center .dock-tab-badge{width:36px!important;height:36px!important;font-size:18px!important}
  .scene-home .home-dock.clean-dock .dock-tab-text small{font-size:8px!important}
  .scene-home .home-dock.clean-dock .dock-tab-text b{font-size:12.5px!important}
}
@media (max-height:740px){
  .scene-home .home-dock.clean-dock{margin-top:12px!important;min-height:80px!important}
  .scene-home .home-dock.clean-dock .dock-tab{min-height:64px!important}
}


/* 2.84 — ultra minimal home dock, quiet and integrated */
.scene-home .home-dock.minimal-dock{
  position:relative!important;
  height:70px!important;
  min-height:70px!important;
  margin:14px 0 6px!important;
  padding:5px!important;
  gap:2px!important;
  border-radius:24px!important;
  display:grid!important;
  grid-template-columns:repeat(3,1fr)!important;
  align-items:stretch!important;
  background:linear-gradient(180deg,rgba(20,15,30,.78),rgba(11,8,18,.92))!important;
  border:1px solid rgba(185,147,255,.12)!important;
  box-shadow:0 14px 32px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04)!important;
  backdrop-filter:blur(18px) saturate(115%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(115%)!important;
}
.scene-home .home-dock.minimal-dock::before{display:none!important}
.scene-home .home-dock.minimal-dock .mini-tab{
  appearance:none!important;
  border:none!important;
  background:transparent!important;
  border-radius:18px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  color:#b8afc7!important;
  min-height:58px!important;
  padding:5px 4px!important;
  transform:none!important;
  box-shadow:none!important;
  position:relative!important;
}
.scene-home .home-dock.minimal-dock .mini-tab::after{
  content:"";
  position:absolute;
  right:-1px;
  top:14px;
  bottom:14px;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.07),transparent);
}
.scene-home .home-dock.minimal-dock .mini-tab:last-child::after{display:none!important}
.scene-home .home-dock.minimal-dock .mini-icon{
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  font-size:17px!important;
  line-height:1!important;
  background:rgba(255,255,255,.04)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)!important;
}
.scene-home .home-dock.minimal-dock .mini-tab b{
  font-size:12.5px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:-.01em!important;
  color:inherit!important;
}
.scene-home .home-dock.minimal-dock .mini-tab:active{
  transform:translateY(1px)!important;
}
.scene-home .home-dock.minimal-dock .mini-tab.is-home-active{
  background:linear-gradient(180deg,rgba(154,109,255,.18),rgba(154,109,255,.08))!important;
  color:#ffffff!important;
  box-shadow:inset 0 0 0 1px rgba(192,160,255,.12), 0 6px 18px rgba(98,57,183,.10)!important;
}
.scene-home .home-dock.minimal-dock .mini-tab.is-home-active .mini-icon{
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.06))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 0 14px rgba(169,127,255,.16)!important;
}
.scene-home .home-dock.minimal-dock .mini-tab.is-home-active::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:6px;
  transform:translateX(-50%);
  width:24px;
  height:2px;
  border-radius:999px;
  background:rgba(224,205,255,.95);
}
@media (max-width:390px){
  .scene-home .home-dock.minimal-dock{height:66px!important;min-height:66px!important;margin-top:12px!important}
  .scene-home .home-dock.minimal-dock .mini-tab{min-height:54px!important;gap:4px!important}
  .scene-home .home-dock.minimal-dock .mini-icon{width:26px!important;height:26px!important;font-size:16px!important}
  .scene-home .home-dock.minimal-dock .mini-tab b{font-size:11.5px!important}
}
@media (max-height:740px){
  .scene-home .home-dock.minimal-dock{margin-top:12px!important}
}


/* 2.85 — calm unified home navigation, one panel / three zones */
.scene-home .home-dock.zen-dock{
  position:relative!important;
  height:78px!important;
  min-height:78px!important;
  margin:14px 0 6px!important;
  padding:4px 6px!important;
  gap:0!important;
  border-radius:24px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr 1fr!important;
  align-items:stretch!important;
  background:linear-gradient(180deg,rgba(22,17,32,.78),rgba(10,8,17,.92))!important;
  border:1px solid rgba(186,150,255,.12)!important;
  box-shadow:0 14px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04), 0 0 28px rgba(143,98,255,.05)!important;
  backdrop-filter:blur(18px) saturate(118%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(118%)!important;
  overflow:hidden!important;
}
.scene-home .home-dock.zen-dock::before{
  content:"";
  position:absolute;
  left:18px; right:18px; top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.11),transparent);
  pointer-events:none;
}
.scene-home .home-dock.zen-dock .zen-tab{
  appearance:none!important;
  position:relative!important;
  border:none!important;
  background:transparent!important;
  border-radius:18px!important;
  min-height:68px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  padding:7px 6px 8px!important;
  color:#c1b8cf!important;
  box-shadow:none!important;
  transform:none!important;
}
.scene-home .home-dock.zen-dock .zen-tab::after{
  content:"";
  position:absolute;
  right:0;
  top:17px;
  bottom:17px;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.08),transparent);
}
.scene-home .home-dock.zen-dock .zen-tab:last-child::after{display:none!important}
.scene-home .home-dock.zen-dock .zen-icon{
  display:block!important;
  font-size:18px!important;
  line-height:1!important;
  filter:saturate(.95)!important;
}
.scene-home .home-dock.zen-dock .zen-tab b{
  margin:0!important;
  font-size:12.5px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  color:inherit!important;
}
.scene-home .home-dock.zen-dock .zen-tab:active{transform:translateY(1px)!important}
.scene-home .home-dock.zen-dock .zen-tab-center{
  color:#fff!important;
}
.scene-home .home-dock.zen-dock .zen-face{
  width:44px!important;
  height:44px!important;
  display:grid!important;
  place-items:center!important;
  margin-top:-1px!important;
  filter:drop-shadow(0 5px 12px rgba(0,0,0,.28));
}
.scene-home .home-dock.zen-dock .zen-face img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
}
.scene-home .home-dock.zen-dock .is-home-active{
  background:linear-gradient(180deg,rgba(154,111,255,.10),rgba(154,111,255,.03))!important;
  box-shadow:inset 0 0 0 1px rgba(191,160,255,.08)!important;
}
.scene-home .home-dock.zen-dock .is-home-active::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:6px;
  transform:translateX(-50%);
  width:26px;
  height:2px;
  border-radius:999px;
  background:rgba(219,200,255,.96);
  box-shadow:0 0 10px rgba(160,115,255,.22);
}
.scene-home .home-dock.zen-dock .is-home-active .zen-face{
  width:50px!important;
  height:50px!important;
  filter:drop-shadow(0 6px 16px rgba(0,0,0,.30)) drop-shadow(0 0 10px rgba(160,115,255,.10));
}
@media (max-width:390px){
  .scene-home .home-dock.zen-dock{height:74px!important;min-height:74px!important;margin-top:12px!important}
  .scene-home .home-dock.zen-dock .zen-tab{min-height:64px!important;gap:4px!important;padding:6px 4px 7px!important}
  .scene-home .home-dock.zen-dock .zen-tab::after{top:16px;bottom:16px}
  .scene-home .home-dock.zen-dock .zen-icon{font-size:17px!important}
  .scene-home .home-dock.zen-dock .zen-tab b{font-size:11.5px!important}
  .scene-home .home-dock.zen-dock .zen-face{width:40px!important;height:40px!important}
  .scene-home .home-dock.zen-dock .is-home-active .zen-face{width:46px!important;height:46px!important}
}
@media (max-height:740px){
  .scene-home .home-dock.zen-dock{margin-top:12px!important}
}


/* 2.86 — ultra quiet thin strip navigation */
.scene-home .home-hero{padding-bottom:0!important}
.scene-home .home-dock.strip-dock{
  position:relative!important;
  height:66px!important;
  min-height:66px!important;
  margin:8px 0 0!important;
  padding:6px 0 0!important;
  gap:0!important;
  display:grid!important;
  grid-template-columns:1fr 1fr 1fr!important;
  align-items:stretch!important;
  background:transparent!important;
  border:none!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  overflow:visible!important;
}
.scene-home .home-dock.strip-dock::before{
  content:"";
  position:absolute;
  left:24px;
  right:24px;
  top:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(209,190,255,.20),transparent);
  pointer-events:none;
}
.scene-home .home-dock.strip-dock .strip-tab{
  appearance:none!important;
  position:relative!important;
  border:none!important;
  background:transparent!important;
  min-height:56px!important;
  border-radius:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  padding:3px 6px 10px!important;
  color:#9e95ad!important;
  transform:none!important;
  box-shadow:none!important;
}
.scene-home .home-dock.strip-dock .strip-tab::after{
  content:"";
  position:absolute;
  right:0;
  top:16px;
  bottom:14px;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.05),transparent);
}
.scene-home .home-dock.strip-dock .strip-tab:last-child::after{display:none!important}
.scene-home .home-dock.strip-dock .strip-icon{
  font-size:16px!important;
  line-height:1!important;
  opacity:.9!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
}
.scene-home .home-dock.strip-dock .strip-face{
  width:26px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.22));
}
.scene-home .home-dock.strip-dock .strip-face img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
}
.scene-home .home-dock.strip-dock .strip-tab b{
  margin:0!important;
  font-size:11.5px!important;
  line-height:1.05!important;
  font-weight:820!important;
  letter-spacing:-.01em!important;
  color:inherit!important;
}
.scene-home .home-dock.strip-dock .strip-tab:active{transform:translateY(1px)!important}
.scene-home .home-dock.strip-dock .strip-tab.is-home-active{
  color:#f6f1ff!important;
}
.scene-home .home-dock.strip-dock .strip-tab.is-home-active::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:2px;
  transform:translateX(-50%);
  width:28px;
  height:2px;
  border-radius:999px;
  background:rgba(221,203,255,.96);
  box-shadow:0 0 12px rgba(157,112,255,.18);
}
.scene-home .home-dock.strip-dock .strip-tab.is-home-active .strip-face{
  width:28px!important;
  height:28px!important;
}
@media (max-width:390px){
  .scene-home .home-dock.strip-dock{height:64px!important;min-height:64px!important;margin-top:6px!important}
  .scene-home .home-dock.strip-dock .strip-tab{min-height:54px!important;padding:3px 4px 9px!important}
  .scene-home .home-dock.strip-dock .strip-icon{font-size:15px!important}
  .scene-home .home-dock.strip-dock .strip-face{width:24px!important;height:24px!important}
  .scene-home .home-dock.strip-dock .strip-tab.is-home-active .strip-face{width:26px!important;height:26px!important}
  .scene-home .home-dock.strip-dock .strip-tab b{font-size:11px!important}
}
@media (max-height:740px){
  .scene-home .home-dock.strip-dock{height:62px!important;min-height:62px!important;margin-top:6px!important}
  .scene-home .home-dock.strip-dock .strip-tab{min-height:52px!important;gap:3px!important}
}


/* 2.87 — final nav detail polish */
.scene-home .home-dock.strip-dock .strip-tab{
  gap:8px!important;
  padding:4px 6px 8px!important;
}
.scene-home .home-dock.strip-dock .strip-tab b{
  font-size:12px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  color:#b4aabd!important;
}
.scene-home .home-dock.strip-dock .strip-tab.is-home-active b{
  color:#b4aabd!important;
}
.scene-home .home-dock.strip-dock .strip-tab.is-home-active::before{
  display:none!important;
  content:none!important;
}
.scene-home .home-dock.strip-dock .strip-icon{
  font-size:18px!important;
  line-height:1!important;
  opacity:.94!important;
}
.scene-home .home-dock.strip-dock .strip-face,
.scene-home .home-dock.strip-dock .strip-tab.is-home-active .strip-face{
  width:28px!important;
  height:28px!important;
}
@media (max-width:390px){
  .scene-home .home-dock.strip-dock .strip-tab{gap:7px!important;padding:4px 4px 8px!important}
  .scene-home .home-dock.strip-dock .strip-tab b{font-size:11.5px!important}
  .scene-home .home-dock.strip-dock .strip-icon{font-size:17px!important}
  .scene-home .home-dock.strip-dock .strip-face,
  .scene-home .home-dock.strip-dock .strip-tab.is-home-active .strip-face{width:27px!important;height:27px!important}
}

/* =========================================================
   3.00 — BAILEY SHOP / DOPAMINE DROP
   Simple, collectible, thumb-first mobile store.
   ========================================================= */
.scene-shop-v3{
  flex-direction:column;overflow:hidden;padding-top:var(--safeT);
  background:
    radial-gradient(circle at 82% 10%,rgba(166,104,255,.18),transparent 27%),
    radial-gradient(circle at 8% 72%,rgba(89,54,143,.09),transparent 25%),
    linear-gradient(180deg,#110d17 0%,#0b0910 100%);
}
.shop3-header{
  height:72px;flex:none;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;
  padding:10px 14px;border-bottom:1px solid rgba(255,255,255,.065);
  background:rgba(12,9,16,.82);backdrop-filter:blur(20px);z-index:5;
}
.shop3-back{width:40px;height:40px;border-radius:15px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}
.shop3-title{min-width:0}.shop3-title .eyebrow{color:#bca8cb;font-size:7px;letter-spacing:.18em}.shop3-title h2{margin:2px 0 0;font-size:23px;line-height:1;letter-spacing:-.045em}
.shop3-wallet{height:40px;min-width:86px;padding:0 13px;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(145deg,rgba(154,99,255,.16),rgba(255,255,255,.035));border:1px solid rgba(180,126,255,.20);box-shadow:inset 0 1px 0 rgba(255,255,255,.045)}
.shop3-wallet span{font-size:18px}.shop3-wallet b{font-size:16px;letter-spacing:-.02em}
.shop3-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:14px 14px calc(var(--safeB) + 28px);scrollbar-width:none}.shop3-scroll::-webkit-scrollbar{display:none}
.shop3-intro{display:flex;justify-content:space-between;align-items:end;gap:14px;padding:2px 2px 13px}.shop3-kicker{display:block;color:#a177e7;font-size:7px;font-weight:950;letter-spacing:.16em}.shop3-intro h3{margin:4px 0 0;font-size:22px;line-height:1.02;letter-spacing:-.045em}.shop3-collection{text-align:right;flex:none}.shop3-collection b{display:block;font-size:18px;color:#fff}.shop3-collection small{display:block;margin-top:1px;font-size:6px;font-weight:950;letter-spacing:.13em;color:#8f8298}
.shop3-categories{display:flex;gap:7px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;margin:0 -14px;padding:0 14px 13px}.shop3-categories::-webkit-scrollbar{display:none}
.shop3-cat{scroll-snap-align:start;flex:0 0 auto;height:42px;padding:0 12px;border-radius:14px;border:1px solid rgba(255,255,255,.065);background:rgba(255,255,255,.032);color:#918698;display:flex;align-items:center;gap:7px;transition:.16s}.shop3-cat span{font-size:16px}.shop3-cat b{font-size:8px;font-weight:950;letter-spacing:.07em}.shop3-cat.is-active{color:#fff;background:linear-gradient(135deg,rgba(155,94,255,.28),rgba(110,66,174,.12));border-color:rgba(178,123,255,.38);box-shadow:0 8px 24px rgba(73,36,122,.18),inset 0 1px 0 rgba(255,255,255,.05)}
.shop3-drop{position:relative;min-height:218px;overflow:hidden;border-radius:27px;padding:19px;display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:8px;align-items:center;cursor:pointer;background:radial-gradient(circle at 85% 38%,rgba(174,109,255,.28),transparent 28%),linear-gradient(145deg,#2b1b3b 0%,#1c1424 55%,#151019 100%);border:1px solid rgba(180,121,255,.34);box-shadow:0 20px 44px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.06)}
.shop3-drop:before{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-132px;top:-120px;border:1px solid rgba(255,255,255,.07);box-shadow:0 0 0 28px rgba(255,255,255,.018),0 0 0 56px rgba(255,255,255,.012)}
.drop-copy{position:relative;z-index:2;min-width:0}.drop-topline{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.drop-topline span{font-size:7px;font-weight:950;letter-spacing:.14em;color:#caa9ff}.drop-topline b{padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.075);font-size:6.5px;letter-spacing:.07em;color:#eee6f4}.drop-copy h3{margin:8px 0 4px;font-size:27px;line-height:.96;letter-spacing:-.055em}.drop-copy p{margin:0 0 8px;max-width:220px;color:#b2a4b8;font-size:9.5px;line-height:1.28}.drop-price{font-size:11px;font-weight:1000;color:#fff}.drop-progress{margin-top:9px}.drop-progress i{display:block;width:100%;height:6px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}.drop-progress em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a86dff,#e766dd);box-shadow:0 0 12px rgba(182,104,255,.38)}.drop-progress small{display:block;margin-top:5px;color:#94879c;font-size:7.5px;font-weight:800}.drop-cta{height:32px;margin-top:11px;padding:0 13px;border-radius:11px;background:#fff;color:#160f1c;font-size:8px;font-weight:1000;letter-spacing:.07em;box-shadow:0 8px 20px rgba(0,0,0,.22)}
.drop-art{position:relative;z-index:2;height:128px;display:grid;place-items:center;font-size:70px;filter:drop-shadow(0 15px 16px rgba(0,0,0,.38))}.drop-art>span{position:relative;z-index:2}.drop-art img{position:relative;z-index:2;width:110px;height:110px;object-fit:contain}.drop-glow{position:absolute;width:112px;height:112px;border-radius:50%;background:radial-gradient(circle,rgba(204,154,255,.26),transparent 68%);filter:blur(2px)}
.shop3-bailey{margin-top:10px;min-height:70px;padding:9px 10px;border-radius:18px;display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;cursor:pointer;background:rgba(255,255,255,.032);border:1px solid rgba(255,255,255,.065)}.shop3-bailey img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.32))}.shop3-bailey div{min-width:0}.shop3-bailey small{display:block;color:#ac7af0;font-size:6px;font-weight:950;letter-spacing:.14em}.shop3-bailey b{display:block;margin-top:2px;font-size:9.5px;line-height:1.16;color:#eee8f1}.shop3-bailey div span{display:block;margin-top:3px;color:#8e8295;font-size:7.5px}.shop3-bailey>strong{min-width:38px;text-align:right;color:#c9b8d4;font-size:8px}
.shop3-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:19px 2px 9px}.shop3-heading .eyebrow{color:#a479ea;font-size:6.5px}.shop3-heading h3{margin:3px 0 0;font-size:21px;letter-spacing:-.04em}.shop3-heading>b{font-size:7px;color:#897d90;letter-spacing:.06em}
.shop3-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.shop3-card{min-width:0;overflow:hidden;border-radius:20px;background:linear-gradient(180deg,#19131f,#131018);border:1px solid rgba(255,255,255,.07);cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}.shop3-card:active{transform:scale(.982)}.shop3-card.is-equipped{border-color:rgba(177,114,255,.58);box-shadow:inset 0 0 0 1px rgba(158,95,255,.10),0 0 24px rgba(127,72,195,.10)}.shop3-card.can-buy{border-color:rgba(197,138,255,.28);box-shadow:0 8px 26px rgba(86,41,136,.10)}
.shop3-art{height:108px;position:relative;display:grid;place-items:center;font-size:49px;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(151,94,205,.18),rgba(38,28,46,.9) 46%,#201824 78%)}.shop3-art>span:first-child{position:relative;z-index:2}.shop3-art img{position:relative;z-index:2;width:88px;height:88px;object-fit:contain}.shop3-percent{position:absolute!important;right:8px;top:8px;z-index:3!important;padding:4px 6px;border-radius:999px;background:rgba(10,7,14,.72);color:#d0c3d6!important;font-size:7px!important;font-weight:900}.shop3-hot{position:absolute;left:8px;top:8px;z-index:3;padding:4px 6px;border-radius:999px;background:#fff;color:#160f1c;font-style:normal;font-size:6px;font-weight:1000;letter-spacing:.08em}
.shop3-info{padding:10px}.shop3-info small{display:block;color:#aa7be9;font-size:6px;font-weight:950;letter-spacing:.12em}.shop3-info h4{margin:4px 0 2px;font-size:12.5px;line-height:1.06}.shop3-info p{height:2.32em;overflow:hidden;margin:0;color:#8f8395;font-size:8px;line-height:1.16}.shop3-cta{width:100%;height:30px;margin-top:8px;border-radius:10px;border:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.045);color:#c4b7ca;font-size:7px;font-weight:950;letter-spacing:.045em}.shop3-card.can-buy .shop3-cta{background:#f5effa;color:#160f1c;border-color:transparent}.shop3-card.is-equipped .shop3-cta{background:linear-gradient(135deg,rgba(157,94,255,.30),rgba(255,255,255,.055));color:#fff;border-color:rgba(173,116,255,.24)}
.shop3-sheet .sheet-art{overflow:hidden;background:radial-gradient(circle,rgba(158,99,221,.20),#211827)}.shop3-sheet .sheet-art img{width:120px;height:120px;object-fit:contain}.shop3-sheet .sheet-art span{font-size:66px}
@media(max-width:380px){.shop3-scroll{padding-left:11px;padding-right:11px}.shop3-categories{margin-left:-11px;margin-right:-11px;padding-left:11px;padding-right:11px}.shop3-drop{grid-template-columns:minmax(0,1fr) 96px;padding:16px;min-height:208px}.drop-copy h3{font-size:24px}.drop-art{font-size:62px}.drop-art img{width:96px;height:96px}.shop3-grid{gap:7px}.shop3-info{padding:9px}}


/* 3.01 — slimmer side-rail shop: less hero, more items on screen */
.scene-shop-v3{flex-direction:column;min-height:100svh;background:radial-gradient(circle at 50% -10%,rgba(118,69,188,.18),transparent 32%),linear-gradient(180deg,#100c15 0%,#0c0911 100%)}
.shop3-shell{flex:1;min-height:0;display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:10px 10px calc(var(--safeB) + 18px)}
.shop3-rail{min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:7px;padding-right:2px;scrollbar-width:none}.shop3-rail::-webkit-scrollbar{display:none}
.shop3-main{min-height:0;display:flex;flex-direction:column}
.shop3-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 2px 2px;scrollbar-width:none}.shop3-scroll::-webkit-scrollbar{display:none}
.shop3-intro{display:flex;justify-content:space-between;align-items:end;gap:10px;padding:0 2px 10px}.shop3-kicker{display:block;color:#a177e7;font-size:7px;font-weight:950;letter-spacing:.16em}.shop3-intro h3{margin:4px 0 0;font-size:20px;line-height:1.02;letter-spacing:-.045em}.shop3-collection{text-align:right;flex:none}.shop3-collection b{display:block;font-size:16px;color:#fff}.shop3-collection small{display:block;margin-top:1px;font-size:6px;font-weight:950;letter-spacing:.13em;color:#8f8298}
.shop3-cat{width:100%;min-height:64px;padding:8px 6px;border-radius:18px;border:1px solid rgba(255,255,255,.065);background:rgba(255,255,255,.032);color:#918698;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;transition:.16s}.shop3-cat span{font-size:21px;line-height:1}.shop3-cat b{font-size:7px;font-weight:950;letter-spacing:.06em;text-align:center;line-height:1.1}.shop3-cat.is-active{color:#fff;background:linear-gradient(135deg,rgba(155,94,255,.28),rgba(110,66,174,.12));border-color:rgba(178,123,255,.38);box-shadow:0 8px 24px rgba(73,36,122,.18),inset 0 1px 0 rgba(255,255,255,.05)}
.shop3-compact-feature{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:10px;align-items:center;min-height:100px;padding:14px 14px 13px;border-radius:22px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(145deg,rgba(47,28,67,.94),rgba(20,16,25,.96));box-shadow:0 16px 34px rgba(0,0,0,.22);cursor:pointer;margin-bottom:14px}.shop3-compact-feature:active{transform:scale(.992)}
.compact-copy{min-width:0}.compact-topline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}.compact-topline span{font-size:6px;font-weight:950;letter-spacing:.18em;color:#b88ef2}.compact-topline b{padding:4px 7px;border-radius:999px;background:rgba(255,255,255,.06);font-size:6.5px;letter-spacing:.08em;color:#f1eafb}.compact-copy h3{margin:0;font-size:20px;line-height:1.02;letter-spacing:-.04em}.compact-copy p{margin:4px 0 0;color:#b7abbe;font-size:8px;line-height:1.28}.compact-progress{margin-top:9px}.compact-progress i{display:block;height:6px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.compact-progress em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#e263d9)}.compact-progress small{display:block;margin-top:5px;color:#9f92a8;font-size:7px}
.compact-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.compact-art{width:74px;height:58px;display:grid;place-items:center;position:relative;border-radius:18px;background:radial-gradient(circle at 50% 42%,rgba(155,94,208,.20),rgba(34,24,42,.92) 52%,#1b151f 100%);overflow:hidden}.compact-art img{width:58px;height:58px;object-fit:contain}.compact-art span{font-size:38px;line-height:1}.compact-cta{width:74px;height:28px;border-radius:10px;border:1px solid rgba(255,255,255,.07);background:#f4eef9;color:#160f1c;font-size:7px;font-weight:950;letter-spacing:.06em}
.shop3-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:2px 2px 9px}.shop3-heading .eyebrow{color:#a479ea;font-size:6.5px}.shop3-heading h3{margin:3px 0 0;font-size:20px;letter-spacing:-.04em}.shop3-heading>b{font-size:7px;color:#897d90;letter-spacing:.06em}
.shop3-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.shop3-card{min-width:0;overflow:hidden;border-radius:18px;background:linear-gradient(180deg,#19131f,#131018);border:1px solid rgba(255,255,255,.07);cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}.shop3-card:active{transform:scale(.982)}.shop3-card.is-equipped{border-color:rgba(177,114,255,.58);box-shadow:inset 0 0 0 1px rgba(158,95,255,.10),0 0 24px rgba(127,72,195,.10)}.shop3-card.can-buy{border-color:rgba(197,138,255,.28);box-shadow:0 8px 26px rgba(86,41,136,.10)}
.shop3-art{height:88px;position:relative;display:grid;place-items:center;font-size:42px;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(151,94,205,.18),rgba(38,28,46,.9) 46%,#201824 78%)}.shop3-art>span:first-child{position:relative;z-index:2}.shop3-art img{position:relative;z-index:2;width:72px;height:72px;object-fit:contain}.shop3-percent{position:absolute!important;right:7px;top:7px;z-index:3!important;padding:4px 6px;border-radius:999px;background:rgba(10,7,14,.72);color:#d0c3d6!important;font-size:6px!important;font-weight:900}.shop3-hot{position:absolute;left:7px;top:7px;z-index:3;padding:4px 6px;border-radius:999px;background:#fff;color:#160f1c;font-style:normal;font-size:5.8px;font-weight:1000;letter-spacing:.08em}
.shop3-info{padding:9px 9px 10px}.shop3-info small{display:block;color:#aa7be9;font-size:5.8px;font-weight:950;letter-spacing:.12em}.shop3-info h4{margin:4px 0 2px;font-size:11.5px;line-height:1.06}.shop3-info p{height:2.28em;overflow:hidden;margin:0;color:#8f8395;font-size:7.4px;line-height:1.14}.shop3-cta{width:100%;height:28px;margin-top:8px;border-radius:10px;border:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.045);color:#c4b7ca;font-size:6.5px;font-weight:950;letter-spacing:.045em}.shop3-card.can-buy .shop3-cta{background:#f5effa;color:#160f1c;border-color:transparent}.shop3-card.is-equipped .shop3-cta{background:linear-gradient(135deg,rgba(157,94,255,.30),rgba(255,255,255,.055));color:#fff;border-color:rgba(173,116,255,.24)}
@media(max-width:380px){.shop3-shell{grid-template-columns:70px minmax(0,1fr);gap:10px;padding-inline:8px}.shop3-cat{min-height:60px}.shop3-cat span{font-size:19px}.shop3-cat b{font-size:6.4px}.shop3-intro h3{font-size:18px}.shop3-compact-feature{grid-template-columns:minmax(0,1fr) 74px;padding:12px}.compact-copy h3{font-size:18px}.compact-art{width:66px;height:54px}.compact-art img{width:52px;height:52px}.compact-cta{width:66px}.shop3-grid{gap:7px}.shop3-art{height:82px}.shop3-art img{width:66px;height:66px}}


/* 3.01.2 — remove redundant intro, prettier product cards */
.shop3-title{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.shop3-headmeta{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07)}
.shop3-headmeta b{font-size:10px;line-height:1;color:#fff}
.shop3-headmeta small{font-size:6px;font-weight:900;letter-spacing:.12em;color:#9f91ab}
.shop3-main{padding-top:4px}
.shop3-scroll{padding-top:0}
.shop3-compact-feature{position:relative;grid-template-columns:minmax(0,1fr) 94px;gap:12px;min-height:126px;padding:16px 16px 15px;border-radius:26px;border:1px solid rgba(199,142,255,.16);background:radial-gradient(circle at 78% 30%,rgba(157,95,255,.18),transparent 22%),linear-gradient(145deg,#2d1c3d 0%,#1c1526 56%,#141019 100%);box-shadow:0 18px 38px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.06);margin-bottom:16px}
.shop3-compact-feature:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.compact-topline{margin-bottom:6px}.compact-topline span{font-size:6.4px}.compact-topline b{font-size:6.7px;background:rgba(12,8,18,.34)}
.compact-copy h3{font-size:22px;line-height:1}.compact-copy p{font-size:8.4px;line-height:1.28}.compact-progress small{font-size:7.2px}
.compact-art{width:82px;height:70px;border-radius:20px;background:radial-gradient(circle at 50% 42%,rgba(176,111,241,.28),rgba(39,27,50,.94) 54%,#1a141f 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.compact-art img{width:64px;height:64px}.compact-art span{font-size:42px}
.compact-cta{width:82px;height:31px;border-radius:12px;font-size:7.1px;box-shadow:0 10px 18px rgba(255,255,255,.06)}
.shop3-heading{margin:4px 2px 10px}.shop3-heading h3{font-size:22px}.shop3-heading>b{font-size:7.2px}
.shop3-grid{gap:10px}
.shop3-card{position:relative;border-radius:24px;background:linear-gradient(180deg,#1b1421 0%,#151019 100%);border:1px solid rgba(255,255,255,.075);box-shadow:0 16px 34px rgba(0,0,0,.22);overflow:hidden}
.shop3-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.04),transparent 28%);pointer-events:none}
.shop3-card.is-equipped{border-color:rgba(176,115,255,.64);box-shadow:0 0 0 1px rgba(160,96,255,.12),0 18px 36px rgba(89,47,139,.22)}
.shop3-card.can-buy{border-color:rgba(214,169,255,.22);box-shadow:0 18px 36px rgba(92,51,141,.18)}
.shop3-art{height:122px;font-size:52px;background:radial-gradient(circle at 50% 38%,rgba(150,96,202,.24),rgba(43,31,52,.93) 48%,#201724 78%)}
.shop3-art img{width:86px;height:86px}
.shop3-percent{right:9px;top:9px;padding:5px 7px;font-size:6.2px!important}
.shop3-hot{left:9px;top:9px;padding:5px 7px;font-size:6px}
.shop3-info{padding:11px 11px 12px}.shop3-info small{font-size:6px}.shop3-info h4{font-size:13px;line-height:1.05;margin:5px 0 3px}.shop3-info p{height:2.32em;font-size:8px;line-height:1.16;color:#978a9f}
.shop3-cta{height:34px;margin-top:10px;border-radius:14px;border-color:rgba(255,255,255,.06);font-size:7px;letter-spacing:.05em;background:rgba(255,255,255,.05)}
.shop3-card.can-buy .shop3-cta{background:linear-gradient(180deg,#fbf6ff,#efe5fb);box-shadow:0 8px 18px rgba(255,255,255,.07)}
.shop3-card.is-equipped .shop3-cta{background:linear-gradient(135deg,rgba(155,92,255,.34),rgba(255,255,255,.07))}
@media(max-width:380px){.shop3-headmeta{padding:3px 8px}.shop3-compact-feature{grid-template-columns:minmax(0,1fr) 80px;min-height:118px;padding:14px}.compact-copy h3{font-size:20px}.compact-art{width:72px;height:62px}.compact-art img{width:56px;height:56px}.compact-cta{width:72px;height:29px}.shop3-grid{gap:8px}.shop3-card{border-radius:21px}.shop3-art{height:108px}.shop3-art img{width:78px;height:78px}.shop3-info{padding:10px}}


/* 3.01.3 — berry vault instead of “na dosah” */
.shop3-compact-feature{grid-template-columns:minmax(0,1fr) 110px;min-height:132px}
.vault-copy{min-width:0}.vault-topline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}.vault-topline span{font-size:6.4px;font-weight:950;letter-spacing:.18em;color:#b88ef2}.vault-topline b{padding:4px 7px;border-radius:999px;background:rgba(12,8,18,.34);font-size:6.7px;letter-spacing:.08em;color:#f1eafb}.vault-copy h3{margin:0;font-size:22px;line-height:1;letter-spacing:-.04em}.vault-copy p{margin:4px 0 0;color:#b7abbe;font-size:8.4px;line-height:1.28}.vault-progress{margin-top:9px}.vault-progress i{display:block;height:7px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.vault-progress em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#e263d9)}.vault-progress small{display:block;margin-top:5px;color:#9f92a8;font-size:7.2px}
.vault-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.vault-box{position:relative;width:92px;height:72px;display:grid;place-items:center}
.vault-safe{position:absolute;right:2px;top:8px;width:58px;height:50px;border-radius:14px;background:linear-gradient(180deg,#332442,#21182b);border:1px solid rgba(255,255,255,.08);box-shadow:0 12px 24px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.04)}
.vault-safe:before{content:"";position:absolute;inset:7px;border-radius:10px;border:1px solid rgba(255,255,255,.06)}
.vault-safe:after{content:"";position:absolute;left:6px;top:11px;width:4px;height:28px;border-radius:4px;background:rgba(255,255,255,.08)}
.vault-wheel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:20px;height:20px;border-radius:50%;border:2px solid rgba(255,255,255,.18);box-shadow:inset 0 0 0 2px rgba(255,255,255,.05)}
.vault-wheel:before,.vault-wheel:after{content:"";position:absolute;left:50%;top:50%;width:2px;height:16px;background:rgba(255,255,255,.16);transform:translate(-50%,-50%);border-radius:2px}.vault-wheel:after{transform:translate(-50%,-50%) rotate(90deg)}
.vault-dot{position:absolute;right:9px;top:9px;width:6px;height:6px;border-radius:50%;background:#8fe3a5;box-shadow:0 0 10px rgba(143,227,165,.5)}
.vault-berry{position:absolute;font-size:17px;filter:drop-shadow(0 8px 10px rgba(0,0,0,.25))}.vault-berry.b1{left:2px;top:10px}.vault-berry.b2{left:16px;top:27px}.vault-berry.b3{left:32px;top:16px}
@media(max-width:380px){.shop3-compact-feature{grid-template-columns:minmax(0,1fr) 92px;min-height:124px}.vault-copy h3{font-size:20px}.vault-box{width:78px;height:66px}.vault-safe{width:50px;height:45px}.vault-berry{font-size:15px}.compact-cta{width:72px}}


/* 3.02 — real berry vault savings */
.shop3-compact-feature{margin-bottom:8px;grid-template-columns:minmax(0,1fr) 118px;min-height:138px;padding-bottom:14px}
.vault-copy{min-width:0}.vault-topline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}.vault-topline span{font-size:6.4px;font-weight:950;letter-spacing:.18em;color:#b88ef2}.vault-topline b{padding:4px 7px;border-radius:999px;background:rgba(12,8,18,.34);font-size:6.7px;letter-spacing:.08em;color:#f1eafb}.vault-copy h3{margin:0;font-size:22px;line-height:1;letter-spacing:-.04em}.vault-copy p{margin:4px 0 0;color:#b7abbe;font-size:8.4px;line-height:1.28}.vault-progress{margin-top:9px}.vault-progress i{display:block;height:7px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.vault-progress em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#e263d9)}.vault-progress small{display:block;margin-top:5px;color:#9f92a8;font-size:7.2px}
.vault-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.vault-mini{height:25px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.06);color:#f4eefb;font-size:6.4px;font-weight:950;letter-spacing:.05em}.vault-mini.is-ghost{background:rgba(10,7,14,.28);color:#d1c4d9}
.vault-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.vault-box{position:relative;width:100px;height:76px;display:grid;place-items:center}.vault-slot{position:absolute;left:8px;top:18px;width:26px;height:10px;border-radius:8px;background:rgba(255,255,255,.11);box-shadow:inset 0 2px 4px rgba(0,0,0,.28)}
.vault-safe{position:absolute;right:0;top:10px;width:64px;height:54px;border-radius:15px;background:linear-gradient(180deg,#372648,#241a2f);border:1px solid rgba(255,255,255,.09);box-shadow:0 12px 24px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.04)}
.vault-safe:before{content:"";position:absolute;inset:7px;border-radius:11px;border:1px solid rgba(255,255,255,.06)}
.vault-safe:after{content:"";position:absolute;left:7px;top:12px;width:4px;height:30px;border-radius:4px;background:rgba(255,255,255,.09)}
.vault-wheel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:22px;height:22px;border-radius:50%;border:2px solid rgba(255,255,255,.18);box-shadow:inset 0 0 0 2px rgba(255,255,255,.05)}
.vault-wheel:before,.vault-wheel:after{content:"";position:absolute;left:50%;top:50%;width:2px;height:16px;background:rgba(255,255,255,.16);transform:translate(-50%,-50%);border-radius:2px}.vault-wheel:after{transform:translate(-50%,-50%) rotate(90deg)}
.vault-dot{position:absolute;right:10px;top:10px;width:7px;height:7px;border-radius:50%;background:#8fe3a5;box-shadow:0 0 10px rgba(143,227,165,.5)}
.vault-berry{position:absolute;font-size:17px;filter:drop-shadow(0 8px 10px rgba(0,0,0,.25))}.vault-berry.b1{left:5px;top:5px}.vault-berry.b2{left:17px;top:24px}.vault-berry.b3{left:29px;top:12px}
@media(max-width:380px){.shop3-compact-feature{grid-template-columns:minmax(0,1fr) 96px;min-height:132px;margin-bottom:7px}.vault-copy h3{font-size:20px}.vault-box{width:82px;height:68px}.vault-safe{width:54px;height:48px}.vault-slot{left:4px;top:18px;width:22px}.vault-berry{font-size:15px}}


/* 3.03 — standalone unlimited functional vault */
.shop3-compact-feature{margin-bottom:4px!important;grid-template-columns:minmax(0,1fr) 128px!important;min-height:176px!important;padding:16px!important;gap:10px!important;border-radius:26px!important;background:radial-gradient(circle at 82% 24%,rgba(123,85,161,.18),transparent 24%),linear-gradient(145deg,#241a2e 0%,#17121d 58%,#110e15 100%)!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:0 18px 38px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05)!important}
.shop3-heading{margin-top:4px!important}
.real-vault-copy{min-width:0}.real-vault-label{font-size:7px;font-weight:950;letter-spacing:.18em;color:#bd92f3}.real-vault-balance{display:flex;align-items:center;gap:7px;margin-top:5px}.real-vault-balance b{font-size:29px;line-height:1;letter-spacing:-.04em}.real-vault-balance span{font-size:17px}.real-vault-wallet{margin-top:5px;color:#8f8298;font-size:7px;font-weight:850;letter-spacing:.08em}.real-vault-wallet strong{color:#cfc3d6;margin-left:5px}.real-vault-controls{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:5px;margin-top:11px}.real-vault-controls input{min-width:0;height:32px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(8,6,11,.34);color:#fff;padding:0 9px;font:inherit;font-size:8px;font-weight:850;outline:none}.real-vault-controls input:focus{border-color:rgba(180,120,255,.34);box-shadow:0 0 0 2px rgba(150,90,220,.08)}.real-vault-controls button,.real-vault-quick button{height:32px;border-radius:11px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.055);color:#efe8f3;font-size:6.3px;font-weight:950;letter-spacing:.055em}.real-vault-controls button{padding:0 9px}.real-vault-controls #vaultDeposit{background:linear-gradient(180deg,#f7f0fb,#e9def2);color:#160f1c;border-color:transparent}.real-vault-quick{display:flex;gap:5px;margin-top:6px}.real-vault-quick button{flex:1;height:26px;padding:0 5px;background:rgba(255,255,255,.035);color:#b9acbf}
.real-safe{position:relative;width:122px;height:134px;display:grid;place-items:center;filter:drop-shadow(0 18px 20px rgba(0,0,0,.34));transition:transform .18s}.real-safe.is-pulse{animation:vaultPulse .42s ease}.safe-body{position:relative;width:108px;height:104px;border-radius:18px;background:linear-gradient(145deg,#4a4351 0%,#26212b 42%,#17141b 100%);border:2px solid rgba(255,255,255,.10);box-shadow:inset 0 1px 1px rgba(255,255,255,.16),inset -10px -12px 22px rgba(0,0,0,.28),0 18px 28px rgba(0,0,0,.3)}.safe-door{position:absolute;left:10px;top:9px;width:84px;height:76px;border-radius:12px;background:linear-gradient(145deg,#35303b,#1c1921);border:1px solid rgba(255,255,255,.11);box-shadow:inset 0 1px rgba(255,255,255,.09),inset 0 0 0 5px rgba(0,0,0,.12)}.safe-door:before{content:"";position:absolute;inset:8px;border-radius:9px;border:1px solid rgba(255,255,255,.05)}.safe-hinge{position:absolute;left:-5px;width:7px;height:18px;border-radius:4px;background:linear-gradient(90deg,#17141b,#5b5361,#222029)}.safe-hinge.h1{top:10px}.safe-hinge.h2{bottom:10px}.safe-led{position:absolute;right:11px;top:10px;width:7px;height:7px;border-radius:50%;background:#78e6a1;box-shadow:0 0 10px rgba(120,230,161,.65)}.safe-wheel{position:absolute;left:41px;top:37px;width:32px;height:32px;border-radius:50%;border:3px solid #6d6573;box-shadow:inset 0 0 0 4px #24202a,0 1px 0 rgba(255,255,255,.12)}.safe-wheel:before{content:"";position:absolute;left:50%;top:50%;width:8px;height:8px;transform:translate(-50%,-50%);border-radius:50%;background:#77707c}.safe-wheel i{position:absolute;left:50%;top:50%;width:3px;height:25px;border-radius:3px;background:#6d6573;transform-origin:50% 50%}.safe-wheel i:nth-child(1){transform:translate(-50%,-50%)}.safe-wheel i:nth-child(2){transform:translate(-50%,-50%) rotate(60deg)}.safe-wheel i:nth-child(3){transform:translate(-50%,-50%) rotate(120deg)}.safe-handle{position:absolute;right:8px;top:38px;width:5px;height:19px;border-radius:4px;background:#7f7686}.safe-base{position:absolute;left:8px;right:8px;bottom:-8px;height:12px;border-radius:0 0 10px 10px;background:#17141a;box-shadow:0 7px 8px rgba(0,0,0,.25)}.safe-berries{position:absolute;left:-2px;top:3px;display:flex;gap:0;transform:rotate(-8deg)}.safe-berries span{font-size:18px;margin-right:-7px;filter:drop-shadow(0 4px 5px rgba(0,0,0,.25))}
@keyframes vaultPulse{0%{transform:scale(1)}45%{transform:scale(1.06) rotate(-1deg)}100%{transform:scale(1)}}
@media(max-width:380px){.shop3-compact-feature{grid-template-columns:minmax(0,1fr) 108px!important;min-height:170px!important;padding:14px!important}.real-vault-balance b{font-size:25px}.real-vault-controls{grid-template-columns:1fr 1fr}.real-vault-controls input{grid-column:1/-1}.real-vault-controls button{padding:0 6px}.real-vault-quick{gap:3px}.real-safe{width:104px;transform:scale(.9);transform-origin:center}.real-safe.is-pulse{animation:vaultPulseSmall .42s ease}@keyframes vaultPulseSmall{0%{transform:scale(.9)}45%{transform:scale(.96) rotate(-1deg)}100%{transform:scale(.9)}}}


/* 3.03.2 — cleaner standalone vault */
.real-vault-controls{grid-template-columns:1fr 1fr !important;align-items:stretch}
.real-vault-controls input{grid-column:1 / -1;height:36px;padding:0 12px;font-size:8.4px}
.real-vault-controls button{height:34px;padding:0 10px}
.real-vault-quick{gap:5px;flex-wrap:nowrap}
.real-vault-quick button{height:28px}
.safe-berries{display:none !important}
@media(max-width:430px){.real-vault-controls{grid-template-columns:1fr 1fr !important}.real-vault-controls input{grid-column:1/-1}.real-vault-quick{gap:4px}.real-vault-quick button{font-size:6px;padding:0 4px}}

/* TEMP DEV SHOP UNLOCK — remove together with #devUnlockShop before public release */
.shop3-dev-wrap{display:flex;align-items:center;gap:7px}
.shop3-dev-unlock{height:32px;padding:0 9px;border-radius:10px;border:1px dashed rgba(255,196,76,.55);background:rgba(255,184,42,.09);color:#ffd47a;font-size:7px;font-weight:1000;letter-spacing:.035em;white-space:nowrap}
.shop3-dev-unlock:active{transform:scale(.97)}
.shop3-dev-unlock:disabled{opacity:.45}
@media(max-width:390px){.shop3-dev-wrap{gap:5px}.shop3-dev-unlock{max-width:88px;white-space:normal;line-height:1.05;height:36px;padding:0 7px}.shop3-wallet{min-width:72px!important;padding:0 9px!important}}

/* SHOP 3.1 — progres má byť viditeľný, nie iba drahší */
.shop3-cat{min-height:58px!important;border-radius:16px!important}
.shop3-cat span{font-size:19px!important}
.shop3-cat b{font-size:6.6px!important;letter-spacing:.045em!important}
.shop3-card{background:linear-gradient(180deg,#17141b 0%,#111014 100%)!important}
.shop3-card.is-owned:not(.is-equipped){border-color:rgba(112,226,160,.20)!important}
.shop3-card.is-equipped{border-color:rgba(177,114,255,.72)!important}
.shop3-art{height:108px!important;background:radial-gradient(circle at 50% 42%,rgba(122,94,145,.16),rgba(31,27,36,.96) 52%,#17151b 82%)!important}
.shop3-tier{position:absolute;left:9px;bottom:8px;z-index:4;padding:4px 6px;border-radius:7px;background:rgba(8,7,10,.68);border:1px solid rgba(255,255,255,.07);font-size:5.6px!important;font-weight:1000;letter-spacing:.10em;color:#a99daf!important}
.shop3-card.is-equipped .shop3-tier{color:#d9b9ff!important;border-color:rgba(184,126,255,.20)}
.shop3-hot{max-width:70px;line-height:1.05;text-align:center;background:#f4eff7!important}
.shop3-info h4{font-size:12px!important}
.shop3-info p{height:2.45em!important;font-size:7.7px!important}
.shop3-info small{color:#9e8cab!important}
.shop3-card.is-owned .shop3-info small{color:#76c999!important}
.shop3-card.is-equipped .shop3-info small{color:#c89cff!important}
@media(max-width:380px){.shop3-cat{min-height:55px!important}.shop3-art{height:100px!important}}

/* PROFIL MODAL */
.profile-modal{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:20px}
.profile-modal.show{display:flex}
.profile-scrim{position:absolute;inset:0;background:rgba(6,4,10,.82);backdrop-filter:blur(6px)}
.profile-card{position:relative;width:100%;max-width:400px;background:linear-gradient(160deg,var(--panel2),var(--panel));border:1px solid var(--line);border-radius:26px;padding:26px 22px calc(var(--safeB) + 22px);box-shadow:0 24px 60px #000c;animation:sheetUp .26s ease}
.profile-eyebrow{font-size:9px;font-weight:1000;letter-spacing:.2em;color:var(--accent);text-align:center}
.profile-card h2{font-size:27px;letter-spacing:-.04em;margin:8px 0 6px;text-align:center}
.profile-sub{color:var(--muted);font-size:12px;line-height:1.45;text-align:center;margin:0 0 18px}
.profile-preview{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:16px}
.profile-preview span{font-size:52px;filter:drop-shadow(0 8px 12px #0007)}
.profile-preview b{font-size:18px}
.profile-modal input{width:100%;height:52px;border-radius:15px;background:#100d16;border:1px solid var(--line);color:var(--text);font-size:16px;font-weight:700;text-align:center;margin-bottom:16px;outline:none}
.profile-modal input:focus{border-color:color-mix(in srgb,var(--accent) 60%,transparent)}
.profile-avatars{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:20px}
.profile-avatars button{aspect-ratio:1;border-radius:15px;background:#17121e;border:1px solid var(--line);font-size:28px;display:grid;place-items:center;cursor:pointer;transition:.12s}
.profile-avatars button.is-active{background:color-mix(in srgb,var(--accent) 22%,#17121e);border-color:var(--accent);transform:scale(1.06)}
.profile-save{width:100%;padding:16px;border-radius:16px;background:var(--accent);color:#fff;font-size:16px;font-weight:1000;letter-spacing:.05em;cursor:pointer;box-shadow:0 12px 30px color-mix(in srgb,var(--accent) 30%,transparent)}

/* 3.07 — Liga: identita hráča + bývanie + jasne odlíšené TOP 3 */
.scene-page[data-scene="leaderboard"] .podium-card.rank-1{
 background:linear-gradient(180deg,rgba(91,65,111,.98),rgba(42,30,49,.99))!important;
 border-color:rgba(242,193,83,.58)!important;
 box-shadow:0 12px 30px rgba(0,0,0,.28),inset 0 0 34px rgba(232,181,58,.09)!important
}
.scene-page[data-scene="leaderboard"] .podium-card.rank-2{
 background:linear-gradient(180deg,rgba(58,62,76,.98),rgba(28,27,35,.99))!important;
 border-color:rgba(205,214,232,.38)!important;
 box-shadow:inset 0 0 26px rgba(194,204,224,.055)!important
}
.scene-page[data-scene="leaderboard"] .podium-card.rank-3{
 background:linear-gradient(180deg,rgba(74,45,37,.98),rgba(34,23,25,.99))!important;
 border-color:rgba(205,126,73,.40)!important;
 box-shadow:inset 0 0 26px rgba(190,104,57,.07)!important
}
.pod-player-name{max-width:100%;font-size:10px;font-weight:1000;line-height:1.05;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:1px 0 2px;letter-spacing:.02em}
.rank-1 .pod-player-name{font-size:12px;color:#fff4d2}
.scene-page[data-scene="leaderboard"] .podium-card .pod-home{min-height:13px!important;font-size:5.9px!important;color:#a99eb1!important;letter-spacing:.075em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block!important}
.rank-1 .pod-home{color:#d4b77a!important}

/* 3.08 — avatar optické centrovanie + founder Bailey */
.profile-preview{min-height:174px!important;justify-content:center!important;gap:12px!important;padding:18px 12px!important}
.profile-preview>span{width:82px!important;height:82px!important;display:grid!important;place-items:center!important;font-size:54px!important;line-height:1!important;overflow:hidden!important;filter:none!important}
.profile-preview>span:not(:has(img)){padding-top:2px}
.profile-preview b{font-size:18px!important;line-height:1.15!important;margin:0!important}
.profile-avatars button{line-height:1!important;align-items:center!important;justify-content:center!important}
.avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.profile-avatars .founder-avatar img{width:58px;height:58px;border-radius:14px;object-fit:cover}
.pod-avatar .avatar-head .avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%}
#hudAvatar .avatar-img,.user-avatar .avatar-img{width:100%;height:100%;object-fit:cover;border-radius:inherit}

/* 4.1 — TY + BAILEY spoločná karta */
.care-duo{height:250px!important;display:grid!important;grid-template-columns:43% 1px 57%;place-items:stretch!important;padding:0!important;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012))!important}
.care-player-panel,.care-bailey-panel{position:relative;min-width:0;height:100%;overflow:hidden}
.care-duo-divider{width:1px;height:76%;align-self:center;background:linear-gradient(180deg,transparent,rgba(255,255,255,.13),transparent);z-index:4}
.care-duo-label{position:absolute;top:15px;left:16px;z-index:5;font-size:8px;font-weight:1000;letter-spacing:.2em;color:#a99caf}
.care-player-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px 10px 15px;text-align:center}
.care-player-avatar{width:82px;height:82px;border-radius:25px;display:grid;place-items:center;font-size:48px;line-height:1;background:radial-gradient(circle at 50% 35%,color-mix(in srgb,var(--accent) 24%,#2a2131),#17121d 70%);border:1px solid color-mix(in srgb,var(--accent) 32%,rgba(255,255,255,.08));box-shadow:0 14px 28px rgba(0,0,0,.28);overflow:hidden}
.care-player-avatar .avatar-img{width:100%;height:100%;object-fit:contain;display:block}
.care-player-name{margin-top:10px;max-width:100%;font-size:16px;font-weight:1000;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.care-player-home{margin-top:5px;max-width:100%;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#a79cac;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.care-player-berries{margin-top:11px;height:29px;padding:0 11px;border-radius:999px;display:flex;align-items:center;gap:6px;background:#120e17;border:1px solid rgba(255,255,255,.09);font-size:12px}
.care-player-berries strong{font-size:12px;font-weight:1000}
.care-bailey-panel .care-glow{left:50%;top:42%;transform:translate(-50%,-50%);width:168px;height:168px}
.care-bailey-panel #careBaileyImage{position:absolute;z-index:1;height:166px;max-width:88%;width:auto;left:50%;top:41%;transform:translate(-50%,-50%);object-fit:contain;object-position:center;filter:drop-shadow(0 20px 22px rgba(0,0,0,.45))}
.care-bailey-panel #careBaileyImage.is-away{opacity:.16;transform:translate(-50%,-50%) scale(.88);filter:grayscale(.35) blur(.5px)}
.care-bailey-panel .care-state-overlay{position:absolute;top:11px;right:10px;z-index:6;height:28px;padding:0 9px}
.care-bailey-panel .care-speech{left:12px;right:12px;bottom:9px;min-height:40px;max-height:64px;padding:7px 10px;display:flex;align-items:center;justify-content:center;overflow:auto;font-size:10px;line-height:1.25}
@media(max-width:380px){.care-duo{grid-template-columns:42% 1px 58%}.care-player-avatar{width:72px;height:72px;font-size:42px}.care-player-name{font-size:14px}.care-bailey-panel #careBaileyImage{height:154px}}
@media(max-height:700px){.care-duo{height:218px!important}.care-player-avatar{width:68px;height:68px;font-size:40px}.care-player-name{margin-top:7px;font-size:14px}.care-player-berries{margin-top:7px}.care-bailey-panel #careBaileyImage{height:145px}.care-bailey-panel .care-speech{max-height:62px}}

/* 4.2 — Bailey card spacing fix: portrait and speech never overlap */
.care-bailey-panel #careBaileyImage{
  height:132px!important;
  max-width:76%!important;
  top:36%!important;
}
.care-bailey-panel .care-glow{
  top:36%!important;
  width:145px!important;
  height:145px!important;
}
.care-bailey-panel .care-speech{
  left:12px!important;
  right:12px!important;
  bottom:10px!important;
  min-height:43px!important;
  max-height:58px!important;
  padding:7px 11px!important;
  font-size:10px!important;
  line-height:1.22!important;
  z-index:7!important;
}
@media(max-width:380px){
  .care-bailey-panel #careBaileyImage{height:124px!important;top:35%!important;max-width:74%!important}
  .care-bailey-panel .care-glow{top:35%!important;width:136px!important;height:136px!important}
}
@media(max-height:700px){
  .care-bailey-panel #careBaileyImage{height:116px!important;top:34%!important}
  .care-bailey-panel .care-speech{min-height:40px!important;max-height:54px!important}
}


/* 4.3 — Bailey card final layout + hard cache refresh
   Portrait gets its own zone. Speech is a separate footer; no overlap. */
.care-bailey-panel #careBaileyImage{
  height:108px!important;
  width:auto!important;
  max-width:68%!important;
  left:50%!important;
  top:35%!important;
  transform:translate(-50%,-50%)!important;
  object-fit:contain!important;
}
.care-bailey-panel #careBaileyImage.is-away{
  transform:translate(-50%,-50%) scale(.88)!important;
}
.care-bailey-panel .care-glow{
  top:35%!important;
  width:124px!important;
  height:124px!important;
}
.care-bailey-panel .care-speech{
  left:16px!important;
  right:16px!important;
  bottom:12px!important;
  min-height:40px!important;
  max-height:50px!important;
  padding:7px 12px!important;
  border-radius:15px!important;
  font-size:9.5px!important;
  line-height:1.25!important;
  overflow:auto!important;
  z-index:8!important;
}
@media(max-width:380px){
  .care-bailey-panel #careBaileyImage{height:100px!important;max-width:64%!important;top:34%!important}
  .care-bailey-panel .care-glow{top:34%!important;width:116px!important;height:116px!important}
  .care-bailey-panel .care-speech{left:13px!important;right:13px!important;bottom:11px!important;font-size:9px!important;max-height:48px!important}
}

/* 4.4 — PROFESSIONAL CARE HERO: fixed visual zones, zero collisions */
.care-duo{
  height:250px!important;
  grid-template-columns:43% 1px 57%!important;
}
.care-bailey-panel{
  display:grid!important;
  grid-template-rows:38px minmax(0,1fr) 58px!important;
  overflow:hidden!important;
  padding:0 12px 10px!important;
}
.care-bailey-panel>.care-duo-label{top:15px!important;left:16px!important}
.care-bailey-panel .care-state-overlay{top:10px!important;right:10px!important}
.care-bailey-panel .care-glow{
  position:absolute!important;
  left:50%!important;
  top:105px!important;
  transform:translate(-50%,-50%)!important;
  width:148px!important;height:148px!important;
}
.care-bailey-panel #careBaileyImage{
  position:relative!important;
  grid-row:2!important;
  align-self:center!important;
  justify-self:center!important;
  left:auto!important;top:auto!important;
  transform:none!important;
  height:138px!important;
  width:auto!important;
  max-width:86%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  z-index:2!important;
  margin:0!important;
}
.care-bailey-panel #careBaileyImage.is-away{transform:scale(.88)!important}
.care-bailey-panel .care-speech{
  position:relative!important;
  grid-row:3!important;
  align-self:end!important;
  left:auto!important;right:auto!important;bottom:auto!important;
  width:100%!important;
  min-height:46px!important;max-height:58px!important;
  margin:0!important;padding:8px 11px!important;
  border-radius:15px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:9.7px!important;line-height:1.22!important;
  overflow:hidden!important;
  z-index:8!important;
}
@media(max-width:380px){
  .care-bailey-panel{grid-template-rows:36px minmax(0,1fr) 56px!important;padding:0 9px 9px!important}
  .care-bailey-panel #careBaileyImage{height:128px!important;max-width:88%!important;top:auto!important}
  .care-bailey-panel .care-glow{top:101px!important;width:138px!important;height:138px!important}
  .care-bailey-panel .care-speech{left:auto!important;right:auto!important;bottom:auto!important;font-size:9.2px!important;max-height:56px!important}
}
@media(max-height:700px){
  .care-duo{height:218px!important}
  .care-bailey-panel{grid-template-rows:34px minmax(0,1fr) 52px!important;padding-bottom:8px!important}
  .care-bailey-panel #careBaileyImage{height:112px!important;top:auto!important}
  .care-bailey-panel .care-glow{top:89px!important;width:124px!important;height:124px!important}
  .care-bailey-panel .care-speech{min-height:42px!important;max-height:52px!important;font-size:9px!important}
}

/* 4.5 — Bailey micro-tune: slightly larger + a few px lower */
.care-bailey-panel #careBaileyImage{
  height:148px!important;
  transform:translateY(5px)!important;
}
.care-bailey-panel #careBaileyImage.is-away{
  transform:translateY(5px) scale(.88)!important;
}
.care-bailey-panel .care-glow{
  top:110px!important;
  width:156px!important;
  height:156px!important;
}
@media(max-width:380px){
  .care-bailey-panel #careBaileyImage{height:138px!important;transform:translateY(5px)!important}
  .care-bailey-panel #careBaileyImage.is-away{transform:translateY(5px) scale(.88)!important}
  .care-bailey-panel .care-glow{top:106px!important;width:146px!important;height:146px!important}
}
@media(max-height:700px){
  .care-bailey-panel #careBaileyImage{height:120px!important;transform:translateY(4px)!important}
  .care-bailey-panel #careBaileyImage.is-away{transform:translateY(4px) scale(.88)!important}
}


/* 4.6 — Bailey card polish: clean HOME status + larger speech */
.care-bailey-panel .care-state-overlay{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  top:14px!important;
  right:16px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
}
.care-bailey-panel .care-state-overlay i{
  width:10px!important;
  height:10px!important;
  flex:none!important;
}
.care-bailey-panel .care-state-overlay span{
  font-size:11px!important;
  font-weight:1000!important;
  letter-spacing:.16em!important;
  color:#f2edf7!important;
  text-shadow:0 1px 10px rgba(0,0,0,.28)!important;
}
.care-bailey-panel .care-speech{
  min-height:56px!important;
  max-height:72px!important;
  padding:10px 14px!important;
  font-size:12px!important;
  line-height:1.28!important;
  font-weight:900!important;
}
@media(max-width:380px){
  .care-bailey-panel .care-state-overlay{top:13px!important;right:14px!important}
  .care-bailey-panel .care-state-overlay span{font-size:10px!important}
  .care-bailey-panel .care-speech{min-height:54px!important;max-height:68px!important;padding:9px 12px!important;font-size:11px!important;line-height:1.26!important}
}
@media(max-height:700px){
  .care-bailey-panel .care-state-overlay{top:12px!important}
  .care-bailey-panel .care-state-overlay span{font-size:10px!important}
  .care-bailey-panel .care-speech{min-height:50px!important;max-height:62px!important;padding:8px 12px!important;font-size:10.5px!important;line-height:1.24!important}
}

/* 4.7 — speech fix: bigger TYPE, not bigger bubble */
.care-bailey-panel{
  grid-template-rows:38px minmax(0,1fr) 58px!important;
}
.care-bailey-panel .care-speech{
  width:100%!important;
  min-height:46px!important;
  height:58px!important;
  max-height:58px!important;
  padding:6px 10px!important;
  font-size:13.5px!important;
  line-height:1.12!important;
  font-weight:950!important;
  letter-spacing:-.01em!important;
  overflow:hidden!important;
}
@media(max-width:380px){
  .care-bailey-panel{grid-template-rows:36px minmax(0,1fr) 56px!important}
  .care-bailey-panel .care-speech{
    min-height:44px!important;
    height:56px!important;
    max-height:56px!important;
    padding:6px 9px!important;
    font-size:12.5px!important;
    line-height:1.1!important;
  }
}
@media(max-height:700px){
  .care-bailey-panel{grid-template-rows:34px minmax(0,1fr) 52px!important}
  .care-bailey-panel .care-speech{
    min-height:42px!important;
    height:52px!important;
    max-height:52px!important;
    padding:5px 8px!important;
    font-size:11.5px!important;
    line-height:1.08!important;
  }
}

/* 4.8 — micro spacing: keep Bailey and speech styling, move speech 6px down */
.care-bailey-panel .care-speech{
  transform:translateY(6px)!important;
}

/* 4.9 — micro spacing: Bailey 4px higher only */
.care-bailey-panel #careBaileyImage{
  transform:translateY(1px)!important;
}
.care-bailey-panel #careBaileyImage.is-away{
  transform:translateY(1px) scale(.88)!important;
}
@media(max-width:380px){
  .care-bailey-panel #careBaileyImage{transform:translateY(1px)!important}
  .care-bailey-panel #careBaileyImage.is-away{transform:translateY(1px) scale(.88)!important}
}
@media(max-height:700px){
  .care-bailey-panel #careBaileyImage{transform:translateY(0)!important}
  .care-bailey-panel #careBaileyImage.is-away{transform:translateY(0) scale(.88)!important}
}

/* HEROHERO PODPORA */
.hero-support{margin-top:16px;padding:18px;border-radius:20px;background:linear-gradient(160deg,rgba(255,77,109,.10),rgba(20,8,14,.6));border:1px solid rgba(255,77,109,.28)}
.hero-support-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.hero-heart{font-size:30px;filter:drop-shadow(0 4px 8px rgba(255,77,109,.4))}
.hero-support h3{font-size:17px;margin:2px 0 0}
.hero-support .eyebrow{color:#ff6d87}
.hero-support p{color:var(--muted);font-size:12.5px;line-height:1.5;margin:0 0 14px}
.hero-cta{display:block;text-align:center;padding:14px;border-radius:14px;background:linear-gradient(135deg,#ff4d6d,#ff7a5c);color:#fff;font-weight:1000;font-size:14px;letter-spacing:.04em;text-decoration:none;box-shadow:0 10px 26px rgba(255,77,109,.32);margin-bottom:12px}
.hero-code-row{display:flex;gap:8px}
.hero-code-row input{flex:1;height:46px;border-radius:12px;background:#100d16;border:1px solid var(--line);color:var(--text);font-size:14px;font-weight:600;text-align:center;outline:none}
.hero-code-row input:focus{border-color:rgba(255,77,109,.5)}
.hero-code-row button{padding:0 18px;border-radius:12px;background:#2a1620;border:1px solid rgba(255,77,109,.35);color:#ff8a9e;font-weight:900;font-size:12px;cursor:pointer}
.hero-code-msg{margin-top:10px;padding:10px;border-radius:10px;font-size:12.5px;text-align:center;font-weight:700}
.hero-code-msg.ok{background:rgba(70,200,120,.14);color:#7ee0a0}
.hero-code-msg.err{background:rgba(255,77,109,.14);color:#ff8a9e}
.hero-support.is-supporter .hero-cta,.hero-support.is-supporter .hero-code-row{display:none}

.profile-avatars .supporter-avatar{font-size:28px}
\n\n/* v21 — Liga: neutral podium character + equipped avatar badge; lower ranks = avatar + name only */\n.scene-page[data-scene="leaderboard"] .pod-avatar .avatar-head{display:none!important}\n.pod-avatar .neutral-head{position:absolute;z-index:3;left:50%;top:0;transform:translateX(-50%);width:34px;height:34px;border-radius:50%;background:linear-gradient(145deg,#d8cbe2,#a58db8);box-shadow:inset 0 -3px 6px rgba(58,38,70,.16),0 5px 12px rgba(0,0,0,.24)}\n.rank-1 .pod-avatar .neutral-head{width:38px;height:38px}\n.pod-avatar .neutral-head i{position:absolute;top:12px;width:3px;height:4px;border-radius:50%;background:#55455f}.pod-avatar .neutral-head i:first-child{left:9px}.pod-avatar .neutral-head i:nth-child(2){right:9px}.pod-avatar .neutral-head b{position:absolute;left:50%;bottom:7px;transform:translateX(-50%);width:9px;height:4px;border-bottom:2px solid #6a566f;border-radius:50%}\n.pod-avatar .avatar-hoodie{z-index:2}.pod-avatar .avatar-badge{width:23px;height:23px!important;border-radius:50%;display:grid!important;place-items:center;font-size:16px!important;line-height:1!important;background:rgba(20,15,26,.72);border:1px solid rgba(255,255,255,.16);box-shadow:0 3px 8px rgba(0,0,0,.28);overflow:hidden}.rank-1 .pod-avatar .avatar-badge{width:26px;height:26px!important;font-size:18px!important}.pod-avatar .avatar-badge .avatar-img{width:100%;height:100%;object-fit:cover;border-radius:50%}\n.leaderboard-list-scroll .score-list article.compact-rank-row{min-height:48px!important;display:grid!important;grid-template-columns:32px 38px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;padding:6px 11px!important}.compact-rank-row .rank{font-size:9px!important}.compact-rank-row .list-avatar{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font-size:20px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07);overflow:hidden}.compact-rank-row .list-avatar-img{width:100%;height:100%;object-fit:cover}.leaderboard-list-scroll .score-list .compact-rank-row>b{font-size:13px!important;color:#efe5f2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n

/* v22 — Liga podium: avatar is the hero, no body/character */
.scene-page[data-scene="leaderboard"] .pod-avatar-medallion{
  position:relative;
  width:64px;
  height:64px;
  margin:4px auto 7px;
  display:grid;
  place-items:center;
}
.scene-page[data-scene="leaderboard"] .rank-1 .pod-avatar-medallion{
  width:76px;
  height:76px;
  margin-top:2px;
}
.scene-page[data-scene="leaderboard"] .pod-avatar-core{
  width:100%;
  height:100%;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:38px;
  line-height:1;
  overflow:hidden;
  background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.16),rgba(255,255,255,.035) 58%,rgba(0,0,0,.12));
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 10px 24px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.08);
}
.scene-page[data-scene="leaderboard"] .rank-1 .pod-avatar-core{
  font-size:46px;
  border-color:rgba(243,194,84,.58);
  box-shadow:0 0 0 3px rgba(232,181,58,.08),0 12px 28px rgba(0,0,0,.34),0 0 30px rgba(232,181,58,.12),inset 0 1px 0 rgba(255,255,255,.10);
}
.scene-page[data-scene="leaderboard"] .rank-2 .pod-avatar-core{
  border-color:rgba(207,216,232,.34);
  box-shadow:0 10px 24px rgba(0,0,0,.30),0 0 20px rgba(200,210,230,.07),inset 0 1px 0 rgba(255,255,255,.08);
}
.scene-page[data-scene="leaderboard"] .rank-3 .pod-avatar-core{
  border-color:rgba(211,130,77,.36);
  box-shadow:0 10px 24px rgba(0,0,0,.30),0 0 20px rgba(201,112,63,.08),inset 0 1px 0 rgba(255,255,255,.08);
}
.scene-page[data-scene="leaderboard"] .pod-avatar-core .avatar-img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}
/* retire old v21 body pieces completely */
.scene-page[data-scene="leaderboard"] .pod-avatar,
.scene-page[data-scene="leaderboard"] .neutral-head,
.scene-page[data-scene="leaderboard"] .avatar-hoodie,
.scene-page[data-scene="leaderboard"] .avatar-leg,
.scene-page[data-scene="leaderboard"] .avatar-badge{display:none!important}
@media(max-width:390px){
  .scene-page[data-scene="leaderboard"] .pod-avatar-medallion{width:58px;height:58px;margin-bottom:6px}
  .scene-page[data-scene="leaderboard"] .rank-1 .pod-avatar-medallion{width:70px;height:70px}
  .scene-page[data-scene="leaderboard"] .pod-avatar-core{font-size:34px}
  .scene-page[data-scene="leaderboard"] .rank-1 .pod-avatar-core{font-size:42px}
}


/* v23 — Liga podium reset: rank/name/score first, avatar only identity accent */
.scene-page[data-scene="leaderboard"] .clean-podium{padding-top:8px!important}
.scene-page[data-scene="leaderboard"] .clean-podium .pod-medal{font-size:20px!important;line-height:1!important;margin:0 auto 7px!important;min-height:22px}
.scene-page[data-scene="leaderboard"] .clean-podium.rank-1 .pod-medal{font-size:26px!important;margin-bottom:9px!important}
.scene-page[data-scene="leaderboard"] .pod-identity{display:flex;align-items:center;justify-content:center;gap:5px;max-width:100%;margin:0 auto 3px;min-width:0}
.scene-page[data-scene="leaderboard"] .pod-mini-avatar{width:24px;height:24px;flex:0 0 24px;border-radius:8px;display:grid;place-items:center;font-size:16px;line-height:1;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10);overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.scene-page[data-scene="leaderboard"] .rank-1 .pod-mini-avatar{width:29px;height:29px;flex-basis:29px;font-size:19px;border-color:rgba(243,194,84,.32);background:rgba(243,194,84,.07)}
.scene-page[data-scene="leaderboard"] .pod-mini-avatar .avatar-img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.scene-page[data-scene="leaderboard"] .clean-podium .pod-player-name{margin:0!important;font-size:10px!important;line-height:1!important;text-align:left!important;max-width:calc(100% - 29px)}
.scene-page[data-scene="leaderboard"] .clean-podium.rank-1 .pod-player-name{font-size:14px!important;color:#fff4d2!important}
.scene-page[data-scene="leaderboard"] .clean-podium .pod-home{text-align:center!important;margin:2px auto 6px!important;min-height:11px!important}
.scene-page[data-scene="leaderboard"] .clean-podium>b{display:block!important;font-size:18px!important;line-height:1!important;margin:2px 0 4px!important}
.scene-page[data-scene="leaderboard"] .clean-podium.rank-1>b{font-size:25px!important;color:#fff!important}
.scene-page[data-scene="leaderboard"] .clean-podium em{font-size:7px!important;margin:0 0 7px!important;color:#a89dad!important}
.scene-page[data-scene="leaderboard"] .clean-podium .pod-step{margin-top:auto!important}
.scene-page[data-scene="leaderboard"] .pod-avatar-medallion{display:none!important}
@media(max-width:390px){
 .scene-page[data-scene="leaderboard"] .pod-mini-avatar{width:22px;height:22px;flex-basis:22px;font-size:15px}
 .scene-page[data-scene="leaderboard"] .rank-1 .pod-mini-avatar{width:27px;height:27px;flex-basis:27px;font-size:18px}
 .scene-page[data-scene="leaderboard"] .clean-podium.rank-1 .pod-player-name{font-size:13px!important}
}

/* v24: 6 basic avatarov = ciste 3 x 2 */
.profile-avatars{grid-template-columns:repeat(3,1fr)!important;gap:12px!important}
.profile-avatars button{aspect-ratio:1.08/1!important}

/* v26 — Liga: single medals + informative lower ranks; keep v24 onboarding/test league */
.scene-page[data-scene="leaderboard"] .podium-card.rank-2::before,
.scene-page[data-scene="leaderboard"] .podium-card.rank-3::before{content:none!important;display:none!important}
.leaderboard-list-scroll .score-list article.league-rank-row{min-height:76px!important;display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;padding:10px 13px!important;background:linear-gradient(145deg,rgba(28,21,35,.98),rgba(18,14,24,.98))!important;border:1px solid rgba(255,255,255,.075)!important;border-radius:17px!important}
.league-score-side{height:100%;display:grid;grid-template-columns:32px 1fr;grid-template-rows:1fr auto;align-items:center;border-right:1px solid rgba(255,255,255,.07);padding-right:11px;min-width:0}
.league-score-side .rank{grid-row:1/3;align-self:center;font-size:10px!important;color:#8f8299!important;font-weight:950}
.league-score-side strong{font-size:18px!important;line-height:1!important;color:#fff!important;text-align:right;letter-spacing:-.035em;white-space:nowrap}
.league-score-side small{font-size:5.8px!important;letter-spacing:.15em!important;color:#766b80!important;text-align:right;margin-top:3px}
.league-player-side{display:grid;grid-template-columns:43px minmax(0,1fr);gap:10px;align-items:center;min-width:0}
.league-player-side .list-avatar{width:43px;height:43px;border-radius:13px;display:grid;place-items:center;font-size:25px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);overflow:hidden}
.league-player-side .list-avatar-img{width:100%;height:100%;object-fit:cover}
.league-player-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.league-player-copy b{font-size:13px!important;line-height:1.1!important;color:#f3eaf5!important;letter-spacing:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.league-player-copy span{font-size:8px;color:#b3a5bc;margin-top:4px}
.league-player-copy small{font-size:6.4px!important;color:#7e7288!important;letter-spacing:.08em!important;text-transform:uppercase;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
@media(max-width:390px){.leaderboard-list-scroll .score-list article.league-rank-row{grid-template-columns:99px minmax(0,1fr)!important;gap:9px!important;padding-inline:10px!important}.league-score-side{padding-right:8px}.league-score-side strong{font-size:16px!important}.league-player-side{grid-template-columns:39px minmax(0,1fr);gap:8px}.league-player-side .list-avatar{width:39px;height:39px;font-size:23px}.league-player-copy b{font-size:12px!important}}


/* v27 — compact league names + 12-char profile name counter */
.scene-page[data-scene="leaderboard"] .league-player-copy b{
  font-size:11.5px!important;
  line-height:1.08!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media(max-width:390px){
  .scene-page[data-scene="leaderboard"] .league-player-copy b{font-size:11px!important}
}
.profile-name-wrap{position:relative;width:100%;margin:0}
.profile-name-wrap #profileNameInput{width:100%;padding-right:58px!important}
.profile-name-count{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:10px;font-weight:900;letter-spacing:.04em;color:#7f7488;pointer-events:none}

/* v29 — mobile containment fix: HeroHero support must never overflow care card */
.hero-support{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
}
.hero-support *, .hero-support *::before, .hero-support *::after{box-sizing:border-box}
.hero-support-head,.hero-support-head>div,.hero-code-row,.hero-code-row>*{min-width:0}
.hero-cta{width:100%;max-width:100%}
.hero-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%;max-width:100%;gap:8px}
.hero-code-row input{width:100%;min-width:0}
.hero-code-row button{min-width:0;max-width:100%;white-space:nowrap;padding-inline:16px}
@media(max-width:390px){
  .hero-code-row{grid-template-columns:minmax(0,1fr) 116px;gap:7px}
  .hero-code-row button{padding-inline:10px;font-size:11px}
}
@media(max-width:350px){
  .hero-code-row{grid-template-columns:1fr}
  .hero-code-row button{height:46px}
}

/* v31 — Bailey speech micro-polish: lighter bubble, more breathing room */
.care-bailey-panel{
  grid-template-rows:38px minmax(0,1fr) 54px!important;
}
.care-bailey-panel .care-speech{
  width:calc(100% - 8px)!important;
  min-height:48px!important;
  height:52px!important;
  max-height:52px!important;
  margin-inline:auto!important;
  padding:6px 10px!important;
  font-size:12px!important;
  line-height:1.14!important;
  font-weight:900!important;
  transform:translateY(-2px)!important;
}
@media(max-width:380px){
  .care-bailey-panel{grid-template-rows:36px minmax(0,1fr) 52px!important}
  .care-bailey-panel .care-speech{
    width:calc(100% - 8px)!important;
    min-height:46px!important;
    height:50px!important;
    max-height:50px!important;
    padding:5px 9px!important;
    font-size:11.5px!important;
    line-height:1.12!important;
    transform:translateY(-2px)!important;
  }
}
@media(max-height:700px){
  .care-bailey-panel{grid-template-rows:34px minmax(0,1fr) 48px!important}
  .care-bailey-panel .care-speech{
    min-height:43px!important;
    height:46px!important;
    max-height:46px!important;
    font-size:10.8px!important;
    transform:translateY(-2px)!important;
  }
}

/* v42 — real-time active washers in gameplay header */
.scene-game .live-playing{height:32px;max-width:174px;padding:0 10px;border:1px solid rgba(104,240,145,.16);border-radius:999px;background:rgba(18,30,23,.72);display:flex;align-items:center;gap:7px;white-space:nowrap;overflow:hidden}
.scene-game .live-playing i{width:7px;height:7px;flex:none;border-radius:50%;background:#68f091;box-shadow:0 0 0 3px rgba(104,240,145,.10),0 0 10px rgba(104,240,145,.30)}
.scene-game .live-playing b{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:9.5px;font-weight:900;color:#e9fff0;letter-spacing:-.01em}
@media(max-width:390px){.scene-game .live-playing{max-width:150px;padding:0 8px;gap:6px}.scene-game .live-playing b{font-size:8.7px}}


/* ===== DEJE SA · LIVE FEED ===== */
.scene-home .home-dock{grid-template-columns:repeat(4,1fr)!important}
.scene-feed{padding:calc(var(--safeT) + 14px) 16px calc(var(--safeB) + 18px);background:radial-gradient(circle at 85% 8%,rgba(121,93,240,.18),transparent 35%),linear-gradient(180deg,#17111f,#0e0b13 58%);overflow:hidden}
.feed-header{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;flex:none}.feed-header h2{margin:2px 0 0;font-size:29px;line-height:1;font-weight:1000;letter-spacing:-.04em}.feed-refresh{width:40px;height:40px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);color:#fff;font-size:23px;font-weight:900}.feed-intro{margin:18px 2px 12px;padding:14px 15px;border-radius:18px;background:linear-gradient(135deg,rgba(121,93,240,.16),rgba(255,255,255,.045));border:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;gap:3px}.feed-intro b{font-size:15px}.feed-intro span{font-size:11px;color:#a99eaf;font-weight:700}.feed-list{min-height:0;flex:1;overflow:auto;-webkit-overflow-scrolling:touch;padding:2px 2px 24px}.feed-event{display:grid;grid-template-columns:45px 1fr;gap:11px;align-items:center;padding:13px 5px;border-bottom:1px solid rgba(255,255,255,.07)}.feed-event-icon{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.065);display:grid;place-items:center;font-size:20px}.feed-event-copy p{margin:0;color:#eae5ed;font-size:13px;line-height:1.38;font-weight:650}.feed-event-copy p b{color:#fff;font-weight:950}.feed-event-copy p strong{color:#c8b8ff;font-weight:950}.feed-event-copy p em{font-style:normal;color:#ffd86b;font-size:11px;font-weight:950}.feed-event-copy small{display:block;margin-top:4px;color:#766d7c;font-size:10px;font-weight:800}.feed-loading,.feed-empty{padding:45px 12px;text-align:center;color:#8f8495;display:flex;flex-direction:column;gap:5px}.feed-empty b{color:#ddd5e2;font-size:16px}.feed-empty span{font-size:12px}
@media(max-width:370px){.scene-home .home-dock button b{font-size:9px!important}.scene-home .home-dock{padding-left:3px!important;padding-right:3px!important}}

/* FIX: zarovnanie ikon v spodnom menu (emoji vs. Baileyho obrázok mali rôznu výšku) */
.scene-home .home-dock.strip-dock .strip-tab{justify-content:flex-end!important}
.scene-home .home-dock.strip-dock .strip-icon,
.scene-home .home-dock.strip-dock .strip-face,
.scene-home .home-dock.strip-dock .strip-tab.is-home-active .strip-face{
  height:30px!important;
  min-height:30px!important;
  display:grid!important;
  place-items:center!important;
}
