/* ============================================================
   ScoreChom — Base styles
   ------------------------------------------------------------
   Reset + typography + primitives + responsive utilities
   + shared header/footer chrome + theme toggle.

   Depends on: vars.css (load it FIRST).
   Page-specific styles live in their own *.css files.
   ============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; }

/* ---- Document ---- */
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Safe-area insets — handle iOS notch + Android gesture bar everywhere. */
  padding-left:  env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: var(--lh-tight); font-weight: 800; letter-spacing: 0.01em; }
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
p  { line-height: var(--lh-base); }
.sc-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  color: var(--accent);
}
.sc-script {
  font-family: var(--font-script);
  color: var(--highlight);
  font-weight: 400;
}

/* Fluid type for big headlines on small screens. */
@media (max-width: 720px) {
  h1 { font-size: clamp(36px, 9vw, 48px); }
  h2 { font-size: clamp(28px, 7vw, 36px); }
  h3 { font-size: clamp(22px, 6vw, 28px); }
}

/* ---- Layout container ---- */
.sc-container {
  width: 100%;
  max-width: var(--container-lg);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.sc-container--xl { max-width: var(--container-xl); }
.sc-container--md { max-width: var(--container-md); }
.sc-container--sm { max-width: var(--container-sm); }
@media (max-width: 540px) {
  .sc-container { padding-inline: var(--space-4); }
}

/* ---- Buttons ---- */
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  min-height: 44px;      /* touch target */
}
.sc-btn:hover  { background: var(--brand-deep); transform: translateY(-1px); box-shadow: var(--shadow-glow-orange); }
.sc-btn:active { transform: translateY(0); }
.sc-btn:focus-visible { outline: 2px solid var(--highlight); outline-offset: 3px; }

.sc-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.sc-btn--ghost:hover { background: var(--surface-strong); box-shadow: none; }

.sc-btn--accent {
  background: var(--accent);
}
.sc-btn--accent:hover { background: var(--accent-deep); box-shadow: var(--shadow-glow-green); }

/* ---- Card primitive ---- */
.sc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.sc-card--strong { background: var(--card-strong); box-shadow: var(--shadow-md); }

/* ---- Pill ---- */
.sc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--surface-strong);
  color: var(--ink);
}
.sc-pill--live {
  background: var(--brand);
  color: #fff;
}
.sc-pill--live::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: sc-pulse 1.6s var(--ease) infinite;
}
@keyframes sc-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(255,255,255,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0   rgba(255,255,255,0); }
}

/* ============================================================
   SITE HEADER (partials/header.html)
   ============================================================ */
.sc-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  width: 100%;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--pitch-green-deep) 0%, var(--pitch-green) 92%);
  color: #fff;
  padding-top: env(safe-area-inset-top);
  box-shadow: var(--shadow-sm);
}
/* Brush-stroke green edge at the bottom of the header — mirrors the footer.
   Positioned INSIDE the sticky header's stacking context so it always
   sits above page-level background overlays (e.g. orgs.css has a fixed
   ::after gradient that was burying a z-index:-1 brush). */
.sc-header__brush {
  position: absolute;
  left: 0; right: 0; bottom: -23px;
  height: 24px;
  color: var(--pitch-green);
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}
.sc-header__brush svg { display: block; width: 100%; height: 100%; }
.sc-header__band {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  max-width: var(--container-xl);
  margin-inline: auto;
  padding: 10px var(--space-5);
  min-height: var(--header-height);
}

.sc-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}
.sc-brand__mark {
  width: 48px; height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
}
.sc-brand__copy { display: flex; flex-direction: column; line-height: 1; }
.sc-brand__wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 0.01em;
  color: #fff;
}
.sc-brand__wordmark em {
  font-style: normal;
  color: var(--brand-orange);
}
.sc-brand__tagline {
  font-family: var(--font-script);
  font-size: 16px;
  color: #fff;
  margin-top: 4px;
  opacity: 0.95;
}
.sc-brand__love  { color: var(--brand-yellow); }
.sc-brand__heart { color: var(--heart-red); margin-left: 2px; }

