/*
  Onde Passa — site
  Same identity as the app: navy of the icon, green for actions, and the
  active filter chip that ends in the play arrow. System font, as in the app.
*/

:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #111827;
  --muted: #4b5563;
  --border: #e5e7eb;
  --border-soft: #eef0f3;
  --accent: #15803d;
  --accent-hover: #166534;
  --on-accent: #ffffff;
  --link: #15803d;
  --tint: #dcfce7;
  --tint-text: #166534;
  --loss: #fee2e2;
  --loss-text: #991b1b;
  --chip-bg: #ffffff;
  --chip-border: #d1d5db;
  --chip-text: #374151;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);

  --navy: #0b1120;
  --navy-2: #141d2e;
  --navy-line: rgba(255, 255, 255, 0.12);
  --on-navy: #f1f5f9;
  --on-navy-muted: #cbd5e1;
  --on-navy-soft: #94a3b8;
  --bright: #22c55e;
  --on-bright: #07140c;
  --focus: #2563eb;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gutter: 24px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #141d2e;
    --surface-alt: #1b2740;
    --text: #f1f5f9;
    --muted: #a3acbb;
    --border: rgba(255, 255, 255, 0.1);
    --border-soft: rgba(255, 255, 255, 0.07);
    --accent: #22c55e;
    --accent-hover: #4ade80;
    --on-accent: #07140c;
    --link: #4ade80;
    --tint: rgba(34, 197, 94, 0.16);
    --tint-text: #4ade80;
    --loss: rgba(239, 68, 68, 0.18);
    --loss-text: #fca5a5;
    --chip-bg: #172033;
    --chip-border: rgba(255, 255, 255, 0.12);
    --chip-text: #d6dbe4;
    --shadow: none;
    --focus: #60a5fa;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
}

img {
  max-width: 100%;
}

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

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

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

[hidden] {
  display: none !important;
}

.wrap {
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 var(--gutter);
}

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

.icon {
  flex: none;
}

/* ------------------------------------------------------------- header -- */

.site-header,
.nav {
  background: var(--navy);
  color: var(--on-navy);
  border-bottom: 1px solid var(--navy-line);
}

.site-nav,
.nav .wrap {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding-bottom: 14px;
  padding-top: 14px;
}

.brand,
.nav-brand {
  align-items: center;
  color: var(--on-navy);
  display: flex;
  font-size: 19px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img,
.nav-brand img {
  border-radius: 9px;
  height: 36px;
  width: 36px;
}

.brand:hover,
.nav-brand:hover {
  color: var(--on-navy);
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  gap: 0 24px;
  font-size: 15px;
  font-weight: 500;
  overflow-x: auto;
}

.nav-links a {
  color: var(--on-navy-muted);
  padding: 10px 0;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--on-navy);
}

@media (max-width: 720px) {
  .site-nav {
    gap: 4px 12px;
  }
  .site-nav .nav-links {
    flex-basis: 100%;
    order: 3;
  }
  .site-nav .btn-small {
    margin-left: auto;
  }
}

/* ------------------------------------------------------------ buttons -- */

.btn {
  align-items: center;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
}

.btn-small {
  border-radius: 999px;
  font-size: 15px;
  min-height: 44px;
  padding: 0 18px;
}

.btn-green,
.btn-green:hover {
  background: var(--bright);
  color: var(--on-bright);
}

.btn-green:hover {
  background: #4ade80;
}

.btn-dark,
.btn-dark:hover {
  background: var(--navy);
  color: var(--on-navy);
}

.btn-soft,
.btn-soft:hover {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
}

@media (prefers-color-scheme: dark) {
  .btn-dark,
  .btn-dark:hover {
    background: var(--bright);
    color: var(--on-bright);
  }
}

.link-strong {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 650;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
}

/* --------------------------------------------------------------- hero -- */

.hero {
  background: var(--navy);
  color: var(--on-navy);
}

.hero-grid {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  padding-bottom: 96px;
  padding-top: 48px;
}

.hero-copy {
  display: flex;
  flex: 1 1 480px;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
}

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

.lead {
  color: var(--on-navy-muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  margin: 0;
  max-width: 34rem;
}

.pill-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.tag {
  background: rgba(34, 197, 94, 0.14);
  border-radius: 999px;
  color: #4ade80;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
}

.hero-art {
  display: flex;
  flex: 0 1 400px;
  justify-content: center;
  min-width: 0;
  padding: 24px 0 40px;
  position: relative;
}

.phone {
  background: #1e293b;
  border-radius: 44px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--navy-line);
  padding: 10px;
  width: 290px;
}

.phone img {
  border-radius: 34px;
  display: block;
  height: auto;
  width: 100%;
}

.hero-art .notification {
  bottom: 8px;
  left: -28px;
  position: absolute;
  width: 320px;
}

