:root {
  color-scheme: light;
  --background: #ffffff;
  --text: #0a0a0a;
  --muted: #6f6f75;
  --line: #111111;
  --hairline: rgba(10, 10, 10, 0.1);
  --surface: #ffffff;
  --surface-soft: #f5f5f7;
  --focus: #0071e3;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--background);
  color: var(--text);
  text-rendering: geometricPrecision;
}

[hidden] {
  display: none !important;
}

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

.site-header {
  position: relative;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(20px, 3.5vw, 52px) 0;
}

.site-brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  min-width: 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  overflow: visible;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.6;
}

.brand-label {
  min-width: 0;
}

.juggle-record {
  appearance: none;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(10, 10, 10, 0.46);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.juggle-record:disabled {
  cursor: default;
  opacity: 0.58;
}

.juggle-record:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.juggle-ball {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--juggle-ball-size, 38px);
  height: var(--juggle-ball-size, 38px);
  color: var(--text);
  font-size: calc(var(--juggle-ball-size, 38px) - 5px);
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
  user-select: none;
  contain: layout paint style;
  backface-visibility: hidden;
  will-change: transform;
  -webkit-user-select: none;
}

.juggle-ball.is-active {
  opacity: 1;
}

.juggle-ball-shadow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 19;
  width: calc(var(--juggle-ball-size, 38px) * 0.76);
  height: calc(var(--juggle-ball-size, 38px) * 0.22);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 10, 10, 0.2) 0%,
    rgba(10, 10, 10, 0.13) 44%,
    rgba(10, 10, 10, 0) 72%
  );
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
  contain: layout paint style;
  filter: blur(0.5px);
  will-change: opacity, transform;
}

.juggle-ball-shadow.is-active {
  opacity: var(--juggle-ball-shadow-opacity, 0.2);
}

body.is-juggle-active > :not(.juggle-ball) {
  pointer-events: none;
}

body.is-juggle-active {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.header-view-actions {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 14px;
}

.header-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 8px;
  min-width: 0;
  transition: gap 180ms ease;
}

.header-controls-loading {
  display: none;
  align-items: center;
  gap: 12px;
}

.header-controls.is-loading .header-controls-loading {
  display: inline-flex;
}

.header-controls.is-loading .settings-shell {
  display: none;
}

.header-controls .header-loading-settings {
  width: 37px;
  height: 37px;
  border-radius: 999px;
}

.view-tabs,
.catch-up-button,
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 999px;
  background: var(--surface-soft);
}

.view-tabs {
  position: relative;
  isolation: isolate;
  gap: 2px;
  overflow: hidden;
  padding: 3px;
}

.view-tabs::before,
.language-switch::before,
.standings-mode-tabs::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  z-index: 0;
  width: var(--active-tab-width, 0px);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.06),
    0 5px 14px rgba(10, 10, 10, 0.06);
  pointer-events: none;
  transform: translateX(var(--active-tab-left, 3px));
  transition: transform 220ms cubic-bezier(0.2, 0.72, 0.18, 1),
    width 220ms cubic-bezier(0.2, 0.72, 0.18, 1);
}

.language-switch {
  position: relative;
  isolation: isolate;
  gap: 2px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 3px;
}

.view-tab,
.catch-up-button,
.language-option,
.timezone-select {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
}

.view-tab,
.catch-up-button,
.language-option {
  min-width: 84px;
  padding: 7px 13px;
  border-radius: 999px;
  color: rgba(10, 10, 10, 0.58);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.view-tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
}

.language-option {
  position: relative;
  z-index: 1;
  min-width: 42px;
  border: 0;
  background: transparent;
}

.catch-up-button {
  width: 37px;
  min-width: 37px;
  min-height: 37px;
  height: 37px;
  padding: 0;
  border: 1px solid rgba(10, 10, 10, 0.08);
  background: var(--surface-soft);
  color: rgba(10, 10, 10, 0.66);
  font-size: 0;
}

.catch-up-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.catch-up-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.catch-up-button[aria-expanded="true"] {
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.06),
    0 5px 14px rgba(10, 10, 10, 0.06);
  color: var(--text);
}

.catch-up-shell {
  position: relative;
  display: inline-flex;
}

.settings-shell {
  position: relative;
  display: inline-flex;
}

.settings-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 999px;
  background: var(--surface-soft);
  color: rgba(10, 10, 10, 0.68);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.settings-button[aria-expanded="true"] {
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.06),
    0 5px 14px rgba(10, 10, 10, 0.06);
  color: var(--text);
}

.settings-icon {
  width: 18px;
  height: 18px;
}

.settings-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.settings-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 35;
  display: grid;
  gap: 14px;
  width: min(300px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 52px rgba(10, 10, 10, 0.13);
  backdrop-filter: blur(20px) saturate(120%);
}

.settings-section {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.settings-label {
  margin: 0;
  color: rgba(10, 10, 10, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.settings-popover .language-switch {
  width: 100%;
}

.settings-popover .language-option {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 10px;
}

.settings-toggle-control {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  cursor: pointer;
}

.settings-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.settings-toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.1);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.settings-toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(10, 10, 10, 0.22);
  transition: transform 160ms ease;
}

.settings-toggle-control:hover .settings-toggle-track {
  border-color: rgba(10, 10, 10, 0.18);
  box-shadow: 0 1px 3px rgba(10, 10, 10, 0.08);
}

.settings-toggle-input:checked + .settings-toggle-track {
  border-color: rgba(10, 10, 10, 0.72);
  background: var(--text);
}

.settings-toggle-input:checked + .settings-toggle-track::after {
  transform: translateX(18px);
}

.settings-toggle-input:focus-visible + .settings-toggle-track {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.catch-up-popover {
  --catch-up-column-gap: 12px;

  position: fixed;
  top: var(--catch-up-popover-top, 0);
  left: var(--catch-up-popover-left, 50%);
  z-index: 30;
  width: min(430px, calc(100vw - 36px));
  max-height: min(560px, calc(100vh - 112px));
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(10, 10, 10, 0.14);
  backdrop-filter: blur(20px) saturate(120%);
}

.catch-up-list {
  display: grid;
  gap: 0;
}

.catch-up-group {
  display: grid;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}

.catch-up-group:first-child {
  padding-top: 0;
}

.catch-up-group:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.catch-up-group-date {
  color: rgba(10, 10, 10, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.catch-up-group-items {
  display: grid;
  gap: 0;
}

.catch-up-item {
  padding: 0 0 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

.catch-up-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.catch-up-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.catch-up-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.catch-up-title-row h3 {
  flex: 1 1 auto;
  min-width: 0;
}

.catch-up-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.22;
}

.catch-up-copy h3 span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catch-up-subtitle {
  margin: 0;
  color: rgba(10, 10, 10, 0.6);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.38;
}

.catch-up-loading {
  gap: 12px;
}

.catch-up-loading-date {
  width: 72px;
  height: 12px;
}

.catch-up-loading-item {
  pointer-events: none;
}

.catch-up-loading-title {
  width: min(76%, 286px);
  height: 14px;
}

.catch-up-loading-subtitle {
  width: 100%;
  height: 12px;
}

.catch-up-loading-subtitle.is-short {
  width: 68%;
}

.catch-up-points {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 16px;
  list-style: disc;
}

.catch-up-point {
  color: rgba(10, 10, 10, 0.62);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.38;
}

.catch-up-point::marker {
  color: rgba(10, 10, 10, 0.34);
  font-size: 0.9em;
}

.catch-up-source {
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: -2px;
  border-radius: 999px;
  color: rgba(10, 10, 10, 0.46);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.catch-up-source span {
  transform: translateY(-1px);
}

.catch-up-source:hover {
  background: rgba(10, 10, 10, 0.05);
  color: var(--text);
}

.view-tab:hover,
.catch-up-button:hover,
.settings-button:hover,
.language-option:hover {
  color: rgba(10, 10, 10, 0.86);
}

.language-option.is-active,
.view-tab.is-active {
  color: var(--text);
}

.view-tab:focus-visible,
.catch-up-button:focus-visible,
.settings-button:focus-visible,
.language-option:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}

.timezone-control {
  position: relative;
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.timezone-control::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 15px;
  width: 7px;
  height: 7px;
  border-color: rgba(10, 10, 10, 0.48);
  border-style: solid;
  border-width: 0 1.5px 1.5px 0;
  pointer-events: none;
  transform: rotate(45deg);
}

.timezone-select {
  width: 100%;
  min-height: 37px;
  min-width: 0;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 8px;
  appearance: none;
  background: var(--surface-soft);
  color: rgba(10, 10, 10, 0.86);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  transition: background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.timezone-select:hover {
  background: var(--surface);
  border-color: rgba(10, 10, 10, 0.16);
}

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

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

.page-shell {
  flex: 1;
  width: min(calc(100% - 64px), 1320px);
  margin: 0 auto;
  padding: clamp(56px, 7vh, 96px) 0 72px;
}

.page-title {
  position: relative;
  z-index: 25;
  width: min(100%, 1260px);
  margin: 0 auto 42px;
}

#matches-view {
  --yesterday-suppressed-offset: clamp(44px, 6vh, 72px);
  display: grid;
  grid-template-columns: minmax(500px, 620px) minmax(420px, 560px);
  grid-template-rows: auto 1fr;
  gap: 0 clamp(40px, 4vw, 64px);
  align-items: start;
  justify-content: center;
  width: min(100%, 1380px);
  margin: 0 auto;
}

#matches-view .page-title {
  grid-column: 1;
  width: 100%;
  margin: clamp(104px, 11vh, 152px) 0 20px;
}

#matches-view .page-title,
#matches-view .match-list {
  transition: transform 420ms cubic-bezier(0.2, 0.72, 0.18, 1);
  will-change: transform;
}

#matches-view.is-yesterday-suppressed .page-title,
#matches-view.is-yesterday-suppressed .match-list {
  transform: translateY(var(--yesterday-suppressed-offset));
}

h1 {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.date-nav {
  display: inline-flex;
  align-items: center;
}

.match-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 10px;
}

.match-toolbar .date-nav {
  margin: 0;
}

#day-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  transition: color 160ms ease;
}

#day-label::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-color: currentColor;
  border-style: solid;
  border-width: 0 1.5px 1.5px 0;
  opacity: 0.48;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease, opacity 160ms ease;
}

#day-label:hover {
  color: rgba(10, 10, 10, 0.72);
}

#day-label[aria-expanded="true"]::after {
  opacity: 0.72;
  transform: translateY(2px) rotate(225deg);
}

#day-label:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.team-search {
  display: inline-flex;
  align-items: center;
  min-width: 32px;
  height: 38px;
}

.team-search-field {
  display: grid;
  grid-template-columns: 32px 0 0;
  align-items: center;
  width: 32px;
  height: 38px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transition: width 180ms ease, border-color 180ms ease, background 180ms ease,
    box-shadow 180ms ease, grid-template-columns 180ms ease;
}

.team-search.is-active .team-search-field {
  grid-template-columns: 36px minmax(0, 178px) 30px;
  width: 246px;
  border-color: rgba(10, 10, 10, 0.09);
  background: rgba(245, 245, 247, 0.95);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
}

.team-search-toggle,
.team-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(10, 10, 10, 0.7);
  cursor: pointer;
}

