.stage { max-width: 520px; }
.lv { display: flex; gap: 6px; justify-content: center; margin-bottom: 10px; }
.lv button, .tools button { background: var(--panel2); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; cursor: pointer; font-size: .85rem; }
.lv button.on, .tools button.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.info { display: flex; justify-content: space-between; color: var(--muted); font-size: .84rem; margin: 0 4px 10px; }
.info b { font-family: var(--mono); font-weight: 400; color: var(--gold-l); }
.board { display: grid; grid-template-columns: repeat(9, 1fr); width: min(100%, calc(100svh - 330px), 480px); min-width: 280px; margin-inline: auto; aspect-ratio: 1; border: 2px solid var(--gold); border-radius: 10px; overflow: hidden; background: var(--line); gap: 1px; }
.cell { background: #15120e; border: 0; padding: 0; color: var(--gold-l); font: 400 clamp(1rem, 4.6vw, 1.5rem)/1 var(--font); cursor: pointer; position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.cell.given { color: var(--text); font-weight: 500; }
.cell.bl { box-shadow: -3px 0 0 var(--gold); }
.cell.bb { box-shadow: 0 3px 0 var(--gold); }
.cell.bl.bb { box-shadow: -3px 0 0 var(--gold), 0 3px 0 var(--gold), -3px 3px 0 var(--gold); }
.cell { z-index: 0; } .cell.bl, .cell.bb { z-index: 1; }
.cell.zone { background: #1e1a14; }
.cell.same { background: #3a2f1c; }
.cell.sel { background: #5a4726; }
.cell.bad { color: var(--red); }
.notes { position: absolute; inset: 2px; display: grid; grid-template-columns: repeat(3, 1fr); font-size: clamp(.45rem, 1.6vw, .62rem); color: var(--muted); }
.notes i { font-style: normal; display: grid; place-items: center; }
.pad { margin-top: 12px; }
.nums { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; max-width: 480px; margin-inline: auto; direction: ltr; }
.nums button { background: var(--panel2); border: 1px solid var(--line2); color: var(--text); border-radius: 10px; font: 400 1.25rem var(--font); padding: 8px 0 2px; cursor: pointer; display: flex; flex-direction: column; align-items: center; }
.nums button small { font-size: .6rem; color: var(--faint); min-height: 1em; }
.nums button:disabled { opacity: .25; cursor: default; }
.nums button:not(:disabled):hover { border-color: var(--gold); }
.tools { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