@media (max-width: 860px) {
  .hero-art {
    display: none;
  }
  .hero-grid {
    padding-bottom: 72px;
    padding-top: 28px;
  }
}

.notification {
  background: #f1f5f9;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  color: #111827;
  display: flex;
  gap: 12px;
  line-height: 1.35;
  padding: 14px 16px;
  text-align: left;
}

.notification img {
  border-radius: 50%;
  flex: none;
  height: 38px;
  width: 38px;
}

.notification div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.notification-app {
  color: #4b5563;
  font-size: 12px;
}

.notification strong {
  font-size: 15px;
}

.notification span:last-child {
  color: #374151;
  font-size: 13px;
}

/* ------------------------------------------------------------- search -- */

.search {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 34rem;
  position: relative;
}

.search label {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
}

.search-box {
  align-items: center;
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
  border-radius: 16px;
  color: var(--on-navy-soft);
  display: flex;
  gap: 10px;
  padding: 6px 6px 6px 16px;
}

.search-box .btn {
  padding: 0 18px;
  white-space: nowrap;
}

.search-box:focus-within {
  border-color: var(--bright);
}

.search-box input {
  background: transparent;
  border: 0;
  color: var(--on-navy);
  flex: 1 1 auto;
  font: inherit;
  font-size: 17px;
  min-height: 44px;
  min-width: 0;
  outline: none;
}

.search-box input::placeholder {
  color: #7d8799;
}

.suggestions {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  left: 0;
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  right: 0;
  top: 92px;
  z-index: 5;
}

.suggestions a {
  border-radius: 10px;
  color: var(--text);
  display: block;
  font-weight: 600;
  padding: 10px 12px;
  text-decoration: none;
}

.suggestions a:hover,
.suggestions a:focus {
  background: var(--surface-alt);
}

.search-today {
  color: var(--on-navy-soft);
  font-size: 14px;
}

.pill-link {
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  color: #e2e8f0;
  padding: 6px 12px;
  text-decoration: none;
}

.pill-link:hover {
  border-color: var(--bright);
  color: var(--on-navy);
}

.pill-light {
  background: var(--chip-bg);
  border-color: var(--chip-border);
  color: var(--chip-text);
  font-size: 14px;
  font-weight: 600;
}

.pill-light:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* -------------------------------------------------------------- games -- */

.games {
  margin-top: -48px;
  position: relative;
}

.games-card,
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.games-head,
.games-foot {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  padding: 28px 28px 8px;
}

.games-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0;
}

.games-head p {
  font-size: 14px;
  margin: 2px 0 0;
}

.games-foot {
  align-items: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 14px;
  padding: 12px 28px;
}

.games-filters {
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 28px 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 3px 0;
}

.chip {
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  color: var(--chip-text);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  height: 40px;
  padding: 0 18px;
  position: relative;
}

/* Brings the 40px chip up to a 46px touch target. */
.chip::before {
  content: "";
  inset: -3px 0;
  position: absolute;
}

.chip:hover {
  border-color: var(--accent);
}

/* The active chip ends in the play arrow of the app icon. */
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  border-radius: 999px 0 0 999px;
  color: var(--on-accent);
  font-weight: 700;
  margin-right: 11px;
  padding-right: 12px;
}

.chip[aria-pressed="true"]::after {
  border-bottom: 20px solid transparent;
  border-left: 11px solid var(--accent);
  border-top: 20px solid transparent;
  content: "";
  left: 100%;
  position: absolute;
  top: -1px;
}

.list-title {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0;
  padding: 14px 28px 8px;
  text-transform: uppercase;
}

.list-empty {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
  padding: 32px 28px;
}

.match-list,
.result-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.match {
  align-items: center;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px 28px;
}

.match-list .match:first-child {
  border-top: 0;
}

.match-when {
  display: flex;
  flex: 0 0 72px;
  flex-direction: column;
  line-height: 1.2;
}

