/* Wyniki na żywo (B1, B2, B4, finały) i ekran TV (B3) — docs/design/HANDOFF.md.
 * Tokeny i komponenty z ds.css; tutaj tylko układ ekranów „na żywo”. */

/* ---------- Telefon, tryb nocny ---------- */
.lv { max-width: 640px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.lv-head { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.lv-kicker { font: 700 12px var(--ds-font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ds-muted); }
.lv-head .live-label { font-size: 12px; letter-spacing: .14em; }
.lv-title { font-size: 26px; line-height: .95; letter-spacing: -0.03em; }
.lv-sub { margin: 0; font-size: 13px; color: var(--ds-muted); }
.lv-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 4px; }
.lv-tabs a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 999px;
  background: var(--ds-surface); color: var(--ds-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.lv-tabs a[aria-current="page"] { background: var(--ds-ink); color: var(--ds-paper); }
.lv-main { flex: 1; padding: 0 14px 24px; display: flex; flex-direction: column; gap: 8px; }
.lv-foot { padding: 16px; font-size: 14px; }
.lv-foot a, .lv-back a { display: inline-flex; min-height: 48px; align-items: center; }
.lv-back { margin: 0; }

.lv-sec { margin-top: 16px; }
.lv-sec__h { margin-bottom: 8px; font-size: 11px; }
[data-theme="dark"] .mono-label { color: var(--ds-muted); }
.lv-empty { color: var(--ds-muted); font-size: 14px; margin: 8px 0; }
.lv-hint { font-size: 13px; color: var(--ds-muted); margin: 8px 2px 0; }
.lv-status { font-size: 12px; color: var(--ds-muted); margin: 8px 0 0; min-height: 1em; }

/* Karty ringów */
.lv-rings { display: flex; flex-direction: column; gap: 8px; }
.lv-ring { background: var(--ds-surface); border-radius: var(--ds-r-card); padding: 14px; display: flex; gap: 12px; align-items: flex-start; }
.lv-ring.is-mine { box-shadow: inset 0 0 0 1.5px var(--ds-gold); }
.lv-ring.is-done { opacity: .75; }
.lv-ring__no { width: 44px; flex: none; text-align: center; line-height: 1; }
.lv-ring__lbl { display: block; font: 700 10px var(--ds-font-mono); color: var(--ds-muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.lv-ring__no .display { font-size: 24px; }
.lv-ring.is-mine .lv-ring__no .display { font-size: 26px; }
.lv-ring__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lv-ring__breed { font-size: 17px; font-weight: 800; line-height: 1.2; }
.lv-ring__detail { margin: 0; font-size: 13px; color: var(--ds-muted); }
.lv-ring__progress { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.lv-ring__progress .progress { flex: 1; }
.lv-ring__count { font-size: 13px; font-weight: 700; white-space: nowrap; }
/* Klasa oceniona, czeka na podpis sędziego (wyniki publiczne dopiero po publikacji — judging/publish.py) */
.lv-sign { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--ds-gold); }
.lv-sign__dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--ds-gold); vertical-align: 1px; }
.lv-sign__what { display: block; padding-left: 14px; font-weight: 400; color: var(--ds-muted); font-size: 12px; }
.lv-class .lv-sign { margin: 8px 0 2px; }
.lv-mine { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .06em; background: var(--ds-gold); color: #0A1224;
  padding: 3px 7px; border-radius: 3px; text-transform: uppercase; }
.lv-mine--done { background: transparent; color: var(--ds-gold); box-shadow: inset 0 0 0 1.5px var(--ds-gold); }

/* Ostatnie wyniki */
.lv-results { list-style: none; margin: 0; padding: 0; }
.lv-res { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ds-line); }
.lv-res:last-child { border-bottom: 0; }
.lv-res .thumb { width: 48px; height: 48px; }
.lv-ph { display: grid; place-items: center; font-stretch: 125%; font-weight: 900; font-size: 15px; color: var(--ds-muted); background: var(--ds-surface); }
.lv-res__name { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.25; }
.lv-res__name a { color: inherit; text-decoration: none; }
.lv-res__meta { margin: 2px 0 0; font-size: 12px; color: var(--ds-muted); }
.lv-res__badges { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.lv-res.is-new { animation: lv-new 2.4s ease-out; }
@keyframes lv-new { from { background: rgba(242,193,78,.18); } to { background: transparent; } }

/* Wyniki: rasy */
.lv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lv-list__group { font: 700 11px var(--ds-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ds-muted); margin: 10px 0 2px; }
.lv-breed, .lv-show { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 12px;
  background: var(--ds-surface); color: var(--ds-ink); text-decoration: none; }
[data-theme="dark"] .lv-breed, [data-theme="dark"] .lv-show { color: var(--ds-ink); }
.lv-show { margin-bottom: 8px; }
.lv-show.is-live { box-shadow: inset 0 0 0 1.5px var(--ds-live); }
.lv-show strong, .lv-breed strong { display: block; font-size: 15px; line-height: 1.25; }
.lv-show__meta { display: block; font-size: 12px; color: var(--ds-muted); font-weight: 400; }
.lv-show__go { font-weight: 800; font-size: 13px; color: var(--ds-live); white-space: nowrap; }

/* B2 — wyniki rasy */
.lv-breedhead { margin: 4px 0 8px; }
.lv-breedhead h2 { font-size: 30px; }
.lv-class { margin-top: 14px; }
.lv-class__h { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 800; padding: 8px 0;
  border-bottom: 1px solid var(--ds-line-strong); }
.lv-entries { list-style: none; margin: 0; padding: 0; }
.lv-entry { padding: 10px 0; border-bottom: 1px solid var(--ds-line); }
.lv-entry.is-absent { opacity: .6; }
.lv-entry__top { display: flex; gap: 12px; align-items: center; }
.lv-entry__no { width: 48px; font-size: 22px; flex: none; }
.lv-entry__name { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.25; }
.lv-entry__res { margin: 2px 0 0; font-size: 13px; color: var(--ds-text-2); }
.lv-verified { font-weight: 700; color: #6FD39B; white-space: nowrap; }
:root:not([data-theme="dark"]) .lv-verified { color: var(--ds-ok-text); }
.lv-entry__badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 0 60px; }
.lv-crit { margin: 6px 0 0 60px; font-size: 14px; }
.lv-crit summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--ds-gold); font-weight: 700; }
.lv-crit p { margin: 0 0 4px; color: var(--ds-text-2); line-height: 1.5; }
.lv-place { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 900; font-size: 16px;
  box-shadow: inset 0 0 0 3px var(--ds-line-strong); }
