body.theme-night {
  --ink: #eee9de;
  --muted: #aaa59b;
  --paper: #0d0d0c;
  --surface: #171716;
  --blue: #ff5a36;
  --coral: #ff5a36;
  --acid: #eee9de;
  --lilac: #393733;
  --yellow: #d7ff45;
  --line: rgba(238, 233, 222, .16);
  --line-dark: rgba(13, 13, 12, .28);
  background: var(--paper);
  color: var(--ink);
}
.theme-night::selection { background: var(--coral); color: #0d0d0c; }

.theme-night .site-header {
  height: 76px;
  background: #0d0d0c;
  color: var(--ink);
  border-color: rgba(238,233,222,.32);
}
.theme-night .brand-mark { background: var(--ink); color: var(--paper); }
.theme-night .brand-mark i { background: var(--coral); }
.theme-night .brand-mark::before,
.theme-night .brand-mark::after { background: var(--paper); }
.theme-night .brand-copy small { color: #89857d; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.theme-night .site-header nav a:not(.nav-cta):hover { border-color: var(--ink); }
.theme-night .nav-cta,
.theme-night .button {
  background: var(--coral);
  color: #0d0d0c;
  border-color: var(--coral);
}
.theme-night .nav-cta:hover,
.theme-night .button:hover {
  background: var(--ink);
  color: #0d0d0c;
  box-shadow: 3px 3px 0 var(--coral);
}

.night-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(420px, .84fr);
  background: #0d0d0c;
  border-bottom: 1px solid rgba(238,233,222,.32);
}
.night-hero-copy {
  min-width: 0;
  padding: 42px 56px 54px max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.night-hero-copy::before,
.night-hero-copy::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(238,233,222,.08);
}
.night-hero-copy::before { left: 28%; }
.night-hero-copy::after { right: 20%; }
.night-issue {
  margin-bottom: 70px;
  padding-bottom: 15px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 26px;
  border-bottom: 1px solid rgba(238,233,222,.32);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.night-hero .eyebrow { color: var(--coral); position: relative; }
.night-hero h1 {
  margin: 0;
  position: relative;
  font-size: clamp(5.2rem, 8.3vw, 9.3rem);
  font-weight: 870;
  line-height: .77;
  letter-spacing: -.08em;
  text-transform: uppercase;
  font-variation-settings: "wdth" 78;
}
.night-hero h1 em {
  color: var(--coral);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  font-style: italic;
  text-transform: none;
}
.night-hero-bottom {
  margin-top: auto;
  padding-top: 42px;
  display: grid;
  grid-template-columns: minmax(170px, .6fr) minmax(340px, 1.4fr);
  gap: 38px;
  align-items: end;
  position: relative;
}
.night-hero-bottom > p {
  margin: 0;
  color: var(--muted);
  font-size: .77rem;
}
.theme-night .night-hero .search {
  max-width: none;
  min-height: 58px;
  margin: 0;
  background: transparent;
  border-color: var(--ink);
  box-shadow: none;
}
.theme-night .night-hero .search input {
  padding-left: 18px;
  color: var(--ink);
}
.theme-night .night-hero .search input::placeholder { color: #77736c; }
.theme-night .night-hero .search button {
  min-width: 122px;
  margin: 0;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: #0d0d0c;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.theme-night .night-hero .search button:hover { background: var(--coral); }
.theme-night .night-hero .search button b { font-size: 1rem; }

.night-board {
  margin: 44px max(24px, calc((100vw - var(--max)) / 2)) 44px 0;
  background: var(--surface);
  border: 1px solid rgba(238,233,222,.55);
  display: flex;
  flex-direction: column;
  position: relative;
}
.night-board::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid var(--coral);
  z-index: -1;
}
.night-board-head {
  min-height: 62px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(238,233,222,.3);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.night-board-head span { color: var(--coral); }
.night-board-date {
  padding: 38px 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: end;
  border-bottom: 1px solid rgba(238,233,222,.3);
}
.night-board-date strong {
  font-family: "Newsreader", Georgia, serif;
  color: var(--coral);
  font-size: 7.7rem;
  font-weight: 500;
  line-height: .62;
}
.night-board-date span {
  font-size: .66rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .08em;
}
.night-board-date i {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: var(--muted);
  font-size: .62rem;
  font-style: normal;
}
.night-board ol { list-style: none; margin: 0; padding: 0 26px; }
.night-board li {
  min-height: 94px;
  display: grid;
  grid-template-columns: 54px 1fr 24px;
  gap: 13px;
  align-items: center;
  border-bottom: 1px solid rgba(238,233,222,.16);
}
.night-board li time {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .65rem;
}
.night-board li div { display: flex; flex-direction: column; }
.night-board li small { color: var(--coral); font-size: .53rem; font-weight: 800; letter-spacing: .12em; }
.night-board li strong { margin-top: 5px; font-size: .8rem; text-transform: uppercase; letter-spacing: -.01em; }
.night-board li > span { color: var(--coral); }
.night-board-foot {
  margin-top: auto;
  min-height: 62px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .52rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.night-board-foot i { height: 1px; flex: 1; background: rgba(238,233,222,.25); }

.theme-night .category-ticker {
  background: var(--coral);
  color: #0d0d0c;
  border-color: rgba(238,233,222,.32);
}
.theme-night .category-ticker i { color: #0d0d0c; }
.theme-night .eyebrow { color: var(--coral); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.theme-night .section { max-width: var(--max); padding-top: 94px; }
.theme-night .section + .section { padding-top: 20px; }
.theme-night .section-head { border-color: rgba(238,233,222,.4); }
.theme-night .section-head h2 {
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 5.3rem);
  font-variation-settings: "wdth" 80;
}
.theme-night .text-link { color: var(--ink); }
.theme-night .text-link span {
  background: transparent;
  color: var(--coral);
  border-color: rgba(238,233,222,.55);
}
.theme-night .text-link:hover span { background: var(--coral); color: #0d0d0c; }
.theme-night .section-intro { color: var(--muted); }

.theme-night .card-grid {
  display: block;
  border-top: 1px solid rgba(238,233,222,.4);
}
.theme-night .match-card {
  min-height: 132px;
  grid-template-columns: 112px minmax(0, 1fr);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(238,233,222,.28);
}
.theme-night .match-card:hover {
  transform: none;
  box-shadow: none;
  background: #151514;
}
.theme-night .ticket-date {
  padding: 18px;
  background: transparent;
  color: var(--ink);
  border-color: rgba(238,233,222,.28);
  flex-direction: row;
  justify-content: center;
  gap: 9px;
}
.theme-night .ticket-date::before,
.theme-night .ticket-date::after { display: none; }
.theme-night .ticket-date strong {
  margin: 0;
  color: var(--coral);
  font-size: 3.2rem;
}
.theme-night .ticket-date small { margin: 0; color: var(--muted); writing-mode: vertical-rl; }
.theme-night .ticket-body {
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(130px, .65fr) minmax(260px, 1.5fr) minmax(170px, .65fr);
  gap: 24px;
  align-items: center;
}
.theme-night .match-meta {
  display: block;
  color: var(--coral);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.theme-night .match-meta em { margin-left: 8px; background: var(--yellow); color: #0d0d0c; }
.theme-night .match-teams { margin: 0; }
.theme-night .team-badge { background: var(--ink); color: #0d0d0c; }
.theme-night .match-teams strong { font-size: 1.08rem; text-transform: uppercase; }
.theme-night .card-foot { margin: 0; }
.theme-night .card-foot > a { background: var(--coral); color: #0d0d0c; }
.theme-night .status { color: var(--muted); }
.theme-night .empty,
.theme-night .unknown {
  background: #151514;
  color: var(--muted);
  border-color: rgba(238,233,222,.38);
}

.theme-night .team-links { grid-template-columns: repeat(2, 1fr); border-color: rgba(238,233,222,.3); }
.theme-night .team-links a {
  min-height: 84px;
  color: var(--ink);
  border-color: rgba(238,233,222,.3);
}
.theme-night .team-links a:hover { background: var(--ink); color: #0d0d0c; }
.theme-night .team-links a > span { background: var(--coral); color: #0d0d0c; }
.theme-night .competition-links a > span { background: var(--ink); color: #0d0d0c; }
.theme-night .subsection-head h3 { color: var(--muted); }

.theme-night .how {
  background: var(--coral);
  color: #0d0d0c;
  box-shadow: 12px 12px 0 var(--ink);
}
.theme-night .how::before { background: var(--paper); }
.theme-night .how .eyebrow { color: #0d0d0c; }
.theme-night .how-title > p:last-child,
.theme-night .how li span { color: rgba(13,13,12,.7); }
.theme-night .how ol,
.theme-night .how li { border-color: rgba(13,13,12,.35); }
.theme-night .how li > b { color: #0d0d0c; }

.theme-night footer {
  background: #090909;
  color: var(--ink);
  border-color: rgba(238,233,222,.3);
}
.theme-night footer p { color: var(--muted); }
.theme-night .footer-mark { background: var(--coral); color: #0d0d0c; }
.theme-night .footer-mark::before,
.theme-night .footer-mark::after { background: #090909; }

.theme-night .page-head {
  background: #131312;
  color: var(--ink);
  border-color: rgba(238,233,222,.34);
}
.theme-night .page-head::after {
  border-color: var(--coral);
  box-shadow: inset 0 0 0 70px rgba(255,90,54,.08), inset 0 0 0 140px rgba(255,90,54,.08);
}
.theme-night .page-head .eyebrow { color: var(--coral); }
.theme-night .page-head-inner > p:last-child { color: var(--muted); }
.theme-night .page-index { background: var(--coral); color: #0d0d0c; border-color: var(--coral); }

.theme-night .filters {
  background: var(--surface);
  border-color: rgba(238,233,222,.45);
  box-shadow: 6px 6px 0 var(--coral);
}
.theme-night .filter-title { background: var(--ink); color: #0d0d0c; }
.theme-night .filter-title small { color: #55524d; }
.theme-night .filters input,
.theme-night .filters select,
.theme-night .watch-form input {
  background: #0d0d0c;
  color: var(--ink);
  border-color: rgba(238,233,222,.42);
  color-scheme: dark;
}
.theme-night .reset { color: var(--muted); }
.theme-night .result-count { border-color: rgba(238,233,222,.4); }
.theme-night .result-count span { color: var(--coral); }

.theme-night .match-hero { background: #10100f; border-color: rgba(238,233,222,.35); }
.theme-night .sample-banner {
  background: var(--yellow);
  color: #0d0d0c;
  border-color: #0d0d0c;
}
.theme-night .breadcrumbs span,
.theme-night .event-title-block .eyebrow,
.theme-night .versus > b { color: var(--coral); }
.theme-night .event-date-block {
  background: var(--coral);
  color: #0d0d0c;
  border-color: var(--ink);
}
.theme-night .event-date-block::before,
.theme-night .event-date-block::after { background: #10100f; border-color: var(--ink); }
.theme-night .versus > div > span { background: var(--ink); color: #0d0d0c; }
.theme-night .match-facts { border-color: rgba(238,233,222,.36); }
.theme-night .match-facts > div { border-color: rgba(238,233,222,.27); }
.theme-night .match-facts small { color: var(--coral); }

.theme-night .panel,
.theme-night .buy-box,
.theme-night .watch-box,
.theme-night .source-box {
  background: var(--surface);
  color: var(--ink);
  border-color: rgba(238,233,222,.42);
}
.theme-night .panel-head,
.theme-night .price-table > div,
.theme-night .rule { border-color: rgba(238,233,222,.2); }
.theme-night .panel-head span,
.theme-night .timeline-row p,
.theme-night .rule p,
.theme-night .price-table small,
.theme-night .watch-form small { color: var(--muted); }
.theme-night .timeline-row small,
.theme-night .rule > span,
.theme-night .timeline-row a,
.theme-night .rule a,
.theme-night .price-table > div span,
.theme-night .source-box dt { color: var(--coral); }
.theme-night .timeline-row > span { background: var(--coral); border-color: var(--ink); }
.theme-night .timeline-row > span::after { background: rgba(238,233,222,.4); }
.theme-night .buy-box {
  background: var(--ink);
  color: #0d0d0c;
  box-shadow: 7px 7px 0 var(--coral);
}
.theme-night .buy-box .eyebrow { color: var(--coral); }
.theme-night .buy-box .button { background: var(--coral); color: #0d0d0c; border-color: #0d0d0c; }
.theme-night .watch-box { box-shadow: 7px 7px 0 var(--coral); }
.theme-night .source-box dd { color: var(--muted); }
.theme-night .split-section > section > h2 { border-color: rgba(238,233,222,.4); }

.theme-night .result-page {
  background: var(--surface);
  border-color: var(--ink);
  box-shadow: 12px 12px 0 var(--coral);
}
.theme-night .result-icon { background: var(--coral); color: #0d0d0c; border-color: var(--ink); }
.theme-night .result-icon::before,
.theme-night .result-icon::after { background: var(--surface); border-color: var(--ink); }
.theme-night .flash { background: var(--coral); color: #0d0d0c; border-color: var(--ink); }

@media (max-width: 1050px) {
  .night-hero { grid-template-columns: 1fr 370px; }
  .night-hero-copy { padding-right: 38px; }
  .night-hero h1 { font-size: clamp(4.7rem, 9vw, 7.5rem); }
  .night-hero-bottom { grid-template-columns: 1fr; gap: 20px; }
  .night-board-date strong { font-size: 6rem; }
}

@media (max-width: 820px) {
  .night-hero { grid-template-columns: 1fr; }
  .night-hero-copy { min-height: 690px; padding: 38px 24px 50px; }
  .night-board { min-height: 580px; margin: 0 24px 55px; }
  .theme-night .ticket-body { grid-template-columns: 140px 1fr 170px; }
}

@media (max-width: 600px) {
  .theme-night .site-header { height: 70px; }
  .night-hero-copy { min-height: 650px; padding: 30px 18px 38px; }
  .night-issue { margin-bottom: 58px; grid-template-columns: 1fr auto; }
  .night-issue span:nth-child(2) { display: none; }
  .night-hero h1 { font-size: clamp(3.55rem, 15.5vw, 4.5rem); letter-spacing: -.065em; }
  .night-hero-bottom { padding-top: 34px; }
  .theme-night .night-hero .search { display: flex; }
  .theme-night .night-hero .search input { font-size: .78rem; }
  .theme-night .night-hero .search button { min-height: auto; min-width: 102px; border-top: 0; }
  .theme-night .night-hero .search button span { display: inline; }
  .night-board { min-height: 540px; margin: 0 16px 45px; }
  .night-board-date { padding: 32px 20px; }
  .night-board-date strong { font-size: 5.5rem; }
  .night-board ol { padding: 0 20px; }
  .theme-night .section { padding-top: 68px; }
  .theme-night .section-head h2 { font-size: 3rem; }
  .theme-night .match-card { min-height: 170px; grid-template-columns: 74px 1fr; }
  .theme-night .ticket-date { padding: 10px; flex-direction: column; gap: 5px; }
  .theme-night .ticket-date strong { font-size: 2.8rem; }
  .theme-night .ticket-date small { writing-mode: initial; }
  .theme-night .ticket-body { padding: 16px; display: flex; gap: 0; }
  .theme-night .match-teams { margin: 14px 0; }
  .theme-night .match-teams strong { font-size: .9rem; }
  .theme-night .team-links { grid-template-columns: 1fr; }
  .theme-night .how { box-shadow: 7px 7px 0 var(--ink); }
}