.match-day {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.match-time {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.match-main {
  flex: 1 1 260px;
  min-width: 0;
}

.match-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 6px;
}

.match-teams {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
}

.team {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-size: 17px;
  font-weight: 600;
  gap: 10px;
  text-decoration: none;
}

.team:hover {
  color: var(--text);
}

.team:hover span:last-child {
  text-decoration: underline;
}

.crest {
  align-items: center;
  background: var(--crest, #475569);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  flex: none;
  font-size: 12px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.crest-xl {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
  font-size: 24px;
  height: 72px;
  width: 72px;
}

.score {
  background: var(--surface-alt);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  padding: 2px 10px;
  white-space: nowrap;
}

.vs {
  color: var(--muted);
  font-weight: 700;
}

.badge {
  background: var(--surface-alt);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-left: 4px;
  padding: 2px 8px;
}

.badge-live {
  background: #dc2626;
  color: #ffffff;
}

.match-watch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.watch {
  align-items: center;
  background: var(--tint);
  border-radius: 12px;
  color: var(--tint-text);
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
}

a.watch:hover {
  color: var(--tint-text);
  text-decoration: underline;
}

.watch-tbd {
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }
  .games-head,
  .games-filters,
  .games-foot,
  .match,
  .list-title,
  .list-empty {
    padding-left: 16px;
    padding-right: 16px;
  }
  .match {
    gap: 10px 14px;
  }
  .match-when {
    flex-basis: 56px;
  }
  .match-main {
    flex-basis: 200px;
  }
  .match-watch {
    flex-basis: 100%;
    padding-left: 70px;
  }
  .team {
    font-size: 16px;
  }
}

/* ----------------------------------------------------------- sections -- */

.section {
  padding-bottom: 32px;
  padding-top: 88px;
}

.eyebrow {
  color: var(--link);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 40px;
  max-width: 40rem;
}

.section-title-small {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  margin-bottom: 8px;
}

.section-lead {
  font-size: 17px;
  margin: 0 0 28px;
}

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.step-art {
  background: var(--tint);
  display: flex;
  height: 300px;
  justify-content: center;
  overflow: hidden;
  padding-top: 32px;
}

.step-art > img {
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  height: auto;
  width: 230px;
}

.step-art-dark {
  align-items: center;
  background: var(--navy);
  padding: 24px;
}

.step-art-dark .notification {
  max-width: 320px;
  width: 100%;
}

.step-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
}

.step-text h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 0;
}

.step-text p {
  color: var(--muted);
  margin: 0;
}

.step-n {
  color: var(--link);
  font-size: 14px;
  font-weight: 800;
}

.comp-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.comp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  text-decoration: none;
}

.comp-card:hover {
  border-color: var(--accent);
  color: var(--text);
}

.comp-icon {
  align-items: center;
  background: var(--tint);
  border-radius: 12px;
  color: var(--tint-text);
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.comp-icon-xl {
  border-radius: 20px;
  flex: none;
  height: 72px;
  width: 72px;
}

.comp-title {
  display: flex;
  flex-direction: column;
}

.comp-title strong {
  font-size: 19px;
}

.comp-title span,
.comp-leader {
  color: var(--muted);
  font-size: 14px;
}

.comp-next {
  border-top: 1px solid var(--border-soft);
  font-size: 14px;
  padding-top: 12px;
}

.comp-next b {
  color: var(--tint-text);
}

.cta-band {
  align-items: center;
  background: var(--navy);
  border: 1px solid var(--navy-line);
  border-radius: 32px;
  color: var(--on-navy);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 56px);
}

.cta-band > div:first-child {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
}

.checks {
  color: var(--on-navy-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  align-items: center;
  display: flex;
  gap: 6px;
}

.checks .icon {
  color: #4ade80;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store {
  align-items: center;
  border-radius: 16px;
  display: inline-flex;
  flex: 1 1 auto;
  gap: 12px;
  min-height: 60px;
  padding: 0 22px;
  text-decoration: none;
}

.store span {
  display: flex;
  flex-direction: column;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.store small {
  font-size: 12px;
  font-weight: 500;
}

.store-light,
.store-light:hover {
  background: #f1f5f9;
  color: var(--navy);
}

.store-green,
.store-green:hover {
  background: var(--bright);
  color: var(--on-bright);
}

/* ------------------------------------------------------------- footer -- */

.site-footer,
.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  margin-top: 56px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding-bottom: 48px;
  padding-top: 32px;
}

.footer-grid > div {
  flex: 1 1 420px;
}

.footer-grid p {
  margin: 8px 0 0;
  max-width: 36rem;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}

.footer-grid nav a {
  padding: 10px 0;
}

.brand-dark,
.brand-dark:hover {
  color: var(--text);
  font-size: 16px;
}

.brand-dark img {
  border-radius: 6px;
  height: 24px;
  width: 24px;
}

/* ------------------------------------------------ club and competition -- */

.hero-compact .wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 72px;
  padding-top: 24px;
}

.hero-compact h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.05;
}

.crumbs {
  color: var(--on-navy-soft);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
}

.crumbs a {
  color: var(--on-navy-soft);
}

.crumbs [aria-current] {
  color: #e2e8f0;
}

.club-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.club-title > div {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 4px;
}

.club-layout {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: -40px;
  position: relative;
}

