/* Sports page (frames sports-page 1440 / sports-mobile 390). Shares .odd, .slip,
   .slip-bar, .terminal__empty with home.css. Numbers from fig-spec. */

/* ── intro (section-3-sports-intro) ───────────────────────────────────── */
.intro { display: flex; flex-direction: column; gap: var(--space-16); padding: 64px var(--container-pad) 32px; background: var(--color-bg); }
.intro__eyebrow { font-family: var(--font-body); font-weight: 800; line-height: 12px; letter-spacing: 1.5px; }
.intro__eyebrow::before { width: 12px; height: 2px; }
.intro__title { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 62px; letter-spacing: -2px; color: var(--color-text); }
.intro__lead { max-width: 800px; font-size: 16px; line-height: 24px; color: var(--color-muted); }

/* ── sport tabs (section-4-sports-nav) ────────────────────────────────── */
.sportnav { background: var(--color-bg); box-shadow: inset 0 -1px 0 var(--color-line-dark); }
.sportnav__list { display: flex; gap: var(--space-32); height: 56px; padding-inline: var(--container-pad); overflow-x: auto; scrollbar-width: none; }
.sportnav__list::-webkit-scrollbar { display: none; }
.sportnav__tab {
  position: relative; flex-shrink: 0; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 14px; line-height: 15px; font-weight: 500; color: var(--color-muted);
  transition: color var(--dur-fast) var(--ease);
}
.sportnav__tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-brand);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease);
}
.sportnav__tab:hover { color: var(--color-text); }
.sportnav__tab[aria-selected="true"] { color: var(--color-text); font-weight: 700; }
.sportnav__tab[aria-selected="true"]::after { transform: scaleX(1); }

/* ── market board + slip (section-5-workspace) ────────────────────────── */
.board-wrap { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-32); align-items: start; padding: 80px var(--container-pad); background: var(--color-bg); }
.board { display: flex; flex-direction: column; gap: var(--space-24); }
.board__head { display: flex; justify-content: space-between; align-items: center; }
.board__title { font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 35px; color: var(--color-text); }
.board__count {
  padding: 4px 10px; border-radius: 100px; background: var(--color-ink);
  font-family: var(--font-mono); font-weight: 700; font-size: 11px; line-height: 14px; text-transform: uppercase; color: var(--color-muted);
}
.board__table { display: flex; flex-direction: column; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--color-line-dark); overflow: hidden; }
.board__all { display: none; }

.mrow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; background: var(--color-surface); box-shadow: inset 0 -1px 0 var(--color-line-dark);
  transition: background-color var(--dur-fast) var(--ease);
}
.mrow:hover { background: var(--color-surface-2); }
.mrow__badge { display: flex; flex-direction: column; gap: 2px; width: 120px; flex-shrink: 0; }
.mrow__sport { font-family: var(--font-display); font-weight: 900; font-size: 12px; line-height: 15px; color: var(--color-text); }
.mrow__country { font-size: 11px; line-height: 12px; text-transform: uppercase; color: var(--color-muted); }
.mrow__event { display: flex; flex-direction: column; gap: var(--space-4); width: 276px; margin-left: 24px; }
.mrow__title { font-size: 15px; line-height: 16px; font-weight: 700; color: var(--color-text); }
.mrow__time { font-size: 12px; line-height: 13px; color: var(--color-muted); }
.mrow__market { width: 100px; font-size: 12px; line-height: 13px; text-transform: uppercase; color: var(--color-muted); }
.mrow__odds { display: flex; gap: var(--space-12); }
.mrow__odds .odd { width: 120px; height: 45px; }
.mrow__odds .odd__name { font-size: 11px; line-height: 12px; }
.mrow__odds .odd__price { font-size: 13px; line-height: 17px; }
.mrow--3 .mrow__odds { gap: var(--space-8); }
.mrow--3 .mrow__odds .odd { width: 80px; height: 43px; }
.mrow--3 .mrow__odds .odd__name { font-size: 10px; line-height: 11px; }
.mrow--3 .mrow__odds .odd__price { font-size: 12px; line-height: 16px; }
.mrow__more {
  width: 110px; text-align: right; font-family: var(--font-mono); font-weight: 700; font-size: 12px; line-height: 16px;
  color: var(--color-brand); text-decoration: none; white-space: nowrap;
}
.mrow__more:hover { text-decoration: underline; }

