:root{--gx:max(10px,calc(50% - 230px));--ink:#07131d;--cream:#f7e6c2;--or1:#ffb13b;--or2:#ff7a1a;--bl1:#4fd2ff;--bl2:#1f8cf0;--sh:0 3px 0 rgba(7,19,29,.22),0 6px 14px rgba(7,19,29,.18)}
*{box-sizing:border-box}
html,body{margin:0;height:100%;overflow:hidden;background:#9fd8ff;font-family:Fredoka,Jua,system-ui,sans-serif;color:var(--ink);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
#c{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}
#hud,#tags,#stickers{position:fixed;inset:0;pointer-events:none;z-index:3}
#hud[hidden]{display:none}
#hud button,#hud .pill,#hud .goal,#sheet{pointer-events:auto}
button{font-family:inherit;color:inherit;border:0;cursor:pointer;padding:0}
svg{width:1em;height:1em;display:block}
/* 상단 */
.top{position:absolute;left:var(--gx);right:var(--gx);top:calc(env(safe-area-inset-top,0px) + 8px);display:flex;gap:7px;align-items:center}
.rb{width:44px;height:44px;border-radius:15px;background:rgba(255,255,255,.95);box-shadow:var(--sh);font-size:24px;display:grid;place-items:center;flex:none}
.rb.sm{width:40px;height:40px;font-size:22px;border-radius:13px}
.rb:active,.tb:active{transform:translateY(2px)}
.pill{height:42px;border-radius:21px;background:rgba(255,255,255,.95);box-shadow:var(--sh);display:flex;align-items:center;gap:6px;padding:0 12px;font-weight:700;font-size:17px;position:relative}
.pill .ic{font-size:22px;display:grid}.c-coin{color:#ffb000}.c-star{color:#ffc21f}.c-rp{color:#7a5cff}
.money{flex:1;min-width:0}.money b{font-size:19px;letter-spacing:.2px}.money.neg b{color:#e0243a}
.money em{font-style:normal;font-size:12px;position:absolute;right:10px;top:-9px;padding:1px 6px;border-radius:9px;color:#fff;animation:pop .3s}
.money em.up{background:#2fbf5a}.money em.dn{background:#ef4455}.money em:empty{display:none}
.clock{padding:0 10px 0 4px;gap:4px}.clock svg{width:34px;height:34px}.clock .bg{fill:#fff3d6;stroke:#e6d3a0;stroke-width:3}.clock #clArc{fill:none;stroke:#ff9a2e;stroke-width:3.5;stroke-linecap:round;transform:rotate(-90deg);transform-origin:50% 50%;stroke-dasharray:0 100}
.clock b{font-size:18px}.clock span{font-size:11px;font-weight:600;opacity:.65}
.speed{padding:0 11px;gap:3px;background:linear-gradient(#ffb13b,#ff7a1a);color:#fff;box-shadow:0 3px 0 #c4520a,0 6px 12px rgba(7,19,29,.2)}.speed i{font-size:18px;display:grid}.speed b{font-size:14px;min-width:20px}
.goal{position:absolute;left:var(--gx);right:var(--gx);top:calc(env(safe-area-inset-top,0px) + 58px);height:38px;border-radius:19px;background:rgba(7,19,29,.62);display:flex;align-items:center;gap:8px;padding:0 10px;color:#fff;backdrop-filter:blur(4px)}
.gst{display:flex;gap:1px}.gst i{font-size:17px;color:#ffffff55}.gst i.on{color:#ffc21f;filter:drop-shadow(0 0 3px #ffc21f88)}
.gl{display:flex;gap:6px;flex:1;min-width:0;overflow:hidden}
.gc{display:flex;align-items:center;gap:3px;height:26px;padding:0 8px;border-radius:13px;font-size:14px;font-weight:700;background:linear-gradient(90deg,#3a86ffcc var(--p),#ffffff22 var(--p));white-space:nowrap}
.gc svg{font-size:15px}.gc small{opacity:.7;font-size:12px;font-weight:600}.gc.ok{background:#2fbf5a}.gc.rv{background:#ef4455aa}
.gm{font-size:12px;font-weight:700;opacity:.8}
.side{position:absolute;right:var(--gx);top:calc(env(safe-area-inset-top,0px) + 106px);display:flex;flex-direction:column;gap:8px}
body.under .side #bLayer{background:#3a2d7a;color:#fff}
.evs{position:absolute;left:var(--gx);top:calc(env(safe-area-inset-top,0px) + 106px);display:flex;flex-direction:column;gap:8px}
.ev{width:46px;height:46px;border-radius:16px;background:#fff;box-shadow:var(--sh);font-size:24px;display:grid;place-items:center;position:relative;animation:wob 1s infinite}
.ev b{position:absolute;right:-4px;bottom:-5px;background:var(--ink);color:#fff;border-radius:9px;font-size:11px;padding:0 5px;min-width:16px}.ev b:empty{display:none}
.ev.k-breakdown{color:#e0243a}.ev.k-snow{color:#2b9bff}.ev.k-festival{color:#ff4fa0}.ev.k-works{color:#ff9a1a}.ev.k-strike{color:#7a3fe0}
@keyframes wob{50%{transform:rotate(-6deg) scale(1.05)}}
@keyframes wobR{50%{rotate:-6deg;scale:1.06}}
@keyframes pop{from{transform:scale(.4);opacity:0}}
/* 아래 */
.bar{position:absolute;left:var(--gx);right:var(--gx);bottom:calc(env(safe-area-inset-bottom,0px) + 10px);height:66px;display:flex;gap:7px}
.tb{flex:1;border-radius:20px;background:rgba(255,255,255,.96);box-shadow:var(--sh);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:27px;color:#2a3550;position:relative}
.tb .tbn{font-size:11px;font-weight:700;letter-spacing:.2px}
.tb.on{background:linear-gradient(#ffb13b,#ff7a1a);color:#fff;box-shadow:0 3px 0 #c4520a,0 6px 12px rgba(7,19,29,.2)}
.tb.pulse::after{content:'';position:absolute;inset:-5px;border-radius:24px;border:3px solid #ffd23f;animation:pul 1s infinite}
@keyframes pul{0%{transform:scale(.96);opacity:1}100%{transform:scale(1.12);opacity:0}}
.strip{position:absolute;left:var(--gx);right:var(--gx);bottom:calc(env(safe-area-inset-bottom,0px) + 84px);display:flex;gap:7px;overflow-x:auto}
.lc{flex:none;min-width:46px;height:36px;border-radius:18px;background:var(--lc);color:#fff;box-shadow:var(--sh);display:flex;align-items:center;gap:5px;padding:0 11px;font-size:16px;font-weight:700;text-shadow:0 1px 1px #0005}
.lc small{background:#0004;border-radius:8px;padding:0 5px;font-size:12px}.lc.on{outline:3px solid #fff;outline-offset:1px}
/* 시트 */
#sheet{position:fixed;left:max(8px,calc(50% - 232px));right:max(8px,calc(50% - 232px));bottom:calc(env(safe-area-inset-bottom,0px) + 84px);z-index:4;pointer-events:none}
.sh{pointer-events:auto;background:rgba(255,255,255,.97);border-radius:24px;box-shadow:var(--sh);padding:12px;max-height:46vh;overflow:auto;animation:up .22s}
@keyframes up{from{transform:translateY(24px);opacity:0}}
.sh-h{display:flex;align-items:center;gap:8px;margin-bottom:8px}.nm{font-size:20px;flex:1;font-weight:700;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.x{margin-left:auto;width:34px;height:34px;border-radius:12px;background:#eef1f6;font-size:18px;display:grid;place-items:center;color:#5a6580}
.mut{opacity:.55;font-weight:700}
.row{display:flex;gap:7px;align-items:center;margin-top:8px}
.sb{height:46px;min-width:46px;border-radius:15px;background:#eef1f6;font-size:22px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 12px;color:#2a3550;flex:1}
.sb.main{background:linear-gradient(#ffb13b,#ff7a1a);color:#fff;box-shadow:0 3px 0 #c4520a}.sb.warn{color:#e0243a}.sb.big{height:54px;font-size:28px}.sb.sm{flex:none;height:36px;min-width:36px;font-size:22px}
.sb.dis{opacity:.42}.sb.on{background:#dff2ff;outline:2px solid #4fd2ff}
.cost{display:inline-flex;align-items:center;gap:3px;font-size:15px;font-weight:700}.cost i{display:grid;color:#ffb000;font-size:16px}.cost.bad{color:#e0243a}
.lvp{display:flex;gap:3px}.lvp u,.pip u{width:11px;height:11px;border-radius:4px;background:#d8dde8}.lvp u.on{background:#ff9a2e}
.dot{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:12px;background:var(--lc);color:#fff;font-style:normal;font-weight:700;font-size:13px;padding:0 4px}.dot.big{height:32px;min-width:32px;border-radius:16px;font-size:17px}
.qbar{flex:1;height:22px;border-radius:11px;background:#e8ecf3;position:relative;overflow:hidden}.qbar span{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#4cd964,#ffb13b,#ff4d4d);background-size:140px 100%}.qbar b{position:relative;font-size:13px;line-height:22px;margin-left:8px}
.fac{justify-content:space-between}.fc{flex:1;height:52px;border-radius:14px;background:#eef1f6;font-size:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#2a3550}.fc small{font-size:11px;font-weight:700}.fc.on{background:#d9f7e3;color:#1f9d4f}.fc.dis{opacity:.4}
.stats{justify-content:space-around}.stats span{display:flex;align-items:center;gap:4px;font-size:16px;font-weight:700}.stats svg{font-size:18px;color:#6b7694}.stats.big span{font-size:20px}.stats .bad{color:#e0243a}.stats small{opacity:.6}
.trains{overflow-x:auto}.tc{flex:none;min-width:92px;height:82px;border-radius:16px;background:#eef1f6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;font-size:14px}.tc b{font-size:15px}.tc small{display:flex;align-items:center;gap:2px;font-size:12px;opacity:.75}.tc.dis{opacity:.45}.tc.lockd{opacity:.5;background:#e2e5ec}
.lcs{overflow-x:auto}
.modes{gap:5px}.md{flex:1;height:36px;border-radius:12px;background:#eef1f6;font-size:15px;font-weight:700}.md.on{background:#ffb13b;color:#fff}
.zones{overflow-x:auto}.zc{flex:1;min-width:56px;height:58px;border-radius:16px;background:#eef1f6;font-size:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--zc)}.zc small{font-size:11px;font-weight:700;color:#2a3550}.zc.on{background:var(--zc);color:#fff;box-shadow:0 3px 0 #0003}.zc.on small{color:#fff}
.tabs{display:flex;gap:6px;margin-bottom:6px}.tab{flex:1;height:46px;border-radius:14px;background:#eef1f6;font-size:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6b7694}.tab small{font-size:10px;font-weight:700}.tab.on{background:#2a3550;color:#fff}
.spark{display:flex;align-items:flex-end;gap:3px;height:44px;margin-top:8px}.spark i{flex:1;background:#4fd2ff;border-radius:3px 3px 0 0}
.vs{margin-top:8px;display:flex;flex-direction:column;gap:5px}.vs div{display:flex;align-items:center;gap:6px;height:20px}.vs em{font-style:normal;font-size:11px;font-weight:700;width:46px}.vs span{height:12px;border-radius:6px;background:#ffb13b;flex:none;max-width:60%}.vs .rv span{background:#ef4455}.vs b{font-size:13px}
.lab{font-weight:700;flex:1;font-size:15px}.v{font-size:17px;min-width:70px;text-align:right}
.rgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:6px}.rn{height:62px;border-radius:14px;background:#eef1f6;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;line-height:1.1;padding:2px}.rn i{font-style:normal;font-size:18px}.rn b{font-size:11px}.rn small{font-weight:700;opacity:.7}
.rn.ok{background:#fff1d6;outline:2px solid #ffb13b}.rn.done{background:#d9f7e3}.rn.lock{opacity:.4}.rn.wait{background:#f3f0e6}
.staff{display:flex;flex-direction:column;gap:6px}.srow{display:flex;align-items:center;gap:8px;height:44px;background:#f3f5fa;border-radius:14px;padding:0 10px}.srow svg{font-size:22px;color:#6b7694}.srow b{flex:1;font-size:15px}.srow .w{font-size:11px;opacity:.6}
.hint{margin-top:6px;font-weight:700;font-size:13px}.hint.bad{color:#e0243a}
/* 이름표 */
.tg{position:absolute;left:0;top:0;padding:2px 7px 4px;border-radius:9px;background:rgba(255,255,255,.88);font-size:11px;font-weight:700;white-space:nowrap;box-shadow:0 2px 0 rgba(7,19,29,.2);will-change:transform}
.tg i{display:block;height:3px;border-radius:2px;margin-top:2px;width:0;max-width:100%}.tg.hot b{display:inline-block;animation:wob .6s infinite}.tg.hot{background:#ffe3e3}.tg.sel{background:#ffe14a}.tg.closed{opacity:.5}
/* 스티커 */
.stk{position:absolute;transform:translate(-50%,-50%) rotate(var(--r));font-family:Jua,Fredoka,sans-serif;font-size:21px;color:var(--c);-webkit-text-stroke:5px var(--ink);paint-order:stroke fill;text-shadow:0 3px 0 rgba(7,19,29,.35);animation:stk 1.3s ease-out forwards;white-space:nowrap}
.stk.big{font-size:32px}
@keyframes stk{0%{transform:translate(-50%,-30%) rotate(var(--r)) scale(.3);opacity:0}15%{transform:translate(-50%,-60%) rotate(var(--r)) scale(1.2);opacity:1}100%{transform:translate(-50%,-190%) rotate(var(--r)) scale(1);opacity:0}}
/* 월드 */
#modal{position:fixed;inset:0;z-index:8;pointer-events:none}#modal>*{pointer-events:auto}
.world{position:absolute;inset:0;background:#f1dfb4;overflow:hidden}.wscroll{scrollbar-width:none}.wscroll::-webkit-scrollbar{display:none}.wmap{max-width:460px;margin:0 auto;padding-top:24px}
.wbg{position:absolute;inset:0;background:url(ui/worldmap.webp) 38% center/auto 100%;filter:saturate(1.1)}
.wtop{position:absolute;left:10px;right:10px;top:calc(env(safe-area-inset-top,0px) + 10px);display:flex;justify-content:space-between;z-index:2}
.wscroll{position:absolute;left:0;right:0;top:calc(env(safe-area-inset-top,0px) + 64px);bottom:262px;overflow-y:auto;-webkit-overflow-scrolling:touch}.wmap{position:relative}.wpath{position:absolute;inset:0;pointer-events:none}.wpath line{stroke:#fff;stroke-width:5;stroke-dasharray:2 12;stroke-linecap:round;opacity:.9}
.pin{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;background:none;gap:1px}
.pin i{width:38px;height:38px;border-radius:50%;background:linear-gradient(#ffb13b,#ff7a1a);color:#fff;display:grid;place-items:center;font-size:20px;box-shadow:0 3px 0 #c4520a,0 5px 8px #0004;border:3px solid #fff}
.pin b{font-size:11px;background:rgba(255,255,255,.92);border-radius:8px;padding:0 5px;white-space:nowrap}.pin span{display:flex;gap:1px}.pin span u{width:9px;height:9px;border-radius:50%;background:#0003}.pin span u.on{background:#ffc21f}
.pin.lk i{background:#8d96a8;box-shadow:0 3px 0 #5a6273}.pin.sel i{transform:scale(1.25);outline:3px solid #fff}.pin.free i{background:linear-gradient(#4fd2ff,#1f8cf0);box-shadow:0 3px 0 #136bbd}
.wcard{position:absolute;left:var(--gx);right:var(--gx);bottom:calc(env(safe-area-inset-bottom,0px) + 12px);border-radius:26px;background:rgba(255,255,255,.97);box-shadow:var(--sh);padding:14px;min-height:190px}
.wc-h{display:flex;align-items:center;gap:8px}.wc-h b{font-size:28px;flex:1;font-family:Jua,Fredoka}.wc-h em{font-style:normal;background:#4fd2ff;color:#fff;border-radius:10px;padding:1px 8px;font-weight:700}.stars{display:flex}.stars u{font-size:26px;color:#d8dde8}.stars u.on{color:#ffc21f}
.wc-g{display:flex;gap:7px;margin-top:10px;flex-wrap:wrap}.wc-g span{display:flex;align-items:center;gap:4px;background:#eef1f6;border-radius:14px;padding:5px 10px;font-size:17px;font-weight:700}.wc-g svg{font-size:19px;color:#6b7694}
.wc-b{display:flex;gap:10px;margin-top:12px;align-items:center}.wplay{width:auto;flex:1;height:64px;border-radius:32px}.wres,.wdel{width:56px;height:56px;border-radius:18px;background:#eef1f6;font-size:26px;font-weight:700;display:grid;place-items:center;color:#2a3550}.wdel{color:#e0243a;font-size:24px}
.wc-lock{display:flex;align-items:center;justify-content:center;gap:10px;height:110px;font-size:34px;font-weight:700;color:#6b7694}.wc-lock svg{font-size:40px}.wc-lock i{color:#ffc21f;display:grid}
/* 스토리 */
.story{position:absolute;inset:0;background:linear-gradient(#1b2a5e,#0a1130);display:flex;flex-direction:column;align-items:center;animation:fade .4s}
@keyframes fade{from{opacity:0}}
.st-img{width:100%;flex:1;background:#243066 center/contain no-repeat;min-height:0}
.st-t{padding:18px 22px 8px;text-align:center;color:#fff;font-family:Jua,Fredoka,sans-serif}.st-t p{margin:4px 0;font-size:26px;line-height:1.25;-webkit-text-stroke:4px #0a1130;paint-order:stroke fill}
.st-go{margin:6px 0 calc(env(safe-area-inset-bottom,0px) + 20px);width:96px;height:72px;border-radius:36px}
#boot{position:fixed;inset:0;z-index:30;background:#9fd8ff;display:grid;place-items:center;font:700 34px Fredoka,sans-serif;color:#fff;-webkit-text-stroke:6px #12306b;paint-order:stroke fill}

.colors{flex-wrap:wrap;gap:5px}.cc{width:26px;height:26px;border-radius:50%;background:var(--lc);box-shadow:inset 0 -3px 0 #0003}.cc.on{outline:3px solid #2a3550;outline-offset:1px}
.tb .tbn[data-n]:not([data-n=""])::after{content:attr(data-n);position:absolute;top:3px;right:6px;background:#ff4d4d;color:#fff;font-size:11px;border-radius:9px;padding:0 5px}
body.demand .side #bLayer{background:#ff6f61;color:#fff}
.rci{display:flex;gap:4px;margin-left:auto;height:34px}.rci i{width:20px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative;background:#eef1f6;border-radius:6px;overflow:hidden}.rci u{width:100%;background:var(--zc);display:block}.rci b{position:absolute;bottom:0;font-size:10px;color:#fff;-webkit-text-stroke:2px #0006;paint-order:stroke fill}
.wc-m{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.wc-m span{display:flex;align-items:center;gap:3px;background:#fff1d6;border-radius:12px;padding:3px 8px;font-size:14px;font-weight:700;color:#b5651d}.wc-m svg{font-size:16px}
.tg .dots{display:inline-flex;gap:2px;margin-left:4px;vertical-align:middle}.tg .dots u{width:8px;height:8px;border-radius:50%;display:block}
.tasks{display:flex;flex-direction:column;gap:5px;margin-top:8px}.tk{display:flex;align-items:center;gap:7px;height:34px;border-radius:12px;padding:0 10px;font-size:15px;font-weight:700;background:linear-gradient(90deg,#d4ecff var(--p),#f1f3f8 var(--p))}.tk svg{font-size:18px;color:#5a6a8a}.tk b{flex:1}.tk em{font-style:normal;display:flex;align-items:center;gap:2px;color:#7a5cff}.tk em i{display:grid}.tk.ok{background:#d9f7e3}.tk.ok em{color:#1f9d4f}
.rank{display:flex;align-items:center;justify-content:center;gap:6px;font-family:Jua,Fredoka;font-size:22px;color:#b5651d}.rank svg{color:#ffc21f;font-size:24px}
.kcont{width:min(330px,92%);height:76px;border-radius:26px;background:linear-gradient(#4fd2ff,#1f8cf0);color:#fff;box-shadow:0 5px 0 #136bbd,0 8px 16px rgba(7,19,29,.25);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-family:Fredoka,Jua,sans-serif;margin-bottom:6px}.kcont b{display:flex;align-items:center;gap:8px;font-size:26px}.kcont b svg{font-size:24px}.kcont span{display:flex;gap:12px;font-size:15px;font-weight:700}.kcont i{font-style:normal;display:flex;align-items:center;gap:3px}.kcont i svg{font-size:15px}.kcont .ago{opacity:.7}
.wc-s{display:flex;gap:14px;margin-top:8px;font-weight:700;color:#5a6a8a}.wc-s span{display:flex;align-items:center;gap:3px}.wc-s svg{font-size:16px}.wres.arm{background:#ffe3e3;color:#e0243a}
body.nosave #hud::after{content:'';position:absolute;right:14px;top:150px;width:26px;height:26px;border-radius:50%;background:#ff9a2e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v8M12 17v2' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat}

@media (min-aspect-ratio:1/1) and (max-height:700px){
 .story{flex-direction:row;align-items:center;justify-content:center}.st-img{flex:1 1 55%;height:100%;width:auto}.st-t{flex:0 0 40%;padding:10px 18px}.st-t p{font-size:clamp(18px,4.2vh,26px)}.st-go{position:absolute;right:20px;bottom:16px;margin:0;width:84px;height:60px}
 .wscroll{right:372px;bottom:12px}.wcard{left:auto;right:12px;width:350px;top:calc(env(safe-area-inset-top,0px) + 64px);bottom:12px;overflow:auto}.wbg{background-size:cover}
}
@media (min-aspect-ratio:1/1) and (min-height:701px){.story{align-items:center}.st-img{max-width:min(100%,calc((100vh - 220px)*0.75));flex:0 0 auto;height:calc(100vh - 220px);margin:0 auto}.st-t{padding-top:12px}.wscroll{right:372px;bottom:12px}.wcard{left:auto;right:12px;width:350px;top:calc(env(safe-area-inset-top,0px) + 64px);bottom:auto;overflow:auto}}
@media (max-height:520px){#sheet .sh{max-height:58vh}.goal{height:32px}.side,.evs{top:calc(env(safe-area-inset-top,0px) + 96px)}}
.pv{position:fixed;transform:translate(-50%,-100%);z-index:6;pointer-events:none;display:flex;gap:8px;align-items:center;background:rgba(7,19,29,.82);color:#fff;border-radius:16px;padding:5px 12px;font-weight:700;font-size:15px;border:2px solid #3cf07a;box-shadow:0 3px 0 rgba(0,0,0,.25)}.pv.bad{border-color:#ff4d4d}.pv span{display:flex;align-items:center;gap:3px}.pv svg{font-size:16px}.pv .c svg{color:#ffc21f}.pv.bad .c{color:#ff8a8a}
.pvs{justify-content:flex-start!important;gap:10px;font-size:15px}.est{font-size:11px!important;gap:3px}.est svg{font-size:12px}
#trial{position:fixed;left:var(--gx);right:var(--gx);bottom:calc(env(safe-area-inset-bottom,0px) + 18px);top:auto;z-index:7}
.tbar{position:fixed;left:var(--gx);right:var(--gx);top:calc(env(safe-area-inset-top,0px) + 12px);display:flex;gap:10px;align-items:center;background:rgba(7,19,29,.7);border-radius:22px;padding:8px 12px;color:#fff}.tbar i{display:grid;font-size:24px}.tbar u{flex:1;height:10px;border-radius:6px;background:#ffffff33;overflow:hidden}.tbar u span{display:block;height:100%;width:0;background:#4fd2ff}.tbar button{width:38px;height:38px;border-radius:12px;background:#ffffff22;color:#fff;font-size:18px;display:grid;place-items:center}
.tcard{background:rgba(255,255,255,.97);border-radius:26px;box-shadow:var(--sh);padding:14px}.tst{display:flex;justify-content:space-around;font-weight:700;font-size:22px}.tst span{display:flex;align-items:center;gap:5px}.tst svg{font-size:24px;color:#6b7694}.tst small{font-size:13px;opacity:.6}.trow{display:flex;gap:10px;margin-top:12px}
.opts{gap:8px}.oc{flex:1;height:64px;border-radius:18px;background:#eef1f6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:24px;color:#2a3550}.oc svg+svg{margin-left:-4px}.oc.dis{opacity:.4}.ev.al.k-crowd{color:#ff7a1a}.ev.al.k-deficit{color:#e0243a}.ev.al.k-sad{color:#e0243a}.ev.al.k-rush{color:#7a5cff;animation:none;background:#efe9ff}.ev.al.k-skip{color:#2a3550;animation:none}.ic.big{font-size:30px;display:grid}
.spark.rv2{position:relative}.spark.rv2 u{position:absolute;left:0;right:0;height:2px;background:#ffc21f}.spark.rv2 i{background:#4cd964}
