/* Open Bracket (cupertino.top) — "Scoreboard Bracket" visual.
   Light circuit-grey floor (#eef1f6) + bright orange accent (#f0592b) + deep navy ink (#101a2e).
   Motif: scoreboard LED segments, bracket connector lines, tabular scoreboard numerals.
   Squared corners only (no rounding). Sans-serif body with a monospace numeric stack. */

:root {
  --bg: #eef1f6;
  --panel: #ffffff;
  --ink: #101a2e;
  --muted: #5b6b84;
  --line: #cfd7e3;
  --accent: #f0592b;
  --accent-d: #c8431a;
  --amber: #f0c33c;
  --ball: #f0592b;
  --track: #1a9d63;
  --water: #0b74c4;
  --multi: #7a45d6;
  --num: "Consolas", "SFMono-Regular", "Roboto Mono", ui-monospace, "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  font-size: 16px;
}
.shell { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent-d); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
.lc-v, .lp-v, .bs-tag { font-family: var(--num); }

/* ---- header: navy scoreboard bar with an LED accent strip on top ---- */
.sb-head { background: var(--ink); }
.sb-head::before {
  content: ""; display: block; height: 6px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 15px, var(--amber) 15px 30px, var(--ink) 30px 45px);
}
.sb-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.sb-brand { display: flex; align-items: center; gap: 12px; color: #f4f6fb; }
.sb-brand:hover { color: #ffffff; text-decoration: none; }
.sb-logo { display: inline-flex; color: var(--accent); }
.sb-id { display: flex; flex-direction: column; line-height: 1.18; }
.sb-name { font-weight: 700; letter-spacing: .3px; }
.sb-tag { font-size: 11px; color: #93a3bd; letter-spacing: .9px; text-transform: uppercase; }
.sb-menu { display: flex; gap: 22px; }
.sb-menu a {
  color: #cdd7e8; font-size: 14px; font-weight: 700; padding: 3px 0;
  border-bottom: 3px solid transparent;
}
.sb-menu a:hover { color: #ffffff; border-bottom-color: var(--accent); text-decoration: none; }

/* ---- hero: LED segment board on a light floor ---- */
.sb-hero { background: var(--panel); border-bottom: 1px solid var(--line); padding: 44px 0 34px; }
.hero-kicker { color: var(--accent); font-size: 12px; letter-spacing: 3px; font-weight: 700; margin-bottom: 12px; font-family: var(--num); }
.sb-hero h1 { font-size: 36px; line-height: 1.12; font-weight: 700; margin-bottom: 14px; max-width: 780px; }
.hero-note { max-width: 700px; color: var(--muted); font-size: 17px; }
.led-strip { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 22px; }
.led { width: 20px; height: 13px; background: #d7dde8; }
.led:nth-child(3n) { background: var(--accent); }
.led:nth-child(5n) { background: var(--ink); }

/* ---- motif: bracket connector divider ---- */
.bracket-divider { display: flex; align-items: center; gap: 8px; max-width: 1120px; margin: 0 auto; padding: 20px 20px 0; }
.bd-line { flex: 1; height: 2px; background: var(--line); }
.bd-node { width: 14px; height: 14px; background: var(--accent); }

/* ---- category rail (bracket slots) ---- */
section { padding: 26px 0; }
.bracket-bar { padding-top: 26px; }
.bar-label {
  font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted);
  font-weight: 700; margin-bottom: 14px; font-family: var(--num);
}
.bracket-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bracket-slot {
  display: flex; flex-direction: column; gap: 5px; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--accent);
  padding: 15px 16px;
}
.bracket-slot:hover { text-decoration: none; border-color: var(--ink); border-left-color: var(--cat, var(--accent)); }
.bracket-slot .bs-tag { font-size: 12px; color: var(--muted); }
.bracket-slot .bs-name { font-weight: 700; font-size: 16px; }
.rail-inline { padding-top: 6px; }

/* ---- the league wall + scoreboard cards ---- */
.board-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.board-top h2 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.board-pin { display: inline-block; width: 16px; height: 16px; background: var(--accent); }
.board-more { font-size: 13px; font-weight: 700; font-family: var(--num); }
.league-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.league-card {
  display: flex; flex-direction: column; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--ink);
}
.league-card:hover { border-color: var(--accent); border-top-color: var(--accent); text-decoration: none; }
.lc-top {
  display: block; padding: 9px 13px; border-bottom: 1px solid var(--line);
}
.lc-chip {
  font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
  color: var(--cat, var(--accent)); font-family: var(--num);
}
.lc-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.lc-name { font-weight: 700; font-size: 16px; line-height: 1.32; }
.lc-spec { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--line); padding-top: 10px; }
.lc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; }
.lc-row .lc-k {
  flex: 0 0 auto; font-size: 10px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--muted);
}
.lc-row .lc-v { text-align: right; color: var(--ink); font-size: 12.5px; }
.lc-blurb { font-size: 13px; color: var(--muted); }