/* ── featured competition (section-6-featured-competition) ────────────── */
.featured { display: flex; flex-direction: column; gap: var(--space-24); padding: 40px var(--container-pad) 80px; background: var(--color-bg); }
.featured__eyebrow { font-family: var(--font-body); font-weight: 800; line-height: 12px; letter-spacing: 1.5px; }
.featured__eyebrow::before { width: 12px; height: 2px; }
.featured__grid { display: grid; grid-template-columns: 560px 1fr; gap: var(--space-32); align-items: center; }
.featured__content { display: flex; flex-direction: column; gap: var(--space-20); }
.featured__heading { display: flex; flex-direction: column; gap: var(--space-6); }
.featured__title { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 58px; letter-spacing: -1.92px; color: var(--color-text); }
.featured__league { font-size: 16px; line-height: 17px; color: var(--color-muted); }
.featured__card { display: contents; }
.featured__matchup { display: flex; flex-direction: column; gap: var(--space-8); }
.featured__teams { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 25px; color: var(--color-text); }
.featured__time { font-size: 13px; line-height: 14px; color: var(--color-muted-4); }
.featured__market { display: flex; flex-direction: column; gap: var(--space-12); }
.featured__market-label { font-size: 11px; line-height: 12px; text-transform: uppercase; color: var(--color-muted); }
.featured__mob { display: none; }
.featured__odds { display: flex; gap: var(--space-12); }
.featured__odd { flex: 1; height: 52px; gap: 2px; border-radius: var(--radius-md); padding: 8px 12px; }
.featured__odd .odd__name { font-size: 10px; line-height: 11px; text-transform: uppercase; }
.featured__odd .odd__price { font-size: 18px; line-height: 23px; font-weight: 700; }
.featured__markets { font-family: var(--font-mono); font-weight: 600; font-size: 12px; line-height: 16px; color: var(--color-muted); }
.featured__foot { display: flex; flex-direction: column; gap: var(--space-20); margin-top: -8px; }
.featured__all { font-size: 14px; line-height: 15px; font-weight: 800; }
.featured__pic { height: 520px; border-radius: var(--radius-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--color-line-dark); }
.featured__pic img { width: 100%; height: 100%; object-fit: cover; }

