*{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}}

/* Round 2: physical roles and stage-specific affordances */
h1{font-family:Georgia,serif}.eyebrow{letter-spacing:.12em}#board button{font-weight:700;font-size:25px}body{background:radial-gradient(ellipse at top,#413553,#201e35);color:#eae5ee}.panel{background:#39304e;border:2px solid #9281a6}#board{gap:4px;background:#251f38;padding:8px;border-radius:12px}#board button{background:#4a3e60;color:#77668c;border-color:#655476;border-radius:6px}#board button[data-kind="player"]{background:#77638d;color:#f6e7b7}#board button[data-kind="ghost"]{background:#506d7a;color:#b3e5e0}#board button[data-kind="plate"]{background:#655544;color:#e2bc78}#board button[data-kind="gate"]{background:#796646;color:#e9c68e}#board button[data-kind="open"]{background:#44746f;color:#9ce1d1}#board button[data-kind="■"]{background:#2a253a;color:#342b43}#controls button{background:#6c567e;border-color:#bba3c9}#info{font-family:ui-monospace,monospace;font-size:13px}
