*{box-sizing:border-box}body{margin:0;background:#101b27;color:#f3f4eb;font:clamp(16px,1.5vw,26px) system-ui,sans-serif}main{height:100dvh;display:flex;flex-direction:column;padding:1.5vh 2.5vw;gap:1.2vh}header{display:flex;align-items:center;flex-wrap:wrap;gap:.4rem 1.5rem}h1{margin:0;font-size:1.3em;color:#f5c76d}#credit{color:#b8c9cf}#stats{color:#f5c76d;font-weight:600}#status{color:#9be2ad;font-weight:600}#status:empty,#storage:empty{display:none}#menuBtn{margin-left:auto;padding:.25em .75em}.layout{display:flex;flex:1;min-height:0}.board{flex:1;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;background:#172a38;border-radius:14px;padding:1vh}svg{width:100%;height:100%}.menu{width:min(88vw,440px);display:flex;flex-direction:column;gap:1vh}.menu h2{margin:0;color:#f5c76d}label{display:flex;flex-direction:column;gap:.3em}select,button{font:inherit;color:#fff;background:#284354;border:2px solid #78929a;border-radius:8px;padding:.4em}button:focus,select:focus,#board:focus{outline:4px solid #ffd56c}#board:focus{outline-offset:-4px}button:disabled{opacity:.45}.buttons{display:grid;gap:.5vh}p{margin:.2em 0}.help,#pad,#storage{font-size:.7em;color:#b8c9cf}dialog{max-height:94dvh;overflow:auto;background:#172a38;color:white;border:2px solid #f5c76d;border-radius:12px;font:inherit;padding:1rem}dialog::backdrop{background:#000b}dialog:not(#menu) button{margin:.3em}@media(max-width:700px){main{padding:1vh 2vw}header{gap:.3rem .8rem}}
