/* Curling TV web app. Built on tokens.css and the design system's components.css (ctv- classes).
   Two shapes: 4px rectangles for things you look at, pills for things you press. One easing: curl. */

/* The Curl mark's colours follow the ground: granite ring + handle stone on Ice, ice ring on Night. */
:root { --mark-ring: #1C2125; --mark-rim: #1C2125; --mark-stone: #FFC21A; --tabbar-h: 70px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --mark-ring: #F4F7F6; --mark-rim: #FFC21A; } }
:root[data-theme="dark"], .theme-night { --mark-ring: #F4F7F6; --mark-rim: #FFC21A; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  background: var(--ice); color: var(--granite);
  font: 400 16px/1.5 var(--font-text);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg, video { max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--twelve); text-underline-offset: 2px; }
a:hover { color: var(--granite); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
abbr[title] { text-decoration: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -64px; z-index: 200; padding: 10px 18px; border-radius: var(--radius-stone);
  background: var(--handle); color: var(--on-handle); font-weight: 700; text-decoration: none;
  transition: top var(--nudge) var(--curl);
}
.skip-link:focus { top: 12px; color: var(--on-handle); }

.muted { color: var(--granite-muted); }
.nowrap { white-space: nowrap; }
.small { font-size: 13px; }
.label {
  font: 700 12px/1.2 var(--font-text); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--granite-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.label--s { font-size: 11px; }
.label--ink { color: var(--granite); }

/* ---------- lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: 9px; }
.lockup svg { flex: none; display: block; }
.lockup__word {
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: var(--lockup-text, 14px);
  letter-spacing: 0.01em; line-height: 1; color: var(--granite); white-space: nowrap;
}

/* ---------- buttons (extends ctv-btn) ---------- */
.ctv-btn { min-height: 48px; padding: 0 22px; gap: 10px; border-width: 0; }
.ctv-btn--secondary, .ctv-btn--danger { border-width: 0; box-shadow: inset 0 0 0 2px var(--line-strong); }
.ctv-btn--secondary:hover, .ctv-btn--danger:hover { box-shadow: inset 0 0 0 2px var(--granite); }
.ctv-btn--primary:hover { box-shadow: var(--shadow-lift); }
.ctv-btn--s { min-height: 36px; padding: 0 14px; font-size: 14px; gap: 7px; }
.ctv-btn--s svg { width: 16px; height: 16px; }
.ctv-btn--block { width: 100%; }
.ctv-btn--night { background: var(--frost-raised); color: var(--granite); }
.ctv-btn--secondary.is-on { background: var(--handle-wash); box-shadow: inset 0 0 0 2px var(--granite); }
a.ctv-btn--primary, a.ctv-btn--primary:hover { color: var(--on-handle); }
a.ctv-btn--secondary, a.ctv-btn--secondary:hover, a.ctv-btn--night { color: var(--granite); }
.ctv-badge--xs { height: 20px; padding: 0 8px; font-size: 10px; gap: 5px; }
.ctv-badge--xs::before { width: 6px; height: 6px; }
.badge--soon { background: var(--handle-wash); color: var(--granite); }
.ctv-tabs [aria-checked="true"] { background: var(--granite); color: var(--ice); }
.ctv-tabs { align-self: flex-start; }
.ctv-tabs button { padding: 0 18px; }

/* ---------- splash (Phone-Splash) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: #FFC21A; color: #1C2125; transition: opacity 260ms var(--curl);
}
.splash.is-leaving { opacity: 0; }
.splash__inner { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.splash__mark { overflow: visible; display: block; }
.splash__ring { stroke-dasharray: 132; stroke-dashoffset: 0; animation: ring-in 700ms var(--curl) both; }
.splash__stone { animation: stone-in 620ms var(--curl) 480ms both; }
.splash__words { display: flex; flex-direction: column; align-items: center; gap: 10px; animation: words-in 420ms var(--curl) 900ms both; }
.splash__name { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 34px; letter-spacing: 0.01em; line-height: 1; white-space: nowrap; }
.splash__tag { margin: 0; font-size: 16px; }
.splash__noscript { position: absolute; bottom: 40px; left: 16px; right: 16px; text-align: center; }
@keyframes ring-in { from { stroke-dashoffset: 132; } to { stroke-dashoffset: 0; } }
@keyframes stone-in { from { transform: translate(-26px, 34px) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes words-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- shell: sidebar on wide screens, top bar + tab bar on phones ---------- */
.shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar {
  grid-column: 1; grid-row: 1 / span 3; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto;
  padding: 28px 16px 20px; background: var(--frost); box-shadow: 1px 0 0 var(--line);
  display: flex; flex-direction: column; gap: 22px; z-index: 5;
}
.sidebar__brand { align-self: flex-start; padding: 2px 6px; border-radius: var(--radius-sheet); text-decoration: none; }
.sidebar__nav { display: flex; flex-direction: column; gap: 2px; }
.side-link {
  display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-radius: var(--radius-stone);
  text-decoration: none; font-size: 16px; font-weight: 700; color: var(--granite);
  transition: background-color var(--nudge) var(--curl);
}
.side-link:hover { background: var(--ice-sunk); color: var(--granite); }
.side-link[aria-current="page"] { background: var(--granite); color: var(--ice); }
.side-link svg { flex: none; }
.side-link__count { margin-left: auto; display: inline-flex; }
.sidebar__events { display: flex; flex-direction: column; gap: 4px; }
.sidebar__label { padding: 0 14px 4px; font-size: 11px; }
.side-event { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; border-radius: var(--radius-sheet); text-decoration: none; color: var(--granite); }
.side-event:hover { background: var(--ice); color: var(--granite); }
.side-event__name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.side-event__meta { font-size: 13px; color: var(--granite-muted); }
.sidebar__account {
  margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--radius-stone);
  text-decoration: none; color: var(--granite); min-width: 0;
}
.sidebar__account:hover { background: var(--ice-sunk); color: var(--granite); }
.sidebar__account[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--granite); }
.sidebar__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sidebar__name { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar__email { font-size: 12px; color: var(--granite-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--ice-sunk); color: var(--granite);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; text-decoration: none;
}
.avatar--btn:hover, .avatar--btn[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--granite); color: var(--granite); }
.avatar--l { width: 56px; height: 56px; font-size: 22px; }

.content { grid-column: 2; min-width: 0; padding: 28px 32px 56px; container: content / inline-size; outline: none; }
.topbar, .tabbar { display: none; }

/* Watch and Multiview fill the window. */
.shell[data-mode="immersive"] { display: block; }
.shell[data-mode="immersive"] .sidebar, .shell[data-mode="immersive"] .topbar, .shell[data-mode="immersive"] .tabbar { display: none; }
.shell[data-mode="immersive"] .content { padding: 0; }

@media (max-width: 899px) {
  .shell { display: block; }
  .sidebar { display: none; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: max(12px, env(safe-area-inset-top)) 16px 4px;
  }
  .topbar__brand { text-decoration: none; border-radius: var(--radius-sheet); }
  .topbar__actions { display: flex; align-items: center; gap: 6px; }
  .icon-btn {
    width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--granite);
  }
  .icon-btn:hover, .icon-btn[aria-current="page"] { background: var(--ice-sunk); color: var(--granite); }
  .content { padding: 12px 16px calc(var(--tabbar-h) + 28px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    min-height: var(--tabbar-h); padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--frost) 96%, transparent); box-shadow: 0 -1px 0 var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .tab {
    display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0;
    text-decoration: none; font-size: 11px; font-weight: 700; color: var(--granite-subtle);
  }
  .tab:hover { color: var(--granite); }
  .tab__pill { width: 52px; height: 30px; border-radius: var(--radius-stone); display: flex; align-items: center; justify-content: center; }
  .tab[aria-current="page"] { color: var(--granite); }
  .tab[aria-current="page"] .tab__pill { background: var(--handle); color: var(--on-handle); }
  .tab__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ---------- pages and sections ---------- */
.page { display: flex; flex-direction: column; gap: 24px; max-width: 1240px; min-width: 0; }
.page-title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 36px; line-height: 1.05; outline: none; overflow-wrap: anywhere; }
.section { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.section-head {
  margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 750; font-size: 22px; line-height: 1.2; outline: none;
}
.section-head__aside { font-family: var(--font-text); font-stretch: 100%; font-weight: 400; font-size: 16px; color: var(--granite-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.section-head--page { justify-content: flex-start; flex-wrap: wrap; gap: 6px 14px; font-stretch: 125%; font-weight: 800; font-size: 36px; line-height: 1.05; }
.section-head--page .section-head__aside { font-size: 14px; white-space: normal; }
.section-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-row .section-head { flex: 1 1 auto; }
.section__more { margin: 0; font-size: 14px; }
.section__empty { margin: 0; }
.crumb { margin: 0; }
.crumb a { display: inline-flex; align-items: center; gap: 4px; color: var(--granite); font-weight: 700; font-size: 15px; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.empty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 24px;
  border-radius: var(--radius-sheet); background: var(--frost); box-shadow: var(--shadow-hairline); color: var(--granite-muted);
}
.empty p { margin: 0; color: var(--granite); }
.loading { display: flex; align-items: center; gap: 10px; padding: 24px 0; color: var(--granite-muted); }
.loading__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--handle); box-shadow: inset 0 0 0 1.5px var(--granite-stone); }
.callout {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sheet);
  background: var(--frost); box-shadow: inset 4px 0 0 var(--twelve), var(--shadow-hairline);
}
.callout p { margin: 0; }
.callout--error { box-shadow: inset 4px 0 0 var(--danger), var(--shadow-hairline); }
.callout--error p { color: var(--granite); font-weight: 700; }
.callout--ok { box-shadow: inset 4px 0 0 var(--ok), var(--shadow-hairline); }

