* { box-sizing: border-box; }
html, body { margin: 0; overflow: hidden; }
body { color: #1d3026; font: 16px/1.45 system-ui, sans-serif; }
figure { margin: 0; border: 1px solid #afbaaa; border-radius: 12px; overflow: hidden; background: #fffef9; }
.sign, .strip, .controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.sign { background: #20352a; color: #fff8df; }
.sign > div { font-size: 18px; font-weight: 650; }
.sign label, .stats, .strip strong, .boardlabel, .maplabel, .counter { font-family: ui-monospace, monospace; }
.sign label { font-size: 13px; }
select { margin-left: 5px; background: #314a3b; color: #faf5df; border: 1px solid #667d69; border-radius: 5px; padding: 5px; }
.dual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel + .panel { border-left: 1px solid #a4afa1; }
h2, p { margin: 0; }
.panel h2 { padding: 11px 14px; font-size: 18px; }
.floor { overflow: hidden; }
.floor svg { display: block; width: 100%; }
.boardlabel, .maplabel { fill: #45584a; font-size: 15px; font-weight: 700; letter-spacing: 1.6px; }
.counter { fill: #ffe4a4; font-size: 25px; font-weight: 700; }
.stats { padding: 9px 14px; font-size: 13px; color: #364b3a; }
.strip { justify-content: flex-start; border-block: 1px solid #cdd3c5; background: #f3f4eb; font-size: 13px; }
.strip span { display: flex; align-items: center; gap: 6px; }
.strip i { width: 12px; height: 10px; border-radius: 3px; }
.strip strong { margin-left: auto; white-space: nowrap; }
.amber { background: #e5ae52; }
.blue { background: #76c9d1; }
.empty { border: 1px dashed #6c796c; }
.rail { height: 3px; background: #dfe4d7; }
.rail i { display: block; height: 100%; background: #b58738; }
.controls { min-height: 100px; }
.controls h2 { font-size: 20px; }
.controls p { margin-top: 4px; color: #526052; font-size: 14px; }
button { background: #fffdf7; border: 1px solid #b8c1b4; color: #21392b; padding: 8px 12px; border-radius: 6px; font: 600 14px system-ui, sans-serif; cursor: pointer; }
button:focus-visible, select:focus-visible { outline: 3px solid #c28b35; outline-offset: 3px; }
@media (max-width: 550px) {
  .sign, .strip, .controls { padding: 9px 10px; gap: 7px; }
  .sign > div, .panel h2 { font-size: 15px; }
  .panel h2 { padding: 8px; }
  .floor svg { width: 118%; max-width: none; margin-left: -9%; }
  .maplabel { display: none; }
  .stats { padding: 7px 8px; }
  .stats, .strip { font-size: 12px; }
  .controls { min-height: 145px; }
  .controls h2 { font-size: 18px; }
}
