/* Snow 2.4.17: original medieval-fantasy surfaces. Typography remains sharp in Retro. */
:root{color-scheme:dark;--bg0:#171a1d;--bg1:#20272b;--bg2:#30383c;--panel:#262d30;--panel2:#343d40;--gold:#dfb970;--gold2:#8c7650;--gold3:#f0d7a4;--ink:#f4e8d0;--mute:#b5b7b4;--line:#586164;--cyan:#a8dce6;--blue:#8dbccc;--green:#a2c7a5;--red:#c57a70;--px:system-ui,-apple-system,'Segoe UI',sans-serif;--vt:system-ui,-apple-system,'Segoe UI',sans-serif;--tabh:74px;--stones:0px}
html{background:#171a1d;scrollbar-color:#728180 #1d2529}
body.snow-theme{background:radial-gradient(ellipse at 12% 0%,#34515b66,transparent 52%),radial-gradient(ellipse at 88% 62%,#67584230,transparent 48%),#171a1d;background-attachment:scroll;color:var(--ink);font:16px/1.5 var(--vt);-webkit-font-smoothing:antialiased;letter-spacing:0}
body.snow-theme *{text-shadow:none;box-sizing:border-box}
body.snow-theme button,body.snow-theme input,body.snow-theme select,body.snow-theme textarea{font:inherit;letter-spacing:0}
body.snow-theme button{touch-action:manipulation}
body.snow-theme button:focus-visible,body.snow-theme a:focus-visible,body.snow-theme input:focus-visible{outline:3px solid #b0e6ed;outline-offset:3px}
body.snow-theme #app{max-width:1440px;padding:20px 28px 0;margin:auto}
body.snow-theme .frame{border:1px solid #7b827967!important;border-radius:16px!important;background:linear-gradient(150deg,#3c4648e8,#222b30f5 70%)!important;box-shadow:inset 0 1px #d7d3bb19,inset 0 -1px #111a2080,0 16px 42px #0004!important}
body.snow-theme .frame:before,body.snow-theme .frame:after{display:none!important}
body.snow-theme #topbar{padding:14px 20px;margin-bottom:24px;border-radius:12px!important;gap:16px;background:linear-gradient(110deg,#594937,#332e29 65%,#343c3d)!important;min-height:76px}
body.snow-theme .brand{gap:10px;flex-shrink:0}
body.snow-theme .brand .logo{font-size:30px;color:var(--cyan);filter:none}
body.snow-theme .brand b{font:700 20px/1.2 Georgia,serif;letter-spacing:.3px;color:#f3e4c8}
body.snow-theme .brand i{font:inherit;color:#b6d9da}
body.snow-theme .brand small{font-size:12px;color:#c2c9bc;margin-top:4px;max-width:220px}
body.snow-theme .top-stats{gap:8px;align-items:center;flex:1;justify-content:flex-end;margin:0}
body.snow-theme .pill{display:inline-flex;align-items:center;gap:5px;font-size:13px;border:1px solid #8c958157;background:#1e292b86;border-radius:8px;min-height:36px;color:#c8d2cb;padding:6px 9px;box-shadow:none}
body.snow-theme .pill .lbl{color:#bbc2b5;font-size:12px}
body.snow-theme .pill b{color:#e4d6b4;font-size:14px}
body.snow-theme .top-stats .pill-ap,body.snow-theme .top-stats .pill-tp,body.snow-theme .top-stats>.pill:nth-child(2){display:none}
body.snow-theme .tb-audio{display:flex;gap:4px}.snow-theme .tb-ic{min-width:36px}
body.snow-theme #tb-retro{order:-1;display:inline-flex;gap:6px;align-items:center;min-height:44px;padding:8px 11px;border:1px solid #b7bd9c66;color:#e9e1c8;background:#1c2a30a8;border-radius:8px;font-size:13px;white-space:nowrap}
body.snow-theme #tb-retro[aria-pressed=true]{background:#c9b27f;color:#1c282e}
body.snow-theme .btn,body.snow-theme .boot-play{border:1px solid #a7a99477;border-radius:9px;box-shadow:inset 0 1px #eee4bd28,0 3px 5px #0003;min-height:44px;padding:10px 16px;color:#e4e5d7;background:linear-gradient(160deg,#45565a,#2c3c42);text-transform:none;font-weight:650;font-size:14px;line-height:1.35;transition:background-color .18s,transform .18s,opacity .18s;filter:none}
body.snow-theme .btn:hover{background:linear-gradient(160deg,#53686c,#3c5058);filter:none}
body.snow-theme .btn:active{transform:translateY(1px)}
body.snow-theme .btn.gold,body.snow-theme .boot-play{color:#292b27;background:linear-gradient(135deg,#e9c988,#c5a264);border-color:#f0d9aa90}
body.snow-theme .btn:disabled{color:#c2c8c6;background:#2f383c;border:1px dashed #818b89;opacity:.75;box-shadow:none}
body.snow-theme .btn.small{min-height:44px;font-size:13px;padding:8px 10px}
body.snow-theme .link{font-size:14px;color:#b8e3e5;line-height:1.4;min-height:28px}
body.snow-theme h2,body.snow-theme h3,body.snow-theme .card-h{font-family:Georgia,'Times New Roman',serif;letter-spacing:.2px;font-weight:650;color:#e9d2a5;text-shadow:none;line-height:1.3}
body.snow-theme h2{font-size:25px;margin-bottom:16px}body.snow-theme h3,body.snow-theme .card-h{font-size:20px;margin-top:14px}
body.snow-theme p.hint,body.snow-theme .hint{font-size:14px;line-height:1.6;color:#c0c8c2}
body.snow-theme #layout{grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);gap:24px;align-items:start;max-width:none}
body.snow-theme #stage,body.snow-theme #panel{padding:22px;min-height:620px}
body.snow-theme #panel{display:block!important;position:relative;overflow:visible;max-height:none;opacity:1!important;filter:none!important;pointer-events:auto!important}
body.snow-theme #tabs{display:grid!important;grid-auto-flow:initial!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important;background:#1c282dc4!important;border:1px solid #79847b66!important;border-radius:11px;padding:5px!important;box-shadow:inset 0 1px #d7d3bb0f!important;margin-bottom:24px;opacity:1!important}
body.snow-theme #tabs button{border:0!important;border-radius:7px;color:#bdc8c8;background:transparent;box-shadow:none!important;font:500 15px/1.2 var(--vt);padding:9px 3px;min-height:62px;gap:6px;white-space:normal}
body.snow-theme #tabs button span{font:500 12px/1.2 var(--vt);overflow-wrap:anywhere}
body.snow-theme #tabs button.active{color:#f3dcaa;background:linear-gradient(145deg,#6b6044,#3b463e);box-shadow:inset 0 0 0 1px #d4bb7755!important}
body.snow-theme .nav-symbol{width:23px;height:23px;display:block;color:currentColor}
body.snow-theme #tabs button.only-sheet{display:none}
body.snow-theme .card,body.snow-theme .prestige-box,body.snow-theme .build-card,body.snow-theme .daily,body.snow-theme .prize,body.snow-theme .pass-hero,body.snow-theme .gem-card,body.snow-theme .g-item,body.snow-theme .g-free{border:1px solid #7b827957;border-radius:12px;background:linear-gradient(145deg,#40505566,#1b282eaa);padding:16px;box-shadow:inset 0 1px #e2ddbd0b,0 6px 18px #10191b22}
body.snow-theme .hero{background:linear-gradient(180deg,#1d30383d,#1c292cde),url('/io/assets/scenes/fields.svg') center/cover;border:1px solid #8ba18c44;border-radius:12px;padding:30px 22px 24px;margin:0 0 20px;position:relative;overflow:hidden}
body.snow-theme .hero-title{font:600 clamp(28px,4vw,44px)/1.2 Georgia,serif;text-shadow:none;animation:none;color:#f2dfb9}
body.snow-theme .hero-sub{max-width:430px;margin:18px auto 20px;font-size:15px;line-height:1.6;color:#d7dfd7}
body.snow-theme .hero canvas{max-height:200px;width:220px;height:206px;filter:none!important}
body.snow-theme .hero .play-big{min-width:180px;padding:15px 20px;font-size:18px}
body.snow-theme .hero .hint{font-size:13px;color:#c6d0c9}
body.snow-theme .home-grid{grid-template-columns:1fr;gap:12px}
body.snow-theme .home-community,body.snow-theme .home-progress{border:1px solid #7b82794a;border-radius:9px;padding:10px;background:#243238aa;color:#c7d0c8}
body.snow-theme .home-community-sum,body.snow-theme .home-progress-sum{font-size:14px}
body.snow-theme .home-free-gems{display:none!important}
body.snow-theme .funnel{font-size:13px;line-height:1.5;color:#b3c0bc;padding-top:12px}
body.snow-theme #goal{background:#1e2c31;border:1px solid #93b5af47;border-radius:10px;padding:10px 14px;min-height:48px;line-height:1.4;font-size:14px;box-shadow:inset 3px 0 #cfb278;margin-bottom:16px;color:#e5e6d9}
body.snow-theme #goal .g-lbl{font:600 11px var(--vt);text-transform:uppercase;letter-spacing:1.2px;color:#d2b47b}
body.snow-theme .g-bar{display:none}
body.snow-theme #world{border-radius:8px;background:#23333a;border-color:#60777866}
body.snow-theme .run-bar{gap:8px;padding:0 0 8px;display:flex;align-items:center;flex-wrap:wrap}
body.snow-theme .chip{font:500 13px var(--vt);border:0;background:none;padding:4px 0;color:#c5d0cc;border-radius:0;box-shadow:none}
body.snow-theme .chip:first-child{font:600 21px Georgia,serif;color:#f0e4c6;margin-inline-end:6px}
body.snow-theme .xp{min-width:48px;height:5px;border:0;box-shadow:none;border-radius:6px;background:#15252a}
body.snow-theme .xp i{background:linear-gradient(90deg,#718f93,#b9d9d2);border-radius:inherit}
body.snow-theme .run-sub{font-size:13px;line-height:1.5;padding:0;margin:0 0 10px;min-height:26px}
body.snow-theme .zone-tag{font-size:13px;color:#c2d3cc;background:none;padding:0;font-weight:500}
body.snow-theme .zone-tag:before{content:'◇';margin-inline-end:8px;color:#d3b67a}
body.snow-theme .luck,body.snow-theme .combo{font-size:11px;background:#253c388c;border:1px solid #778d7955;border-radius:6px;color:#d1d9b2;padding:3px 6px}
body.snow-theme .arena{height:370px!important;min-height:0!important;border:1px solid #a3b6a164;border-radius:13px;margin:10px 0 16px;box-shadow:inset 0 1px #d7e3d522,0 8px 20px #0f1b2044;background-image:linear-gradient(180deg,#172a3060,transparent 50%,#0c1b2840),url('/io/assets/scenes/fields.svg')!important;background-position:center;background-size:cover!important;isolation:isolate;overflow:hidden}
body.snow-theme .arena[data-zone=isles]{background-image:linear-gradient(180deg,#172a3050,transparent 50%,#0c1b2840),url('/io/assets/scenes/isles.svg')!important}
body.snow-theme .arena[data-zone=abyss]{background-image:linear-gradient(180deg,#172a3050,transparent 50%,#0c1b2840),url('/io/assets/scenes/abyss.svg')!important}
body.snow-theme .arena[data-zone=gwd]{background-image:linear-gradient(180deg,#172a3050,transparent 50%,#0c1b2840),url('/io/assets/scenes/gwd.svg')!important}
body.snow-theme .arena[data-zone=wild]{background-image:linear-gradient(180deg,#172a3050,transparent 50%,#0c1b2840),url('/io/assets/scenes/wild.svg')!important}
body.snow-theme .arena[data-zone=peak]{background-image:linear-gradient(180deg,#172a3050,transparent 50%,#0c1b2840),url('/io/assets/scenes/peak.svg')!important}
body.snow-theme #swirl,body.snow-theme #orb,body.snow-theme #snowfx,body.snow-theme .beam{display:none!important}
body.snow-theme #mon{width:320px!important;height:300px!important;max-width:90%;object-fit:contain;inset:auto auto 0 50%!important;transform:translateX(-50%);image-rendering:auto;filter:none;z-index:1;animation:snow-breathe 5s ease-in-out infinite}
body.snow-theme #mon.boss{width:350px!important;height:328px!important;max-width:95%}
body.snow-theme.retro-graphics #mon,body.snow-theme.retro-graphics #hero-mon{image-rendering:pixelated;animation-timing-function:steps(12)}
@keyframes snow-breathe{50%{transform:translateX(-50%) translateY(-4px)}}
body.snow-theme #mon.hit{filter:none!important;animation:snow-impact .16s ease-out}
@keyframes snow-impact{50%{transform:translateX(-50%) translateY(3px) rotate(-1deg)}}
body.snow-theme .mon-name{top:15px;left:16px;right:16px;color:#f6ead0!important;font:650 20px/1.2 Georgia,serif;text-align:start;z-index:3;padding:9px 13px;background:#142831e8;border:1px solid #b8cebc66;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px}
body.snow-theme .mon-name small{font:650 10px var(--vt);letter-spacing:.8px;color:#edcd91}
body.snow-theme .hp-mon{left:29px;right:29px;top:57px;height:6px;border:0;box-shadow:none;border-radius:5px;background:#14262b;z-index:3}
body.snow-theme .hp-mon i{background:linear-gradient(90deg,#a35750,#d3947b);border-radius:5px}
body.snow-theme .hp-mon span{font:500 11px var(--vt);top:9px;color:#f2eddb;white-space:nowrap;text-align:start;line-height:1.4}
body.snow-theme #boss-telegraph{position:absolute;inset:auto 12px 8px;z-index:5;padding:8px 12px;border:1px solid #e1b276ab;background:#312c28ed;border-radius:8px;color:#ffe2ac;font-size:12px;display:flex;gap:8px;align-items:center;justify-content:space-between}
body.snow-theme #boss-telegraph[hidden]{display:none}
body.snow-theme #boss-telegraph i{height:4px;position:absolute;inset:auto 0 0;background:#dbb27c;transform-origin:left;width:100%;opacity:.7}
body.snow-theme .hp-me{height:33px;background:#1d3030;border:1px solid #809a8266;box-shadow:none;border-radius:8px;overflow:hidden;margin-top:4px}
body.snow-theme .hp-me i{background:linear-gradient(90deg,#436854,#799c7b)}
body.snow-theme .hp-me .bar-lbl{font:500 12px var(--vt);padding:7px 9px;color:#edf1e4}
body.snow-theme .hp-me span{inset:0 8px 0 auto;font:600 13px/31px var(--vt);color:#f1f3e5}
body.snow-theme .controls{display:grid;grid-template-columns:1.7fr 1fr auto;gap:10px}
body.snow-theme .btn.attack{font-size:18px;min-height:64px;background:linear-gradient(135deg,#e3c280,#c5a36a);color:#292b27;border:1px solid #f1d5a588;box-shadow:inset 0 1px #fff2c755,0 5px 10px #121d2444}
body.snow-theme .atk-main{font:700 18px/1.3 var(--vt)}body.snow-theme .atk-sub{font:500 11px/1.4 var(--vt);color:#424637}
body.snow-theme .btn.heal{font-size:16px;background:linear-gradient(135deg,#617c68,#38594c);color:#eff0de;border-color:#a0bb9877}
body.snow-theme .btn.heal small{font-size:12px}
body.snow-theme .feed-wrap{margin-top:16px;border:1px solid #697f7b66;border-radius:10px;overflow:hidden;background:#1c2a30}
body.snow-theme .feed-h{padding:7px 8px;background:#26383e;color:#acbcb5;font-size:12px;gap:4px}
body.snow-theme .chat-tabs{gap:4px;display:flex}.snow-theme .chat-tabs .ct{font:500 12px var(--vt);border:0;background:transparent;color:#c0d0c8;border-radius:5px;min-height:32px;padding:6px 8px}
body.snow-theme .chat-tabs .ct.on{background:#5d6247;color:#f2e5bf}
body.snow-theme #feed{height:80px;background:transparent;border:0;box-shadow:none;padding:8px 10px;font-size:12px;line-height:1.7}
body.snow-theme #feed p{padding-inline-start:7px;border-inline-start-width:2px}
body.snow-theme #feed.full{height:220px}
body.snow-theme .splat{background:#b96f5e;border:1px solid #f0c29a;border-radius:7px 14px 7px 14px;font:700 16px var(--vt);min-width:36px;height:31px;box-shadow:0 3px 6px #14252b77;animation:snow-splat .8s ease-out forwards}
body.snow-theme .splat.crit{background:#dcc18c;color:#2d3330;border-color:#f4e4af;font-size:19px}
body.snow-theme .splat.pet{background:#6a778c;border-color:#c9c6dd}.snow-theme .splat.burn{background:#ad775b}
@keyframes snow-splat{0%{opacity:0;transform:translateY(6px) scale(.8)}15%{opacity:1;transform:translateY(0)}70%{opacity:1}100%{opacity:0;transform:translateY(-28px)}}
body.snow-theme .xp-drop{position:absolute;inset:auto 18px 88px auto;z-index:4;color:#e4dbad;font-size:15px;font-weight:650;pointer-events:none;animation:snow-splat 1.2s ease-out forwards;background:#203d3bad;padding:4px 9px;border-radius:6px}
body.snow-theme .paused{background:#18262be8!important;color:#f2e7cf;border:0!important;font:650 25px Georgia,serif;box-shadow:none!important;z-index:8}
body.snow-theme .pause-cta{font:650 16px var(--vt);background:#d7b775;border:1px solid #f5dcaf;color:#263632;box-shadow:none;border-radius:8px;padding:12px 20px;margin-top:15px;min-height:44px}
body.snow-theme .boss-banner,body.snow-theme .warn-banner{font:600 22px Georgia,serif;color:#f4dbb1;background:linear-gradient(90deg,transparent,#1b3030e8,transparent);text-shadow:none;pointer-events:none;z-index:4}
body.snow-theme .boss-banner small{font:500 13px var(--vt);color:#d1ded3}
body.snow-theme .bar,body.snow-theme .progress{border:1px solid #73847c66;border-radius:6px;box-shadow:none;overflow:hidden;background:#17262c}
body.snow-theme .progress i{background:linear-gradient(90deg,#9a855c,#dfc58e)}
body.snow-theme .col-grid{gap:9px;grid-template-columns:repeat(auto-fill,minmax(66px,1fr))}
body.snow-theme .slot{border:1px solid var(--rc,#899b95);border-radius:10px;background:linear-gradient(145deg,#435158,#1f2d34);box-shadow:inset 0 0 0 2px #1b262acc,0 5px 9px #101b2222;min-width:0}
body.snow-theme .slot.missing{filter:none!important;background:#1b2a30;border-color:#596663;opacity:.65;box-shadow:none}
body.snow-theme .slot .n{font-size:12px;color:#ecdfc1}.snow-theme .slot.missing:after{font-size:16px;color:#9cacaa}
body.snow-theme .gear-slots,body.snow-theme .equip-grid{gap:10px}.snow-theme .item-icon svg{width:32px;height:32px}
body.snow-theme table{border-collapse:collapse;width:100%;font-size:14px}.snow-theme th{color:#d9c294;font-weight:600}
body.snow-theme td,body.snow-theme th{padding:10px 7px;border-bottom:1px solid #65757440}
body.snow-theme .talent,body.snow-theme .perk,body.snow-theme .ach{border:1px solid #7e8d7c60;background:linear-gradient(145deg,#3a4c4b77,#233338);border-radius:10px;padding:12px}
body.snow-theme .talent .name,body.snow-theme .perk .name,body.snow-theme .ach .name{font:600 15px var(--vt);color:#f0e4c7}
body.snow-theme .talent .desc,body.snow-theme .perk .desc,body.snow-theme .ach .desc{font-size:13px;line-height:1.5;color:#c2cec5}
body.snow-theme .talent.done,body.snow-theme .ach.done{border-color:#acc69a99;background:#38514555}
body.snow-theme .pass-track{gap:9px;scrollbar-width:thin;padding:12px 0}
body.snow-theme .pass-level,body.snow-theme .pass-row,body.snow-theme .pass-lv{border:1px solid #758d8270;background:linear-gradient(155deg,#3c5054,#25363e);border-radius:10px;padding:12px}
body.snow-theme .pass-banner,body.snow-theme .pass-head{border-radius:12px;background:linear-gradient(135deg,#4d625d,#2a414b);border:1px solid #a3ba9566;padding:18px}
body.snow-theme .lb-boards,body.snow-theme .subtabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #7f8e7744;padding-bottom:12px;margin-bottom:18px}
body.snow-theme .lb-boards button,body.snow-theme .subtabs button{font:500 13px var(--vt);border:1px solid #75867b77;border-radius:7px;background:#243840;color:#cbd6cc;padding:9px 12px;min-height:44px;box-shadow:none}
body.snow-theme .lb-boards button.active,body.snow-theme .subtabs button.active{background:#766846;color:#f4e3b9;border-color:#bfa273}
body.snow-theme .lb-list li{font-size:14px;line-height:1.5;border-bottom:1px solid #7f8e7740;border-radius:6px;padding:10px}
body.snow-theme .pod .block{border:1px solid #c4b58199;border-radius:8px 8px 0 0;box-shadow:inset 0 1px #f8f0d744;font:600 20px Georgia,serif}
body.snow-theme .pod .who{font:600 13px var(--vt)}.snow-theme .pod .crown{animation:none}.snow-theme .pod .val{font-size:14px}
body.snow-theme .set-row{border:1px solid #81948344;border-radius:9px;background:#22343a88;padding:12px;min-height:52px;line-height:1.4;gap:10px;align-items:center;margin-bottom:9px;font-size:14px}
body.snow-theme input[type=checkbox]{accent-color:#d4b673;width:22px;height:22px;flex-shrink:0}.snow-theme input[type=range]{accent-color:#c5b177;min-width:80px}
body.snow-theme input[type=text],body.snow-theme input[type=number],body.snow-theme textarea,body.snow-theme select{border:1px solid #8fa18a88;background:#16292f;color:#f3e9d0;border-radius:8px;padding:10px;font-size:16px;max-width:100%;min-height:44px}
body.snow-theme .set-seg button{border:1px solid #778d7b;background:#243a41;color:#dfdfc8;border-radius:6px;min-height:44px;font-size:13px;padding:8px}
body.snow-theme .set-seg button.active{background:#8a774e;color:#fff1c9}
body.snow-theme .modal{background:linear-gradient(140deg,#3a4848,#1e3038)!important;border:1px solid #c2bb9377!important;border-radius:16px!important;color:#e6e3ce;box-shadow:0 24px 80px #0009!important;padding:24px;max-width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;font:15px/1.6 var(--vt)}
body.snow-theme .modal h2{font-size:25px}.snow-theme .modal h3{font-size:20px}.snow-theme .modal .btn{margin-top:8px}
body.snow-theme #modal-root{backdrop-filter:none!important;background-color:transparent}
body.snow-theme #modal-root:has(.modal){background:#0b1826bc!important}
body.snow-theme .pick-card{border:1px solid #97aa9077;background:linear-gradient(145deg,#405652,#263b43);border-radius:12px;padding:16px;min-height:125px}
body.snow-theme .pick-card .name,body.snow-theme .pick-name{font:650 18px Georgia,serif;color:#eddcb5}
body.snow-theme .pick-card .desc{font-size:14px;line-height:1.5;color:#d1dccd}
body.snow-theme .toast{border:1px solid #a2b29299;border-radius:9px;background:#263c3ff5;color:#eff0d5;font:500 14px var(--vt);box-shadow:0 5px 18px #0005;max-width:90vw}
body.snow-theme #boot{background:radial-gradient(ellipse at 50% 35%,#2d4a50f2,#15242cf5 70%);backdrop-filter:none}
body.snow-theme .boot-title{font:600 clamp(30px,5vw,48px) Georgia,serif;letter-spacing:1px;text-shadow:none;animation:none;color:#f0ddb7}
body.snow-theme .boot-flake{color:#add7d9;animation:none;filter:none}.snow-theme .boot-hint{font-size:15px;color:#c3cdbf}
body.snow-theme .boot-play{font-size:20px;padding:16px 48px;animation:none}
body.snow-theme #save-status{background:#4c4435;border:1px solid #d7be83;color:#fff1cb;font:14px/1.5 var(--vt);z-index:99999}
body.snow-theme #io-footer{margin-top:30px;padding:22px 8px 32px;border-top:1px solid #5d6a5e55;color:#aebdb7;background:none;font-size:13px}
body.snow-theme .ft-h{font-size:17px}.snow-theme .ft-chip{border:1px solid #7a8e7766;border-radius:7px;background:#23353b;color:#c3d1c8;font:500 12px var(--vt);padding:8px 12px}
body.snow-theme .ft-pitch,body.snow-theme .ft-legal{font-size:13px;line-height:1.7;color:#afbeb5}
body.snow-theme .language-fight{display:none!important}.snow-theme .language-picker{position:static!important;flex-shrink:0}
body.snow-theme .language-picker select{font-size:12px;min-height:36px;padding:5px;max-width:130px;background:#263a40;border-radius:6px}
body.snow-theme .snow-journal{margin-top:18px}.snow-theme .roster-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.snow-theme .roster-card{border:1px solid #7b948277;background:linear-gradient(145deg,#3a5156,#21353d);border-radius:10px;overflow:hidden;text-align:center;color:#e5e3c8}.snow-theme .roster-card img{width:100%;aspect-ratio:1.08;object-fit:contain;display:block;background:#23393d}.snow-theme .roster-card span{display:block;padding:7px;font-size:12px;line-height:1.3}.snow-theme .roster-zone{font:600 17px Georgia,serif;padding:18px 0 8px;color:#ddc494}.snow-theme .roster-card.boss{border-color:#d4b37e}
body.snow-theme .roster-card button{width:100%;border:0;background:transparent;color:inherit;cursor:pointer;padding:0}
body.snow-theme .fx-lo .snow-journal img{animation:none}
body.snow-theme.set-rm *,body.snow-theme.set-rm *:before,body.snow-theme.set-rm *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
body.snow-theme.fx-lo #mon{animation:none!important}.snow-theme.fx-lo .xp-drop{animation:none!important}.snow-theme.fx-lo .splat{animation:none!important}
body.snow-theme .hc{--ink:#fff;--mute:#e4ebe4}
@media(min-width:1100px){body.snow-theme.focus-mode #layout{grid-template-columns:1fr!important;max-width:1000px}body.snow-theme.focus-mode #panel{display:none!important}body.snow-theme #tabs{position:static!important;width:auto!important;transform:none!important;inset:auto!important}}
@media(min-width:768px) and (max-width:1099px){body.snow-theme #layout{grid-template-columns:minmax(0,1fr)}body.snow-theme #stage,body.snow-theme #panel{min-height:0}.snow-theme #topbar .full-game{display:none}}
@media(max-width:767px){
 body.snow-theme{padding:0 0 calc(78px + env(safe-area-inset-bottom))!important;min-width:0!important}
 body.snow-theme #app{padding:0!important;width:100%!important;margin:0!important}
 body.snow-theme #topbar{position:relative!important;display:flex!important;flex-wrap:wrap!important;align-items:center;gap:8px!important;padding:12px 14px!important;margin:0!important;border-radius:0!important;border-width:0 0 1px!important;min-height:68px!important;height:auto!important;max-height:none!important}
 body.snow-theme .brand{flex:1}.snow-theme .brand b{font-size:18px}.snow-theme .brand small{font-size:11px;line-height:1.3}.snow-theme .brand .logo{font-size:26px}
 body.snow-theme #tb-retro{order:0;position:static!important;min-height:40px;font-size:12px;padding:7px 9px;max-width:140px;white-space:normal;line-height:1.3}
 body.snow-theme .top-stats{width:100%;flex:1 1 100%;display:flex!important;justify-content:flex-start;gap:6px!important;order:2;overflow:visible!important}
 body.snow-theme .top-stats>.pill{display:none!important}.snow-theme .top-stats>.pill:first-child,.snow-theme .top-stats>.coin-pill{display:inline-flex!important;font-size:12px;padding:4px 7px;min-height:30px!important}
 body.snow-theme .top-stats>.pill:first-child .lbl{display:none}.snow-theme #tb-name{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
 body.snow-theme .top-stats .tb-audio{display:none!important}.snow-theme .language-hud{margin-inline-start:auto!important;display:block!important}.snow-theme .language-hud select{max-width:120px!important;min-height:30px;font-size:11px}
 body.snow-theme #btn-focus,body.snow-theme #topbar .full-game{display:none!important}
 body.snow-theme #layout{display:block!important;padding:14px!important;width:100%!important;max-width:none!important;margin:0!important}
 body.snow-theme #stage{width:100%!important;padding:0!important;min-height:0!important;border:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
 body.snow-theme #goal{margin:0 0 12px!important;min-height:48px;font-size:13px;padding:9px 12px}
 body.snow-theme .run-bar{padding:0;gap:8px;min-height:32px}.snow-theme .chip:first-child{font-size:19px}.snow-theme .chip{font-size:12px}.snow-theme .run-sub{min-height:26px;margin-bottom:8px;gap:4px}
 body.snow-theme .arena{height:300px!important;margin:8px 0 12px!important;width:100%!important;border-radius:12px!important}
 body.snow-theme #mon{width:270px!important;height:253px!important;bottom:-2px!important;max-width:88%}.snow-theme #mon.boss{width:290px!important;height:272px!important}
 body.snow-theme .mon-name{font-size:18px!important;left:12px;right:12px;top:12px;min-height:40px;padding:8px 11px}
 body.snow-theme .hp-mon{top:50px;left:24px;right:24px;height:5px}.snow-theme .hp-mon span{font-size:10px;top:8px}
 body.snow-theme .player-row{gap:10px!important}.snow-theme .hp-me{height:29px}.snow-theme .hp-me span{line-height:27px}
 body.snow-theme .controls{gap:8px!important;grid-template-columns:1.7fr 1fr auto!important}.snow-theme .btn.attack{min-height:56px!important;font-size:17px!important;padding:8px!important}.snow-theme .atk-main{font-size:17px!important}.snow-theme .btn.heal{min-height:56px!important;font-size:15px!important}
 body.snow-theme .feed-wrap{margin-top:14px}.snow-theme #feed{height:67px!important;font-size:11px!important}.snow-theme #feed.full{height:220px!important}.snow-theme .feed-h{padding:5px 7px}.snow-theme .chat-tabs .ct{font-size:11px;min-height:30px}
 body.snow-theme #panel{display:block!important;position:static!important;inset:auto!important;width:100%!important;min-height:0!important;max-height:none!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important;transform:none!important}
 body.snow-theme:not(.sheet-open) #panel>.tab{display:none!important}
 body.snow-theme.sheet-open #panel{position:fixed!important;inset:0 0 calc(74px + env(safe-area-inset-bottom)) 0!important;z-index:85!important;width:100%!important;background:linear-gradient(150deg,#324448,#1e2f37)!important;border:0!important;border-radius:0!important;padding:14px 14px 30px!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;animation:snow-sheet .2s ease-out}
 body.snow-theme.sheet-open .sheet-x{font:600 14px var(--vt)!important;color:#e1cfa3!important;background:#1d3139!important;border:1px solid #8ea18a77!important;border-radius:8px!important;position:sticky!important;top:0;min-height:44px!important;box-shadow:0 5px 12px #0003!important;margin:0 0 18px!important}
 body.snow-theme #tabs,html[dir=rtl] body.snow-theme #tabs{position:fixed!important;inset:auto 0 0!important;width:100%!important;max-width:100%!important;transform:none!important;display:grid!important;grid-auto-flow:initial!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:1px!important;padding:5px 4px calc(5px + env(safe-area-inset-bottom))!important;margin:0!important;min-height:74px!important;height:auto!important;border:1px solid #9d9b7e66!important;border-width:1px 0 0!important;border-radius:0!important;background:linear-gradient(125deg,#4d483a,#253b3e)!important;box-shadow:0 -6px 20px #07192455!important;z-index:95!important;opacity:1!important}
 body.snow-theme #tabs button{min-width:44px!important;min-height:62px!important;padding:6px 1px!important;font-size:16px!important;gap:5px!important;border-radius:7px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:auto!important;aspect-ratio:auto!important;line-height:1.2!important}
 body.snow-theme #tabs button.only-sheet{display:flex!important}.snow-theme #tabs button span{display:block!important;font:500 10px/1.2 var(--vt)!important;white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%;color:inherit}
 body.snow-theme .hero{padding:24px 16px 20px!important;margin-bottom:16px!important;border-radius:12px!important;min-height:0!important}.snow-theme .hero-title{font-size:34px!important}.snow-theme .hero-sub{font-size:14px!important;line-height:1.6!important}.snow-theme .hero canvas{height:180px!important;width:192px!important}.snow-theme .home-grid{display:block!important}.snow-theme .home-grid>.card{margin-bottom:12px}
 body.snow-theme #io-footer{margin-top:20px;padding:20px 14px 12px!important;font-size:12px}.snow-theme .ft-block{margin:16px 0}.snow-theme .ft-venues{gap:6px}.snow-theme .ft-chip{font-size:11px!important;min-height:36px}
 body.snow-theme .modal{padding:20px!important;border-radius:14px!important;max-width:calc(100vw - 20px)!important;width:calc(100vw - 20px);max-height:calc(100dvh - 24px)!important;font-size:14px!important;line-height:1.5!important}.snow-theme .modal h2{font-size:24px!important}
 body.snow-theme .roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.snow-theme .roster-card span{font-size:13px;padding:9px}
 body.snow-theme #toasts,body.snow-theme.sheet-open #toasts{max-width:calc(100vw - 28px)!important;pointer-events:none!important}.snow-theme .toast{font-size:13px!important;max-width:100%!important}
 body.snow-theme .language-fight{display:none!important}
}
@keyframes snow-sheet{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:359px){body.snow-theme #tabs button{min-width:38px!important}.snow-theme #tabs button span{font-size:9px!important}.snow-theme .brand b{font-size:16px}.snow-theme #tb-retro{max-width:116px;font-size:11px}.snow-theme #layout{padding:10px!important}}
@media(prefers-reduced-motion:reduce){body.snow-theme *,body.snow-theme *:before,body.snow-theme *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Defeat legacy compact-rail and fixed-stage rules without changing game state. */
body.snow-theme #tabs button span{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important;display:block!important}
body.snow-theme .panel-toggle{display:none!important}
body.snow-theme .gear-grid{gap:10px}body.snow-theme .gslot{border:1px solid #8b9b8677!important;border-radius:12px!important;background:linear-gradient(145deg,#3c5055,#20323b)!important;box-shadow:inset 0 1px #e2d9b815,0 4px 10px #101c2222!important;padding:14px 10px;min-height:104px}body.snow-theme .gslot .ic{color:#e3d1a4;display:block;margin-bottom:5px}body.snow-theme .gslot .ic svg{width:28px;height:28px}body.snow-theme .gslot .slot-name{font-size:11px;letter-spacing:.7px;color:#b2c7c1}
body.snow-theme .tnode{border:1px solid #7b9c8b88!important;background:linear-gradient(145deg,#3b5354,#26383f)!important;border-radius:10px!important;box-shadow:inset 0 1px #fff2c511!important;padding:12px!important;min-height:76px}body.snow-theme .tnode b{font:600 15px/1.4 var(--vt)!important}body.snow-theme .tnode .desc{font-size:13px!important;line-height:1.5}
body.snow-theme .pt{border:1px solid #79978a66!important;border-radius:9px!important;background:linear-gradient(110deg,#344b50,#23343c)!important;padding:12px!important;margin-bottom:8px!important;box-shadow:none!important;font-size:14px}body.snow-theme .pt.ready{border-color:#d6bc83!important;background:linear-gradient(110deg,#5d6145,#2c4547)!important}body.snow-theme .pt.paid{border-color:#91b18c66!important;background:#2a4543!important}.snow-theme .pass-band{font:600 17px Georgia,serif!important;color:#e4cca1!important;margin-top:20px!important}
body.snow-theme.hc{--ink:#fff;--mute:#e4ebe4}body.snow-theme.hc .hint{color:#e4ebe4}
@media(max-width:767px){body.snow-theme #topbar .brand{width:auto!important;min-width:0!important;flex:1 1 0!important}body.snow-theme .brand small{display:none!important}body.snow-theme #stage,body.snow-theme.in-battle #stage{display:block!important;height:auto!important;max-height:none!important;min-height:0!important}body.snow-theme.in-battle #battle.active{display:block!important;height:auto!important;min-height:0!important;flex:none!important}body.snow-theme .arena{flex:none!important;height:280px!important}body.snow-theme .run-bar .xp{flex:1 1 30px}body.snow-theme .gslot{min-height:95px}body.snow-theme #tabs button span{font-size:10px!important}body.snow-theme #goal{font-size:12px!important;min-height:44px!important}}
@media(max-width:767px){body.snow-theme .top-stats>.coin-pill{display:inline-flex!important;font-size:12px;padding:4px 7px;min-height:30px!important}}
/* Existing commerce/Pass content: surfaces only; prices, claims and sync are unchanged. */
body.snow-theme .gm-wrap{font-size:15px;color:#e3e4d2}body.snow-theme .gm-hero{border:1px solid #a8b89c77;border-radius:14px!important;padding:20px;background:radial-gradient(ellipse at 90% 0%,#b6d4c333,transparent),linear-gradient(120deg,#4e6459,#263c47)!important;box-shadow:inset 0 1px #eee9b622!important}body.snow-theme .gm-items{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}body.snow-theme .gm-it{border:1px solid #79998966;border-radius:12px;background:linear-gradient(145deg,#40575a,#23383f);padding:15px;min-height:100px;box-shadow:inset 0 1px #eee3b515}body.snow-theme .gm-it.own{border-color:#9fb587}body.snow-theme .gm-it b{font:600 16px/1.4 var(--vt)}body.snow-theme .gm-it small{font-size:13px;line-height:1.5;color:#bdcfc5}body.snow-theme .gm-pack,body.snow-theme .gm-pack.best{border:1px solid #abb89e88;background:linear-gradient(145deg,#456369,#293e49);border-radius:12px;box-shadow:inset 0 1px #e8e9bc22;animation:none!important;color:#e6e9d7}body.snow-theme .gm-pack b{color:#c5e5dc}body.snow-theme .gm-free{border:1px solid #9eb18b66;border-radius:10px;background:#344c46;padding:14px}body.snow-theme .gm-title{font:600 19px Georgia,serif;color:#ead6ad}
body.snow-theme #panel-handle,body.snow-theme #menu-hint{display:none!important}
body.snow-theme .hp-mon{overflow:visible!important}body.snow-theme #m-hp-t{display:block!important;top:9px!important;height:17px;line-height:17px!important;text-align:start;transform:none!important;font-size:11px!important}
body.snow-theme .hp-me .bar-lbl{padding:0;left:8px;right:auto}body.snow-theme .hp-me #p-hp-t{left:auto;right:8px}html[dir=rtl] body.snow-theme .hp-me .bar-lbl{left:auto;right:8px}html[dir=rtl] body.snow-theme .hp-me #p-hp-t{left:8px;right:auto;direction:ltr}
body.snow-theme #boot{background:radial-gradient(ellipse at 50% 35%,#34535b,#142630 70%)!important}body.snow-theme #boot .boot-title{font:600 clamp(32px,6vw,48px)/1.2 Georgia,serif;text-shadow:none;letter-spacing:.4px;color:#f1dfb9}body.snow-theme #boot .boot-flake{filter:none;animation:none;font-size:42px;color:#b8dfe0}body.snow-theme #boot .boot-play{font:650 20px/1.4 var(--vt);color:#29342d;background:linear-gradient(135deg,#e9c988,#c7a367);border:1px solid #f0dcaf;border-radius:12px;box-shadow:0 8px 20px #06172266,inset 0 1px #fff1d444;padding:14px 40px;min-height:60px}body.snow-theme #boot .boot-hint{font:15px/1.5 var(--vt);color:#c5d8cc}
@media(min-width:1100px){body.snow-theme .brand small{font-size:11px;max-width:260px;line-height:1.4}body.snow-theme #topbar{gap:12px}}
@media(min-width:1100px) and (max-height:900px){body.snow-theme .arena{height:270px!important}body.snow-theme #mon{width:270px!important;height:253px!important}body.snow-theme #mon.boss{width:290px!important;height:272px!important}body.snow-theme #world{margin-bottom:10px}body.snow-theme #goal{margin-bottom:10px}}
body.snow-theme #hero-mon{image-rendering:auto}body.snow-theme.retro-graphics #hero-mon{image-rendering:pixelated}
