/* Match pages under /watch. The centre is the app's match screen and the phones carry the app's real widgets, so
   every value here comes from the iOS source: system colours in dark mode, SF sizes and weights, corner radii. */
:root {
  --bg: #000;
  --fill: #1c1c1e; /* secondarySystemBackground */
  --fill-2: #2c2c2e;
  --label: #fff;
  --label-2: rgba(235, 235, 245, 0.6); /* secondaryLabel */
  --label-3: rgba(235, 235, 245, 0.3);
  --sep: rgba(84, 84, 88, 0.6);
  --green: #30d158;
  --red: #ff453a;
  --orange: #ff9f0a;
  --blue: #0a84ff;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Nunito", "Segoe UI", Roboto, sans-serif;
  --s: 0.76; /* phone mockup scale: 393pt screen to ~300px */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body > * { width: 100%; }
body > .foot { margin-top: auto; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--label); font: 15px/1.4 var(--sf); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
button, select { font: inherit; color: inherit; }
img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--label-2); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

/* site header: a glass bar that stays, brand, the five sports, language and the store button */
.top { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 0.5px solid rgba(255, 255, 255, 0.08); }
.top::after { content: ""; position: absolute; inset: auto 0 -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(48, 209, 88, 0.6), rgba(10, 132, 255, 0.6), transparent); opacity: 0.7; }
.top-in { display: flex; align-items: center; gap: 18px; max-width: 1280px; margin: 0 auto; padding: 10px 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { border-radius: 9px; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.2), 0 4px 14px rgba(48, 209, 88, 0.25); }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.brand small { font-size: 11px; font-weight: 600; color: var(--label-2); letter-spacing: 0.01em; }
.top-nav { flex: 1; display: flex; justify-content: center; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.top-nav a { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--label-2); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.top-nav a:hover { background: rgba(255, 255, 255, 0.08); color: var(--label); }
.top-nav i { font-style: normal; font-size: 15px; }
.top-r { display: flex; align-items: center; gap: 8px; flex: none; margin-inline-start: auto; }
.get { position: relative; overflow: hidden; display: flex; align-items: center; gap: 7px; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 20px rgba(48, 209, 88, 0.35); }
.get::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4s ease-in-out infinite 1.5s; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.get-ic { display: grid; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-weight: 700; font-size: 13px; white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60; width: 210px; max-height: 70vh; overflow: auto; padding: 6px; background: rgba(44, 44, 46, 0.96); backdrop-filter: blur(20px); border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7); }
.lang a { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 500; }
.lang a:hover { background: rgba(255, 255, 255, 0.08); }
.lang a[aria-current] { color: var(--green); font-weight: 700; }

