/* Club colours: TTC green #75ae4d (as on the club homepage, Max 2026-09-30) with white. White text on it is too
   faint (2.65:1), so green surfaces carry dark text (6.35:1) and green text uses the darker --brand-text, the same
   hue at 5.1:1 on white. */
:root {
  --bg: #ffffff;
  --fg: #1d1d1f;
  --muted: #6b6b70;
  --line: #d8d8dc;
  --brand: #75ae4d;
  --brand-text: #517835;
  --on-brand: #1d1d1f;
  /* Selected seats: blue, far from the green, yellow and purple price categories. */
  --selected: #1a5fb4;
  --error: #b00020;
  --table: #8e9097;
  --held: #c9c9ce;
  --booked: #4a4a50;
  --floor: #f4f4f6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17171a;
    --fg: #ececf0;
    --muted: #a0a0a8;
    --line: #3a3a40;
    --brand-text: #75ae4d;
    --selected: #6ea8ff;
    --error: #ff6b7f;
    --table: #5c5e66;
    --held: #55555c;
    --booked: #2a2a2e;
    --floor: #222226;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.5 system-ui, sans-serif; }
header .banner { display: block; width: 100%; max-width: 1100px; height: auto; margin: 0 auto; }
header .inner, main { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
header .inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 16px; padding-bottom: 12px;
  border-bottom: 3px solid var(--brand); }
header .logo { display: none; width: 240px; max-width: 60vw; height: auto; }
header h1 { margin: 0; font-size: 1.5rem; }
header p { margin: 0; color: var(--muted); }
a { color: var(--brand-text); }
h2 { font-size: 1.25rem; margin-top: 24px; }
.legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; }
.dot.selected { background: var(--selected); box-shadow: 0 0 0 2px var(--fg); }
.dot.held { background: var(--held); }
.dot.booked { background: var(--booked); border: 1px solid var(--line); }
.map-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.seatmap { display: block; width: 100%; min-width: 900px; height: auto; }
.dancefloor { fill: var(--floor); stroke: var(--line); }
.floor-label, .stage-label { fill: var(--muted); font-size: 28px; text-anchor: middle; dominant-baseline: middle; }
.table { fill: var(--table); }
.table-label { fill: #fff; font-size: 18px; font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.seat { fill: var(--pk); stroke: var(--bg); stroke-width: 2; cursor: pointer; }
.seat:focus { outline: none; stroke: var(--fg); stroke-width: 3; }
.seat.selected { fill: var(--selected); stroke: var(--fg); stroke-width: 3; }
.seat.held { fill: var(--held); cursor: not-allowed; }
.seat.booked { fill: var(--booked); cursor: not-allowed; }
button { font: inherit; font-weight: 600; padding: 12px 20px; border: none; border-radius: 8px; background: var(--brand); color: var(--on-brand); cursor: pointer; margin: 8px 8px 8px 0; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--selected); outline-offset: 2px; }
button:disabled { opacity: 0.45; cursor: not-allowed; }
button.secondary { background: transparent; color: var(--brand-text); border: 1px solid var(--brand-text); }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 16px; padding: 12px 16px; }
legend { font-weight: 700; padding: 0 4px; }
label { display: block; margin: 8px 0; }
label.inline { display: flex; gap: 8px; align-items: center; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=datetime-local], select {
  display: block; width: 100%; font: inherit; padding: 10px; margin-top: 4px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg);
}
.price { font-size: 1.1rem; margin: 12px 0; }
.error { color: var(--error); font-weight: 600; }
.notice { font-weight: 600; padding: 10px 14px; border-left: 4px solid var(--brand); background: var(--floor); }
.countdown { color: var(--muted); }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr.cancelled td { color: var(--muted); text-decoration: line-through; }
/* After the general logo rules, which it overrides. */
/* Dark mode: the banner's white curve would clash with the dark page, so the white logo replaces it. */
@media (prefers-color-scheme: dark) {
  header .banner { display: none; }
  header { border-top: 8px solid var(--brand); }
  header .logo { display: block; }
}