.sc-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--fs-sm);
}
.sc-nav a { color: #fff; padding: 8px 4px; border-bottom: 2px solid transparent; transition: border-color var(--dur-fast) var(--ease); }
.sc-nav a:hover { border-bottom-color: var(--brand-yellow); }
.sc-nav__cta {
  padding: 10px 18px !important;
  background: var(--brand);
  border-radius: var(--radius-pill);
  border-bottom: 0 !important;
}
.sc-nav__cta:hover { background: var(--brand-deep); border-bottom: 0 !important; }

.sc-header__tools {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.sc-live-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-sm);
  letter-spacing: 0.16em;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-pill);
}

/* ---- Theme toggle ---- */
.sc-theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: inline-grid;
  place-items: center;
  transition: background var(--dur-fast) var(--ease);
}
.sc-theme-toggle:hover { background: rgba(255,255,255,0.22); }
.sc-theme-toggle__icon { font-size: 18px; line-height: 1; }
.sc-theme-toggle__icon--sun  { display: none; }
.sc-theme-toggle__icon--moon { display: inline; }
[data-theme="light"] .sc-theme-toggle__icon--sun  { display: inline; }
[data-theme="light"] .sc-theme-toggle__icon--moon { display: none; }

/* ---- Mobile burger ---- */
.sc-nav-burger {
  display: none;
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 8px;
}
.sc-nav-burger span {
  display: block; height: 2px; background: #fff;
  margin: 4px auto; width: 22px; border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

@media (max-width: 900px) {
  .sc-nav-burger { display: inline-grid; place-items: center; }
  .sc-brand__tagline { display: none; }
  .sc-brand__wordmark { font-size: 24px; }
  .sc-header__band { min-height: var(--header-height-mobile); }
  .sc-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--pitch-green-deep);
    padding: var(--space-4);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
  }
  .sc-nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .sc-nav a:last-child { border-bottom: 0; }
  .sc-header[data-menu-open="true"] .sc-nav {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .sc-header[data-menu-open="true"] .sc-nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .sc-header[data-menu-open="true"] .sc-nav-burger span:nth-child(2) { opacity: 0; }
  .sc-header[data-menu-open="true"] .sc-nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .sc-live-pill { display: none; }
}

/* ============================================================
   SITE FOOTER (partials/footer.html)
   Single dark tone, brush-stroke green edge at top, orange used
   as accent only. Mirrors the header band to bookend the page.
   ============================================================ */
.sc-footer {
  position: relative;
  margin-top: var(--space-9);
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(25,184,106,0.10) 0%, transparent 60%),
    linear-gradient(180deg, #050912 0%, #070b18 100%);
  isolation: isolate;
}
[data-theme="light"] .sc-footer {
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(25,184,106,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #050912 0%, #070b18 100%);
  /* Footer stays dark even in light mode — feels like the night sky after the match. */
  color: #F8FBFF;
}

/* Brush-stroke green edge — sits ABOVE the footer (overlapping the
   section above it) so the green clearly bookends the page. */
.sc-footer {
  /* Make sure the brush can spill upward out of the footer's top edge */
  overflow: visible;
}
.sc-footer__brush {
  position: relative;
  width: 100%;
  height: 56px;
  margin-top: -56px;          /* pull the brush UP onto the section above */
  margin-bottom: 0;
  color: var(--pitch-green);  /* SVG path uses currentColor */
  line-height: 0;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 -4px 12px rgba(25, 184, 106, 0.28));
}
.sc-footer__brush svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sc-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: var(--space-7);
  max-width: var(--container-xl);
  margin-inline: auto;
  padding: var(--space-7) var(--space-5) var(--space-6);
}

.sc-footer__col { min-width: 0; }

