*{box-sizing:border-box}body{color:#f5f7fa;background:#0b0d10;margin:0;font-family:system-ui,sans-serif}#app{max-width:420px;margin:0 auto;padding:16px 16px 32px;position:relative}.games{color:#9aa4b2;margin-bottom:8px;font-size:.85rem;text-decoration:none;display:inline-block}.games:hover,.games:focus-visible{color:#d6ff4b;text-decoration:underline}h1{margin:0 0 16px;font-size:1.5rem}.toolbar{gap:8px;margin-bottom:16px;display:flex}button{font:inherit;color:#f5f7fa;cursor:pointer;background:#11151a}.toolbar button{border:1px solid #d6ff4b;border-radius:8px;padding:8px 14px}.board{grid-template-columns:repeat(4,1fr);gap:6px;width:100%;max-width:420px;display:grid}.cell{aspect-ratio:1}.tile{background:#11151a;border:1px solid #232a33;border-radius:8px;width:100%;height:100%;font-size:1.9rem;font-weight:800}.tile:focus-visible,.toolbar button:focus-visible{outline-offset:2px;outline:2px solid #d6ff4b}.solved{color:#d6ff4b;min-height:1.6em;margin:16px 0 0;font-size:1.25rem;font-weight:700}.stats{gap:8px;margin-bottom:16px;display:flex}.stat{background:#11151a;border:1px solid #232a33;border-radius:8px;flex-direction:column;flex:1;padding:6px 10px;display:flex}.stat-label{color:#9aa4b2;font-size:.7rem}.stat-value{font-variant-numeric:tabular-nums;font-size:1rem;font-weight:700}.head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;display:flex}.head h1{margin:0}.help-btn,.help-close{border:1px solid #d6ff4b;border-radius:8px;min-height:44px;padding:8px 14px}.help-btn:focus-visible,.help-close:focus-visible{outline-offset:2px;outline:2px solid #d6ff4b}.help-dialog{color:#f5f7fa;background:#11151a;border:1px solid #232a33;border-radius:12px;width:min(92vw,420px);max-height:90vh;padding:20px 16px;font-size:1rem;line-height:1.6;overflow-y:auto}.help-dialog::backdrop{background:#000000bf}.help-dialog h2{margin:0 0 12px;font-size:1.25rem}.help-body p{margin:0 0 12px;font-size:1rem}.help-body h3{color:#9aa4b2;margin:16px 0 8px;font-size:1rem}.example{justify-content:center;align-items:center;gap:8px;margin-bottom:12px;display:flex}.ex-row{gap:3px;display:grid}.ex-arrow{color:#d6ff4b}.ex-tile{background:#11151a;border:1px solid #232a33;border-radius:4px;justify-content:center;align-items:center;width:28px;height:28px;font-size:.8rem;font-weight:800;display:flex}.ex-empty{background:0 0;border-style:dashed}.help-close{background:#11151a;margin:16px 0 0 auto;display:block}