/* ---------- teams, stones, hammer ---------- */
.ctv-stone { display: inline-block; }
.stone--unknown { background: var(--ice-sunk); }
.stone--s { width: 10px; height: 10px; box-shadow: inset 0 0 0 1.5px var(--granite-stone); }
.team { display: flex; align-items: center; gap: 7px; min-width: 0; }
.team__name {
  flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--font-display); font-stretch: 112%; font-weight: 750; line-height: 1.1; color: var(--granite);
}
.team__score {
  font-family: var(--font-display); font-stretch: 100%; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
  min-width: 1.1em; text-align: right; color: var(--granite);
}
.team.is-trailing .team__name, .team.is-trailing .team__score { color: var(--granite-muted); }
.hammer { flex: none; color: var(--granite-muted); }
.team--hero { gap: 12px; }
.team--hero .ctv-stone { width: 18px; height: 18px; box-shadow: inset 0 0 0 2.2px var(--granite-stone); }
.team--hero .team__name { font-size: 34px; }
.team--hero .team__score { font-size: 44px; }
.team--hero .hammer { width: 31px; height: 31px; }
.team--card .ctv-stone, .team--side .ctv-stone, .team--mv .ctv-stone { width: 11px; height: 11px; box-shadow: inset 0 0 0 1.5px var(--granite-stone); }
.team--card .team__name { font-size: 16px; }
.team--card .team__score { font-size: 20px; }
.team--card .hammer, .team--side .hammer { width: 16px; height: 16px; }
.team--side .team__name { font-size: 15px; }
.team--side .team__score { font-size: 18px; }
.team--small { gap: 6px; }
.team--small .ctv-stone { width: 10px; height: 10px; box-shadow: inset 0 0 0 1.5px var(--granite-stone); }
.team--small .team__name { font-size: 14px; }
.team--small .team__score { font-size: 16px; }
.team--small .hammer { width: 14px; height: 14px; }
.team--mv .team__name { font-size: 15px; color: #F1F4F3; }
.team--mv .team__score { font-size: 18px; color: #F1F4F3; }
.team--mv.is-trailing .team__name, .team--mv.is-trailing .team__score, .team--mv .hammer { color: #AEB7BC; }
.team--mv .hammer { width: 14px; height: 14px; }

.matchup { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.matchup .ctv-stone { flex: none; }
.matchup__name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.matchup__v { color: var(--granite-subtle); font-weight: 400; flex: none; }

/* ---------- pictures and covers ---------- */
.house-pic, .pic { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover { display: block; flex: none; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #101316; }
.cover img, .cover svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover--list { width: 80px; }
.cover--phone { width: 64px; }
.cover--fill { width: 100%; height: 100%; border-radius: 0; }
.cover--missing { background: var(--ice-sunk); }
.thumb { display: block; flex: none; width: 96px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: #E9EFEE; }

/* ---------- Home: featured game ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden;
  border-radius: var(--radius-sheet); background: var(--frost); box-shadow: var(--shadow-hairline);
}
.hero__pic { position: relative; display: block; min-height: 300px; background: #E9EFEE; overflow: hidden; }
.hero__pic > .pic, .hero__pic > .house-pic { position: absolute; inset: 0; }
.hero__badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.hero__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; min-width: 0; }
.hero__teams { display: flex; flex-direction: column; gap: 12px; }
.hero__meta { margin: 0; font-size: 15px; color: var(--granite-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.hero__watch-short { display: none; }
.hero__empty-title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 30px; line-height: 1.1; }

.rail--live { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.live-card {
  display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px; border-radius: var(--radius-sheet);
  background: var(--frost); box-shadow: var(--shadow-hairline); color: var(--granite); text-decoration: none;
  transition: box-shadow var(--nudge) var(--curl);
}
.live-card:hover { color: var(--granite); box-shadow: 0 0 0 1px var(--line-strong); }
.live-card__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; }
.live-card__meta .label { font-size: 11px; }
.live-card__end { font-size: 12px; color: var(--granite-muted); white-space: nowrap; }
.live-card.is-current { background: var(--handle-wash); box-shadow: inset 0 0 0 2px var(--granite); }
.whip-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-width: 0; padding: 12px;
  border-radius: var(--radius-sheet); background: var(--handle); color: var(--on-handle); text-decoration: none;
}
.whip-card:hover { color: var(--on-handle); box-shadow: var(--shadow-lift); }
.whip-card .label { font-size: 11px; color: var(--on-handle); }
.whip-card__title { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 22px; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.whip-card__sub { font-size: 12px; }
.whip-card--side { gap: 4px; padding: 12px 14px; justify-content: flex-start; }
.whip-card--side .whip-card__title { font-size: 20px; }
.rail--whip { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }

.home-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }

/* ---------- lists and rows ---------- */
.list { display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius-sheet); background: var(--frost); box-shadow: var(--shadow-hairline); }
.row { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--granite); text-decoration: none; }
.row + .row { border-top: 1px solid var(--line); }
a.row:hover { background: color-mix(in srgb, var(--ice-sunk) 55%, transparent); color: var(--granite); }
.row__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.row__main--teams { gap: 4px; }
.row__title { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row__meta { font-size: 13px; color: var(--granite-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__side { flex: none; font-size: 13px; color: var(--granite-muted); white-space: nowrap; }
.row__side--live { color: var(--hog); font-weight: 700; }
.row__score { flex: none; font-family: var(--font-display); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.row__badge { flex: none; }
.row__icon { flex: none; display: inline-flex; color: var(--granite); }
.row--upcoming { min-height: 62px; padding: 8px 4px 8px 10px; }
.row--replay { min-height: 56px; padding: 0 14px; }
.row--replay .row__meta { flex: none; max-width: 45%; }
.row--media { padding: 10px 14px; }
.row--sched { padding: 10px 14px; }
.row--episode { padding: 12px 14px; gap: 14px; }
.row--episode .row__meta { font-size: 12px; }
.bell {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--granite);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color var(--nudge) var(--curl);
}
.bell:hover { background: var(--ice-sunk); }
.bell.is-on { background: var(--handle); color: var(--on-handle); }
.bell--s { width: 38px; height: 38px; }
.sheet-box {
  flex: none; width: 28px; height: 28px; border-radius: var(--radius-sheet); background: var(--ice-sunk);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 14px;
}

/* ---------- tiles (Live, Search) ---------- */
.grid--tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.tile {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--radius-sheet);
  background: var(--frost); box-shadow: var(--shadow-hairline); color: var(--granite); text-decoration: none;
}
.tile:hover { color: var(--granite); box-shadow: 0 0 0 1px var(--line-strong); }
.tile__pic { position: relative; display: block; aspect-ratio: 16 / 9; background: #E9EFEE; overflow: hidden; }
.tile__pic > .pic, .tile__pic > .house-pic, .tile__pic > .cover { position: absolute; inset: 0; }
.tile__badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.tile__body { display: flex; flex-direction: column; gap: 8px; padding: 12px; min-width: 0; }
.tile__meta { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.tile__end { font-size: 12px; color: var(--granite-muted); white-space: nowrap; }
.tile__title { font-weight: 700; }
.tile__foot { font-size: 13px; color: var(--granite-muted); }

.chips { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; padding: 3px; margin: -3px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--radius-stone);
  background: var(--frost); color: var(--granite-muted); box-shadow: var(--shadow-hairline);
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.chip:hover { color: var(--granite); box-shadow: 0 0 0 1px var(--line-strong); }
.chip[aria-current="page"] { background: var(--granite); color: var(--ice); box-shadow: none; }
.chips--switch .chip { color: var(--granite); }
.chips--switch .chip[aria-current="page"] { color: var(--ice); }

/* ---------- search ---------- */
.search { max-width: 560px; }
.search__field { position: relative; }
.search__field input { width: 100%; padding-left: 46px; border-radius: var(--radius-stone); }
.search__icon { position: absolute; left: 16px; top: 14px; color: var(--granite-muted); pointer-events: none; }
.ctv-field input { width: 100%; }

/* ---------- schedule ---------- */
.sched-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sched-head__title { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sched-head__dates { font-size: 14px; color: var(--granite-muted); }
.sched-head__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 0; max-width: 100%; }
.event-select select {
  height: 36px; max-width: 280px; padding: 0 12px; border-radius: var(--radius-stone); border: 1.5px solid var(--line-strong);
  background: var(--frost); color: var(--granite); font: 700 14px var(--font-text); cursor: pointer;
}
.sched-grid { display: flex; flex-direction: column; gap: 14px; overflow-x: auto; padding: 2px; margin: -2px; }
.sched-grid__row { display: grid; grid-template-columns: 104px repeat(var(--sheets), minmax(150px, 1fr)); gap: 10px; }
.sched-grid__row--head { margin-bottom: -6px; }
.sched-grid__row--head .label { font-size: 11px; }
.sched-draw { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 4px; }
.sched-draw__time { font-family: var(--font-display); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sched-draw .ctv-badge, .sched-block .ctv-badge { height: 20px; padding: 0 8px; font-size: 10px; gap: 5px; }
.sched-draw .ctv-badge--live::before, .sched-block .ctv-badge--live::before { width: 6px; height: 6px; }
.sched-cell-wrap { min-width: 0; display: flex; }
.cell {
  width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; text-align: left;
  border: 0; border-radius: var(--radius-sheet); background: var(--frost); box-shadow: var(--shadow-hairline);
  color: var(--granite); text-decoration: none; font: inherit; cursor: pointer;
}
a.cell:hover { color: var(--granite); box-shadow: 0 0 0 1px var(--line-strong); }
div.cell { cursor: default; }
.cell--live { box-shadow: inset 0 0 0 2px var(--hog); }
a.cell--live:hover { box-shadow: inset 0 0 0 3px var(--hog); }
.cell--up { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
button.cell--up:hover { box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.cell--up.is-on { background: var(--handle-wash); box-shadow: inset 0 0 0 1.5px var(--granite); }
.cell__foot { font-size: 12px; color: var(--granite-muted); }
.cell__foot--live { color: var(--hog); font-weight: 700; }
.cell__foot--live::before, .row__side--live::before {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--hog); vertical-align: 1px;
}
/* On Night grounds hog text is under 4.5:1, so the words go granite and the on-air dot keeps the colour. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cell__foot--live, :root:not([data-theme="light"]) .row__side--live { color: var(--granite); } }
:root[data-theme="dark"] .cell__foot--live, :root[data-theme="dark"] .row__side--live { color: var(--granite); }
.cell--up.is-on .cell__foot { color: var(--granite); font-weight: 700; }
.sched-stack { display: flex; flex-direction: column; gap: 16px; }
.sched-block { display: flex; flex-direction: column; gap: 8px; }
.sched-block__head { display: flex; align-items: center; gap: 10px; }
.sched-block__badge { margin-left: auto; display: inline-flex; }
.sched-foot { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--granite-muted); }
@container content (max-width: 719px) { .sched-grid { display: none; } }
@container content (min-width: 720px) { .sched-stack { display: none; } }

/* ---------- player (always Night) ---------- */
.player {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 78vh; overflow: hidden; outline: none;
  background: #101316; color: #F1F4F3;
}
.player:fullscreen { aspect-ratio: auto; max-height: none; height: 100%; }
.player__video, .player__break { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__break { z-index: 2; }
.player__frame { position: absolute; inset: 0; z-index: 3; background: #000; }
.player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player__frame > .cover { position: absolute; inset: 0; }
.player[data-state="cover"] .player__badges { display: none; }
.player__top { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 6; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.player__top > * { pointer-events: auto; }
.player__badges { display: flex; gap: 8px; }
.player__back {
  width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(16, 19, 22, 0.78); color: #F1F4F3;
  display: inline-flex; align-items: center; justify-content: center;
}
.player__back:hover { background: #22272C; color: #F1F4F3; }
.player__pill { background: rgba(16, 19, 22, 0.8); color: #F1F4F3; letter-spacing: 0; text-transform: none; font-weight: 700; }
.player[data-state="youtube"] .player__top { left: auto; right: 16px; top: auto; bottom: 64px; }
.player[data-state="youtube"] .player__badges { display: none; }
.player__msg {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 64px 24px 24px; text-align: center; background: rgba(16, 19, 22, 0.82);
}
.player[data-state="loading"] .player__msg, .player[data-state="blocked"] .player__msg { background: rgba(16, 19, 22, 0.35); }
.player__msg p { margin: 0; max-width: 48ch; color: #AEB7BC; }
.player__msg .player__msg-title { color: #F1F4F3; font-family: var(--font-display); font-stretch: 112%; font-weight: 750; font-size: 22px; line-height: 1.2; }
.player__msg .ctv-btn--secondary { color: #F1F4F3; box-shadow: inset 0 0 0 2px #6B7781; }
.player__spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(241, 244, 243, 0.22); border-top-color: #FFC21A; }
.player__bigplay {
  width: 76px; height: 76px; border: 0; border-radius: 50%; background: #FFC21A; color: #1C2125; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.player__bigplay:focus-visible { outline: 3px solid #FFC21A; outline-offset: 4px; }
.player__controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: rgba(16, 19, 22, 0.78); transition: opacity var(--nudge) var(--curl);
}
.player:not([data-state="playing"]) .player__controls, .player.in-break .player__controls { display: none; }
.player.is-idle .player__controls, .player.is-idle .player__top { opacity: 0; }
.player :focus-visible { outline-color: #FFC21A; }
.pc-btn {
  flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #F1F4F3; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.pc-btn:hover { background: rgba(241, 244, 243, 0.14); }
.pc-progress { flex: 1; min-width: 40px; height: 24px; display: flex; align-items: center; }
.pc-live-bar { width: 100%; height: 4px; border-radius: 2px; background: #2C3339; }
.pc-live-bar span { display: block; width: 100%; height: 100%; border-radius: 2px; background: #FFC21A; }
.player:not(.is-live) .pc-live-bar { display: none; }
.pc-range, .mini__seek {
  -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer;
  --pct: 0%;
}
.pc-range::-webkit-slider-runnable-track, .mini__seek::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px; background: linear-gradient(90deg, #FFC21A var(--pct), #2C3339 var(--pct));
}
.pc-range::-moz-range-track, .mini__seek::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #FFC21A var(--pct), #2C3339 var(--pct)); }
.pc-range::-webkit-slider-thumb, .mini__seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #FFC21A; border: 0;
}
.pc-range::-moz-range-thumb, .mini__seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #FFC21A; border: 0; }
.pc-time { flex: none; font: 700 13px var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player.is-live .pc-time { font-family: var(--font-text); }
.player__adbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; }
.ctv-adbar { flex-wrap: nowrap; }
.ctv-adbar__spacer { flex: 1; }
.ctv-adbar__time { margin-left: 0; }
.adbar__more {
  flex: none; height: 32px; padding: 0 14px; border-radius: var(--radius-stone); border: 0; box-shadow: inset 0 0 0 1.5px rgba(241, 244, 243, 0.7);
  background: transparent; color: #F1F4F3; font: 700 13px var(--font-text); cursor: pointer;
}
.adbar__more:hover { background: rgba(241, 244, 243, 0.12); }

/* ---------- watch page ---------- */
.watch {
  display: grid; grid-template-columns: minmax(0, 1fr) 404px; grid-template-rows: auto auto 1fr;
  grid-template-areas: "player side" "info side" "score side"; min-height: 100vh; min-height: 100dvh;
}
.watch__player { grid-area: player; background: #101316; }
.watch__info { grid-area: info; display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 0; min-width: 0; }
.watch__score { grid-area: score; padding: 14px 24px 40px; min-width: 0; }
.watch__side { grid-area: side; display: flex; flex-direction: column; gap: 22px; padding: 20px; background: var(--ice-sunk); min-width: 0; }
.watch__title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.watch__titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.watch__title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 34px; line-height: 1.05; outline: none; overflow-wrap: anywhere; }
.watch__meta { margin: 0; font-size: 14px; color: var(--granite-muted); }
.watch__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.chips--switch { display: none; }
.side-sec { display: flex; flex-direction: column; gap: 12px; }
.side-sec__head { margin: 0; font-size: 11px; }
.side-sec .live-card { padding: 12px 14px; gap: 6px; }
.side-sec .row--upcoming { min-height: 56px; }

.linescore { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-sheet); background: var(--frost); box-shadow: var(--shadow-hairline); }
.linescore__caption { padding: 12px 16px 10px; }
.linescore .ctv-scoreboard { box-shadow: none; border-radius: 0; }
.ctv-scoreboard:focus-visible { outline-offset: -2px; }
.ctv-scoreboard td, .ctv-scoreboard th { padding: 10px 6px; }
.ctv-scoreboard thead th { padding: 10px 6px; }
.ctv-scoreboard .ctv-scoreboard__team { padding-left: 16px; padding-right: 10px; width: 1%; }
.ctv-scoreboard thead .ctv-scoreboard__total { padding: 10px; }
.ctv-scoreboard thead .ctv-scoreboard__team { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--granite-muted); }
.ctv-scoreboard .ctv-scoreboard__total { padding-right: 16px; }
.ctv-scoreboard__hammer { color: var(--granite-muted); }
.linescore__result { margin: 0; padding: 10px 16px; font-size: 14px; color: var(--granite-muted); border-top: 1px solid var(--line); }
.linescore--hidden { gap: 10px; padding: 14px 16px; align-items: flex-start; }
.linescore--hidden .label { padding: 0; }
.linescore--hidden p { margin: 0; }

@media (max-width: 899px) {
  .watch { display: flex; flex-direction: column; }
  .watch__player .player { max-height: none; }
  .watch__info { padding: 16px 16px 0; }
  .watch__score { padding: 14px 16px 0; }
  .watch__side { padding: 18px 16px 40px; background: transparent; }
  .watch__title { font-size: 28px; }
  .chips--switch { display: flex; }
  .side-sec--live { display: none; }
  .ctv-scoreboard td, .ctv-scoreboard th, .ctv-scoreboard thead th { padding: 9px 3px; font-size: 16px; min-width: 22px; }
  .ctv-scoreboard thead th { font-size: 11px; }
  .ctv-scoreboard .ctv-scoreboard__team { font-size: 14px; padding-left: 12px; padding-right: 6px; }
  .ctv-scoreboard .ctv-scoreboard__team span { gap: 6px; }
  .ctv-scoreboard .ctv-scoreboard__total { font-size: 22px; padding-left: 8px; padding-right: 12px; }
  .player__top { left: 10px; top: 10px; right: 10px; }
}

/* ---------- multiview (always Night) ---------- */
.mv { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; gap: 20px; padding: 20px 16px 16px; background: var(--ice); color: var(--granite); }
.mv__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mv__back { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--frost); color: var(--granite); display: inline-flex; align-items: center; justify-content: center; }
.mv__back:hover { background: var(--frost-raised); color: var(--granite); }
.mv__titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mv__title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 22px; line-height: 1.15; outline: none; }
.mv__sub { font-size: 13px; color: var(--granite-muted); }
.mv__actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.mv__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: calc((100vh - 170px) * 16 / 9 * 2 + 16px); margin: 0 auto; }
.mv__grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 1100px; }
.mv-tile { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sheet-tv); background: #101316; }
.mv-tile.is-sound { box-shadow: 0 0 0 3px var(--handle); }
.mv-tile__media { position: absolute; inset: 0; background: #E9EFEE; }
.mv-tile__media video, .mv-tile__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: transparent; }
.mv-tile__media::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 48%, #F4F7F6 0 6%, #1C2125 6% 14%, #F4F7F6 14% 27%, #FFC21A 27% 40%, #E9EFEE 40%);
}
.mv-tile__hit { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: var(--radius-sheet-tv); }
.mv-tile__hit:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.mv-tile__label {
  position: absolute; left: 12px; top: 12px; z-index: 3; pointer-events: none; display: inline-flex; align-items: center;
  height: 26px; padding: 0 12px; border-radius: var(--radius-stone); background: rgba(16, 19, 22, 0.85); color: #F1F4F3;
  font: 800 12px var(--font-text); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; max-width: calc(100% - 72px); overflow: hidden; text-overflow: ellipsis;
}
.mv-tile__sound {
  position: absolute; right: 12px; top: 12px; z-index: 3; pointer-events: none; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(16, 19, 22, 0.85); color: #F1F4F3; display: inline-flex; align-items: center; justify-content: center;
}
.mv-tile.is-sound .mv-tile__sound { background: var(--handle); color: var(--on-handle); }
.mv-tile__score {
  position: absolute; left: 12px; bottom: 12px; z-index: 3; pointer-events: none; width: 220px; max-width: calc(100% - 104px);
  display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: var(--radius-sheet); background: rgba(16, 19, 22, 0.88);
}
.mv-tile__open {
  position: absolute; right: 12px; bottom: 12px; z-index: 4; display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
  border-radius: var(--radius-stone); background: rgba(16, 19, 22, 0.85); color: #F1F4F3; font: 700 13px var(--font-text); text-decoration: none;
}
.mv-tile__open:hover { background: #22272C; color: #F1F4F3; }
.mv-tile__msg {
  position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); margin: 0; max-width: 80%; pointer-events: none;
  padding: 8px 12px; border-radius: var(--radius-sheet); background: rgba(16, 19, 22, 0.88); color: #F1F4F3; font-size: 13px; text-align: center;
}
.mv__ad { position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 16 / 9; max-height: 100%; z-index: 10; overflow: hidden; border-radius: var(--radius-sheet-tv); background: #000; display: flex; align-items: center; justify-content: center; }
.mv__ad video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.mv__ad .ctv-adbar { position: absolute; left: 0; right: 0; bottom: 0; }
.mv__ad .player__bigplay { position: relative; z-index: 2; }
.mv__hint { margin: 0; text-align: center; font-size: 13px; color: var(--granite-muted); }
.mv__empty { max-width: 640px; }
@media (max-width: 699px) {
  .mv__grid { grid-template-columns: minmax(0, 1fr); max-width: none; }
  .mv__actions { margin-left: 0; width: 100%; }
  .mv__hint { display: none; }
}

/* ---------- podcasts ---------- */
.shows { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 14px; }
.show { display: flex; flex-direction: column; gap: 8px; min-width: 0; color: var(--granite); text-decoration: none; }
.show:hover { color: var(--granite); }
.show:hover .pod-art { box-shadow: 0 0 0 2px var(--granite); }
.show__title { font-size: 14px; font-weight: 700; line-height: 1.25; }
.show__by { font-size: 12px; color: var(--granite-muted); }
.pod-art { position: relative; display: block; flex: none; overflow: hidden; border-radius: var(--radius-sheet); background: var(--pod-bg); box-shadow: var(--shadow-hairline); }
.pod-art--fill { width: 100%; aspect-ratio: 1; }
.pod-art--m { width: 56px; height: 56px; }
.pod-art--s { width: 48px; height: 48px; }
.pod-art--l { width: 160px; height: 160px; }
.pod-art__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.pod-art__name {
  position: absolute; left: 10px; right: 10px; bottom: 9px; color: var(--pod-ink); overflow-wrap: anywhere; text-transform: uppercase;
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 12px; line-height: 1.05;
}
.pod-art--l .pod-art__name { font-size: 16px; left: 14px; bottom: 12px; }
.pod-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--pod-bg); }
.ep-progress { display: block; height: 4px; margin-top: 6px; max-width: 660px; border-radius: 2px; background: var(--ice-sunk); overflow: hidden; }
.ep-progress span { display: block; height: 100%; background: var(--granite); }
.play-btn {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ice-sunk); color: var(--granite); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.play-btn:hover { box-shadow: inset 0 0 0 2px var(--line-strong); }
.play-btn.is-on { background: var(--handle); color: var(--on-handle); }
.pod-head { display: flex; gap: 24px; align-items: flex-start; }
.pod-head__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pod-head__by { margin: 0; font-weight: 700; }
.pod-head__desc { margin: 0; max-width: 70ch; color: var(--granite-muted); }
.pod-head__meta { margin: 0; font-size: 14px; color: var(--granite-muted); }

/* ---------- podcast mini player ---------- */
.mini-host { position: fixed; left: 248px; right: 0; bottom: 0; z-index: 30; }
.shell[data-mode="immersive"] ~ .mini-host, body:has(.shell[data-mode="immersive"]) .mini-host { left: 0; }
body.has-mini .content { padding-bottom: calc(56px + 84px); }
.mini { position: relative; background: #1C2125; color: #F4F7F6; box-shadow: 0 -1px 0 #2C3339; }
.mini__seek { position: absolute; left: 0; right: 0; top: -11px; z-index: 2; }
.mini__row { display: flex; align-items: center; gap: 16px; height: 84px; padding: 0 28px; }
.mini__art { display: inline-flex; flex: none; }
.mini.is-video .mini__art { display: none; }
.mini__picture { flex: none; width: 112px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-sheet); background: #000; }
.mini__video { display: block; width: 100%; height: 100%; object-fit: contain; }
.mini__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mini__over { font-size: 12px; color: #AEB7BC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__title { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__time { flex: none; font: 500 13px var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini__btn {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #F4F7F6; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.mini__btn:hover { background: #22272C; }
.mini__speed { flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: var(--radius-stone); background: #22272C; color: #F4F7F6; font: 700 13px var(--font-text); cursor: pointer; }
.mini__play { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #FFC21A; color: #1C2125; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mini :focus-visible { outline-color: #FFC21A; }
@media (max-width: 899px) {
  .mini-host { left: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  body:has(.shell[data-mode="immersive"]) .mini-host { bottom: 0; }
  .mini__row { height: 68px; gap: 8px; padding: 0 10px 0 12px; }
  .mini__time, .mini__skip { display: none; }
  .mini__picture { width: 80px; }
  body.has-mini .content { padding-bottom: calc(var(--tabbar-h) + 28px + 68px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) { .mini__speed { display: none; } .mini .pod-art--s { width: 40px; height: 40px; } }

/* ---------- account ---------- */
.page--account { max-width: 760px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 20px 24px; border-radius: var(--radius-sheet); background: var(--frost); box-shadow: var(--shadow-hairline); }
.card__title { margin: 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 750; font-size: 18px; }
.card__note { margin: 0; font-size: 13px; color: var(--granite-muted); }
.profile { flex-direction: row; align-items: center; gap: 16px; }
.profile__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.profile__name { font-family: var(--font-display); font-stretch: 112%; font-weight: 750; font-size: 22px; overflow-wrap: anywhere; }
.profile__email { color: var(--granite-muted); overflow-wrap: anywhere; }
.profile__badges { display: flex; gap: 6px; margin-top: 6px; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.setting + .setting { border-top: 1px solid var(--line); padding-top: 14px; }
.setting__text { display: flex; flex-direction: column; gap: 2px; flex: 1 1 240px; min-width: 0; }
.setting__name { font-weight: 700; }
.setting__hint { font-size: 13px; color: var(--granite-muted); }
.switch {
  position: relative; flex: none; width: 72px; height: 36px; padding: 0; border: 0; border-radius: var(--radius-stone); cursor: pointer;
  background: var(--ice-sunk); box-shadow: inset 0 0 0 2px var(--line-strong); color: var(--granite);
}
.switch__knob {
  position: absolute; left: 5px; top: 5px; width: 26px; height: 26px; border-radius: 50%; background: var(--granite);
  transition: transform var(--nudge) var(--curl);
}
.switch__text { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.switch[aria-checked="true"] { background: var(--granite); box-shadow: none; color: var(--ice); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(36px); background: var(--ice); }
.switch[aria-checked="true"] .switch__text { right: auto; left: 12px; }
.account__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.account__foot p { margin: 0; }

/* ---------- sign in a TV ---------- */
.page--linktv { max-width: 480px; gap: 22px; }
.tv-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tv-figure__screen {
  width: 260px; max-width: 100%; height: 150px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px;
  border-radius: var(--radius-sheet-tv); border: 4px solid #22272C; background: #101316; color: #F1F4F3;
}
.tv-figure__brand { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 9px; }
.tv-figure__line { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 15px; }
.tv-figure__code { display: flex; gap: 4px; }
.tv-figure__code span { width: 22px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: #22272C; font: 700 15px var(--font-mono); }
.tv-figure figcaption { font-size: 13px; color: var(--granite-muted); }
.tv-form { display: flex; flex-direction: column; gap: 16px; }
.tv-form__label { font-size: 15px; font-weight: 700; }
.code-entry { position: relative; width: fit-content; max-width: 100%; }
.code-entry__boxes { display: flex; align-items: center; gap: 8px; pointer-events: none; border-radius: var(--radius-sheet); }
.code-entry__box {
  width: clamp(36px, 11vw, 46px); height: 60px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sheet);
  background: var(--frost); box-shadow: var(--shadow-hairline), inset 0 0 0 1.5px var(--line-strong); font: 700 30px var(--font-mono); color: var(--granite);
}
.code-entry__box.is-active { box-shadow: inset 0 0 0 2px var(--granite); }
.code-entry__dash { width: 12px; height: 3px; flex: none; border-radius: 2px; background: var(--line-strong); }
.code-entry__input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; font-size: 16px; cursor: text; caret-color: transparent; }
.code-entry:focus-within .code-entry__boxes { outline: 2px solid var(--focus); outline-offset: 4px; }
.tv-form__error { margin: 0; color: var(--danger); font-weight: 700; }
.tv-form__note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--granite-muted); }
.tv-done { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- sign in / create account ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--ice); }
.auth__art { position: relative; overflow: hidden; min-height: 100vh; background: #FFC21A; color: #1C2125; --mark-ring: #1C2125; --mark-rim: #1C2125; --mark-stone: #F4F7F6; }
.auth__art .lockup__word { color: #1C2125; }
.auth__rings { position: absolute; display: block; max-width: none; }
.auth__rings--wide { width: 900px; height: 900px; left: 50%; top: -430px; }
.auth__rings--narrow { display: none; width: 400px; height: 400px; }
.auth__brand { position: absolute; left: 40px; top: 36px; }
.auth__hero { position: absolute; left: 40px; right: 40px; bottom: 44px; display: flex; flex-direction: column; gap: 12px; }
.auth__slogan { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(44px, 5.4vw, 64px); line-height: 0.98; }
.auth__lead { margin: 0; font-size: 17px; }
.auth__panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px 84px; outline: none; }
.auth__form-wrap { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 18px; }
.auth__head { display: flex; flex-direction: column; gap: 4px; }
.auth__title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 40px; line-height: 1.05; }
.auth__sub { margin: 0; font-size: 15px; color: var(--granite-muted); }
.auth__form { display: flex; flex-direction: column; gap: 18px; }
.auth__error { margin: 0; color: var(--danger); font-weight: 700; font-size: 14px; }
.auth__note { margin: 0; text-align: center; font-size: 13px; line-height: 1.45; color: var(--granite-muted); }
.auth__server { position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-size: 13px; color: var(--granite-subtle); }
.auth__dot { width: 7px; height: 7px; border-radius: 50%; }
.auth__dot.is-ok { background: var(--ok); }
.auth__dot.is-down { background: var(--danger); }
@media (max-width: 799px) {
  .auth { display: block; }
  .auth__art { min-height: 0; height: 300px; background: var(--ice-sunk); --mark-ring: #1C2125; --mark-rim: #1C2125; --mark-stone: #FFC21A; }
  :root[data-theme="dark"] .auth__art .lockup__word { color: var(--granite); }
  .auth__rings--wide, .auth__hero { display: none; }
  .auth__rings--narrow { display: block; left: max(210px, calc(100% - 180px)); top: -90px; }
  .auth__brand { left: 20px; top: max(60px, env(safe-area-inset-top)); }
  .auth__brand .lockup { gap: 10px; }
  .auth__brand .lockup__word { font-size: 16px; }
  .auth__brand .lockup svg { width: 34px; height: 34px; }
  .auth__panel { margin-top: -40px; min-height: calc(100vh - 260px); justify-content: flex-start; padding: 26px 20px 24px; border-radius: 16px 16px 0 0; background: var(--ice); }
  .auth__form-wrap { gap: 16px; max-width: 480px; }
  .auth__title { font-size: 32px; }
  .auth__server { position: static; margin-top: 12px; }
}
@media (max-width: 799px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .auth__art .lockup__word { color: var(--granite); } }
@media (max-width: 799px) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .auth__art { --mark-ring: #F4F7F6; --mark-rim: #FFC21A; } }
@media (max-width: 799px) { :root[data-theme="dark"] .auth__art { --mark-ring: #F4F7F6; --mark-rim: #FFC21A; } }

.pending { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.pending__card { width: 100%; max-width: 500px; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius-sheet); background: var(--frost); box-shadow: var(--shadow-hairline); }
.pending__card p { margin: 0; }
.pending__title { margin: 8px 0 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 32px; line-height: 1.05; outline: none; }
.pending__status { font-size: 14px; color: var(--granite-muted); }
.pending__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 400; max-width: min(560px, calc(100vw - 32px)); padding: 12px 16px;
  border-radius: var(--radius-sheet); background: var(--granite); color: var(--ice); font-size: 14px; font-weight: 700; line-height: 1.4;
  box-shadow: var(--shadow-lift); opacity: 0; pointer-events: none; transform: translate(-50%, 16px);
  transition: opacity var(--nudge) var(--curl), transform var(--glide) var(--curl);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { box-shadow: inset 4px 0 0 var(--danger), var(--shadow-lift); padding-left: 20px; }
body.has-mini .toast { bottom: 108px; }
@media (max-width: 899px) {
  .toast { bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); }
  body.has-mini .toast { bottom: calc(var(--tabbar-h) + 84px + env(safe-area-inset-bottom)); }
}

/* ---------- narrow content (phones, or a narrow window beside the sidebar) ---------- */
@container content (max-width: 760px) {
  .home-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rail--live { display: flex; overflow-x: auto; scroll-snap-type: x proximity; gap: 10px; margin-right: -16px; padding: 2px 16px 2px 2px; margin-left: -2px; scrollbar-width: none; }
  .rail--live::-webkit-scrollbar { display: none; }
  .rail--live > * { flex: 0 0 148px; scroll-snap-align: start; }
  .rail--live > .whip-card { flex-basis: 160px; }
  .rail--live .hammer { display: none; } /* 148px cards: the name matters more; the hammer is on the watch page */
}
@container content (max-width: 640px) {
  .page { gap: 20px; }
  .page-title, .section-head--page { font-size: 30px; }
  .section-head { font-size: 18px; }
  .section-head__aside { font-size: 13px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__pic { min-height: 0; height: 168px; }
  .hero__badges { left: 12px; top: 12px; }
  .hero__body { padding: 14px 16px 16px; gap: 8px; }
  .hero__teams { gap: 10px; }
  .team--hero { gap: 10px; }
  .team--hero .ctv-stone { width: 16px; height: 16px; }
  .team--hero .team__name { font-size: 26px; }
  .team--hero .team__score { font-size: 32px; }
  .team--hero .hammer { width: 23px; height: 23px; }
  .hero__meta { font-size: 13px; }
  .hero__actions .ctv-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .hero__watch-long { display: none; }
  .hero__watch-short { display: inline; }
  .cover--list { width: 64px; }
  .row--upcoming { min-height: 56px; }
  .thumb { width: 64px; }
  .row--replay .row__meta { max-width: 40%; }
  .row__badge { display: none; }
  .row--episode { gap: 12px; padding: 12px; }
  .row--episode .row__side { display: none; }
  .pod-head { flex-direction: column; gap: 14px; }
  .pod-art--l { width: 120px; height: 120px; }
  .shows { grid-template-columns: repeat(auto-fill, minmax(min(140px, 44%), 1fr)); }
  .card { padding: 16px; }
  .sched-head__side { align-items: stretch; width: 100%; }
  .event-select select { max-width: 100%; width: 100%; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .splash__ring, .splash__stone, .splash__words { animation: none; }
}

/* ======================= Landing page (signed out, at /) ======================= */
.land { background: var(--ice); color: var(--granite); min-height: 100vh; overflow-x: clip; }
.land-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.land-btn--s { min-height: 40px; padding: 0 18px; font-size: 15px; }
.land-btn--l { min-height: 56px; padding: 0 28px; font-size: 18px; }
.land-btn--l svg { width: 20px; height: 20px; }
.theme-night .ctv-btn--secondary { color: var(--granite); }

/* header */
.land-top { color: var(--granite); position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ice) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.land-top__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.land-top__brand { display: inline-flex; text-decoration: none; }
.land-top__nav { display: flex; gap: 22px; margin-left: 12px; }
.land-top__nav a { color: var(--granite-muted); font-weight: 700; font-size: 15px; text-decoration: none; }
.land-top__nav a:hover { color: var(--granite); }
.land-top__actions { margin-left: auto; display: flex; gap: 10px; }

/* hero */
.land-hero { position: relative; background: var(--ice); color: var(--granite); overflow: hidden; }
.land-hero__house { position: absolute; width: min(860px, 72vw); right: calc(-1 * min(260px, 20vw)); top: 50%; transform: translateY(-50%); }
.land-hero__in { position: relative; min-height: min(760px, calc(100vh - 68px)); display: flex; align-items: center; padding-top: 44px; padding-bottom: 56px; box-sizing: border-box; }
.land-hero__text { max-width: 620px; display: flex; flex-direction: column; gap: 20px; }
.land-hero__kicker { color: var(--handle); font-size: 13px; }
.land-hero__title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(44px, min(6.5vw, 10vh), 100px); line-height: 0.93; letter-spacing: -0.01em; }
.land-hero__lead { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--granite-muted); max-width: 34em; }
.land-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.land-liveline { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: var(--radius-stone); background: var(--frost); color: var(--granite); text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: var(--shadow-hairline); }
.land-liveline:hover { color: var(--granite); box-shadow: inset 0 0 0 2px var(--line-strong); }
.land-liveline__arrow { transform: rotate(-90deg); color: var(--granite-muted); }

/* sections */
.land-sec { padding: 80px 0; }
.land-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.land-sec__aside { margin: 0; color: var(--granite-muted); font-size: 16px; }
.land-h2 { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; }
.land-h3 { margin: 36px 0 16px; font-family: var(--font-display); font-stretch: 112%; font-weight: 750; font-size: 22px; }

/* on now */
.land-now { background: var(--ice); padding-top: 64px; }
.land-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.land-game { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius-sheet); background: var(--frost); box-shadow: var(--shadow-hairline); color: var(--granite); text-decoration: none; transition: box-shadow var(--nudge) var(--curl), transform var(--nudge) var(--curl); }
.land-game:hover { color: var(--granite); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.land-game__meta { display: flex; align-items: center; gap: 10px; }
.land-game__end { margin-left: auto; color: var(--granite-muted); font-size: 14px; }
.land-game .team--card .team__name { font-size: 19px; }
.land-game .team--card .team__score { font-size: 24px; }
.land-game__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--granite-muted); font-size: 13px; margin-top: auto; }
.land-game__foot > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.land-game__cta { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 6px 12px; border-radius: var(--radius-stone); background: var(--handle); color: var(--on-handle); font-weight: 700; font-size: 13px; }
.land-game--whip { background: var(--handle); color: var(--on-handle); justify-content: space-between; }
.land-game--whip:hover { color: var(--on-handle); }
.land-game--whip .label { color: var(--on-handle); }
.land-game__whip { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; }
.land-game--whip .land-game__cta { align-self: flex-start; background: var(--on-handle); color: var(--handle); }
.land-nexts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.land-next { display: flex; flex-direction: column; border-radius: var(--radius-sheet); overflow: hidden; background: var(--frost); box-shadow: var(--shadow-hairline); }
.land-next > .cover { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.land-next__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; min-width: 0; }
.land-next__event { color: var(--granite-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* features */
.land-feats { background: var(--ice-sunk); }
.land-feat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.land-feat { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-sheet); background: var(--frost); box-shadow: var(--shadow-hairline); }
.land-feat--wide { grid-column: span 3; }
.land-feat p { margin: 0; color: var(--granite-muted); font-size: 16px; line-height: 1.5; }
.land-feat__title { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-stretch: 112%; font-weight: 750; font-size: 22px; line-height: 1.15; }
.land-feat__art { display: flex; align-items: center; justify-content: center; min-height: 170px; margin-bottom: 8px; border-radius: var(--radius-sheet); background: var(--ice); padding: 18px; }
.land-feat__art--houses svg { width: 100%; max-width: 360px; height: auto; }
.land-feat__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--handle); color: var(--on-handle); margin-bottom: 6px; }
.land-feat__icon--red { background: var(--stone-red); color: #fff; }
.land-feat__icon--gold { background: var(--gold); color: var(--on-gold); }
.land-score { border-collapse: collapse; font-family: var(--font-display); font-stretch: 100%; font-variant-numeric: tabular-nums; background: var(--frost); border-radius: var(--radius-sheet); box-shadow: var(--shadow-hairline); overflow: hidden; width: 100%; max-width: 420px; }
.land-score th, .land-score td { padding: 9px 6px; text-align: center; font-size: 17px; font-weight: 800; }
.land-score thead th { font: 700 11px var(--font-text); letter-spacing: .08em; color: var(--granite-muted); background: var(--ice-sunk); }
.land-score tbody th { text-align: left; padding-left: 14px; font: 700 15px var(--font-text); white-space: nowrap; }
.land-score tbody th .ctv-stone { display: inline-block; width: 11px; height: 11px; margin-right: 7px; vertical-align: -1px; box-shadow: inset 0 0 0 1.5px var(--granite-stone); }
.land-score tbody th .hammer { color: var(--granite-muted); vertical-align: -2px; margin-left: 4px; }
.land-score tbody tr + tr > * { border-top: 1px solid var(--line); }
.land-score .is-now { background: var(--handle-wash); }
.land-score .is-zero { color: var(--granite-subtle); font-weight: 500; }
.land-score__t { border-left: 1px solid var(--line); font-size: 22px !important; padding: 0 14px !important; }

/* everywhere */
.land-every { background: var(--ice); color: var(--granite); }
.land-every__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.land-every__text { display: flex; flex-direction: column; gap: 18px; }
.land-every__text p { margin: 0; color: var(--granite-muted); font-size: 18px; line-height: 1.55; }
.land-devices { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; }
.land-devices li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius-stone); background: var(--frost); font-weight: 700; }
.land-tv { margin: 0; display: flex; flex-direction: column; align-items: center; }
.land-tv__screen { width: 100%; max-width: 520px; aspect-ratio: 16 / 9; box-sizing: border-box; padding: 7% 8%; border-radius: 10px; background: #101316; border: 8px solid #22272C; display: flex; flex-direction: column; justify-content: center; gap: 14px; color: #F1F4F3; box-shadow: var(--shadow-lift); }
.land-tv__screen .lockup__word { color: #F1F4F3; }
.land-tv__title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); }
.land-tv__code { margin: 0; display: flex; gap: 8px; }
.land-tv__code span { width: clamp(30px, 3.6vw, 46px); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: #22272C; font: 700 clamp(18px, 2.4vw, 28px) var(--font-mono); }
.land-tv__code span:nth-child(3) { margin-right: 10px; }
.land-tv__hint { margin: 0; color: #AEB7BC; font-size: 14px; }
.land-tv__stand { width: 120px; height: 12px; border-radius: 0 0 8px 8px; background: #22272C; }

/* events */
.land-events { background: var(--ice); padding-top: 0; }
.land-evlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.land-evlist li { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.land-ev__date { font: 700 13px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--granite-muted); }
.land-ev__name { font-family: var(--font-display); font-stretch: 112%; font-weight: 750; font-size: 24px; }
.land-ev__where { color: var(--granite-muted); }

/* partners */
.land-partner { background: var(--handle); color: var(--on-handle); padding: 64px 0; }
.land-partner__in { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.land-partner__in > div { max-width: 680px; display: flex; flex-direction: column; gap: 12px; }
.land-partner p { margin: 0; font-size: 18px; line-height: 1.5; }
.land-partner__btn { background: var(--on-handle); color: var(--handle); }
.land-partner__btn:hover { color: var(--handle); box-shadow: var(--shadow-lift); }

/* final call and footer */
.land-final { background: var(--ice); color: var(--granite); text-align: center; padding: 96px 0; }
.land-final__in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.land-final__title { margin: 0; font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; max-width: 14em; }
.land-final__note { margin: 0; color: var(--granite-muted); font-size: 15px; }
.land-final__note a { color: inherit; text-decoration: underline; }
.land-foot { background: var(--ice); color: var(--granite-muted); border-top: 1px solid var(--line); }
.land-foot__in { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.land-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.land-foot nav a { text-decoration: none; font-weight: 700; color: var(--granite-muted) !important; }
.land-foot nav a:hover { color: var(--granite) !important; }
.land-foot__small { margin: 0 0 0 auto; font-size: 13px; }

@media (max-width: 960px) {
  .land-top__nav { display: none; }
  .land-feat, .land-feat--wide { grid-column: span 6; }
  .land-every__in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .land-evlist li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .land-wrap { padding: 0 16px; }
  .land-top__in { min-height: 60px; gap: 10px; }
  .land-top .lockup__word { display: none; }
  .land-hero__house { width: 560px; right: -180px; top: -150px; transform: none; opacity: .9; }
  .land-hero__in { min-height: 0; align-items: flex-end; padding-top: 300px; padding-bottom: 48px; }
  .land-hero__cta .ctv-btn { flex: 1 1 100%; }
  .land-sec { padding: 56px 0; }
  .land-games, .land-nexts { grid-template-columns: minmax(0, 1fr); }
  .land-foot__small { margin-left: 0; }
}
@media (min-width: 1500px) { .land-hero__house { right: -120px; } }