/* this week's games, under the header */
.tick { border-bottom: 0.5px solid rgba(255, 255, 255, 0.06); background: linear-gradient(#0a0a0c, #000); }
.tick-in { display: flex; gap: 8px; max-width: 1280px; margin: 0 auto; padding: 10px 20px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 20px; }
.tk { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 14px; background: var(--fill); scroll-snap-align: start; transition: background 0.2s; }
.tk:hover { background: var(--fill-2); }
.tk.on { background: rgba(48, 209, 88, 0.14); box-shadow: inset 0 0 0 1px rgba(48, 209, 88, 0.55); }
.tk img, .tk .logo-fallback { width: 22px; height: 22px; object-fit: contain; }
.tk-m { display: flex; flex-direction: column; align-items: center; line-height: 1.1; min-width: 44px; }
.tk-m b { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tk-m small { font-size: 10px; color: var(--label-2); font-weight: 600; }

/* stage */
.stage { display: grid; grid-template-columns: auto minmax(0, 440px) auto; gap: 40px; justify-content: center; align-items: start; max-width: 1280px; margin: 0 auto; padding: 24px 20px 48px; }
.col-l, .col-r { position: sticky; top: 84px; display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* ===== the app's match screen ===== */
.app { background: #000; border-radius: 44px; border: 1px solid #1f1f22; overflow: clip; padding-bottom: 24px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8); }
.ah { position: relative; }
.ah::before { content: ""; position: absolute; inset: 0 0 auto; height: 280px; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--h) 30%, transparent), color-mix(in srgb, var(--a) 30%, transparent));
  -webkit-mask: linear-gradient(#000, rgba(0, 0, 0, 0.55) 45%, transparent 90%); mask: linear-gradient(#000, rgba(0, 0, 0, 0.55) 45%, transparent 90%); }
.ah > * { position: relative; }
.ah-row { display: flex; gap: 20px; align-items: flex-start; padding: 32px 20px 10px; }
.ah-team { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 6px; }
.ah-cr { width: 70px; height: 70px; object-fit: contain; }
.ah-team b { font-size: 15px; font-weight: 600; text-align: center; line-height: 20px; height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ah-mid { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: none; }
.ah-mid > small { font-size: 14px; font-weight: 600; color: var(--label-2); }
.ah-score { display: flex; align-items: center; gap: 8px; padding-bottom: 5px; }
.ah-score b { font-size: 44px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ah-score b.dim { opacity: 0.45; }
.ah-score b.pre { color: var(--label-2); }
.ah-score i { font-style: normal; font-size: 32px; font-weight: 500; color: var(--label-2); }
/* each side's goals and red cards under its name, home leading and away trailing (MatchHeaderEventLists) */
.ah-ev { display: flex; gap: 12px; padding: 0 20px 14px; }
.ah-ev:empty { display: none; }
.ah-evl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 500; }
.ah-evl li { display: flex; align-items: center; gap: 4px; min-width: 0; }
.ah-evl.a li { flex-direction: row-reverse; }
.ah-evl i { flex: none; width: 14px; height: 14px; display: grid; place-items: center; color: var(--green); }
.ah-evl.a i { color: #ff9f0a; }
.ah-evl li.og i, .ah-evl li.og span { color: #ff453a; }
.ah-evl i.card::before { content: ""; width: 8px; height: 11px; border-radius: 2px; background: #ff453a; }
.ah-evl time { flex: none; font-weight: 600; color: var(--label-2); font-variant-numeric: tabular-nums; }
.ah-evl span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(235, 235, 245, 0.09); color: var(--label-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ah-pill.live { background: var(--green); color: #fff; }
.ah-pill.live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.ah-starts { text-align: center; font-size: 13px; font-weight: 500; color: var(--label-2); padding: 0 20px 10px; }
.ah-h1 { text-align: center; font-size: 12px; font-weight: 500; color: var(--label-3); padding: 0 28px 14px; line-height: 1.35; }
.ah-card { margin: 0 20px; border-radius: 30px; overflow: hidden; background: var(--fill); }
.ah-league { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 16px 24px; font-size: 14px; font-weight: 600; color: var(--label-2); }
.ah-league > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ah-league > span:last-child { text-align: end; white-space: nowrap; }
.ah-league img { width: 24px; height: 24px; object-fit: contain; }
.ah-info { display: flex; align-items: center; gap: 16px; padding: 0 20px; border-top: 1px solid rgba(235, 235, 245, 0.12); }
.ah-info hr { width: 1px; height: 68px; margin: 0; border: 0; background: rgba(235, 235, 245, 0.12); }
.ah-venue, .ah-ref { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.ah-ref { text-align: end; justify-content: flex-end; }
.ah-venue small, .ah-ref small { display: block; font-size: 11px; font-weight: 500; color: var(--label-2); }
.ah-venue b, .ah-ref b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 600; }
.ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.ic.g { background: rgba(48, 209, 88, 0.15); color: var(--green); }
.ic.o { background: rgba(255, 159, 10, 0.15); color: var(--orange); }

.atabs { position: sticky; top: 62px; z-index: 20; display: flex; gap: 6px; margin: 16px 20px 0; padding: 10px; background: rgba(28, 28, 30, 0.92); backdrop-filter: blur(16px); border-radius: 20px; overflow-x: auto; scrollbar-width: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); scroll-margin-top: 62px; }
.atabs button { flex: 1 0 auto; border: 0; background: none; padding: 7px 12px; font-size: 14px !important; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--label-2); cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.atabs button[aria-selected="true"] { background: var(--green); color: #fff; font-weight: 700; }
html:not(.js) .atabs { display: none; }
.panel { display: flex; flex-direction: column; gap: 14px; padding: 14px 20px 0; }
.js .panel:not(.on) { display: none; }

.acard { background: var(--fill); border-radius: 20px; padding: 16px 18px 18px; }
.acard-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.acard h2 { font-size: 17px; font-weight: 700; white-space: nowrap; }
.cc select { appearance: none; -webkit-appearance: none; background: var(--fill-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 10px center / 10px; border: 0; border-radius: 999px; padding: 7px 28px 7px 12px; font-size: 13px; font-weight: 600; max-width: 170px; min-width: 0; text-overflow: ellipsis; }
[dir="rtl"] .cc select { background-position: left 10px center; padding: 7px 12px 7px 28px; }
.cc select option { color: #000; }
.bc-row { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; }
.bc-row + .bc-row { border-top: 1px solid rgba(235, 235, 245, 0.1); }
.bc-row small { font-size: 12px; font-weight: 600; color: var(--label-2); }
.bc-row div { display: flex; flex-wrap: wrap; gap: 6px; }
.ch { padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.ch.tv { background: var(--fill-2); }
.ch.st { background: rgba(48, 209, 88, 0.15); color: var(--green); }
.bc-all { margin-top: 6px; }
.bc-all summary { cursor: pointer; color: var(--green); font-weight: 600; font-size: 14px; padding: 6px 0; }
.fine { color: var(--label-3); font-size: 12px; margin-top: 8px; }
.lead { font-size: 15px; line-height: 1.5; }
.story { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; color: var(--label-2); font-size: 14px; }
.story li { position: relative; padding-inline-start: 16px; }
.story li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.facts li { padding: 10px 0; font-size: 14px; border-top: 1px solid rgba(235, 235, 245, 0.1); }
.facts li:first-child { border-top: 0; padding-top: 0; }

/* MatchStatistics rows */
.sts { display: flex; flex-direction: column; gap: 14px; }
.st-v { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.st-v b { font-size: 15px; font-weight: 700; width: 70px; font-variant-numeric: tabular-nums; }
.st-v b:last-child { text-align: end; }
.st-v span { font-size: 13px; font-weight: 500; color: var(--label-2); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-bar { display: flex; gap: 8px; height: 6px; border-radius: 3px; background: rgba(142, 142, 147, 0.12); direction: ltr; }
.st-h, .st-a { flex: 1; display: flex; }
.st-h { justify-content: flex-end; }
.st-bar u { display: block; height: 6px; border-radius: 3px; }
.st-bar u.win { background: linear-gradient(90deg, rgb(128, 217, 128), rgb(166, 230, 102)); }
.st-bar u.lose { background: linear-gradient(90deg, rgb(217, 128, 166), rgb(204, 115, 179)); }
/* win probability: home, draw and away share one bar */
.pr-bar { display: flex; gap: 4px; direction: ltr; }
.pr-bar u { flex-basis: 0; min-width: 6px; height: 6px; border-radius: 3px; }
.pr-bar u.win { background: linear-gradient(90deg, rgb(128, 217, 128), rgb(166, 230, 102)); }
.pr-bar u.lose { background: linear-gradient(90deg, rgb(217, 128, 166), rgb(204, 115, 179)); }
.pr-bar u.draw { background: rgba(142, 142, 147, 0.45); }
.linescore { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--label-2); }
.linescore th, .linescore td { padding: 5px 6px; text-align: center; font-weight: 600; }
.linescore tbody th { color: var(--label); text-align: start; }
.linescore td:last-child { color: var(--label); font-weight: 800; }
.inc { display: flex; flex-direction: column; }
.inc li { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; padding: 9px 0; font-size: 14px; border-top: 1px solid rgba(235, 235, 245, 0.1); }
.inc li:first-child { border-top: 0; }
.inc b { color: var(--green); font-variant-numeric: tabular-nums; }
.inc small { color: var(--label-2); }

.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.tbl th { color: var(--label-2); font-weight: 600; font-size: 12px; padding: 4px 4px 8px; text-align: center; }
.tbl td { padding: 7px 4px; text-align: center; color: rgba(255, 255, 255, 0.8); }
.tbl td:first-child i { display: inline-block; min-width: 22px; font-style: normal; font-weight: 700; font-size: 12px; border-radius: 5px; padding: 2px 0; }
.tbl .tm { text-align: start; }
.tbl td.tm { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tbl td.tm img { width: 20px; height: 20px; object-fit: contain; }
.tbl td.tm span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl td.acc { color: var(--green); font-weight: 700; }
.tbl tr.on td { background: color-mix(in srgb, var(--z) 15%, transparent); color: #fff; }
.tbl tr.on td:first-child { border-radius: 6px 0 0 6px; }
.tbl tr.on td:last-child { border-radius: 0 6px 6px 0; }
.news + .news { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(235, 235, 245, 0.1); }
.news h3 { font-size: 15px; font-weight: 700; line-height: 1.35; }
.news p { color: var(--label-2); font-size: 14px; margin-top: 4px; }

/* ===== phones ===== */
.phone { display: flex; flex-direction: column; align-items: center; }
.pbox { width: calc(393px * var(--s)); height: calc(852px * var(--s)); border-radius: calc(62px * var(--s)); padding: calc(10px * var(--s)); background: #1a1a1d; box-shadow: inset 0 0 0 calc(1.5px * var(--s)) #3b3b40, 0 30px 80px rgba(0, 0, 0, 0.7); box-sizing: content-box; }
.screen { position: relative; width: 393px; height: 852px; border-radius: 55px; overflow: hidden; transform: scale(var(--s)); transform-origin: 0 0; font-family: var(--sf); color: #fff; }
.phone figcaption { margin-top: 16px; text-align: center; display: flex; flex-direction: column; gap: 2px; max-width: 300px; }
.phone figcaption b { font-size: 15px; }
.phone figcaption span { color: var(--label-2); font-size: 13px; }

.sb { position: absolute; inset: 0 0 auto; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 28px 0 36px; z-index: 5; }
.sb-t { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; min-width: 40px; }
.sb-r { display: flex; align-items: center; gap: 6px; }
.sig { display: flex; align-items: flex-end; gap: 1.5px; height: 12px; }
.sig i { width: 3px; border-radius: 1px; background: #fff; }
.sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 6px; } .sig i:nth-child(3) { height: 9px; } .sig i:nth-child(4) { height: 12px; }
.bat { display: grid; place-items: center; width: 27px; height: 13px; border-radius: 4px; background: #fff; color: #000; font-size: 10px; font-weight: 700; }
.isl, .isl-idle { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); height: 37px; border-radius: 19px; background: #000; }
.isl-idle { width: 126px; }
.isl { width: 186px; display: flex; align-items: center; gap: 7px; padding: 0 9px; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.isl i { flex: 1; }
.isl .cr { width: 22px; height: 22px; }
.cr { object-fit: contain; flex: none; }
.cr-f { display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.7); font-weight: 700; }

/* home screen */
.home { background: radial-gradient(120% 60% at 30% 20%, #4a4a4f, transparent 70%), radial-gradient(100% 60% at 80% 90%, #2b2b30, transparent 70%), #141416; }
.hs { position: absolute; top: 70px; left: 27.5px; right: 27.5px; display: flex; flex-direction: column; gap: 16px; }
.hs-pair { display: grid; grid-template-columns: 158px 158px; gap: 22px; }
.wcell { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wl { font-size: 12px; font-weight: 500; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
.wcell.icon { justify-content: flex-start; padding-top: 0; }
.wcell.icon img { border-radius: 14px; }
.dots-p { position: absolute; bottom: 122px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dots-p i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.dots-p i.on { background: #fff; }
.dock { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 96px; border-radius: 34px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: space-around; padding: 0 10px; }
.dock img { border-radius: 14px; }
.dock i { width: 62px; height: 62px; border-radius: 14px; background: rgba(255, 255, 255, 0.2); }

/* widgets: shared */
.wg { position: relative; overflow: hidden; border-radius: 22px; color: #fff; font-family: var(--sf); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25); }
.wg-s { width: 158px; height: 158px; }
.wg-m { width: 338px; height: 158px; }
.season { background:
  linear-gradient(rgba(255, 255, 255, 0.035) 0.5px, transparent 0.5px) 0 0 / 16px 16px,
  linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0.5px, transparent 0.5px) 0 0 / 16px 16px,
  radial-gradient(circle 230px at var(--glow-at), color-mix(in srgb, var(--tint) 50%, transparent), color-mix(in srgb, var(--tint) 12%, transparent) 60%, transparent),
  #09090e; }
.hero { position: absolute; }
.hero::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: color-mix(in srgb, var(--hero) 50%, transparent); filter: blur(13px); }
.hero img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.4)); }
.hero-whistle { width: 58px; height: 58px; right: -12px; bottom: -10px; transform: rotate(-10deg); }
.hero-trophy { width: 60px; height: 60px; right: -16px; top: -18px; transform: rotate(8deg); }

/* Kick-off */
.ko { position: relative; height: 100%; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.ko-form { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.lane { display: flex; align-items: center; gap: 6px; }
.lane .cr { width: 12px; height: 12px; }
.dots { flex: 1; display: grid; justify-content: space-between; row-gap: 4px; }
.dots i { border-radius: 50%; }
.ko-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ko-side { display: flex; align-items: center; gap: 4px; }
.ko-side span { margin-inline-start: 1px; font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ko-opp { font: 800 15px/1.15 var(--rounded); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ko-count { display: flex; gap: 10px; direction: ltr; }
.ko-seg { display: flex; flex-direction: column; }
.ko-seg b, .ko-timer b { font: 800 22px/1.05 var(--rounded); font-variant-numeric: tabular-nums; }
.ko-seg small, .ko-timer small { font-size: 8px; font-weight: 600; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.02em; white-space: nowrap; }
.ko-timer { display: inline-grid; grid-auto-flow: column; grid-template-rows: auto auto; column-gap: 0; justify-content: start; direction: ltr; }
.ko-timer .sep { grid-row: 1; }
.ko-score { display: flex; align-items: center; gap: 6px; direction: ltr; }
.ko-score .cr { width: 18px; height: 18px; }
.ko-score b { font: 800 24px/1 var(--rounded); font-variant-numeric: tabular-nums; }
.ko-score b { white-space: nowrap; }
.ko-score.wide { gap: 4px; } .ko-score.wide b { font-size: 17px; } .ko-score.wide .cr { width: 16px; height: 16px; }
.ko-status { display: flex; align-items: center; gap: 6px; color: #30d66e; font-size: 11px; font-weight: 700; direction: ltr; }
.ko-status i { width: 6px; height: 6px; margin: 0 6px; border-radius: 50%; background: currentColor; }
.ko-status.off { color: rgba(255, 255, 255, 0.6); }
.ko-live:not([hidden]) { display: contents; }
.ko-form[hidden] { display: none; }

.hero-whistle-m { width: 84px; height: 84px; right: -14px; top: -12px; transform: rotate(-10deg); }
.kom { position: relative; height: 100%; padding: 16px; display: flex; gap: 16px; }
.kom-l { width: 150px; flex: none; display: flex; flex-direction: column; gap: 8px; }
.kom-l .ko-side .cr { width: 20px; height: 20px; }
.ko-opp.big { font-size: 18px; }
.kom-r { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.kom-in { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.6); padding-inline-end: 52px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kom-when { font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.55); }
.ko-count.big, .ko-timer.big { gap: 12px; }
.big .ko-seg b, .ko-timer.big b { font-size: 26px; }

/* Title race */
.race { position: relative; height: 100%; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.race-h { display: flex; align-items: center; gap: 8px; padding-inline-end: 40px; }
.race-h .cr { width: 26px; height: 26px; }
.race-t { min-width: 0; display: flex; flex-direction: column; }
.race-t small { font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.race-t b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.race-rk { display: flex; align-items: baseline; gap: 4px; flex: none; }
.race-rk b { font: 800 22px/1 var(--rounded); }
.race-rk small { font: 600 11px var(--rounded); color: rgba(255, 255, 255, 0.6); }
.race-b { flex: 1; min-height: 0; display: flex; gap: 10px; direction: ltr; }
.race-chart { position: relative; flex: none; }
.race-svg { display: block; overflow: visible; }
.race-svg text { font-family: var(--rounded); }
.race-svg .ax { font-size: 8px; font-weight: 500; fill: rgba(255, 255, 255, 0.45); }
.race-svg .ax.me { font-weight: 800; }
.race-svg .lead { font-size: 9px; font-weight: 700; fill: #ffc73d; }
.race-svg .cut { font-size: 8px; font-weight: 600; }
.race-me { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 1px; }
.race-me .cr { width: 14px; height: 14px; }
.race-me b { font: 800 9px/1 var(--rounded); }
.race-m { width: 96px; flex: none; display: flex; flex-direction: column; gap: 5px; }
.race-m > div { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 7px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); min-height: 0; }
.race-m small { font-size: 9px; font-weight: 600; color: rgba(255, 255, 255, 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.race-m span { display: flex; align-items: baseline; gap: 3px; min-width: 0; }
.race-m span b { font: 800 15px/1.1 var(--rounded); }
.race-m span em { font-style: normal; font-size: 8px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.85; }

/* Rank trend */
.rank { background: #000; }
.rank-h { padding: 14px 14px 0; }
.rank-top { display: flex; justify-content: space-between; align-items: flex-start; }
.rank-top .cr { width: 26px; height: 26px; }
.rank-b { display: flex; flex-direction: column; align-items: flex-end; }
.rank-b b { font: 700 24px/1.1 var(--rounded); font-variant-numeric: tabular-nums; }
.rank-b small { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rank-t { display: flex; flex-direction: column; margin-top: 2px; }
.rank-t small { font-size: 10px; font-weight: 500; color: var(--label-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-t b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spark { position: absolute; left: 0; bottom: 0; width: 158px; height: 62px; overflow: visible; }

/* Teams medium: table beside FORM, LAST, NEXT */
.team { display: flex; background: #1c1c1e; direction: ltr; }
.tm-table { flex: 1; min-width: 0; padding-right: 8px; display: flex; flex-direction: column; }
.tm-h { display: flex; align-items: center; padding: 8px 0 4px 10px; font-size: 11px; border-bottom: 0.5px solid rgba(84, 84, 88, 0.65); margin-right: -8px; padding-right: 8px; }
.tm-h img { width: 16px; height: 16px; object-fit: contain; }
.tm-h span { flex: 1; margin-left: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-h em, .tm-r em { font-style: normal; width: 24px; text-align: center; flex: none; color: rgba(255, 255, 255, 0.8); }
.tm-r { flex: 1; display: flex; align-items: center; margin-left: 10px; font-size: 11px; border-radius: 4px; min-height: 0; }
.tm-r i { font-style: normal; width: 16px; text-align: center; font-weight: 700; border-radius: 4px; padding: 1px 0; flex: none; }
.tm-r img { width: 14px; height: 14px; object-fit: contain; margin: 0 4px; flex: none; }
.tm-r span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, 0.8); }
.tm-r.on span { color: #fff; }
.tm-r em.acc { color: rgba(48, 209, 88, 0.8); font-weight: 700; }
.tm-r.on em.acc { color: var(--green); }
.tm-side { width: 135px; flex: none; display: flex; flex-direction: column; border-left: 0.5px solid rgba(84, 84, 88, 0.65); }
.tm-sec { flex: 1; display: flex; align-items: center; min-height: 0; }
.tm-sec + .tm-sec { border-top: 0.5px solid rgba(84, 84, 88, 0.65); }
.tm-sec.grp { background: rgba(0, 0, 0, 0.5); }
.vl { align-self: stretch; width: 14px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.5); border-right: 1px solid rgba(255, 255, 255, 0.05); }
.vl span { flex: none; transform: rotate(-90deg); font-size: 8px; color: #8e8e93; letter-spacing: 0.5px; white-space: nowrap; }
.tm-form { flex: 1; padding: 0 8px 0 10px; }
.tm-form .fh { display: flex; }
.tm-form .fh b { flex: 1; text-align: center; font-size: 9px; font-weight: 600; padding: 1px 0; }
.tm-form .fb { display: flex; gap: 2px; margin-top: 7px; padding-top: 5px; border-top: 0.5px solid rgba(84, 84, 88, 0.65); }
.tm-form .fb i { flex: 1; font-style: normal; text-align: center; font-size: 9px; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 20%, transparent); border-radius: 3px; padding: 1px 0; }
.tm-last { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; }
.tm-last .cr { width: 18px; height: 18px; }
.tm-last b { font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: inset 2px 0 var(--c), inset -2px 0 var(--c); white-space: nowrap; }
.tm-next { flex: 1; display: flex; align-items: center; min-width: 0; padding-right: 8px; }
.tm-next .cr { width: 18px; height: 18px; margin: 0 4px 0 10px; }
.tm-next div { min-width: 0; display: flex; flex-direction: column; }
.tm-next b { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 3px; border-bottom: 0.5px solid rgba(84, 84, 88, 0.65); }
.tm-next small { font-size: 10px; color: #8e8e93; white-space: nowrap; padding-top: 3px; }

/* lock screen */
.lock { background: radial-gradient(80% 50% at 50% 35%, #2d2d31, transparent 70%), radial-gradient(70% 40% at 50% 100%, #1d1d21, transparent 70%), #0b0b0d; }
.lk-date { position: absolute; top: 74px; left: 0; right: 0; text-align: center; font-size: 22px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.lk-clock { position: absolute; top: 98px; left: 0; right: 0; text-align: center; font: 600 96px/1 var(--rounded); letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.92); }
/* the invite notification, then the Live Activity right above the widgets at the bottom */
.lk-stack { position: absolute; left: 16px; right: 16px; bottom: 224px; display: flex; flex-direction: column; gap: 10px; }
.lk-acc { position: absolute; top: 640px; left: 0; right: 0; }
.lk-btns { position: absolute; left: 46px; right: 46px; bottom: 52px; display: flex; justify-content: space-between; }
.lk-btns i { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); display: grid; place-items: center; }
.hbar { position: absolute; bottom: 8px; left: 50%; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #fff; }

/* Live Activity */
.la { border-radius: 24px; overflow: hidden; background: var(--state); color: #000; }
.la-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #000; color: #fff; border-radius: 0 0 21px 21px; }
.la-team { width: 80px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.la-team .cr { width: 48px; height: 48px; }
.la-team b { max-width: 80px; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.la-score { display: flex; align-items: center; gap: 10px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.la-score span { display: inline-block; }
.la-score i { width: 10px; text-align: center; font-style: normal; color: rgba(235, 235, 245, 0.6); }
.la-event { display: flex; align-items: center; gap: 8px; margin: 10px 10px 0; padding: 8px 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.08); font-size: 16px; }
.la-event .cr { width: 16px; height: 16px; }
.la-event b { flex: 1; font-weight: 600; }
.la-event span { color: rgba(0, 0, 0, 0.55); font-weight: 600; }
.la-strip { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 15px; font-size: 14px; }
.la-l, .la-r { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.la-l b, .la-r b { font-weight: 600; }
.la-bar { position: absolute; left: 50%; top: 50%; width: 100px; height: 6px; margin: -3px 0 0 -50px; border-radius: 3px; background: rgba(0, 0, 0, 0.14); overflow: hidden; }
.la-bar u { display: block; height: 100%; background: #000; border-radius: 3px; }

/* notification */
.ntf { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 24px; background: rgba(60, 60, 64, 0.55); backdrop-filter: blur(24px); }
.ntf-ic { border-radius: 9px; flex: none; }
.ntf-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 15px; line-height: 1.25; }
.ntf-t b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ntf-t span { color: rgba(255, 255, 255, 0.85); }
.ntf small { align-self: flex-start; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.ntf .cr { width: 30px; height: 30px; }

/* lock screen accessories */
.acc { display: flex; justify-content: center; gap: 18px; padding: 0 22px; color: rgba(255, 255, 255, 0.92); direction: ltr; }
.acc-team { width: 168px; display: flex; flex-direction: column; }
.acc-row { display: flex; align-items: center; gap: 6px; padding: 4px 0; }
.acc-row[hidden] { display: none; }
.acc-sc { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; }
.acc-sc b { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.acc-row.div { border-top: 1px solid rgba(255, 255, 255, 0.25); }
.vl8 { width: 10px; flex: none; transform: rotate(-90deg); font-size: 8px; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.5px; white-space: nowrap; display: grid; place-items: center; }
.pos { font-style: normal; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 3px; border-radius: 4px; background: rgba(255, 255, 255, 0.22); font-size: 15px; font-weight: 700; }
.acc-row .cr { width: 22px; height: 22px; filter: grayscale(1) brightness(1.6); }
.acc-n { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.acc-n b { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-n small { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-v { display: flex; flex-direction: column; align-items: flex-end; }
.acc-v small { font-size: 8px; }
.acc-v b { font-size: 13px; font-weight: 700; }
.acc-lg { width: 150px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.acc-lg div { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.acc-lg .pos { min-width: 18px; height: 18px; font-size: 12px; }
.acc-lg img { width: 16px; height: 16px; object-fit: contain; filter: grayscale(1) brightness(1.6); }
.acc-lg span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-lg b { font-weight: 600; }

/* download card */
.cta { width: calc(393px * var(--s) + 20px); background: var(--fill); border-radius: 28px; padding: 22px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cta-ico { border-radius: 14px; }
.cta h2 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.cta p { color: var(--label-2); font-size: 13.5px; }
.stores { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.stores img { height: 44px; width: auto; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--label-2); font-size: 13px; }
.qr-img { width: 132px; height: 132px; border-radius: 16px; overflow: hidden; background: #fff; padding: 6px; }
.qr-img svg { display: block; width: 100%; height: 100%; }

/* below the fold */
.hub { max-width: 860px; margin: 0 auto; padding: 8px 20px 24px; }
.faq details { background: var(--fill); border-radius: 20px; padding: 16px 18px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--label-2); margin-top: 8px; }

/* hub */
.hub h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin-top: 18px; }
.hub .lead { color: var(--label-2); margin: 10px 0 24px; }
.hub section { margin-bottom: 28px; }
.hub h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--label-2); font-weight: 600; margin: 0 0 10px 4px; }
.hub-list { display: flex; flex-direction: column; background: var(--fill); border-radius: 20px; overflow: hidden; }
.hub-list li + li { border-top: 0.5px solid var(--sep); }
.hub-list a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.hub-list a:hover { background: rgba(255, 255, 255, 0.04); }
.hl-l { width: 34px; height: 34px; object-fit: contain; flex: none; }
.hl-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hl-t b { font-weight: 600; }
.hl-t small { color: var(--label-2); }
.logo-fallback { display: grid; place-items: center; border-radius: 50%; background: var(--fill-2); font-weight: 700; font-size: 14px; }

@media (max-width: 1180px) {
  .stage { grid-template-columns: minmax(0, 480px); }
  .col-l, .col-r { position: static; }
  .col-r { display: contents; }
  .col-c { order: 1; } .cta { order: 2; margin: 0 auto; } .col-l { order: 3; } .col-r .phone { order: 4; }
  .stage { grid-auto-flow: row; }
}
@media (max-width: 1180px) and (min-width: 700px) {
  .stage { grid-template-columns: repeat(2, auto); max-width: 760px; }
  .col-c, .cta { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 480px; }
}
@media (max-width: 699px) {
  :root { --s: 0.42; }
  /* fixed halves: the match screen spans both and must not widen them past the screen */
  .stage { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; gap: 24px 14px; padding: 4px 16px 40px; }
  .col-c, .cta { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .app { border-radius: 32px; }
  .phone figcaption { max-width: 165px; }
  .phone figcaption span { display: none; }
  .top-link { display: none; }
  .qr { display: none; }
}
@media (max-width: 420px) {
  :root { --s: 0.38; }
  .ah-row { gap: 10px; padding: 26px 14px 10px; }
  .ah-cr { width: 58px; height: 58px; }
  .ah-score b { font-size: 38px; }
  .ah-card, .atabs { margin-left: 14px; margin-right: 14px; }
  .panel { padding: 14px 14px 0; }
}
@media (max-width: 370px) { :root { --s: 0.34; } }
@media (prefers-reduced-motion: reduce) { .ah-pill.live i { animation: none; } }

.atabs sup { font-size: 10px; margin-inline-start: 3px; opacity: 0.8; }

/* 3D field */
.ah-field { padding: 4px 14px 10px; max-width: 420px; margin: 0 auto; }
.field3d { display: block; width: 100%; height: auto; overflow: visible; }
.field3d .fn { font: 800 13px var(--sf); fill: rgba(255, 255, 255, 0.85); }
.field3d .fz { font: 800 16px var(--sf); fill: #fff; letter-spacing: 0.04em; }

/* the compact download banner: a Dynamic Island riding its top edge */
.dl { position: relative; margin: 34px 20px 0; padding: 26px 12px 12px 16px; border-radius: 22px; background: linear-gradient(120deg, rgba(48, 209, 88, 0.16), rgba(10, 132, 255, 0.12) 60%, rgba(28, 28, 30, 0.9)); isolation: isolate; }
.dl::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), rgba(48, 209, 88, 0.9), rgba(10, 132, 255, 0.6), rgba(255, 255, 255, 0.08), rgba(48, 209, 88, 0.9)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.dl-isl { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; height: 36px; min-width: 150px; padding: 0 9px; border-radius: 18px; background: #000; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.18), 0 8px 20px rgba(0, 0, 0, 0.6); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dl-isl img, .dl-isl .logo-fallback { width: 22px; height: 22px; object-fit: contain; }
.dl-isl b { min-width: 6px; }
.dl-dot { flex: 1; display: flex; justify-content: center; }
.dl-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.6s ease-in-out infinite; }
.dl-row { display: flex; align-items: center; gap: 12px; }
.dl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.dl-t b { font-size: 15px; font-weight: 700; }
.dl-t small { font-size: 12.5px; color: var(--label-2); }
.dl-b { display: flex; gap: 6px; flex: none; }
.dl-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #000; border: 0; cursor: pointer; transition: transform 0.15s; }
.dl-btn:hover { transform: translateY(-1px) scale(1.04); }
.dl-qr { background: rgba(255, 255, 255, 0.12); color: #fff; }
.qr-dlg { border: 0; padding: 26px 26px 20px; border-radius: 28px; background: #1c1c1e; color: #fff; width: min(320px, 90vw); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.qr-dlg[open] { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr-dlg::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); }
.qr-dlg img { border-radius: 12px; }
.qr-dlg b { font-size: 17px; line-height: 1.3; }
.qr-code { width: 220px; height: 220px; padding: 10px; border-radius: 20px; background: #fff; }
.qr-code svg { display: block; width: 100%; height: 100%; }
.qr-dlg small { color: var(--label-2); font-size: 13px; }
.qr-dlg form { position: absolute; top: 12px; right: 12px; }
.qr-dlg form button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; }

/* where to watch: one country's channels as a list */
.watch .acard-h { margin-bottom: 6px; }
.cc { position: relative; display: flex; align-items: center; }
.cc-flag { position: absolute; left: 12px; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; pointer-events: none; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.25); }
[dir="rtl"] .cc-flag { left: auto; right: 12px; }
.cc select { padding-left: 40px !important; max-width: 200px; }
/* the picker gives way to the heading on a narrow screen instead of pushing out of the card */
.cc { min-width: 0; flex: 0 1 200px; }
.cc select { width: 100%; }
[dir="rtl"] .cc select { padding-left: 28px !important; padding-right: 40px !important; }
.chns { display: flex; flex-direction: column; }
.chn { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.chn + .chn { border-top: 0.5px solid rgba(84, 84, 88, 0.6); }
.chn i { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.chn.tv i { background: rgba(10, 132, 255, 0.16); color: #4aa3ff; }
.chn.st i { background: rgba(48, 209, 88, 0.16); color: var(--green); }
.chn b { flex: 1; min-width: 0; font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chn small { flex: none; font-size: 12px; font-weight: 600; color: var(--label-2); }
.chn-none { padding: 10px 0; color: var(--label-2); }

/* league table as rows, both teams always in it */
.tbl { display: flex; flex-direction: column; font-size: 14px; font-variant-numeric: tabular-nums; width: 100%; }
.tr { display: grid; align-items: center; column-gap: 8px; min-height: 40px; padding: 0 8px; border-radius: 12px; }
.tr > span:nth-child(n+3) { white-space: nowrap; }
.tr > span { text-align: center; color: rgba(255, 255, 255, 0.75); }
.tr.th { min-height: 26px; }
.tr.th > span { font-size: 12px; font-weight: 600; color: var(--label-2); }
.tr .pos { justify-self: start; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, 0.08); color: var(--label-2); }
.tr .pos[style] { background: color-mix(in srgb, var(--z) 18%, transparent); color: var(--z); }
.tr .tn { display: flex; align-items: center; gap: 10px; min-width: 0; text-align: start; }
.tr .tn img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.tr .tn b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, 0.85); }
.tr .acc { color: var(--green); font-weight: 700; }
.tr.on { background: rgba(255, 255, 255, 0.08); }
.tr.on > span, .tr.on .tn b { color: #fff; font-weight: 700; }
.tr.on .acc { color: var(--green); }
.tr.gap { min-height: 18px; }
.tr.gap > span:nth-child(2) { text-align: start; color: var(--label-3); letter-spacing: 3px; padding-inline-start: 32px; }
.tr + .tr:not(.on):not(.gap):not(.th) { box-shadow: inset 0 0.5px rgba(235, 235, 245, 0.06); }

/* news */
.news small { display: block; font-size: 12px; font-weight: 600; color: var(--green); margin-bottom: 3px; }

/* line-ups (LineupFormationView) */
.lu { background: var(--fill); border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(142, 142, 147, 0.2); }
.lu-h { display: flex; align-items: center; gap: 12px; padding: 16px; height: 72px; }
.lu-h img { width: 36px; height: 36px; object-fit: contain; }
.lu-h b { display: block; font-size: 18px; font-weight: 700; }
.lu-h small { font-size: 12px; font-weight: 500; color: #8e8e93; }
.pitch { position: relative; height: 500px; margin: 0 8px; border-radius: 12px; background: linear-gradient(rgb(0, 102, 0), rgb(0, 128, 0), rgb(0, 102, 0)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5); overflow: hidden; }
.p-mid { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255, 255, 255, 0.4); }
.p-circle { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); }
.p-box { position: absolute; left: 20%; width: 60%; height: 15%; border: 1.5px solid rgba(255, 255, 255, 0.3); }
.p-box.t { top: 0; border-top: 0; } .p-box.b { bottom: 0; border-bottom: 0; }
.pb { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; }
.jersey { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); overflow: visible; }
.jersey text { font-family: var(--sf); font-weight: 900; }
.pb span { max-width: 64px; padding: 4px 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.3); font-size: 10px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4); }
.lu-subs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 12px 16px; margin-top: 8px; background: rgba(44, 44, 46, 0.6); font-size: 16px; }
.lu-subs summary span { color: var(--label-2); font-weight: 700; font-size: 15px; }
.lu-subs summary::-webkit-details-marker { display: none; }
.lu-subs ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
.lu-subs li { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); min-width: 0; }
.lu-subs li span { display: flex; flex-direction: column; min-width: 0; }
.lu-subs li b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lu-subs li small { font-size: 11px; color: var(--label-2); }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 8px; color: var(--label-2); }
.empty b { color: var(--label); font-size: 15px; }
.empty-ic { font-size: 26px; color: var(--label-3); }

/* comments (MatchComments) */
.composer { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 999px; background: var(--fill-2); color: var(--label-2); font-size: 15px; margin-bottom: 8px; }
.composer img { border-radius: 7px; }
.composer span { flex: 1; }
.composer b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
.cms { display: flex; flex-direction: column; }
.cm { display: flex; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(235, 235, 245, 0.08); }
.cm:first-child { border-top: 0; }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; }
.cm-b { flex: 1; min-width: 0; }
.cm-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.cm-h b { font-weight: 600; }
.cm-h small { color: var(--label-2); }
.cm-h em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--green); background: rgba(48, 209, 88, 0.12); padding: 1px 6px; border-radius: 6px; }
.cm-b p { font-size: 15px; margin-top: 2px; overflow-wrap: anywhere; }
.cm-r { display: flex; gap: 6px; margin-top: 6px; }
.cm-r span { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); }
.cm-a { display: flex; gap: 16px; margin-top: 6px; font-size: 13px; color: var(--label-2); font-weight: 500; }
.cm-more { color: var(--green); }
.cm-cta { margin-top: 10px; padding: 14px; border-radius: 16px; background: rgba(48, 209, 88, 0.08); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cm-cta p { font-weight: 600; }
.stores.sm { flex-direction: row; } .stores.sm img { height: 36px; }

/* sections under the stage share one column */
.wrap { max-width: 1100px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.more, .faq { padding-top: 12px; padding-bottom: 28px; }
.more h2, .faq h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 14px; }
.faq { display: grid; grid-template-columns: 260px 1fr; gap: 0 28px; align-items: start; }
.faq h2 { position: sticky; top: 80px; }

/* more games: the app's Hub match card (HubTeamMatchCard) */
.more ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.hc { display: flex; flex-direction: column; background: var(--fill); border-radius: 22px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.06); transition: transform 0.15s, background 0.15s; height: 100%; }
.hc:hover { transform: translateY(-2px); background: #222225; }
.hc.on { box-shadow: inset 0 0 0 1.2px rgba(41, 184, 97, 0.55); }
.hc-l { display: flex; align-items: center; gap: 6px; padding: 14px 16px 0; font-size: 12px; font-weight: 600; color: var(--label-2); }
.hc-l img { width: 14px; height: 14px; object-fit: contain; }
.hc-l span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-m { flex: 1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.hc-sides { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hc-s { display: flex; align-items: center; gap: 10px; }
.hc-s img, .hc-s .logo-fallback { width: 28px; height: 28px; object-fit: contain; flex: none; }
.hc-s b { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-s em { font: 700 20px/1 var(--rounded); font-style: normal; font-variant-numeric: tabular-nums; }
.hc-s.behind b { opacity: 0.55; } .hc-s.behind em { opacity: 0.35; }
.hc-div { width: 1px; height: 54px; background: rgba(255, 255, 255, 0.08); flex: none; }
.hc-st { width: 58px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hc-st b { font: 700 20px/1.1 var(--rounded); font-variant-numeric: tabular-nums; }
.hc-st b.ft { color: var(--label-2); }
.hc-st b.live, .hc-live { color: rgb(41, 184, 97); }
.hc-st small { font-size: 11px; font-weight: 600; color: var(--label-2); }
.hc-live { display: flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; }
.hc-live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pulse 1.4s infinite; }
.hc-c { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-top: 0.5px solid rgba(84, 84, 88, 0.6); font-size: 13px; font-weight: 600; color: var(--label-2); }
.hc-c b { color: var(--label); font-variant-numeric: tabular-nums; }
.hc-c em { margin-inline-start: auto; font-style: normal; color: var(--green); }

/* footer */
.foot { margin-top: auto; flex-shrink: 0; border-top: 0.5px solid rgba(255, 255, 255, 0.08); background: linear-gradient(#000, #0a0a0c); }
.foot-in { max-width: 1280px; margin: 0 auto; padding: 28px 20px 40px; display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { border-radius: 10px; }
.foot-brand b { display: block; font-size: 17px; font-weight: 800; }
.foot-brand small { color: var(--label-2); font-size: 13px; }
.foot-stores { display: flex; gap: 8px; }
.foot-stores img { height: 36px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; font-weight: 600; color: var(--label-2); }
.foot-links a:hover { color: var(--label); }
.foot-in p { grid-column: 1 / -1; color: var(--label-3); font-size: 12px; }
.upd { color: var(--label-3); font-size: 12px; padding-bottom: 4px; }

@media (max-width: 900px) { .top-nav { display: none; } }
@media (max-width: 699px) {
  .top-in { padding: 8px 14px; gap: 10px; }
  .foot-in { padding-inline: 14px; }
  .tick-in { padding-inline: 14px; scroll-padding-inline: 14px; }
  .brand small { display: none; }
  .get { padding: 8px 12px; font-size: 13px; }
  .atabs { top: 52px; scroll-margin-top: 52px; }
  .dl-qr { display: none; }
  .dl { margin: 12px 14px 0; }
  .dl-t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .dl-t small { display: none; }
  .pitch { height: 440px; }
}

@media (max-width: 760px) {
  .faq { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .foot-in { grid-template-columns: 1fr; }
  .more ul { grid-template-columns: 1fr; }
  .dl { margin: 32px 14px 0; }
}

/* ===== league pages (/nba/, /premier-league/ ...) and the /leagues/ index ===== */
.stage.solo { grid-template-columns: minmax(0, 440px); }
.lg-h { position: relative; padding: 36px 24px 6px; text-align: center; }
.lg-h::before { content: ""; position: absolute; inset: 0 0 auto; height: 280px; pointer-events: none;
  background: linear-gradient(90deg, rgba(48, 209, 88, 0.22), rgba(10, 132, 255, 0.2));
  -webkit-mask: linear-gradient(#000, rgba(0, 0, 0, 0.5) 50%, transparent 92%); mask: linear-gradient(#000, rgba(0, 0, 0, 0.5) 50%, transparent 92%); }
.lg-h > * { position: relative; }
.lg-logo { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 28px; display: grid; place-items: center; background: #fff; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255, 255, 255, 0.3); }
.lg-logo img { width: 64px; height: 64px; object-fit: contain; }
.lg-logo b { color: #111; font-size: 22px; font-weight: 800; }
.lg-h h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.lg-h p { margin-top: 6px; color: var(--label-2); font-size: 14px; font-weight: 500; }
.lg-stats { display: flex; margin: 20px 20px 0; border-radius: 30px; background: var(--fill); overflow: hidden; }
.lg-stats > div { flex: 1; min-width: 0; padding: 14px 10px; text-align: center; }
.lg-stats > div + div { border-inline-start: 1px solid rgba(235, 235, 245, 0.12); }
.lg-stats small { display: block; font-size: 11px; font-weight: 500; color: var(--label-2); }
.lg-stats b { display: block; margin-top: 2px; font-size: 14px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.app.lg .dl { margin-top: 36px; }
/* fixtures and results: the app's match rows inside one card */
.acard.fx { padding: 4px 0; overflow: hidden; }
.fxl li + li { border-top: 0.5px solid var(--sep); }
.fxl .hc-m { padding: 14px 18px; }
.lg-about { padding-top: 12px; padding-bottom: 20px; }
.lg-about h2, .lg-more h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.lg-about p { max-width: 70ch; color: var(--label-2); line-height: 1.55; }
.lg-more { padding-top: 12px; padding-bottom: 28px; }
.lg-more h3, .lg-idx h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--label-2); font-weight: 600; margin: 18px 0 10px 4px; }
.lgcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.lgc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--fill); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.06); transition: transform 0.15s, background 0.15s; }
.lgc:hover { transform: translateY(-2px); background: #222225; }
.lgc-l { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.lgc-l img { width: 26px; height: 26px; object-fit: contain; }
.lgc-t { min-width: 0; display: flex; flex-direction: column; }
.lgc-t b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgc-t small { font-size: 12px; color: var(--label-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-idx { max-width: 1000px; }
.lg-idx section { margin-bottom: 8px; }
@media (max-width: 760px) { .lgcs { grid-template-columns: 1fr 1fr; } .lgc { padding: 10px; gap: 10px; } .lgc-l { width: 34px; height: 34px; } }
@media (max-width: 420px) { .lg-h { padding-inline: 14px; } .lg-stats { margin-inline: 14px; } .lgcs { grid-template-columns: 1fr; } }

/* league pages line up with the header: phones on its edges, sections as wide as it */
@media (min-width: 1181px) { .stage.lgs { grid-template-columns: calc(393px * var(--s)) minmax(0, 1fr) calc(393px * var(--s)); gap: 28px; } .stage.lgs.solo { grid-template-columns: minmax(0, 560px); } .lgs .phone figcaption { max-width: 100%; } }
.stage.lgs.solo { justify-content: center; }
.wrap.lgw { max-width: 1280px; }
/* the games that have a match page this week: lit, and a way in */
.fxl .fxw { background: linear-gradient(90deg, rgba(48, 209, 88, 0.1), rgba(48, 209, 88, 0.03)); box-shadow: inset 3px 0 0 var(--green); }
.fxw a { display: block; transition: background 0.15s; }
.fxw a:hover { background: rgba(48, 209, 88, 0.08); }
.fxw-c { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 12px; margin-top: -4px; font-size: 13px; font-weight: 600; color: var(--green); }
.fxw-c em { font-style: normal; font-size: 18px; line-height: 1; }
@media (max-width: 1180px) { .stage.lgs { justify-content: center; } }
@media (min-width: 1181px) { .lgs .phone { margin-inline: 7px; } }
/* right-to-left pages: the 393pt screen overflows its box to the left, so scale it from its right edge */
html[dir="rtl"] .screen { transform-origin: 100% 0; }
.tr > span:nth-child(n+3) { direction: ltr; unicode-bidi: isolate; }

/* notification bell under the header score */
.ah-notify { display: flex; justify-content: center; padding: 0 0 10px; }
.bell { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 600; color: var(--label-2); background: rgba(255,255,255,0.08); border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.bell:hover { background: rgba(255,255,255,0.14); }
.bell.on { color: #ffd60a; background: rgba(255,214,10,0.14); }
.bell.on svg path { fill: currentColor; fill-opacity: .25; }
.bell:focus-visible { outline: 2px solid #ffd60a; outline-offset: 2px; }

.dl-open { display: block; margin-top: 8px; text-align: center; font-size: 13px; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; opacity: 0.85; }
.dl-open[hidden] { display: none; }
.app-link { cursor: pointer; }
.acard.qa { margin: 14px 20px 0; padding: 16px 18px; }
.acard.qa h2 { margin: 0 0 4px; font-size: 14px; line-height: 1.3; font-weight: 700; white-space: normal; overflow-wrap: anywhere; }
.qa p { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: rgba(235, 235, 245, 0.72); }
.qa p:last-child { margin-bottom: 0; }
