@font-face{font-family:TL;src:url(fonts/tl.woff2);unicode-range:U+E00-E7F,U+25CC}
@font-face{font-family:LL;src:url(fonts/ll.woff2);unicode-range:U+E00-E7F,U+25CC}
@font-face{font-family:FR;src:url(fonts/fr.woff2);font-weight:600}
@font-face{font-family:RO;src:url(fonts/ro5.woff2);font-weight:500}
@font-face{font-family:RO;src:url(fonts/ro7.woff2);font-weight:750}
:root{--bg:#FFFDF8;--ink:#1E293B;--deep:#1E1B4B;--soft:#64748B;--line:#E8E2D6;--card:#fff;--org:#F97316;--ok:#059669;--no:#E11D48;--yel:#FBBF24;--h:#E11D48;--m:#059669;--l:#4F46E5;
--mid:#64748B;--low:#A16207;--fall:#C026D3;--high:#EA580C;--rise:#0284C7;--short:#DB2777;--long:#0F766E}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:500 17px/1.5 RO,TL,system-ui,sans-serif;padding-bottom:calc(84px + env(safe-area-inset-bottom))}
body.play{padding-bottom:24px}body.play #nav{display:none}
main{max-width:760px;margin:0 auto;padding:16px 16px 24px}
h1,h2,h3,.fr,button,.btn{font-family:FR,TL,RO,sans-serif;font-weight:600;color:var(--deep);line-height:1.2;margin:0}
h1{font-size:30px}h2{font-size:23px}h3{font-size:18px}p{margin:.5em 0}
[hidden]{display:none!important}
b,strong{font-weight:750}a{color:inherit}
.th{font-family:TL,RO,sans-serif;font-weight:600;line-height:1.75}.ll .th,.th.ll{font-family:LL,RO,sans-serif;font-weight:700}
.ro b{font-weight:750}.ro i{font-style:normal;color:#94A3B8}
.t-mid{color:var(--mid)}.t-low{color:var(--low)}.t-fall{color:var(--fall)}.t-high{color:var(--high)}.t-rise{color:var(--rise)}
button{font-size:17px;border:0;border-radius:16px;padding:12px 18px;min-height:48px;cursor:pointer;background:#fff;color:var(--deep);box-shadow:inset 0 0 0 2px var(--line);-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button:active{transform:scale(.97)}button:disabled{opacity:.45;cursor:default}
button.good:disabled,button.bad:disabled,.gap:disabled,.hunt button:disabled,button.ce:disabled{opacity:1}
:focus-visible{outline:3px solid #38BDF8;outline-offset:2px}
.pri{background:var(--org);color:#fff;box-shadow:0 3px 0 #C2570C}.pri:active{box-shadow:none;transform:translateY(3px)}
.ghost{background:none;box-shadow:none;color:var(--soft);padding:8px 10px;min-height:44px}
.spk{width:48px;height:48px;padding:0;border-radius:50%;background:#E0F2FE;box-shadow:none;font-size:21px;flex:none}
.spk.sm{width:44px;height:44px;font-size:17px}.spk.on{background:#7DD3FC}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ctr{justify-content:center;text-align:center}.sp{justify-content:space-between}
.hero{border-radius:26px;padding:22px 22px 20px;background:linear-gradient(95deg,#FDBA74,#F9A8D4 45%,#A5B4FC 80%,#7DD3FC);margin-bottom:18px}
.hero p{margin:.4em 0 0;color:#312E81;max-width:54ch}.hero .run{font-size:clamp(26px,7vw,40px);background:#ffffffd9;border-radius:16px;padding:4px 16px;display:inline-block;margin-top:12px;color:var(--deep)}
.hero .run i{font-style:normal;display:inline-block;transition:margin .5s cubic-bezier(.3,1.5,.5,1),background .5s;border-radius:8px}
.hero .run.cut i{margin:0 5px;background:#FEF3C7;padding:0 3px}
.days{display:grid;gap:12px}
.day{display:grid;grid-template-columns:62px 1fr auto;gap:14px;align-items:center;text-align:left;width:100%;border-radius:22px;padding:14px 16px;background:var(--c);box-shadow:none;color:inherit}
.day .n{width:62px;height:62px;border-radius:18px;background:var(--k);color:#fff;display:grid;place-items:center;font:600 30px FR}
.day p{margin:2px 0 0;font:500 15px/1.35 RO;color:#475569}.day .st{font-size:14px;white-space:nowrap;color:#334155;font-family:FR}
.day.next{box-shadow:0 0 0 3px var(--k)}
.acts{display:grid;gap:10px;margin-top:16px}
.act{display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center;text-align:left;border-radius:18px;padding:10px 14px 10px 10px;color:inherit}
.act .ic{width:52px;height:52px;border-radius:15px;background:var(--c,#FEF3C7);display:grid;place-items:center;font-size:25px}
.act p{margin:1px 0 0;font:500 14.5px/1.35 RO;color:var(--soft)}.act .stars{font-size:15px;letter-spacing:1px;white-space:nowrap}
.act.nx{box-shadow:inset 0 0 0 3px var(--org)}
.stars .off{filter:grayscale(1);opacity:.28}
#nav{position:fixed;left:0;right:0;bottom:0;background:#fffffff2;backdrop-filter:blur(8px);border-top:1px solid var(--line);display:flex;justify-content:center;gap:4px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));z-index:5}
#nav button{box-shadow:none;background:none;font-size:13px;padding:4px 0;min-width:78px;min-height:54px;color:var(--soft);display:grid;place-items:center;gap:0;border-radius:14px}#nav button span{font-size:21px;line-height:1.2}
#nav button.on{background:#FFEDD5;color:#C2410C}
.top{display:flex;align-items:center;gap:12px;margin-bottom:16px}.top .x{width:48px;height:48px;padding:0;font-size:20px;flex:none}
.bar{flex:1;height:14px;border-radius:9px;background:#F1EBDF;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,#FBBF24,#F97316);border-radius:9px;transition:width .35s}
.cnt{font-family:FR;color:var(--soft);min-width:44px;text-align:right}
.q{display:flex;flex-direction:column;gap:18px;min-height:56vh}.q .ask{font:600 20px/1.3 FR,TL;color:var(--deep);text-align:center}
.q .ask small{display:block;font:500 15px/1.4 RO;color:var(--soft);margin-top:4px}
.stage{display:grid;place-items:center;gap:8px;padding:18px 10px;border-radius:26px;background:#fff;box-shadow:inset 0 0 0 2px var(--line);min-height:170px;align-content:center;text-align:center}
.big{font-size:clamp(52px,17vw,92px);color:var(--deep);line-height:1.55}.emo{font-size:60px;line-height:1.1}
.opts{display:grid;gap:10px;grid-template-columns:1fr 1fr}.opts.one{grid-template-columns:1fr}.opts button{min-height:64px;font-size:19px;padding:8px 12px}.opts button.thopt{font-size:38px;font-family:TL;line-height:1.6}
.opts button.good{background:#D1FAE5;box-shadow:inset 0 0 0 3px var(--ok)}.opts button.bad{background:#FFE4E6;box-shadow:inset 0 0 0 3px var(--no)}
.opts small{display:block;font:500 13.5px RO;color:var(--soft)}
.tone svg{display:block;margin:0 auto 2px}
.ce{display:inline-block;border-radius:14px;padding:0 3px;position:relative}
button.ce{font-family:TL;font-weight:600;background:#F8FAFC;box-shadow:inset 0 0 0 2px #E2E8F0;font-size:inherit;line-height:inherit;min-height:0;min-width:56px;padding:0 10px;margin:0 3px;color:inherit}
.ce.s{background:#FDE68A;box-shadow:inset 0 0 0 2px #FBBF24}.ce.s2{background:#FEF3C7;box-shadow:inset 0 0 0 2px #FCD34D}.ce.e{outline:2.5px dashed #94A3B8;outline-offset:-2px}.ce.x{opacity:.32}
button.ce.sel{background:#FDE68A;box-shadow:inset 0 0 0 3px #F59E0B}.run2{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 0;font-size:clamp(34px,10vw,50px);line-height:1.7}.run2 button.ce{min-width:38px;padding:0 5px;margin:0 2px}.run2 button.ce.missed{box-shadow:inset 0 0 0 3px #F59E0B;background:#FEF3C7}.vf{white-space:nowrap}.vf .ce{border-radius:.22em;padding:0 .06em;margin:0 .03em}.vf .e{color:transparent}
.ce.vs{color:var(--short)}.ce.vl{color:var(--long)}
button.ce.good{background:#A7F3D0;box-shadow:inset 0 0 0 3px var(--ok)}button.ce.bad{background:#FECDD3;box-shadow:inset 0 0 0 3px var(--no)}
.wl{display:flex;flex-wrap:wrap;justify-content:center;font-size:clamp(38px,11vw,54px);line-height:1.8;row-gap:8px;user-select:none;-webkit-user-select:none}
.wl .c{padding:0 1px;cursor:help;border-radius:10px}.wl.syl .c{background:#F5F3FF;border-radius:12px;padding:0 6px;font-size:.8em}
.gap{width:22px;padding:0;min-height:0;background:none;box-shadow:none;border-radius:8px;position:relative;align-self:stretch;margin:0 -2px;z-index:1}
.gap:before{content:"";position:absolute;left:50%;top:18%;bottom:14%;width:0;border-left:3px dotted #CBD5E1;transform:translateX(-50%)}
.gap.on:before{border:0;width:7px;border-radius:5px;background:var(--org);top:6%;bottom:4%}
.done .gap:before{border-color:transparent}.done .gap:not(.ok):not(.miss):not(.wrong):not(.soft){width:4px;margin:0}.gap.soft:before{border:0;width:5px;background:#A7F3D0;border-radius:5px;top:6%;bottom:4%}.nb{display:inline-flex}.gap.ok:before{border:0;width:7px;background:var(--ok);border-radius:5px;top:6%;bottom:4%}.gap.miss:before{border:0;width:7px;background:repeating-linear-gradient(#F59E0B 0 6px,transparent 6px 11px);top:6%;bottom:4%}.gap.wrong:before{border:0;width:7px;background:var(--no);opacity:.55;border-radius:5px;top:6%;bottom:4%}
.why{display:grid;gap:8px;margin:0;padding:0;list-style:none;text-align:left}.why li{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;background:#fff;border-radius:14px;padding:6px 12px;box-shadow:inset 0 0 0 2px var(--line);font-size:15.5px;line-height:1.4}
.why .pr{font-family:TL;font-weight:600;font-size:23px;line-height:1.6;white-space:nowrap}.why .pr i{display:inline-block;width:5px;height:22px;border-radius:3px;background:var(--ok);margin:0 5px;vertical-align:middle}.why li.m .pr i{background:#F59E0B}.why li.w .pr i{background:var(--no)}
.fb{border-radius:20px;padding:14px 16px;display:grid;gap:10px;animation:up .22s}.fb.good{background:#D1FAE5}.fb.bad{background:#FFE4E6}.fb.half{background:#FEF3C7}.fb h3{display:flex;gap:8px;align-items:center}
.fb p{margin:0}@keyframes up{from{transform:translateY(10px);opacity:0}}
.stick{position:sticky;bottom:10px;z-index:3}
.slots{min-height:104px}.tiles{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.tiles button{min-width:60px;min-height:66px;font:600 33px/1.6 TL;padding:0 10px}
.peek{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.chip{display:inline-flex;align-items:center;gap:8px;border-radius:14px;padding:4px 12px 4px 5px;background:#fff;box-shadow:inset 0 0 0 2px var(--line);font-size:14.5px;line-height:1.25;text-align:left}
.chip .g,.lt .g{font-family:TL;font-weight:600;color:#fff;border-radius:11px;min-width:42px;height:46px;display:grid;place-items:center;font-size:27px;line-height:1;padding:0 5px}
.g.h{background:var(--h)}.g.m{background:var(--m)}.g.l{background:var(--l)}.g.v{background:#FEF3C7;color:var(--deep)!important}
.seg{display:inline-flex;background:#F1EBDF;border-radius:14px;padding:4px;gap:2px;flex-wrap:wrap}.seg button{min-height:44px;padding:6px 14px;background:none;box-shadow:none;font-size:15px;border-radius:11px;color:var(--soft)}.seg button.on{background:#fff;color:var(--deep);box-shadow:0 1px 4px #0002}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:10px}
.lt{padding:8px 4px;display:grid;justify-items:center;gap:2px;border-radius:18px;min-height:118px;position:relative}.lt .g{width:64px;height:60px;font-size:36px;border-radius:15px}.lt small{font:750 16px RO;color:var(--ink)}.lt em{font:500 12.5px RO;color:var(--soft)}
.lt .bx{position:absolute;left:14px;right:14px;bottom:4px;height:4px;border-radius:3px;background:#F1EBDF;overflow:hidden}.lt .bx i{display:block;height:100%;background:var(--ok)}
.wd{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.wd .th{font-size:27px}.wd p{margin:0;line-height:1.3;font-size:15.5px}
#pop{position:fixed;inset:0;background:#1e1b4b55;display:grid;place-items:center;z-index:20;padding:20px}#pop[hidden]{display:none}#pop>div{background:var(--bg);border-radius:26px;padding:22px;max-width:380px;width:100%;text-align:center;display:grid;gap:10px;justify-items:center;max-height:86vh;overflow:auto}
#pop .g{font-family:TL;font-weight:600;color:#fff;border-radius:22px;width:112px;height:104px;display:grid;place-items:center;font-size:66px;line-height:1}
.les{display:grid;gap:16px;align-content:start;min-height:60vh}.les h2{font-size:26px}.les .demo .row{justify-content:center}.les .demo{border-radius:24px;background:#fff;box-shadow:inset 0 0 0 2px var(--line);padding:18px 12px;display:grid;gap:12px;justify-items:center;text-align:center}
.dg{display:inline-grid;justify-items:center;gap:0;background:none;box-shadow:none;border-radius:18px;padding:4px 8px;font:inherit;color:inherit}.dg .w{font-size:44px;line-height:1.7;color:var(--deep)}.dg .en{font-size:14px;color:var(--soft)}.dg .ro{font-size:17px}
.seats{display:grid;grid-template-columns:repeat(4,minmax(58px,82px));gap:6px;justify-content:center}.seats div{border-radius:16px;padding:8px 2px;background:#F8FAFC;font-size:13px;line-height:1.25;color:var(--soft);text-align:center;display:grid;align-content:center;min-height:70px}.seats b{font:600 24px/1.6 TL;color:var(--long);display:block}.seats .s{background:#FDE68A;color:#78350F}.seats .s b{color:#78350F}.seats .e{background:#fff;outline:2.5px dashed #94A3B8;outline-offset:-2px}
.swap{display:flex;gap:8px;justify-content:center;font-size:56px;line-height:1.7}.swap span{transition:transform .7s cubic-bezier(.4,1.4,.5,1);border-radius:16px;padding:0 10px}
.rule{display:grid;gap:8px;width:100%}.rule>div{display:grid;grid-template-columns:minmax(84px,auto) 1fr;gap:12px;align-items:center;background:#fff;border-radius:16px;padding:8px 14px;box-shadow:inset 0 0 0 2px var(--line);text-align:left;line-height:1.4;font-size:16px}.rule .th{font-size:27px;color:var(--deep);text-align:center;white-space:nowrap}
.nt{background:#FEF3C7;border-radius:18px;padding:12px 16px}
.tbl{border-collapse:separate;border-spacing:5px;margin:0 auto}.tbl td,.tbl th{padding:6px 10px;border-radius:12px;background:#F8FAFC;font-size:15px;text-align:center}.tbl th{font-family:FR;background:none;color:var(--deep)}
.sign{border-radius:18px;padding:18px 34px;font-size:clamp(34px,11vw,56px);line-height:1.6}.sign.bts{background:#14532D;color:#fff}.sign.blue{background:#1D4ED8;color:#fff}.sign.menu{background:#FDF3DC;color:#7C2D12;font-size:clamp(28px,9vw,44px)}.sign.chat{background:#86EFAC;color:#14532D;border-radius:24px 24px 6px 24px;font-size:clamp(28px,9vw,42px)}
.pgs img{width:100%;border-radius:14px;box-shadow:0 2px 14px #0002;margin-bottom:14px;display:block}
.res{text-align:center;display:grid;gap:14px;justify-items:center}.res .stars{font-size:54px}
.hunt{font-size:clamp(28px,8vw,36px);line-height:2;text-align:left}.hunt button{font:inherit;line-height:1.6;min-height:0;padding:0 1px;background:none;box-shadow:none;border-radius:9px;color:inherit}.hunt button.good{background:#A7F3D0}.hunt button.bad{background:#FECDD3}.hunt button.missed{background:#FDE68A}
.set{display:grid;gap:14px;justify-items:start}
@media(min-width:700px){main{padding:26px 24px}.opts.four{grid-template-columns:repeat(4,1fr)}.wl .gap{width:26px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
