.splash{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--splash-bg, #fff);opacity:1;transition:opacity var(--splash-fade, .45s) ease;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.splash-logo{width:min(80vw,440px);max-height:50vh;object-fit:contain;animation:splash-in .6s ease-out both}.splash-caption{margin:0;font:600 .95rem/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#5a6472;animation:splash-in .6s .2s ease-out both}.splash-out{opacity:0;pointer-events:none}@keyframes splash-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.splash,.splash-logo,.splash-caption{animation:none;transition:none}}:root{--bg: #f6f4ee;--surface: #ffffff;--text: #1d1b16;--muted: #6b665c;--accent: #2f7d4f;--free: #e7f3ea;--taken: #2f7d4f;--blocked: #d8d3c7;color-scheme:light dark}@media(prefers-color-scheme:dark){:root{--bg: #15140f;--surface: #211f19;--text: #f1eee6;--muted: #a8a294;--free: #233a2b;--blocked: #3a3730}}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.45 system-ui,sans-serif}.page{max-width:720px;margin:0 auto;padding:16px}header{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}h1{margin:0;font-size:1.5rem}.layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:16px;margin-top:16px}@media(max-width:640px){.layout{grid-template-columns:minmax(0,1fr)}}.card{background:var(--surface);border-radius:12px;padding:16px;min-width:0}.board{width:100%;height:auto;touch-action:manipulation}.cell rect{fill:var(--blocked)}.cell text{text-anchor:middle;dominant-baseline:central;font-size:16px;font-weight:700;fill:var(--text);pointer-events:none}.cell.free{cursor:pointer}.cell.free rect{fill:var(--free)}.cell.taken rect{fill:var(--taken)}.cell.taken text{fill:#fff}.cell:focus-visible rect{stroke:var(--accent);stroke-width:3}.cell.taken rect{animation:pop .18s ease-out}@keyframes pop{0%{transform-box:fill-box;transform-origin:center;transform:scale(.85)}}@media(prefers-reduced-motion:reduce){.cell.taken rect{animation:none}}.stats{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.actions,form{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}input,button,select{font:inherit;padding:8px 12px;border-radius:8px;border:1px solid var(--blocked);background:var(--surface);color:var(--text);min-width:0}button{background:var(--accent);border-color:var(--accent);color:#fff;cursor:pointer}button.secondary{background:transparent;color:var(--accent)}ol{padding-left:1.4em}ol li{display:flex;justify-content:space-between;gap:8px}.muted{color:var(--muted)}.hidden{display:none!important}footer{margin-top:24px;font-size:.85rem;color:var(--muted)}.update-banner{position:fixed;left:16px;right:16px;bottom:16px;display:flex;gap:12px;align-items:center;justify-content:space-between;background:var(--surface);border:1px solid var(--accent);border-radius:12px;padding:10px 14px}