.team-search-toggle::before {
  content: "";
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 3a6.5 6.5 0 0 1 5.17 10.44l4.45 4.44-1.41 1.42-4.45-4.45A6.5 6.5 0 1 1 9.5 3Zm0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 3a6.5 6.5 0 0 1 5.17 10.44l4.45 4.44-1.41 1.42-4.45-4.45A6.5 6.5 0 1 1 9.5 3Zm0 2a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.team-search-input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0;
  transition: opacity 120ms ease;
}

.team-search.is-active .team-search-input {
  opacity: 1;
}

.team-search-input::placeholder {
  color: rgba(10, 10, 10, 0.42);
}

.team-search-input::-webkit-search-cancel-button,
.team-search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.team-search-clear {
  position: relative;
  color: rgba(10, 10, 10, 0.42);
}

.team-search-clear::before,
.team-search-clear::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.team-search-clear::before {
  transform: rotate(45deg);
}

.team-search-clear::after {
  transform: rotate(-45deg);
}

.team-search-toggle:hover,
.team-search-clear:hover {
  color: var(--text);
}

.team-search-toggle:focus-visible,
.team-search-clear:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 999px;
}

.date-popover {
  position: absolute;
  top: 46px;
  left: 0;
  z-index: 20;
  width: 316px;
  padding: 14px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(10, 10, 10, 0.14);
  backdrop-filter: blur(20px) saturate(120%);
}

.calendar-header,
.calendar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-header {
  margin-bottom: 12px;
}

.calendar-header p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.calendar-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(10, 10, 10, 0.56);
  cursor: pointer;
}

.calendar-nav-button:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.calendar-nav-button:disabled,
.calendar-shortcut-button:disabled {
  color: rgba(10, 10, 10, 0.24);
  cursor: default;
}

.calendar-nav-button:disabled:hover,
.calendar-shortcut-button:disabled:hover {
  background: transparent;
}

.calendar-nav-button:focus-visible,
.calendar-day:focus-visible,
.calendar-shortcut-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.calendar-nav-button::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-color: currentColor;
  border-style: solid;
  border-width: 0 0 1.5px 1.5px;
}

.calendar-nav-button.is-prev::before {
  transform: translateX(1px) rotate(45deg);
}

.calendar-nav-button.is-next::before {
  transform: translateX(-1px) rotate(225deg);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays {
  margin-bottom: 6px;
}

.calendar-weekdays span {
  color: rgba(10, 10, 10, 0.42);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.calendar-grid {
  gap: 4px;
}

.calendar-day {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(10, 10, 10, 0.84);
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
}

.calendar-day:hover {
  background: var(--surface-soft);
}

.calendar-day:disabled {
  color: rgba(10, 10, 10, 0.24);
  cursor: default;
}

.calendar-day:disabled:hover {
  background: transparent;
}

.calendar-day.is-outside-month {
  color: rgba(10, 10, 10, 0.28);
}

.calendar-day.is-outside-month:disabled {
  color: rgba(10, 10, 10, 0.18);
}

.calendar-day.is-today {
  border-color: rgba(10, 10, 10, 0.16);
}

.calendar-day.is-selected {
  background: #111111;
  color: #ffffff;
}

.calendar-footer {
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.calendar-shortcut-button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.calendar-shortcut-button:hover {
  background: var(--surface-soft);
}

.is-hidden {
  display: none;
}

.match-list {
  display: grid;
  gap: 18px;
}

.match-layout {
  display: contents;
}

.match-list {
  grid-column: 1;
}

.match-loading {
  display: grid;
  gap: 18px;
}

.match-loading-row {
  display: flex;
  align-items: center;
  gap: 0 18px;
  min-width: 0;
}

.match-loading-line {
  display: block;
  height: 25px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8e8e8 0%, #f8f8f8 45%, #e8e8e8 100%);
  background-size: 220% 100%;
  animation: match-loading-shimmer 1300ms ease-in-out infinite;
}

.match-loading-time {
  flex: 0 0 88px;
}

.match-loading-teams {
  flex: 0 1 312px;
  width: min(48vw, 312px);
}

.match-loading-score {
  flex: 0 0 52px;
  height: 28px;
}

.yesterday-section {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin-top: clamp(12px, 1.6vh, 18px);
  padding: 12px;
  border: 1px solid rgba(10, 10, 10, 0.04);
  border-radius: 12px;
  background: rgba(10, 10, 10, 0.032);
  transition: opacity 160ms ease;
}

@media (min-width: 1161px) {
  .yesterday-section {
    margin-top: clamp(24px, 2.4vh, 32px);
  }

  /* Widen the desktop layout so match rows and the Past 24 hours cards have
     enough room to show full team names without truncation. */
  .page-shell {
    width: min(calc(100% - 64px), 1680px);
  }

  #matches-view {
    width: 100%;
    grid-template-columns: minmax(560px, 880px) minmax(440px, 580px);
  }

  .yesterday-match-grid {
    gap: 10px;
  }
}

.yesterday-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 0 2px;
}

.yesterday-section-header h2 {
  margin: 0;
  color: rgba(10, 10, 10, 0.44);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
}

.yesterday-section-header time {
  font: inherit;
  white-space: nowrap;
}

.yesterday-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(10, 10, 10, 0.42);
  cursor: pointer;
  padding: 0;
}

.yesterday-dismiss-icon {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
}

.yesterday-dismiss-icon::before,
.yesterday-dismiss-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 9px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.yesterday-dismiss-icon::before {
  transform: rotate(45deg);
}

.yesterday-dismiss-icon::after {
  transform: rotate(-45deg);
}

.yesterday-dismiss:hover {
  background: rgba(10, 10, 10, 0.06);
  color: rgba(10, 10, 10, 0.72);
}

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

.yesterday-match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.yesterday-match-card {
  min-width: 0;
}

.yesterday-match-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

.yesterday-match-button:hover,
.yesterday-match-card.is-selected .yesterday-match-button {
  border-color: rgba(10, 10, 10, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.06);
  transform: translateY(-1px);
}

