/**
 * «Vitrine da Liga» — SLUG v8 (DEM-174).
 * Cor da liga = acento do tema da organização (--v7-accent / --color-accent); GRID RIVAL (#d4ff00) só na ação «Quero correr».
 * Ouro/prata/bronze e Lenda seguem o docs/guia_de_estilo_oficial.md. Movimento desligado com prefers-reduced-motion.
 * v1.0 (2026-11-09)
 */
.vit-home {
  --vit-org: var(--v7-accent, var(--color-accent, #e3001b));
  --vit-go: #d4ff00;
  --vit-go-ink: #0b0d00;
  --vit-bg: #07080b;
  --vit-panel: #101219;
  --vit-panel-2: #161924;
  --vit-line: #252937;
  --vit-fg: #f3f4f7;
  --vit-muted: #a3a9ba;
  --vit-dim: #6b7184;
  --vit-gold: #ffc400;
  --vit-silver: #c9d1db;
  --vit-bronze: #e09155;
  --vit-s0: #1fa3ff;
  --vit-s1: #8b6cff;
  --vit-s2: #2fbf71;
  --vit-s3: #ff8a3d;
  --vit-display: 'Exo 2', system-ui, sans-serif;
  --vit-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  color: var(--vit-fg);
  font-family: var(--vit-display);
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* trilhos com rolagem própria (pódios, anos) não alargam a página */
  gap: 0;
  margin-bottom: 24px;
}
.vit-home *, .vit-home *::before, .vit-home *::after { box-sizing: border-box; }
.vit-home a { color: inherit; text-decoration: none; }
.vit-home :focus-visible { outline: 2px solid var(--vit-go); outline-offset: 3px; border-radius: 8px; }
.vit-home img { max-width: 100%; }
.vit-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vit-s0 { --vit-season: var(--vit-s0); } .vit-s1 { --vit-season: var(--vit-s1); }
.vit-s2 { --vit-season: var(--vit-s2); } .vit-s3 { --vit-season: var(--vit-s3); }

.vit-eyebrow { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--vit-muted); }
.vit-stage { font-family: var(--vit-display); font-style: italic; font-weight: 900; letter-spacing: -.01em; line-height: .95; text-wrap: balance; }
.vit-note { color: var(--vit-muted); font-size: .82rem; margin: 10px 0 0; }
.vit-section { padding-block: 44px; border-top: 1px solid var(--vit-line); }
.vit-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.vit-sec-head h2 { margin: 6px 0 0; font-size: clamp(1.7rem, 3.4vw, 2.6rem); color: var(--vit-fg); }
.vit-more { font-weight: 800; font-size: .86rem; border-bottom: 2px solid var(--vit-org); padding-bottom: 2px; white-space: nowrap; }
.vit-more:hover { color: var(--vit-go) !important; border-color: var(--vit-go); }

/* botões e chips */
.vit-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.vit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 800 .92rem var(--vit-display); padding: 12px 18px; min-height: 44px; border-radius: 12px; border: 1px solid var(--vit-line); background: var(--vit-panel-2); color: var(--vit-fg) !important; cursor: pointer; transition: transform .15s, border-color .15s; }
.vit-btn:hover { transform: translateY(-2px); border-color: var(--vit-muted); }
.vit-btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.vit-btn.is-sm { font-size: .8rem; padding: 9px 13px; min-height: 40px; }
.vit-btn-go { background: var(--vit-go); color: var(--vit-go-ink) !important; border-color: var(--vit-go); box-shadow: 0 8px 28px rgba(212, 255, 0, .22); }
.vit-btn-go:hover { border-color: var(--vit-go); }
.vit-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vit-chip { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: rgba(10, 11, 16, .7); border: 1px solid var(--vit-line); color: #d4d8e1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vit-chip.is-season { border-color: var(--vit-season, var(--vit-org)); color: var(--vit-fg); }
.vit-chip.is-ok { border-color: #2fbf71; color: #7be3a8; }
.vit-chip.is-warn { border-color: #ffb020; color: #ffd27a; }

/* HERO */
.vit-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; border: 1px solid var(--vit-line); background: var(--vit-bg); padding: clamp(24px, 4vw, 56px) clamp(18px, 3.5vw, 48px) clamp(20px, 3vw, 36px); margin-bottom: 8px; }
.vit-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; z-index: -2; }
.vit-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, var(--vit-bg) 8%, rgba(7, 8, 11, .9) 45%, rgba(7, 8, 11, .45) 78%, rgba(7, 8, 11, .75)),
  linear-gradient(0deg, var(--vit-bg) 2%, transparent 50%),
  repeating-linear-gradient(100deg, transparent 0 46px, color-mix(in srgb, var(--vit-org) 8%, transparent) 46px 48px); }
