:root {
  --bg: #1a0c10;
  --bar: rgba(26, 12, 16, 0.94);
  --panel: #2a1218;
  --panel-2: #3a1820;
  --head: #241016;
  --row: #2c141b;
  --row-alt: #351920;
  --row-hover: #4a2430;
  --line: rgba(232, 200, 140, 0.16);
  --row-line: rgba(232, 200, 140, 0.1);
  --text: #f6efe4;
  --muted: #cbb89a;
  --accent: #d4a84b;
  --accent-2: #e4c078;
  --on-accent: #2a1214;
  --nav: rgba(212, 168, 75, 0.18);
  --veil: linear-gradient(180deg, rgba(8, 22, 32, 0.74) 0%, rgba(26, 12, 16, 0.9) 40%, rgba(18, 8, 12, 0.94) 100%);
  --leader: #e0b85a;
  --win: #8fbf7a;
  --draw: #e6d7c3;
  --loss: #e07a7a;
  --danger: #f0a0a8;
  --focus: #e4c078;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #b8883a;
  --bar: rgba(255, 214, 140, 0.66);
  --panel: rgba(255, 226, 170, 0.58);
  --panel-2: rgba(255, 243, 214, 0.92);
  --head: rgba(255, 206, 120, 0.5);
  --row: rgba(255, 236, 196, 0.36);
  --row-alt: rgba(214, 156, 58, 0.24);
  --row-hover: rgba(255, 196, 90, 0.42);
  --line: rgba(92, 52, 12, 0.18);
  --row-line: rgba(92, 52, 12, 0.1);
  --text: #2a160c;
  --muted: #5a3816;
  --accent: #8a4e08;
  --accent-2: #6c3c06;
  --on-accent: #fff6e6;
  --nav: rgba(138, 78, 8, 0.16);
  --veil: linear-gradient(180deg, rgba(196, 132, 42, 0.64) 0%, rgba(150, 92, 28, 0.58) 46%, rgba(92, 52, 16, 0.72) 100%);
  --leader: #8a4e08;
  --win: #1f7a4d;
  --draw: #6b4a24;
  --loss: #a33b45;
  --danger: #9d2c3a;
  --focus: #8a4e08;
  color-scheme: light;
}

html[data-theme="light"] .panel {
  background: rgba(255, 214, 140, 0.46);
  border-color: rgba(120, 72, 18, 0.22);
}

