:root {
  color-scheme: dark;
  --bg: #111519;
  --surface: #1a2026;
  --raised: #202830;
  --text: #f3f4f5;
  --muted: #a4adb7;
  --line: #ffffff12;
  --accent: #59d3c1;
  --good: #b4e969;
  --bad: #ef8790;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: #111519cf;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.nav-wrap {
  max-width: 1240px;
  padding: 0 32px;
  height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 64px;
}
.brand img {
  width: 66px;
  display: block;
}
nav {
  display: flex;
  gap: 34px;
  height: 100%;
  align-items: center;
}
nav a {
  font-size: 13px;
  color: var(--muted);
  height: 100%;
  display: grid;
  place-items: center;
  border-bottom: 2px solid transparent;
}
nav a.active {
  color: var(--text);
  border-color: var(--accent);
}
.preview-label {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.preview-label i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 7px;
}
main {
  max-width: 1240px;
  padding: 0 32px;
  margin: auto;
  min-height: 65vh;
}
.hero {
  padding: 58px 0 38px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
.hero h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin: 13px 0 15px;
  font-weight: 650;
}
.hero p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}
.week-pill,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(#ffffff0d, #ffffff04);
  border: 1px solid #ffffff19;
  border-radius: 100px;
  padding: 10px 17px;
  font-size: 12px;
  white-space: nowrap;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 18px;
  gap: 16px;
}
.section-head h2 {
  font-size: 20px;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0;
}
.text-link {
  font-size: 12px;
  color: var(--muted);
}
.text-link:hover {
  color: var(--accent);
}
.group {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.match {
  padding: 23px 28px 20px;
  position: relative;
  background: transparent;
  border: 0;
  text-align: left;
  min-width: 0;
}
.match:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.match:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}
.match:hover {
  background: #ffffff04;
}
.match:focus-visible {
  outline-offset: -4px;
}
.card-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #c0c7cf;
  font-weight: 550;
}
.card-label img {
  width: 19px;
  height: 22px;
  object-fit: contain;
}
.card-label .chevron {
  margin-left: auto;
  color: #74818d;
  font-size: 20px;
}
.teams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}
.team {
  min-width: 0;
}
.team:last-child {
  text-align: right;
}
.team-name {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
  height: 34px;
  display: flex;
  align-items: start;
  overflow: hidden;
}
.team:last-child .team-name {
  justify-content: flex-end;
}
.scoreline {
  display: flex;
  align-items: center;
  gap: 17px;
}
.team:last-child .scoreline {
  flex-direction: row-reverse;
}
.team-logo {
  width: 53px;
  height: 53px;
  object-fit: contain;
  border-radius: 50%;
}
.score {
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-stretch: condensed;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  font-size: 43px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.projection {
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.2;
  margin-top: 2px;
}
.up {
  color: var(--good);
}
.down {
  color: var(--bad);
}
.odds {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.odds strong {
  font-weight: 500;
  color: #d2dae2;
}
.probability {
  margin-top: 19px;
}
.prob-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.track {
  height: 3px;
  background: #ffffff12;
  border-radius: 9px;
  position: relative;
  margin-top: 8px;
}
.track .fill {
  position: absolute;
  height: 100%;
  background: #7e9ca5;
  border-radius: 9px;
}
.track .ball {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  width: 14px;
  height: 9px;
  border-radius: 60%;
  background: #b0c5cd;
  border: 2px solid var(--surface);
}
.track .ball:after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 2px;
  border-top: 1px solid #35474d;
}
.content-section {
  margin-top: 48px;
}
.editorial {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
}
.story {
  background: linear-gradient(125deg, #25323b, #1a2026 70%);
  padding: 35px;
  border-radius: 24px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
}
.story h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.035em;
  max-width: 430px;
  margin: 18px 0 12px;
}
.story p {
  color: #b6c0ca;
  font-size: 13px;
  max-width: 480px;
  margin: 0 0 24px;
}
.story .text-link {
  margin-top: auto;
  color: var(--text);
}
.aside-stack {
  display: grid;
  gap: 16px;
}
.note-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #171c21;
  display: block;
}
.note-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin: 7px 0;
}
.note-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.league-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.league-tile {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #171c21;
}
.league-tile img {
  height: 39px;
  width: 43px;
  object-fit: contain;
}
.league-tile h3 {
  font-size: 14px;
  margin: 18px 0 7px;
}
.league-tile p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.league-tile span {
  font-size: 11px;
  display: block;
  color: #c7d0d8;
  margin-top: 18px;
}
.bottom-feature {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}
.bottom-feature h3 {
  font-size: 20px;
  letter-spacing: -0.03em;
  margin: 3px 0;
}
.bottom-feature p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.league-hero {
  align-items: center;
}
.league-hero .identity {
  display: flex;
  align-items: center;
  gap: 20px;
}
.identity > img {
  width: 56px;
  height: 72px;
  object-fit: contain;
}
.league-hero h1 {
  font-size: 42px;
}
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  gap: 16px;
  padding-bottom: 15px;
}
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.tabs button {
  background: none;
  border: 0;
  border-radius: 99px;
  padding: 9px 16px;
  color: var(--muted);
  font-size: 12px;
}
.tabs button.active {
  background: #ffffff0e;
  color: white;
  box-shadow: inset 0 0 0 1px #ffffff12;
}
.league-select {
  max-width: 100%;
  background: #20262c;
  color: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
}
.subnote {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0 24px;
}
.league-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  align-items: start;
}
.league-grid .group {
  grid-template-columns: 1fr;
}
.league-grid .match {
  border: 0;
}
.league-grid .team-name {
  font-size: 15px;
}
.league-grid .score {
  font-size: 52px;
}
.mini-table {
  background: #171c21;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.mini-table h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.mini-table .subnote {
  margin: 0 0 15px;
  font-size: 10px;
}
.mini-row {
  display: grid;
  grid-template-columns: 20px 1fr 42px;
  gap: 10px;
  font-size: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.mini-row > span:first-child {
  color: var(--muted);
}
.mini-row > span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.lineup-panel {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.lineup-title {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.player-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 32px 42px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
}
.player {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.player.right {
  flex-direction: row-reverse;
  text-align: right;
}
.player img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff0c;
}
.player div {
  min-width: 0;
}
.player b {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 12px;
  font-weight: 550;
}
.player small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-points {
  text-align: center;
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  line-height: 1.15;
}
.player-points small {
  display: block;
  font-size: 15px;
  color: var(--muted);
}
.slot {
  font-size: 9px;
  background: #ffffff06;
  border: 1px solid #ffffff0c;
  border-radius: 5px;
  text-align: center;
  padding: 4px 0;
  color: #8db5df;
}
.slot.RB {
  color: #80c7ae;
}
.slot.WR {
  color: #e8b07d;
}
.slot.TE {
  color: #c29cd1;
}
.slot.FLX,
.slot.WRT {
  color: #b3b7d4;
}
.slot.K,
.slot.DEF {
  color: #d5c78c;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  text-align: left;
}
th {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 550;
  padding: 18px 22px;
}
td {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
td:nth-child(n + 3),
th:nth-child(n + 3) {
  text-align: right;
}
td:first-child {
  color: var(--muted);
  width: 32px;
}
.movers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mover-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.mover-group h2 {
  margin: 0;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 550;
}
.mover {
  display: grid;
  grid-template-columns: 22px 42px minmax(0, 1fr) 64px 70px;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.rank {
  font-size: 11px;
  color: var(--muted);
}
.mover img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff08;
  object-fit: cover;
}
.mover b {
  font-size: 13px;
  font-weight: 550;
  display: block;
}
.mover small {
  font-size: 10px;
  color: var(--muted);
}
.change {
  text-align: right;
  font-family: "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.spark {
  width: 64px;
  height: 32px;
}
.market-foot {
  padding: 24px 0;
  color: var(--muted);
  font-size: 12px;
  max-width: 670px;
}
footer {
  max-width: 1240px;
  margin: 64px auto 0;
  border-top: 1px solid var(--line);
  padding: 32px;
  display: flex;
  gap: 10px;
  flex-direction: column;
}
footer > span {
  font-size: 10px;
  letter-spacing: 0.17em;
  color: var(--muted);
}
footer p {
  margin: 0;
  font-size: 16px;
}
footer small,
footer a {
  font-size: 11px;
  color: var(--muted);
}
footer a {
  margin-top: 8px;
}
dialog {
  padding: 0;
  border: 1px solid #ffffff22;
  background: #1a2026;
  border-radius: 26px;
  width: min(760px, calc(100% - 24px));
  max-height: 90vh;
  color: var(--text);
  box-shadow: 0 32px 120px #0008;
}
dialog::backdrop {
  background: #03070b9e;
  backdrop-filter: blur(8px);
}
.dialog-head {
  position: sticky;
  top: 0;
  background: #1a2026ed;
  backdrop-filter: blur(20px);
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  font-size: 12px;
}
.close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff0c;
  border: 1px solid #ffffff15;
  font-size: 20px;
}
.dialog-score {
  padding: 8px 32px 26px;
  background: radial-gradient(ellipse at top left, #31424b, #1a2026 70%);
}
.dialog-score .score {
  font-size: 60px;
}
.dialog-score .team-logo {
  width: 64px;
  height: 64px;
}
.dialog-score .team-name {
  font-size: 15px;
}
.dialog-copy {
  padding: 28px;
  max-width: 620px;
}
.dialog-copy h2 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.dialog-copy p {
  color: #bac3cb;
}
.match:active,
.pill:active {
  transform: scale(0.996);
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background 0.18s,
      color 0.18s;
  }
  main {
    animation: appear 0.25s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0.5;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 900px) {
  .mover {
    grid-template-columns: 16px 34px minmax(0, 1fr) 62px;
    gap: 10px;
    padding: 15px;
  }
  .mover img {
    width: 34px;
    height: 34px;
  }
  .spark {
    display: none;
  }
  .league-grid {
    grid-template-columns: 1fr;
  }
  .league-strip {
    grid-template-columns: 1fr 1fr;
  }
  .nav-wrap {
    gap: 35px;
  }
  .score {
    font-size: 36px;
  }
  .scoreline {
    gap: 10px;
  }
  .team-logo {
    width: 42px;
    height: 42px;
  }
  .match {
    padding: 20px;
  }
  .editorial {
    grid-template-columns: 1.4fr 1fr;
  }
}
@media (max-width: 620px) {
  .nav-wrap {
    height: 64px;
    padding: 0 20px;
    gap: 26px;
  }
  .brand img {
    width: 49px;
  }
  nav {
    gap: 20px;
  }
  nav a {
    font-size: 12px;
  }
  .preview-label {
    font-size: 0;
  }
  .preview-label i {
    margin: 0;
  }
  main {
    padding: 0 20px;
  }
  .hero {
    padding: 36px 0 26px;
    gap: 16px;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero p {
    font-size: 13px;
    max-width: 240px;
  }
  .hero > .week-pill {
    margin-top: 8px;
    padding: 8px 10px;
    font-size: 10px;
  }
  .group {
    grid-template-columns: 1fr;
  }
  .match:nth-child(n) {
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .match:last-child {
    border-bottom: 0;
  }
  .score {
    font-size: 43px;
  }
  .team-logo {
    width: 48px;
    height: 48px;
  }
  .scoreline {
    gap: 14px;
  }
  .teams {
    gap: 20px;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .editorial,
  .movers {
    grid-template-columns: 1fr;
  }
  .story {
    padding: 26px;
    min-height: 260px;
  }
  .story h2 {
    font-size: 29px;
  }
  .aside-stack {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .note-card {
    padding: 20px;
  }
  .note-card h3 {
    font-size: 17px;
  }
  .content-section {
    margin-top: 36px;
  }
  .league-hero {
    display: block;
  }
  .league-hero h1 {
    font-size: 32px;
  }
  .league-hero .identity {
    gap: 16px;
  }
  .identity > img {
    width: 43px;
    height: 56px;
  }
  .league-select {
    margin-top: 20px;
    width: 100%;
  }
  .controls {
    gap: 8px;
  }
  .tabs {
    gap: 0;
  }
  .tabs button {
    padding: 8px 10px;
  }
  .player-row {
    padding: 12px 10px;
    gap: 5px;
    grid-template-columns: minmax(0, 1fr) 32px 27px 32px minmax(0, 1fr);
  }
  .player img {
    width: 26px;
    height: 26px;
  }
  .player {
    gap: 5px;
  }
  .player b {
    font-size: 10px;
  }
  .player small {
    font-size: 8px;
  }
  .player-points {
    font-size: 18px;
  }
  .player-points small {
    font-size: 13px;
  }
  .league-grid .score {
    font-size: 43px;
  }
  .lineup-title {
    padding: 16px;
  }
  .mover {
    grid-template-columns: 20px 40px minmax(0, 1fr) 60px 65px;
    padding: 15px 18px;
  }
  .mover img {
    width: 40px;
    height: 40px;
  }
  .spark {
    display: block;
    width: 60px;
  }
  .league-tile {
    padding: 20px 16px;
  }
  .dialog-score {
    padding: 8px 20px 24px;
  }
  .dialog-score .score {
    font-size: 45px;
  }
  .dialog-score .team-logo {
    width: 42px;
    height: 42px;
  }
  .dialog-score .team-name {
    font-size: 12px;
  }
  footer {
    margin-top: 40px;
    padding: 28px 20px;
  }
  .bottom-feature {
    align-items: flex-start;
    gap: 16px;
  }
  .bottom-feature h3 {
    font-size: 18px;
  }
}
@media (max-width: 370px) {
  .mover {
    grid-template-columns: 16px 34px minmax(0, 1fr) 65px;
  }
  .spark {
    display: none;
  }
  .scoreline {
    gap: 7px;
  }
  .team-logo {
    width: 38px;
    height: 38px;
  }
}
@font-face {
  font-family: CFNScore;
  src: local("AvenirNextCondensed-DemiBold");
  font-weight: 600 700;
  font-style: normal;
}
@font-face {
  font-family: CFNScore;
  src: local("AvenirNextCondensed-Medium");
  font-weight: 400 500;
  font-style: normal;
}
.score,
.projection,
.player-points,
.change {
  font-family: CFNScore, "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-style: normal;
}
.score {
  font-weight: 600;
}
.projection,
.player-points,
.change {
  font-weight: 500;
}
.featured-single {
  grid-template-columns: 1fr;
}
.featured-single .match {
  border: 0;
}
@media (max-width: 620px) {
  .section-head > .text-link {
    font-size: 10px;
    text-align: right;
    max-width: 145px;
  }
  .hero:not(.league-hero) {
    position: relative;
    padding-top: 63px;
  }
  .hero > .week-pill {
    position: absolute;
    right: 0;
    top: 24px;
    margin: 0;
  }
  .hero .eyebrow {
    margin-top: 2px;
  }
  .hero p {
    max-width: none;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
}
/* Preview v2: semantic performance colors, complete navigation, light appearance. */
:root {
  --good: #a4ff00;
  --bad: #ff2d55;
  --panel: #171c21;
  --soft: #ffffff08;
  --control: #ffffff0d;
  --control-border: #ffffff19;
  --header: #111519d9;
  --secondary: #c0c7cf;
  --gold: #d5b878;
  --focus: #59d3c1;
}
.theme-switch {
  flex: none;
  border: 1px solid var(--control-border);
  background: var(--control);
  border-radius: 99px;
  padding: 7px 12px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}
.theme-switch + .preview-label {
  margin-left: 0;
}
.nav-wrap {
  gap: 44px;
}
.more-nav {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.more-nav summary {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
.more-nav summary::-webkit-details-marker,
.league-tools summary::-webkit-details-marker {
  display: none;
}
.more-nav.selected summary,
.more-nav[open] summary {
  color: var(--text);
}
.more-pop {
  position: absolute;
  right: -170px;
  top: 65px;
  width: 310px;
  padding: 8px;
  background: var(--header);
  backdrop-filter: blur(24px);
  border: 1px solid var(--control-border);
  border-radius: 20px;
  box-shadow: 0 18px 50px #0003;
}
.more-pop a {
  height: auto;
  display: block;
  border: 0;
  padding: 15px 16px;
  border-radius: 13px;
}
.more-pop a:hover {
  background: var(--control);
}
.more-pop strong {
  font-size: 13px;
  font-weight: 550;
  color: var(--text);
}
.more-pop small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}
.expanded-controls {
  position: relative;
  gap: 10px;
  overflow: visible;
}
.expanded-controls .tabs {
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
}
.tab-link,
.league-tools > summary {
  font-size: 12px;
  border-radius: 99px;
  padding: 9px 14px;
  white-space: nowrap;
  color: var(--muted);
  cursor: pointer;
}
.tab-link.active,
.league-tools > summary.active,
.league-tools[open] > summary {
  color: var(--text);
  background: var(--control);
  box-shadow: inset 0 0 0 1px var(--line);
}
.league-tools summary {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
}
.tool-menu {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 25px;
  background: var(--header);
  backdrop-filter: blur(24px);
  border: 1px solid var(--control-border);
  border-radius: 22px;
  box-shadow: 0 18px 60px #0003;
}
.tool-menu .eyebrow {
  font-size: 9px;
  margin: 0 8px 12px;
}
.tool-menu a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 12px;
}
.tool-menu a:hover {
  background: var(--control);
}
.tool-menu a span {
  color: var(--muted);
}
.tool-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
}
.tool-heading h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 8px 0 0;
}
.archive-label {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-row label,
.field-label {
  font-size: 12px;
  color: var(--muted);
}
.filter-row > span {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}
select,
input[type="search"],
textarea {
  font: inherit;
  color: var(--text);
  border: 1px solid var(--control-border);
  background: var(--panel);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  max-width: 100%;
}
.filter-row input {
  margin-left: auto;
  min-width: 180px;
}
textarea {
  resize: vertical;
  width: 100%;
  margin: 10px 0 14px;
}
.trade-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.trade-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}
.trade-date {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.trade-sides {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr);
  padding: 24px;
  gap: 15px;
}
.trade-sides h3 {
  font-size: 16px;
  line-height: 1.3;
  height: 42px;
  letter-spacing: -0.02em;
  margin: 6px 0 12px;
}
.trade-arrow {
  align-self: center;
  text-align: center;
  color: var(--muted);
  font-size: 23px;
}
.receive {
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin: 14px 0;
}
.asset-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin-top: 12px;
}
.avatar {
  width: 34px;
  height: 34px;
  object-fit: cover;
  flex: none;
  border-radius: 50%;
  background: var(--soft);
}
.fallback {
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted);
  font-weight: 550;
}
.waiver-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.waiver-card + .waiver-card {
  border-top: 1px solid var(--line);
}
.waiver-card summary {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 19px 24px;
  list-style: none;
  cursor: pointer;
}
.waiver-card b {
  font-size: 13px;
  font-weight: 550;
  display: block;
}
.waiver-card small {
  font-size: 11px;
  color: var(--muted);
  display: block;
}
.waiver-team {
  margin-left: auto;
  text-align: right;
}
.bid {
  font:
    600 25px CFNScore,
    sans-serif;
  min-width: 48px;
  text-align: right;
}
.disclosure {
  font-size: 13px;
  color: var(--muted);
  margin-left: auto;
}
.waiver-card .disclosure {
  margin-left: 5px;
}
.bid-detail {
  padding: 0 24px 20px 74px;
  max-width: 700px;
}
.bid-detail > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.status-tag {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 10px;
  color: var(--muted);
  margin-left: 8px;
}
.history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.champion-card {
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.champion-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  color: var(--muted);
  font-family: CFNScore, sans-serif;
  font-size: 28px;
}
.trophy {
  display: block;
  color: var(--gold);
  font-size: 42px;
  line-height: 1.2;
}
.champion-card h3 {
  font-size: 25px;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 10px 0;
}
.champion-card p {
  font-size: 12px;
  color: var(--muted);
}
.history-podium {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.history-podium div {
  padding-top: 15px;
}
.history-podium span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.history-podium b {
  font-size: 12px;
  font-weight: 550;
}
.champion-card details {
  font-size: 11px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.champion-card summary {
  cursor: pointer;
  color: var(--secondary);
}
.record-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rule-list {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
}
.rule-card + .rule-card {
  border-top: 1px solid var(--line);
}
.rule-card summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
}
.rule-number {
  font:
    500 22px CFNScore,
    sans-serif;
  color: var(--muted);
}
.rule-body {
  padding: 0 24px 20px 64px;
  max-width: 850px;
}
.rule-body p {
  font-size: 13px;
  color: var(--secondary);
  line-height: 1.7;
}
.rule-emphasis {
  border-left: 2px solid var(--line);
  padding-left: 14px;
}
.award-grid {
  max-width: 870px;
  margin: auto;
}
.award-card {
  padding: 40px;
  background:
    radial-gradient(ellipse at top, #ba9d4920, transparent 65%), var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  text-align: center;
}
.award-card .trophy {
  margin: 24px 0 12px;
  font-size: 60px;
}
.award-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
  margin: 0;
}
.award-card h2 {
  font-size: 38px;
  letter-spacing: -0.035em;
  margin: 10px 0;
}
.award-card > p {
  color: var(--muted);
}
.award-stats {
  display: flex;
  justify-content: center;
  gap: 55px;
  margin: 30px 0;
}
.award-stats strong {
  display: block;
  font:
    600 35px CFNScore,
    sans-serif;
}
.award-stats span {
  font-size: 11px;
  color: var(--muted);
}
.award-note {
  font-size: 13px;
  max-width: 610px;
  line-height: 1.7;
  margin: 0 auto 30px;
}
.award-players {
  display: flex;
  justify-content: center;
  gap: 25px;
  text-align: left;
}
.award-players > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.award-players small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.table-wrap td:last-child {
  max-width: 420px;
}
.picks-table th,
.picks-table td {
  padding: 14px;
  text-align: center !important;
  font-size: 12px;
}
.picks-table tbody th {
  text-align: left !important;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  font-weight: 500;
  border-top: 1px solid var(--line);
}
.picks-table th:first-child,
.draft-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--surface);
  min-width: 210px;
}
.pick-count {
  border: 1px solid var(--control-border);
  background: var(--soft);
  border-radius: 8px;
  width: 30px;
  height: 30px;
  font-size: 12px;
}
.pick-count.multiple {
  background: var(--control);
  border-color: var(--muted);
  font-weight: 700;
}
.pick-count:hover {
  border-color: var(--accent);
}
.muted {
  color: var(--muted);
}
.draft-table th:first-child {
  min-width: 65px;
}
.draft-table td {
  min-width: 150px;
  text-align: left !important;
  padding: 16px;
}
.draft-table td b {
  display: block;
  font-size: 12px;
  margin: 9px 0 4px;
  max-width: 145px;
  white-space: normal;
}
.draft-table td small {
  color: var(--muted);
  font-size: 10px;
}
.draft-table td .slot {
  padding: 4px 7px;
}
.protected-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  margin-top: 24px;
}
.protected-grid > div {
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
}
.protected-grid b {
  font-size: 12px;
  font-weight: 550;
}
.protected-grid small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.lock-mark {
  margin-left: auto;
  color: var(--muted);
}
.ranking-list {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
}
.ranking-list > div {
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 25px 1fr 150px 35px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.ranking-list b {
  font-size: 13px;
}
.ranking-list small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.ranking-list strong {
  font:
    500 25px CFNScore,
    sans-serif;
  text-align: right;
}
.strength-track {
  height: 4px;
  background: var(--line);
  border-radius: 9px;
}
.strength-track i {
  display: block;
  height: 100%;
  background: #7e9ca5;
  border-radius: 9px;
}
.team-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-bottom: 24px;
}
.team-summary h3 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.025em;
}
.team-summary p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 12px;
}
.team-summary > .score {
  margin-left: auto;
  text-align: right;
}
.team-summary .projection {
  display: block;
}
.trade-builder,
.commish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.trade-builder select {
  width: 100%;
  margin: 10px 0;
}
.trade-builder label {
  font-size: 12px;
}
.asset-choice {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.asset-choice input {
  accent-color: var(--accent);
}
.asset-choice small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.proposal-summary {
  padding: 25px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-top: 22px;
  font-size: 13px;
}
.proposal-summary p,
.proposal-summary small {
  color: var(--muted);
}
.exposure-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.exposure-list > div {
  display: grid;
  grid-template-columns: 38px minmax(160px, 1fr) 2fr 55px;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.exposure-list b {
  font-size: 13px;
}
.exposure-list small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.exposure-leagues {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.exposure-leagues a {
  display: flex;
  gap: 7px;
  align-items: center;
  background: var(--soft);
  border-radius: 99px;
  padding: 5px 9px;
  font-size: 10px;
}
.exposure-leagues img {
  width: 16px;
  height: 18px;
  object-fit: contain;
}
.exposure-list strong {
  text-align: right;
  font:
    500 26px CFNScore,
    sans-serif;
}
.studio-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
  align-items: start;
}
.studio-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at top left, #324c5555, transparent 70%),
    var(--surface);
}
.studio-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  font-size: 12px;
  color: var(--secondary);
}
.studio-brand img {
  width: 58px;
}
.studio-starters {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.studio-starters .player-row {
  padding-left: 0;
  padding-right: 0;
}
.studio-signature {
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.25em;
  color: var(--muted);
  padding-top: 28px;
}
.studio-award {
  text-align: center;
  padding: 35px 0;
}
.studio-award h2 {
  font-size: 36px;
  letter-spacing: -0.03em;
}
.studio-award p {
  color: var(--muted);
}
.studio-award .trophy {
  font-size: 60px;
  margin-bottom: 20px;
}
.resource-link {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.resource-link:first-child {
  margin-top: 24px;
}
.resource-link:hover {
  color: var(--accent);
}
.announcement {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 20px;
}
.announcement p {
  overflow-wrap: anywhere;
  white-space: normal;
}
.empty-state {
  padding: 40px;
}
.archive-note {
  line-height: 1.7;
  max-width: 850px;
}
header {
  background: var(--header);
}
.tab-link:hover {
  background: var(--soft);
}
.card-label {
  color: var(--secondary);
}
.filter-row select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
/* Light mode keeps the same semantic roles, with deeper text colors for contrast. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f6f8;
  --surface: #ffffff;
  --raised: #edf0f3;
  --panel: #ffffff;
  --text: #1b232b;
  --muted: #626f7b;
  --secondary: #485662;
  --line: #152b4214;
  --soft: #18344b05;
  --control: #18344b09;
  --control-border: #152b4220;
  --header: #f9fafce8;
  --accent: #087f75;
  --focus: #087f75;
  --good: #427000;
  --bad: #c81446;
  --gold: #8e681e;
}
[data-theme="light"] .group,
[data-theme="light"] .lineup-panel,
[data-theme="light"] .mover-group,
[data-theme="light"] .table-wrap {
  box-shadow: 0 5px 20px #162a3b03;
}
[data-theme="light"] .pill,
[data-theme="light"] .week-pill {
  background: linear-gradient(#ffffffdc, #eaf0f4a6);
  border-color: var(--control-border);
  box-shadow: 0 1px 0 #fff inset;
}
[data-theme="light"] .match:hover {
  background: #19374c03;
}
[data-theme="light"] .odds strong {
  color: #4a5865;
}
[data-theme="light"] .track {
  background: #1a344414;
}
[data-theme="light"] .track .fill {
  background: #688e98;
}
[data-theme="light"] .track .ball {
  background: #577c87;
}
[data-theme="light"] .story {
  background: linear-gradient(125deg, #e5edf2, #ffffff 80%);
}
[data-theme="light"] .story p {
  color: #546472;
}
[data-theme="light"] .note-card,
[data-theme="light"] .league-tile,
[data-theme="light"] .mini-table {
  background: #fff;
}
[data-theme="light"] .league-tile span {
  color: #526573;
}
[data-theme="light"] .league-select {
  background: #fff;
  color: var(--text);
}
[data-theme="light"] .tabs button.active {
  background: var(--control);
  color: var(--text);
}
[data-theme="light"] .slot {
  background: #16344d06;
  border-color: #18374e12;
  color: #2161a0;
}
[data-theme="light"] .slot.RB {
  color: #24795e;
}
[data-theme="light"] .slot.WR {
  color: #a65a20;
}
[data-theme="light"] .slot.TE {
  color: #87579c;
}
[data-theme="light"] .slot.FLX,
[data-theme="light"] .slot.WRT {
  color: #665c9c;
}
[data-theme="light"] .slot.K,
[data-theme="light"] .slot.DEF {
  color: #806716;
}
[data-theme="light"] dialog {
  background: #fff;
  border-color: var(--control-border);
}
[data-theme="light"] .dialog-head {
  background: #ffffffed;
}
[data-theme="light"] .dialog-score {
  background: radial-gradient(ellipse at top left, #dce8ed, #ffffff 75%);
}
[data-theme="light"] .close {
  background: var(--control);
  border-color: var(--control-border);
}
[data-theme="light"] .dialog-copy p {
  color: var(--secondary);
}
[data-theme="light"] .player img,
[data-theme="light"] .mover img {
  background: #e9edf0;
}
[data-theme="light"] .award-card {
  background: radial-gradient(ellipse at top, #f8edcf, transparent 75%), #fff;
}
[data-theme="light"] .studio-card {
  background:
    radial-gradient(ellipse at top left, #deebef, transparent 75%), #fff;
}
[data-theme="light"] .brand img,
[data-theme="light"] .studio-brand img {
  filter: brightness(0.64) saturate(1.35);
}
@media (max-width: 1000px) {
  .trade-list {
    grid-template-columns: 1fr;
  }
  .tool-menu {
    grid-template-columns: repeat(2, 1fr);
  }
  .preview-label {
    display: none;
  }
  .nav-wrap {
    gap: 35px;
  }
  .history-grid {
    grid-template-columns: 1fr 1fr;
  }
  .protected-grid {
    grid-template-columns: 1fr 1fr;
  }
  .expanded-controls .tabs {
    gap: 0;
  }
  .tab-link,
  .league-tools > summary {
    padding: 9px 10px;
  }
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .record-grid {
    grid-template-columns: 1fr 1fr;
  }
  .studio-grid > aside {
    display: none;
  }
}
@media (max-width: 620px) {
  .nav-wrap {
    gap: 20px;
    padding: 0 18px;
  }
  nav {
    gap: 16px;
  }
  .more-nav summary {
    font-size: 12px;
  }
  .theme-switch {
    padding: 6px 9px;
    font-size: 14px;
  }
  .theme-switch span {
    display: none;
  }
  .theme-switch {
    margin-left: auto;
  }
  .more-pop {
    position: fixed;
    top: 62px;
    left: 14px;
    right: 14px;
    width: auto;
  }
  .expanded-controls {
    display: block;
  }
  .expanded-controls .week-pill {
    display: none;
  }
  .expanded-controls .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .tab-link,
  .league-tools > summary {
    font-size: 11px;
    padding: 9px 11px;
  }
  .tool-menu {
    top: 100%;
    left: 0;
    right: 0;
    padding: 17px;
    gap: 18px 12px;
    max-height: 65vh;
    overflow: auto;
  }
  .tool-menu a {
    font-size: 11px;
    padding: 9px 5px;
  }
  .tool-menu .eyebrow {
    font-size: 8px;
    margin-left: 5px;
  }
  .tool-heading {
    display: block;
    margin-bottom: 22px;
  }
  .tool-heading h2 {
    font-size: 27px;
  }
  .archive-label {
    display: block;
    text-align: left;
    margin-top: 9px;
  }
  .filter-row {
    gap: 9px;
  }
  .filter-row select {
    max-width: 100%;
    font-size: 12px;
  }
  .filter-row input {
    width: 100%;
    margin-left: 0;
  }
  .filter-row > span {
    margin: 0;
    width: 100%;
  }
  .trade-sides {
    padding: 20px 16px;
    gap: 7px;
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  }
  .trade-sides h3 {
    font-size: 14px;
    height: 38px;
  }
  .trade-sides .eyebrow {
    font-size: 9px;
  }
  .asset-row {
    gap: 7px;
    font-size: 11px;
  }
  .avatar {
    width: 30px;
    height: 30px;
  }
  .asset-row .avatar {
    width: 26px;
    height: 26px;
  }
  .trade-date {
    padding: 14px 16px;
    font-size: 10px;
  }
  .receive {
    font-size: 9px;
    line-height: 1.5;
  }
  .waiver-card summary {
    display: grid;
    grid-template-columns: 30px 1fr 42px 12px;
    gap: 9px;
    padding: 17px 14px;
  }
  .waiver-team {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    margin: 0;
  }
  .waiver-team b {
    font-size: 11px;
    font-weight: 400;
  }
  .waiver-team small {
    display: none;
  }
  .waiver-card summary > .bid {
    grid-column: 3;
    grid-row: 1 / 3;
  }
  .waiver-card summary > .disclosure {
    grid-column: 4;
    grid-row: 1 / 3;
  }
  .waiver-card b {
    font-size: 12px;
  }
  .waiver-card small {
    font-size: 10px;
  }
  .bid-detail {
    padding: 0 18px 20px;
  }
  .history-grid,
  .record-grid {
    grid-template-columns: 1fr;
  }
  .champion-card {
    padding: 25px;
  }
  .champion-top {
    margin-bottom: 22px;
  }
  .rule-card summary {
    padding: 19px 17px;
    font-size: 14px;
    gap: 14px;
  }
  .rule-body {
    padding: 0 20px 20px;
  }
  .award-card {
    padding: 28px 20px;
  }
  .award-card h2 {
    font-size: 30px;
  }
  .award-stats {
    gap: 30px;
  }
  .award-stats strong {
    font-size: 30px;
  }
  .award-players {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .protected-grid {
    grid-template-columns: 1fr;
  }
  .ranking-list > div {
    padding: 16px;
    grid-template-columns: 20px 1fr 35px;
    gap: 12px;
  }
  .strength-track {
    display: none;
  }
  .team-summary {
    padding: 20px;
    gap: 12px;
  }
  .team-summary h3 {
    font-size: 18px;
  }
  .team-summary .score {
    font-size: 32px;
  }
  .team-summary .team-logo {
    width: 40px;
    height: 40px;
  }
  .trade-builder,
  .commish-grid {
    grid-template-columns: 1fr;
  }
  .exposure-list > div {
    grid-template-columns: 32px 1fr 40px;
    gap: 12px;
    padding: 18px 16px;
  }
  .exposure-leagues {
    grid-column: 2 / 4;
    grid-row: 2;
  }
  .exposure-list > div > strong {
    grid-column: 3;
    grid-row: 1;
  }
  .exposure-leagues a {
    font-size: 9px;
  }
  .studio-card {
    padding: 20px 16px;
  }
  .studio-brand {
    font-size: 10px;
  }
  .studio-card .score {
    font-size: 33px;
  }
  .studio-card .team-logo {
    width: 34px;
    height: 34px;
  }
  .studio-card .scoreline {
    gap: 8px;
  }
  .studio-card .player-row {
    grid-template-columns: minmax(0, 1fr) 28px 22px 28px minmax(0, 1fr);
    gap: 4px;
  }
  .studio-starters .player img {
    display: none;
  }
  .picks-table th:first-child {
    min-width: 150px;
    max-width: 150px;
    white-space: normal;
  }
  .draft-table th:first-child {
    min-width: 50px;
  }
  .picks-wrap table {
    width: max-content;
    min-width: 100%;
  }
}
@media (max-width: 370px) {
  .nav-wrap {
    gap: 15px;
  }
  nav {
    gap: 12px;
  }
  .brand img {
    width: 42px;
  }
  .tab-link,
  .league-tools > summary {
    padding: 9px;
  }
  .theme-switch {
    padding: 5px 7px;
  }
}

/* Long context labels wrap inside compact editorial cards. */
.editorial > * {
  min-width: 0;
}
.story > .pill {
  max-width: 100%;
  white-space: normal;
}

[data-theme="light"] img[src="assets/image-21.png"] {
  background: #202830;
  border-radius: 6px;
  padding: 3px;
}
.pick-choices {
  border: 0;
  padding: 0;
  margin: 25px 0;
}
.pick-choices legend {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.pick-choices label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.pick-choices input {
  accent-color: var(--accent);
}
.pick-choices .team-logo {
  width: 36px;
  height: 36px;
}
/* Candidate: readable web typography and a single data-aware navigation. */
body {
  font-size: 16px;
}
.hero p,
.story p,
.note-card p,
.rule-body,
.archive-note {
  font-size: 16px;
  line-height: 1.6;
}
nav a,
.more-nav summary,
.tab-link,
.league-tools > summary,
.filter-row select,
.filter-row label,
.resource-link,
.tool-menu a {
  font-size: 14px;
}
.league-directory h2 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}
.league-directory p {
  color: var(--muted);
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 30px;
}
.directory-grid h3 {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.directory-grid a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.directory-grid a:hover {
  color: var(--accent);
}
.original-feature {
  display: inline-block;
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.original-feature:hover {
  color: var(--text);
}
.card-freshness {
  font-size: 10px;
  color: var(--muted);
  margin-top: 15px;
}
.week-control select {
  font: inherit;
  font-size: 14px;
  border: 1px solid var(--control-border);
  border-radius: 99px;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  max-width: 100%;
}
.team-link {
  font: inherit;
  border: 0;
  background: none;
  text-align: left;
  padding: 6px 0;
}
.team-link:hover {
  color: var(--accent);
}
.mover {
  grid-template-columns: 24px 40px minmax(0, 1fr) auto;
}
.mover > div {
  min-width: 0;
}
.mover b {
  overflow-wrap: anywhere;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 30;
  background: var(--surface);
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.studio-grid > aside {
  display: block;
}
.group .match:only-child {
  border: 0;
}
.group:has(.match:only-child) {
  grid-template-columns: 1fr;
}
.group .match:nth-child(n) {
  border-bottom: 1px solid var(--line);
}
.group .match:last-child {
  border-bottom: 0;
}
.group .match:nth-last-child(2):nth-child(odd) {
  border-bottom: 0;
}
.match .scoreline > div {
  min-width: 0;
}
.match .score {
  font-size: clamp(30px, 3.5vw, 43px);
}
@media (max-width: 800px) {
  .directory-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-wrap {
    gap: 24px;
  }
  .hero {
    align-items: flex-start;
  }
  .hero .week-control {
    flex-shrink: 0;
  }
  .week-control select {
    font-size: 12px;
  }
  .studio-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .nav-wrap {
    gap: 14px;
  }
  nav {
    gap: 14px;
  }
  .nav-wrap .brand img {
    width: 42px;
  }
  .hero {
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 38px;
  }
  .expanded-controls .tabs {
    gap: 0;
  }
  .tab-link,
  .league-tools > summary {
    font-size: 13px;
    padding: 10px;
  }
  .expanded-controls .week-control {
    display: block;
    margin: 12px 0;
  }
  .directory-grid {
    gap: 22px 18px;
  }
  .directory-grid a {
    font-size: 14px;
  }
  .match .score {
    font-size: 36px;
  }
  .group .match:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .group .match:last-child {
    border-bottom: 0;
  }
  .studio-grid > aside {
    display: block;
  }
  .section-head {
    align-items: flex-start;
  }
  .section-head .text-link {
    max-width: 45%;
    text-align: right;
  }
  .hero p,
  .story p,
  .note-card p {
    font-size: 16px;
  }
  .more-nav summary {
    font-size: 13px;
  }
  .more-pop a {
    display: block;
  }
  .week-control select {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.team-monogram {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--raised);
  border: 1px solid var(--control-border);
  font-size: 17px;
  font-weight: 600;
  color: var(--secondary);
}

.table-wrap td {
  font-size: 14px;
}
.table-wrap th {
  font-size: 12px;
}
.team-name {
  font-size: 14px;
  height: 38px;
}
.card-label {
  font-size: 14px;
}
@media (max-width: 620px) {
  .match {
    padding: 20px 16px;
  }
  .match .team-logo {
    width: 34px;
    height: 34px;
  }
  .match .scoreline {
    gap: 8px;
  }
  .match .teams {
    gap: 16px;
  }
  .match .score {
    font-size: 32px;
  }
  .match .team-name {
    font-size: 13px;
  }
  .match .card-label {
    font-size: 13px;
  }
  .match .team-monogram {
    font-size: 13px;
  }
}

/* Draft selections are keyed by round and pick, never by current team owner. */
.draft-pick { min-width:130px; padding:6px; display:flex; flex-direction:column; gap:5px; }
.draft-owner { font-size:11px; color:var(--muted); white-space:normal; }
.draft-pick .slot { width:fit-content; }
.auction-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; }
.auction-grid .draft-pick { border-top:1px solid var(--line); }
/* League identities retain their own palettes; controls remain quiet. */
.league-pop{left:-40px;right:auto;top:calc(100% - 1px);width:320px;z-index:25}
.league-pop a{display:flex;align-items:center;gap:16px;min-height:62px}
.league-pop img,.league-pop a>span{width:52px;height:40px;object-fit:contain;flex-shrink:0}
.league-pop a>span{display:grid;place-items:center;font-weight:750;font-size:15px;color:var(--text)}
.identity>img[src*="leagues/sts"]{width:112px}
.card-label img[src*="leagues/sts"]{width:48px;object-fit:contain}
.page-actions{max-width:1240px;margin:18px auto -22px;padding:0 28px;display:flex;align-items:center;justify-content:flex-end;gap:12px;min-height:34px}
.share-page{border:1px solid var(--control-border);background:var(--control);color:var(--text);border-radius:24px;padding:8px 14px;font:500 12px system-ui;cursor:pointer;white-space:nowrap}
.share-page:hover{background:var(--surface)}
#share-status{font-size:12px;color:var(--muted)}
.dialog-head .share-page{margin-left:auto;margin-right:12px}
.share-fallback{display:flex;gap:8px;max-width:100%;padding:8px}.share-fallback input{min-width:0;width:300px}
@media(max-width:600px){.league-pop{position:fixed;left:12px;right:12px;top:66px;width:auto}.page-actions{margin:10px 0 -14px;padding:0 20px}.dialog-head .share-page{margin-right:5px;padding:8px}.dialog-head>span{min-width:0}}

/* Current content, shared across desktop and mobile. */
.desktop-content{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:36px;align-items:start}
.page-content{min-width:0}.news-rail{position:sticky;top:100px;max-height:calc(100vh - 120px);overflow:auto;scrollbar-width:thin;padding-top:36px}
.latest-recaps,.rail-updates{padding:20px;border:1px solid var(--line,rgba(140,150,160,.18));border-radius:22px;margin:0 0 24px;background:var(--surface,rgba(140,150,160,.04))}
.latest-recaps h2,.rail-updates h2{font-size:23px;margin:8px 0 15px}.recap-rail-card{display:flex;gap:12px;align-items:center;padding:14px 0;text-decoration:none;color:inherit}.recap-rail-card img{width:36px;height:36px;object-fit:contain}.recap-rail-card strong,.recap-rail-card small{display:block}.recap-rail-card strong{font-size:14px}.recap-rail-card small{font-size:12px;opacity:.65;margin-top:5px}
.rail-news{display:block;padding:14px 0;border-bottom:1px solid var(--line,rgba(140,150,160,.18));color:inherit;text-decoration:none}.rail-news>div{display:flex;gap:8px;align-items:center;margin-bottom:8px}.rail-news .avatar{width:30px;height:30px}.rail-news small{font-size:11px;opacity:.65}.rail-news strong{font-size:14px;font-weight:500;line-height:1.5}.rail-updates .section-head{flex-wrap:wrap;gap:8px}.rail-updates .text-link{font-size:12px}
.home-recaps-mobile{display:none}.page-content>.latest-recaps{margin-top:24px}.market-filters{display:flex;gap:16px;margin:24px 0}.market-filters label{display:grid;gap:8px;font-size:13px}.market-filters input,.market-filters select{font:inherit;color:inherit;background:var(--surface,transparent);border:1px solid var(--line,#777);border-radius:12px;padding:12px}.market-player{display:flex;gap:10px;align-items:center}.market-player img{width:38px;height:38px;object-fit:contain;border-radius:50%}.market-player small{display:block;opacity:.6}.full-market td{padding:12px}.full-market tr[hidden]{display:none}
@media(min-width:1101px){.desktop-content .group{grid-template-columns:1fr}.desktop-content .hero h1{font-size:clamp(36px,4vw,58px)}}
@media(max-width:1100px){.desktop-content{display:block}.news-rail{display:none}.home-recaps-mobile{display:block;margin-top:28px}}
@media(max-width:600px){.market-filters{flex-wrap:wrap}.full-market th,.full-market td{padding:10px 5px;font-size:12px}.market-player img{width:28px;height:28px}.market-player{gap:6px}}
[data-theme="light"] .recap-rail-card .recap-league{background:#18232b;border-radius:9px;padding:4px;box-sizing:border-box}

/* Room for the games and a companion editorial column. */
main,.header-inner,.page-actions,footer{max-width:1680px}
header>div{max-width:1680px}
.page-intro>.hero{padding-top:34px;padding-bottom:28px}
.desktop-content{grid-template-columns:minmax(0,1fr) 350px;gap:28px}
.news-rail{padding-top:0}
.page-intro>.section-head,.page-intro>.tool-heading{margin-bottom:20px}
.desktop-content .home-headliners,.desktop-content .league-matchups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden}
.desktop-content .home-headliners .match,.desktop-content .league-matchups .match{min-width:0;padding:22px;border:0;border-bottom:1px solid var(--line)}
.desktop-content .home-headliners .match:nth-child(odd),.desktop-content .league-matchups .match:nth-child(odd){border-right:1px solid var(--line)}
.desktop-content .home-headliners .match:nth-last-child(-n+2),.desktop-content .league-matchups .match:nth-last-child(-n+2){border-bottom:0}
.home-headliners .card-label,.league-matchups .card-label{font-size:12px;gap:8px}
.home-headliners .teams,.league-matchups .teams{gap:14px}
.home-headliners .team-name,.league-matchups .team-name{font-size:13px;min-height:40px}
.home-headliners .score,.league-matchups .score{font-size:42px}
.home-headliners .team-logo,.league-matchups .team-logo{width:36px;height:36px}
.home-headliners .projection,.league-matchups .projection{font-size:19px}
.home-headliners .card-freshness,.league-matchups .card-freshness{font-size:10px}
.standings-sort{border:0;padding:4px 0;background:transparent;color:inherit;font:inherit;text-align:inherit;cursor:pointer;white-space:nowrap}
.standings-sort span{color:var(--muted);margin-left:4px}.standings-sort:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(min-width:1500px){.desktop-content .league-matchups{grid-template-columns:repeat(3,minmax(0,1fr))}.desktop-content .league-matchups .match:nth-child(n){border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px}.desktop-content .league-matchups .match:nth-child(3n){border-right:0}.desktop-content .league-matchups .match:nth-last-child(-n+3){border-bottom:0}.league-matchups .score{font-size:37px}.league-matchups .team-logo{width:30px;height:30px}.league-matchups .scoreline{gap:7px}}
@media(max-width:1100px){.desktop-content{display:block}}
@media(max-width:650px){.desktop-content .home-headliners,.desktop-content .league-matchups{grid-template-columns:1fr}.desktop-content .home-headliners .match:nth-child(n),.desktop-content .league-matchups .match:nth-child(n){border-right:0;border-bottom:1px solid var(--line);padding:22px 18px}.desktop-content .home-headliners .match:last-child,.desktop-content .league-matchups .match:last-child{border-bottom:0}.page-intro>.hero{padding-top:32px}.home-headliners .score,.league-matchups .score{font-size:44px}}
.nav-wrap{max-width:1680px}
@media(min-width:760px){.champion-card:has(.champion-road[open]) .champion-top{margin-bottom:10px}.champion-card:has(.champion-road[open]) .history-podium{display:flex;gap:40px;margin-top:16px;padding-bottom:10px}.champion-card:has(.champion-road[open]) .championship-open{max-width:380px}.champion-card:has(.champion-road[open]) .champion-road{margin-top:12px}}

/* Center the brand and primary destinations independently of utility controls. */
.primary-navigation,.navigation-utilities{display:contents}
@media(min-width:1100px){
  .nav-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px}
  .primary-navigation{grid-column:2;display:flex;align-items:center;gap:44px;height:100%}
  .navigation-utilities{grid-column:3;display:flex;align-items:center;justify-content:flex-end;gap:20px;min-width:0}
  .navigation-utilities .theme-switch{margin-left:0}
}

.playoff-promo .text-link{display:block;padding:7px 0}.playoff-promo{margin-bottom:18px}
