/* ── Highlights + Clip-Seite (Website) — Stats-Paket Block S5 (Paket A) · BAUPLAN-WEBSITE ────────────────────────────
   Figma YRUirscc0yHUgTS69n5bDU „✅ Fertig“ Section 233:11910 (W-H1 Highlights · W-H2 Clip-Seite · Zustaende hz) + 📘 Spec 273:14419.
   Praefix `hl-`; Bausteine aus tw.css (Kopf, Umschalter, Auswahl, Knopf, Leer, Skelett, Clip-Karte `pf-clip`).
   Main 1280 (80 Rand). Brueche wie W0: ≤ 1080 Buehne ueber der Info, ≤ 600 = 430-Fassung (Raster einspaltig, zweispaltig ab 600). */

.hl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl-cap { margin: 0; font: 600 11px/14px var(--font-brand); letter-spacing: .08em; text-transform: uppercase; color: var(--w45); }
.hl-fuell { flex: 1 1 0; min-width: 0; }
.hl-pfeil { font: 500 13px/16px var(--font-brand); color: var(--violett-text); text-decoration: none; white-space: nowrap; }
.hl-pfeil:hover { color: var(--w100); }
.hl-pfeil:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ═════════════ Highlights (W-H1) ═════════════ */
.hl-main { padding-top: calc(72px + 48px); }
.hl-kopf { align-items: flex-end; }
.hl-unter { margin: 0; font: 400 14px/18px var(--font-brand); color: var(--w55); }
.hl-zeit button { height: 30px; padding: 0 16px; font-size: 13px; }

