:root {
  --navy-950: #0d1b30;
  --navy-900: #12243f;
  --navy-800: #1d3558;
  --navy-700: #2f4d73;
  --cream-100: #f7f2e9;
  --cream-50: #fbf8f2;
  --paper: #fffdf8;
  --red-700: #9e322c;
  --red-600: #b64339;
  --red-100: #f8e8e5;
  --green-700: #276348;
  --green-100: #e8f4ed;
  --amber-700: #78591f;
  --amber-100: #fff4d8;
  --blue-100: #e9f0f8;
  --ink: #142239;
  --muted: #657084;
  --line: #ddd5c8;
  --line-strong: #c8beae;
  --shadow-sm: 0 2px 8px rgba(13, 27, 48, .06);
  --shadow-md: 0 14px 36px rgba(13, 27, 48, .09);
  --radius-sm: 7px;
  --radius: 12px;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(182, 67, 57, .055), transparent 28rem),
    linear-gradient(180deg, var(--cream-50), var(--cream-100));
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(13, 27, 48, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 27, 48, .018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 75%);
}

button, input, select, textarea { font: inherit; }
a { color: var(--navy-800); text-decoration-color: rgba(29, 53, 88, .35); text-underline-offset: 3px; }
a:hover { color: var(--red-600); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid rgba(182, 67, 57, .3); outline-offset: 2px; }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy-950);
}
h1 { margin: .12em 0 .32em; line-height: .98; letter-spacing: -.035em; }
h2 { margin: .15em 0 .55em; line-height: 1.08; letter-spacing: -.018em; }
h3 { margin: .2em 0 .55em; line-height: 1.15; }
p { margin: .45rem 0 1rem; }

/* Global header */
.nav {
  position: relative;
  z-index: 20;
  min-height: 72px;
  padding: 0 max(22px, 4vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 253, 248, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav nav { display: flex; align-items: center; gap: 20px; }
.nav nav a { text-decoration: none; font-size: .93rem; font-weight: 700; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-950);
  font-weight: 900;
  letter-spacing: .095em;
  text-decoration: none;
  white-space: nowrap;
}
.brand::before {
  content: "9";
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 2px solid var(--red-600);
  border-radius: 50%;
  color: var(--red-600);
  background: var(--paper);
  font-family: Georgia, serif;
  font-size: 1.12rem;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px rgba(182,67,57,.16);
}
.brand:hover { color: var(--navy-950); }
.link-button {
  appearance: none;
  border: 0;
  background: none;
  color: var(--navy-800);
  padding: 8px 0;
  cursor: pointer;
  font-weight: 700;
}
.link-button:hover { color: var(--red-600); }

/* League navigation */
.league-nav {
  min-height: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  gap: 28px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--navy-950);
  border-bottom: 0;
  color: white;
}
.league-nav .brand { color: white; align-self: center; }
.league-nav .brand::before { color: white; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); box-shadow: none; }
.league-nav nav {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  gap: 4px;
  padding: 14px 0;
  white-space: nowrap;
}
.league-nav nav a {
  color: rgba(255,255,255,.72);
  padding: 10px 12px;
  border-radius: 7px;
  font-size: .88rem;
}
.league-nav nav a:hover { color: white; background: rgba(255,255,255,.08); }
.league-nav nav a.active { color: white; background: rgba(255,255,255,.13); box-shadow: inset 0 -2px 0 var(--red-600); }