.vit-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 40px); align-items: end; }
.vit-hero-id { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.vit-hero-id > img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #000; border: 3px solid var(--vit-org); box-shadow: 0 0 0 6px color-mix(in srgb, var(--vit-org) 22%, transparent), 0 0 36px color-mix(in srgb, var(--vit-org) 45%, transparent); flex: none; }
.vit-legend-pill { display: inline-block; margin-top: 6px; font-weight: 900; font-style: italic; font-size: .76rem; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; background: linear-gradient(90deg, #ff4ecd, #ffc400, #38f9d7); color: #111; text-transform: uppercase; }
/* DEM-183: o nome da liga cabe na coluna. O tamanho sai da maior palavra (--vit-title-ch) e da largura da coluna; palavra só quebra se nem no tamanho mínimo couber. */
.vit-hero-copy { container-type: inline-size; }
.vit-title { margin: 0; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4.4rem); color: var(--vit-fg); text-shadow: 0 6px 40px rgba(0, 0, 0, .6); overflow-wrap: break-word; }
@supports (width: 1cqi) { .vit-title { font-size: clamp(2rem, calc(100cqi / (var(--vit-title-ch, 10) * .7)), 4.4rem); } }
.vit-tagline { font-size: clamp(1.02rem, 1.7vw, 1.25rem); color: #d6d9e2; max-width: 36ch; margin: 14px 0 22px; }

.vit-cluster { background: linear-gradient(160deg, rgba(22, 25, 36, .93), rgba(10, 11, 16, .96)); border: 1px solid var(--vit-line); border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); min-width: 0; }
.vit-cluster.is-live { border-color: rgba(255, 59, 63, .6); }
.vit-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: .72rem; letter-spacing: .14em; color: #ff6a6e; }
.vit-live i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3f; animation: vit-pulse 1.8s infinite; }
@keyframes vit-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 63, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 59, 63, 0); } }
.vit-cluster-title { margin: 10px 0 4px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--vit-fg); }
.vit-sub { color: var(--vit-muted); font-size: .86rem; margin: 0; }
.vit-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.vit-count div { background: #05060a; border: 1px solid var(--vit-line); border-radius: 12px; padding: 10px 4px; text-align: center; }
.vit-count b { display: block; font-family: var(--vit-mono); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--vit-fg); font-variant-numeric: tabular-nums; }
.vit-count span { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--vit-dim); }
.vit-cluster .vit-chips { margin-bottom: 14px; }

.vit-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--vit-line); border: 1px solid var(--vit-line); border-radius: 18px; overflow: hidden; margin: 32px 0 0; }
.vit-stats > div { background: rgba(10, 11, 16, .86); padding: 16px 20px; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.vit-stats dd { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--vit-fg); font-variant-numeric: tabular-nums; }
.vit-stats dd small { font-size: .45em; color: var(--vit-muted); }
.vit-stats dt { color: var(--vit-muted); font-size: .82rem; font-weight: 600; }

