:root {
  color-scheme: dark;
  --ink: #f5f6f3;
  --ink-2: rgba(245, 246, 243, .76);
  --ink-3: rgba(245, 246, 243, .56);
  --line: rgba(255, 255, 255, .13);
  --lime: #c1f12e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; min-height: 100vh; background: #050606; color: var(--ink-2); font: 400 16px/1.65 var(--font); letter-spacing: -.008em; -webkit-font-smoothing: antialiased; overflow-x: clip; }

/* faint court photo at the top so the glass has something behind it */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: 70vh; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 6, 6, .45), #050606 92%), url("/media/courtside/court.webp") center 30% / cover no-repeat; opacity: .9; }

a { color: var(--lime); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--lime); color: #000; }

/* glass recipe shared with the homepage */
.top, .tabs, .card {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 55%, rgba(255, 255, 255, .06)), rgba(18, 20, 20, .38);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .38), 0 16px 36px -22px rgba(0, 0, 0, .7);
}

/* header */
.top { position: sticky; z-index: 10; top: calc(8px + env(safe-area-inset-top)); display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; height: 48px; margin: calc(8px + env(safe-area-inset-top)) 10px 0; padding: 0 6px 0 14px; border-radius: 16px; }
@media (min-width: 780px) { .top { margin-inline: auto; } }
.brand { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: 1.05rem; letter-spacing: -.03em; }
.back { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 11px; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; background: rgba(255, 255, 255, .1); }
.back::before { content: "←"; margin-right: 6px; color: var(--lime); }

/* tab switcher */
.tabs { display: flex; gap: 4px; max-width: 760px; margin: 14px 10px 0; padding: 4px; border-radius: 14px; }
@media (min-width: 780px) { .tabs { margin-inline: auto; width: fit-content; } }
.tabs a { flex: 1; display: grid; place-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: .86rem; font-weight: 550; white-space: nowrap; transition: background .2s, color .2s; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { background: var(--lime); color: #0a0c06; font-weight: 650; }

/* content */
main { max-width: 680px; margin: 0 auto; padding: 40px var(--pad) 56px; }
h1 { margin: 0 0 8px; color: var(--ink); font-size: clamp(2.1rem, 9vw, 3rem); font-weight: 750; letter-spacing: -.04em; line-height: 1.05; }
h2 { margin: 44px 0 10px; color: var(--ink); font-size: 1.3rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.25; }
h3 { margin: 26px 0 6px; color: var(--ink); font-size: 1.04rem; font-weight: 650; letter-spacing: -.015em; }
p { margin: 0 0 14px; }
strong { color: var(--ink); font-weight: 600; }
.meta { margin: 0 0 28px; color: var(--ink-3); font-size: .88rem; }
.card { margin: 24px 0; padding: 18px 20px; border-radius: 20px; }
.card p { margin: 0; color: var(--ink-2); }
ul, ol { margin: 0 0 14px; padding-left: 1.25em; }
li { margin: 7px 0; padding-left: 2px; }
li::marker { color: var(--lime); }
ol li::marker { font-weight: 650; }
table { display: block; width: 100%; overflow-x: auto; margin: 14px 0; border-collapse: collapse; font-size: .9rem; -webkit-overflow-scrolling: touch; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); font-weight: 650; white-space: nowrap; }

/* footer */
footer { max-width: 680px; margin: 0 auto; padding: 22px var(--pad) calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--ink-3); font-size: .84rem; line-height: 1.6; }
footer address { margin-bottom: 12px; font-style: normal; }
footer strong { color: var(--ink); }
footer p { margin: 0 0 6px; }