html[data-theme="light"] .season { color: #2a160c; }

@font-face {
  font-family: Barlow;
  src: url("/fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("/fonts/barlow-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("/fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Barlow;
  src: url("/fonts/barlow-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: calc(46px + env(safe-area-inset-bottom));
  background-color: var(--bg);
  background-image: var(--veil), url("/pitch.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 20%;
  background-attachment: fixed;
  color: var(--text);
  font: 16px/1.45 Barlow, "Segoe UI", sans-serif;
}

button,
input,
select { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

::selection { background: var(--accent); color: var(--on-accent); }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.mast {
  padding: 28px 16px 18px;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text);
}

.brand img {
  display: block;
  width: min(240px, 72vw);
  height: auto;
  border: 1px solid rgba(212, 168, 75, 0.55);
  border-radius: 6px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.brand h1,
.word {
  margin: 10px 0 0;
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
}

.league-name {
  margin-top: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.season,
.line {
  margin: 10px auto 0;
  max-width: 34em;
}

.season { color: var(--muted); font-size: 15px; }

.line {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

main.wrap { padding-top: 22px; }

.menu {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  background: color-mix(in srgb, var(--bar) 72%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
}

.menu a,
.menu-action {
  padding: 14px 18px;
  color: var(--muted);
  font-weight: 600;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
}

.menu a:hover,
.menu-action:hover,
.menu a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.panel {
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px) saturate(1.15);
}

.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

select,
input[type="text"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="number"] {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
}

select {
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2393a4bd' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}

.live {
  margin: 0 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--win);
}

.scroll { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

th,
td {
  height: 52px;
  padding: 0 8px;
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--row-line);
}

th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 40px;
  background: var(--head);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

tbody tr:nth-child(odd) td { background: var(--row); }
tbody tr:nth-child(even) td { background: var(--row-alt); }
tbody tr:hover td { background: var(--row-hover); }

.pos,
.club,
.form,
.next { text-align: left; }

th.pos,
td.pos {
  position: sticky;
  left: 0;
  width: 68px;
  z-index: 3;
  padding-left: 14px;
}

th.club,
td.club {
  position: sticky;
  left: 68px;
  z-index: 3;
  width: 22%;
  overflow: hidden;
}

th.pos,
th.club { z-index: 4; background: var(--head); }

td.pos::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
}

tr.leader td.pos::before { background: var(--leader); }

.pos-wrap,
.club-wrap,
.pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pos-wrap .n {
  width: 1.5em;
  font-weight: 600;
}

.move { width: 10px; height: 10px; display: block; }

.badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: none;
}

.badge.crest { object-fit: cover; background: transparent; }

.club-wrap { gap: 10px; min-width: 0; font-weight: 600; }
.club-wrap span { overflow: hidden; text-overflow: ellipsis; }
.club-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.club-link:hover { color: var(--accent); }
.club-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.num { font-variant-numeric: tabular-nums; width: 6%; }

.pts {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

th.form,
td.form { text-align: center; }
.pills { justify-content: center; gap: 4px; }

.pill {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #102033;
}

.pill.W { background: var(--win); }
.pill.D { background: var(--draw); }
.pill.L { background: var(--loss); color: white; }

th.form,
td.form { width: 118px; }
.next { text-align: center; width: 52px; }
.next .badge { margin: 0 auto; }

.legend,
.hint,
.updated-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
}

.swatch {
  width: 3px;
  height: 16px;
  background: var(--leader);
  border-radius: 2px;
}

.message {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
}

.message button,
.primary,
.ghost {
  border-radius: 8px;
  padding: 10px 14px;
}

.primary {
  background: var(--accent);
  color: var(--on-accent);
  border: 0;
  font-weight: 700;
}

.primary:hover { background: var(--accent-2); }

.foot {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  padding: 28px 0 18px;
}

.copyright {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.copyright img {
  width: 42px;
  height: auto;
  border-radius: 3px;
}

.foot .switch { grid-column: 3; justify-self: end; }

.foot p { margin: 0; }

.admin-mark { font-weight: 700; }

.admin-mark:hover { color: var(--accent); }

.switch {
  width: 52px;
  height: 30px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  backdrop-filter: blur(14px);
}

.switch-thumb {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 160ms ease, background 160ms ease;
}

.switch[aria-checked="true"] .switch-thumb {
  transform: translateX(22px);
  background: var(--accent);
}

.about { padding: 4px 16px 18px; }

.about p { margin: 0 0 10px; max-width: 62ch; }

.about p:last-child { margin-bottom: 0; }

.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.section { margin: 18px 0 28px; scroll-margin-top: 84px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
}

.section-head h2 { margin: 0; font-size: 22px; letter-spacing: -0.03em; }

#players { overflow: visible; position: relative; z-index: 2; }

.squad-pick { position: relative; }

.squad-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 176px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-2) 82%, transparent);
  box-shadow: 0 8px 20px rgba(42, 22, 8, 0.08);
  backdrop-filter: blur(14px);
  font-weight: 600;
}

.squad-button .caret {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.squad-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 4;
  min-width: 220px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel-2) 88%, transparent);
  box-shadow: 0 18px 40px rgba(42, 22, 8, 0.18);
  backdrop-filter: blur(18px);
}

.squad-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font-weight: 600;
}

.squad-option[aria-selected="true"],
.squad-option:hover {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  padding: 14px 16px 18px;
}

.player-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel-2) 72%, transparent);
}

.player-card div { display: flex; flex-direction: column; min-width: 0; }

.player-card strong,
.player-card span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-card span { color: var(--muted); font-size: 13px; }

.section-head p,
.hint { color: var(--muted); }

.fixture {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  min-height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--row-line);
}

.fixture:last-child { border-bottom: 0; }

.home,
.away {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 600;
}

.home span,
.away span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.home { justify-content: end; }

.mid {
  min-width: 108px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.played { color: var(--text); }

.when,
.kick,
.scoreline { display: block; }

.when {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.boards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.person {
  display: grid;
  grid-template-columns: 28px 32px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--row-line);
}

.person:last-child { border-bottom: 0; }

.person .rank { font-weight: 700; }

.who { display: flex; flex-direction: column; min-width: 0; }

.who span,
.who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.who small { color: var(--muted); }

.total {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.player-row {
  display: grid;
  grid-template-columns: 1fr 160px 140px 72px 72px auto;
  gap: 8px;
  align-items: center;
}
.scheduled { color: var(--muted); font-weight: 600; }


.editor { padding: 8px 0 32px; }

.block { padding: 16px; }

.block + .block { border-top: 1px solid var(--line); }

.block h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.03em; }

.note { margin: 0 0 14px; color: var(--muted); }

.stack { display: grid; gap: 10px; }

.club-row,
.pass-row {
  display: grid;
  grid-template-columns: 32px 1fr 110px 52px minmax(140px, 180px) auto;
  gap: 8px;
  align-items: center;
}

.logo-file { max-width: 180px; font-size: 13px; }

.pass-row { grid-template-columns: 1fr 1fr auto; }

.match-head,
.match {
  display: grid;
  grid-template-columns: 136px 88px minmax(130px, 1fr) 54px 20px 54px minmax(130px, 1fr) 112px 86px;
  gap: 8px;
  align-items: center;
}

.match-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding-bottom: 6px;
}