.sc-brand--footer { display: inline-flex; align-items: center; gap: var(--space-3); }
.sc-brand--footer .sc-brand__wordmark { color: #fff; font-size: 26px; }
.sc-brand--footer .sc-brand__wordmark em { color: var(--brand-orange); font-style: normal; }
.sc-brand--footer .sc-brand__tagline {
  font-family: var(--font-script);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
  display: block;
}
.sc-brand--footer .sc-brand__love  { color: var(--brand-yellow); }
.sc-brand--footer .sc-brand__heart { color: var(--heart-red); margin-left: 2px; }

/* App store badges */
.sc-footer__apps {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.sc-store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 16px;
  min-width: 150px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  color: #fff;
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.sc-store:hover {
  border-color: var(--brand);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.sc-store__lead {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  font-weight: 600;
}
.sc-store__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
}

/* Headings */
.sc-footer__heading {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--fs-sm);
  color: var(--pitch-green);
  margin-bottom: var(--space-4);
}

/* Nav column */
.sc-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--fs-md);
  font-weight: 500;
}
.sc-footer__nav a {
  color: rgba(255,255,255,0.82);
  transition: color var(--dur-fast) var(--ease), padding-left var(--dur-fast) var(--ease);
}
.sc-footer__nav a:hover {
  color: var(--brand-orange);
  padding-left: 4px;
}

/* Contact column */
.sc-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--fs-md);
  margin-bottom: var(--space-5);
}
.sc-footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255,255,255,0.82);
  transition: color var(--dur-fast) var(--ease);
}
.sc-footer__contact a:hover { color: var(--brand-orange); }
.sc-ic {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--pitch-green);
  font-size: 15px;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.sc-footer__contact a:hover .sc-ic {
  background: var(--brand);
  color: #fff;
}
.sc-footer__cta { margin-top: var(--space-3); }

/* Legal strip — the slim signature at the very bottom */
.sc-footer__legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--container-xl);
  margin-inline: auto;
  padding: var(--space-4) var(--space-5);
  padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
}
.sc-footer__legal em { font-style: normal; color: var(--brand-yellow); font-family: var(--font-script); }
.sc-footer__heart { color: var(--heart-red); }
.sc-footer__legal-links { display: inline-flex; flex-wrap: wrap; gap: var(--space-4); }
.sc-footer__legal-links a {
  color: rgba(255,255,255,0.62);
  transition: color var(--dur-fast) var(--ease);
}
.sc-footer__legal-links a:hover { color: var(--brand-orange); }

/* Responsive */
@media (max-width: 960px) {
  .sc-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  .sc-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .sc-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: var(--space-6) var(--space-4) var(--space-5);
  }
  .sc-footer__legal { flex-direction: column; align-items: flex-start; text-align: left; }
  .sc-store { min-width: 130px; padding: 6px 12px; }
  .sc-store__name { font-size: 16px; }
}

/* ============================================================
   MATCH STRIP — home page hero aside
   Live first, then upcoming, capped at 5. Falls back to image.
   ============================================================ */
.sc-strip {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
  min-height: 320px;
}
.sc-strip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sc-strip__more {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--fs-xs);
  color: var(--brand);
}
.sc-strip__more:hover { color: var(--brand-deep); }

.sc-strip__cards,
.sc-strip__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* ---- Empty state — phone screenshot + on-brand copy ---- */
.sc-strip--empty {
  padding: var(--space-5);
}
.sc-strip__empty {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
  min-height: 280px;
}
.sc-strip__empty-phone {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #05080F;
  box-shadow:
    0 0 0 1px var(--line),
    0 18px 38px rgba(0, 0, 0, 0.32);
}
.sc-strip__empty-phone img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.sc-strip__empty-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,11,24,0.55) 100%);
  pointer-events: none;
}
.sc-strip__empty-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.sc-strip__empty-copy h3 {
  margin: 0;
  font-size: var(--fs-xl);
  line-height: 1.05;
}
.sc-strip__empty-copy p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.5;
  font-size: var(--fs-sm);
}
.sc-strip__empty-copy .sc-btn {
  align-self: flex-start;
  margin-top: var(--space-2);
}
@media (max-width: 480px) {
  .sc-strip__empty { grid-template-columns: 1fr; text-align: center; }
  .sc-strip__empty-phone { max-width: 160px; margin-inline: auto; }
  .sc-strip__empty-copy .sc-btn { align-self: center; }
}

