:root{--bg:#101522;--surface:#1b2336;--surface-2:#25304a;--border:#364566;--border-strong:#536794;--text:#f8fafc;--muted:#b0bed9;--accent:#f59e0b;--accent-ink:#1a1204;--ember:#fb7138;--tide:#38bdf8;--verdant:#22c55e;--danger:#f43f5e;--rare:#60a5fa;--epic:#c084fc;--relic:#fbbf24;font-variant-numeric:tabular-nums;font-family:Nunito,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}html,body{background:radial-gradient(circle at top, #1d263b 0%, var(--bg) 60%);color:var(--text);-webkit-tap-highlight-color:transparent;min-height:100dvh;margin:0;padding:0}button,input,select{font:inherit;color:inherit}.app-shell{max-width:520px;min-height:100dvh;padding:calc(14px + env(safe-area-inset-top)) 14px calc(86px + env(safe-area-inset-bottom));margin:0 auto}.card{background:var(--surface);border:2px solid var(--border);border-radius:16px;padding:14px;box-shadow:0 6px #080b128c}.card+.card,.stack>*+*{margin-top:12px}.row{align-items:center;gap:10px;display:flex}.row-between{justify-content:space-between;align-items:center;gap:10px;display:flex}.wrap{flex-wrap:wrap}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.btn{border:2px solid var(--border-strong);background:var(--surface-2);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:8px 14px;font-size:.9rem;font-weight:700;transition:transform .1s,filter .12s;display:inline-flex}.btn:active:not(:disabled){transform:translateY(2px)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{color:var(--accent-ink);background:linear-gradient(#fbbf24 0%,#f59e0b 100%);border-color:#fde68a}.btn-success{color:#052e16;background:linear-gradient(#4ade80 0%,#22c55e 100%);border-color:#bbf7d0}.btn-danger{border-color:var(--danger);color:#ffe4e6;background:#4c1d2e}.btn-sm{border-radius:10px;flex-shrink:0;min-height:36px;padding:6px 11px;font-size:.84rem}.input{border:2px solid var(--border);width:100%;min-height:44px;color:var(--text);background:#0d121d;border-radius:12px;padding:10px 12px}.input:focus,.btn:focus-visible,.nav-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.badge{text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;border:1.5px solid var(--border-strong);background:var(--surface-2);border-radius:999px;flex-shrink:0;align-items:center;gap:5px;padding:4px 10px;font-size:.76rem;font-weight:800;display:inline-flex}.muted{color:var(--muted);font-size:.88rem}.h2,.h3{margin:0;font-family:Fredoka,Nunito,sans-serif}.h2{font-size:1.14rem;font-weight:700}.h3{font-size:.98rem;font-weight:600}.seg-tabs{border:2px solid var(--border);background:#0f1523;border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:6px;display:grid}.seg-tab{min-height:42px;color:var(--muted);white-space:nowrap;cursor:pointer;background:0 0;border:1.5px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:5px;padding:4px 6px;font-size:.84rem;font-weight:800;display:inline-flex}.seg-tab-active{color:var(--accent-ink);background:linear-gradient(#fbbf24 0%,#f59e0b 100%);border-color:#fde68a}.brand-lockup{flex-shrink:0;align-items:center;gap:7px;display:inline-flex}.brand-crest{background:radial-gradient(circle at 35% 30%,#433010 0%,#161d2f 100%);border:1.5px solid #f59e0b;border-radius:10px;justify-content:center;align-items:center;padding:2px;display:inline-flex;box-shadow:0 2px 10px #f59e0b40}.brand-crest-img{object-fit:cover;border-radius:7px;display:block}.brand-heading{margin:0;line-height:1}.brand-wordmark{letter-spacing:-.01em;text-shadow:0 2px #0a0d16d9;font-family:Fredoka,Nunito,sans-serif;font-size:1.22rem;font-weight:700}.brand-wordmark-lg{font-size:1.45rem}.brand-word-fable{color:#fef3c7}.brand-word-pet{color:#fb923c}.seg-tabs-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px}.seg-tabs-4 .seg-tab{gap:4px;min-height:40px;padding:4px 3px;font-size:.78rem}.shop-banner{background:linear-gradient(135deg,#2e220d 0%,#1b2336 72%);border-color:#d97706}.forge-banner{background:linear-gradient(135deg,#351a17 0%,#1b2336 72%);border-color:#fb7138}.item-card{border:1.5px solid var(--border);background:#121827;border-radius:13px;flex-direction:column;gap:8px;padding:11px;display:flex}.item-card-equipped{background:#1d1a14;border-color:#f59e0b}.mat-tile{border:1.5px solid var(--border);background:#121827;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;padding:9px 10px;display:flex}.mat-chip{border:1px solid var(--border);background:#0d121d;border-radius:999px;align-items:center;gap:4px;padding:3px 8px;font-size:.76rem;font-weight:700;display:inline-flex}.topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin-bottom:12px;display:flex}.gold-pill,.energy-pill{white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:4px 8px;font-size:.82rem;font-weight:800;display:inline-flex}.gold-pill{color:#fde68a;background:#2b2109;border:1.5px solid #f59e0b}.energy-pill{color:#bae6fd;background:#0d2238;border:1.5px solid #38bdf8}.bottom-nav{width:100%;max-width:520px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:2px solid var(--border);z-index:30;background:#111622f5;grid-template-columns:repeat(4,1fr);gap:4px;display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.nav-btn{min-height:48px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.78rem;font-weight:800;display:flex}.nav-btn-active{background:var(--surface-2);color:var(--accent)}.nav-icon-wrap{display:inline-flex;position:relative}.nav-dot{background:var(--verdant);border:1.5px solid var(--bg);border-radius:999px;width:8px;height:8px;position:absolute;top:-2px;right:-4px}.pet-stage{border:1.5px solid var(--border);background:radial-gradient(circle at 50% 42%,#293654 0%,#161d2d 76%);border-radius:14px;flex-direction:column;align-items:center;padding:12px;display:flex;position:relative;overflow:hidden}.pet-stage-rest{filter:saturate(.85)brightness(.92)}.sprite-wrap{cursor:pointer;justify-content:center;align-items:center;width:184px;height:184px;animation:3.2s ease-in-out infinite floatIdle;display:flex}.sprite-wrap.pet-tapped{animation:.35s petBounce}.meter-track{border:1px solid var(--border);background:#0d121d;border-radius:999px;width:100%;height:12px;overflow:hidden}.meter-fill{border-radius:999px;height:100%;transition:width .25s}.care-tile{border:1.5px solid var(--border);background:#121827;border-radius:14px;flex-direction:column;gap:8px;padding:10px;display:flex}.arcade-tile{text-align:left;border:2px solid var(--border-strong);background:var(--surface-2);cursor:pointer;border-radius:14px;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;display:flex}.arcade-tile-featured{background:linear-gradient(#3b2b0c 0%,#241b09 100%);border-color:#f59e0b}.stage-hint-box{border:1.5px dashed var(--border-strong);color:#dbeafe;background:#141d31;border-radius:12px;padding:9px 12px;font-size:.85rem}.ready-pill{background:var(--verdant);color:#052e16;border-radius:999px;padding:2px 7px;font-size:.72rem;font-weight:900}.modal-backdrop{z-index:50;background:#06090fd1;justify-content:center;align-items:center;padding:14px;display:flex;position:fixed;inset:0}.modal-card{width:100%;max-width:490px;max-height:90dvh;overflow-y:auto}.battle-stage{border:2px solid var(--border);background:linear-gradient(#0e121e6b 0%,#0e121e9e 100%),url(/assets/habitats/arena_colosseum.webp) 50%/cover no-repeat,#131826;border-radius:14px;grid-template-columns:1fr 1fr;gap:10px;padding:14px 10px;display:grid}.fighter-lunge-left{animation:.28s lungeRight}.fighter-lunge-right{animation:.28s lungeLeft}.fighter-hit{animation:.3s hitFlash}.toast-banner{border:2px solid var(--border-strong);background:#1f293d;border-radius:12px;margin-bottom:10px;padding:10px 12px;font-size:.86rem;font-weight:600}.toast-error{border-color:var(--danger);color:#ffe4e6;background:#3b1725}@keyframes floatIdle{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes petBounce{0%{transform:scale(1)}45%{transform:scale(1.08)translateY(-8px)}to{transform:scale(1)}}@keyframes lungeRight{0%,to{transform:translate(0)}50%{transform:translate(22px)}}@keyframes lungeLeft{0%,to{transform:translate(0)}50%{transform:translate(-22px)}}@keyframes hitFlash{0%,to{filter:brightness();transform:translate(0)}30%{filter:brightness(1.8);transform:translate(-5px)}65%{transform:translate(5px)}}@media (prefers-reduced-motion:reduce){.sprite-wrap,.fighter-lunge-left,.fighter-lunge-right,.fighter-hit,.ambient-dot,.heart-float,.zzz-rise,.bubble-pop{animation:none!important}.wheel-disc,.habitat-walker{transition:none!important}}.habitat-scene{cursor:pointer;border-radius:12px;flex-direction:column;justify-content:flex-end;align-items:center;width:100%;height:204px;display:flex;position:relative;overflow:hidden}.habitat-svg{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.habitat-bg-img{object-fit:cover;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.habitat-tint{pointer-events:none;background:linear-gradient(#10162429 0%,#1016246b 100%);position:absolute;inset:0}.speech-bubble{z-index:4;border:1.5px solid var(--border-strong);text-align:center;color:#e2e8f0;background:#101624e0;border-radius:12px;max-width:92%;margin-top:8px;margin-bottom:auto;padding:5px 12px;font-size:.78rem;position:relative}.habitat-walker{z-index:3;flex-direction:column;align-items:center;transition:left 1.15s cubic-bezier(.35,.1,.25,1);display:flex;position:absolute;bottom:18px}.pet-shadow{background:#06090f8c;border-radius:999px;width:72px;height:12px;margin-top:-10px}.ambient-dot{pointer-events:none;z-index:2;border-radius:999px;width:6px;height:6px;animation:4.4s ease-in-out infinite ambientDrift;position:absolute}.heart-float,.zzz-rise,.score-pop{pointer-events:none;z-index:5;font-weight:900;animation:1.1s ease-out forwards floatUpFade;position:absolute}.mess-spot{z-index:4;cursor:pointer;background:0 0;border:0;padding:2px;position:absolute;bottom:12px}.streak-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;display:grid}.streak-day{border:1.5px solid var(--border);color:var(--muted);background:#111622;border-radius:9px;flex-direction:column;align-items:center;padding:5px 2px;font-size:.68rem;display:flex}.streak-done{color:#bbf7d0;background:#0d2b1d;border-color:#22c55e}.streak-today{color:#fde68a;background:#2b2109;border-color:#f59e0b}.wheel-wrap{flex-shrink:0;width:116px;height:116px;margin-right:10px;position:relative}.wheel-pointer{z-index:2;border-top:12px solid #fde68a;border-left:7px solid #0000;border-right:7px solid #0000;width:0;height:0;position:absolute;top:-4px;left:50%;transform:translate(-50%)}.arcade-body{flex-direction:column;justify-content:center;gap:10px;min-height:270px;display:flex}.arcade-reward-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.arcade-stat-tile{border:1.5px solid var(--border);background:#101624;border-radius:10px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.arcade-stat-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.72rem}.arcade-stat-val{font-size:1rem;font-weight:800}.arcade-stage{border:2px solid var(--border);-webkit-user-select:none;user-select:none;touch-action:manipulation;background:linear-gradient(#0c101c52 0%,#0c101c8c 100%),url(/assets/habitats/berry_orchard.webp) 50%/cover no-repeat,#101624;border-radius:14px;position:relative;overflow:hidden}.falling-item{border:2px solid var(--border-strong);cursor:pointer;background:#111622eb;border-radius:999px;justify-content:center;align-items:center;width:44px;height:44px;display:flex;position:absolute;transform:translate(-50%,-50%)}.falling-star{border-color:#fde68a}.falling-soot{border-color:#64748b}.arcade-pet{pointer-events:none;transition:left .25s ease-out;position:absolute;bottom:6px;transform:translate(-50%)}.memory-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.memory-card{border:2px solid var(--border-strong);background:var(--surface-2);color:#fde68a;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;height:64px;font-size:1.1rem;font-weight:800;display:flex}.memory-card-open{background:#101624}.memory-card-matched{background:#0d2b1d;border-color:#22c55e}@keyframes ambientDrift{0%,to{opacity:.35;transform:translateY(0)scale(.9)}50%{opacity:.85;transform:translateY(-14px)scale(1.15)}}@keyframes floatUpFade{0%{opacity:1;transform:translate(-50%)scale(.9)}to{opacity:0;transform:translate(-50%,-38px)scale(1.15)}}.care-studio-backdrop{justify-content:center;align-items:stretch;padding:8px}.care-studio-shell{border:2px solid var(--border-strong);background:var(--surface);border-radius:18px;flex-direction:column;gap:10px;width:100%;max-width:640px;height:calc(100dvh - 16px);max-height:820px;margin:auto;padding:12px;display:flex;overflow:hidden}.care-studio-meters{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.care-studio-tab{border:1.5px solid var(--border);color:var(--text);cursor:pointer;background:#101624;border-radius:11px;flex-direction:column;gap:5px;padding:7px 6px;display:flex}.care-studio-tab-active{background:#192238;box-shadow:0 0 12px #38bdf838}.care-studio-stage{border:2px solid var(--border-strong);touch-action:none;-webkit-user-select:none;user-select:none;border-radius:16px;flex:1;justify-content:flex-start;height:auto;min-height:280px}.care-studio-stage .speech-bubble{margin-bottom:6px}.care-studio-walker{transition:left .42s cubic-bezier(.25,.8,.25,1),bottom .18s ease-out}.care-studio-pet-target{justify-content:center;align-items:center;width:180px;height:180px;display:flex;position:relative}.care-studio-projectile{z-index:6;pointer-events:none;filter:drop-shadow(0 6px 10px #0000008c);position:absolute;transform:translate(-50%,50%)}.care-studio-progress-pill{z-index:5;color:#bae6fd;background:#0f172ae6;border:1.5px solid #38bdf8;border-radius:999px;margin-bottom:auto;padding:4px 12px;font-size:.78rem;font-weight:800;position:relative}.care-studio-tray{border:1.5px solid var(--border);background:#0e1422;border-radius:14px;padding:8px}.care-studio-tray-items{grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:6px;display:grid}.care-studio-tool-btn{text-align:center;border:2px solid var(--border);color:var(--text);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;background:#161f33;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:6px 4px;font-size:.74rem;display:flex}.care-studio-tool-btn:active{cursor:grabbing;transform:scale(.96)}.care-studio-tool-active{background:#1e2b45}.care-studio-drag-ghost{pointer-events:none;z-index:80;filter:drop-shadow(0 10px 18px #000000a6);position:fixed;transform:translate(-50%,-50%)}.studio-bubble-pop{background:radial-gradient(circle at 30% 30%,#fff,#7dd3fc73);border:1.5px solid #bae6fd;border-radius:999px;width:22px;height:22px;display:inline-block}.care-studio-smudges{z-index:5;pointer-events:none;position:absolute;inset:0}.smudge-dot{background:#78350fd9;border:1.5px solid #451a03;border-radius:999px;width:26px;height:18px;position:absolute}.care-studio-blanket-drape{z-index:5;pointer-events:none;filter:drop-shadow(0 4px 8px #00000080);position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.habitat-3d-enter-btn{z-index:6;color:#e0f2fe;cursor:pointer;background:#0f172ae0;border:1.5px solid #38bdf8;border-radius:999px;align-items:center;gap:5px;padding:5px 10px;font-size:.72rem;font-weight:800;display:inline-flex;position:absolute;bottom:8px;right:8px;box-shadow:0 4px 12px #00000073}.care-studio-3d-world{pointer-events:none;transition:transform .35s ease-out,filter .35s ease-out;position:absolute;inset:-4%}.care-studio-floor-3d{pointer-events:none;z-index:2;transform-origin:50% 100%;background:radial-gradient(at 50% 55%,#38bdf829 0%,#0f172a73 78%),repeating-linear-gradient(90deg,#ffffff12 0 2px,#0000 2px 58px),repeating-linear-gradient(0deg,#ffffff12 0 2px,#0000 2px 46px);border-top:2px solid #94a3b840;height:68%;position:absolute;bottom:-10%;left:-18%;right:-18%;transform:perspective(460px)rotateX(62deg);box-shadow:inset 0 24px 44px #020617a6}.care-studio-walker-3d{z-index:5;transform-origin:50% 100%;transition:transform 80ms linear}.care-studio-pet-shadow-3d{z-index:3;pointer-events:none;background:radial-gradient(#020617b8 0%,#02061700 75%);border-radius:999px;width:112px;height:22px;position:absolute}.care-studio-proj-shadow{z-index:4;pointer-events:none;background:radial-gradient(#020617bf 0%,#02061700 75%);border-radius:999px;width:44px;height:14px;position:absolute}.care-studio-bounce-ring{z-index:4;pointer-events:none;border:2.5px solid #fde047d9;border-radius:999px;width:54px;height:20px;animation:.6s ease-out forwards floorRingExpand;position:absolute}.care-studio-carried-toy{z-index:6;pointer-events:none;position:absolute;top:52%;left:50%;transform:translate(-50%,-50%)}@keyframes floorRingExpand{0%{opacity:.95;width:22px;height:9px}to{opacity:0;width:78px;height:28px}}.care-studio-webgl-host{z-index:2;cursor:grab;width:100%;height:100%;position:absolute;inset:0}.care-studio-webgl-host:active{cursor:grabbing}.care-studio-3d-hitbox{z-index:3;pointer-events:none;width:180px;height:180px;position:absolute;bottom:18%;left:50%;transform:translate(-50%)}.care-studio-trick-bar{z-index:6;flex-wrap:nowrap;gap:5px;display:flex;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.care-trick-pill{color:#f8fafc;cursor:pointer;background:#0f172adb;border:1.5px solid #94a3b873;border-radius:999px;align-items:center;gap:4px;padding:4px 10px;font-size:.72rem;font-weight:800;display:inline-flex}.care-trick-pill:hover{color:#fde68a;border-color:#fbbf24}.evo-stage{border:2px solid var(--border-strong);background:radial-gradient(circle at 50% 54%,#2d385a 0%,#101524 85%);border-radius:14px;justify-content:center;align-items:center;height:210px;display:flex;position:relative;overflow:hidden}.evo-charging{animation:1.1s ease-in-out infinite evoCharge}.evo-flash{z-index:6;pointer-events:none;background:radial-gradient(circle,#fff 0%,#fde68a 45%,#fbbf2400 80%);animation:.48s ease-out forwards evoFlash;position:absolute;inset:0}.evo-reveal{animation:.6s cubic-bezier(.22,1.4,.36,1) forwards evoReveal}.tree-grid{grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;display:grid}.tree-node{text-align:center;border:1.5px solid var(--border);background:#111622;border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;display:flex}.tree-node-active{background:#231e0c;border-color:#fbbf24;box-shadow:0 0 12px #fbbf2440}.tree-node-next{background:#0d2318;border-style:dashed;border-color:#22c55e}.wardrobe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.cosmetic-card{border:1.5px solid var(--border);background:#111622;border-radius:11px;flex-direction:column;justify-content:space-between;gap:6px;padding:9px;display:flex}.cosmetic-card-active{background:#231e0c;border-color:#fbbf24}.pet-sprite-box{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative}.pet-aura{pointer-events:none;z-index:0;border-radius:999px;animation:2.4s ease-in-out infinite auraPulse;position:absolute;inset:8%}.pet-aura-ember{background:radial-gradient(circle,#fb713870 0%,#fb713800 70%)}.pet-aura-frost{background:radial-gradient(circle,#38bdf870 0%,#38bdf800 70%)}.pet-aura-petal{background:radial-gradient(circle,#4ade8070 0%,#4ade8000 70%)}.pet-aura-cosmic{background:radial-gradient(circle,#c084fc80 0%,#c084fc00 70%)}.pet-aura-shadow{background:radial-gradient(circle,#2563eb7a 0%,#0f172a00 72%)}.pet-buddy-float{object-fit:contain;pointer-events:none;z-index:3;width:44%;height:44%;animation:2.8s ease-in-out infinite buddyHover;position:absolute;bottom:8%;right:-10%}.mode-bar{flex-wrap:wrap;justify-content:center;gap:6px;width:100%;margin-top:8px;display:flex}.fetch-ball{pointer-events:none;z-index:4;background:radial-gradient(circle at 35% 30%,#fde68a,#f97316);border:2px solid #fff;border-radius:999px;width:20px;height:20px;transition:left .48s ease-out,bottom .48s cubic-bezier(.2,.9,.4,1);position:absolute;transform:translate(-50%,50%);box-shadow:0 0 12px #fbbf24d9}@keyframes evoCharge{0%,to{filter:brightness(1.1);transform:scale(1)rotate(0)}25%{filter:brightness(1.6)drop-shadow(0 0 18px #fbbf24);transform:scale(1.06)rotate(-3deg)}75%{filter:brightness(1.9)drop-shadow(0 0 24px #fde68a);transform:scale(1.08)rotate(3deg)}}@keyframes evoFlash{0%{opacity:0}28%{opacity:.95}to{opacity:0}}@keyframes evoReveal{0%{opacity:.2;transform:scale(.5)}65%{opacity:1;transform:scale(1.08)}to{opacity:1;transform:scale(1)}}@keyframes auraPulse{0%,to{opacity:.65;transform:scale(.95)}50%{opacity:1;transform:scale(1.06)}}@keyframes buddyHover{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}@media (prefers-reduced-motion:reduce){.evo-charging,.evo-flash,.evo-reveal,.pet-aura,.pet-buddy-float{animation:none!important}.fetch-ball{transition:none!important}}.badge-btn{cursor:pointer;transition:transform .1s,filter .12s}.badge-btn:hover{filter:brightness(1.15)}.badge-btn:active{transform:scale(.97)}.stats-strip{border:1.5px solid var(--border);background:#111622;border-radius:12px;flex-direction:column;gap:6px;padding:9px 10px;display:flex}.stats-strip-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.stat-cell{text-align:center;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:6px 4px;font-size:.84rem}.stat-pill{border:1px solid var(--border-strong);text-transform:uppercase;white-space:nowrap;background:#0d121d;border-radius:999px;align-items:center;padding:3px 8px;font-size:.74rem;font-weight:700;display:inline-flex}.upgrade-preview{color:#cbd5e1;flex-wrap:wrap;justify-content:space-between;gap:6px;padding-top:3px;font-size:.78rem;display:flex}.stat-table{flex-direction:column;gap:3px;display:flex}.stat-table-row{text-align:right;background:#111622;border-radius:6px;grid-template-columns:1.8fr repeat(6,minmax(0,1fr));align-items:center;gap:4px;padding:4px 6px;font-size:.75rem;display:grid}.stat-table-row>:first-child{text-align:left}.stat-table-head{color:var(--muted);background:0 0;font-size:.7rem;font-weight:700}.stat-table-total{color:#fde68a;background:#1e293b;border:1px solid #fbbf24}.combat-popup{pointer-events:none;z-index:6;white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.78rem;font-weight:900;animation:.65s ease-out forwards combatPop;position:absolute;top:4px;left:50%;transform:translate(-50%)}.combat-popup-damage{color:#fecaca;background:#7f1d1d;border:1.5px solid #f43f5e}.combat-popup-crit{color:#fde68a;background:#78350f;border:1.5px solid #fbbf24;font-size:.88rem}.combat-popup-heal{color:#a7f3d0;background:#064e3b;border:1.5px solid #22c55e}.combat-popup-shield{color:#bfdbfe;background:#1e3a8a;border:1.5px solid #60a5fa}.combat-popup-dodge{color:#e0e7ff;background:#312e81;border:1.5px solid #818cf8}@keyframes combatPop{0%{opacity:0;transform:translate(-50%,10px)scale(.8)}22%{opacity:1;transform:translate(-50%,-4px)scale(1.08)}to{opacity:0;transform:translate(-50%,-22px)scale(.95)}}@media (prefers-reduced-motion:reduce){.combat-popup{opacity:1;animation:none!important}}.sprite-blackout img,.sprite-blackout svg{opacity:.88;filter:brightness(0)drop-shadow(0 0 4px #94a3b859)!important}.tour-shield{z-index:60;pointer-events:auto;background:#060912b8;position:fixed}.tour-ring{pointer-events:none;z-index:62;border:3px solid #fbbf24;border-radius:14px;animation:1.5s ease-in-out infinite tourPulse;position:fixed;box-shadow:0 0 0 3px #38bdf88c,0 0 22px #fbbf2499}.tour-tap-cue{color:#1a1204;white-space:nowrap;pointer-events:none;z-index:63;background:linear-gradient(#fbbf24 0%,#f59e0b 100%);border:2px solid #fef3c7;border-radius:999px;align-items:center;gap:5px;padding:5px 12px;font-size:.8rem;font-weight:900;animation:.9s ease-in-out infinite tourCueBounce;display:inline-flex;position:fixed;transform:translate(-50%)}.tour-card{z-index:65;border-color:#fbbf24;width:calc(100% - 24px);max-width:488px;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #000000b8}@keyframes tourPulse{0%,to{box-shadow:0 0 0 3px #38bdf880,0 0 18px #fbbf248c}50%{box-shadow:0 0 0 6px #38bdf8cc,0 0 28px #fbbf24d9}}@keyframes tourCueBounce{0%,to{transform:translate(-50%)}50%{transform:translate(-50%,-6px)}}@media (prefers-reduced-motion:reduce){.tour-ring,.tour-tap-cue{animation:none!important}}