/* ── mobile (frame sports-mobile 390) ─────────────────────────────────── */
@media (max-width: 1199px) {
  .intro { gap: var(--space-12); padding: 32px var(--container-pad-m) 24px; }
  .intro__eyebrow { font-size: 10px; line-height: 11px; }
  .intro__title { font-size: 32px; line-height: 34px; letter-spacing: -1.28px; }
  .intro__lead { font-size: 14px; line-height: 20px; }

  .sportnav { box-shadow: none; }
  .sportnav__list { padding-inline: var(--container-pad-m); }

  .board-wrap { grid-template-columns: 1fr; gap: 0; padding: 32px var(--container-pad-m) 24px; }
  .board__head { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .board__title { font-size: 22px; line-height: 27px; }
  .board__count { padding: 0; border-radius: 0; background: none; font-family: var(--font-body); font-weight: 400; font-size: 12px; line-height: 13px; text-transform: lowercase; }
  .board__table { gap: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  .board__all { display: block; height: 27px; padding: 6px 0; text-align: center; font-size: 14px; line-height: 15px; }   /* mockup frame is a fixed 27px */
  .board__all .arrow-link { display: inline; }
  .mrow {
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "badge time" "title title" "market market" "odds odds" "more more";
    position: relative; gap: 0; padding: 0; background: none; box-shadow: none;
  }
  .mrow + .mrow { margin-top: 32px; }
  .mrow + .mrow::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 1px; background: var(--color-line-dark); }
  .mrow:hover { background: none; }
  .mrow__badge { grid-area: badge; flex-direction: row; gap: 0; width: auto; }
  .mrow__sport, .mrow__country { font-family: var(--font-body); font-weight: 400; font-size: 11px; line-height: 12px; text-transform: uppercase; color: var(--color-muted); }
  .mrow__sport::after { content: " · "; }
  .mrow__event { display: contents; }
  .mrow__title { grid-area: title; margin-top: 12px; font-size: 15px; line-height: 16px; }
  .mrow__time { grid-area: time; font-size: 11px; line-height: 12px; }
  .mrow__market { grid-area: market; width: auto; margin-top: 12px; font-size: 10px; line-height: 11px; }
  .mrow__odds { grid-area: odds; margin-top: 8px; gap: var(--space-8); }
  .mrow__odds .odd, .mrow--3 .mrow__odds .odd { flex: 1; width: auto; height: 48px; padding: 6px 0; border-radius: var(--radius-md); }
  .mrow__odds .odd__name, .mrow--3 .mrow__odds .odd__name { font-size: 10px; line-height: 11px; }
  .mrow__odds .odd__price, .mrow--3 .mrow__odds .odd__price { font-size: 15px; line-height: 20px; }
  .mrow__more { grid-area: more; width: auto; margin-top: 12px; text-align: left; }

  .featured { gap: var(--space-16); padding: 48px var(--container-pad-m) 40px; }
  .featured__eyebrow { display: none; }
  .featured__grid { grid-template-columns: 1fr; gap: var(--space-16); }
  .featured__content { gap: var(--space-16); }
  .featured__heading { flex-direction: row; align-items: center; gap: var(--space-8); height: 30px; }
  .featured__title { font-size: 18px; line-height: 22px; letter-spacing: 0; color: #fff; }
  .featured__league { font-size: 13px; line-height: 14px; }
  .featured__card { display: flex; flex-direction: column; gap: var(--space-16); padding: var(--space-20); border-radius: var(--radius-lg); background: var(--color-ink); }
  .featured__matchup { gap: var(--space-6); }
  .featured__teams { gap: var(--space-6); font-family: var(--font-body); font-weight: 700; font-size: 18px; line-height: 20px; }
  .featured__vs { font-size: 14px; line-height: 15px; font-weight: 400; color: #fff; }
  .featured__time { font-size: 12px; line-height: 13px; color: var(--color-muted); }
  .featured__market { gap: var(--space-8); }
  .featured__market-label { font-size: 10px; line-height: 11px; }
  .featured__desk { display: none; }
  .featured__mob { display: inline; }
  .featured__odds { gap: var(--space-8); }
  .featured__odd { height: 48px; padding: 6px 0; gap: 0; }
  .featured__odd .odd__price { font-size: 15px; line-height: 20px; }
  .featured__foot { flex-direction: row; justify-content: space-between; align-items: center; min-height: 18px; margin-top: 0; }
  .featured__markets { font-family: var(--font-body); font-weight: 400; font-size: 12px; line-height: 13px; color: var(--color-brand); }
  .featured__all { font-size: 13px; line-height: 14px; }
  .featured__pic { height: 240px; border-radius: var(--radius-lg); box-shadow: none; }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .featured__grid { grid-template-columns: minmax(0, 45%) minmax(0, 1fr); }
  .mrow__event { width: auto; flex: 1; min-width: 0; }
}

/* mobile fixes from the frame-by-frame style check */
@media (max-width: 1199px) {
  .mrow__odds .odd, .mrow--3 .mrow__odds .odd { box-shadow: inset 0 0 0 1px var(--color-line-dark-2); }
  .mrow__odds .odd__name { font-weight: 700; text-transform: uppercase; }
}