/* category accent hooks */
.c-ball { --cat: var(--ball); }
.c-track { --cat: var(--track); }
.c-water { --cat: var(--water); }
.c-multi { --cat: var(--multi); }

/* ---- page head ---- */
.board-head { padding: 32px 0 8px; }
.trail { font-size: 13px; color: var(--muted); margin-bottom: 8px; font-family: var(--num); }
.trail a { color: var(--muted); }
.board-head h1 { font-size: 30px; line-height: 1.2; font-weight: 700; }
.subnote { color: var(--muted); margin-top: 8px; }

/* ---- entry layout: league card panel + reading column ---- */
.league-layout { display: grid; grid-template-columns: 320px 1fr; gap: 26px; padding-top: 22px; padding-bottom: 40px; }
.league-panel { align-self: start; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.lp-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
}
.lp-title { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-weight: 700; font-family: var(--num); }
.lp-grid { font-variant-numeric: tabular-nums; }
.lp-row { display: flex; border-bottom: 1px solid var(--line); font-size: 14px; }
.lp-row:last-child { border-bottom: 0; }
.lp-k {
  flex: 0 0 44%; padding: 9px 14px; color: var(--muted); border-right: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}
.lp-v { flex: 1; padding: 9px 14px; }
.lp-row.is-lead { background: rgba(240, 89, 43, .08); box-shadow: inset 4px 0 0 var(--accent); }
.lp-row.is-lead .lp-v { font-weight: 600; }

.league-read { background: var(--panel); border: 1px solid var(--line); padding: 26px 30px; }
.read-legal h2 { font-size: 18px; font-weight: 700; margin: 18px 0 8px; }
.read-legal p { margin-bottom: 12px; }
.period { margin-bottom: 24px; }
.period:last-child { margin-bottom: 0; }
.period h2 { display: flex; align-items: baseline; gap: 10px; font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.period-tag {
  font-size: 12px; font-weight: 700; color: #ffffff; background: var(--ink);
  padding: 2px 7px; font-family: var(--num); letter-spacing: .5px;
}
.league-read p { margin-bottom: 12px; color: #26324a; }
.league-read p:last-child { margin-bottom: 0; }
.also-list { list-style: none; }
.also-list li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.also-list li:last-child { border-bottom: 0; }

/* ---- footer ---- */
.sb-foot { background: var(--ink); margin-top: 24px; }
.sb-foot::before {
  content: ""; display: block; height: 6px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 15px, var(--amber) 15px 30px, var(--ink) 30px 45px);
}
.foot-wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding: 28px 20px; color: #cdd7e8; }
.foot-id { flex: 1 1 340px; }
.foot-id .sb-name { color: #ffffff; font-size: 17px; }
.foot-id p { color: #93a3bd; font-size: 14px; margin-top: 6px; }
.foot-menu { display: flex; gap: 16px; }
.foot-menu a { color: #cdd7e8; font-size: 14px; font-weight: 700; }
.foot-menu a:hover { color: #ffffff; }
.foot-line { flex: 1 1 100%; font-size: 12px; color: #7f8faa; margin-top: 8px; }

/* ---- responsive ---- */
@media (max-width: 920px) {
  .league-wall { grid-template-columns: repeat(2, 1fr); }
  .bracket-rail { grid-template-columns: repeat(2, 1fr); }
  .league-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .league-wall, .bracket-rail { grid-template-columns: 1fr; }
  .sb-inner { flex-direction: column; gap: 10px; align-items: flex-start; }
  .sb-menu { gap: 14px; }
  .sb-hero h1 { font-size: 27px; }
  .league-read { padding: 20px 18px; }
}
