:root {
  --bg: #f6f7f9;
  --fg: #1d2330;
  --seat: #ffffff;
  --seat-border: #c9cfd8;
  --selected: #2f6fed;
  --taken: #d5d9e0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, "Malgun Gothic", sans-serif;
  background: var(--bg);
  color: var(--fg);
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px;
}

.hint { color: #5b6476; }

.seats {
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), 1fr);
  gap: 8px;
  margin: 16px 0;
}

.seat {
  aspect-ratio: 1;
  border: 1px solid var(--seat-border);
  border-radius: 8px;
  background: var(--seat);
  font: inherit;
  cursor: pointer;
}

.seat[aria-pressed="true"] {
  background: var(--selected);
  border-color: var(--selected);
  color: #fff;
}

.seat:disabled {
  background: var(--taken);
  color: #8a92a2;
  cursor: not-allowed;
}

.status { font-weight: 600; }