.lv-place--1 { background: var(--ds-gold); color: #0A1224; box-shadow: none; }
.lv-place--2 { box-shadow: inset 0 0 0 3px #CDD2DB; }
.lv-place--3 { box-shadow: inset 0 0 0 3px var(--ds-bronze); }

/* B4 — katalog */
.lv-search { display: flex; gap: 8px; position: sticky; top: 0; z-index: 5; padding: 8px 0; background: var(--ds-paper); }
.lv-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--ds-line-strong);
  background: var(--ds-surface); color: var(--ds-ink); font: 16px var(--ds-font); }
.lv-search input:focus { outline: none; border-color: var(--ds-gold); }
.lv-count { margin: 0; font-size: 13px; color: var(--ds-muted); }
.lv-cat { list-style: none; margin: 0; padding: 0; }
.lv-cat__group { font: 700 12px var(--ds-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ds-gold); margin: 18px 0 4px; }
.lv-cat__breed { font-size: 18px; font-weight: 800; margin: 10px 0 2px; }
.lv-cat__breed a { color: var(--ds-ink); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.lv-cat__class { font: 700 11px var(--ds-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ds-muted);
  padding: 6px 0; border-bottom: 1px solid var(--ds-line); }
.lv-cat__row { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ds-line); }
.lv-cat__no { width: 52px; flex: none; font-size: 20px; }
.lv-cat__row strong { display: block; font-size: 15px; line-height: 1.25; }