.club-content {
  display: flex;
  flex: 999 1 560px;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.club-aside {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.club-aside-wide {
  flex-basis: 500px;
}

.next-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.next-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.next-card-first {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.next-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 4px 12px;
  justify-content: space-between;
}

.next-head .eyebrow {
  font-size: 13px;
  letter-spacing: 0.06em;
  margin: 0;
}

.next-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}

.next-when {
  color: var(--muted);
  font-size: 16px;
  margin: -8px 0 0;
}

.next-watch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.next-tbd {
  border: 1px dashed var(--chip-border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
}

.next-tbd span {
  color: var(--muted);
  font-size: 14px;
}

.panel-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px 24px 12px;
}

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

.panel .match {
  padding-left: 24px;
  padding-right: 24px;
}

.panel .match-list .match:first-child {
  border-top: 1px solid var(--border-soft);
}

.panel-pad {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}

.result-row {
  align-items: center;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 14px 24px;
}

.result-day {
  color: var(--muted);
  flex: 0 0 90px;
  font-size: 14px;
  font-weight: 600;
}

.result-teams {
  flex: 1 1 260px;
  font-weight: 600;
  min-width: 0;
}

.result-teams .score {
  font-size: 15px;
  margin: 0 4px;
}

.result {
  align-items: center;
  background: var(--surface-alt);
  border-radius: 8px;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.result-win {
  background: var(--tint);
  color: var(--tint-text);
}

.result-loss {
  background: var(--loss);
  color: var(--loss-text);
}

.standing-link {
  align-items: center;
  background: var(--bg);
  border-radius: 16px;
  color: var(--text);
  display: flex;
  gap: 14px;
  padding: 14px;
  text-decoration: none;
}

.standing-link:hover {
  color: var(--text);
  outline: 1px solid var(--accent);
}

.standing-link > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.standing-link .muted {
  font-size: 14px;
}

.standing-pos {
  color: var(--link);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  min-width: 48px;
}

.app-cta {
  background: var(--navy);
  border: 1px solid var(--navy-line);
  border-radius: 24px;
  color: var(--on-navy);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.app-cta h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.app-cta .notification {
  box-shadow: none;
}

.app-cta .store {
  min-height: 52px;
  padding: 0 16px;
}

.rivals h2 {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 12px;
}

.table-wrapper {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow-x: auto;
}

.standings {
  border-collapse: collapse;
  font-size: 15px;
  width: 100%;
}

.standings caption {
  font-weight: 700;
  padding: 12px 14px 4px;
  text-align: left;
}

.standings th,
.standings td {
  border-top: 1px solid var(--border-soft);
  padding: 8px 7px;
  text-align: center;
  white-space: nowrap;
}

.standings thead th {
  border-top: 0;
  color: var(--muted);
  font-size: 13px;
}

.standings abbr {
  text-decoration: none;
}

.standings tbody th {
  font-weight: 600;
  text-align: left;
}

.standings .team {
  font-size: 15px;
  gap: 8px;
}

.standings .crest {
  font-size: 10px;
  height: 24px;
  width: 24px;
}

.panel-pad .table-wrapper + .table-wrapper {
  margin-top: 4px;
}

/* -------------------------------------------------------------- teams -- */

.search-inline {
  margin-top: 8px;
}

.teams-page {
  padding-top: 40px;
}

.teams-group {
  margin-bottom: 40px;
}

.teams-group h2 {
  align-items: center;
  display: flex;
  font-size: 22px;
  gap: 10px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.teams-group h2 .icon {
  color: var(--link);
}

.teams-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.team-tile {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  display: flex;
  font-weight: 600;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  text-decoration: none;
}

.team-tile:hover {
  border-color: var(--accent);
  color: var(--text);
}

.not-found {
  padding-top: 96px;
}

.not-found h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.not-found .pill-row {
  margin-top: 24px;
}

/* ------------------------------------------------------ privacy policy -- */

.policy-hero {
  background: var(--navy);
  color: var(--on-navy);
  padding: 48px 0 56px;
}

.policy-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.policy-hero p {
  color: var(--on-navy-muted);
  max-width: 46rem;
}

.policy-hero .eyebrow {
  color: #4ade80;
}

.policy-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.policy-summary > div {
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
}

.summary-label {
  color: var(--on-navy-soft);
  font-size: 13px;
}

.policy-content {
  max-width: 860px;
  padding-bottom: 24px;
  padding-top: 40px;
}

.policy-content section {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.policy-content h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.policy-content h3 {
  font-size: 17px;
  margin: 20px 0 8px;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
}

.plain-list li + li {
  margin-top: 8px;
}

.notice,
.contact-card {
  background: var(--tint);
  border-radius: 14px;
  color: var(--text);
  padding: 14px 18px;
}

.table-wrapper + .notice {
  margin-top: 16px;
}

.policy-table {
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
  width: 100%;
}

.policy-table th,
.policy-table td {
  border-top: 1px solid var(--border-soft);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.policy-table thead th {
  background: var(--surface-alt);
  border-top: 0;
  font-size: 14px;
}

.footer .wrap {
  padding-bottom: 40px;
  padding-top: 28px;
}

.footer-note {
  margin: 0 0 8px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}
