:root {
  /* The tank: deep water, lit from the stage. */
  --deep: #06131f;      /* tank water — page */
  --deep-2: #0c2032;    /* surface / rows */
  --deep-3: #102c44;    /* raised / hover */
  --line: #1c3a54;      /* hairlines on dark */
  --ink: #eef5fa;       /* near-white */
  --muted: #8bacc0;     /* muted teal-gray */
  --money: #2ee6a6;     /* the money — dollars, gains */
  --gold: #f2c14e;      /* stage light — rank, highlights */
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --num: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, monospace;
  --max: 68rem;
  --gutter: clamp(1.1rem, 4vw, 2rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, #0e2338 0%, var(--deep) 60%) fixed;
  line-height: 1.55;
}

.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* -- header -- */
body > header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.1rem; border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
nav a { margin-left: 1.1rem; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav a:hover { color: var(--money); }

/* -- hero -- */
.hero { padding-block: clamp(2.5rem, 8vw, 5rem) 2rem; }
.hero .eyebrow { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; }
.hero .figure {
  font-family: var(--num); font-variant-numeric: tabular-nums;
  font-size: clamp(3.2rem, 14vw, 7rem); font-weight: 800; line-height: 0.95;
  letter-spacing: -0.04em; color: var(--money); margin: 0.4rem 0 0.2rem;
}
.hero .figure small { color: var(--ink); font-size: 0.32em; font-weight: 700; letter-spacing: -0.01em; margin-left: 0.3rem; }
.hero .lede { color: var(--muted); max-width: 46ch; margin-top: 0.6rem; }

.statrow { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3rem); margin-top: 2rem; }
.statrow .stat { }
.statrow .stat b { display: block; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.statrow .stat span { color: var(--muted); font-size: 0.85rem; }

/* -- section heads -- */
.section { padding-block: 2.5rem 3.5rem; }
.section > h2 { font-size: 1.4rem; letter-spacing: -0.02em; margin: 0 0 0.25rem; }
.section > .sub { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.5rem; }

/* -- the money board -- */
.board { display: grid; gap: 2px; }
.board .row {
  position: relative; display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: 1rem;
  padding: 0.85rem 1rem; background: var(--deep-2); border: 1px solid var(--line); border-radius: 8px;
  text-decoration: none; color: inherit; overflow: hidden;
}
.board .row:hover { background: var(--deep-3); border-color: #24507140; }
.board .row .bar { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #10382c, #0c2032); z-index: 0; }
.board .row > * { position: relative; z-index: 1; }
.board .rank { font-family: var(--num); font-weight: 800; color: var(--gold); text-align: center; }
.board .who { min-width: 0; }
.board .who .name { font-weight: 700; letter-spacing: -0.01em; }
.board .who .meta { color: var(--muted); font-size: 0.82rem; }
.board .who .guest { color: var(--gold); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; margin-left: 0.4rem; }
.board .amt { text-align: right; }
.board .amt .big { font-family: var(--num); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.2rem; color: var(--money); letter-spacing: -0.02em; }
.board .amt .deals { color: var(--muted); font-size: 0.8rem; }

a { color: var(--money); }

/* -- page title -- */
.pagetitle { font-size: clamp(1.8rem, 6vw, 2.6rem); letter-spacing: -0.03em; margin: 1.5rem 0 1.25rem; }

/* -- profile / season head -- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 2rem; }
.tiles .tile { background: var(--deep-2); padding: 1rem 1.1rem; }
.tiles .tile b { display: block; font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.tiles .tile.money b { color: var(--money); }
.tiles .tile span { color: var(--muted); font-size: 0.8rem; }
.chips { color: var(--muted); font-size: 0.9rem; margin: -1rem 0 2rem; }

/* -- data tables -- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table.data { border-collapse: collapse; width: 100%; font-size: 0.9rem; min-width: 34rem; }
table.data th, table.data td { text-align: left; padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data thead th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: var(--deep-3); }
table.data td.n, table.data th.n { text-align: right; font-family: var(--num); font-variant-numeric: tabular-nums; }
table.data td.money { color: var(--money); font-family: var(--num); font-variant-numeric: tabular-nums; text-align: right; }
table.data td.wrap { white-space: normal; }
table.data a { color: var(--ink); text-decoration: none; }
table.data a:hover { color: var(--money); }
.badge { display: inline-block; font-size: 0.7rem; padding: 0.05rem 0.4rem; border-radius: 4px; }
.badge.deal { background: #10382c; color: var(--money); }
.badge.no { background: #2a1520; color: #d98a9a; }

/* -- footer -- */
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; padding-block: 2.5rem 3.5rem; margin-top: 2rem; }
footer .container > div + div { margin-top: 0.75rem; }
footer a { color: var(--muted); font-weight: 700; text-decoration: none; }

:where(a, .row):focus-visible { outline: 2px solid var(--money); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .board .row { transition: background 120ms, border-color 120ms; } }