/* Finały (telefon) */
.lv-podium { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lv-fin { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px 0; }
.lv-fin--1 { background: var(--ds-surface); border-radius: 12px; padding: 12px; box-shadow: inset 0 0 0 1.5px var(--ds-gold); }
.lv-group { background: var(--ds-surface); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.lv-group h3 { font-size: 16px; font-weight: 800; display: flex; justify-content: space-between; align-items: baseline; }

.badge--bronze { background: var(--ds-bronze); color: #0B1426; }

@media (min-width: 720px) {
  .lv { max-width: 1040px; }
  .lv-rings { display: grid; grid-template-columns: repeat(2, 1fr); }
}

/* ---------- B3 — ekran TV / rzutnik (scena 1280×720 skalowana w live.js) ---------- */
.tv-body { overflow: hidden; background: #070D1B; color: #fff; }
.tv-fit { position: fixed; inset: 0; display: grid; place-items: center; }
.tv-stage { width: 1280px; height: 720px; flex: none; position: relative; overflow: hidden; background: #070D1B;
  transform: scale(var(--tv-scale, 1)); transform-origin: center; }
.tv-bis { display: grid; grid-template-columns: 520px 1fr; height: 100%; }
.tv-photo { position: relative; height: 720px; }
.tv-photo img { width: 100%; height: 100%; object-fit: cover; }
.tv-photo::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 120px;
  background: linear-gradient(90deg, rgba(7,13,27,0), #070D1B); pointer-events: none; }
.tv-photo__ph { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 40% 40%, #17223D, #070D1B 70%); }
.tv-photo__ph .rosette { width: 220px; height: 220px; }
.tv-info { padding: 48px 56px 0 32px; display: flex; flex-direction: column; position: relative; min-width: 0; }
.tv-deco { position: absolute; border-radius: 50%; box-sizing: border-box; pointer-events: none; }
.tv-deco--gold { right: -140px; top: -140px; width: 520px; height: 520px; border: 40px solid rgba(242,193,78,.08); }
.tv-deco--red { right: -60px; top: -60px; width: 360px; height: 360px; border: 30px solid rgba(200,50,43,.10); }
.tv-top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.tv-live { font-size: 14px; letter-spacing: .16em; color: #3DDC84; }
.tv-title { margin-top: 56px; display: flex; align-items: center; gap: 18px; position: relative; }
.tv-rosette { width: 84px; height: 84px; border-radius: 50%; background: #F2C14E; display: grid; place-items: center; flex: none; }
.tv-rosette > span { width: 62px; height: 62px; border-radius: 50%; background: #C8322B; display: grid; place-items: center; }
.tv-rosette > span > span { width: 40px; height: 40px; border-radius: 50%; background: #070D1B; display: grid; place-items: center;
  font-size: 20px; font-stretch: 125%; font-weight: 900; color: #F2C14E; }
.tv-bis-label { font-size: 30px; font-stretch: 125%; font-weight: 900; letter-spacing: .02em; color: #F2C14E; text-transform: uppercase; }
.tv-name { margin: 22px 0 0; font-size: 76px; line-height: .9; letter-spacing: -0.04em; position: relative; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tv-meta { margin: 22px 0 0; display: flex; gap: 28px; align-items: baseline; font-size: 22px; color: #C9D3E6; }
.tv-no { font: 700 20px var(--ds-font-mono); color: #fff; }
.tv-people { font-size: 18px; color: #9AA6BF; margin: 6px 0 0; }
.tv-runners { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #22304F; }
.tv-runner { padding: 22px 0; display: flex; gap: 16px; align-items: center; min-width: 0; }
.tv-runner + .tv-runner { border-left: 1px solid #22304F; padding-left: 24px; }
.tv-runner__no { width: 48px; height: 48px; border-radius: 50%; border: 5px solid #CDD2DB; box-sizing: border-box; flex: none;
  display: grid; place-items: center; font-size: 20px; font-weight: 900; }
.tv-runner__no--3 { border-color: #C9905A; }
.tv-runner__name { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.2; }
.tv-runner__meta { margin: 0; font-size: 15px; color: #9AA6BF; }

.tv-wait { height: 100%; padding: 48px 56px; display: flex; flex-direction: column; position: relative; }
.tv-showname { font-size: 18px; color: #9AA6BF; font-weight: 700; }
.tv-wait__brand { margin-top: 72px; display: flex; flex-direction: column; gap: 28px; position: relative; }
.tv-wait__logo { display: inline-block; }
.tv-wait__h { font-size: 64px; color: #F2C14E; }
.tv-wait__list { margin-top: auto; border-top: 1px solid #22304F; padding-top: 20px; }
.tv-wait__cap { margin: 0 0 14px; font: 700 14px var(--ds-font-mono); letter-spacing: .16em; text-transform: uppercase; color: #9AA6BF; }
.tv-wait__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 24px; }
.tv-gw { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tv-gw__g { width: 44px; height: 44px; border-radius: 50%; background: #F2C14E; color: #070D1B; flex: none; display: grid; place-items: center;
  font-weight: 900; font-size: 15px; }
.tv-gw__name { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-head .logo, [data-theme="dark"] .lv-head .logo { color: var(--ds-ink); }
.lv [hidden] { display: none !important; }

/* B3 — finał w toku (grupa albo rozdawane lokaty BIS), zanim padnie Best in Show */
.tv-cur { margin-top: 48px; position: relative; }
.tv-cur__cap { margin: 0 0 18px; font: 700 18px var(--ds-font-mono); letter-spacing: .14em; text-transform: uppercase; color: #F2C14E; }
.tv-cur__cap span { color: #9AA6BF; letter-spacing: .06em; }
.tv-cur__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tv-cur__row { display: flex; gap: 20px; align-items: center; min-width: 0; }
.tv-cur__no { width: 56px; height: 56px; border-radius: 50%; border: 5px solid #CDD2DB; box-sizing: border-box; flex: none;
  display: grid; place-items: center; font-size: 24px; font-weight: 900; }
.tv-cur__no--1 { background: #F2C14E; border-color: #F2C14E; color: #070D1B; }
.tv-cur__no--3, .tv-cur__no--4 { border-color: #C9905A; }
.tv-cur__txt { min-width: 0; }
.tv-cur__wait { margin: -6px 0 22px; font-size: 20px; font-weight: 700; color: #CDD2DB; }
.tv-cur__list--cands { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.tv-cur__list--cands .tv-cur__name { font-size: 26px; }
.tv-cur__no--cand { font-size: 17px; border-color: #3A4560; color: #CDD2DB; }
.tv-cur__name { margin: 0; font-size: 34px; font-weight: 900; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1.05;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-fin__judge { margin: 0 0 6px; }

/* B1 — karta ringu honorowego (finały w toku) */
.lv-ring--honor { box-shadow: inset 0 0 0 1.5px var(--ds-gold); color: var(--ds-ink); text-decoration: none; }
.lv-ring__lbl--gold { color: var(--ds-gold); margin: 0; }
.tv-gw > div { min-width: 0; }
@media (max-width: 420px) {
  /* „NA ŻYWO · NDZ 27.9 · 15:31” w jednym wierszu; przełącznik języka i logo — wiersz wyżej (od lewej), gdy się nie mieszczą */
  .lv-head .live-label { font-size: 11px; letter-spacing: .06em; gap: 6px; white-space: nowrap; }
  .lv-head > .row:first-child { flex-wrap: wrap-reverse; row-gap: 2px; }
  .lv-title { margin-top: 2px; }
}

/* Wystawa odwołana (0.15.0). */
.lv-cancelled { margin: 4px 0 8px; padding: 12px 14px; border-radius: 10px; background: rgba(200,50,43,.16); color: #FFB4AE;
  border: 1px solid rgba(238,138,131,.5); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.lv-cancelled-tag { color: #FFB4AE; text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }

/* Zaślepka „nie transmitujemy” (0.23.1) */
.lv-idle { border: 1px solid var(--ds-line, rgba(255,255,255,.14)); border-radius: 14px; padding: 22px 20px; margin: 8px 0 4px;
  display: grid; gap: 6px; justify-items: start; }
.lv-idle__mark { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ds-muted); display: grid; place-items: center; margin-bottom: 4px; }
.lv-idle__mark span { width: 6px; height: 6px; border-radius: 50%; background: var(--ds-muted); }
.lv-idle__h { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.3; text-wrap: balance; }
.lv-idle__p { margin: 0; color: var(--ds-muted); font-size: 14px; max-width: 46ch; }
.lv-idle__next { margin: 6px 0 0; font-size: 14px; }
.live-label.is-idle { color: var(--ds-muted); }
.live-label.is-idle .live-dot { background: var(--ds-muted); animation: none; box-shadow: none; }

/* ---------- Totem ringu (0.24.0) — scena 1280×720 jak B3 ---------- */
.tt-nocursor, .tt-nocursor * { cursor: none !important; }
.tt { height: 100%; padding: 32px 48px 24px; display: flex; flex-direction: column; position: relative; box-sizing: border-box; }
.tt-top { display: flex; align-items: center; gap: 28px; position: relative; }
.tt-ring { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 132px; height: 112px; border-radius: 18px;
  background: #F2C14E; color: #070D1B; flex: none; }
.tt-ring__lbl { font: 800 14px var(--ds-font-mono); letter-spacing: .2em; text-transform: uppercase; }
.tt-ring__no { font-size: 72px; line-height: .9; font-weight: 900; }
.tt-head { flex: 1; min-width: 0; }
.tt-judge { margin: 0; font-size: 26px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-show { margin: 4px 0 0; font-size: 18px; color: #9AA6BF; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-live { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.tt-stamp { font: 700 20px var(--ds-font-mono); color: #C9D3E6; }
.tt-cap { margin: 0 0 10px; font: 700 16px var(--ds-font-mono); letter-spacing: .16em; text-transform: uppercase; color: #9AA6BF; }
.tt-cap--gold { color: #F2C14E; }
.tt-main { flex: 1; display: grid; grid-template-columns: 1fr 380px; gap: 40px; margin-top: 28px; min-height: 0; position: relative; }
.tt-now { min-width: 0; display: flex; flex-direction: column; }
.tt-breed { margin: 0; font-size: 60px; line-height: .95; letter-spacing: -0.03em; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tt-class { margin: 12px 0 0; font-size: 28px; font-weight: 800; color: #F2C14E; }
.tt-class span { color: #9AA6BF; font-weight: 700; font-size: 22px; }
.tt-nums { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.tt-num { height: 56px; border-radius: 12px; display: grid; place-items: center; font: 800 28px var(--ds-font-mono);
  background: #17223D; color: #fff; }
.tt-num.is-done { background: transparent; color: #4A5672; box-shadow: inset 0 0 0 2px #22304F; }
.tt-num.is-current { background: #3DDC84; color: #070D1B; box-shadow: 0 0 0 4px rgba(61,220,132,.25); }
.tt-num--more { background: transparent; color: #9AA6BF; font-size: 22px; }
.tt-sign { margin: auto 0 0; padding-top: 14px; font-size: 20px; font-weight: 700; color: #F2C14E; }
.tt-sign span:last-child { color: #C9D3E6; font-weight: 400; }
.tt-next { border-left: 1px solid #22304F; padding-left: 32px; min-width: 0; display: flex; flex-direction: column; }
.tt-recent { margin-top: auto; padding-top: 16px; border-top: 1px solid #22304F; }
.tt-recent__breed { margin: 0 0 6px; font-size: 20px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-recent__row { margin: 4px 0 0; display: grid; grid-template-columns: 64px 48px 1fr; gap: 8px; font-size: 18px; align-items: baseline; }
.tt-recent__row span:first-child { font-weight: 900; color: #F2C14E; }
.tt-recent__no { font: 700 18px var(--ds-font-mono); }
.tt-recent__dog { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-group + .tt-group { margin-top: 22px; padding-top: 18px; border-top: 1px solid #22304F; }
.tt-group__breed { margin: 0; font-size: 28px; font-weight: 900; line-height: 1.05; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.tt-group__class { margin: 6px 0 0; font-size: 19px; color: #C9D3E6; font-weight: 700; }
.tt-group__nums { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tt-group__nums span { font: 700 19px var(--ds-font-mono); padding: 4px 9px; border-radius: 8px; background: #17223D; }
.tt-group__nums .tt-more { background: transparent; color: #9AA6BF; }
.tt-next__none { font-size: 20px; color: #9AA6BF; }
.tt-msg { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; }
.tt-msg__h { margin: 0; font-size: 64px; color: #F2C14E; line-height: 1; }
.tt-msg__sub { margin: 18px 0 0; font-size: 24px; color: #C9D3E6; }
.tt-foot { display: flex; align-items: center; gap: 28px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #22304F; position: relative; }
.tt-progress { display: flex; align-items: center; gap: 16px; flex: none; }
.tt-progress .progress { width: 220px; }
.tt-count { font: 700 18px var(--ds-font-mono); color: #C9D3E6; white-space: nowrap; }
.tt-last { flex: 1; min-width: 0; margin: 0; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-last__cap { font: 700 13px var(--ds-font-mono); letter-spacing: .14em; text-transform: uppercase; color: #F2C14E; margin-right: 8px; }
.tt-foot .logo { margin-left: auto; color: #fff; }
.tt-podium { flex: 1; margin-top: 26px; position: relative; display: flex; flex-direction: column; }
.tt-podium__breed { margin: 0; font-size: 64px; line-height: .95; color: #F2C14E; letter-spacing: -0.03em; }
.tt-podium__list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.tt-win { display: grid; grid-template-columns: 150px 110px 1fr; align-items: center; gap: 22px; padding: 12px 18px; border-radius: 16px; background: #10192F; }
.tt-win--1 { background: #F2C14E; color: #070D1B; }
.tt-win__title { font-size: 34px; font-weight: 900; font-stretch: 125%; }
.tt-win__no { font: 800 36px var(--ds-font-mono); }
.tt-win__txt { min-width: 0; display: flex; flex-direction: column; }
.tt-win__dog { font-size: 32px; font-weight: 900; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-win__meta { font-size: 18px; opacity: .75; font-weight: 700; }
.tt-page[hidden] { display: none !important; }
.tt-page { display: flex; flex-direction: column; min-height: 0; }
.tt-podium__breed--sm { font-size: 44px; }
.tt-classes { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; }
.tt-cls { min-width: 0; background: #10192F; border-radius: 14px; padding: 12px 16px; }
.tt-cls__h { margin: 0 0 6px; font-size: 20px; font-weight: 900; color: #F2C14E; }
.tt-cls__row { margin: 4px 0 0; display: grid; grid-template-columns: 40px 52px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; font-size: 18px; }
.tt-cls__place { font-weight: 900; color: #F2C14E; }
.tt-cls__no { font: 700 18px var(--ds-font-mono); }
.tt-cls__dog { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-cls__res { font-size: 15px; color: #C9D3E6; white-space: nowrap; }
.tt-lc { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #22304F; }
.tt-lc__h { margin: 0 0 6px; font-size: 21px; font-weight: 900; }
.tt-lc__row { margin: 6px 0 0; display: grid; grid-template-columns: 92px 76px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.tt-lc__place { font-size: 20px; font-weight: 800; color: #C9D3E6; }
.tt-lc__no { font: 800 30px var(--ds-font-mono); }
.tt-lc__aw { font: 700 17px var(--ds-font-mono); color: #F2C14E; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-lc__wait { margin: 8px 0 0; font-size: 15px; color: #9AA6BF; }
.tt-lc--big { margin-top: 22px; border-bottom: 0; max-width: 760px; }
.tt-lc--big .tt-lc__h { font-size: 30px; }
.tt-lc--big .tt-lc__row { grid-template-columns: 130px 120px minmax(0, 1fr); margin-top: 10px; }
.tt-lc--big .tt-lc__place { font-size: 28px; }
.tt-lc--big .tt-lc__no { font-size: 44px; }
.tt-lc--big .tt-lc__aw { font-size: 24px; }
.tt-lc--big .tt-lc__wait { font-size: 20px; margin-top: 16px; }
.tt-end { flex: 1; display: flex; flex-direction: column; justify-content: center; min-height: 420px; }
.tt-end__h { margin: 0; font-size: 96px; line-height: .95; color: #F2C14E; letter-spacing: -0.03em; }
.tt-end__sub { margin: 26px 0 0; font-size: 26px; color: #C9D3E6; font-weight: 700; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tt-lang { height: 100%; }
.tt-lang[hidden] { display: none !important; }
