:root{--bg:#2563eb;--surface:#ffffff2e;--text:#fff;--muted:#e0f2fe;--accent:#ffd23f}*{box-sizing:border-box}body{color:var(--text);background:linear-gradient(170deg,#22d3ee 0%,#2563eb 55%,#5b21b6 100%) fixed;min-height:100vh;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.55}.mascots{align-items:flex-end;gap:14px;height:90px;display:flex}.mascots svg{animation:1.6s ease-in-out infinite hop}.mascots svg:nth-child(2){animation-delay:.2s}.mascots svg:nth-child(3){animation-delay:.4s}@keyframes hop{0%,60%,to{transform:translateY(0)}25%{transform:translateY(-18px)}}@media (prefers-reduced-motion:reduce){.mascots svg{animation:none}}a{color:var(--accent)}main{max-width:860px;margin:0 auto;padding:16px}.top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;max-width:860px;margin:0 auto;padding:12px 16px;display:flex}.top nav{flex-wrap:wrap;gap:14px;display:flex}.brand{color:var(--text);font-size:20px;font-weight:900;text-decoration:none}.muted{color:var(--muted)}footer{text-align:center;padding:24px 16px;font-size:13px}h1{font-size:clamp(26px,6vw,40px);line-height:1.15}.draft{background:#5a3768;border-radius:10px;padding:8px 12px}.demo{background:var(--surface);border-radius:16px;padding:16px}.row{flex-wrap:wrap;gap:8px;display:flex}.row button{color:var(--text);border:1px solid var(--muted);min-height:44px;font:inherit;cursor:pointer;background:#00000040;border-radius:10px;padding:8px 14px}.demo-level{margin:4px 0}.demo-msg{min-height:1.6em;font-weight:600}.row button:disabled{opacity:.5;cursor:default}.boards{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:18px;margin:12px 0 4px;display:flex}.board-col{flex-direction:column;align-items:center;gap:6px;display:flex}.board-label{color:var(--muted);margin:8px 0 4px;font-size:14px;font-weight:700}.grid{background:#b9ac8e;border-radius:8px;gap:2px;padding:4px;display:grid;box-shadow:0 2px 8px #00000040}.grid.target .gcell{width:22px;height:22px}.gcell{border:0;border-radius:3px;padding:0;display:block}.grid.sheet .gcell{width:var(--cell);height:var(--cell);cursor:pointer;transition:background-color .2s}.gcell.ghost{outline-offset:-3px;outline:3px dashed #2b2b2b}.tray{flex-wrap:wrap;justify-content:center;gap:10px;margin:4px 0 8px;display:flex}.stencil{cursor:pointer;background:#ffffffe6;border:3px solid #0000;border-radius:12px;place-items:center;min-width:64px;min-height:64px;padding:8px;transition:transform .15s;display:grid}.stencil.sel{border-color:var(--accent);transform:translateY(-6px)}.stencil.used{opacity:.35;cursor:default}.mini{gap:2px;display:grid}.mcell{border-radius:3px;width:14px;height:14px}.mcell.white{box-shadow:inset 0 0 0 1px #9a8f7a}.mcell.off{background:0 0}.row button.primary{background:var(--accent);color:#1f1235;border-color:var(--accent);font-weight:800}.gcell:focus-visible,.stencil:focus-visible,.row button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media (max-width:420px){.grid.sheet{--cell:38px!important}.tray{gap:8px}}@media (prefers-reduced-motion:reduce){.grid.sheet .gcell,.stencil{transition:none}}