/* Buehne: Player 16:9 links | Info 416 rechts */
.hl-buehne { display: grid; grid-template-columns: minmax(0, 1fr) 416px; gap: 32px; margin-top: 36px; align-items: start; }
.hl-buehne[hidden] { display: none; }
.hl-info { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.hl-info .hl-cap { margin-top: 2px; }
.hl-info h2 { margin: 18px 0 0; font: 700 32px/40px var(--font-brand); color: var(--w100); overflow-wrap: anywhere; }
.hl-wer { display: flex; align-items: center; gap: 10px; margin-top: 16px; min-width: 0; }
.hl-wer .tw-ava { border-radius: 50%; }
.hl-wer > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hl-wer b, .hl-wer a.hl-name { font: 600 15px/19px var(--font-brand); color: var(--w100); text-decoration: none; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap; }
.hl-wer a.hl-name:hover { color: var(--violett-text); }
.hl-wer small { font: 400 12px/15px var(--font-brand); color: var(--w45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-wann { margin: 14px 0 0; font: 400 13px/18px var(--font-brand); color: var(--violett-text); }
.hl-wann a { color: inherit; text-decoration: none; }
.hl-wann a:hover { color: var(--w100); }
.hl-knoepfe { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.hl-runners { margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--w08); display: flex; flex-direction: column; gap: 14px; }
.hl-ru { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; min-width: 0; border-radius: 8px; }
.hl-ru:hover b { color: var(--violett-text); }
.hl-ru:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hl-ru-bild { width: 96px; height: 54px; flex: 0 0 96px; border-radius: 8px; border: 1px solid var(--border);
    background: var(--erhoeht) center 20% / cover no-repeat; }
.hl-ru > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hl-ru b { font: 600 13px/17px var(--font-brand); color: var(--w100); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-ru small { font: 400 12px/15px var(--font-brand); color: var(--w45); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Player (Buehne + Clip-Seite): Poster = Splash, grosses Play, eigene Steuerleiste (Final W-H2) */
.hl-pl { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid var(--border); overflow: hidden;
    background: #06080b var(--hl-poster, none) center 22% / cover no-repeat; isolation: isolate; }
.hl-pl video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: transparent; }
.hl-pl.laeuft video, .hl-pl.gestartet video { background: #06080b; }
.hl-pl::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: linear-gradient(180deg, rgba(13,13,18,.25) 0%, rgba(13,13,18,0) 30%, rgba(13,13,18,0) 62%, rgba(13,13,18,.7) 100%); }
.hl-pl.gestartet::after { background: linear-gradient(180deg, rgba(13,13,18,0) 70%, rgba(13,13,18,.65) 100%); }
.hl-pl-chip { position: absolute; left: 20px; top: 20px; z-index: 2; padding: 5px 10px; border-radius: 6px; background: rgba(13,13,18,.6);
    border: 1px solid rgba(232,180,80,.35); color: var(--gold2); font: 600 11px/14px var(--font-brand); letter-spacing: .08em;
    text-transform: uppercase; white-space: nowrap; }
.hl-pl-gross { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; z-index: 2; border-radius: 50%;
    background: rgba(13,13,18,.55); border: 1.5px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #fff; padding: 0; transition: background-color .15s ease, transform .15s ease; }
.hl-pl-gross:hover { background: rgba(124,92,255,.75); }
.hl-pl-gross:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hl-pl-gross svg { width: 26px; height: 26px; margin-left: 4px; }
.hl-pl.laeuft .hl-pl-gross { display: none; }
.hl-pl-dauer { position: absolute; right: 20px; bottom: 20px; z-index: 2; padding: 4px 8px; border-radius: 6px; background: rgba(13,13,18,.75);
    font: 600 13px/16px var(--font-brand); color: var(--w100); }
.hl-pl.gestartet .hl-pl-dauer, .hl-pl.leiste .hl-pl-dauer { display: none; }
.hl-pl-leiste { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 20px 12px; display: none; flex-direction: column; gap: 6px; }
.hl-pl.gestartet .hl-pl-leiste, .hl-pl.leiste .hl-pl-leiste { display: flex; }
.hl-pl.gestartet .hl-pl-chip { display: none; }
.hl-pl-z { display: flex; align-items: center; gap: 6px; min-height: 28px; }
.hl-pl-z button { background: none; border: 0; color: var(--w100); cursor: pointer; height: 28px; min-width: 28px; padding: 0 4px; border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center; font: 600 12px/1 var(--font-brand); }
.hl-pl-z button:hover { background: rgba(255,255,255,.12); }
.hl-pl-z button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.hl-pl-z svg { width: 16px; height: 16px; }
.hl-pl-zeit { font: 500 13px/16px var(--font-brand); color: var(--w100); font-variant-numeric: tabular-nums; margin-left: 6px; white-space: nowrap; }
/* Spulen: Range mit violetter Fuellung bis --p */
.hl-pl-scrub { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; margin: 0; background: transparent; cursor: pointer; --p: 0%; }
.hl-pl-scrub::-webkit-slider-runnable-track { height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, var(--violett-knopf) 0 var(--p), rgba(255,255,255,.3) var(--p) 100%); }
.hl-pl-scrub::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); }
.hl-pl-scrub::-moz-range-progress { height: 3px; border-radius: 2px; background: var(--violett-knopf); }
.hl-pl-scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: #fff;
    opacity: 0; transition: opacity .15s ease; }
.hl-pl-scrub::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; }
.hl-pl-scrub:hover::-webkit-slider-thumb, .hl-pl-scrub:focus-visible::-webkit-slider-thumb { opacity: 1; }
.hl-pl-scrub:focus-visible { outline: none; }
.hl-pl:fullscreen { border-radius: 0; border: 0; aspect-ratio: auto; }

/* Raster: Kopfzeile (Zaehler links, Filter rechts), 4 Spalten, Seitenfuss */
.hl-raster { margin-top: 56px; display: flex; flex-direction: column; gap: 20px; }
.hl-raster-kopf { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; }
.hl-raster-kopf .hl-cap { margin-right: auto; }
.hl-modi button { height: 30px; padding: 0 14px; font-size: 13px; }
.hl-wahl select { height: 40px; font-size: 13px; padding-right: 30px; border-color: var(--w12); field-sizing: content; max-width: 220px;
    text-overflow: ellipsis; }
.hl-wahl.an select { border-color: var(--w45); }
.hl-karten.pf-clips { row-gap: 32px; }
.hl-karten .pf-clip-bild:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hl-karten .pf-clip h3 a { color: inherit; text-decoration: none; }
.hl-karten .pf-clip h3 a:hover { color: var(--violett-text); }
.hl-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.hl-fuss span { font: 400 13px/16px var(--font-brand); color: var(--w45); }
.hl-leer-zeile { display: flex; flex-direction: column; gap: 10px; padding: 28px 0 8px; border-top: 1px solid var(--w08); }
.hl-leer-zeile span { font: 400 15px/20px var(--font-brand); color: var(--w100); }
.hl-leer-zeile .tw-link { align-self: flex-start; font-size: 13px; }
.hl-fehler { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(232,180,80,.35);
    background: rgba(232,180,80,.08); color: var(--gold2); font: 500 14px/18px var(--font-brand); }
.hl-fehler span { flex: 1 1 auto; }

/* „Looking for older plays?“ */
.hl-aelter { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding: 28px; border-radius: 16px; border: 1px solid var(--border);
    background: var(--flaeche); }
.hl-aelter > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 auto; }
.hl-aelter b { font: 600 18px/23px var(--font-brand); color: var(--w100); }
.hl-aelter p { margin: 0; font: 400 14px/20px var(--font-brand); color: var(--w70); }

