:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0b0b0b; color: #e8e6e1;
  font-family: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif; }
main { min-height: 100%; display: flex; flex-direction: column; align-items: center;
  gap: 1rem; padding: max(1.5rem, env(safe-area-inset-top)) 1.25rem max(1.5rem, env(safe-area-inset-bottom)); }
h1 { margin: 0; font-size: clamp(3rem, 18vw, 6rem); letter-spacing: .08em; font-weight: 900;
  text-transform: uppercase; line-height: 1; }
.seat { margin: 0; font-size: clamp(1.5rem, 8vw, 2.5rem); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: #c9341c; min-height: 1.2em; }
.play { flex: 1 1 auto; width: 100%; max-width: 32rem; min-height: 40vh; border: 4px solid #e8e6e1;
  background: #161616; color: #e8e6e1; font: inherit; font-size: clamp(3.5rem, 22vw, 7rem);
  font-weight: 900; letter-spacing: .1em; cursor: pointer; border-radius: 0;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.play:active { background: #c9341c; border-color: #c9341c; }
.play[aria-pressed="true"] { background: #c9341c; border-color: #c9341c; }
.play:disabled { opacity: .35; cursor: default; }
.chairs { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.chairs li { border: 2px solid #555; padding: .35rem .8rem; font-size: 1.4rem; font-weight: 700; letter-spacing: .05em; }
.chairs li.mine { border-color: #c9341c; color: #c9341c; }
.hint { margin: 0; font-size: 1.15rem; text-align: center; color: #aaa; }
.status { margin: 0; min-height: 1.2em; color: #c9341c; text-align: center; }
.reset { background: none; border: 0; color: #777; font: inherit; font-size: .95rem; text-decoration: underline;
  padding: .9rem 1.2rem; cursor: pointer; touch-action: manipulation; }
[hidden] { display: none !important; }
.lock { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.5rem; padding: 1.5rem 1.25rem; }
.lock form { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; max-width: 20rem; }
.lockhint { font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: #aaa; }
.pin { width: 100%; background: #161616; color: #e8e6e1; border: 4px solid #e8e6e1; border-radius: 0; font: inherit;
  font-size: 3rem; font-weight: 900; letter-spacing: .4em; text-align: center; padding: .5rem 0 .5rem .4em; }
.pin:focus { outline: none; border-color: #c9341c; }
.unlock { width: 100%; background: #161616; color: #e8e6e1; border: 4px solid #e8e6e1; border-radius: 0; font: inherit;
  font-size: 2rem; font-weight: 900; letter-spacing: .1em; padding: .7rem; cursor: pointer; touch-action: manipulation; }
.unlock:active { background: #c9341c; border-color: #c9341c; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
