:root {
  color-scheme: light;
  --cs-yellow: #ffe044;
  --cs-ink: #17201e;
  --cs-page: #fafaf7;
  --cs-surface: #ffffff;
  --cs-text: #17201e;
  --cs-muted: #515c55;
  --cs-line: #c7cec6;
  --cs-control: #7a867d;
  --cs-selected: #17201e;
  --cs-on-selected: #ffffff;
  --cs-selected-border: var(--cs-selected);
  --cs-sign-bg: var(--cs-yellow);
  --cs-on-sign: var(--cs-ink);
  --cs-sign-muted: var(--cs-ink);
  --cs-soft: #edf0ea;
  --cs-error: #a52c26;
  --cs-success: #256344;
  --cs-body: 'Barlow', sans-serif;
  --cs-heading: 'Barlow Semi Condensed', sans-serif;
}
:root.dark {
  color-scheme: dark;
  --cs-yellow: #e3cb67;
  --cs-page: #121416;
  --cs-surface: #1d2023;
  --cs-text: #f3f1e9;
  --cs-muted: #afb6ba;
  --cs-line: #41484d;
  --cs-control: #78858c;
  --cs-selected: #30353a;
  --cs-on-selected: #f0d97e;
  --cs-selected-border: #8c8050;
  --cs-sign-bg: #2b2921;
  --cs-on-sign: #f3f1e9;
  --cs-sign-muted: #cbc5ae;
  --cs-soft: #2a2f33;
  --cs-error: #ffb4a8;
  --cs-success: #a2cbaf;
}
* { box-sizing: border-box; }
html { scroll-padding-bottom: calc(90px + env(safe-area-inset-bottom)); background: var(--cs-page); scrollbar-color: var(--cs-control) var(--cs-page); }
body { margin: 0; color: var(--cs-text); background: var(--cs-page); font: 16px/1.45 var(--cs-body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
h1, h2, h3 { font-family: var(--cs-heading); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
time, .cs-number { font-variant-numeric: tabular-nums; }
::selection { color: var(--cs-ink); background: var(--cs-yellow); }
input, textarea { caret-color: var(--cs-text); }
:focus-visible { outline: 3px solid var(--cs-text); outline-offset: 3px; }
.cs-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 13px; border: 1px solid transparent; border-radius: 8px; background: var(--cs-soft); color: var(--cs-text); font-weight: 600; text-decoration: none; }
.cs-button:hover { background: var(--cs-line); }
.cs-button.quiet { background: transparent; }
.cs-button.quiet:not([aria-pressed=true]):hover { background: var(--cs-soft); }
.cs-button:active { transform: translateY(1px); }
.cs-button:disabled { color: var(--cs-muted); background: var(--cs-soft); cursor: default; }
.cs-button.primary, .cs-button[aria-pressed=true] { background: var(--cs-selected); color: var(--cs-on-selected); border-color: transparent; }
.dark .cs-button.primary:not(:disabled) { background: var(--cs-yellow); color: var(--cs-ink); border-color: var(--cs-yellow); }
.cs-button.primary:disabled { background: var(--cs-soft); color: var(--cs-muted); border-color: transparent; }
.cs-segments { display: flex; gap: 4px; }
.cs-segments > * { flex: 1; min-width: 0; }
.cs-segments .cs-button { border-color: transparent; }
.cs-segments .cs-button[aria-pressed=true] { border-color: transparent; }
.cs-field { font-size: 16px; width: 100%; min-height: 48px; border: 1px solid transparent; border-radius: 8px; padding: 9px 12px; background: var(--cs-soft); color: var(--cs-text); }
.cs-field:hover { border-color: var(--cs-line); }
.cs-field:disabled { color: var(--cs-muted); cursor: default; }
.cs-field::placeholder { color: var(--cs-muted); opacity: 1; }
.cs-muted { color: var(--cs-muted); }
.cs-court { display: flex; flex-direction: column; justify-content: center; align-items: center; align-self: start; width: 56px; min-height: 76px; background: var(--cs-ink); color: #fff; padding: 6px 3px; }
.dark .cs-court { background: var(--cs-soft); color: var(--cs-yellow); }
.dark .cs-court span { color: var(--cs-muted); }
.cs-court span { font: 12px/1.2 var(--cs-body); }
.cs-court strong { font: 600 38px/1.05 var(--cs-heading); font-variant-numeric: tabular-nums; }
.cs-arrival { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--cs-sign-bg); color: var(--cs-on-sign); padding: 16px; }
.cs-arrival h2 { font-size: 30px; }
.cs-arrival p { margin-top: 5px; font-size: 14px; color: var(--cs-sign-muted); }
.cs-arrival .cs-court { background: transparent; color: var(--cs-on-sign); }
.dark .cs-arrival .cs-court { color: var(--cs-yellow); }
.cs-arrival .cs-court strong { font-size: 56px; }
.cs-masthead { background: var(--cs-yellow); color: var(--cs-ink); padding: 12px 20px; }
.cs-brand { font: 700 28px/1.1 var(--cs-heading); letter-spacing: -.025em; }
.cs-masthead p { font-size: 13px; margin-top: 5px; }
.dark .cs-masthead { background: var(--cs-surface); color: var(--cs-text); }
.dark .cs-brand { color: var(--cs-yellow); }
.dark .cs-masthead p { color: var(--cs-muted); }
.cs-rule { border: 0; border-top: 1px solid var(--cs-line); }
.cs-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } .cs-button:active { transform: none; } }