/* Leerzustaende mit Symbol (Launch / Clip weg) */
.hl-mitte { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 96px 0 72px; color: var(--w45); }
.hl-mitte svg { width: 32px; height: 32px; }
.hl-mitte h1, .hl-mitte h2 { margin: 8px 0 0; font: 600 20px/26px var(--font-brand); color: var(--w100); }
.hl-mitte p { margin: 0; font: 400 15px/22px var(--font-brand); color: var(--w70); max-width: 52ch; }
.hl-mitte .tw-btn { margin-top: 16px; }

/* ═════════════ Clip-Seite (W-H2) ═════════════ */
/* Band hinter dem Player: Splash weichgezeichnet, ueber die volle Breite (kein 100vw — sonst Seiten-Scroll) */
.hl-band { position: relative; padding: calc(72px + 40px) 80px 40px; overflow: hidden; isolation: isolate; }
.hl-band::before { content: ""; position: absolute; inset: -40px; z-index: -2; background: var(--hl-poster, none) center 25% / cover no-repeat;
    filter: blur(28px) saturate(1.1); opacity: .55; }
.hl-band::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(13,13,18,.55) 0%, rgba(13,13,18,.72) 70%, var(--bg, #0d0d12) 100%); }
.hl-band[hidden] { display: none; }
.hl-band-in { max-width: 1120px; margin: 0 auto; }
.hl-band .hl-pl { border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,.45); }
body.page-clip .hl-main { padding-top: 32px; max-width: 1280px; padding-left: 80px; padding-right: 80px; }
body.page-clip.hl-ohne-band .hl-main { padding-top: calc(72px + 48px); }
.hl-clip-in { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; }
.hl-clip-kopf { display: flex; align-items: flex-start; gap: 24px; }
.hl-clip-kopf h1 { margin: 0; flex: 1 1 auto; min-width: 0; font: 700 32px/40px var(--font-brand); color: var(--w100); overflow-wrap: anywhere; }
.hl-clip-meta { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-top: 14px; min-width: 0; }
.hl-chip-wer { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border-radius: 999px; background: var(--w06);
    font: 600 13px/16px var(--font-brand); color: var(--w100); text-decoration: none; max-width: 100%; min-width: 0; }
