*{box-sizing:border-box}body{margin:0;background:#101d29;color:#f1f4ec;font:16px/1.5 system-ui,sans-serif}main{max-width:520px;margin:auto;padding:16px}h1{font-size:clamp(24px,7vw,34px);line-height:1.1;margin:14px 0}h2{font-size:20px}p{margin:12px 0}small,.eyebrow{color:#c4d8d3}.panel{background:#1b303e;border:1px solid #537078;border-radius:15px;padding:12px;margin:14px 0}#board{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:3px;margin:16px 0}button,a{touch-action:manipulation}button{min-width:44px;min-height:44px;border:1px solid #84b9b0;border-radius:8px;background:#294959;color:#fff;font:inherit;padding:6px;overflow-wrap:anywhere}button:hover{background:#3c6571}button:focus-visible,a:focus-visible{outline:3px solid #ffce72;outline-offset:2px}button:disabled{opacity:1;background:#172c38;color:#b4c6c4;border-color:#395463}#board button{aspect-ratio:1;font-size:clamp(12px,3.6vw,18px);padding:2px}#controls{display:flex;flex-wrap:wrap;gap:7px}#controls button{flex:1 1 90px}a{display:inline-flex;align-items:center;min-height:44px;color:#aee7de;padding:6px 0;overflow-wrap:anywhere}#info{white-space:pre-wrap;font-size:14px}#message{border-left:3px solid #efc478;padding-left:10px}details summary{min-height:44px;cursor:pointer}footer{margin-top:24px}@media(max-width:350px){main{padding:10px}.panel{padding:8px}}

h1{font-family:Georgia,serif}.eyebrow{letter-spacing:.12em}#board button{font-size:25px;font-weight:700}
body{background:linear-gradient(#2b3548,#172234);color:#e9e5d9}.panel{background:#38465c;border:2px solid #8997a8}#board{gap:3px;padding:7px;background:#202e45;border-radius:10px}#board button{background:#40536a;color:#73879a;border-color:#62758c;border-radius:6px}#board button[data-robot="amber"]{background:#cfaa68;color:#604721}#board button[data-robot="blue"]{background:#80b3d0;color:#274f73}#board button[data-active="true"]{outline:3px solid #fff4c8;outline-offset:-5px}#board button[data-kind="◎"]{background:#5b7869;color:#b8d6ac}#board button[data-kind="T"]{background:#92744a;color:#f8d298}#board button[data-kind="^"]{background:#70687d;color:#bca1b7}#board button[data-danger="true"]{background:#aa5c63;color:#ffb8a1}#board button[data-kind="■"]{background:#25344a;color:#1d293f}#controls button{background:#5d708e;border-color:#a5b1c3}
