/* A club notebook between games; a compact broadcast console on Sunday. */
:root {
  --paper: oklch(95% 0.012 85);
  --white: oklch(98% 0.007 85);
  --ink: oklch(25% 0.025 240);
  --muted: oklch(48% 0.02 240);
  --line: oklch(83% 0.016 85);
  --border: var(--line);
  --forest: oklch(27% 0.035 230);
  --deep: oklch(20% 0.025 230);
  --lime: oklch(55% 0.16 42);
  --accent: var(--lime);
  --surface: oklch(92% 0.018 85);
  --positive: oklch(43% 0.1 155);
  --negative: oklch(48% 0.17 28);
  --shadow: none;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
button,
a,
input,
select {
  font-family: "DM Sans", sans-serif;
}
button {
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
h1,
h2 {
  font-family: "Barlow Condensed", sans-serif;
}
h1 {
  font-size: 38px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: 0;
}
h2 {
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: 0;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.3px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.positive {
  color: var(--positive);
}
.negative {
  color: var(--negative);
}
.btn {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 14px;
  border-radius: 4px;
  line-height: 1.4;
}
.btn-primary,
.btn-lime {
  background: var(--accent);
  border-color: var(--accent);
  color: oklch(98% 0.007 85);
}
.btn-primary:hover,
.btn-lime:hover {
  background: oklch(48% 0.15 42);
  border-color: oklch(48% 0.15 42);
}
.btn-secondary,
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-secondary:hover,
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--muted);
}
.text-btn {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
  min-height: 44px;
  padding: 8px 0;
  font-weight: 650;
}
.btn-small {
  font-size: 14px;
  min-height: 44px;
}
.badge,
.tag {
  font-size: 12px;
  border-radius: 3px;
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
}
input,
select {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 44px;
  font-size: 15px;
  padding: 9px 12px;
}
input[type="checkbox"] {
  min-height: 20px;
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}
.form-label,
.mg-filter,
.mg-offer label {
  font-size: 14px;
  color: var(--muted);
}
.panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.panel-head {
  background: transparent;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.panel-head h2 {
  text-transform: none;
  color: var(--ink);
}
.panel-head .icon {
  color: var(--muted);
}
.panel-body {
  padding: 20px 0;
}
.section-gap {
  margin-top: 28px;
}
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}
.data-table {
  font-size: 14px;
  color: var(--ink);
}
.data-table th {
  font-size: 12px;
  background: var(--surface);
  color: var(--muted);
  padding: 13px 14px;
  position: sticky;
  top: 0;
}
.data-table td {
  border-color: var(--line);
  padding: 13px 14px;
}
.data-table tbody tr:hover {
  background: var(--surface);
}
.data-table small,
.mg-name small {
  font-size: 12px;
}
.rating {
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
}
.mg-name {
  color: var(--ink);
  font-size: 15px;
  min-height: 44px;
}
.mg-context {
  margin: 0 0 20px;
}
.mg-context p {
  font-size: 15px;
}
.mg-metrics > div {
  background: transparent;
  border-radius: 0;
  border-color: var(--line);
}
.mg-metrics strong {
  font-size: 24px;
}
.mg-metrics span {
  font-size: 14px;
}
.mg-draft-banner {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  background: none;
}
.mg-pagination {
  padding: 15px 0;
}
.mu-roster-tabs button[aria-pressed="true"] {
  color: oklch(98% 0.007 85);
}
.mu-feedback {
  background: var(--surface);
  color: var(--ink);
}
.mg-trade-intro,
.mg-trade-value {
  background: var(--surface);
  border-color: var(--line);
}
.mg-trade-warning {
  color: var(--negative);
}
.finance-heading {
  background: transparent;
}
.mg-release {
  color: var(--negative);
}
.mg-trade .panel {
  background: var(--white);
  padding: 20px;
  border: 1px solid var(--line);
}
.mg-actions {
  gap: 8px;
}
.club-header {
  height: 76px;
  background: var(--deep);
  color: oklch(96% 0.012 85);
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid oklch(34% 0.025 230);
}
.club-wordmark {
  background: none;
  border: 0;
  color: inherit;
  font:
    800 31px "Barlow Condensed",
    sans-serif;
  letter-spacing: -1.5px;
  padding: 6px 0;
  min-width: 58px;
}
.club-wordmark span {
  color: oklch(78% 0.14 65);
}
.club-header-identity {
  display: flex;
  gap: 13px;
  align-items: center;
}
.club-disc {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--club-color);
  color: oklch(98% 0.007 85);
  font:
    700 21px "Barlow Condensed",
    sans-serif;
  border: 2px solid oklch(85% 0.01 100/0.4);
  flex-shrink: 0;
}
.club-header-identity > div {
  display: grid;
  gap: 3px;
}
.club-header-identity strong {
  font-size: 16px;
  font-weight: 650;
}
.club-header-identity div > span {
  font-size: 12px;
  color: oklch(77% 0.02 230);
}
.club-header-identity i {
  font-style: normal;
  margin: 0 5px;
}
.club-header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.club-header-tools button {
  background: transparent;
  border: 1px solid oklch(43% 0.025 230);
  color: inherit;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
}
.save-indicator {
  font-size: 12px;
  color: oklch(74% 0.035 160);
  margin-right: 15px;
}
.season-nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  background: var(--white);
  border-bottom: 1px solid var(--line);
  min-height: 60px;
}
.season-nav > button {
  border: 0;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: 15px 23px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.season-nav > button > span {
  font-size: 23px;
  line-height: 1;
}
.season-nav > button[aria-current] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.season-nav > button:hover {
  background: var(--surface);
}
.season-nav > .next-fixture-action {
  margin: 8px 0 8px auto;
  padding: 9px 18px;
  background: var(--accent);
  color: oklch(98% 0.007 85);
  border: 0;
  border-radius: 4px;
  font-size: 14px;
}
.season-nav > .next-fixture-action:hover {
  background: oklch(48% 0.15 42);
}
.section-nav {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 24px;
}
.section-nav button {
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font-size: 14px;
  padding: 12px 0;
  min-height: 48px;
}
.section-nav button[aria-current] {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--ink);
}
.game-main {
  margin: 0 auto;
  max-width: 1440px;
  padding: 28px 24px 36px;
  min-height: calc(100vh - 195px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.page-heading h1 {
  margin-top: 5px;
}
.page-heading .eyebrow {
  font-size: 12px;
}
.career-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.career-footer i {
  margin: 0 8px;
  font-style: normal;
}
.match-return {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  font-size: 13px;
  color: var(--muted);
}
.match-return button {
  background: none;
  border: 0;
  min-height: 44px;
  color: var(--ink);
  font-size: 14px;
}
.match-return i {
  font-style: normal;
  margin: 0 8px;
}
/* The week is a fixture and a short agenda, with one next-game action. */
.clubhouse-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 1fr);
  gap: 40px;
}
.week-fixture {
  background: var(--forest);
  color: oklch(96% 0.012 85);
  border-radius: 6px;
  overflow: hidden;
}
.week-fixture > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid oklch(50% 0.025 230/0.4);
  font-size: 12px;
  letter-spacing: 0.6px;
}
.week-fixture > header > span:last-child {
  color: oklch(76% 0.02 230);
  letter-spacing: 0;
}
.week-matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
}
.week-matchup > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}
.week-matchup .club-disc {
  width: 62px;
  height: 62px;
  font-size: 27px;
  margin-bottom: 10px;
}
.week-matchup h2 {
  font-size: 36px;
  margin: 2px 0 7px;
}
.week-matchup > div > span {
  font-size: 14px;
}
.week-matchup small {
  font-size: 12px;
  color: oklch(79% 0.022 230);
}
.week-versus strong {
  font:
    500 37px "Barlow Condensed",
    sans-serif;
  color: oklch(90% 0.022 85);
}
.week-versus span {
  font-size: 12px !important;
  color: oklch(77% 0.02 230);
  margin-top: 8px;
}
.fixture-report {
  border-top: 1px solid oklch(50% 0.025 230/0.4);
  padding: 17px 22px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.fixture-report p {
  font-size: 13px;
  color: oklch(80% 0.02 230);
  line-height: 1.6;
}
.fixture-report p strong {
  display: block;
  color: oklch(96% 0.012 85);
  font-weight: 600;
}
.fixture-report .text-btn {
  color: oklch(84% 0.11 70);
  white-space: nowrap;
  font-size: 13px;
}
.rest-symbol {
  font-size: 45px !important;
}
.week-news {
  margin-top: 28px;
}
.week-news > header,
.season-strip > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.week-news header span,
.season-strip header span {
  font-size: 12px;
  color: var(--muted);
}
.week-news article {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.week-news article > span {
  width: 65px;
  flex-shrink: 0;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--muted);
  padding-top: 3px;
}
.week-news article h3 {
  font-size: 16px;
  margin-bottom: 5px;
}
.week-news article p {
  font-size: 14px;
  color: var(--muted);
  max-width: 65ch;
}
.week-agenda {
  padding-top: 8px;
}
.week-agenda header h2 {
  font-size: 30px;
  margin: 7px 0;
}
.week-agenda header p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.agenda-task {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  background: none;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  text-align: left;
}
.agenda-number {
  font:
    500 25px "Barlow Condensed",
    sans-serif;
  color: var(--accent);
}
.agenda-task > span:nth-child(2) {
  flex: 1;
  display: grid;
  gap: 7px;
}
.agenda-task strong {
  font-size: 15px;
}
.agenda-task small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.agenda-task > b {
  font-size: 22px;
  color: var(--accent);
}
.agenda-task:hover {
  background: var(--surface);
}
.agenda-task.needs-attention strong {
  color: var(--negative);
}
.week-resource {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 13px;
}
.week-resource strong {
  margin-left: auto;
  font-size: 19px;
}
.week-resource .text-btn {
  font-size: 13px;
  margin-left: auto;
}
.week-needs {
  margin-top: 22px;
}
.week-needs > span {
  font-size: 13px;
  color: var(--muted);
}
.week-needs > div {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.week-needs button {
  flex: 1;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px;
  font-size: 18px;
  font-weight: 700;
}
.week-needs button span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  margin-top: 6px;
  color: var(--muted);
}
.season-strip {
  margin-top: 30px;
}
.season-strip > div {
  display: flex;
  overflow: auto;
  gap: 0;
  padding: 15px 0;
}
.season-strip button {
  flex: 1;
  min-width: 75px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 8px;
  display: grid;
  gap: 7px;
  text-align: center;
}
.season-strip button small {
  font-size: 11px;
  color: var(--muted);
}
.season-strip button strong {
  font-size: 14px;
}
.season-strip button span {
  font-size: 11px;
  color: var(--muted);
}
.season-strip button.current {
  background: var(--forest);
  color: oklch(96% 0.012 85);
}
.season-strip button.current small,
.season-strip button.current span {
  color: oklch(82% 0.018 85);
}
.season-strip button.won span {
  color: var(--positive);
}
.season-strip button.lost span {
  color: var(--negative);
}
/* Broadcast: score, field, decisions and players occupy one playing surface. */
.match-main {
  padding-top: 18px;
}
.scorebug {
  background: var(--deep);
  color: oklch(96% 0.012 85);
  border-radius: 6px 6px 0 0;
  padding: 12px 22px 17px;
}
.scorebug-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: oklch(76% 0.02 230);
  margin-bottom: 10px;
}
.match-status {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.match-status:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: oklch(72% 0.04 85);
}
.match-status.is-playing {
  color: oklch(83% 0.14 150);
}
.match-status.is-playing:before {
  background: currentColor;
}
.scorebug-teams {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}
.scorebug-team {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
}
.scorebug-team:last-child {
  flex-direction: row-reverse;
  text-align: right;
}
.scorebug-team > span:not(.club-disc) {
  display: grid;
  gap: 0;
  flex: 1;
}
.scorebug-team small {
  font-size: 12px;
  color: oklch(79% 0.02 230);
}
.scorebug-team strong {
  font:
    600 29px "Barlow Condensed",
    sans-serif;
  line-height: 1.2;
}
.scorebug-team > b {
  font:
    600 46px "Barlow Condensed",
    sans-serif;
}
.scorebug-team i {
  font-style: normal;
  font-size: 11px;
  color: oklch(82% 0.14 70);
  position: absolute;
  bottom: -7px;
  left: 62px;
}
.scorebug-team:last-child i {
  left: auto;
  right: 62px;
}
.scorebug-clock {
  text-align: center;
  display: grid;
  gap: 0;
  border-inline: 1px solid oklch(39% 0.025 230);
}
.scorebug-clock > span {
  font-size: 10px;
  letter-spacing: 1px;
  color: oklch(79% 0.02 230);
}
.scorebug-clock strong {
  font:
    600 31px "Barlow Condensed",
    sans-serif;
  line-height: 1.2;
}
.scorebug-clock small {
  font-size: 12px;
  color: oklch(83% 0.12 70);
  font-weight: 700;
}
.broadcast-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  position: sticky;
  top: 0;
  z-index: 8;
}
.broadcast-controls .btn {
  min-height: 42px;
  font-size: 14px;
  padding: 9px 15px;
}
.playback-button {
  min-width: 135px;
}
.pace-control {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  margin-left: 8px;
}
.pace-control select {
  padding: 7px 10px;
  min-height: 40px;
  font-size: 14px;
}
.control-note {
  font-size: 12px;
  color: var(--muted);
  margin-left: 12px;
}
.finish-btn {
  margin-left: auto;
  font-size: 13px;
}
.broadcast-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 20px;
  align-items: start;
}
.broadcast-action {
  min-width: 0;
}
.broadcast-pitch {
  background: oklch(25% 0.04 155);
  color: oklch(94% 0.015 100);
  padding: 14px;
  border-radius: 5px;
}
.pitch-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 12px;
}
.pitch-caption span {
  color: oklch(81% 0.03 145);
}
.football-field {
  height: 177px;
  border-radius: 2px;
  border-color: oklch(74% 0.06 130);
  background: oklch(43% 0.075 150);
}
.endzone {
  background: var(--endzone);
  font-size: 24px;
  letter-spacing: 2px;
  min-width: 36px;
  color: oklch(96% 0.012 85);
  text-shadow: 0 1px 2px oklch(15% 0.015 200);
}
.field-play-area {
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 10%,
    oklch(90% 0.02 130/0.045) 10%,
    oklch(90% 0.02 130/0.045) 20%
  );
}
.yard-line {
  border-color: oklch(94% 0.01 90/0.38);
}
.yard-line span {
  color: oklch(94% 0.015 100);
  font-size: 11px;
}
.field-logo {
  font-size: 45px;
  opacity: 0.1;
  color: oklch(95% 0.02 90);
}
.ball-marker {
  height: 24px;
  width: 24px;
  box-shadow: 0 0 0 6px oklch(96% 0.03 80/0.13);
  background: oklch(96% 0.03 80);
  color: oklch(30% 0.08 55);
  font-size: 15px;
  transition: left 0.3s ease-out;
  z-index: 4;
}
.scrimmage {
  background: oklch(68% 0.15 240);
}
.first-down {
  background: oklch(86% 0.17 95);
}
.pitch-key {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  margin-top: 10px;
  color: oklch(81% 0.03 145);
}
.pitch-key > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pitch-key > span:last-child {
  margin-left: auto;
}
.pitch-key i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(96% 0.03 80);
}
.pitch-key > span:nth-child(2) i {
  width: 2px;
  height: 10px;
  border-radius: 0;
  background: oklch(86% 0.17 95);
}
.match-numbers {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.match-numbers > span {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}
.match-numbers small {
  font-size: 12px;
  color: var(--muted);
}
.broadcast-log {
  margin-top: 18px;
}
.broadcast-log > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.broadcast-log h2 {
  font-size: 25px;
}
.broadcast-log header span {
  font-size: 12px;
  color: var(--muted);
}
.broadcast-log .play-feed {
  max-height: 250px;
  min-height: 120px;
  overflow: auto;
  padding: 0;
  scrollbar-width: thin;
}
.broadcast-log .play-item {
  display: flex;
  gap: 16px;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
}
.broadcast-log .play-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.broadcast-log .play-item.latest {
  background: var(--surface);
  border-radius: 4px;
}
.broadcast-log .play-item.latest p {
  color: var(--ink);
  font-weight: 600;
}
.broadcast-log .play-time {
  font-size: 11px;
  min-width: 49px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.broadcast-log .play-time b {
  font-size: 13px;
  font-weight: 500;
}
.broadcast-log .play-item.touchdown,
.broadcast-log .play-item.fieldGoal {
  background: oklch(91% 0.055 150);
}
.broadcast-log .play-item.injury {
  background: oklch(93% 0.045 45);
}
.match-empty {
  padding: 20px;
  font-size: 14px;
  color: var(--muted);
}
.coaching-desk {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  overflow: hidden;
}
.desk-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.desk-tabs > button {
  flex: 1;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  min-height: 49px;
  padding: 12px 8px;
  white-space: nowrap;
}
.desk-tabs > button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: var(--white);
}
.desk-content {
  max-height: 600px;
  overflow: auto;
  scrollbar-width: thin;
  min-height: 420px;
}
.desk-instruction {
  font-size: 12px;
  padding: 13px 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.game-plan {
  padding: 22px;
}
.game-plan h2 {
  font-size: 27px;
}
.game-plan > p {
  font-size: 13px;
  color: var(--muted);
  margin: 7px 0 20px;
}
.game-plan fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}
.game-plan legend {
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 8px;
}
.strategy-choices {
  display: flex;
  gap: 5px;
}
.strategy-choices button {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  min-height: 45px;
  padding: 8px 5px;
}
.strategy-choices button[aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: oklch(96% 0.012 85);
}
.strategy-explainer {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.match-decision,
.coach-notice {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: oklch(92% 0.07 80);
  border: 1px solid oklch(76% 0.09 80);
  border-radius: 4px;
  padding: 15px 20px;
  margin-top: 16px;
}
.match-decision > div:first-child {
  display: grid;
  gap: 4px;
}
.match-decision strong,
.coach-notice strong {
  font-size: 16px;
}
.match-decision span,
.coach-notice p {
  font-size: 13px;
  color: var(--muted);
}
.match-decision > div:last-child {
  display: flex;
  gap: 7px;
}
.match-decision button {
  background: var(--white);
  border: 1px solid oklch(67% 0.07 70);
  min-height: 44px;
  padding: 8px 15px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.match-recap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-top: 18px;
  border-radius: 5px;
}
.match-recap h2 {
  font-size: 34px;
  margin: 7px 0;
}
.match-recap h3 {
  margin: 9px 0;
}
.match-recap p {
  font-size: 14px;
  color: var(--muted);
}
.match-preview {
  padding: 70px 25px;
  max-width: 700px;
}
.match-preview h1 {
  font-size: 55px;
  margin: 18px 0;
}
.match-preview p {
  margin-bottom: 25px;
}
.match-preview > div {
  display: flex;
  gap: 12px;
}
/* Depth remains spatial; match personnel compacts into the coach's desk. */
.ff-depth {
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}
.ff-board-head {
  border-color: var(--line);
  padding: 17px 20px;
}
.ff-board-head h2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  text-transform: none;
}
.ff-kicker {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.ff-tabs button,
.ff-reserve button {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  min-height: 44px;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 3px;
}
.ff-tabs button[aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: oklch(96% 0.012 85);
}
.ff-board-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}
.ff-field {
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 78px,
      oklch(83% 0.06 130/0.12) 79px,
      oklch(83% 0.06 130/0.12) 80px
    ),
    oklch(32% 0.05 150);
  gap: 12px;
  min-height: 420px;
  padding: 32px 16px 20px;
}
.ff-field-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: oklch(81% 0.04 120);
}
.ff-player-slot {
  border: 1px solid oklch(60% 0.06 140);
  background: oklch(24% 0.03 160);
  border-radius: 4px;
  color: oklch(96% 0.012 85);
  padding: 8px;
  width: 140px;
  gap: 4px;
}
.ff-player-slot strong {
  font-size: 13px;
}
.ff-player-slot > span:last-of-type {
  font-size: 11px;
  color: oklch(82% 0.03 120);
}
.ff-slot-position {
  font-size: 11px;
  color: oklch(85% 0.04 120);
}
.ff-jersey {
  background: var(--club-color);
  color: oklch(97% 0.015 85);
  height: 34px;
  width: 34px;
  font-size: 21px;
  text-shadow: 0 1px 2px oklch(15% 0.02 230);
}
.ff-player-slot:hover,
.ff-player-slot.ff-selected {
  box-shadow: 0 0 0 2px oklch(83% 0.13 75);
  border-color: oklch(83% 0.13 75);
}
.ff-sideline {
  background: var(--white);
  border-color: var(--line);
  padding: 20px;
  color: var(--ink);
}
.ff-sideline h3 {
  color: var(--ink);
  font-size: 25px;
  text-transform: none;
}
.ff-current {
  border-color: var(--line);
  padding: 12px 0;
}
.ff-current strong {
  font-size: 16px;
}
.ff-current span,
.ff-current small,
.ff-reserve small {
  font-size: 12px;
  color: var(--muted);
}
.ff-current button {
  background: none;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 10px;
  min-height: 44px;
  margin-top: 9px;
  font-size: 14px;
}
.ff-instruction,
.ff-empty {
  font-size: 14px;
  color: var(--muted);
}
.ff-reserve {
  border-color: var(--line);
  padding: 13px 0;
}
.ff-reserve strong {
  font-size: 14px;
  color: var(--ink);
}
.ff-reserve-number {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.ff-reserve button:hover {
  background: var(--surface);
  color: var(--ink);
}
.ff-reserves {
  max-height: 370px;
  scrollbar-width: thin;
}
.ff-training {
  border-color: var(--line);
  font-size: 14px;
}
.ff-training p {
  font-size: 14px;
  color: var(--muted);
}
.ff-boxscore {
  border: 0;
  background: var(--white);
  color: var(--ink);
  margin: 0;
}
.ff-boxscore .ff-board-head {
  display: block;
  padding: 16px;
}
.ff-boxscore .ff-board-head > div:first-child {
  display: none;
}
.ff-boxscore .ff-tabs {
  gap: 4px;
}
.ff-boxscore table {
  font-size: 13px;
}
.ff-boxscore th,
.ff-boxscore td {
  padding: 12px 10px;
  border-color: var(--line);
  color: var(--ink);
}
.ff-boxscore thead th {
  font-size: 11px;
  background: var(--surface);
  color: var(--muted);
  position: sticky;
  top: 0;
  z-index: 1;
}
.ff-boxscore th:first-child {
  position: sticky;
  left: 0;
  background: var(--white);
  z-index: 2;
  min-width: 145px;
  box-shadow: 1px 0 0 var(--line);
}
.ff-boxscore thead th:first-child {
  background: var(--surface);
  z-index: 3;
}
.ff-boxscore tbody th {
  font-weight: 600;
}
.ff-boxscore tbody th small {
  color: var(--muted);
  font-size: 11px;
}
.ff-table-scroll {
  max-height: 470px;
  overflow: auto;
  scrollbar-width: thin;
}
.stats-team-switch {
  display: flex;
  padding: 0 16px 13px;
  gap: 20px;
}
.stats-team-switch button {
  font-size: 13px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--muted);
  padding: 6px 0;
  min-height: 36px;
}
.stats-team-switch button[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
}
.ff-live {
  margin: 0;
  border: 0;
  border-radius: 0;
}
.ff-live .ff-board-head {
  padding: 14px 16px;
}
.ff-live .ff-board-head > div:first-child {
  display: none;
}
.ff-live .ff-board-layout {
  display: block;
}
.ff-live .ff-field {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 0;
  gap: 7px;
  padding: 12px;
  background: var(--surface);
}
.ff-live .ff-field:before,
.ff-live .ff-field:after,
.ff-live .ff-field-label {
  display: none;
}
.ff-live .ff-formation-row {
  display: contents;
}
.ff-live .ff-player-slot {
  width: auto;
  padding: 7px 3px;
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  gap: 3px;
}
.ff-live .ff-player-slot strong {
  font-size: 11px;
}
.ff-live .ff-player-slot > span:last-of-type {
  font-size: 10px;
  color: var(--muted);
}
.ff-live .ff-player-slot small {
  display: none;
}
.ff-live .ff-slot-position {
  font-size: 11px;
  color: var(--muted);
}
.ff-live .ff-player-slot.ff-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background: oklch(94% 0.03 70);
}
.ff-live .ff-jersey {
  height: 27px;
  width: 27px;
  font-size: 18px;
}
.ff-live .ff-sideline {
  border: 0;
  padding: 14px 16px;
}
.ff-live .ff-sideline h3 {
  font-size: 22px;
}
.ff-live .ff-reserves {
  max-height: 230px;
}
.ff-live .ff-current {
  padding: 9px 0;
  margin: 7px 0;
}
.sub-scope {
  font-size: 12px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0 0 10px;
}
.sub-scope span {
  font-size: 21px;
  color: var(--accent);
}
/* Existing management/league surfaces share the readable notebook vocabulary. */
.league-summary {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.league-summary p {
  font-size: 15px;
  color: var(--muted);
}
.team-cell strong {
  color: var(--ink);
}
.your-team {
  background: oklch(93% 0.04 80);
}
.you-label {
  color: var(--accent);
  font-size: 11px;
}
.table-note {
  font-size: 12px;
  color: var(--muted);
  padding: 12px 0;
}
.game-card {
  background: var(--white);
  border-color: var(--line);
  border-radius: 4px;
}
.game-card .eyebrow {
  font-size: 12px;
}
.mini-score {
  font-size: 14px;
}
.mini-score strong {
  color: var(--ink);
}
.bracket {
  overflow: auto;
  display: flex;
  gap: 20px;
}
.bracket > div {
  min-width: 220px;
  flex: 1;
}
.bracket h3 {
  margin-bottom: 15px;
}
.schedule-list > div {
  font-size: 14px;
  border-color: var(--line);
}
.leader-row {
  font-size: 14px;
  border-color: var(--line);
}
.leader-row small {
  font-size: 12px;
}
.leader-column h3 {
  font-size: 16px;
}
.archive-intro {
  color: var(--ink);
  background: transparent;
  padding: 20px 0;
}
.history-card {
  border-block: 1px solid var(--line);
  padding: 20px;
}
.history-meta {
  font-size: 14px;
}
.crest {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 76%, 50% 100%, 0 76%);
  background: var(--team);
  color: oklch(96% 0.012 85);
}
.crest b {
  font-size: 0.8em;
}
.boxscore-summary {
  background: var(--surface);
  color: var(--ink);
}
.game-stat-list > div {
  border-color: var(--line);
}
.game-stat-list span {
  color: var(--muted);
}
dialog {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 580px;
  padding: 30px;
  box-shadow: 0 20px 80px oklch(18% 0.02 230/0.25);
}
dialog::backdrop {
  background: oklch(18% 0.02 230/0.6);
}
dialog h2 {
  font-size: 35px;
  margin-bottom: 15px;
}
dialog p {
  font-size: 15px;
  color: var(--muted);
}
.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.dialog-close {
  color: var(--muted);
  min-width: 44px;
  min-height: 44px;
  font-size: 24px;
}
.settings-buttons {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.help-grid p {
  font-size: 14px;
}
.help-grid h3 {
  font-size: 17px;
}
.empty {
  font-size: 15px;
  color: var(--muted);
}
#toast {
  background: var(--deep);
  color: oklch(96% 0.012 85);
  border: 0;
  border-radius: 5px;
  font-size: 14px;
  max-width: min(500px, calc(100vw - 32px));
  padding: 13px 20px;
  box-shadow: 0 4px 20px oklch(15% 0.02 230/0.18);
  bottom: 20px;
}
#toast.error {
  background: oklch(38% 0.11 28);
}
#arcade-back {
  display: none !important;
}
/* The title keeps its stadium scene; management gets a calmer reading surface. */
body[data-screen="menu"],
body[data-screen="setup"] {
  --ink: oklch(95% 0.025 100);
  --muted: oklch(76% 0.02 120);
  --paper: oklch(19% 0.02 155);
  --white: oklch(25% 0.025 155);
  --line: oklch(37% 0.02 145);
  --lime: oklch(88% 0.15 105);
  --accent: var(--lime);
  --deep: oklch(17% 0.02 155);
  color-scheme: dark;
  background: var(--paper);
}
.title-top {
  font-size: 12px;
}
.title-top > a,
.title-top > .edition {
  font-size: 12px;
}
.title-top > .edition {
  background: var(--deep);
  position: relative;
}
.title-content {
  max-width: 760px;
}
.title-kicker {
  font-size: 12px;
  letter-spacing: 2px;
}
.title-deck {
  font-size: 17px;
}
.menu-option small {
  font-size: 12px;
  letter-spacing: 1px;
}
.menu-option em {
  font-size: 13px;
}
.menu-option {
  min-width: 390px;
}
.menu-utilities button,
.menu-utilities label {
  font-size: 14px;
  min-height: 44px;
}
.title-footer {
  font-size: 12px;
}
.title-top > a,
.back-menu {
  min-height: 44px;
  font-size: 13px;
}
.club-pick-rating {
  margin-left: auto;
  font:
    600 25px "Barlow Condensed",
    sans-serif;
  text-align: center;
  color: var(--ink);
}
.club-pick-rating small {
  display: block;
  font:
    500 11px "DM Sans",
    sans-serif;
  color: var(--muted);
}
.club-pick .picked-check {
  margin-left: 0;
}
.setup-intro p {
  font-size: 15px;
}
.division-heading {
  font-size: 12px;
}
.club-pick small {
  font-size: 13px;
}
.start-franchise {
  font-size: 16px;
  min-height: 54px;
}
.setup-save-note {
  font-size: 13px;
}
.club-scout h3,
.club-scout > div > span {
  font-size: 12px;
}
.club-scout > div > b {
  font-size: 14px;
}
.club-ratings > span {
  font-size: 12px;
}
.selected-city {
  font-size: 18px;
}
.stadium-name {
  font-size: 13px;
}
.setup-footer {
  font-size: 13px;
}
.setup-header {
  font-size: 12px;
}
@media (min-width: 1500px) {
  .desk-content {
    max-height: 650px;
  }
  .ff-table-scroll {
    max-height: 525px;
  }
  .broadcast-log .play-feed {
    max-height: 310px;
  }
  .football-field {
    height: 210px;
  }
}
@media (max-width: 1100px) {
  .season-nav > button {
    padding-inline: 16px;
  }
  .broadcast-layout {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .scorebug-teams {
    gap: 15px;
  }
  .control-note {
    display: none;
  }
  .clubhouse-layout {
    gap: 24px;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
  }
  .week-matchup {
    gap: 12px;
    padding: 25px 15px;
  }
  .week-matchup h2 {
    font-size: 31px;
  }
  .ff-board-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .ff-player-slot {
    width: 110px;
  }
  .selection-layout {
    grid-template-columns: 1fr 330px;
    gap: 24px;
  }
  .club-identity h2 {
    font-size: 51px;
  }
  .club-pick {
    padding: 12px;
    gap: 10px;
  }
  .club-pick strong {
    font-size: 24px;
  }
  .franchise-screen {
    padding: 28px;
  }
  .selected-franchise {
    margin-top: -90px;
  }
  .club-pick-rating {
    font-size: 23px;
  }
  .setup-intro h1 {
    font-size: 55px;
  }
}
@media (max-width: 800px) {
  .club-header {
    height: 66px;
    padding: 0 18px;
    gap: 14px;
  }
  .club-header-identity .club-disc {
    width: 37px;
    height: 37px;
    font-size: 18px;
  }
  .club-header-identity strong {
    font-size: 14px;
  }
  .club-header-identity div > span {
    font-size: 11px;
  }
  .club-header-tools {
    gap: 5px;
  }
  .save-indicator {
    display: none;
  }
  .club-wordmark {
    font-size: 26px;
    min-width: 42px;
  }
  .club-header-tools button {
    padding: 8px 10px;
  }
  .season-nav {
    padding: 0 16px;
    gap: 0;
    flex-wrap: wrap;
  }
  .season-nav > button {
    flex: 1;
    padding: 12px 6px;
    font-size: 13px;
    justify-content: center;
    gap: 6px;
  }
  .season-nav > .next-fixture-action {
    flex: none;
    width: 100%;
    margin: 0 0 12px;
    min-height: 44px;
    justify-content: center;
  }
  .season-nav > button > span {
    font-size: 19px;
  }
  .game-main {
    padding: 22px 18px;
  }
  .clubhouse-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .week-agenda {
    order: -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .week-agenda > header {
    grid-column: 1/-1;
  }
  .week-agenda header p {
    margin-bottom: 4px;
  }
  .week-agenda .agenda-task {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 12px;
    align-items: flex-start;
  }
  .agenda-number,
  .agenda-task > b {
    display: none;
  }
  .agenda-task strong {
    font-size: 14px;
  }
  .agenda-task small {
    font-size: 12px;
  }
  .week-resource,
  .week-needs {
    display: none;
  }
  .week-main {
    min-width: 0;
  }
  .section-nav {
    gap: 20px;
    overflow: auto;
    white-space: nowrap;
  }
  .section-nav button {
    font-size: 13px;
  }
  .broadcast-layout {
    grid-template-columns: 1fr;
  }
  .scorebug-teams {
    grid-template-columns: 1fr 115px 1fr;
    gap: 10px;
  }
  .scorebug-team .club-disc {
    display: none;
  }
  .scorebug-team strong {
    font-size: 27px;
  }
  .scorebug-team > b {
    font-size: 40px;
  }
  .scorebug-team i {
    left: 0;
  }
  .scorebug-team:last-child i {
    right: 0;
  }
  .scorebug-clock strong {
    font-size: 29px;
  }
  .scorebug-team small {
    font-size: 11px;
  }
  .match-main {
    padding-top: 12px;
  }
  .scorebug {
    padding: 12px 16px 17px;
  }
  .broadcast-controls {
    padding: 10px;
    gap: 7px;
  }
  .broadcast-controls .btn {
    padding-inline: 11px;
    font-size: 13px;
  }
  .playback-button {
    min-width: 115px;
  }
  .pace-control {
    margin-left: 0;
    font-size: 12px;
    gap: 5px;
  }
  .pace-control select {
    padding-inline: 7px;
  }
  .finish-btn {
    font-size: 12px;
  }
  .broadcast-log .play-feed {
    max-height: 180px;
  }
  .desk-content {
    max-height: none;
    min-height: 0;
  }
  .ff-live .ff-field {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ff-live .ff-sideline {
    padding: 18px;
  }
  .ff-live .ff-player-slot strong {
    font-size: 12px;
  }
  .ff-live .ff-reserves {
    max-height: 300px;
  }
  .ff-boxscore .ff-table-scroll {
    max-height: 400px;
  }
  .match-return {
    padding: 0 18px;
  }
  .match-decision,
  .coach-notice {
    flex-wrap: wrap;
    gap: 12px;
  }
  .coach-notice > div {
    width: 100%;
  }
  .coach-notice button {
    flex: 1;
  }
  .match-decision > div:last-child {
    width: 100%;
  }
  .match-decision button {
    flex: 1;
  }
  .ff-board-layout {
    grid-template-columns: 1fr;
  }
  .ff-sideline {
    border: 0;
    border-top: 1px solid var(--line);
  }
  .ff-field {
    min-height: 420px;
    gap: 12px;
  }
  .ff-player-slot {
    width: 130px;
  }
  .ff-board-head {
    flex-wrap: wrap;
    gap: 13px;
  }
  .ff-board-head h2 {
    font-size: 25px;
  }
  .ff-training {
    display: block;
  }
  .ff-training .mg-actions {
    margin-top: 15px;
  }
  .career-footer {
    padding: 15px 18px;
  }
  .career-footer > span:last-child {
    display: none;
  }
  .selection-layout {
    grid-template-columns: 1fr;
  }
  .selected-franchise {
    position: static;
    margin-top: 0;
  }
  .setup-intro {
    display: block;
  }
  .setup-intro p {
    margin-top: 15px;
  }
  .club-browser {
    min-width: 0;
  }
  .franchise-screen {
    padding: 24px 18px;
  }
  .club-pick {
    padding: 10px;
    gap: 8px;
  }
  .club-pick strong {
    font-size: 23px;
  }
  .club-mini-mark {
    width: 37px;
    min-width: 37px;
    font-size: 16px;
  }
  .club-pick .picked-check {
    display: none;
  }
  .club-identity {
    display: grid;
    grid-template-columns: 1fr 130px;
    align-items: center;
    padding: 20px;
    text-align: left;
  }
  .team-helmet {
    grid-column: 2;
    grid-row: 1/5;
    width: 130px;
    height: 150px;
    margin: 0;
  }
  .club-identity > .eyebrow,
  .selected-city,
  .club-identity h2,
  .stadium-name {
    grid-column: 1;
  }
  .club-identity h2 {
    font-size: 45px;
  }
  .selected-city {
    font-size: 16px;
  }
  .club-identity > .eyebrow {
    font-size: 12px;
  }
  .club-scout {
    padding: 20px;
  }
  .setup-header > span {
    display: none;
  }
  .setup-header {
    padding-bottom: 20px;
  }
  .setup-intro {
    padding-top: 22px;
    margin-bottom: 22px;
  }
  .setup-intro h1 {
    font-size: 48px;
    line-height: 1;
  }
  .setup-footer {
    display: block;
    font-size: 12px;
  }
  .setup-footer > span {
    display: block;
    margin-top: 9px;
  }
  .title-screen {
    padding: 22px;
    min-height: 100svh;
  }
  .title-top > span:not(.edition) {
    display: none;
  }
  .title-top > .edition {
    font-size: 11px;
  }
  .title-content {
    padding-top: 65px;
  }
  .game-wordmark {
    font-size: 84px;
  }
  .title-deck {
    font-size: 16px;
  }
  .title-actions {
    width: 100%;
    max-width: 400px;
  }
  .menu-option {
    min-width: 0;
    width: 100%;
    padding: 18px;
  }
  .menu-option strong {
    font-size: 28px;
  }
  .title-footer {
    font-size: 11px;
    gap: 12px;
  }
  .title-footer > span:last-child {
    display: none;
  }
  .title-screen:before {
    background-position: 65% center;
  }
  .title-screen:after {
    background:
      linear-gradient(
        90deg,
        oklch(15% 0.02 155/0.93),
        oklch(15% 0.02 155/0.35)
      ),
      linear-gradient(0deg, oklch(15% 0.02 155/0.8), transparent);
  }
  .menu-utilities {
    gap: 18px;
    flex-wrap: wrap;
  }
  .match-recap {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .match-preview {
    padding: 45px 10px;
  }
  .match-preview h1 {
    font-size: 42px;
  }
  .mu-player-facts {
    gap: 16px 30px;
  }
  .mu-dossier-head h2 {
    font-size: 40px;
  }
  .mu-dossier-head > .btn {
    margin-bottom: 15px;
  }
  .mu-action-section > summary {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .club-header {
    gap: 10px;
    padding-inline: 14px;
  }
  .club-header-tools button:not(:last-child) {
    display: none;
  }
  .club-header-identity {
    gap: 8px;
  }
  .club-header-identity strong {
    font-size: 13px;
  }
  .club-header-identity div > span {
    font-size: 10px;
  }
  .club-header-identity .club-disc {
    display: none;
  }
  .club-header-tools button {
    font-size: 13px;
  }
  .club-wordmark {
    min-width: 37px;
  }
  .season-nav {
    padding: 0 12px;
  }
  .season-nav > button {
    font-size: 12px;
    gap: 4px;
    min-height: 50px;
  }
  .season-nav > button > span {
    font-size: 17px;
  }
  .game-main {
    padding: 18px 14px;
  }
  .page-heading {
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .page-heading .eyebrow {
    font-size: 11px;
  }
  .page-heading > .text-btn {
    font-size: 12px;
  }
  .week-agenda {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .week-agenda > header {
    margin-bottom: 6px;
  }
  .week-agenda header h2 {
    font-size: 26px;
  }
  .week-agenda header p {
    display: none;
  }
  .week-agenda .agenda-task {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
  }
  .agenda-number,
  .agenda-task > b {
    display: block;
  }
  .agenda-number {
    font-size: 21px;
  }
  .agenda-task > span:nth-child(2) {
    gap: 3px;
  }
  .agenda-task strong {
    font-size: 14px;
  }
  .agenda-task small {
    font-size: 12px;
  }
  .week-matchup h2 {
    font-size: 28px;
  }
  .week-matchup > div > span {
    font-size: 12px;
  }
  .week-matchup small {
    font-size: 11px;
  }
  .week-versus strong {
    font-size: 28px;
  }
  .week-matchup .club-disc {
    height: 50px;
    width: 50px;
    font-size: 23px;
  }
  .week-fixture > header {
    font-size: 10px;
    padding: 12px 14px;
  }
  .fixture-report {
    display: block;
    padding: 15px;
  }
  .fixture-report p {
    font-size: 12px;
  }
  .week-news article {
    gap: 12px;
  }
  .week-news article > span {
    width: 50px;
    font-size: 10px;
  }
  .week-news article h3 {
    font-size: 15px;
  }
  .week-news article p {
    font-size: 13px;
  }
  .season-strip header span {
    font-size: 11px;
  }
  .season-strip header h2 {
    font-size: 25px;
  }
  .scorebug {
    padding: 10px 12px 16px;
  }
  .scorebug-meta {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .scorebug-teams {
    grid-template-columns: 1fr 78px 1fr;
    gap: 10px;
  }
  .scorebug-team {
    gap: 6px;
    flex-wrap: wrap;
  }
  .scorebug-team small {
    font-size: 10px;
    white-space: nowrap;
  }
  .scorebug-team strong {
    font-size: 24px;
  }
  .scorebug-team > b {
    font-size: 37px;
    line-height: 1.2;
  }
  .scorebug-team i {
    bottom: -9px;
  }
  .scorebug-clock > span {
    font-size: 9px;
  }
  .scorebug-clock strong {
    font-size: 26px;
  }
  .scorebug-clock small {
    font-size: 12px;
  }
  .broadcast-controls {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 7px;
  }
  .broadcast-controls .btn {
    min-width: 0;
    font-size: 13px;
    min-height: 42px;
    padding: 8px;
  }
  .pace-control {
    font-size: 0;
    gap: 0;
  }
  .pace-control select {
    min-height: 42px;
    width: 63px;
  }
  .broadcast-controls .finish-btn {
    grid-column: 1/-1;
    justify-self: end;
    min-height: 30px;
    padding: 0;
  }
  .broadcast-controls .control-note {
    display: none;
  }
  .broadcast-layout {
    gap: 18px;
    margin-top: 15px;
  }
  .broadcast-pitch {
    padding: 10px;
  }
  .football-field {
    height: 137px;
  }
  .endzone {
    font-size: 18px;
    min-width: 25px;
  }
  .yard-line span {
    font-size: 9px;
  }
  .pitch-caption {
    font-size: 11px;
    gap: 4px;
    margin-bottom: 9px;
  }
  .pitch-key {
    font-size: 10px;
    gap: 12px;
  }
  .ball-marker {
    width: 19px;
    height: 19px;
    font-size: 12px;
  }
  .match-numbers {
    padding: 11px 0;
  }
  .match-numbers > span {
    gap: 8px;
    font-size: 13px;
  }
  .match-numbers small {
    font-size: 11px;
  }
  .broadcast-log .play-feed {
    max-height: 150px;
  }
  .broadcast-log h2 {
    font-size: 24px;
  }
  .broadcast-log .play-item p {
    font-size: 13px;
  }
  .desk-tabs > button {
    font-size: 13px;
    padding: 10px 5px;
    min-height: 47px;
  }
  .ff-live .ff-player-slot strong {
    font-size: 11px;
  }
  .ff-live .ff-field {
    gap: 5px;
    padding: 10px;
  }
  .ff-live .ff-slot-position {
    font-size: 10px;
  }
  .ff-live .ff-player-slot > span:last-of-type {
    font-size: 9px;
  }
  .ff-tabs button {
    font-size: 12px;
    padding: 8px 11px;
  }
  .ff-field {
    padding-inline: 10px;
    min-height: 425px;
  }
  .ff-player-slot {
    width: 100px;
    padding: 7px 3px;
  }
  .ff-player-slot strong {
    font-size: 11px;
  }
  .ff-player-slot > span:last-of-type {
    font-size: 10px;
  }
  .ff-formation-row {
    gap: 6px;
  }
  .ff-board-head {
    padding: 16px;
  }
  .ff-sideline {
    padding: 16px;
  }
  .game-plan {
    padding: 18px;
  }
  .strategy-choices button {
    font-size: 12px;
  }
  .career-footer {
    font-size: 11px;
  }
  .club-selection-row {
    gap: 7px;
  }
  .club-pick {
    padding: 9px 7px;
    gap: 7px;
    min-height: 74px;
  }
  .club-pick strong {
    font-size: 19px;
  }
  .club-pick small {
    font-size: 11px;
  }
  .club-mini-mark {
    min-width: 29px;
    width: 29px;
    font-size: 13px;
  }
  .club-pick-rating {
    font-size: 22px;
  }
  .club-pick-rating small {
    font-size: 10px;
  }
  .club-pick > span:nth-child(2) {
    min-width: 0;
  }
  .conference-tabs button {
    font-size: 13px;
    padding: 11px;
  }
  .conference-tabs button span {
    font-size: 11px;
  }
  .club-identity h2 {
    font-size: 37px;
  }
  .club-identity {
    grid-template-columns: 1fr 110px;
  }
  .team-helmet {
    width: 110px;
  }
  .game-wordmark {
    font-size: 76px;
  }
  .title-kicker {
    font-size: 11px;
  }
  .menu-option small {
    font-size: 11px;
  }
  .menu-option em {
    font-size: 12px;
  }
  .title-content {
    padding-top: 48px;
  }
  .title-footer {
    padding-top: 25px;
  }
  .title-screen {
    padding: 20px;
  }
  .menu-utilities button {
    font-size: 13px;
  }
  .match-preview > div {
    flex-direction: column;
  }
  .match-decision strong {
    font-size: 15px;
  }
  .match-decision button {
    padding: 8px;
    font-size: 13px;
  }
  dialog {
    padding: 26px 20px;
    width: calc(100vw - 28px);
  }
  dialog h2 {
    font-size: 30px;
  }
  .mu-roster-tabs {
    gap: 5px;
  }
  .mu-roster-tabs button {
    font-size: 13px;
    padding: 9px;
  }
  .mu-dossier {
    font-size: 15px;
  }
  .mu-player-facts dd {
    font-size: 18px;
  }
  .mu-action-section > summary {
    font-size: 17px;
  }
  .mu-player-facts dt {
    font-size: 13px;
  }
  .mu-dossier-head h2 {
    font-size: 36px;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .table-wrap {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.ff-live .ff-player-slot {
  position: relative;
  align-items: flex-start;
  padding: 7px 5px 7px 34px;
  min-height: 69px;
  text-align: left;
  justify-content: center;
}
.ff-live .ff-player-slot strong {
  text-align: left;
  font-size: 12px;
  line-height: 1.25;
}
.ff-live .ff-player-slot > span:last-of-type {
  font-size: 11px;
}
.ff-live .ff-jersey {
  position: absolute;
  left: 5px;
  top: 24px;
  width: 24px;
  height: 26px;
  font-size: 17px;
}
.ff-live .ff-current {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
}
.ff-live .ff-current strong {
  width: 100%;
}
.ff-live .ff-sideline h3 {
  font-size: 22px;
}
.desk-instruction {
  font-size: 13px;
  line-height: 1.5;
}
.ff-reserve small,
.ff-current small,
.ff-current span,
.ff-reserve-number {
  font-size: 13px;
}
.sub-scope {
  font-size: 13px;
}
.skip-link {
  left: 20px;
}
.ff-live .ff-field {
  gap: 6px;
}
.ff-live .ff-sideline {
  scroll-margin-top: 90px;
}
@media (max-width: 800px) {
  .broadcast-layout {
    display: flex;
    flex-direction: column;
  }
  .broadcast-action {
    display: contents;
  }
  .broadcast-pitch {
    order: 0;
    width: 100%;
  }
  .match-numbers {
    order: 1;
    width: 100%;
  }
  .coaching-desk {
    order: 2;
    width: 100%;
  }
  .broadcast-log {
    order: 3;
    width: 100%;
  }
  .ff-live .ff-field {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .ff-live .ff-player-slot {
    min-height: 74px;
    padding-left: 7px;
  }
  .ff-live .ff-jersey {
    display: none;
  }
  .ff-live .ff-player-slot strong {
    font-size: 12px;
  }
  .ff-live .ff-player-slot > span:last-of-type {
    font-size: 10px;
  }
  .desk-tabs {
    position: sticky;
    top: 106px;
    z-index: 7;
  }
  .match-status {
    font-size: 12px;
  }
  .match-return {
    height: 40px;
  }
  .match-main {
    padding-top: 12px;
  }
}
#toast {
  top: auto;
  left: 50%;
  height: auto;
  width: max-content;
  max-width: calc(100vw - 32px);
}
@media (max-width: 800px) {
  .desk-tabs {
    position: static;
  }
}
.mg-scouting-list .table-wrap {
  max-height: 600px;
  overflow: auto;
  scrollbar-width: thin;
}
.mg-scouting-list .data-table {
  min-width: 950px;
}
.mg-scouting-list .data-table td:first-child {
  min-width: 180px;
}
.mg-scouting-list .data-table td:nth-child(6) {
  min-width: 220px;
  max-width: 290px;
}
.mg-scouting-list .data-table td:last-child {
  min-width: 215px;
}
.mg-scouting-list .data-table td {
  vertical-align: top;
}
.mg-row-actions .btn {
  white-space: normal;
  text-align: left;
}
.mg-scouting-list .panel-head {
  gap: 15px;
  flex-wrap: wrap;
}
.mg-scouting-list .mg-pagination {
  position: relative;
  background: var(--paper);
  padding: 15px 0;
}
.mg-scouting-list .table-wrap:focus-visible {
  outline: 3px solid var(--accent);
}
.broadcast-log .play-item.score {
  background: oklch(91% 0.055 150);
}
@media (max-width: 800px) {
  .mg-scouting-list .table-wrap {
    max-height: 470px;
  }
  .mg-scouting-list .panel-head > p {
    width: 100%;
  }
  .mg-draft-banner {
    gap: 18px;
    flex-wrap: wrap;
  }
  .mg-draft-banner .mg-actions {
    width: 100%;
  }
  .mg-pagination .mg-actions {
    margin-left: auto;
  }
}

/* Keep decision text and controls readable across compact sideline layouts. */
.ff-player-slot > span:last-of-type, .ff-reserve small, .ff-live .ff-player-slot > span:last-of-type, .ff-live .ff-player-slot small, .scorebug-team small, .pitch-caption, .pitch-key, .control-note, .ff-table th, .ff-table td { font-size: 12px; }
.desk-tabs button, .strategy-choices button, .ff-reserve button, .sub-scope, .match-decision button, .stats-team-switch button { min-height: 44px; }

.broadcast-controls .btn, .broadcast-controls .finish-btn, .pace-control select { min-height: 44px; height: auto; }

/* Match engine additions: weather, timeouts, decision hints, key calls and the recap comparison. */
.weather-chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  background: oklch(32% 0.03 230);
  color: oklch(90% 0.02 230);
  font-weight: 600;
}
.timeouts {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 3px;
  color: oklch(82% 0.14 70);
  line-height: 1.3;
}
.scorebug-team:last-child .timeouts {
  justify-self: end;
}
.broadcast-log .play-item.turnover {
  background: oklch(92% 0.05 28);
}
.broadcast-log .play-item.penalty {
  background: oklch(95% 0.06 95);
}
.broadcast-log .play-item.timeout,
.broadcast-log .play-item.period,
.broadcast-log .play-item.info {
  background: var(--surface);
}
.broadcast-log .play-item.special p {
  color: var(--muted);
}
.match-decision .decision-hint {
  max-width: 62ch;
  line-height: 1.45;
}
.match-decision button.is-suggested {
  border-color: var(--forest);
  box-shadow: inset 0 -3px 0 var(--forest);
}
.match-decision button small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}
.match-decision.key-call {
  flex-wrap: wrap;
}
.match-decision .key-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  flex: 1 1 480px;
}
.match-decision .key-options button {
  text-align: left;
  display: grid;
  gap: 2px;
  align-content: start;
}
.match-decision .key-options b {
  font-size: 14px;
}
.preview-weather {
  margin: -12px 0 22px;
  font-size: 14px;
}
.strategy-explainer p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}
.match-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}
.match-numbers > span {
  justify-content: space-between;
  gap: 6px;
}
.match-numbers > span small {
  text-align: center;
  flex: 1;
}
.match-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 16px;
  padding: 20px 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table caption {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
}
.compare-table th,
.compare-table td {
  padding: 6px 8px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--muted);
}
.compare-table tr > :first-child {
  text-align: left;
}
.compare-table tr > :last-child {
  text-align: right;
}
.compare-table.quarters tr > :last-child {
  text-align: center;
}
.compare-weather {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .match-decision.key-call {
    gap: 12px;
  }
  .match-decision .key-options {
    grid-template-columns: 1fr;
    flex-basis: 100%;
  }
  .match-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .match-compare {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .match-decision {
    flex-wrap: wrap;
    padding: 14px;
    gap: 12px;
  }
  .match-decision > div:last-child {
    flex-wrap: wrap;
    width: 100%;
  }
  .match-decision > div:last-child button {
    flex: 1 1 140px;
  }
  .timeouts {
    letter-spacing: 2px;
  }
}