.hl-chip-wer .tw-ava { border-radius: 50%; }
.hl-chip-wer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.hl-chip-wer:hover { background: var(--w10); }
a.hl-chip-wer:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hl-clip-meta > small { font: 400 13px/18px var(--font-brand); color: var(--w45); font-variant-numeric: tabular-nums; }
.hl-kontext { margin: 10px 0 0; font: 400 12px/16px var(--font-brand); color: var(--w45); font-variant-numeric: tabular-nums; }
/* BX14: „Unlisted“ — dezenter Hinweis in der Meta (nur per Link sichtbar, nie in Listen) */
.hl-ungelistet { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--w12);
    font: 500 12px/16px var(--font-brand); color: var(--w55); white-space: nowrap; }
.hl-ungelistet svg { flex: 0 0 auto; }

.hl-einladung { display: flex; align-items: center; gap: 24px; margin-top: 40px; padding: 26px 28px; border-radius: 16px;
    border: 1px solid rgba(124,92,255,.35); background: linear-gradient(100deg, rgba(124,92,255,.16) 0%, rgba(124,92,255,.04) 60%, rgba(124,92,255,.02) 100%); }
.hl-einladung > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 auto; }
.hl-einladung b { font: 700 20px/26px var(--font-brand); color: var(--w100); }
.hl-einladung p { margin: 0; font: 400 14px/20px var(--font-brand); color: var(--w70); }

.hl-abschnitt { display: flex; flex-direction: column; gap: 10px; margin-top: 48px; }
.hl-abschnitt-k { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hl-abschnitt .pf-clips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hl-weg-box { padding: 72px 0 32px; }

/* ── Brueche ── */
@media (max-width: 1280px) {
    .hl-band { padding-left: 48px; padding-right: 48px; }
    body.page-clip .hl-main { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 1080px) {
    .hl-buehne { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hl-karten.pf-clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-band { padding-left: 32px; padding-right: 32px; }
    body.page-clip .hl-main { padding-left: 32px; padding-right: 32px; }
    .hl-abschnitt .pf-clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .hl-main { padding-top: calc(72px + 32px); }
    .hl-kopf .hl-zeit { width: 100%; }
    .hl-buehne { margin-top: 24px; gap: 20px; }
    .hl-pl { border-radius: 12px; }
    .hl-pl-chip { left: 12px; top: 12px; }
    .hl-pl-dauer { right: 12px; bottom: 12px; }
    .hl-pl-gross { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
    .hl-pl-leiste { padding: 0 12px 8px; }
    .hl-info h2 { margin-top: 12px; font-size: 24px; line-height: 30px; }
    .hl-knoepfe .tw-btn { flex: 1 1 0; }
    .hl-raster { margin-top: 40px; gap: 16px; }
    .hl-raster-kopf .hl-cap { flex-basis: 100%; }
    .hl-raster-kopf .hl-modi { width: 100%; }
    .hl-wahl { flex: 1 1 auto; min-width: 0; }
    .hl-wahl select { flex: 1 1 auto; min-width: 0; max-width: none; padding-left: 12px; }
    .hl-karten.pf-clips, .hl-abschnitt .pf-clips { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
    .hl-fuss { flex-wrap: wrap; }
    .hl-fuss .tw-btn { flex: 1 1 100%; }
    .hl-aelter, .hl-einladung { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
    .hl-aelter .tw-btn, .hl-einladung .tw-btn { width: 100%; }
    .hl-mitte { padding: 64px 0 48px; }
    .hl-band { padding: calc(72px + 16px) 16px 24px; }
    body.page-clip .hl-main { padding: 24px 16px 72px; }
    body.page-clip.hl-ohne-band .hl-main { padding-top: calc(72px + 32px); }
    .hl-clip-kopf { flex-direction: column; gap: 14px; }
    .hl-clip-kopf h1 { font-size: 24px; line-height: 30px; }
    .hl-clip-kopf .tw-btn { width: 100%; }
    .hl-abschnitt { margin-top: 36px; }
}
