.detective{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(225px,.7fr);gap:1rem;align-items:start}.play{background:#202538;border:1px solid #40465e;border-radius:14px;padding:clamp(12px,3vw,30px);min-width:0;color:#f0eff4}.play p{color:#d9dcec}.bar,.actions{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin:.6rem 0}.bar{justify-content:space-between}.bar h2{margin:0}#board{position:relative;display:grid;aspect-ratio:1;width:100%;max-width:550px;margin:1rem auto;isolation:isolate}.cell,.port{min-width:0;padding:0;border-radius:0;overflow:hidden;font-size:clamp(.64rem,2.1vw,1rem)}.cell{background:#343c56;color:#efe8d8;box-shadow:inset 0 0 0 .5px #606b85;font-size:clamp(1.1rem,3vw,2rem)}.cell[data-value="1"]{color:#f8ce83}.port{border-radius:4px;background:#243046;color:#c1cedf;margin:2px;line-height:1.05}.port span{display:block;font-size:.9em;color:#ffcb7f;font-weight:bold}.port.chosen{box-shadow:inset 0 0 0 2px #f5bb69}.port:focus-visible,.cell:focus-visible{outline-offset:-3px}.play button[aria-pressed=true]{background:#f2bb70;color:#241d16}.actions button{padding:.5rem .7rem}#board svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}#log{max-height:12rem;overflow:auto;line-height:1.6;padding-left:1.7rem}#msg{min-height:1.65em}#analysis:empty{display:none}@media(max-width:690px){.detective{grid-template-columns:1fr}}