/* ---- Match row (condensed) ---- */
.sc-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-3);
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
  min-height: 52px;
}
.sc-row:hover {
  transform: translateX(2px);
  border-color: var(--brand);
  background: var(--surface-strong);
}
.sc-row__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface-strong);
  color: var(--ink-2);
  white-space: nowrap;
}
.sc-row__pill--live { background: var(--brand); color: #fff; }
.sc-row__dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: sc-pulse 1.6s var(--ease) infinite;
}
.sc-row__teams {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  white-space: nowrap;
  overflow: hidden;
}
.sc-row__team {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.sc-row__score {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 900;
  font-size: var(--fs-lg);
}
.sc-row__sep { color: var(--ink-muted); font-weight: 700; }
.sc-row__sa--w, .sc-row__sb--w { color: var(--brand); }
.sc-row__vs {
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-sm);
}
.sc-row__meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.sc-row__age, .sc-row__period { line-height: 1.1; }
.sc-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease);
}
.sc-row:hover .sc-row__cta { background: var(--brand); color: #fff; }
.sc-row__arrow { transition: transform var(--dur-fast) var(--ease); }
.sc-row:hover .sc-row__arrow { transform: translateX(3px); }

@media (max-width: 540px) {
  .sc-row {
    grid-template-columns: auto 1fr auto;
    gap: var(--space-2);
    padding: 10px;
  }
  .sc-row__meta { display: none; }
  .sc-row__cta { padding: 6px 10px; }
  .sc-row__cta .sc-row__arrow { font-size: 14px; }
  .sc-row__teams { font-size: var(--fs-sm); }
  .sc-row__score { font-size: var(--fs-md); }
}

/* ---- Match card (legacy, kept for safety; new pages use .sc-row) ---- */
.sc-mc {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.sc-mc:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.sc-mc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.sc-mc__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--surface-strong);
  color: var(--ink-2);
}
.sc-mc__pill--live { background: var(--brand); color: #fff; }
.sc-mc__dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: sc-pulse 1.6s var(--ease) infinite;
}
.sc-mc__meta {
  display: inline-flex;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.sc-mc__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.sc-mc__teams {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.sc-mc__team {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-mc__swatch {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}

.sc-mc__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.sc-mc__score {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-xl);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
}
.sc-mc__sep { color: var(--ink-muted); font-weight: 700; }
.sc-mc__sa--w, .sc-mc__sb--w { color: var(--brand); }
.sc-mc__period {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sc-mc__vs {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-md);
}

/* ============================================================
   STANDALONE (PWA / native app) MODE
   ------------------------------------------------------------
   When someone opens any page INSIDE the installed app (PWA on
   home screen, or Capacitor native build), the website header
   and footer should not show — they're website chrome, not app
   chrome. The app shell (app.html) supplies its own UI.
   ============================================================ */
@media all and (display-mode: standalone) {
  .sc-header,
  .sc-footer { display: none !important; }
  body { padding-top: env(safe-area-inset-top); }
}
/* iOS Safari "Add to Home Screen" sets navigator.standalone instead of
   matching the display-mode media query — layout.js adds this class. */
body.sc-standalone .sc-header,
body.sc-standalone .sc-footer { display: none !important; }
body.sc-standalone { padding-top: env(safe-area-inset-top); }

/* ---- Utility ---- */
.sc-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
