:root {
  --bg: #0b0e12;
  --bg-alt: #0f1318;
  --surface: #161c23;
  --surface-alt: #1c252f;
  --border: #29333e;
  --border-soft: #212931;
  --text: #f4f6fa;
  --text-muted: #7e8798;
  --accent: #ff3071;
  --accent-bright: #ff5287;
  --secondary: #ffaf3f;
  --on-accent: #0b0d12;
  --danger: #ff3b30;
  --radius: 6px;
  --container: 1080px;
  --font-display: "Space Grotesk", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Arial, sans-serif;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.5em;
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

svg {
  max-width: 100%;
  height: auto;
}

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

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

time {
  color: var(--text-muted);
}

.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;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: 10px;
}

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-width: 0;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--accent-bright);
}

.issue-date {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-inline-start: auto;
}

.nav-toggle {
  display: none;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  min-width: 0;
  width: 100%;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
}

.site-nav a:hover {
  color: var(--accent);
}

.section {
  padding-block: 48px;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin-bottom: 0.4em;
}

.section-lead {
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.digest {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 2.15fr);
  gap: 28px 36px;
  align-items: start;
  min-width: 0;
}

.headline-rail {
  min-width: 0;
  border-right: 1px solid var(--border);
  padding-right: 18px;
}

.rail-heading {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-btn {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.55rem 0.45rem;
  cursor: pointer;
  color: var(--text);
  min-width: 0;
}

.rail-btn:hover,
.rail-btn[data-active],
.rail-btn[aria-pressed="true"] {
  background: var(--surface);
  border-left-color: var(--accent);
}

.rail-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 0.12rem;
}

.rail-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 600;
}

.summary-pane {
  min-width: 0;
}

.summary-card {
  min-width: 0;
  border-left: 3px solid var(--accent);
  padding-left: 1.1rem;
}

.summary-card .rubric {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.65rem;
}

.summary-card h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: 0.65rem;
}

.summary-card h2 a {
  color: inherit;
  text-decoration: none;
}

.summary-card h2 a:hover {
  color: var(--accent-bright);
}

.summary-card .standfirst {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

.summary-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.75rem;
  min-width: 0;
}

.rubric-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
}

.rubric-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.rubric-card h3 a {
  color: inherit;
  text-decoration: none;
}

.rubric-card h3 a:hover {
  color: var(--accent);
}

.rubric-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.rubric-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rubric-links a {
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
}

.rubric-links a:hover {
  color: var(--accent);
}

.scoreboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  min-width: 0;
}

.score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  min-width: 0;
  padding-block: 0.85rem;
}

.score-row + .score-row {
  border-top: 1px solid var(--border);
}

.score-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
}

.score-side-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  min-width: 0;
  text-align: left;
}

.results-scroll,
.table-scroll {
  width: 100%;
  overflow-x: auto;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.results-track {
  display: flex;
  gap: 1rem;
  min-width: min-content;
  padding-bottom: 0.35rem;
}

.result-card {
  flex: 0 0 auto;
  width: min(20rem, 85vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  min-width: 0;
}

.result-status {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  font-weight: 700;
}

.result-sides {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  min-width: 0;
}

.result-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.result-side-name {
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.result-score {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  padding-top: 0.55rem;
}

.standings {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
}

.standings th,
.standings td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.75rem;
  text-align: left;
}

.standings th {
  background: var(--surface);
  color: var(--secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.standings th:nth-child(n + 3),
.standings td:nth-child(n + 3) {
  text-align: right;
}

.fixtures-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.score-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--text);
  text-align: right;
}

.scoreboard-meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
  gap: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-width: 0;
}

.scoreboard-meta strong {
  display: block;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.15rem;
}

.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.85rem;
  border: 1.5px dashed var(--border);
  background: transparent;
  border-radius: 5px 5px 48% 48% / 5px 5px 32% 32%;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: var(--text-muted);
  flex-shrink: 0;
}

.monogram-sm {
  width: 1.35em;
  height: 1.5em;
  border-width: 1px;
  font-size: 0.55em;
  letter-spacing: 0.08em;
  vertical-align: middle;
  margin-inline-end: 0.35em;
}

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-block: 40px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 1.75rem;
  min-width: 0;
  margin-bottom: 2rem;
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a,
.footer-col button {
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--accent);
}

.footer-base {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-base p {
  margin-bottom: 0.5rem;
}

#cookie-notice,
[data-cookie-banner] {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 900;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.cookie-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  min-width: 0;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 16rem;
  min-width: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-actions button {
  border-radius: var(--radius);
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  font-weight: 600;
  min-width: 7rem;
}

.cookie-actions button[data-cookie="accept"],
.cookie-actions button[data-cookie="refuse"] {
  background: var(--surface-alt);
  color: var(--text);
  border-color: var(--border);
}

.cookie-actions button:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

.article-page,
.rubric-page,
.legal-page {
  padding-block: 40px 56px;
}

.article-rubric {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.article-page h1,
.rubric-page h1,
.legal-page h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  margin-bottom: 0.65rem;
}

.standfirst {
  font-size: 1.12rem;
  color: var(--text);
  max-width: 42rem;
}

.byline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0 1.75rem;
}

.prose {
  max-width: 42rem;
  min-width: 0;
}

.prose h2 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.prose h3 {
  font-size: 1.05rem;
  margin-top: 1.4rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: 0.4rem;
}

.related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.related h2 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.related a {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
}

.related a:hover {
  color: var(--accent);
}

.rubric-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.article-list li {
  border-left: 3px solid var(--accent);
  padding: 0.35rem 0 0.35rem 1rem;
  min-width: 0;
}

.article-list h2 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.article-list h2 a {
  color: inherit;
  text-decoration: none;
}

.article-list h2 a:hover {
  color: var(--accent);
}

.article-list .meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cookie-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.25rem 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 32rem;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: var(--surface);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  min-width: 0;
}

.contact-layout-spaced {
  margin-top: 1.75rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.contact-form .field {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
}

.contact-form button[type="submit"] {
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  border-radius: var(--radius);
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  background: var(--accent-bright);
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-done {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

@media (max-width: 1024px) {
  .digest {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .headline-rail {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 1.25rem;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .masthead {
    gap: 8px 12px;
  }

  .issue-date {
    margin-inline-start: 0;
    width: 100%;
    order: 3;
  }

  .nav-toggle {
    display: inline-block;
    margin-inline-start: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
  }

  .site-nav[data-open] {
    display: flex;
  }

  .section {
    padding-block: 40px;
  }

  .score-side {
    gap: 0.35rem;
  }

  .score-side-name {
    font-size: 0.88rem;
  }

  .monogram {
    width: 2.85rem;
    height: 3.25rem;
    font-size: 0.68rem;
  }
}
