.workspace{grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);align-items:start}.preview{background:linear-gradient(140deg,#302c3e,#201f29)}.bar,.pair{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}.bar{margin:.7rem 0}.bar h2{margin:0}.preview>.bar:first-child{justify-content:space-between}.pair label{flex:1;min-width:70px}.bar #count,#count{color:#d3c6de;font-size:.9rem}#grid{display:grid;width:min(100%,460px);aspect-ratio:1;margin:1rem auto;border:3px solid #493e54;background:#51465c;border-radius:4px;overflow:hidden}#grid button{min-width:0;min-height:0;padding:0;border-radius:0;border:0 solid #65586e;position:relative;font:600 clamp(1rem,5vw,1.95rem) system-ui,sans-serif;background:#ede4dc;color:#366783;outline-offset:-4px;box-shadow:inset 0 0 0 .45px #aa9ea9}#grid button.clue{color:#473d50;font-weight:800}#grid button.room{background:#e1d2e5}#grid button.selected{background:#f9d294;box-shadow:inset 0 0 0 2px #a76b22}#grid button.bad::after{content:"!";position:absolute;right:3px;top:1px;color:#9b2319;font:bold .76rem sans-serif}#grid button.notes{font-size:clamp(.62rem,2.2vw,.96rem);letter-spacing:.04em;color:#73607f}.controls a{color:#cfb6e3}#digits button{flex:1;min-width:30px;background:#51445d;font-weight:700;padding:.54rem .25rem}.bar [aria-pressed=true]{background:#e4ba79;color:#241b13}.controls button{padding:.6rem .8rem}#status{min-height:3em;margin-bottom:0}@media(max-width:680px){.workspace{grid-template-columns:1fr}}

:root:not([data-theme="light"]) #grid button{background:#b9b0a8;color:#24475c;box-shadow:inset 0 0 0 .45px #8f8590}:root:not([data-theme="light"]) #grid button.room{background:#ad9fb3}:root:not([data-theme="light"]) #grid button.selected{background:#cda865}:root:not([data-theme="light"]) #grid button.clue{color:#2f2838}:root:not([data-theme="light"]) #grid button.notes{color:#4d3f57}
