:root{--bg:#0e0f14;--card:#171922;--edge:#262935;--ink:#f2f1f6;--grey:#cdcdd4;--dim:#8088a0;--track:#2b2e3b;--pink:#ff5fb8;--hl:#ffb84a;--violet:#8b6cff;--teal:#3fd6c6;--yellow:#ffd166;--green:#59d98e;--red:#ff6b6b;--zh:"Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;--en:Bahnschrift, "Segoe UI", system-ui, sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);font-family:var(--zh);margin:0;font-size:15px;line-height:1.6}button{font:inherit;color:inherit;cursor:pointer}:focus-visible{outline:2px solid var(--teal);outline-offset:3px}[hidden]{display:none!important}#app{max-width:1240px;margin:0 auto;padding:32px 16px 80px}.top h1{letter-spacing:.02em;background:linear-gradient(90deg,#ff9d2e,#ffe45c);color:#0000;-webkit-background-clip:text;background-clip:text;width:fit-content;margin:0;font-size:clamp(30px,6vw,46px)}.top p{color:var(--grey);margin:6px 0 0}.top .count{color:var(--dim);font-size:13px}.chips{z-index:5;background:linear-gradient(var(--bg) 80%, transparent);scrollbar-width:none;gap:8px;margin-top:14px;padding:14px 0;display:flex;position:sticky;top:0;overflow-x:auto}.chips button{border:1px solid var(--edge);background:var(--card);color:var(--grey);border-radius:999px;flex:none;padding:6px 14px;font-size:14px;transition:background .2s,color .2s,border-color .2s}.chips button:hover{border-color:var(--dim)}.chips button[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:var(--ink);font-weight:700}.group h2{margin:34px 0 0;font-size:22px}.group .note{color:var(--dim);margin:2px 0 0;font-size:14px}.grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px;margin-top:14px;display:grid}.card{background:var(--card);border:1px solid var(--edge);border-radius:16px;flex-direction:column;scroll-margin-top:70px;display:flex;overflow:hidden}.stage{border-bottom:1px solid var(--edge);background:radial-gradient(120% 90% at 50% 0%, #1d2030, var(--bg));-webkit-user-select:none;user-select:none;position:relative;overflow:hidden}.info{flex-direction:column;flex:1;gap:4px;padding:12px 14px 14px;display:flex}.info h3{margin:0;font-size:17px}.no{font-family:var(--en);color:var(--hl);letter-spacing:.04em;margin-right:8px;font-size:13px}.en{font-family:var(--en);color:var(--teal);margin:0;font-size:13px}.prompt{color:var(--grey);flex:1;margin:4px 0 8px;font-size:14px}.copy{border:1px solid var(--edge);color:var(--grey);background:0 0;border-radius:8px;align-self:flex-start;padding:4px 12px;font-size:13px;transition:background .2s,color .2s,border-color .2s}.copy:hover{border-color:var(--hl);color:var(--ink)}.copy.done{background:var(--green);border-color:var(--green);color:#06210f}.card.todo .stage{color:var(--dim);letter-spacing:.2em;background:repeating-linear-gradient(-45deg,#0000 0 10px,#14161d 10px 20px);font-size:13px}.foot{color:var(--dim);text-align:center;margin-top:48px;font-size:13px}.foot a{color:var(--grey)}@media (width>=700px){.chips{flex-wrap:wrap;overflow:visible}}.top .count a{color:var(--grey)}.d{flex-direction:column;display:flex}.vp{aspect-ratio:16/10;background:#15171f;width:100%;position:relative}.vp:before{content:"算圖中…";color:var(--dim);letter-spacing:.15em;place-items:center;font-size:12px;display:grid;position:absolute;inset:0}.vp.ok:before{content:none}.vp.bad:before{content:"這一格算不出來";color:var(--red)}.nogl .vp:before{content:"這個瀏覽器開不了 WebGL，看不到圖";letter-spacing:0}.cv{width:100%;height:100%;display:block;position:relative}.vp.orb .cv{cursor:grab;touch-action:pan-y}.vp.orb .cv:active{cursor:grabbing}.vp.tr{background:linear-gradient(135deg,#ffb347,#ff5fb8 55%,#8b6cff)}.lb,.hint{color:#f2f1f6;pointer-events:none;white-space:nowrap;background:#0e0f14b8;border-radius:99px;padding:1px 8px;font-size:11px;line-height:1.5;position:absolute}.lb{top:7px}.la{left:7px}.lz{left:calc(50% + 7px)}.hint{color:#b9bdcc;font-size:10.5px;bottom:7px;right:7px}.ctl{border-top:1px solid var(--edge);background:#12141b;flex-direction:column;gap:6px;padding:8px 14px 10px;display:flex}.rg{color:#9aa0b4;flex-direction:column;gap:1px;font-size:12px;display:flex}.rg span{justify-content:space-between;display:flex}.rg output{color:#f2f1f6;font-family:var(--en)}.rg input{width:100%;accent-color:var(--hl);touch-action:pan-y;margin:0}.pk{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.pk button{color:#cdcdd4;background:0 0;border:1px solid #3a3f52;border-radius:99px;padding:2px 10px;font-size:12px}.pk button[aria-pressed=true]{color:#0e0f14;background:#f2f1f6;border-color:#f2f1f6;font-weight:700}.use{color:var(--yellow);margin:2px 0 0;font-size:13px}