.match { padding: 7px 0; }
.match-minute { width: 100%; }

.week-label {
  margin: 16px 0 8px;
  font-weight: 700;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.alert { color: var(--danger); min-height: 1.2em; margin: 8px 0 0; }

.ok { color: var(--win); }

.gate {
  width: min(420px, calc(100% - 32px));
  margin: 64px auto;
  padding: 24px;
}

.gate h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.03em; }

.gate p { color: var(--muted); margin: 0 0 16px; }

.gate form { display: grid; gap: 10px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

input[type="number"] { appearance: textfield; text-align: center; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { appearance: none; margin: 0; }

input[type="color"] {
  padding: 0;
  width: 42px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .col-gf, .col-ga, .col-form { display: none; }
  .brand h1, .word { font-size: 34px; letter-spacing: 0.12em; }
  th.club, td.club { width: auto; }
}

.crown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 16px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.crown-label {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.crown-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.crown-player strong { font-size: 20px; }

.crown-player span { color: var(--muted); }

.crown-player b { margin-left: auto; font-size: 18px; }

.kickoff { margin: 8px 16px 0; }

.kickoff img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 68%;
  border: 1px solid rgba(212, 168, 75, 0.5);
  border-radius: 12px;
}

.ticker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  overflow: hidden;
  height: calc(34px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bar) 84%, transparent);
  backdrop-filter: blur(16px);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: glide 96s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.tick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.tick .badge {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  font-size: 8px;
}

.tick-when { color: var(--muted); font-size: 12px; font-weight: 600; }

@keyframes glide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.view { display: none; }

html[data-page="table"] .view[data-view="table"],
html[data-page="fixtures"] .view[data-view="fixtures"],
html[data-page="players"] .view[data-view="players"],
html[data-page="about"] .view[data-view="about"] {
  display: block;
  animation: rise 280ms ease;
}

html[data-page="goals"] .view[data-view="goals"] {
  display: grid;
  animation: rise 280ms ease;
}

html[data-page="team"] .view[data-view="team"] {
  display: block;
  animation: rise 280ms ease;
}

.live-matches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--win) 8%, transparent);
}
.live-matches[hidden] { display: none; }
.live-standing-note {
  margin: 0;
  padding: 0 16px 12px;
  color: var(--muted);
  font-size: 13px;
}
.live-standing-note[hidden] { display: none; }
.live-match {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}
.live-label {
  margin: 0;
  color: var(--win);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.live-match-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 700;
}
.live-match-score strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.live-minute { margin: 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.mid.live { display: block; color: var(--win); }
.mid .live-minute { display: block; }

.team-back { display: inline-block; padding: 9px 12px; border-radius: 8px; text-decoration: none; }
.team-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  padding: 16px;
}
.team-stats article {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.team-stats strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.team-stats span,
.player-position,
.player-stats { color: var(--muted); font-size: 13px; }
.team-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 16px 16px; }
.team-columns h3 { margin: 8px 0; }
.team-columns .roster { grid-template-columns: 1fr; padding: 0; }
.team-columns .fixture { padding-right: 0; padding-left: 0; }
.player-card .player-position,
.player-card .player-stats { color: var(--muted); font-size: 12px; }

.week-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 16px 4px;
}

.week-head h3 { margin: 0; font-size: 15px; }

.week-head p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }

.week + .week { border-top: 1px solid var(--line); }

.week.current .week-head h3 { color: var(--accent); }

.next-tag {
  margin-left: auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .view { animation: none; }
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
}

@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 16px)); }
  .mast { padding: 20px 8px 14px; }
  .line { letter-spacing: 0.08em; }
  .menu {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
  }
  .menu a,
  .menu-action { padding: 12px 14px; white-space: nowrap; }
  .col-w, .col-d, .col-l { display: none; }
  th, td { padding: 8px 6px; }
  th.pos, td.pos { width: 54px; }
  th.club, td.club { left: 54px; }
  .filters { flex-wrap: wrap; }
  .live { width: 100%; margin: 0; }
  .section-head { flex-wrap: wrap; }
  .squad-button { width: 100%; }
  .crown-player { flex-wrap: wrap; }
  .crown-player b { margin-left: 0; }
  .fixture {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 14px;
  }
  .home,
  .away { justify-content: center; }
  .kickoff img { height: 200px; }
  .club-row,
  .pass-row,
  .match,
  .match-head,
  .player-row,
  .boards { grid-template-columns: 1fr; }
  .match-head { display: none; }
  .team-columns { grid-template-columns: 1fr; }
  .foot {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-bottom: 8px;
  }
  .copyright,
  .foot .switch { grid-column: 1; justify-self: center; }
}