/* DUELOS */
.vit-duels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vit-duels.is-single { grid-template-columns: minmax(0, 760px); }
.vit-duel { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--vit-line); background: var(--vit-panel); display: flex; flex-direction: column; min-width: 0; }
.vit-duel-top { position: relative; isolation: isolate; padding: 20px 20px 4px; min-height: 230px; }
.vit-duel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; z-index: -2; }
.vit-duel-top::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 18, 25, .25), var(--vit-panel) 92%); }
.vit-duel-class { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.vit-car { position: absolute; right: -8px; top: 56px; width: min(46%, 250px); z-index: -1; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .7)); }
.vit-leader { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 16px; }
.vit-helmet { position: relative; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--vit-gold) 34%, transparent), transparent 66%); }
.vit-helmet > img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .6)); }
.vit-helmet > img.is-photo { width: 104px; height: 104px; object-fit: cover; border-radius: 50%; border: 3px solid var(--vit-gold); }
.vit-mono { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font: italic 900 2.4rem var(--vit-display); color: var(--vit-fg); background: conic-gradient(from 200deg, var(--vit-team, var(--vit-org)), #0b0c10 70%, var(--vit-team, var(--vit-org))); border: 3px solid var(--vit-gold); }
.vit-helmet.rar-lenda .vit-mono, .vit-helmet.rar-lenda > img.is-photo { border-color: #ff4ecd; }
.vit-pos1 { position: absolute; top: -4px; left: -4px; z-index: 1; font: italic 900 1.3rem var(--vit-display); color: #111; background: var(--vit-gold); border-radius: 10px; padding: 1px 9px; box-shadow: 0 6px 18px rgba(255, 196, 0, .4); }
.vit-leader-copy { min-width: 0; }
.vit-leader h3 { margin: 4px 0 2px; font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: var(--vit-fg); text-transform: uppercase; overflow-wrap: anywhere; }
.vit-team { color: var(--vit-muted); font-size: .9rem; }
.vit-leader-nums { display: flex; gap: 18px; margin: 8px 0 0; }
.vit-leader-nums div { display: flex; flex-direction: column; }
.vit-leader-nums dd { margin: 0; font: italic 900 1.8rem var(--vit-display); font-variant-numeric: tabular-nums; }
.vit-leader-nums dt { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--vit-dim); }
.vit-gap { padding: 14px 20px; }
.vit-gap-line { display: flex; justify-content: space-between; gap: 10px; font-weight: 800; font-size: .84rem; margin-bottom: 8px; }
.vit-gap-line span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vit-bar { height: 12px; border-radius: 999px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .16) 0 6px, transparent 6px 12px), #06070a; border: 1px solid var(--vit-line); position: relative; overflow: hidden; }
.vit-bar i { position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); border-radius: 999px; background: linear-gradient(90deg, var(--vit-gold), #ffdf6b); }
.vit-gap p { margin: 10px 0 0; color: var(--vit-muted); font-size: .86rem; }
.vit-top5 { list-style: none; margin: 0; padding: 0 20px 6px; }
.vit-top5 li { display: grid; grid-template-columns: 34px 4px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--vit-line); }
.vit-p { font: italic 900 1.05rem var(--vit-display); color: var(--vit-muted); }
.vit-top5 .pos-1 .vit-p { color: var(--vit-gold); } .vit-top5 .pos-2 .vit-p { color: var(--vit-silver); } .vit-top5 .pos-3 .vit-p { color: var(--vit-bronze); }
.vit-stripe { height: 26px; border-radius: 2px; background: var(--vit-row, #3a3c48); }
.vit-n { min-width: 0; }
.vit-n strong { display: block; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vit-n small { display: block; color: var(--vit-dim); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vit-s { font: italic 900 1.15rem var(--vit-display); font-variant-numeric: tabular-nums; }
.vit-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 20px; margin-top: auto; }

/* BANDEIRADA */
.vit-flag-sec { background: linear-gradient(180deg, transparent, rgba(255, 196, 0, .03), transparent); }
.vit-flag { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: 20px; align-items: start; }
.vit-podium-stage { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; border-radius: 24px; border: 1px solid var(--vit-line); padding: 24px;
  background: radial-gradient(ellipse at 50% 120%, rgba(255, 196, 0, .18), transparent 60%), var(--vit-panel); }
.vit-podium-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-conic-gradient(from 0deg at 50% 110%, rgba(255, 255, 255, .035) 0 4deg, transparent 4deg 12deg); }
.vit-ps-head h3 { margin: 4px 0 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.vit-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; align-items: end; padding-top: 22px; }
.vit-pod { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.vit-pod .vit-hm { width: min(118px, 90%); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)); }
.vit-pod .vit-hm.is-photo { object-fit: cover; border-radius: 50%; border: 3px solid var(--vit-row, var(--vit-line)); width: min(96px, 80%); }
.vit-pod.p1 .vit-hm { width: min(150px, 100%); }
.vit-pod .vit-mono { width: 84px; height: 84px; font-size: 1.8rem; border-color: var(--vit-row, var(--vit-line)); }
.vit-pod .vit-cr { width: 100%; max-width: 210px; margin-top: -16px; }
.vit-pod h4 { margin: 6px 0 0; font: italic 900 1.05rem/1.1 var(--vit-display); max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; color: var(--vit-fg); }
.vit-tm, .vit-ptsday { font-size: .78rem; color: var(--vit-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vit-ptsday { font-family: var(--vit-mono); color: #cfd3dd; }
.vit-step { width: 100%; margin-top: 10px; border-radius: 12px 12px 4px 4px; display: grid; place-items: center; font: italic 900 2rem var(--vit-display); color: #111; }
.vit-pod.p2 .vit-step { height: 70px; background: linear-gradient(180deg, #e8edf3, var(--vit-silver)); }
.vit-pod.p1 .vit-step { height: 106px; background: linear-gradient(180deg, #ffe27a, var(--vit-gold)); font-size: 2.7rem; }
.vit-pod.p3 .vit-step { height: 54px; background: linear-gradient(180deg, #f2b383, var(--vit-bronze)); }
.vit-reel { border-radius: 24px; border: 1px solid var(--vit-line); background: var(--vit-panel); padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vit-phone { position: relative; isolation: isolate; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 18px; overflow: hidden; background: #000; border: 2px solid #2b2f3d; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; gap: 2px; }
.vit-phone-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: -2; }
.vit-phone::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #000 30%, transparent 75%); }
.vit-phone-hm { width: 64%; margin: 0 auto -4px; filter: drop-shadow(0 10px 18px #000); }
.vit-phone .vit-eyebrow { color: #fff; font-size: .62rem; }
.vit-phone strong { font-size: clamp(1.3rem, 2vw, 1.7rem); color: #fff; }
.vit-phone strong span { color: var(--vit-gold); }
.vit-phone small { color: #cfd3dd; font-size: .7rem; }
.vit-recent { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 6px; margin-top: 20px; scrollbar-width: thin; }
.vit-rc { background: var(--vit-panel); border: 1px solid var(--vit-line); border-radius: 16px; padding: 14px; min-width: 0; }
.vit-rc-d { font-family: var(--vit-mono); font-size: .72rem; color: var(--vit-dim); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vit-rc h5 { margin: 4px 0 8px; font: italic 900 .98rem var(--vit-display); color: var(--vit-fg); }
.vit-rc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: .83rem; }
.vit-rc li { display: flex; gap: 8px; min-width: 0; }
.vit-rc li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vit-rc li b { width: 24px; flex: none; font-style: italic; }
.vit-rc li:nth-child(1) b { color: var(--vit-gold); } .vit-rc li:nth-child(2) b { color: var(--vit-silver); } .vit-rc li:nth-child(3) b { color: var(--vit-bronze); }

/* CALENDÁRIO */
.vit-track { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.vit-track::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 3px; background: repeating-linear-gradient(90deg, var(--vit-line) 0 14px, transparent 14px 22px); }
.vit-ev { position: relative; padding-top: 56px; min-width: 0; }
.vit-ev::before { content: ""; position: absolute; top: 18px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--vit-bg); border: 3px solid var(--vit-season, var(--vit-muted)); }
.vit-ev.is-next::before { background: var(--vit-go); border-color: var(--vit-go); box-shadow: 0 0 0 6px rgba(212, 255, 0, .15); }
.vit-ev-dt { display: block; font-size: 1.55rem; color: var(--vit-fg); }
.vit-ev-dt small { font: 600 .8rem var(--vit-display); color: var(--vit-muted); margin-left: 6px; }
.vit-ev h5 { margin: 2px 0; font-size: .98rem; font-weight: 800; color: var(--vit-fg); }
.vit-ev p { margin: 0; color: var(--vit-muted); font-size: .8rem; }

/* HALL DA FAMA */
.vit-fame-sec { background: var(--vit-panel); border-radius: 24px; border: 1px solid var(--vit-line); padding-inline: clamp(16px, 2.5vw, 28px); margin-block: 8px; }
.vit-fame { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.vit-plaque { position: relative; overflow: hidden; border-radius: 20px; padding: 20px; background: linear-gradient(170deg, var(--vit-panel-2), #0d0f15); border: 1px solid var(--vit-line); transition: transform .15s, border-color .15s; }
.vit-plaque:hover { transform: translateY(-2px); border-color: var(--vit-muted); }
.vit-plaque::after { content: attr(data-big); position: absolute; right: -4px; bottom: -26px; font: italic 900 7rem var(--vit-display); color: rgba(255, 255, 255, .035); pointer-events: none; }
.vit-plaque.is-legend { border-color: transparent; background: linear-gradient(170deg, var(--vit-panel-2), #0d0f15) padding-box, linear-gradient(135deg, #ff4ecd, #ffc400, #38f9d7) border-box; }
.vit-plaque h4 { margin: 6px 0 14px; font: italic 900 1.12rem var(--vit-display); color: var(--vit-fg); }
.vit-plaque ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vit-plaque li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; }
.vit-plaque li i { font-style: italic; font-weight: 900; color: var(--vit-dim); }
.vit-plaque li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.vit-plaque li b { font: italic 900 1.25rem var(--vit-display); font-variant-numeric: tabular-nums; }
.vit-plaque li:first-child { font-size: 1.08rem; }
.vit-plaque li:first-child i, .vit-plaque li:first-child b { color: var(--vit-gold); }
.vit-plaque li:first-child b { font-size: 1.9rem; }
.vit-years { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: thin; }
.vit-years a { flex: none; font: italic 900 1.02rem var(--vit-display); padding: 9px 15px; border-radius: 12px; border: 1px solid var(--vit-line); background: var(--vit-bg); color: var(--vit-muted) !important; }
.vit-years a:hover { color: var(--vit-fg) !important; border-color: var(--vit-org); }
.vit-years a.is-now { color: #111 !important; background: var(--vit-fg); }
.vit-gapyr { flex: none; align-self: center; color: var(--vit-dim); font-size: .75rem; }

/* ARQUIVO */
.vit-explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1020px) { .vit-explore { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vit-explore { grid-template-columns: minmax(0, 1fr); } }
.vit-tile { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--vit-panel); border: 1px solid var(--vit-line); transition: border-color .15s, transform .15s; min-width: 0; }
.vit-tile:hover { border-color: var(--vit-org); transform: translateY(-2px); }
.vit-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--vit-org) 16%, transparent); color: var(--vit-org); }
.vit-tile strong { display: block; font-weight: 800; color: var(--vit-fg); }
.vit-tile small { color: var(--vit-muted); font-size: .8rem; }

/* PARCEIRO, GRID, LIGA */
.vit-partner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 18px 22px; margin-block: 8px 0; border-radius: 20px; border: 1px solid var(--vit-line); background: var(--vit-panel); }
.vit-partner-logos { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.vit-partner-logos img { height: 64px; width: auto; max-width: 200px; object-fit: contain; border-radius: 8px; background: #fff; }
.vit-partner p { margin: 0; color: var(--vit-muted); font-size: .9rem; flex: 1; min-width: 200px; }
.vit-join { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.vit-join.is-single { grid-template-columns: minmax(0, 760px); }
.vit-jcard { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; min-height: 290px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 8px; padding: 22px; border: 1px solid var(--vit-line); background: var(--vit-panel-2); }
.vit-jcard-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.vit-jcard:hover .vit-jcard-bg { transform: scale(1.04); }
.vit-jcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 8, 11, .96) 35%, rgba(7, 8, 11, .12)); }
.vit-jcard h3 { margin: 2px 0 0; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--vit-fg); }
.vit-jcard p { margin: 0 0 6px; color: #cfd3dd; font-size: .9rem; }
.vit-league-cta { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 22px; border-radius: 18px; border: 1px dashed #3a3f52; color: var(--vit-muted); }
.vit-league-cta strong { color: var(--vit-fg); }

/* barra fixa do celular (some enquanto o aviso de cookies estiver na tela) */
.vit-dock { display: none; }
@media (max-width: 760px) {
  .vit-dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; gap: 10px; align-items: center; justify-content: space-between;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(10, 11, 16, .96); border-top: 1px solid var(--vit-line); backdrop-filter: blur(10px); }
  .vit-dock-t { font-size: .72rem; color: var(--vit-muted); line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vit-dock-t b { display: block; font-family: var(--vit-mono); font-size: 1.02rem; color: var(--vit-fg); }
  body:has(.vit-dock) { padding-bottom: 76px; }
  body:has(.vit-dock) .quick-actions { bottom: 88px !important; }
  body:has(#cdvConsent) .vit-dock { display: none; }
}

/* página inicial da v8: patrocínio já tem palco próprio; a faixa genérica fica só para o Modo TV ler os logos */
.tab-content:has(.vit-home .vit-partner) .slug-sponsors-rail { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* RESPONSIVO */
@media (max-width: 1020px) {
  .vit-hero-grid, .vit-flag { grid-template-columns: minmax(0, 1fr); }
  .vit-duels { grid-template-columns: minmax(0, 1fr); }
  .vit-reel { flex-direction: row; align-items: center; }
  .vit-reel .vit-phone { width: 160px; flex: none; }
}
@media (max-width: 760px) {
  .vit-hero { border-radius: 18px; }
  .vit-hero-id > img { width: 56px; height: 56px; }
  .vit-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
  .vit-section { padding-block: 34px; }
  .vit-car { width: 170px; top: auto; bottom: 8px; opacity: .45; }
  .vit-helmet { width: 100px; height: 100px; } .vit-helmet > img { width: 94px; height: 94px; }
  .vit-mono { width: 88px; height: 88px; font-size: 2rem; }
  .vit-track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vit-track::before { left: 10px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--vit-line) 0 10px, transparent 10px 16px); }
  .vit-ev { padding: 0 0 18px 40px; }
  .vit-ev::before { top: 6px; }
  .vit-podium { gap: 6px; }
  .vit-pod .vit-cr { margin-top: -10px; max-width: 110px; }
  .vit-reel { flex-direction: column; align-items: stretch; }
  .vit-reel .vit-phone { width: min(220px, 70%); margin: 0 auto; }
  .vit-hero .vit-cta-row .vit-btn { flex: 1 1 auto; }
  .vit-leader-nums { gap: 14px; }
  .vit-leader-nums dd { font-size: 1.5rem; }
}

/* movimento: entrada em camadas (fundo → piloto → números) */
@media (prefers-reduced-motion: no-preference) {
  .vit-rise { animation: vit-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .vit-d2 { animation-delay: .1s; } .vit-d3 { animation-delay: .22s; }
  @keyframes vit-rise { from { transform: translateY(16px); } to { transform: none; } }
  .vit-bar i { animation: vit-fill 1.2s .25s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes vit-fill { from { width: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  .vit-live i { animation: none; }
  .vit-btn, .vit-tile, .vit-plaque, .vit-jcard-bg { transition: none; }
}

/* Classificação (SLUG v8): pódio da temporada acima da tabela */
.vit-points-stage { margin: 18px 0 4px; }
.vit-points-stage .vit-ps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.vit-points-stage .vit-ps-head h2 { margin: 6px 0 0; font-size: clamp(1.3rem, 2.6vw, 2rem); color: var(--vit-fg); }
.vit-points-stage .vit-podium { max-width: 760px; margin-inline: auto; width: 100%; }
.vit-points-stage .vit-gap { padding: 18px 0 0; max-width: 760px; margin-inline: auto; width: 100%; }
@media (max-width: 760px) {
  .vit-points-stage .vit-ptsday, .vit-points-stage .vit-tm { white-space: normal; overflow: visible; }
}

/* Social Media (validação DEM-174) */
.vit-count b.is-zero { opacity: .4; }
.vit-recent { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
.vit-ptsday .is-zero { display: none; }
@media (prefers-reduced-motion: reduce) {
  .vit-count { grid-template-columns: repeat(3, 1fr); }
  .vit-count div:last-child { display: none; }
}

/* Foto de corpo (DEM-174, guia princípio 11): o piloto em pé no palco — líder, pódio e prévia do cartão. */
.vit-helmet.has-body { width: 132px; height: 178px; border-radius: 0; background: radial-gradient(ellipse at 50% 85%, rgba(255, 196, 0, .32), transparent 70%); align-items: end; }
.vit-helmet.has-body .vit-lead-img.is-body { width: 100%; height: 100%; object-fit: contain; object-position: bottom; border: 0; border-radius: 0; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .6)); }
.vit-pod .vit-hm.is-body { aspect-ratio: auto; width: auto; max-width: 100%; height: 170px; object-fit: contain; object-position: bottom; border: 0; border-radius: 0; }
.vit-pod.p1 .vit-hm.is-body { height: 210px; }
.vit-pod .vit-hm.is-body + .vit-cr { margin-top: -34px; }
.vit-phone .vit-phone-hm.is-body { width: auto; height: 58%; max-width: 90%; object-fit: contain; margin: 0 auto -4px; }
@media (max-width: 760px) {
  .vit-helmet.has-body { width: 104px; height: 140px; }
  .vit-pod .vit-hm.is-body { height: 130px; }
  .vit-pod.p1 .vit-hm.is-body { height: 160px; }
}