.yesterday-match-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.yesterday-match-time {
  color: rgba(10, 10, 10, 0.52);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.yesterday-match-pair {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: rgba(10, 10, 10, 0.78);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
}

.yesterday-team {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}

.yesterday-team .flag {
  width: 16px;
  height: 13px;
  flex-basis: 16px;
  font-size: 13px;
}

.yesterday-team .team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yesterday-match-pair .versus {
  color: rgba(10, 10, 10, 0.42);
  font-size: 11px;
  font-weight: 700;
}

.yesterday-match-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.yesterday-match-meta .live-pill,
.yesterday-match-meta .match-score,
.yesterday-match-meta .score-status {
  height: 22px;
  padding: 0 7px;
  font-size: 9px;
  transform: none;
}

@keyframes match-loading-shimmer {
  from {
    background-position: 120% 0;
  }

  to {
    background-position: -120% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .match-loading-line {
    animation: none;
  }

  .juggle-ball {
    display: none;
  }

  .juggle-ball-shadow {
    display: none;
  }

  .header-controls,
  .timezone-control,
  .timezone-select,
  #matches-view .page-title,
  #matches-view .match-list,
  .team-search-field,
  .team-search-input,
  .settings-toggle-track,
  .settings-toggle-track::after,
  .view-tabs::before,
  .language-switch::before,
  .standings-mode-tabs::before {
    transition: none;
  }
}

.team-search-summary {
  display: grid;
  gap: 5px;
  margin-bottom: 2px;
}

.team-search-summary h2 {
  margin: 0;
  color: var(--text);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

.team-search-summary.is-empty h2 {
  color: rgba(10, 10, 10, 0.58);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.team-search-section {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.team-search-section h3 {
  margin: 0;
  color: rgba(10, 10, 10, 0.5);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.team-search-match-list {
  display: grid;
  gap: 18px;
}

.team-search-archive-toggle {
  padding-top: 4px;
}

.team-search-history-button {
  justify-self: start;
}

.match-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.match-row-trigger {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 0 18px;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.match-row-trigger:focus-visible {
  outline: 2px solid rgba(10, 10, 10, 0.72);
  outline-offset: 6px;
  border-radius: 4px;
}

.match-row:hover {
  transform: translateX(2px);
}

.match-row.is-selected {
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.045);
  box-shadow: 0 0 0 6px rgba(10, 10, 10, 0.045);
}

.live-pill,
.up-next-pill,
.match-score,
.score-status {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.live-pill {
  background: #ff3b30;
  text-decoration: none;
  text-transform: uppercase;
}

.live-pill[data-tooltip] {
  position: relative;
}

.live-pill[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: calc(50% + var(--tooltip-shift-x, 0px));
  z-index: 20;
  padding: 6px 8px;
  border-radius: 6px;
  background: #0a0a0a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: nowrap;
}

.live-pill[data-tooltip]:hover::after,
.live-pill[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.up-next-pill {
  background: #0a0a0a;
}

.match-score {
  background: #0a0a0a;
  color: #ffffff;
}

.match-score.is-live-fallback {
  background: #171717;
}

.match-score.is-search-win {
  background: #147447;
}

.match-score.is-search-loss {
  background: #b8322c;
}

.match-score.is-search-tie {
  background: #3f3f46;
}

.score-status {
  border: 1px solid #d8d8d8;
  background: #f4f4f4;
  color: #4b4b4b;
}

.score-status.is-pending {
  font-weight: 700;
}

.match-row.is-idle,
.match-row.is-next,
.match-row.is-live,
.match-row.is-complete {
  opacity: 1;
}

.match-list.has-live-today-match > .match-row:not(.is-live) {
  opacity: 0.42;
}

.match-list.has-live-today-match > .yesterday-section {
  opacity: 0.42;
}

.match-row.is-live .match-time,
.match-row.is-live .match-teams {
  font-weight: 600;
}

.match-row:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 6px;
}

.match-time {
  min-width: 82px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.match-time.has-date {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 160px;
  letter-spacing: 0;
}

.match-date {
  color: var(--text);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.match-clock {
  line-height: 1.05;
}

.match-teams {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  column-gap: 0;
  min-width: 0;
  max-width: 100%;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.match-row-meta {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  white-space: nowrap;
}

.match-row.has-wrapped-matchup {
  column-gap: var(--match-row-wrapped-meta-gap, 8px);
}

.match-row.has-wrapped-matchup .match-row-trigger {
  flex: 0 1 var(--match-row-wrapped-trigger-width, auto);
  width: var(--match-row-wrapped-trigger-width, auto);
  max-width: calc(100% - var(--match-row-wrapped-meta-width, 0px) - var(--match-row-wrapped-meta-gap, 8px));
}

.match-row.has-wrapped-matchup .match-row-meta {
  justify-content: flex-end;
  margin-left: auto;
}

.match-score,
.score-status {
  transform: translateY(1px);
}

.team {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
}

.team.has-team-tooltip,
.past-team.has-team-tooltip,
.summary-team.has-team-tooltip,
.yesterday-team.has-team-tooltip {
  position: relative;
}

.team.has-team-tooltip::after,
.past-team.has-team-tooltip::after,
.summary-team.has-team-tooltip::after,
.yesterday-team.has-team-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: calc(var(--name-tooltip-anchor, 50%) + var(--tooltip-shift-x, 0px));
  z-index: 40;
  width: max-content;
  max-width: min(260px, 76vw);
  padding: 8px 10px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.team.has-team-tooltip:hover::after,
.past-team.has-team-tooltip:hover::after,
.summary-team.has-team-tooltip:hover::after,
.yesterday-team.has-team-tooltip:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-teams .team {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
}

.match-teams .match-team-home {
  flex: 0 1 auto;
  min-width: min-content;
}

.match-teams .match-team-away {
  flex: 1 1 min-content;
  min-width: 0;
}

.match-teams .match-versus {
  flex: 0 0 auto;
  margin-inline: 6px;
}

.match-teams .team-name {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 4px;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: normal;
  text-overflow: clip;
  white-space: normal;
}

.team-name-rank-lock {
  white-space: nowrap;
}

.team-name-start-lock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.match-teams .rank-pill {
  vertical-align: middle;
  transform: translateY(-2px);
}

.team.is-winner .team-name,
.past-team.is-winner .team-name,
.yesterday-team.is-winner .team-name {
  font-weight: 600;
}

.past-team.is-loser {
  opacity: 0.52;
}

.yesterday-team.is-loser {
  opacity: 0.72;
}

.yesterday-team.is-loser .team-name {
  font-weight: 400;
}

.versus {
  margin: 0 4px;
  white-space: nowrap;
}

.flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 16px;
  font-size: 17px;
  line-height: 1;
  flex: 0 0 20px;
}

.flag-england {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #ffffff;
}

.flag-scotland {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #005eb8;
}

.flag-soviet-union,
.flag-yugoslavia {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.16);
}

.flag-soviet-union {
  background: #cc0000;
}

.flag-yugoslavia {
  background: linear-gradient(
    to bottom,
    #003893 0 33.333%,
    #ffffff 33.333% 66.666%,
    #de0000 66.666% 100%
  );
}

.flag-england::before,
.flag-england::after {
  content: "";
  position: absolute;
  background: #cf142b;
}

.flag-england::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  transform: translateY(-50%);
}

.flag-england::after {
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
}

.flag-scotland::before,
.flag-scotland::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 3px;
  background: #ffffff;
  transform-origin: center;
}

.flag-scotland::before {
  transform: translate(-50%, -50%) rotate(38deg);
}

.flag-scotland::after {
  transform: translate(-50%, -50%) rotate(-38deg);
}

.flag-soviet-union::before,
.flag-yugoslavia::before {
  content: "\2605";
  position: absolute;
  color: #ffd700;
  font-size: 8px;
  line-height: 1;
}

.flag-soviet-union::before {
  top: 1px;
  left: 2px;
}

.flag-yugoslavia::before {
  top: 50%;
  left: 50%;
  color: #de0000;
  transform: translate(-50%, -50%);
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 21px;
  height: 17px;
  padding: 0 5px;
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: rgba(10, 10, 10, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  opacity: 0.72;
  transform: translateY(1px);
}

.empty-state {
  max-width: 520px;
}

.empty-state h2 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.empty-actions {
  display: flex;
  margin-top: 20px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease,
    opacity 160ms ease;
}

.primary-button {
  border: 1px solid #0a0a0a;
  background: #0a0a0a;
  color: #ffffff;
}

.primary-button:hover {
  background: rgba(10, 10, 10, 0.82);
  border-color: rgba(10, 10, 10, 0.82);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.primary-button.is-loading {
  gap: 8px;
  min-width: 112px;
  opacity: 0.72;
}

.primary-button.is-loading::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: button-loading-spin 740ms linear infinite;
}

.secondary-button {
  border: 1px solid rgba(10, 10, 10, 0.12);
  background: var(--surface);
  color: var(--text);
}

.secondary-button:hover {
  border-color: rgba(10, 10, 10, 0.2);
  background: var(--surface-soft);
}

.primary-button:focus-visible,
.secondary-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

@keyframes button-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.match-info {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  margin-top: clamp(-32px, -2.5vh, -22px);
  min-height: 420px;
  padding: clamp(24px, 2.2vw, 34px);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 56px rgba(10, 10, 10, 0.07);
  backdrop-filter: blur(20px) saturate(120%);
}

.match-info.is-entering {
  animation: match-info-enter 560ms cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

@keyframes match-info-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .match-info.is-entering {
    animation: none;
  }
}

.info-empty {
  margin: 0;
  color: rgba(10, 10, 10, 0.56);
  font-size: 16px;
  line-height: 1.45;
}

.match-info .info-block + .info-block {
  margin-top: 34px;
}

.info-kicker,
.match-summary p {
  margin: 0;
  color: rgba(10, 10, 10, 0.56);
  font-size: 12px;
  line-height: 1.35;
}

.match-summary h2 {
  margin: 6px 0 10px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.summary-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.summary-title > .versus {
  margin: 0;
}

.summary-team {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.summary-title .flag {
  width: 22px;
  height: 17px;
  flex-basis: 22px;
  font-size: 18px;
  transform: translateY(1px);
}

.summary-title .rank-pill {
  height: 19px;
  min-width: 24px;
  font-size: 12px;
  letter-spacing: 0;
  transform: translateY(1px);
}

.info-block h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.info-heading {
  justify-content: flex-start;
}

.info-tooltip-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: -2px 0 0;
  padding: 0;
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: rgba(10, 10, 10, 0.58);
  cursor: help;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.info-tooltip-button::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(50% + var(--tooltip-shift-x, 0px));
  bottom: calc(100% + 9px);
  z-index: 20;
  width: 224px;
  max-width: min(224px, 72vw);
  padding: 9px 10px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.info-tooltip-button:hover,
.info-tooltip-button:focus {
  border-color: rgba(10, 10, 10, 0.24);
  color: rgba(10, 10, 10, 0.82);
}

.info-tooltip-button:hover::after,
.info-tooltip-button:focus::after,
.info-tooltip-button:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.info-tooltip-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.section-note {
  color: rgba(10, 10, 10, 0.44);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.historical-date {
  margin: 0 0 12px;
  color: rgba(10, 10, 10, 0.62);
  font-size: 13px;
  line-height: 1.4;
}

.historical-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
}

.historical-facts div {
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.historical-facts dt {
  margin: 0 0 4px;
  color: rgba(10, 10, 10, 0.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.historical-facts dd {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.historical-goals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.historical-goal-team h4 {
  margin: 0 0 9px;
  color: rgba(10, 10, 10, 0.66);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.historical-goal-team ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.historical-goal-team li {
  display: grid;
  gap: 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.historical-goal-team span {
  min-width: 0;
  color: rgba(10, 10, 10, 0.78);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.historical-goal-team em {
  color: rgba(10, 10, 10, 0.48);
  font-size: 11px;
  font-style: normal;
  line-height: 1.2;
}

.historical-bracket {
  display: grid;
  gap: 12px;
}

.historical-bracket article {
  min-width: 0;
}

.historical-bracket h4 {
  margin: 0 0 8px;
  color: rgba(10, 10, 10, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.historical-bracket ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.historical-bracket li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  color: rgba(10, 10, 10, 0.76);
  font-size: 13px;
  line-height: 1.25;
}

.historical-bracket li.is-selected {
  padding-right: 10px;
  padding-left: 10px;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.045);
}

.historical-bracket strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.historical-bracket em {
  grid-column: 1 / -1;
  color: rgba(10, 10, 10, 0.48);
  font-size: 11px;
  font-style: normal;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.standings-table th,
.standings-table td {
  padding: 9px 10px 9px 0;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  vertical-align: middle;
}

.standings-table th + th,
.standings-table td + td {
  padding-left: 12px;
}

.standings-table th:last-child,
.standings-table td:last-child {
  padding-right: 0;
}

.standings-table th:nth-child(2),
.standings-table td:nth-child(2) {
  width: 36px;
}

.standings-table th:nth-child(3),
.standings-table td:nth-child(3) {
  width: 64px;
}

.standings-table th:nth-child(4),
.standings-table td:nth-child(4) {
  width: 44px;
}

.standings-table th {
  color: rgba(10, 10, 10, 0.52);
  font-weight: 600;
}

.standing-help {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-bottom: 1px dotted rgba(10, 10, 10, 0.34);
  color: inherit;
  cursor: help;
  outline: none;
}

.standing-help::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: calc(50% + var(--tooltip-shift-x, 0px));
  z-index: 20;
  width: 210px;
  max-width: min(210px, 72vw);
  padding: 9px 10px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.standing-help:hover::after,
.standing-help:focus::after,
.standing-help:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.standing-help:focus-visible {
  border-bottom-color: transparent;
  border-radius: 4px;
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.standings-table th:last-child .standing-help::after {
  right: 0;
  left: auto;
  transform: translateY(4px);
}

.standings-table th:last-child .standing-help:hover::after,
.standings-table th:last-child .standing-help:focus::after,
.standings-table th:last-child .standing-help:focus-visible::after {
  transform: translateY(0);
}

.third-place-table thead .standing-help::after {
  top: calc(100% + 9px);
  bottom: auto;
  transform: translate(-50%, -4px);
}

.third-place-table thead .standing-help:hover::after,
.third-place-table thead .standing-help:focus::after,
.third-place-table thead .standing-help:focus-visible::after {
  transform: translate(-50%, 0);
}

.third-place-table th:last-child .standing-help::after {
  right: 0;
  left: auto;
  transform: translateY(-4px);
}

.third-place-table th:last-child .standing-help:hover::after,
.third-place-table th:last-child .standing-help:focus::after,
.third-place-table th:last-child .standing-help:focus-visible::after {
  transform: translateY(0);
}

.standings-table tbody tr:last-child td {
  border-bottom: 0;
  padding-bottom: 2px;
}

.match-info .standings-table tbody tr:last-child td {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 9px;
}

.standings-table th:not(:first-child),
.standings-table td:not(:first-child) {
  white-space: nowrap;
}

.standings-table tbody tr.is-advancing td {
  background: rgba(18, 122, 72, 0.035);
}

.standings-table tbody tr.is-advancing td:first-child {
  padding-left: 7px;
  box-shadow: inset 3px 0 0 rgba(18, 122, 72, 0.34);
  font-weight: 700;
}

.standing-team {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.18;
  min-height: 22px;
  min-width: 0;
  width: 100%;
}

.standing-team.has-name-tooltip {
  position: relative;
  cursor: help;
  outline: none;
}

.standing-team.has-name-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: calc(var(--name-tooltip-anchor, 50%) + var(--tooltip-shift-x, 0px));
  z-index: 30;
  width: max-content;
  max-width: min(230px, 72vw);
  padding: 8px 10px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.standing-team.has-name-tooltip:hover::after,
.standing-team.has-name-tooltip:focus::after,
.standing-team.has-name-tooltip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.standing-team.has-name-tooltip:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.standing-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.standing-team-copy {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
}

.standing-name-line {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
}

.standing-name-line .rank-pill {
  flex: 0 0 auto;
}

.standing-badge-row {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.standing-team.has-standing-badges {
  flex-wrap: nowrap;
  align-items: center;
  position: relative;
  padding-left: 0;
}

.standing-team.has-standing-badges > .flag {
  position: static;
  flex: 0 0 auto;
  margin-top: 0;
  transform: scale(0.86);
  transform-origin: center;
}

.standing-team.has-standing-badges .standing-team-copy {
  flex-wrap: wrap;
  row-gap: 5px;
}

.standing-team.has-standing-badges .standing-name {
  flex: 0 1 auto;
  max-width: 100%;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.standing-team.has-standing-badges .rank-pill {
  margin-left: 0;
}

.standing-team.has-standing-badges .standing-badge-row {
  max-width: 100%;
}

.standing-team.has-standing-badges .standing-status-pill,
.standing-team.has-standing-badges .third-place-pill,
.standing-team.has-standing-badges .standing-live-pill {
  max-width: 100%;
}

.standings-table .flag {
  transform: scale(0.86);
  transform-origin: left center;
}

.standings-table .rank-pill {
  flex: 0 0 auto;
  margin-left: 0;
  height: 17px;
  min-width: 20px;
  padding: 0 5px;
  font-size: 11px;
  vertical-align: 1px;
}

.standings-title {
  position: relative;
  width: min(100%, 1260px);
  margin: 0 auto 30px;
}

.standings-title h1 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.standings-year-button {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  transition: opacity 160ms ease;
}

.standings-year-button:hover {
  opacity: 0.62;
}

.standings-year-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
  opacity: 1;
}

.standings-year-popover {
  position: absolute;
  top: 42px;
  left: 0;
  z-index: 20;
  width: 292px;
  padding: 14px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(10, 10, 10, 0.14);
  backdrop-filter: blur(20px) saturate(120%);
}

.standings-year-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.standings-year-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(10, 10, 10, 0.84);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.standings-year-option:hover {
  background: var(--surface-soft);
}

.standings-year-option.is-selected {
  background: #111111;
  color: #ffffff;
}

.standings-year-option:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.standings-title p {
  margin: 0;
  color: rgba(10, 10, 10, 0.56);
  font-size: 14px;
  line-height: 1.45;
}

.standings-mode-tabs {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 18px;
  overflow: hidden;
  padding: 3px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 999px;
  background: var(--surface-soft);
}

.standings-mode-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  min-width: 88px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(10, 10, 10, 0.58);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.standings-mode-tab:hover {
  color: rgba(10, 10, 10, 0.86);
}

.standings-mode-tab.is-active {
  color: var(--text);
}

.standings-mode-tab:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.standings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  width: min(100%, 1260px);
  margin: 0 auto;
}

.standings-grid.is-third-place-race {
  grid-template-columns: minmax(0, 1fr);
}

.standings-grid.is-tournament {
  grid-template-columns: minmax(0, 1fr);
}

.standings-card {
  min-width: 0;
  padding: 20px 20px 12px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(10, 10, 10, 0.05);
}

.standings-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.standings-card:focus {
  outline: none;
}

.standings-card.is-drill-target {
  border-color: rgba(10, 10, 10, 0.24);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12),
    0 14px 36px rgba(10, 10, 10, 0.06);
}

.standings-loading {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.standings-loading-card {
  display: grid;
  gap: 14px;
}

.standings-loading .standings-loading-title {
  width: 44%;
  height: 22px;
}

.standings-loading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px 38px 38px;
  gap: 10px;
  align-items: center;
}

.standings-loading .standings-loading-team,
.standings-loading .standings-loading-stat {
  height: 18px;
}

.standings-loading .standings-loading-stat {
  width: 100%;
}

.standings-empty-card {
  grid-column: 1 / -1;
}

.third-place-race {
  display: grid;
  gap: 14px;
  width: 100%;
}

.third-place-race-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
}

.third-place-race-header h2 {
  margin: 5px 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.third-place-race-header p {
  max-width: 620px;
  margin: 0;
  color: rgba(10, 10, 10, 0.62);
  font-size: 14px;
  line-height: 1.45;
}

.third-place-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 12px;
  margin: 0;
}

.third-place-metrics div {
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(10, 10, 10, 0.16);
}

.third-place-metrics dt {
  margin: 0 0 4px;
  color: rgba(10, 10, 10, 0.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.third-place-metrics dd {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.third-place-table-shell {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #ffffff;
}

.third-place-table {
  min-width: 900px;
}

.third-place-table th,
.third-place-table td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.third-place-table tbody tr:last-child td {
  padding-bottom: 16px;
}

.standings-table.third-place-table .standing-team,
.standings-table.third-place-table .standing-team.has-standing-badges {
  flex-wrap: nowrap;
  align-items: center;
  padding-left: 0;
}

.standings-table.third-place-table .standing-team > .flag,
.standings-table.third-place-table .standing-team.has-standing-badges > .flag {
  position: static;
  flex: 0 0 auto;
  margin-top: 0;
  transform: scale(0.86);
}

.standings-table.third-place-table .standing-team .standing-name,
.standings-table.third-place-table .standing-team.has-standing-badges .standing-name {
  flex: 0 1 auto;
  overflow: hidden;
  overflow-wrap: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.standings-table.third-place-table .standing-badge-row {
  flex: 0 0 auto;
}

.third-place-table th:nth-child(1),
.third-place-table td:nth-child(1) {
  width: 78px;
  padding-left: 18px;
}

.third-place-table th:nth-child(2),
.third-place-table td:nth-child(2) {
  width: auto;
}

.third-place-table th:nth-child(3),
.third-place-table td:nth-child(3) {
  width: 92px;
}

.third-place-table th:nth-child(4),
.third-place-table td:nth-child(4) {
  width: 52px;
}

.third-place-table th:nth-child(5),
.third-place-table td:nth-child(5) {
  width: 86px;
}

.third-place-table th:nth-child(6),
.third-place-table td:nth-child(6) {
  width: 112px;
}

.third-place-table th:nth-child(7),
.third-place-table td:nth-child(7) {
  width: 138px;
}

.third-place-table tbody tr.is-inside td:first-child {
  box-shadow: inset 3px 0 0 rgba(18, 122, 72, 0.34);
}

.third-place-table tbody tr.is-cut-line-tie td:first-child {
  box-shadow: inset 3px 0 0 rgba(177, 111, 0, 0.45);
}

.third-place-table tbody tr.is-cut-line td {
  border-bottom: 0;
}

.third-place-loading-row .match-loading-line {
  height: 16px;
}

.third-place-loading-rank {
  width: 36px;
}

.third-place-loading-rank.is-wide {
  width: 44px;
}

.third-place-loading-team {
  width: min(74%, 280px);
}

.third-place-loading-group {
  width: 54px;
}

.third-place-loading-stat {
  width: 34px;
}

.third-place-loading-goals {
  width: 44px;
}

.third-place-loading-status {
  width: 94px;
  height: 24px;
}

.third-place-rank-cell {
  color: rgba(10, 10, 10, 0.76);
  font-weight: 800;
}

.third-place-group-button {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.24);
  border-radius: 0;
  background: transparent;
  color: rgba(10, 10, 10, 0.78);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: left;
  white-space: nowrap;
}

.third-place-group-button:hover {
  border-bottom-color: rgba(10, 10, 10, 0.58);
  color: var(--text);
}

.third-place-group-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.third-place-table tbody .third-place-cut-row td {
  padding: 0;
  border-bottom: 0;
}

.third-place-cut-row span {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  margin: 0 clamp(18px, 3vw, 46px);
  padding: 10px 0;
  color: rgba(10, 10, 10, 0.52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.third-place-cut-row span::before,
.third-place-cut-row span::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(10, 10, 10, 0.12);
}

.standing-status-pill,
.third-place-pill,
.third-place-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.third-place-status-cell {
  display: grid;
  gap: 5px;
  justify-items: start;
  min-width: 0;
}

.standing-status-pill,
.third-place-pill {
  min-height: 18px;
  padding: 0 7px;
}

.standing-team .standing-live-pill {
  min-height: 18px;
  height: 18px;
  padding: 0 7px;
  font-size: 11px;
}

.third-place-status {
  min-height: 24px;
  padding: 0 9px;
}

.standing-status-pill[data-tooltip],
.third-place-pill[data-tooltip],
.third-place-status[data-tooltip] {
  position: relative;
  cursor: help;
  outline: none;
}

.standing-status-pill[data-tooltip]::after,
.third-place-pill[data-tooltip]::after,
.third-place-status[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  z-index: 30;
  width: max-content;
  max-width: min(285px, 72vw);
  padding: 8px 10px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: pre-line;
}

.standing-status-pill[data-tooltip]::after,
.third-place-pill[data-tooltip]::after {
  left: calc(50% + var(--tooltip-shift-x, 0px));
  transform: translate(-50%, 4px);
}

.third-place-pill[data-tooltip]::after {
  max-width: min(340px, 82vw);
}

.third-place-status[data-tooltip]::after {
  right: 0;
  transform: translateY(4px);
}

.third-place-table tbody tr:nth-child(-n + 2) .third-place-status[data-tooltip]::after {
  top: calc(100% + 8px);
  bottom: auto;
  transform: translateY(-4px);
}

.standing-status-pill[data-tooltip]:hover::after,
.standing-status-pill[data-tooltip]:focus-visible::after,
.third-place-pill[data-tooltip]:hover::after,
.third-place-pill[data-tooltip]:focus-visible::after,
.third-place-status[data-tooltip]:hover::after,
.third-place-status[data-tooltip]:focus-visible::after {
  opacity: 1;
}

.standing-status-pill[data-tooltip]:hover::after,
.standing-status-pill[data-tooltip]:focus-visible::after,
.third-place-pill[data-tooltip]:hover::after,
.third-place-pill[data-tooltip]:focus-visible::after {
  transform: translate(-50%, 0);
}

.third-place-status[data-tooltip]:hover::after,
.third-place-status[data-tooltip]:focus-visible::after {
  transform: translateY(0);
}

.standing-status-pill[data-tooltip]:focus-visible,
.third-place-pill[data-tooltip]:focus-visible,
.third-place-status[data-tooltip]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.third-place-pill.is-in,
.third-place-status.is-in {
  background: rgba(18, 122, 72, 0.1);
  color: #0d6b3f;
}

.third-place-pill.is-bubble-in,
.third-place-status.is-bubble-in {
  background: rgba(18, 122, 72, 0.08);
  color: #28704d;
}

.third-place-pill.is-pending,
.third-place-status.is-pending,
.third-place-pill.is-first-out,
.third-place-status.is-first-out {
  background: rgba(177, 111, 0, 0.12);
  color: #8a5600;
}

.third-place-pill.is-out,
.third-place-status.is-out {
  background: rgba(10, 10, 10, 0.08);
  color: rgba(10, 10, 10, 0.58);
}

.standing-status-pill.is-eliminated,
.third-place-pill.is-eliminated,
.third-place-status.is-eliminated {
  background: rgba(10, 10, 10, 0.08);
  color: rgba(10, 10, 10, 0.58);
}

.third-place-muted {
  color: rgba(10, 10, 10, 0.42);
}

.third-place-note {
  max-width: 760px;
  margin: -6px 0 0;
  color: rgba(10, 10, 10, 0.54);
  font-size: 12px;
  line-height: 1.45;
}

.tournament-view {
  --tournament-round-gap: clamp(28px, 3vw, 40px);
  --tournament-round-width: 292px;
  display: grid;
  gap: 18px;
  width: 100%;
}

.tournament-r32,
.tournament-progression {
  min-width: 0;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 10, 10, 0.026) 1px, transparent 1px),
    #ffffff;
  background-size: 38px 38px;
}

.tournament-poster-bracket {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(210px, 0.62fr) minmax(260px, 1fr);
  gap: 34px;
  align-items: stretch;
  min-width: 0;
  padding: 22px;
}

.poster-side {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 9px;
  min-width: 0;
}

.poster-side::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  width: 2px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.1);
}

.poster-side.is-left::before {
  right: -18px;
}

.poster-side.is-right::before {
  left: -18px;
}

.poster-match {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(10, 10, 10, 0.035);
}

.poster-match::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  border-top: 2px solid rgba(10, 10, 10, 0.1);
  transform: translateY(-50%);
}

.poster-match.is-left::after {
  right: -18px;
}

.poster-match.is-right::after {
  left: -18px;
}

.poster-match.is-complete,
.progress-match.is-complete {
  border-color: rgba(18, 122, 72, 0.28);
  background: rgba(18, 122, 72, 0.035);
}

.poster-match time {
  color: rgba(10, 10, 10, 0.48);
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  line-height: 1;
}

.poster-match-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.poster-team {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.poster-team-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 999px;
  background: #ffffff;
}

.poster-team-code {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 6px;
  background: #ffffff;
  color: rgba(10, 10, 10, 0.86);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-align: center;
}

.poster-team.is-winner .poster-team-code {
  border-color: rgba(18, 122, 72, 0.26);
  color: #0d6b3f;
}

.poster-versus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 18px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: rgba(10, 10, 10, 0.42);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.poster-center {
  display: grid;
  min-width: 0;
}

.poster-center-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-height: 620px;
  border-inline: 1px solid rgba(10, 10, 10, 0.08);
  text-align: center;
}

.poster-center-panel > span {
  color: rgba(10, 10, 10, 0.48);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.poster-center-panel h2 {
  max-width: 220px;
  margin: 0;
  color: var(--text);
  font-size: 40px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.poster-center-panel strong {
  color: rgba(10, 10, 10, 0.58);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.poster-trophy {
  position: relative;
  display: grid;
  place-items: center;
  width: 126px;
  height: 156px;
  filter: drop-shadow(0 14px 20px rgba(128, 84, 18, 0.16));
}

.poster-trophy-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.poster-trophy-globe,
.poster-trophy-arm,
.poster-trophy-core,
.poster-trophy-neck,
.poster-trophy-base {
  fill: url("#poster-trophy-gold");
  stroke: rgba(94, 61, 13, 0.28);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.poster-trophy-globe {
  fill: url("#poster-trophy-globe-light");
}

.poster-trophy-arm,
.poster-trophy-core,
.poster-trophy-neck {
  fill: url("#poster-trophy-bright");
}

.poster-trophy-base-green {
  fill: #177a4f;
  stroke: rgba(8, 73, 43, 0.32);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.poster-trophy-map,
.poster-trophy-highlight {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.poster-trophy-map {
  stroke: rgba(87, 58, 17, 0.36);
  stroke-width: 1.35;
}

.poster-trophy-highlight {
  stroke: rgba(255, 245, 185, 0.66);
  stroke-width: 2.5;
}

.poster-trophy-shadow {
  fill: rgba(10, 10, 10, 0.12);
}

.tournament-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.tournament-section-heading span {
  color: rgba(10, 10, 10, 0.5);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.tournament-section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: right;
}

.tournament-progression {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 18px;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 18px;
  -webkit-overflow-scrolling: touch;
}

.progress-connectors {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.progress-connectors path {
  fill: none;
  stroke: #e2e2e2;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.progress-match {
  position: relative;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(10, 10, 10, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.035);
}

.progress-match.is-projected {
  border-color: rgba(10, 10, 10, 0.075);
  background: rgba(246, 246, 246, 0.78);
  box-shadow: none;
}

.progress-match.is-projected .knockout-match-header time,
.progress-match.is-projected .knockout-match-footer {
  color: rgba(10, 10, 10, 0.46);
}

.progress-match.is-projected .knockout-team-flag,
.progress-match.is-projected .knockout-likelihood .flag,
.progress-match.is-projected .knockout-slot-odds .flag {
  border-color: rgba(10, 10, 10, 0.1);
  filter: grayscale(1);
  opacity: 0.72;
}

.progress-match.is-projected .knockout-team-copy strong {
  color: rgba(10, 10, 10, 0.62);
}

.progress-match.is-projected .knockout-team-copy small {
  color: rgba(10, 10, 10, 0.45);
}

.tournament-loading-match {
  pointer-events: none;
}

.tournament-loading-match .match-loading-line {
  height: 14px;
}

.tournament-loading-date {
  width: 62%;
}

.tournament-loading-team {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.tournament-loading-flag {
  width: 28px;
  height: 28px;
}

.tournament-loading-code {
  width: 100%;
}

.tournament-loading-versus {
  width: 30px;
  height: 20px;
}

.tournament-loading-footer {
  width: 72%;
}

.knockout-match-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.knockout-match-header {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin-bottom: 8px;
}

.knockout-match-header time,
.knockout-match-venue,
.knockout-match-footer {
  color: rgba(10, 10, 10, 0.54);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.knockout-match-header time {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knockout-match-venue {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  font-weight: 500;
  outline: none;
  white-space: nowrap;
}

.knockout-match-venue[data-tooltip] {
  cursor: help;
}

.knockout-match-venue[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: var(--tooltip-shift-x, 0px);
  z-index: 30;
  width: max-content;
  max-width: min(250px, 70vw);
  padding: 7px 9px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.knockout-match-venue[data-tooltip]:hover::after,
.knockout-match-venue[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.knockout-match-venue[data-tooltip]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.knockout-match-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.knockout-team {
  position: relative;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  outline: none;
}

.knockout-team[data-tooltip] {
  cursor: help;
}

.knockout-team[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: var(--tooltip-shift-x, 0px);
  z-index: 30;
  width: max-content;
  max-width: min(220px, 70vw);
  padding: 7px 9px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.knockout-team[data-tooltip]:hover::after,
.knockout-team[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.knockout-team[data-tooltip]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.knockout-team.is-pending {
  grid-template-columns: minmax(0, 1fr);
}

.knockout-team.is-likely .knockout-team-flag {
  border-color: rgba(10, 10, 10, 0.18);
}

.knockout-team-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 16px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.knockout-team-flag .flag {
  width: 20px;
  height: 16px;
  flex-basis: 20px;
}

.knockout-team.is-pending .knockout-team-flag {
  display: none;
}

.knockout-team-copy {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  max-width: 100%;
}

.knockout-team-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  color: rgba(10, 10, 10, 0.84);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.05;
  white-space: nowrap;
}

.knockout-team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.knockout-team-copy .rank-pill {
  min-width: 19px;
  height: 15px;
  padding: 0 4px;
  font-size: 9px;
  transform: none;
}

.knockout-team-copy small {
  display: block;
  color: rgba(10, 10, 10, 0.56);
  font-size: 9px;
  font-weight: 550;
  line-height: 1.12;
  white-space: normal;
}

.knockout-team.is-pending .knockout-team-copy strong {
  color: rgba(10, 10, 10, 0.58);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.08;
}

.knockout-team.is-winner .knockout-team-copy strong {
  color: #0d6b3f;
}

.knockout-versus {
  display: inline;
  min-width: 0;
  flex: 0 0 auto;
  color: rgba(10, 10, 10, 0.78);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.05;
  white-space: nowrap;
}

.knockout-match-footer {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(10, 10, 10, 0.07);
}

.knockout-match-footer span,
.knockout-match-footer em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knockout-match-footer em {
  flex: 0 0 auto;
  font-style: normal;
}

.knockout-likelihood,
.knockout-slot-odds {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  min-height: 22px;
  padding: 0 8px 0 7px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: help;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  outline: none;
  white-space: nowrap;
}

.knockout-likelihood .flag,
.knockout-slot-odds .flag {
  width: 18px;
  height: 14px;
  flex-basis: 18px;
  font-size: 15px;
}

.knockout-likelihood > span:not(.flag),
.knockout-slot-odds > span:not(.flag) {
  min-width: auto;
  overflow: visible;
  text-overflow: clip;
}

.knockout-likelihood.is-high,
.knockout-slot-odds.is-high {
  border-color: rgba(16, 92, 62, 0.18);
  background: rgba(18, 122, 72, 0.08);
  color: #0d6b3f;
}

.knockout-likelihood.is-neutral,
.knockout-slot-odds.is-neutral {
  border-color: rgba(10, 10, 10, 0.13);
  background: rgba(10, 10, 10, 0.045);
  color: rgba(10, 10, 10, 0.6);
}

.knockout-likelihood.is-low,
.knockout-slot-odds.is-low {
  border-color: rgba(152, 104, 18, 0.24);
  background: rgba(218, 171, 45, 0.14);
  color: #7a5300;
}

.knockout-likelihood-list,
.knockout-slot-odds-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  min-width: 0;
  overflow: visible;
  width: 100%;
}

.knockout-match-footer .knockout-likelihood,
.knockout-match-footer .knockout-likelihood-list,
.knockout-match-footer .knockout-slot-odds-list,
.knockout-match-footer .knockout-slot-odds {
  overflow: visible;
  text-overflow: clip;
}

.knockout-likelihood::after,
.knockout-slot-odds::after {
  content: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: var(--tooltip-shift-x, 0px);
  z-index: 30;
  width: max-content;
  max-width: min(260px, 76vw);
  padding: 8px 10px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.knockout-likelihood:hover::after,
.knockout-likelihood:focus-visible::after,
.knockout-slot-odds:hover::after,
.knockout-slot-odds:focus-visible::after {
  content: attr(data-tooltip);
  opacity: 1;
  transform: translateY(0);
}

.knockout-likelihood:focus-visible,
.knockout-slot-odds:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.progress-rounds {
  position: relative;
  z-index: 1;
  display: grid;
  width: max-content;
  min-width: 100%;
  grid-template-columns: repeat(5, var(--tournament-round-width));
  justify-content: center;
  column-gap: var(--tournament-round-gap);
  row-gap: 18px;
  align-items: stretch;
}

.progress-round {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
}

.progress-round h3 {
  margin: 0;
  color: rgba(10, 10, 10, 0.58);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.progress-match-list {
  display: grid;
  grid-template-rows: repeat(16, minmax(68px, auto));
  gap: 8px;
}

.progress-match {
  grid-row: var(--path-row, auto) / span var(--path-span, 1);
  align-self: center;
}

.progress-round:not(.is-final) .progress-match::after {
  content: none;
  display: none;
}

.progress-round.is-quarter-finals .progress-match::before,
.progress-round.is-semi-finals .progress-match::before,
.progress-round.is-final .progress-match::before {
  content: none;
  display: none;
}

.prediction-row {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) 112px 42px;
  gap: 10px;
  align-items: center;
  margin-top: 9px;
  font-size: 13px;
}

.prediction-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prediction-row strong {
  font-weight: 700;
  text-align: right;
}

.prediction-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.12);
}

.prediction-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(10, 10, 10, 0.72);
}

.key-info-grid,
.player-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.key-info-team {
  padding-top: 13px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.key-info-team:first-child {
  padding-top: 0;
  border-top: 0;
}

.key-info-team h4 {
  margin: 0 0 6px;
  color: rgba(10, 10, 10, 0.82);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.28;
}

.key-info-heading {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.key-info-heading .flag {
  flex: 0 0 auto;
}

.team-style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.team-style-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 8px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 999px;
  background: rgba(245, 245, 247, 0.78);
  color: rgba(10, 10, 10, 0.64);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.key-info-team p {
  margin: 0;
  color: rgba(10, 10, 10, 0.68);
  font-size: 13px;
  line-height: 1.48;
}

.key-info-team p .player-link {
  color: rgba(10, 10, 10, 0.72);
  font-weight: inherit;
  opacity: 1;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(10, 10, 10, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.key-info-team p .player-link:hover,
.key-info-team p .player-hover:focus-within .player-link {
  color: rgba(10, 10, 10, 0.84);
  text-decoration-color: rgba(10, 10, 10, 0.48);
}

.player-hover {
  position: relative;
  display: inline;
}

.player-link {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(10, 10, 10, 0.72);
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: inherit;
  opacity: 1;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(10, 10, 10, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.player-link:hover,
.player-hover:focus-within .player-link {
  color: rgba(10, 10, 10, 0.84);
  text-decoration-color: rgba(10, 10, 10, 0.48);
}

.player-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.player-card {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 40;
  display: grid;
  width: var(--player-card-width, min(292px, calc(100vw - 44px)));
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(10, 10, 10, 0.16);
  color: var(--text);
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(var(--player-card-shift, 0px), 3px) scale(0.995);
  transform-origin: left bottom;
  transition:
    opacity 260ms ease,
    transform 280ms cubic-bezier(0.2, 0.72, 0.18, 1),
    visibility 0s linear 280ms;
  visibility: hidden;
  will-change: opacity, transform;
}

.player-card-floating {
  position: fixed;
  top: var(--player-card-floating-top, 18px);
  left: var(--player-card-floating-left, 18px);
  bottom: auto;
  z-index: 100;
  opacity: 0;
  pointer-events: auto;
  transform: translateY(6px) scale(0.985);
  transform-origin: center top;
  visibility: hidden;
}

.player-hover:hover .player-card,
.player-hover:focus-within .player-card,
.player-hover.is-card-open .player-card {
  opacity: 1;
  pointer-events: auto;
  transform: translate(var(--player-card-shift, 0px), 0) scale(1);
  transition-delay: 0s;
  visibility: visible;
}

.player-card-floating.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
  visibility: visible;
}

@media (hover: none), (pointer: coarse) {
  .player-hover > .player-card,
  .player-hover:hover > .player-card,
  .player-hover:focus-within > .player-card,
  .player-hover.is-card-open > .player-card {
    opacity: 0;
    pointer-events: none;
    transition: none;
    transform: translate(var(--player-card-shift, 0px), 3px) scale(0.995);
    visibility: hidden;
  }

  .player-hover:hover .player-card,
  .player-hover:focus-within .player-card,
  .player-hover.is-card-open .player-card,
  .player-card-floating,
  .player-card-floating.is-visible {
    pointer-events: none;
  }
}

.player-hover.is-card-portaled > .player-card,
.player-hover.is-card-portaled:hover > .player-card,
.player-hover.is-card-portaled:focus-within > .player-card,
.player-hover.is-card-portaled.is-card-open > .player-card {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .player-card,
  .player-hover:hover .player-card,
  .player-hover:focus-within .player-card,
  .player-hover.is-card-open .player-card,
  .player-card-floating,
  .player-card-floating.is-visible {
    transform: translate(var(--player-card-shift, 0px), 0);
    transition: none;
  }
}

.player-hover.is-card-open .player-link {
  color: var(--text);
  text-decoration-color: rgba(10, 10, 10, 0.72);
}

.player-card-header {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.player-photo,
.player-photo img,
.player-photo-fallback {
  width: 58px;
  height: 58px;
  border-radius: 13px;
}

.player-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface-soft);
  flex: 0 0 58px;
}

.player-photo img {
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.player-photo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 10, 10, 0.58);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.player-card-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.player-card-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.player-card-flag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.player-card-flag .flag {
  width: 18px;
  height: 14px;
  flex-basis: 18px;
  font-size: 15px;
  color: #0a0a0a;
}

.player-card-name,
.player-card-position,
.player-card-club {
  overflow: hidden;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-card-name {
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
}

.player-card-number {
  flex: 0 0 auto;
  color: rgba(10, 10, 10, 0.48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.player-card-position,
.player-card-club {
  color: rgba(10, 10, 10, 0.62);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.player-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.player-skill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 999px;
  background: var(--surface-soft);
  color: rgba(10, 10, 10, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.player-card-copy {
  display: grid;
  gap: 4px;
}

.player-card-note {
  color: rgba(10, 10, 10, 0.62);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.38;
}

.player-card-value-help {
  position: relative;
  color: inherit;
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.player-card-value-help::after {
  position: absolute;
  left: calc(50% + var(--tooltip-shift-x, 0px));
  bottom: calc(100% + 7px);
  z-index: 2;
  width: 186px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.88);
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.16);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.32;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
  visibility: hidden;
}

.player-card-value-help:hover::after,
.player-card-value-help:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.player-card-value-help:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.player-group h4 {
  margin: 0 0 9px;
  color: rgba(10, 10, 10, 0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.player-list,
.past-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-list {
  gap: 10px;
}

.player-note {
  padding-top: 10px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.player-note strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.player-note p {
  margin: 4px 0 0;
  color: rgba(10, 10, 10, 0.64);
  font-size: 12px;
  line-height: 1.42;
}

.h2h-summary,
.past-empty,
.past-list li {
  color: rgba(10, 10, 10, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.h2h-summary {
  margin: 0 0 12px;
}

.past-empty {
  margin: 0;
}

.result-highlights {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.result-highlights li {
  color: rgba(10, 10, 10, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.scorer-highlight {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
}

.goal-scorer-list {
  display: inline-flex;
  align-items: baseline;
  flex: 1 1 auto;
  gap: 7px;
  flex-wrap: wrap;
  min-width: 0;
}

.goal-scorer-segment {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.goal-scorer-flag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.goal-scorer-flag .flag {
  width: 18px;
  height: 14px;
  flex-basis: 18px;
  font-size: 15px;
  color: #0a0a0a;
}

.goal-scorer-name {
  color: inherit;
  font-weight: inherit;
}

.goal-minute {
  color: inherit;
  font-weight: inherit;
}

.goal-separator {
  color: rgba(10, 10, 10, 0.32);
}

.result-highlights .player-link {
  color: inherit;
  font-weight: inherit;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(10, 10, 10, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.result-highlights .player-link:hover,
.result-highlights .player-hover:focus-within .player-link {
  color: rgba(10, 10, 10, 0.84);
  text-decoration-color: rgba(10, 10, 10, 0.48);
}

.data-note {
  margin: 9px 0 0;
  color: rgba(10, 10, 10, 0.46);
  font-size: 11px;
  line-height: 1.35;
}

.match-info .data-note {
  margin-top: 14px;
}

.past-record {
  display: grid;
  gap: 13px;
  margin-bottom: 0;
  padding: 2px 0 17px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.past-record-row {
  display: grid;
  grid-template-columns: minmax(74px, 1fr) 112px 72px;
  column-gap: 10px;
  align-items: center;
}

.prediction-row.has-label-tooltip,
.past-record-row.has-label-tooltip {
  position: relative;
  cursor: help;
  outline: none;
}

.prediction-row.has-label-tooltip::after,
.past-record-row.has-label-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: calc(var(--name-tooltip-anchor, 50%) + var(--tooltip-shift-x, 0px));
  z-index: 30;
  width: max-content;
  max-width: min(240px, 76vw);
  padding: 8px 10px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.92);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.16);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.prediction-row.has-label-tooltip:hover::after,
.prediction-row.has-label-tooltip:focus::after,
.prediction-row.has-label-tooltip:focus-visible::after,
.past-record-row.has-label-tooltip:hover::after,
.past-record-row.has-label-tooltip:focus::after,
.past-record-row.has-label-tooltip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.prediction-row.has-label-tooltip:focus-visible,
.past-record-row.has-label-tooltip:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.past-record-label,
.past-record-count {
  font-size: 13px;
  line-height: 1.1;
}

.past-record-label {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.past-record-count {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.past-record-track {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.12);
}

.past-record-track span {
  display: block;
  width: var(--record-share);
  height: 100%;
  border-radius: inherit;
  background: rgba(10, 10, 10, 0.72);
}

.past-list {
  gap: 0;
  margin-top: 11px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.past-record + .past-list {
  margin-top: 0;
  border-top: 0;
}

.past-list li {
  display: grid;
  grid-template-columns: minmax(136px, 144px) minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.past-list li:last-child {
  border-bottom: 0;
}

.past-list.has-hidden-results li:last-child {
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.past-scoreline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  justify-content: flex-end;
  min-width: 0;
  text-align: right;
}

.past-team {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
}

.past-team .team-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.past-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 9px;
  border: 1px solid rgba(39, 95, 214, 0.16);
  border-radius: 999px;
  background: #eef4ff;
  color: #1f4fbf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.past-score span {
  color: rgba(31, 79, 191, 0.72);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.past-scoreline-fallback {
  display: block;
  grid-column: 2;
  text-align: right;
}

.historical-past-scoreline .past-team {
  justify-content: flex-end;
}

.past-meta {
  display: grid;
  gap: 2px;
}

.past-meta span,
.past-list strong {
  color: var(--text);
  font-weight: 700;
}

.past-meta em {
  color: rgba(10, 10, 10, 0.54);
  font-size: 11px;
  font-style: normal;
  line-height: 1.25;
  white-space: nowrap;
}

.past-reveal {
  margin-top: 12px;
}

.past-reveal.is-open {
  margin-top: 0;
}

.past-reveal-button {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: color 160ms ease;
}

.past-reveal-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.past-reveal-action::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.past-reveal-button:hover {
  color: var(--text);
}

.past-reveal-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.past-hidden-results[hidden] {
  display: none;
}

.past-hidden-results .past-list {
  margin-top: 0;
  border-top: 0;
}

.site-footer {
  width: min(calc(100% - 64px), 980px);
  margin: 4px auto 0;
  padding: 0 0 36px;
}

.site-footer .source-note {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  color: rgba(10, 10, 10, 0.48);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: center;
}

.site-footer a,
.site-footer button {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.site-footer button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: help;
  -webkit-tap-highlight-color: transparent;
}

.site-footer button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.source-tooltip-wrapper {
  position: relative;
  display: inline;
}

.release-tooltip-wrapper {
  position: relative;
  display: inline;
}

.source-tooltip {
  position: absolute;
  left: calc(50% + var(--tooltip-shift-x, 0px));
  bottom: calc(100% + 9px);
  z-index: 20;
  display: grid;
  gap: 8px;
  width: max-content;
  max-width: min(380px, calc(100vw - 32px));
  padding: 10px 12px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(10, 10, 10, 0.12);
  color: var(--text);
  font-size: 11px;
  line-height: 1.3;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  visibility: hidden;
}

.release-tooltip {
  position: absolute;
  left: calc(50% + var(--tooltip-shift-x, 0px));
  bottom: calc(100% + 10px);
  z-index: 20;
  display: grid;
  gap: 9px;
  width: min(310px, calc(100vw - 32px));
  padding: 12px 13px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.94)),
    var(--surface);
  box-shadow: 0 16px 42px rgba(10, 10, 10, 0.14);
  color: var(--text);
  font-size: 12px;
  line-height: 1.34;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 5px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  visibility: hidden;
}

.source-tooltip::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 10px;
}

.release-tooltip::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -11px;
  width: 100%;
  height: 11px;
}

.source-tooltip strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.release-tooltip strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.source-tooltip span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
}

.release-tooltip ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 16px;
}

.release-tooltip li {
  color: rgba(10, 10, 10, 0.62);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.34;
}

.release-tooltip li::marker {
  color: rgba(10, 10, 10, 0.34);
  font-size: 0.9em;
}

.release-tooltip-loading {
  display: grid;
  gap: 7px;
}

.release-tooltip-loading-row {
  display: grid;
  grid-template-columns: 4px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.release-tooltip-loading-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.16);
}

.release-tooltip-loading-line {
  width: 100%;
  height: 10px;
}

.release-tooltip-loading-line.is-short {
  width: 72%;
}

.source-tooltip a {
  color: rgba(10, 10, 10, 0.68);
  font-weight: 500;
  white-space: nowrap;
}

.source-tooltip-wrapper:hover .source-tooltip,
.source-tooltip-wrapper:focus-within .source-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.release-tooltip-wrapper:hover .release-tooltip,
.release-tooltip-wrapper:focus-within .release-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

@media (max-width: 860px) {
  .source-tooltip {
    transform: translate(-50%, 4px);
  }

  .source-tooltip-wrapper:hover .source-tooltip,
  .source-tooltip-wrapper:focus-within .source-tooltip {
    transform: translate(-50%, 0);
  }

  .release-tooltip {
    transform: translate(-50%, 5px);
  }

  .release-tooltip-wrapper:hover .release-tooltip,
  .release-tooltip-wrapper:focus-within .release-tooltip {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 360px) {
  .release-tooltip {
    width: min(310px, calc(100vw - 28px));
    max-width: none;
  }
}

.report-page {
  min-height: 100vh;
  min-height: 100dvh;
}

.report-header {
  display: flex;
  justify-content: flex-start;
}

.report-back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 22px;
  color: rgba(10, 10, 10, 0.68);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.report-back-link::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-color: currentColor;
  border-style: solid;
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(45deg);
}

.report-back-link:hover {
  color: var(--text);
}

.report-back-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}

.report-shell {
  width: min(calc(100% - 64px), 680px);
  margin: 0 auto;
  padding: clamp(108px, 16vh, 172px) 0 72px;
}

.report-title {
  margin-bottom: 32px;
}

.report-title h1 {
  margin-bottom: 12px;
}

.report-title p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.release-notes-shell {
  max-width: 720px;
}

.release-note-list {
  display: grid;
  gap: 18px;
}

.source-page-list {
  display: grid;
  gap: 12px;
}

.source-page-list a {
  display: inline-flex;
  width: fit-content;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.release-note {
  padding-top: 22px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.release-note time {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.release-note h2 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: 0;
}

.release-note p {
  margin: -4px 0 12px;
  color: rgba(10, 10, 10, 0.62);
  line-height: 1.5;
}

.release-note ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: rgba(10, 10, 10, 0.72);
  line-height: 1.5;
}

.report-form {
  display: grid;
  gap: 22px;
}

.form-field {
  display: grid;
  gap: 9px;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field span {
  color: rgba(10, 10, 10, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.form-field em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.35;
}

.form-field textarea {
  min-height: 144px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--focus);
  outline: 2px solid rgba(0, 113, 227, 0.18);
}

.report-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-summary span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 999px;
  background: var(--surface-soft);
  color: rgba(10, 10, 10, 0.7);
  font-size: 12px;
  font-weight: 600;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.form-status[data-state="success"] {
  color: #147a3d;
}

.form-status[data-state="error"] {
  color: #b42318;
}

@media (max-width: 1160px) {
  #matches-view {
    --yesterday-suppressed-offset: clamp(26px, 4.2vh, 46px);
    display: block;
    width: 100%;
    margin: 0;
  }

  #matches-view .page-title {
    width: min(100%, 1260px);
    margin: 0 auto 22px;
  }

  #matches-view.is-yesterday-suppressed .page-title,
  #matches-view.is-yesterday-suppressed .match-list {
    transform: translateY(var(--yesterday-suppressed-offset));
  }

  .match-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    justify-content: center;
    width: min(100%, 1260px);
    margin: 0 auto;
  }

  .match-list {
    grid-column: auto;
  }

  .match-row {
    justify-content: space-between;
  }

  .match-row-trigger {
    flex: 1 1 auto;
  }

  .match-row-meta {
    justify-content: flex-end;
    margin-left: auto;
  }

  .match-info {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
    max-width: none;
    justify-self: stretch;
  }

  #matches-view.is-yesterday-suppressed.has-match-info .match-info {
    margin-top: var(--yesterday-suppressed-offset);
  }
}

@media (max-width: 900px) {
  .progress-connectors {
    display: none;
  }

  .progress-rounds {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  .progress-match-list {
    grid-template-rows: none;
  }

  .progress-match {
    grid-row: auto;
  }

  .progress-round:not(.is-final) .progress-match::after,
  .progress-round.is-quarter-finals .progress-match::before,
  .progress-round.is-semi-finals .progress-match::before,
  .progress-round.is-final .progress-match::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(64px, 1fr) auto minmax(84px, 1fr);
    gap: 10px;
    justify-items: stretch;
  }

  .site-brand-lockup {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    max-width: 100%;
    min-width: 0;
  }

  .site-brand {
    overflow: hidden;
  }

  .site-brand .brand-label {
    display: none;
  }

  .header-view-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .view-tabs {
    flex: 0 0 auto;
    min-width: auto;
  }

  .view-tab {
    flex: 0 0 auto;
  }

  .catch-up-button {
    width: 37px;
    min-width: 37px;
    height: 37px;
    padding: 0;
    font-size: 0;
  }

  .header-controls {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

@media (max-width: 700px) {
  #matches-view {
    --yesterday-suppressed-offset: clamp(18px, 3.4vh, 30px);
  }

  .site-header {
    grid-template-columns: minmax(52px, 1fr) auto minmax(74px, 1fr);
    gap: 8px;
    justify-items: stretch;
    padding: 18px 18px 0;
  }

  .site-brand-lockup {
    justify-self: start;
    max-width: 100%;
    min-width: 0;
  }

  .site-brand {
    font-size: 13px;
    overflow: hidden;
  }

  .site-brand .brand-label {
    display: none;
  }

  .juggle-record {
    font-size: 11px;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .report-header .site-brand {
    justify-self: start;
  }

  .view-tab,
  .catch-up-button,
  .language-option,
  .timezone-select {
    font-size: 13px;
  }

  .header-view-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .view-tabs {
    flex: 0 0 auto;
    min-width: auto;
  }

  .view-tab {
    flex: 0 0 auto;
  }

  .view-tab {
    min-width: 78px;
  }

  .catch-up-button {
    width: 33px;
    min-width: 33px;
    min-height: 33px;
    height: 33px;
    padding: 0;
    font-size: 0;
  }

  .catch-up-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .header-controls {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    gap: 8px;
    max-width: none;
  }

  .header-controls-loading {
    gap: 8px;
  }

  .header-controls .header-loading-settings {
    width: 33px;
    height: 33px;
  }

  .settings-button,
  .language-switch {
    min-height: 33px;
  }

  .settings-button {
    width: 33px;
    height: 33px;
  }

  .settings-popover {
    width: min(300px, calc(100vw - 36px));
  }

  .language-option {
    min-width: 34px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .timezone-control {
    width: 100%;
    max-width: none;
  }

  .timezone-select {
    width: 100%;
    font-size: 12px;
    text-align: left;
  }

  .page-shell {
    width: min(calc(100% - 36px), 1180px);
    padding: 68px 0 58px;
  }

  .site-footer {
    width: min(calc(100% - 36px), 1180px);
    margin-top: 0;
  }

  .report-shell {
    width: min(calc(100% - 36px), 680px);
    padding: 88px 0 58px;
  }

  h1 {
    font-size: 22px;
  }

  .match-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 10px;
    width: 100%;
  }

  .match-layout {
    overflow-x: clip;
  }

  .match-row:hover {
    transform: none;
  }

  .match-row-meta {
    margin-right: 4px;
  }

  .team-search {
    justify-content: flex-end;
    margin-left: auto;
  }

  .team-search-field {
    transition: width 220ms cubic-bezier(0.2, 0.72, 0.18, 1),
      grid-template-columns 220ms cubic-bezier(0.2, 0.72, 0.18, 1),
      border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  }

  .team-search.is-active {
    flex: 1 1 180px;
    margin-left: 0;
    margin-top: 0;
  }

  .team-search.is-active .team-search-field {
    grid-template-columns: 32px minmax(0, 1fr) 30px;
    width: min(100%, 360px);
  }

  .team-search-input {
    transition-duration: 130ms;
  }

  .team-search.is-active .team-search-input {
    transition-delay: 70ms;
  }

  .date-popover {
    width: min(316px, calc(100vw - 36px));
  }

  .standings-year-popover {
    width: min(292px, calc(100vw - 36px));
  }

  .standings-mode-tabs {
    width: 100%;
  }

  .standings-mode-tab {
    flex: 1 1 0;
    min-width: 0;
  }

  .tournament-poster-bracket {
    grid-template-columns: 1fr;
  }

  .tournament-poster-bracket,
  .tournament-progression {
    padding: 14px;
  }

  .progress-match {
    padding: 10px;
  }

  .poster-center {
    order: -1;
  }

  .poster-center-panel {
    min-height: auto;
    padding: 16px 0 18px;
    border-inline: 0;
    border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  }

  .poster-center-panel h2 {
    max-width: none;
    font-size: 32px;
  }

  .poster-trophy {
    width: 92px;
    height: 114px;
  }

  .poster-side::before,
  .poster-match::after,
  .progress-round:not(.is-final) .progress-match::after,
  .progress-round.is-quarter-finals .progress-match::before,
  .progress-round.is-semi-finals .progress-match::before,
  .progress-round.is-final .progress-match::before {
    display: none;
  }

  .progress-match-list {
    grid-template-rows: none;
  }

  .progress-match {
    grid-row: auto;
  }

  .tournament-section-heading {
    display: grid;
    justify-content: stretch;
  }

  .tournament-section-heading h2 {
    text-align: left;
  }

  .catch-up-popover {
    width: min(340px, calc(100vw - 64px));
  }

  .match-list {
    gap: 14px;
  }

  .yesterday-section {
    margin-top: 14px;
    padding: 10px;
  }

  .match-loading {
    gap: 14px;
  }

  .match-loading-row {
    gap: 0 16px;
  }

  .match-loading-time {
    flex-basis: 78px;
  }

  .match-row {
    align-items: center;
    gap: 0 16px;
  }

  .match-row-trigger {
    gap: 0 16px;
  }

  .match-time {
    min-width: 78px;
  }

  .match-time.has-date {
    min-width: 152px;
  }

  .live-pill,
  .up-next-pill,
  .match-score,
  .score-status {
    height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }

  .match-time,
  .match-teams {
    font-size: 20px;
  }

  .match-teams {
    column-gap: 0;
  }

  .match-info {
    scroll-margin-top: 92px;
    padding: 18px;
    border-radius: 20px;
  }

  .player-grid {
    grid-template-columns: 1fr;
  }

  .historical-facts,
  .historical-goals {
    grid-template-columns: 1fr;
  }

  .past-record {
    gap: 10px;
    padding: 2px 0 14px;
  }

  .past-record-row {
    grid-template-columns: minmax(72px, 1fr) minmax(86px, 112px) 64px;
    column-gap: 8px;
  }

  .past-record-label,
  .past-record-count {
    font-size: 12px;
  }

  .past-record-track {
    height: 5px;
  }
}

@media (max-width: 520px) {
  .match-loading-row {
    gap: 0 8px;
  }

  .match-loading-time {
    flex-basis: 54px;
    height: 17px;
  }

  .match-loading-teams {
    flex: 1 1 auto;
    width: auto;
    height: 17px;
  }

  .match-loading-score {
    flex-basis: 44px;
    height: 24px;
  }

  .match-row {
    display: flex;
    align-items: center;
    gap: 0 8px;
    flex-wrap: nowrap;
  }

  .match-row-trigger {
    align-items: center;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    gap: 0 10px;
  }

  .match-row-meta {
    align-content: center;
    flex: 0 0 auto;
    gap: 4px 5px;
    justify-content: flex-end;
    max-width: calc(42% - 6px);
    margin-left: 0;
    margin-right: 6px;
    flex-wrap: wrap;
    white-space: nowrap;
  }

  .match-row.has-wrapped-matchup .match-row-meta {
    justify-content: flex-end;
    margin-left: auto;
    max-width: max-content;
    margin-right: 4px;
  }

  .match-time {
    min-width: 54px;
    font-size: 12px;
    letter-spacing: 0;
  }

  .match-row.is-country-search-row .match-time.has-date {
    min-width: 110px;
  }

  .match-row.is-country-search-row .match-date {
    font-size: 12px;
  }

  .match-teams {
    flex: 1 1 auto;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.16;
  }

  .match-teams {
    column-gap: 0;
  }

  .match-teams .team {
    align-items: center;
    flex: 0 1 auto;
    gap: 4px;
  }

  .match-teams .team-name {
    max-width: 100%;
  }

  .match-teams .flag {
    width: 16px;
    height: 13px;
    flex-basis: 16px;
    font-size: 13px;
  }

  .match-teams .rank-pill {
    display: inline-flex;
    min-width: 18px;
    height: 15px;
    padding: 0 4px;
    font-size: 9px;
    margin-top: 1px;
  }

  .live-pill,
  .up-next-pill,
  .match-score,
  .score-status {
    height: 22px;
    padding: 0 6px;
    font-size: 9px;
  }

  .match-row.is-country-search-row .match-row-trigger {
    display: flex;
  }

  .match-row.is-country-search-row .match-row-meta {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .yesterday-match-grid {
    grid-template-columns: 1fr;
  }

  .yesterday-match-button {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 38px;
    padding: 8px;
  }

  .yesterday-match-time {
    font-size: 10px;
  }

  .yesterday-match-pair {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    font-size: 12px;
    white-space: nowrap;
  }

  .yesterday-match-pair::-webkit-scrollbar {
    display: none;
  }

  .yesterday-match-pair .yesterday-team {
    flex: 0 0 auto;
  }

  .yesterday-match-pair .team-name {
    overflow: visible;
    text-overflow: clip;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 13px 8px;
    padding: 18px 14px 0;
  }

  .site-brand {
    gap: 6px;
    font-size: 12px;
  }

  .brand-mark {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .header-controls {
    gap: 6px;
    max-width: min(56vw, 190px);
  }

  .header-controls-loading {
    gap: 6px;
  }

  .header-controls .header-loading-settings {
    width: 33px;
    height: 33px;
  }

  .language-option {
    min-width: 30px;
    padding-inline: 6px;
    font-size: 11px;
  }

  .standings-table th,
  .standings-table td {
    padding-right: 6px;
  }

  .standings-table th + th,
  .standings-table td + td {
    padding-left: 8px;
  }

  .standings-table th:nth-child(2),
  .standings-table td:nth-child(2) {
    width: 32px;
  }

  .standings-table th:nth-child(3),
  .standings-table td:nth-child(3) {
    width: 54px;
  }

  .standings-table th:nth-child(4),
  .standings-table td:nth-child(4) {
    width: 36px;
  }

  .third-place-table th:nth-child(1),
  .third-place-table td:nth-child(1) {
    width: 68px;
  }

  .third-place-table th:nth-child(2),
  .third-place-table td:nth-child(2) {
    width: 300px;
  }

  .third-place-table th:nth-child(3),
  .third-place-table td:nth-child(3) {
    width: 100px;
  }

  .third-place-table th:nth-child(4),
  .third-place-table td:nth-child(4) {
    width: 56px;
  }

  .third-place-table th:nth-child(5),
  .third-place-table td:nth-child(5) {
    width: 64px;
  }

  .third-place-table th:nth-child(6),
  .third-place-table td:nth-child(6) {
    width: 76px;
  }

  .third-place-table th:nth-child(7),
  .third-place-table td:nth-child(7) {
    width: 236px;
  }

  .standing-team {
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
    padding-left: 27px;
    row-gap: 5px;
  }

  .standings-table .standing-team > .flag {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) scale(0.86);
    transform-origin: center;
  }

  .standing-team.has-standing-badges {
    flex-wrap: nowrap;
    align-items: flex-start;
    padding-left: 0;
  }

  .standings-table .standing-team.has-standing-badges > .flag {
    position: static;
    flex: 0 0 auto;
    margin-top: 2px;
    transform: scale(0.86);
  }

  .standing-team.has-standing-badges .standing-team-copy {
    flex-wrap: wrap;
  }

  .standing-name {
    flex: 0 1 auto;
    max-width: 100%;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .standings-table .rank-pill {
    margin-left: 0;
  }

  .standing-team .standing-status-pill,
  .standing-team .third-place-pill,
  .standing-team .standing-live-pill {
    max-width: 100%;
  }

  .standing-team .standing-status-pill,
  .standing-team .third-place-pill,
  .standing-team .standing-live-pill {
    min-height: 17px;
    height: 17px;
    padding: 0 6px;
    font-size: 10px;
  }

  .page-shell,
  .site-footer {
    width: min(calc(100% - 28px), 1180px);
  }

  .match-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 8px;
    align-items: center;
  }

  .match-row.has-wrapped-matchup {
    display: flex;
  }

  .match-time {
    min-width: 54px;
    font-size: 12px;
  }

  .match-row.is-country-search-row .match-time.has-date {
    min-width: 108px;
  }

  .match-row.is-country-search-row .match-date {
    font-size: 12px;
  }

  .match-row-trigger {
    gap: 0 10px;
    width: 100%;
  }

  .match-teams {
    font-size: 14px;
    column-gap: 0;
  }

  .match-teams .team {
    gap: 4px;
  }

  .match-teams .flag {
    width: 16px;
    height: 13px;
    flex-basis: 16px;
    font-size: 14px;
  }

  .match-row-meta {
    justify-self: end;
    max-width: min(88px, 38vw);
    margin-left: 0;
    margin-right: 4px;
  }

  .match-row.has-wrapped-matchup .match-row-meta {
    justify-content: flex-end;
    justify-self: auto;
    margin-left: auto;
    max-width: max-content;
    margin-right: 4px;
  }

  .match-teams .rank-pill {
    min-width: 16px;
    height: 14px;
    padding: 0 3px;
    font-size: 8px;
  }

  .live-pill,
  .up-next-pill,
  .match-score,
  .score-status {
    height: 22px;
    padding: 0 7px;
    font-size: 8px;
  }

  .score-status.is-pending {
    padding-inline: 6px;
  }

  .tournament-progression {
    padding: 10px;
  }

  .progress-match {
    padding: 8px;
  }

  .knockout-match-pair {
    gap: 6px;
  }
}

@media (max-width: 340px) {
  .site-header {
    gap: 13px 6px;
    padding-inline: 10px;
  }

  .site-brand {
    gap: 5px;
    font-size: 10px;
  }

  .brand-mark {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .header-controls {
    gap: 4px;
    max-width: min(58vw, 178px);
  }

  .language-option {
    min-width: 28px;
    padding-inline: 5px;
    font-size: 10px;
  }

  .timezone-select {
    font-size: 10px;
  }

  .match-row {
    column-gap: 6px;
  }

  .match-row-trigger {
    gap: 0 8px;
  }

  .match-time {
    min-width: 50px;
    font-size: 11px;
  }

  .match-row-meta {
    max-width: min(78px, 36vw);
  }

  .live-pill,
  .up-next-pill,
  .match-score,
  .score-status {
    height: 20px;
    padding-inline: 6px;
    font-size: 8px;
  }
}

@media (max-width: 320px) {
  .match-teams {
    flex-wrap: wrap;
  }

  .match-teams .match-team-away {
    min-width: min-content;
  }
}

@media (max-width: 1000px) {
  .standings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standings-loading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .third-place-race-header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .third-place-metrics {
    width: min(100%, 420px);
  }
}

@media (max-width: 900px) {
  .third-place-table {
    min-width: 820px;
  }

  .third-place-table th:nth-child(1),
  .third-place-table td:nth-child(1) {
    width: 62px;
    padding-left: 14px;
  }

  .third-place-table th:nth-child(3),
  .third-place-table td:nth-child(3) {
    width: 84px;
  }

  .third-place-table th:nth-child(4),
  .third-place-table td:nth-child(4) {
    width: 48px;
  }

  .third-place-table th:nth-child(5),
  .third-place-table td:nth-child(5) {
    width: 58px;
  }

  .third-place-table th:nth-child(6),
  .third-place-table td:nth-child(6) {
    width: 68px;
  }

  .third-place-table th:nth-child(7),
  .third-place-table td:nth-child(7) {
    width: 130px;
  }

  .third-place-cut-row span {
    position: sticky;
    left: 14px;
    width: calc(100vw - 96px);
    max-width: calc(100% - 28px);
    margin: 0;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .standings-grid {
    grid-template-columns: 1fr;
  }

  .standings-loading {
    grid-template-columns: 1fr;
  }

  .third-place-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .third-place-race-header h2 {
    font-size: 22px;
  }

  .third-place-table {
    min-width: 680px;
  }

  .third-place-table th,
  .third-place-table td {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .third-place-table th:nth-child(1),
  .third-place-table td:nth-child(1) {
    width: 54px;
    padding-left: 12px;
  }

  .third-place-table th:nth-child(2),
  .third-place-table td:nth-child(2) {
    width: auto;
  }

  .third-place-table th:nth-child(3),
  .third-place-table td:nth-child(3) {
    width: 74px;
  }

  .third-place-table th:nth-child(4),
  .third-place-table td:nth-child(4) {
    width: 42px;
  }

  .third-place-table th:nth-child(5),
  .third-place-table td:nth-child(5) {
    width: 48px;
  }

  .third-place-table th:nth-child(6),
  .third-place-table td:nth-child(6) {
    width: 56px;
  }

  .third-place-table th:nth-child(7),
  .third-place-table td:nth-child(7) {
    width: 120px;
  }

  .third-place-cut-row span {
    position: sticky;
    left: 12px;
    width: calc(100vw - 60px);
    max-width: calc(100% - 24px);
    margin: 0;
    gap: 8px;
  }
}