/* Layout */
.shell { position: relative; width: min(1160px, 92vw); margin: 0 auto; padding: 48px 0 64px; }
.wide-shell { width: min(1540px, 96vw); }
.narrow-shell { width: min(790px, 92vw); }
.auth-shell { width: min(600px, 92vw); }
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 30px;
}
.page-head > div { min-width: 0; }
.page-head h1, .section-title { font-size: clamp(2.55rem, 5.5vw, 5rem); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); margin-bottom: 0; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--red-600);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.lede { max-width: 720px; color: #43516a; font-size: clamp(1.04rem, 2vw, 1.28rem); }
.muted { color: var(--muted); }

/* Cards and surfaces */
.card {
  background: rgba(255,253,248,.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 18px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 44px;
}
.dashboard-grid .card { margin: 0; min-height: 165px; display: flex; flex-direction: column; }
.dashboard-grid .card a:last-child { margin-top: auto; font-weight: 800; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr); gap: 28px; align-items: start; }
.league-section { margin: 0 0 48px; }

/* Buttons */
.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  border: 1px solid var(--red-600);
  border-radius: 8px;
  padding: 10px 17px;
  background: var(--red-600);
  color: white;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(182, 67, 57, .16);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.button:hover { color: white; background: var(--red-700); border-color: var(--red-700); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(182, 67, 57, .2); }
.button:active { transform: translateY(0); }
.button.secondary { background: var(--navy-900); border-color: var(--navy-900); box-shadow: 0 3px 10px rgba(13, 27, 48, .13); }
.button.secondary:hover { background: var(--navy-950); border-color: var(--navy-950); }
.button.ghost { color: var(--navy-800); background: transparent; border-color: var(--line-strong); box-shadow: none; }
.button.ghost:hover { color: var(--red-600); background: var(--paper); border-color: var(--red-600); }
.button.small { min-height: 34px; padding: 7px 11px; border-radius: 6px; font-size: .84rem; }
.button.danger, .danger-button { background: #8e2e2a; border-color: #8e2e2a; }
.button:disabled, button:disabled { opacity: .48; cursor: not-allowed; transform: none; box-shadow: none; }
.text-link { font-weight: 800; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.actions form { margin: 0; }

/* Forms */
label, .field { display: grid; gap: 7px; margin: 14px 0; font-weight: 780; color: var(--navy-900); }
input, select, textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(182,67,57,.12); outline: none; }
textarea { resize: vertical; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--red-600); }
.search-form, .date-form, .inline-assign, .inline-form { display: flex; align-items: center; gap: 9px; }
.search-form input { min-width: 290px; }
.inline-assign select { width: auto; min-width: 110px; }
.inline-assign input[type="number"] { width: 85px; }
.form-help { margin-top: -7px; color: var(--muted); font-size: .86rem; }

/* Alerts and badges */
.error, .success, .alert, .notice {
  display: block;
  border-radius: 9px;
  padding: 12px 14px;
  margin: 14px 0;
  border: 1px solid;
  font-weight: 600;
}
.error, .alert.danger { background: var(--red-100); border-color: #d99c96; color: #7c2521; }
.success { background: var(--green-100); border-color: #9bc8aa; color: var(--green-700); }
.alert, .notice { background: var(--amber-100); border-color: #e2c983; color: var(--amber-700); }
.badge, .status-pill, .free-agent, .locked-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  line-height: 1;
}
.badge { background: var(--blue-100); color: var(--navy-700); }
.badge.danger, .locked-tag { background: var(--red-100); color: var(--red-700); }
.free-agent { background: var(--green-100); color: var(--green-700); }

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: separate; border-spacing: 0; background: transparent; }
th, td { padding: 12px 13px; text-align: left; border-bottom: 1px solid #e9e2d7; vertical-align: middle; }
th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f1ece3;
  color: #586274;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .095em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(29,53,88,.028); }
td a { font-weight: 760; }
.number { font-variant-numeric: tabular-nums; font-weight: 850; }
.compact-table th, .compact-table td { padding: 8px 9px; }
.bench-row { background: #f2eee7; color: #657084; }
.illegal-row { background: var(--red-100); }
.slot-cell { font-weight: 900; color: var(--navy-800); }
.empty-state {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255,253,248,.8);
  color: var(--muted);
  text-align: center;
}

/* Home */
.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .72fr);
  align-items: center;
  gap: 58px;
  padding: 88px max(24px, 7vw) 78px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -130px;
  bottom: -250px;
  border: 2px solid rgba(182,67,57,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(182,67,57,.035), 0 0 0 96px rgba(182,67,57,.025);
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3.4rem, 7.7vw, 7.4rem); max-width: 880px; }
.hero .lede { font-size: clamp(1.1rem, 2.1vw, 1.42rem); }
.hero-scorecard {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 25px;
  background: rgba(255,253,248,.95);
  box-shadow: var(--shadow-md);
  transform: rotate(1deg);
}
.scorecard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 2px solid var(--navy-900); padding-bottom: 15px; }
.scorecard-top strong { font: 700 1.45rem Georgia, serif; }
.scorecard-grid { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-top: 14px; }
.scorecard-grid div { display: contents; }
.scorecard-grid span, .scorecard-grid strong { padding: 10px 0; border-bottom: 1px solid var(--line); }
.scorecard-grid strong { text-align: right; font-variant-numeric: tabular-nums; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .88rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.feature-grid article { background: var(--paper); padding: 35px max(24px, 5vw); }
.feature-grid b { display: block; color: var(--navy-950); font: 700 1.35rem Georgia, serif; }
.feature-number { display: block; margin-bottom: 18px; color: var(--red-600); font-size: .72rem; font-weight: 900; letter-spacing: .15em; }

/* Authentication */
.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 38px 20px;
}
.auth-wrap { width: min(980px, 100%); display: grid; grid-template-columns: minmax(300px, .85fr) minmax(390px, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-md); }
.auth-side { padding: 42px; background: var(--navy-950); color: white; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side .brand { color: white; }
.auth-side .brand::before { color: white; border-color: white; background: rgba(255,255,255,.08); box-shadow: none; }
.auth-side h2 { color: white; font-size: clamp(2.1rem, 4vw, 3.4rem); }
.auth-side p { color: rgba(255,255,255,.72); }
.auth-card { padding: 42px; }
.auth-card h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.auth-card .button { width: 100%; margin-top: 8px; }
.auth-meta { margin-top: 22px; color: var(--muted); font-size: .92rem; }

/* Dashboard */
.dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.dashboard-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.team-card-grid { display: grid; gap: 13px; }
.team-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.team-card:hover { border-color: #bcb09f; color: inherit; transform: translateY(-1px); }
.team-card h3 { margin: 0 0 3px; font-size: 1.35rem; }
.team-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.team-card-meta { display: flex; align-items: center; justify-content: flex-end; gap: 7px; flex-wrap: wrap; }
.setup-card { position: sticky; top: 20px; }
.setup-card h2 { font-size: 1.7rem; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 18px; color: var(--muted); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.form-divider::before, .form-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }

/* League home */
.league-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}
.league-summary code { color: var(--navy-950); background: #eee7dc; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-weight: 900; letter-spacing: .08em; }
.metric-value { font: 700 clamp(2rem, 4vw, 3rem) Georgia, serif; color: var(--navy-950); line-height: 1; }
.message-form { display: grid; gap: 10px; margin-bottom: 22px; }
.message-form .button { justify-self: start; }
.messages { display: grid; gap: 10px; }
.message { padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.message > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.message time { color: var(--muted); font-size: .8rem; }
.message p { white-space: pre-wrap; margin-bottom: 0; }

/* Lineups */
.lineup-page-head { margin-bottom: 18px; }
.date-navigator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 18px;
  margin: 0 0 22px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.date-navigator > a { font-weight: 800; text-decoration: none; padding: 10px; }
.date-navigator > a:last-child { text-align: right; }
.date-navigator form { display: flex; align-items: end; gap: 9px; }
.date-navigator label { margin: 0; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.date-navigator input { padding: 7px 9px; }
.daily-schedule { margin-bottom: 24px; }
.daily-schedule h2 { font-size: 1.45rem; margin-bottom: 10px; }
.schedule-list { display: flex; flex-wrap: wrap; gap: 10px; }
.schedule-list > div { display: flex; align-items: center; gap: 14px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); box-shadow: var(--shadow-sm); }
.schedule-list > div span:last-child { color: var(--muted); font-size: .86rem; }
.daily-lineup-card { margin-bottom: 22px; padding: 20px; }
.lineup-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.lineup-heading h2 { margin: 0; }
.lineup-heading p { margin: 3px 0 0; color: var(--muted); }
.lineup-stat-section { margin-top: 20px; }
.lineup-stat-section h2, .lineup-stat-section h3 { font-size: 1.35rem; margin-bottom: 8px; }
.daily-lineup-table { min-width: 1120px; }
.organizer-table { min-width: 1180px; }
.daily-lineup-table th, .daily-lineup-table td, .organizer-table th, .organizer-table td { padding: 8px 9px; white-space: nowrap; }
.daily-lineup-table td:nth-child(2), .organizer-table td:first-child { min-width: 178px; }
.daily-lineup-table small { display: block; color: var(--muted); }
.hitter-lineup-table { min-width: 1080px; }
.pitcher-lineup-table { min-width: 1020px; }
.hitter-organizer-table { min-width: 1300px; }
.pitcher-organizer-table { min-width: 1190px; }
select[name^="slot_"] { min-width: 102px; }
.rules-note { margin-top: 26px; background: #f0ede6; }

/* Player and roster pages */
.player-head { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.player-head h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.avatar { width: 104px; height: 104px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); font: 700 3rem Georgia, serif; box-shadow: inset 0 0 0 5px rgba(255,255,255,.09), var(--shadow-md); }
.stat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 32px; }
.stat-cards article { display: grid; gap: 3px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.stat-cards strong { font: 700 2rem Georgia, serif; }
.stat-cards span { color: var(--muted); }

/* Trades */
.trade-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.trade-grid section { min-width: 0; }
.trade-summary-list { list-style: none; padding: 0; margin: 0; }
.trade-summary-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 750; }
.trade-summary-list li:last-child { border-bottom: 0; }

/* Error and footer */
.app-footer { position: relative; padding: 26px max(24px, 4vw); border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; text-align: center; }
.app-footer strong { color: var(--navy-800); }
hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
code { padding: 3px 7px; border-radius: 5px; background: #ece5da; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero-scorecard { max-width: 580px; transform: none; }
  .two-col { grid-template-columns: 1fr; }
  .setup-card { position: static; }
  .dashboard-grid, .trade-grid { grid-template-columns: 1fr; }
  .league-nav { grid-template-columns: 1fr; gap: 0; padding-top: 13px; }
  .league-nav nav { width: 100%; padding: 7px 0 13px; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .nav { min-height: 64px; padding: 12px 18px; }
  .nav:not(.league-nav) nav { gap: 10px; }
  .nav:not(.league-nav) nav a:not(.button) { display: none; }
  .brand { font-size: .8rem; letter-spacing: .07em; }
  .brand::before { width: 31px; height: 31px; }
  .shell, .wide-shell, .narrow-shell { width: min(94vw, 100%); padding: 34px 0 50px; }
  .page-head, .section-head, .dashboard-hero { align-items: flex-start; flex-direction: column; }
  .page-head .button, .dashboard-hero .button { width: 100%; }
  .hero { padding: 62px 22px 52px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5.25rem); }
  .hero-scorecard { padding: 20px; }
  .auth { place-items: start center; padding-top: 24px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { min-height: 240px; padding: 28px; }
  .auth-card { padding: 28px 22px; }
  .date-navigator { grid-template-columns: 1fr 1fr; }
  .date-navigator form { grid-column: 1 / -1; grid-row: 1; }
  .date-navigator > a:last-child { text-align: right; }
  .search-form, .date-form, .inline-form { align-items: stretch; flex-direction: column; width: 100%; }
  .search-form input { min-width: 0; }
  .inline-assign { min-width: 330px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .player-head { align-items: flex-start; }
  .avatar { width: 74px; height: 74px; font-size: 2rem; }
  .team-card { grid-template-columns: 1fr; }
  .team-card-meta { justify-content: flex-start; }
  .message > div { align-items: flex-start; flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
.league-nav nav form { margin: 0; display: flex; align-items: center; }
.league-nav .link-button { color: rgba(255,255,255,.72); padding: 10px 12px; border-radius: 7px; font-size: .88rem; text-decoration: none; }
.league-nav .link-button:hover { color: white; background: rgba(255,255,255,.08); }
.admin-link { margin-top: 30px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--muted); }
.stats-table { min-width: 1300px; }
