@font-face {
  font-family: Inter;
  src: url(/assets/Inter.var.woff2) format('woff2');
  font-weight: 100 950;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font:
    16px Inter,
    system-ui,
    sans-serif;
  color: #eef3f9;
  background: #0a0f16;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
header {
  display: flex;
  align-items: center;
  gap: clamp(18px, 6vw, 88px);
  padding: 18px clamp(15px, 5vw, 80px);
  border-bottom: 1px solid #263340;
  background: #0a1018;
}
a {
  color: inherit;
  text-decoration: none;
}
.logo {
  display: flex;
  align-items: center;
  gap: 7px;
}
.logo img {
  width: 98px;
}
.logo b {
  border-radius: 4px;
  padding: 4px 5px;
  background: #3287bb;
  font-size: 11px;
}
.rubric {
  font-size: 11px;
  font-weight: 750;
  color: #a9c0d3;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.rubric i {
  width: 8px;
  height: 8px;
  background: #60b6e8;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 620;
}
nav a {
  padding: 6px 0;
  color: #adbdcd;
}
nav a[aria-current] {
  color: #fff;
  border-bottom: 2px solid #63b9ec;
}
main {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(23px, 4vw, 52px) 24px;
}
h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 8px 0;
  letter-spacing: -0.05em;
}
p {
  color: #abbccb;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin: 24px 0;
}
.toolbar label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #adbdcd;
}
.toolbar select,
.toolbar input,
.toolbar button,
.retry {
  color: #edf4fb;
  background: #16222f;
  border: 1px solid #344658;
  border-radius: 6px;
  font: inherit;
  padding: 8px;
  min-height: 38px;
}
button,
.retry {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
#week-controls {
  display: flex;
  align-items: end;
  gap: 5px;
}
#week-controls button {
  font-size: 20px;
  line-height: 1;
  width: 36px;
}
#period {
  color: #a7bdd0;
  font-size: 13px;
  padding-bottom: 10px;
}
#guide-status:empty {
  display: none;
}
.league {
  margin: 26px 0;
  border: 1px solid #263647;
  border-radius: 10px;
  overflow: hidden;
  background: #101923;
}
.league h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid #2e4053;
  background: #172431;
  font-size: 17px;
}
.league-chip {
  color: #b4e4ff;
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 5px 7px;
  background: #203e50;
  border-radius: 4px;
}
.fixture-row {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid #21303d;
}
.fixture-row:first-of-type {
  border-top: 0;
}
.fixture-row:hover,
.fixture-row:focus-visible {
  background: #1b2936;
}
.fixture-row time,
.sides {
  display: grid;
  gap: 4px;
}
.fixture-row time small,
.venue {
  color: #9db1c2;
  font-size: 12px;
}
.fixture-row time b {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.teams {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 680;
}
.club {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.club-name {
  overflow-wrap: anywhere;
}
.club-badge {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 50%;
  background: #f2f5f8;
}
.club-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.club-badge.monogram {
  color: #c5ddef;
  background: #263e50;
  font-size: 10px;
}
.versus {
  color: #8497a7;
}
@media (max-width: 700px) {
  .teams {
    display: grid;
    gap: 5px;
  }
  .club-badge {
    width: 24px;
    height: 24px;
  }
  .versus {
    display: none;
  }
}
.action {
  color: #abdfff;
  font-size: 12px;
  white-space: nowrap;
}
.live {
  color: #8be5be;
}
footer {
  border-top: 1px solid #263647;
  margin-top: 32px;
  padding: 16px 0;
  color: #8ea5b6;
  font-size: 12px;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid #76c9ff;
  outline-offset: 2px;
}
@media (max-width: 560px) {
  main {
    padding: 24px 12px;
  }
  .logo img {
    width: 80px;
  }
  header {
    padding: 13px 12px;
    justify-content: space-between;
    gap: 8px;
  }
  nav {
    gap: 12px;
    font-size: 12px;
  }
  .fixture-row {
    grid-template-columns: 53px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px 9px;
  }
  .league h2 {
    font-size: 14px;
    padding: 10px;
  }
  .action {
    font-size: 11px;
  }
  .teams {
    font-size: 13px;
  }
  .venue {
    font-size: 11px;
  }
  .toolbar {
    gap: 8px;
  }
  .toolbar select {
    max-width: 145px;
  }
}
