:root {
  --bg: #0b0d12;
  --surface: #141821;
  --raised: #1d2330;
  --line: #262d3b;
  --text: #f2f4f8;
  --muted: #9aa3b5;
  --accent: #3db8ff;
  --ok: #3ddc97;
  --warn: #ffc857;
  --err: #ff6b6b;
  --radius: 12px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 15px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: .3px; }
.brand span { color: var(--accent); }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
main.wrap { padding-top: 24px; padding-bottom: 40px; }
h1 { font-size: 24px; margin: 0 0 16px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 28px 0 10px; }
p.lead { color: var(--muted); margin-top: -6px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 12px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-all; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .5px; }
form.stack { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--raised); color: var(--text); font: inherit;
}
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > * { flex: 1 1 180px; }
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--raised); color: var(--text); font: inherit; font-weight: 600; cursor: pointer;
}
button:hover, .btn:hover { border-color: var(--accent); text-decoration: none; }
button.primary, .btn.primary { background: var(--accent); color: #041420; border-color: var(--accent); }
button.danger { color: var(--err); }
button.small, .btn.small { padding: 6px 12px; font-size: 13px; }
.msg { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; }
.msg.ok { background: rgba(61, 220, 151, .12); border: 1px solid rgba(61, 220, 151, .4); }
.msg.err { background: rgba(255, 107, 107, .12); border: 1px solid rgba(255, 107, 107, .4); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.b-trial { background: rgba(61, 184, 255, .15); color: var(--accent); }
.b-active { background: rgba(61, 220, 151, .15); color: var(--ok); }
.b-expired { background: rgba(255, 200, 87, .15); color: var(--warn); }
.b-moved, .b-blocked { background: rgba(255, 107, 107, .15); color: var(--err); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }
.table-wrap { overflow-x: auto; }
.stat { font-size: 28px; font-weight: 800; }
.stat small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .8px; }
.pl { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pl:last-child { border-bottom: 0; }
.pl .name { flex: 1; font-weight: 600; }
.pl .kind { color: var(--muted); font-size: 12px; }
details summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.login { max-width: 420px; margin: 40px auto; }
.foot { color: var(--muted); font-size: 12px; padding-bottom: 30px; }
@media (max-width: 560px) {
  .kv { grid-template-columns: 1fr; }
  .kv dt { margin-top: 6px; }
}

/* Nutzungsbedingungen-Fenster */
.terms { position: fixed; inset: 0; background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); z-index: 50; }
.terms[hidden] { display: none; }
/* Große Schrift / kleine Bildschirme: Text scrollt, „Ich stimme zu“ bleibt immer sichtbar. */
.terms-text { overflow-y: auto; min-height: 0; flex: 1 1 auto; padding-right: 4px; -webkit-overflow-scrolling: touch; }
.terms-box > .primary { flex: none; margin-top: 14px; align-self: flex-start; }
@media (max-height: 640px) { .terms-box { padding: 16px !important; } }
.terms-box { max-width: 560px; max-height: 100%; display: flex; flex-direction: column; background: linear-gradient(160deg, #13233a, #141821 60%); border: 1px solid var(--accent); border-radius: var(--radius); padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.terms-box h2 { margin-top: 0; color: var(--text); font-size: 20px; text-transform: none; letter-spacing: 0; }
.terms-box p { color: #d6dbe5; }
.legal p, .legal li { color: #d6dbe5; }

/* Download-Knopf mit Versionsliste */
details.downloads { margin-top: 18px; }
details.downloads > summary { list-style: none; width: 100%; }
details.downloads > summary::-webkit-details-marker { display: none; }
.dl-list { display: grid; gap: 8px; margin-top: 10px; }
.dl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 10px; background: var(--raised); border: 1px solid var(--line); color: var(--text); }
.dl:hover { border-color: var(--accent); text-decoration: none; }
.dl span { flex: 1; font-weight: 600; }
.dl small { width: 100%; color: var(--muted); }

.foot-links { margin-top: 6px; }

/* ── Admin-Übersicht ─────────────────────────────────────────── */
/* Zahlenkacheln: kompakt, PC 4–5 nebeneinander, Handy 2 × 2; Antippen = Filter. */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat-tile { display: flex; align-items: baseline; gap: 8px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.stat-tile b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-tile span { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.stat-tile:hover { border-color: var(--accent); text-decoration: none; }
.stat-tile.on { border-color: var(--accent); background: var(--raised); box-shadow: inset 0 0 0 1px var(--accent); }
.stat-tile.ok b { color: var(--ok); } .stat-tile.info b { color: var(--accent); }
.stat-tile.warn b { color: var(--warn); } .stat-tile.bad b { color: var(--err); }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr 1fr; } .stat-tile { flex-direction: column; gap: 0; } }

.toolbar { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.toolbar input { flex: 1 1 220px; min-width: 0; }
.toolbar select { flex: 0 1 220px; }
.toolbar button { flex: 0 0 auto; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.chip { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 600; }
.chip small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.chip.on { background: var(--accent); border-color: var(--accent); color: #041420; }
.chip.on small { color: #041420; }
.chip:hover { text-decoration: none; border-color: var(--accent); }
.small-lead { font-size: 13px; margin: 6px 0 8px; }

/* Geräteliste: PC = Zeilen in Spalten, Handy = Karten. Kein seitliches Scrollen. */
.dev-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.dev-head, .dev { display: grid; grid-template-columns: 150px minmax(170px, 1.3fr) minmax(170px, 1.2fr) 90px 110px; gap: 12px; align-items: center; padding: 10px 16px; }
.dev-head { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; border-bottom: 1px solid var(--line); }
.dev { color: var(--text); border-bottom: 1px solid var(--line); }
.dev:last-child { border-bottom: 0; }
.dev:hover { background: var(--raised); text-decoration: none; }
.dev-type { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.dev-type i { font-style: normal; font-size: 20px; width: 26px; text-align: center; }
.dev-mac { min-width: 0; overflow-wrap: anywhere; }
.dev-mac small { display: block; color: var(--muted); font-family: inherit; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dev-ver, .dev-seen { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.dev .badge { white-space: nowrap; }
@media (max-width: 760px) {
  .dev-head { display: none; }
  .dev { grid-template-columns: 1fr auto; grid-template-areas: "type status" "mac mac" "ver seen"; gap: 4px 10px; padding: 12px 14px; }
  .dev-type { grid-area: type; } .dev-status { grid-area: status; justify-self: end; }
  .dev-mac { grid-area: mac; font-size: 15px; } .dev-ver { grid-area: ver; } .dev-seen { grid-area: seen; justify-self: end; }
  .dev-ver::before { content: "App "; } .dev-seen::before { content: "zuletzt "; }
}
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 8px 0 20px; color: var(--muted); font-size: 14px; }
.backup { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0 24px; color: var(--muted); font-size: 13px; }
.backup button { flex: 0 0 auto; }

/* ── Admin: einzelnes Gerät ──────────────────────────────────── */
.back { display: inline-block; font-size: 14px; margin: 4px 0 10px; }
.dev-head-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.dev-head-line h1 { margin: 0; font-size: 24px; overflow-wrap: anywhere; }
.dev-icon { font-size: 24px; line-height: 1; }
.dev-actions { display: grid; gap: 12px; }
.dev-actions form { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.dev-actions form input { flex: 1 1 180px; min-width: 0; }
.dev-actions form button { flex: 0 0 auto; }
.dev-actions .done { margin: 0; color: var(--ok); font-weight: 600; }
.dev-actions form[data-note] { flex-wrap: nowrap; }
.dev-actions form[data-note] button { width: 44px; padding-left: 0; padding-right: 0; }
.danger-row { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.danger-row { flex-wrap: nowrap; }
.danger-row form { flex: 1 1 0; min-width: 0; }
.danger-row button { width: 100%; font-size: 13px; }
.danger-row button[disabled] { opacity: .45; cursor: default; }
.dev-details summary { cursor: pointer; color: var(--muted); font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.dev-details summary::-webkit-details-marker { display: none; }
.dev-details summary::after { content: "▾"; }
.dev-details[open] summary::after { content: "▴"; }
.dev-details[open] summary { margin-bottom: 10px; }
/* Details: Bezeichnung links, Wert rechts – eine Zeile pro Angabe. */
.dev-details .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.dev-details .kv dt { color: var(--muted); font-size: 13px; margin: 0; }
.dev-details .kv dd { margin: 0; text-align: right; font-size: 14px; overflow-wrap: anywhere; }
/* Desktop-Ansicht: Aktionen und Details nebeneinander. */
@media (min-width: 900px) {
  main.wrap:has(.dev-actions) { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 16px; align-items: start; }
  main.wrap:has(.dev-actions) > .back, main.wrap:has(.dev-actions) > .dev-head-line, main.wrap:has(.dev-actions) > .msg { grid-column: 1 / -1; }
  .dev-details { margin-top: 0; }
}

/* ── Downloads: grüner Knopf (unterscheidet sich vom blauen „Anmelden“) ── */
.btn.download, button.download { background: var(--ok); color: #04210f; border-color: var(--ok); font-weight: 700; }
.btn.download:hover { filter: brightness(1.08); border-color: var(--ok); }
.dl .dl-ver { width: auto; color: var(--muted); }
.dl.old { opacity: .85; }
.dl-older { margin-top: 6px; }
.dl-older > summary { cursor: pointer; color: var(--muted); font-size: 13px; padding: 6px 2px; }

/* ── Werbeseite & Anleitung (Vorschau) ─────────────────────────── */
.promo h2.sec, .guide h2.sec { font-size: 22px; text-transform: none; letter-spacing: 0; color: var(--text); margin: 44px 0 14px; }
.shot { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: #000; }
.hero { text-align: center; padding: 18px 0 6px; }
.hero-icon { border-radius: 22px; margin: 0 auto 14px; display: block; }
.hero h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.15; margin: 0 auto 12px; max-width: 18em; text-wrap: balance; }
.hero-lead { color: var(--muted); font-size: 17px; max-width: 34em; margin: 0 auto 20px; line-height: 1.55; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-actions .btn { padding: 12px 20px; font-size: 16px; }
.hero-shot { box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.features { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 12px; align-content: start; }
.feature.tall { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); line-height: 1.55; }
.points { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.point { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.point span { font-size: 22px; }
.point small { color: var(--muted); line-height: 1.45; }
.devices { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.devices div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-weight: 600; text-align: center; }
.price { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.price-main b { display: block; font-size: 44px; line-height: 1; color: var(--ok); }
.price-main span { color: var(--muted); }
.price ul { margin: 0; padding-left: 18px; line-height: 1.8; }
.dl.dl-big { padding: 16px; font-size: 17px; }
.firetv { margin-top: 16px; padding: 14px; border-radius: 12px; background: var(--raised); display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.firetv-code { font-size: 30px; font-weight: 800; letter-spacing: 3px; color: var(--accent); }
.faq { display: grid; gap: 8px; }
.faq details { margin: 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); line-height: 1.55; margin: 10px 0 0; }
.legal-note { color: var(--muted); font-size: 13px; text-align: center; margin-top: 30px; }
@media (max-width: 720px) {
  .features, .points, .devices { grid-template-columns: minmax(0, 1fr); }
  .points, .devices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature.tall { grid-template-columns: minmax(0, 1fr); }
  .feature.tall img { max-width: 260px; margin: 0 auto; }
}
/* Anleitung */
.guide .toc { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.guide .toc a { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text); font-weight: 600; }
.guide .toc a:hover { border-color: var(--accent); text-decoration: none; }
.guide .step { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; margin-bottom: 18px; }
.guide .step.solo { grid-template-columns: minmax(0, 1fr); }
.guide .step img.narrow { max-width: 300px; }
.guide ol, .guide ul { line-height: 1.75; padding-left: 20px; margin: 0; }
.guide h3 { margin: 22px 0 8px; font-size: 18px; }
.guide .keys { width: 100%; border-collapse: collapse; }
.guide .keys td, .guide .keys th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide .keys th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; }
.guide kbd { display: inline-block; min-width: 26px; text-align: center; padding: 2px 8px; border-radius: 6px; background: var(--raised); border: 1px solid var(--line); font-family: inherit; font-weight: 700; }
.guide .tip { background: var(--raised); border-left: 3px solid var(--accent); border-radius: 0; padding: 10px 14px; margin: 10px 0; color: var(--text); }
@media (max-width: 720px) { .guide .step { grid-template-columns: minmax(0, 1fr); } }
/* Anleitung: animierte Gesten (Finger mit Spur + Kreise beim Antippen + kurze Beschriftung) */
.gestures { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin: 6px 0 18px; }
.gest { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gest figcaption { padding: 10px 12px; line-height: 1.4; }
.gest figcaption b { display: block; }
.gest figcaption span { color: var(--muted); font-size: 14px; }
.scr { position: relative; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; overflow: hidden; }
.scr::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .18); }
.scr .f, .scr .r, .scr .r2 { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; left: var(--x, 50%); top: var(--y, 50%); }
.scr .f { background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 4px rgba(61, 184, 255, .55), 0 6px 16px rgba(0, 0, 0, .55); opacity: 0; z-index: 3; }
.scr .r, .scr .r2 { border: 3px solid #fff; opacity: 0; z-index: 2; }
.scr .t { position: absolute; z-index: 1; opacity: 0; border-radius: 6px; }
.scr .hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 4; white-space: nowrap; background: rgba(11, 13, 18, .86); border: 1px solid rgba(61, 184, 255, .6); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; opacity: 0; }
.scr .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 1; opacity: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.scr .bar::after { content: "\23F8   \23EE   \23ED"; position: absolute; left: 14px; bottom: 40px; color: #fff; font-size: 15px; letter-spacing: 2px; }
.scr .bar::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 32px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) 38%, rgba(255, 255, 255, .35) 38%); }
.scr * { animation-duration: 3s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }

/* 1x tippen */
.g-tap .f { animation-name: g-tap-f; } .g-tap .r { animation-name: g-ring1; } .g-tap .bar { animation-name: g-bar; } .g-tap .hint { animation-name: g-hint-late; }
@keyframes g-tap-f { 0%, 8% { opacity: 0; transform: scale(1.3); } 18% { opacity: 1; transform: scale(1); } 24% { transform: scale(.78); } 30% { transform: scale(1); opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes g-ring1 { 0%, 23% { opacity: 0; transform: scale(.6); } 25% { opacity: .95; } 50%, 100% { opacity: 0; transform: scale(2.8); } }
@keyframes g-ring2 { 0%, 37% { opacity: 0; transform: scale(.6); } 39% { opacity: .95; } 62%, 100% { opacity: 0; transform: scale(2.8); } }
@keyframes g-bar { 0%, 26% { opacity: 0; } 34%, 86% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes g-hint-late { 0%, 30% { opacity: 0; } 40%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* Doppeltipp (Mitte bzw. Rand) */
.g-dbl .f { animation-name: g-dbl-f; } .g-dbl .r { animation-name: g-ring1; } .g-dbl .r2 { animation-name: g-ring2; } .g-dbl .hint { animation-name: g-hint-late; }
@keyframes g-dbl-f { 0%, 8% { opacity: 0; transform: scale(1.3); } 18% { opacity: 1; transform: scale(1); } 24% { transform: scale(.78); } 30% { transform: scale(1); } 38% { transform: scale(.78); } 44% { transform: scale(1); opacity: 1; } 60%, 100% { opacity: 0; } }
.g-dbl.zoom .scr { animation: g-zoom 3s ease-in-out infinite; }
@keyframes g-zoom { 0%, 42% { background-size: 100%; } 55%, 85% { background-size: 112%; } 100% { background-size: 100%; } }

/* Waagerecht wischen (rechts nach links) */
.g-swipe .f { animation-name: g-swipe-f; } .g-swipe .t { animation-name: g-swipe-t; } .g-swipe .hint { animation-name: g-hint-late; }
.g-swipe .t { top: var(--y); height: 8px; margin-top: -4px; left: 25%; right: 25%; background: linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(61, 184, 255, 0)); transform-origin: right center; }
@keyframes g-swipe-f { 0%, 8% { opacity: 0; left: 75%; } 16% { opacity: 1; left: 75%; } 50% { opacity: 1; left: 25%; } 62%, 100% { opacity: 0; left: 25%; } }
@keyframes g-swipe-t { 0%, 16% { opacity: 0; transform: scaleX(0); } 20% { opacity: .9; } 50% { opacity: .9; transform: scaleX(1); } 70%, 100% { opacity: 0; transform: scaleX(1); } }

/* Senkrecht wischen: hoch bzw. runter */
.g-up .f { animation-name: g-up-f; } .g-up .t { animation-name: g-vt-up; } .g-up .hint { animation-name: g-hint-late; }
.g-down .f { animation-name: g-down-f; } .g-down .t { animation-name: g-vt-down; } .g-down .hint { animation-name: g-hint-late; }
.g-up .t, .g-down .t { left: var(--x); width: 8px; margin-left: -4px; }
.g-up .t { top: 28%; bottom: 28%; background: linear-gradient(0deg, rgba(61, 184, 255, 0), rgba(255, 255, 255, .9)); transform-origin: center bottom; }
.g-down .t { top: 6%; bottom: 38%; background: linear-gradient(180deg, rgba(61, 184, 255, 0), rgba(255, 255, 255, .9)); transform-origin: center top; }
@keyframes g-up-f { 0%, 8% { opacity: 0; top: 72%; } 16% { opacity: 1; top: 72%; } 50% { opacity: 1; top: 28%; } 62%, 100% { opacity: 0; top: 28%; } }
@keyframes g-down-f { 0%, 8% { opacity: 0; top: 6%; } 16% { opacity: 1; top: 6%; } 50% { opacity: 1; top: 62%; } 62%, 100% { opacity: 0; top: 62%; } }
@keyframes g-vt-up { 0%, 16% { opacity: 0; transform: scaleY(0); } 20% { opacity: .9; } 50% { opacity: .9; transform: scaleY(1); } 70%, 100% { opacity: 0; transform: scaleY(1); } }
@keyframes g-vt-down { 0%, 16% { opacity: 0; transform: scaleY(0); } 20% { opacity: .9; } 50% { opacity: .9; transform: scaleY(1); } 70%, 100% { opacity: 0; transform: scaleY(1); } }

/* Lange druecken */
.g-long .f { animation-name: g-long-f; } .g-long .r { animation-name: g-long-r; } .g-long .hint { animation-name: g-hint-late; }
@keyframes g-long-f { 0%, 8% { opacity: 0; transform: scale(1.3); } 16% { opacity: 1; transform: scale(1); } 22%, 52% { transform: scale(.82); opacity: 1; } 60% { transform: scale(1); } 70%, 100% { opacity: 0; } }
@keyframes g-long-r { 0%, 20% { opacity: 0; transform: scale(.7); } 24% { opacity: .95; } 52% { opacity: .95; transform: scale(2.2); } 64%, 100% { opacity: 0; transform: scale(2.6); } }

/* Antippen auf dem Handy-Bild (Sender waehlen, nochmal = Vollbild) */
/* Ablauf (7 s): 1. Tippen → läuft oben · 2. Tippen → Player wächst, Handy dreht sich quer = Vollbild */
.tapdemo { position: relative; max-width: 300px; }
.tapdemo .phone { position: relative; animation: g-td-turn 7s ease-in-out infinite; transform-origin: 50% 50%; }
.tapdemo .shot { max-width: 100%; }
.tapdemo .fs { position: absolute; left: 0; right: 0; top: var(--pt); height: var(--ph); background: #000; border-radius: 14px; overflow: hidden; opacity: 0; animation: g-td-fs 7s ease-in-out infinite; }
/* Das Bild dreht sich gegen das Handy mit (bleibt also aufrecht) und wächst dabei aufs Querformat. */
.tapdemo .fs i { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 16 / 9; transform: translate(-50%, -50%); background: center / cover no-repeat; animation: g-td-fsr 7s ease-in-out infinite; }
.tapdemo .f, .tapdemo .r, .tapdemo .r2 { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; left: var(--x); top: var(--y); }
.tapdemo .f { background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 4px rgba(61, 184, 255, .55), 0 6px 16px rgba(0, 0, 0, .55); opacity: 0; animation: g-td-f 7s ease-in-out infinite; }
.tapdemo .r, .tapdemo .r2 { border: 3px solid #fff; opacity: 0; animation: g-td-r 7s ease-out infinite; }
.tapdemo .r2 { animation-name: g-td-r2; }
.tapdemo .hint { position: absolute; left: 50%; transform: translateX(-50%); top: calc(var(--y) + 7%); white-space: nowrap; background: rgba(11, 13, 18, .9); border: 1px solid rgba(61, 184, 255, .6); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 999px; opacity: 0; animation: g-td-h1 7s infinite; }
.tapdemo .hint.h2 { animation-name: g-td-h2; }
.tapdemo .hint.h3 { top: calc(50% + 78px); animation-name: g-td-h3; }
@keyframes g-td-f { 0%, 3% { opacity: 0; transform: scale(1.3); } 8% { opacity: 1; transform: scale(1); } 11% { transform: scale(.78); } 14% { transform: scale(1); } 34% { transform: scale(1); } 37% { transform: scale(.78); } 40% { transform: scale(1); opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes g-td-r { 0%, 10% { opacity: 0; transform: scale(.6); } 12% { opacity: .95; } 24%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes g-td-r2 { 0%, 36% { opacity: 0; transform: scale(.6); } 38% { opacity: .95; } 50%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes g-td-h1 { 0%, 12% { opacity: 0; } 15%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes g-td-h2 { 0%, 38% { opacity: 0; } 40%, 47% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes g-td-h3 { 0%, 66% { opacity: 0; } 70%, 90% { opacity: 1; } 94%, 100% { opacity: 0; } }
/* Player wächst auf den ganzen Bildschirm … */
@keyframes g-td-fs { 0%, 42% { opacity: 0; top: var(--pt); height: var(--ph); } 44% { opacity: 1; top: var(--pt); height: var(--ph); } 54%, 92% { opacity: 1; top: 0; height: 100%; } 97%, 100% { opacity: 0; top: 0; height: 100%; } }
@keyframes g-td-fsr { 0%, 56% { width: 100%; transform: translate(-50%, -50%); } 66%, 100% { width: 177.8%; transform: translate(-50%, -50%) rotate(90deg); } }
/* … und das Handy dreht sich quer (verkleinert, damit es in die Spalte passt). */
@keyframes g-td-turn { 0%, 56% { transform: none; } 66%, 92% { transform: rotate(-90deg) scale(.45); } 98%, 100% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .scr *, .tapdemo *, .g-dbl.zoom .scr { animation: none !important; }
  .scr .f, .scr .hint, .tapdemo .f, .tapdemo .hint:not(.h2):not(.h3) { opacity: 1; }
}
/* Doppeltipp Mitte: Handy quer – Player oben rechts wächst nach dem Doppeltipp zum Vollbild */
.g-dbl.grow .scr { aspect-ratio: 1830 / 824; }
.g-dbl.grow .scr::before { display: none; }
.g-dbl.grow .pl { position: absolute; z-index: 1; left: 55.08%; top: 13.59%; width: 44.92%; height: 56.11%; background: #000 center / cover no-repeat; animation-name: g-grow; }
@keyframes g-grow { 0%, 46% { left: 55.08%; top: 13.59%; width: 44.92%; height: 56.11%; } 58%, 88% { left: 0; top: 0; width: 100%; height: 100%; } 97%, 100% { left: 55.08%; top: 13.59%; width: 44.92%; height: 56.11%; } }
/* Wischen: Senderwechsel – aktueller Sender gleitet nach links hinaus, der nächste kommt von rechts */
.g-swipe .cur, .g-swipe .nx { position: absolute; top: 0; bottom: 0; width: 100%; z-index: 0; background: #000 center / cover no-repeat; }
.g-swipe .cur { left: 0; animation-name: g-sw-cur; }
.g-swipe .nx { left: 100%; animation-name: g-sw-nx; }
@keyframes g-sw-cur { 0%, 16% { left: 0; } 50%, 90% { left: -100%; } 91%, 100% { left: 0; } }
@keyframes g-sw-nx { 0%, 16% { left: 100%; } 50%, 90% { left: 0; } 91%, 100% { left: 100%; } }
/* Lautstärke/Helligkeit: Pille in der Bildmitte wie in der App, mit Wert und Regler */
@property --pct { syntax: '<integer>'; inherits: true; initial-value: 30; }
.lvl { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: 4; min-width: 128px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 6px 14px 8px; border-radius: 14px; background: rgba(0, 0, 0, .72); color: #fff; font-weight: 600; font-size: 13px; opacity: 0; --pct: 30; animation-name: g-lvl, g-pct; }
.lvl-t { counter-reset: p var(--pct); white-space: nowrap; }
.lvl-t::after { content: counter(p) " %"; }
.lvl-b { display: block; width: 100%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.lvl-b i { display: block; height: 100%; width: calc(var(--pct) * 1%); background: var(--accent); border-radius: 3px; }
@keyframes g-lvl { 0%, 14% { opacity: 0; } 18%, 72% { opacity: 1; } 82%, 100% { opacity: 0; } }
@keyframes g-pct { 0%, 16% { --pct: 30; } 50%, 100% { --pct: 85; } }
/* Helligkeit: das Bild wird mit dem Wischen heller */
.g-up.bri .scr::before { animation: g-bri 3s ease-in-out infinite; }
@keyframes g-bri { 0%, 16% { background: rgba(0, 0, 0, .62); } 50%, 82% { background: rgba(0, 0, 0, 0); } 94%, 100% { background: rgba(0, 0, 0, .62); } }

/* Fenster von unten wie in der App (Senderliste bzw. Favoriten) */
.sheet { position: absolute; left: 4%; right: 4%; bottom: 0; height: 80%; z-index: 5; padding: 13px 7px 4px; border-radius: 12px 12px 0 0; background: #141821; box-shadow: 0 -6px 18px rgba(0, 0, 0, .5); overflow: hidden; transform: translateY(105%); animation-name: g-sheet; }
.sheet::before { content: ""; position: absolute; top: 5px; left: 50%; width: 28px; height: 3px; margin-left: -14px; border-radius: 2px; background: #5a6273; }
.sheet b { display: block; margin: 0 4px 4px; font-size: 9px; letter-spacing: .6px; color: #f2f4f8; }
.sheet .srow { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; padding: 3px 7px; border-radius: 5px; background: #1d2330; color: #f2f4f8; font-size: 10px; font-weight: 500; white-space: nowrap; }
.sheet .srow.on { background: #f2f4f8; color: #0b0d12; font-weight: 700; }
.sheet em { min-width: 12px; font-style: normal; font-size: 9px; color: #9aa3b5; }
.sheet .srow.on em { color: #0b0d12; }
@keyframes g-sheet { 0%, 48% { transform: translateY(105%); } 60%, 88% { transform: translateY(0); } 97%, 100% { transform: translateY(105%); } }
.g-long .sheet { animation-name: g-sheet-long; }
@keyframes g-sheet-long { 0%, 52% { transform: translateY(105%); } 62%, 88% { transform: translateY(0); } 97%, 100% { transform: translateY(105%); } }
@media (prefers-reduced-motion: reduce) { .lvl { opacity: 1; } .sheet { transform: none; } }
/* Doppeltipp rechts: nach dem zweiten Tippen wechselt der Sender (nächster kommt von rechts) */
.g-dbl .cur, .g-dbl .nx { position: absolute; top: 0; bottom: 0; width: 100%; z-index: 0; background: #000 center / cover no-repeat; }
.g-dbl .cur { left: 0; animation-name: g-dsw-cur; }
.g-dbl .nx { left: 100%; animation-name: g-dsw-nx; }
@keyframes g-dsw-cur { 0%, 44% { left: 0; } 56%, 90% { left: -100%; } 91%, 100% { left: 0; } }
@keyframes g-dsw-nx { 0%, 44% { left: 100%; } 56%, 90% { left: 0; } 91%, 100% { left: 100%; } }
/* ── Handy-Animationen aus echten App-Bildern (Stöbern, Kategorien, Favorit, Sortieren, Ansicht) ── */
.phonedemos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 8px 0 18px; }
.phonedemos .gest { max-width: 300px; }
.scr.pd { aspect-ratio: 520 / 1155; background: #000 top / 100% auto no-repeat; }
.scr.pd::before { display: none; }
.scr.pd * { animation-duration: 8s; }
.pd .ly { position: absolute; inset: 0; background: top / 100% auto no-repeat; opacity: 0; z-index: 1; }
.pd .f, .pd .r { z-index: 6; }
.pd .hint { z-index: 7; }
/* Seitenteil unter der Kategorie-Leiste bzw. nur die Leiste selbst */
.pd .pg { clip-path: inset(43.3% 0 0 0); opacity: 1; transform: translateX(100%); }
.pd .ch { clip-path: inset(37.6% 0 56.9% 0); }

/* Kategorien wischen: zweimal nach links wischen → nächste Kategorie */
.cat .p2 { animation-name: cat-p2; } .cat .c2 { animation-name: cat-c2; }
.cat .p3 { animation-name: cat-p3; } .cat .c3 { animation-name: cat-c3; }
.cat .f { animation-name: cat-f; } .cat .hint.ha { animation-name: cat-ha; } .cat .hint.hb { animation-name: cat-hb; }
@keyframes cat-p2 { 0%, 10% { transform: translateX(100%); opacity: 1; } 22%, 92% { transform: none; opacity: 1; } 97% { transform: none; opacity: 0; } 100% { transform: translateX(100%); opacity: 0; } }
@keyframes cat-c2 { 0%, 19% { opacity: 0; } 23%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes cat-p3 { 0%, 50% { transform: translateX(100%); opacity: 1; } 62%, 92% { transform: none; opacity: 1; } 97% { transform: none; opacity: 0; } 100% { transform: translateX(100%); opacity: 0; } }
@keyframes cat-c3 { 0%, 59% { opacity: 0; } 63%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes cat-f { 0%, 6% { opacity: 0; left: 80%; top: 72%; } 9% { opacity: 1; left: 80%; } 22% { opacity: 1; left: 20%; } 26%, 45% { opacity: 0; left: 20%; } 46% { opacity: 0; left: 80%; } 49% { opacity: 1; left: 80%; } 62% { opacity: 1; left: 20%; } 66%, 100% { opacity: 0; left: 20%; } }
@keyframes cat-ha { 0%, 10% { opacity: 0; } 14%, 42% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes cat-hb { 0%, 52% { opacity: 0; } 56%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }

/* Stöbern: oben läuft das Video, unten scrollt die Liste */
.browse .lst { position: absolute; inset: 0; z-index: 1; overflow: hidden; clip-path: inset(43.3% 0 0 0); }
.browse .lst img { display: block; width: 100%; animation-name: br-l; }
@keyframes br-l { 0%, 8% { transform: none; } 30%, 45% { transform: translateY(-14%); } 62%, 84% { transform: translateY(-30%); } 96%, 100% { transform: none; } }
.browse .f { animation-name: br-f; } .browse .hint { animation-name: br-h; }
@keyframes br-f { 0%, 6% { opacity: 0; left: 55%; top: 88%; } 9% { opacity: 1; top: 88%; } 28% { opacity: 1; top: 56%; } 32%, 42% { opacity: 0; top: 56%; } 43% { opacity: 0; top: 88%; } 46% { opacity: 1; top: 88%; } 60% { opacity: 1; top: 56%; } 64%, 100% { opacity: 0; top: 56%; } }
@keyframes br-h { 0%, 10% { opacity: 0; } 15%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* Favorit: Kachel lange drücken → Stern → antippen → gold */
.fav .s1 { animation-name: fav-s1; } .fav .s2 { animation-name: fav-s2; }
.fav .f { animation-name: fav-f; } .fav .r { animation-name: fav-r; } .fav .hint.ha { animation-name: fav-ha; } .fav .hint.hb { animation-name: fav-hb; }
@keyframes fav-s1 { 0%, 26% { opacity: 0; } 30%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes fav-s2 { 0%, 47% { opacity: 0; } 49%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes fav-f { 0%, 4% { opacity: 0; left: 18%; top: 66%; transform: scale(1.3); } 8% { opacity: 1; transform: scale(1); } 11%, 27% { opacity: 1; left: 18%; top: 66%; transform: scale(.8); } 31% { transform: scale(1); } 40% { opacity: 1; left: 50%; top: 49%; transform: scale(1); } 45% { transform: scale(.78); } 48% { transform: scale(1); opacity: 1; } 56%, 100% { opacity: 0; left: 50%; top: 49%; } }
@keyframes fav-r { 0%, 11% { opacity: 0; left: 18%; top: 66%; transform: scale(.7); } 13% { opacity: .95; } 27% { opacity: .95; transform: scale(2.2); } 31%, 100% { opacity: 0; left: 18%; top: 66%; transform: scale(2.6); } }
@keyframes fav-ha { 0%, 12% { opacity: 0; } 15%, 40% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes fav-hb { 0%, 49% { opacity: 0; } 53%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }

/* Sortieren: Knopf oben antippen → Liste A–Z */
.sort .z { animation-name: sort-z; } .sort .f { animation-name: tap-top; } .sort .r { animation-name: tap-top-r; } .sort .hint { animation-name: sort-h; }
@keyframes sort-z { 0%, 24% { opacity: 0; } 28%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes tap-top { 0%, 8% { opacity: 0; transform: scale(1.3); } 14% { opacity: 1; transform: scale(1); } 19% { transform: scale(.78); } 23% { transform: scale(1); opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes tap-top-r { 0%, 18% { opacity: 0; transform: scale(.6); } 20% { opacity: .95; } 34%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes sort-h { 0%, 28% { opacity: 0; } 32%, 86% { opacity: 1; } 92%, 100% { opacity: 0; } }

/* Ansicht: Knopf oben zweimal antippen → kleine Kacheln → Liste */
.view .k { animation-name: view-k; } .view .li { animation-name: view-li; }
.view .f { animation-name: view-f; } .view .r { animation-name: view-r; } .view .hint.ha { animation-name: view-ha; } .view .hint.hb { animation-name: view-hb; }
@keyframes view-k { 0%, 22% { opacity: 0; } 26%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes view-li { 0%, 56% { opacity: 0; } 60%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes view-f { 0%, 8% { opacity: 0; transform: scale(1.3); } 13% { opacity: 1; transform: scale(1); } 18% { transform: scale(.78); } 22% { transform: scale(1); } 47% { transform: scale(1); } 52% { transform: scale(.78); } 56% { transform: scale(1); opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes view-r { 0%, 17% { opacity: 0; transform: scale(.6); } 19% { opacity: .95; } 30%, 50% { opacity: 0; transform: scale(2.6); } 51% { opacity: 0; transform: scale(.6); } 53% { opacity: .95; } 64%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes view-ha { 0%, 24% { opacity: 0; } 28%, 50% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes view-hb { 0%, 58% { opacity: 0; } 62%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .pd .ly, .pd .pg { animation: none !important; } }
/* Kategorien wischen wie in der App: die alte Seite gleitet nach links hinaus, die neue kommt von rechts */
.pd .pg.blk { background: #0b0d12; transform: none; }
.cat .p1 { animation-name: cat-p1; }
@keyframes cat-p1 { 0%, 10% { transform: none; opacity: 1; } 22%, 92% { transform: translateX(-100%); opacity: 1; } 97% { transform: translateX(-100%); opacity: 0; } 100% { transform: none; opacity: 0; } }
@keyframes cat-p2 { 0%, 10% { transform: translateX(100%); opacity: 1; } 22%, 50% { transform: none; opacity: 1; } 62%, 92% { transform: translateX(-100%); opacity: 1; } 97% { transform: translateX(-100%); opacity: 0; } 100% { transform: translateX(100%); opacity: 0; } }
/* ── Mehrschritt-Animationen (10 s): Schritte bei 10 %, 30 %, 50 %, 70 % ── */
.steps * { animation-duration: 10s !important; }
.steps .ly { animation-name: none; }
.steps .s10 { animation-name: on10; } .steps .s30 { animation-name: on30; } .steps .s50 { animation-name: on50; } .steps .s70 { animation-name: on70; }
@keyframes on10 { 0%, 10% { opacity: 0; } 12%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes on30 { 0%, 30% { opacity: 0; } 32%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes on50 { 0%, 50% { opacity: 0; } 52%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes on70 { 0%, 70% { opacity: 0; } 72%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.steps .hint.w10 { animation-name: w10; } .steps .hint.w30 { animation-name: w30; } .steps .hint.w50 { animation-name: w50; } .steps .hint.w70 { animation-name: w70; }
@keyframes w10 { 0%, 11% { opacity: 0; } 14%, 27% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes w30 { 0%, 31% { opacity: 0; } 34%, 47% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes w50 { 0%, 51% { opacity: 0; } 54%, 67% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes w70 { 0%, 71% { opacity: 0; } 74%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }
/* Finger mit „Druck“-Leuchten beim Tippen */
.steps .f { animation-timing-function: ease-in-out; }
@keyframes press { 0%, 100% { box-shadow: 0 0 0 4px rgba(61, 184, 255, .55), 0 6px 16px rgba(0, 0, 0, .55); } 50% { box-shadow: 0 0 0 14px rgba(61, 184, 255, .35), 0 6px 16px rgba(0, 0, 0, .55); } }
/* Gezogene Zeile: Ausschnitt des Bildes, der nach oben wandert */
.steps .drag { z-index: 4; filter: brightness(1.35); }

/* Sortieren: viermal den Sortier-Knopf antippen */
.srt .f { animation-name: srt-f; }
@keyframes srt-f { 0%, 4% { opacity: 0; transform: scale(1.3); } 7% { opacity: 1; transform: scale(1); }
  9% { transform: scale(.75); } 11% { transform: scale(1); } 29% { transform: scale(.75); } 31% { transform: scale(1); }
  49% { transform: scale(.75); } 51% { transform: scale(1); } 69% { transform: scale(.75); } 71% { transform: scale(1); opacity: 1; } 76%, 100% { opacity: 0; } }

/* Sender ausblenden: Schalter, Filter tippen, „Alle aus“ */
.shide .f { animation-name: shide-f; }
@keyframes shide-f { 0%, 4% { opacity: 0; left: 88.5%; top: 71.2%; } 7%, 9% { opacity: 1; left: 88.5%; top: 71.2%; transform: scale(1); } 10% { transform: scale(.75); } 12% { transform: scale(1); }
  22% { left: 88.5%; top: 71.2%; } 28% { left: 30%; top: 50.2%; } 30% { transform: scale(.75); } 32% { transform: scale(1); }
  42% { left: 30%; top: 50.2%; } 48% { left: 69.5%; top: 50.2%; } 50% { transform: scale(.75); } 52% { transform: scale(1); opacity: 1; } 60%, 100% { opacity: 0; left: 69.5%; top: 50.2%; } }

/* Sender per Nummer verschieben: Stift → „4“ → Verschieben */
.snum .f { animation-name: snum-f; }
@keyframes snum-f { 0%, 4% { opacity: 0; left: 91%; top: 39.4%; } 7%, 9% { opacity: 1; left: 91%; top: 39.4%; transform: scale(1); } 10% { transform: scale(.75); } 12% { transform: scale(1); }
  22% { left: 91%; top: 39.4%; } 28% { left: 10%; top: 61.9%; } 30% { transform: scale(.75); } 32% { transform: scale(1); }
  42% { left: 10%; top: 61.9%; } 48% { left: 65%; top: 57.4%; } 50% { transform: scale(.75); } 52% { transform: scale(1); opacity: 1; } 60%, 100% { opacity: 0; left: 65%; top: 57.4%; } }

/* Sender ziehen: Griff von Platz 4 nach Platz 1 */
.sdrag .f { animation-name: sdrag-f; } .sdrag .drag { animation-name: sdrag-d; }
@keyframes sdrag-f { 0%, 4% { opacity: 0; left: 91%; top: 61.9%; transform: scale(1.3); } 8%, 12% { opacity: 1; top: 61.9%; transform: scale(.8); } 30% { top: 49.8%; transform: scale(.8); } 33% { transform: scale(1); opacity: 1; } 40%, 100% { opacity: 0; top: 49.8%; } }
@keyframes sdrag-d { 0%, 11% { opacity: 0; transform: none; } 12% { opacity: 1; transform: none; } 30% { opacity: 1; transform: translateY(-12.12%); } 34%, 100% { opacity: 0; transform: translateY(-12.12%); } }

/* Kategorien: Sport aus → Stift → Türkisch nach oben ziehen */
.kat .f { animation-name: kat-f; } .kat .drag { animation-name: kat-d; }
@keyframes kat-f { 0%, 4% { opacity: 0; left: 88.5%; top: 59%; } 7%, 9% { opacity: 1; left: 88.5%; top: 59%; transform: scale(1); } 10% { transform: scale(.75); } 12% { transform: scale(1); }
  22% { left: 88.5%; top: 59%; } 28% { left: 91%; top: 40.1%; } 30% { transform: scale(.75); } 32% { transform: scale(1); }
  42% { left: 91%; top: 40.1%; } 47% { left: 91%; top: 70%; transform: scale(1); } 50% { transform: scale(.8); top: 70%; } 68% { top: 50%; transform: scale(.8); } 71% { transform: scale(1); opacity: 1; } 78%, 100% { opacity: 0; left: 91%; top: 50%; } }
@keyframes kat-d { 0%, 49% { opacity: 0; transform: none; } 50% { opacity: 1; transform: none; } 68% { opacity: 1; transform: translateY(-20.2%); } 72%, 100% { opacity: 0; transform: translateY(-20.2%); } }

/* Favoriten: Stift → Haber 55 an den Anfang ziehen */
.favd .f { animation-name: favd-f; } .favd .drag { animation-name: favd-d; }
@keyframes favd-f { 0%, 4% { opacity: 0; left: 81%; top: 3%; } 7%, 9% { opacity: 1; left: 81%; top: 3%; transform: scale(1); } 10% { transform: scale(.75); } 12% { transform: scale(1); }
  22% { left: 81%; top: 3%; } 28% { left: 92%; top: 71.2%; transform: scale(1); } 30% { transform: scale(.8); top: 71.2%; } 48% { top: 46.6%; transform: scale(.8); } 51% { transform: scale(1); opacity: 1; } 58%, 100% { opacity: 0; left: 92%; top: 46.6%; } }
@keyframes favd-d { 0%, 29% { opacity: 0; transform: none; } 30% { opacity: 1; transform: none; } 48% { opacity: 1; transform: translateY(-24.6%); } 52%, 100% { opacity: 0; transform: translateY(-24.6%); } }

/* Kategorien wischen: hin (2×) und zurück (2×), schneller, mit Schweif wie eine Sternschnuppe */
.cat2 * { animation-duration: 9s !important; animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
.cat2 .ly { opacity: 1; }
.cat2 .p1 { animation-name: c2-p1; } .cat2 .p2 { animation-name: c2-p2; } .cat2 .p3 { animation-name: c2-p3; }
.cat2 .c2 { animation-name: c2-c2; } .cat2 .c3 { animation-name: c2-c3; }
@keyframes c2-p1 { 0%, 10% { transform: none; } 15%, 74% { transform: translateX(-100%); } 79%, 100% { transform: none; } }
@keyframes c2-p2 { 0%, 10% { transform: translateX(100%); } 15%, 30% { transform: none; } 35%, 54% { transform: translateX(-100%); } 59%, 74% { transform: none; } 79%, 100% { transform: translateX(100%); } }
@keyframes c2-p3 { 0%, 30% { transform: translateX(100%); } 35%, 54% { transform: none; } 59%, 100% { transform: translateX(100%); } }
@keyframes c2-c2 { 0%, 13% { opacity: 0; } 14%, 76% { opacity: 1; } 77%, 100% { opacity: 0; } }
@keyframes c2-c3 { 0%, 33% { opacity: 0; } 34%, 56% { opacity: 1; } 57%, 100% { opacity: 0; } }
.cat2 .f { animation-name: c2-f; }
@keyframes c2-f { 0%, 7% { opacity: 0; left: 82%; top: 72%; } 9% { opacity: 1; left: 82%; } 15% { opacity: 1; left: 18%; } 18%, 25% { opacity: 0; left: 18%; } 26% { opacity: 0; left: 82%; } 29% { opacity: 1; left: 82%; } 35% { opacity: 1; left: 18%; } 38%, 46% { opacity: 0; left: 18%; }
  49% { opacity: 1; left: 18%; } 55% { opacity: 1; left: 82%; } 58%, 66% { opacity: 0; left: 82%; } 67% { opacity: 0; left: 18%; } 69% { opacity: 1; left: 18%; } 75% { opacity: 1; left: 82%; } 78%, 100% { opacity: 0; left: 82%; } }
/* Schweif: läuft hinter dem Finger her (nach links bzw. nach rechts) */
.cat2 .tl, .cat2 .tr { position: absolute; z-index: 5; top: 72%; height: 10px; margin-top: -5px; width: 34%; border-radius: 6px; opacity: 0; }
.cat2 .tl { background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(61, 184, 255, .55) 40%, rgba(61, 184, 255, 0)); animation-name: c2-tl; }
.cat2 .tr { background: linear-gradient(270deg, rgba(255, 255, 255, .95), rgba(61, 184, 255, .55) 40%, rgba(61, 184, 255, 0)); animation-name: c2-tr; }
@keyframes c2-tl { 0%, 8% { opacity: 0; left: 82%; } 9% { opacity: .95; left: 82%; } 15% { opacity: .95; left: 18%; } 18%, 28% { opacity: 0; left: 18%; } 29% { opacity: .95; left: 82%; } 35% { opacity: .95; left: 18%; } 38%, 100% { opacity: 0; left: 18%; } }
@keyframes c2-tr { 0%, 48% { opacity: 0; left: -16%; } 49% { opacity: .95; left: -16%; } 55% { opacity: .95; left: 48%; } 58%, 68% { opacity: 0; left: 48%; } 69% { opacity: .95; left: -16%; } 75% { opacity: .95; left: 48%; } 78%, 100% { opacity: 0; left: 48%; } }
.cat2 .hint.k1 { animation-name: c2-k1; } .cat2 .hint.k2 { animation-name: c2-k2; } .cat2 .hint.k3 { animation-name: c2-k3; } .cat2 .hint.k4 { animation-name: c2-k4; }
@keyframes c2-k1 { 0%, 12% { opacity: 0; } 15%, 27% { opacity: 1; } 29%, 100% { opacity: 0; } }
@keyframes c2-k2 { 0%, 32% { opacity: 0; } 35%, 47% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes c2-k3 { 0%, 52% { opacity: 0; } 55%, 67% { opacity: 1; } 69%, 100% { opacity: 0; } }
@keyframes c2-k4 { 0%, 72% { opacity: 0; } 75%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .steps *, .cat2 * { animation: none !important; } }
/* Leerer Platz, solange die Zeile gezogen wird */
.steps .gap { z-index: 3; background: #0b0d12; }
.sdrag .gap { animation-name: sdrag-g; } .kat .gap { animation-name: kat-g; } .favd .gap { animation-name: favd-g; }
@keyframes sdrag-g { 0%, 11% { opacity: 0; } 12%, 33% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes kat-g { 0%, 49% { opacity: 0; } 50%, 71% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes favd-g { 0%, 29% { opacity: 0; } 30%, 51% { opacity: 1; } 52%, 100% { opacity: 0; } }
/* Feste Fingerposition (Sortier-Knopf oben bzw. Wischhöhe) */
.srt .f { --x: 81%; --y: 3%; }
.cat2 .f { --y: 72%; }
/* Nachrückende Zeilen beim Ziehen (wie ReorderableListView in der App) */
.steps .mv { z-index: 3; }
@keyframes rowdown { 0% { transform: none; } 2%, 60% { transform: translateY(var(--p)); } 61%, 100% { transform: none; } }
/* ── Per Nummer verschieben (12 s): Stift → Nummer → alte Zahl löschen → neue eintippen → Verschieben → Sprung ── */
.num * { animation-duration: 12s !important; }
.num .ly { animation-name: none; }
.num .gap { z-index: 3; background: #0b0d12; }
.num .mv { z-index: 3; }
.num .drag { z-index: 4; filter: brightness(1.35); }
.num .n-edit { animation-name: n-edit; } .num .n-d4 { animation-name: n-d4; } .num .n-dleer { animation-name: n-dleer; }
.num .n-d1 { animation-name: n-d1; } .num .n-nach { animation-name: n-nach; }
.num .gap { animation-name: jmp-g; } .num .drag { animation-name: jmp-d; }
@keyframes n-edit { 0%, 8% { opacity: 0; } 9%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes n-d4 { 0%, 20% { opacity: 0; } 21%, 56% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes n-dleer { 0%, 33% { opacity: 0; } 34%, 56% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes n-d1 { 0%, 44% { opacity: 0; } 45%, 56% { opacity: 1; } 57%, 100% { opacity: 0; } }
@keyframes n-nach { 0%, 67% { opacity: 0; } 68%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes jmp-g { 0%, 56% { opacity: 0; } 57%, 68% { opacity: 1; } 69%, 100% { opacity: 0; } }
@keyframes jmp-d { 0%, 56% { opacity: 0; transform: none; } 57%, 58% { opacity: 1; transform: none; } 67% { opacity: 1; transform: translateY(var(--j)); } 68% { opacity: 1; transform: translateY(var(--j)); } 69%, 100% { opacity: 0; transform: translateY(var(--j)); } }
/* Finger: Stift (a) → Nummer (b) → Feld: löschen und tippen (c) → Verschieben (d) */
.num .f { animation-name: num-f; }
@keyframes num-f {
  0%, 4% { opacity: 0; left: var(--ax); top: var(--ay); transform: scale(1.3); }
  7% { opacity: 1; left: var(--ax); top: var(--ay); transform: scale(1); } 8% { transform: scale(.75); } 9.5% { transform: scale(1); }
  14% { left: var(--ax); top: var(--ay); } 18% { left: var(--bx); top: var(--by); } 20% { transform: scale(.75); } 21.5% { transform: scale(1); }
  27% { left: var(--bx); top: var(--by); } 31% { left: var(--cx); top: var(--cy); } 33% { transform: scale(.75); } 34% { transform: scale(1); }
  43% { transform: scale(1); } 44% { transform: scale(.75); } 45.5% { transform: scale(1); }
  50% { left: var(--cx); top: var(--cy); } 54% { left: var(--dx); top: var(--dy); } 56% { transform: scale(.75); } 57.5% { transform: scale(1); opacity: 1; }
  62%, 100% { opacity: 0; left: var(--dx); top: var(--dy); } }
.num .hint.ha { animation-name: nh-a; } .num .hint.hb { animation-name: nh-b; } .num .hint.hc { animation-name: nh-c; }
.num .hint.hd { animation-name: nh-d; } .num .hint.he { animation-name: nh-e; } .num .hint.hf { animation-name: nh-f; }
@keyframes nh-a { 0%, 8% { opacity: 0; } 10%, 18% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes nh-b { 0%, 20% { opacity: 0; } 22%, 31% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes nh-c { 0%, 33% { opacity: 0; } 35%, 42% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes nh-d { 0%, 44% { opacity: 0; } 46%, 54% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes nh-e { 0%, 55% { opacity: 0; } 56%, 66% { opacity: 1; } 67%, 100% { opacity: 0; } }
@keyframes nh-f { 0%, 67% { opacity: 0; } 69%, 90% { opacity: 1; } 95%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .num * { animation: none !important; } }
/* ── Player-Funktionen (Anleitung) ── */
/* Sprache & Untertitel: Bedienleiste → Knopf → Fenster von unten → „Türkçe“ */
.trk * { animation-duration: 8s !important; }
.trk .bar { animation-name: trk-bar; }
.trk .bar::after { content: "\23F8   \23EE   \23ED"; }
.trk .lang { position: absolute; z-index: 2; right: 12px; bottom: 34px; padding: 2px 7px; border-radius: 6px; border: 1.5px solid #fff; color: #fff; font-size: 11px; font-weight: 800; opacity: 0; animation-name: trk-bar; }
.trk .sheet { height: 88%; animation-name: trk-sheet; }
.trk .sheet b + .srow { margin-top: 0; }
.trk .sheet .gap8 { display: block; height: 4px; }
.trk .srow.tr { animation-name: trk-on; }
.trk .srow.de { animation-name: trk-off; }
.trk .f { animation-name: trk-f; }
.trk .hint { animation-name: trk-h; }
@keyframes trk-bar { 0%, 10% { opacity: 0; } 14%, 40% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes trk-sheet { 0%, 38% { transform: translateY(105%); } 46%, 78% { transform: translateY(0); } 86%, 100% { transform: translateY(105%); } }
@keyframes trk-on { 0%, 66% { background: #1d2330; color: #f2f4f8; } 68%, 100% { background: #f2f4f8; color: #0b0d12; } }
@keyframes trk-off { 0%, 66% { background: #f2f4f8; color: #0b0d12; } 68%, 100% { background: #1d2330; color: #f2f4f8; } }
@keyframes trk-f { 0%, 4% { opacity: 0; left: 50%; top: 40%; transform: scale(1.3); } 7% { opacity: 1; transform: scale(1); } 9% { transform: scale(.78); } 11% { transform: scale(1); left: 50%; top: 40%; }
  24% { left: 88%; top: 82%; } 30% { transform: scale(.78); } 32% { transform: scale(1); left: 88%; top: 82%; }
  52% { left: 30%; top: 47%; } 64% { left: 30%; top: 47%; transform: scale(1); } 66% { transform: scale(.78); } 68% { transform: scale(1); opacity: 1; } 76%, 100% { opacity: 0; left: 30%; top: 47%; } }
@keyframes trk-h { 0%, 80% { opacity: 0; } 84%, 96% { opacity: 1; } 99%, 100% { opacity: 0; } }

/* Mauszeiger (Computer) */
.cur-m { position: absolute; z-index: 8; width: 22px; height: 22px; margin: -2px 0 0 -2px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 2l7 19 2.6-7.4L20 11z' fill='%23fff' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }

/* Schwebender Player: Klick auf Bild-im-Bild → Player schwebt über dem Schreibtisch → Ecke ziehen */
.scr.dsk { aspect-ratio: 1000 / 625; background: #000 top / 100% auto no-repeat; }
.scr.dsk::before { display: none; }
.pip * { animation-duration: 10s !important; animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
.pip .wall { position: absolute; inset: 0; z-index: 1; opacity: 0; animation-name: pip-wall;
  background: radial-gradient(circle at 25% 30%, #2a4d7a 0, #142338 45%, #0b1220 100%); }
.pip .wall::before { content: ""; position: absolute; left: 6%; top: 10%; width: 46%; height: 62%; border-radius: 8px; background: #f2f4f8;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); background-image: linear-gradient(#dfe3ea 0 9%, transparent 9%), repeating-linear-gradient(#f2f4f8 0 14px, #e3e7ee 14px 16px); }
.pip .wall::after { content: "Andere Programme laufen weiter"; position: absolute; left: 6%; top: 74%; color: rgba(255,255,255,.75); font-size: 12px; font-weight: 600; }
.pip .pw { position: absolute; z-index: 3; border-radius: 8px; overflow: hidden; background: #000 center 30% / cover no-repeat; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 14px 34px rgba(0,0,0,.6); animation-name: pip-pw; }
.pip .cur-m { animation-name: pip-c; }
.pip .hint.ha { animation-name: pip-ha; } .pip .hint.hb { animation-name: pip-hb; }
@keyframes pip-wall { 0%, 20% { opacity: 0; } 30%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes pip-pw { 0%, 20% { left: 55.07%; top: 0; width: 44.93%; height: 40.43%; border-radius: 0; }
  32%, 46% { left: 67%; top: 68%; width: 30%; height: 27%; border-radius: 8px; }
  60%, 64% { left: 55%; top: 57.2%; width: 42%; height: 37.8%; }
  78%, 90% { left: 73%; top: 73.4%; width: 24%; height: 21.6%; }
  97%, 100% { left: 55.07%; top: 0; width: 44.93%; height: 40.43%; border-radius: 0; } }
@keyframes pip-c { 0%, 5% { opacity: 0; left: 40%; top: 60%; } 8% { opacity: 1; left: 40%; top: 60%; } 16%, 19% { left: 95%; top: 5%; transform: scale(1); } 17.5% { transform: scale(.85); }
  32% { left: 82%; top: 40%; } 44%, 46% { left: 67%; top: 68%; } 60%, 64% { left: 55%; top: 57.2%; } 78% { left: 73%; top: 73.4%; opacity: 1; } 84%, 100% { opacity: 0; left: 73%; top: 73.4%; } }
@keyframes pip-ha { 0%, 16% { opacity: 0; } 20%, 42% { opacity: 1; } 45%, 100% { opacity: 0; } }
@keyframes pip-hb { 0%, 45% { opacity: 0; } 48%, 86% { opacity: 1; } 90%, 100% { opacity: 0; } }

/* Weiterschauen: angefangenen Film antippen → „Weiterschauen ab 47:00“ / „Von vorn“ */
.cont * { animation-duration: 8s !important; }
.cont .sheet { left: 0; right: 0; height: auto; padding: 16px 12px 14px; animation-name: cont-sheet; }
.cont .sheet b { font-size: 11px; margin-bottom: 8px; }
.cont .bigb { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding: 10px 12px; border-radius: 999px; background: #1d2330; color: #f2f4f8; font-size: 12px; font-weight: 700; }
.cont .bigb.p { background: #f2f4f8; color: #0b0d12; }
.cont .f { animation-name: cont-f; }
.cont .hint.ha { animation-name: cont-ha; } .cont .hint.hb { animation-name: cont-hb; }
@keyframes cont-sheet { 0%, 26% { transform: translateY(105%); } 34%, 72% { transform: translateY(0); } 80%, 100% { transform: translateY(105%); } }
@keyframes cont-f { 0%, 6% { opacity: 0; left: 75%; top: 58%; transform: scale(1.3); } 10% { opacity: 1; transform: scale(1); } 13% { transform: scale(.78); } 16% { transform: scale(1); left: 75%; top: 58%; }
  44% { left: 50%; top: 84%; } 56% { left: 50%; top: 84%; transform: scale(1); } 59% { transform: scale(.78); } 62% { transform: scale(1); opacity: 1; } 70%, 100% { opacity: 0; left: 50%; top: 84%; } }
@keyframes cont-ha { 0%, 8% { opacity: 0; } 11%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }
@keyframes cont-hb { 0%, 72% { opacity: 0; } 76%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .trk *, .pip *, .cont * { animation: none !important; } }

/* ── Anleitung auf dem Handy: wischbare Reihen statt langer Spalten ── */
@media (max-width: 720px) {
  /* Inhaltsverzeichnis: wischbare Leiste, bleibt beim Scrollen oben */
  .guide .toc { display: flex; grid-template-columns: none; gap: 8px; overflow-x: auto; position: sticky; top: 0; z-index: 30;
    margin: 0 -16px 8px; padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .guide .toc::-webkit-scrollbar { display: none; }
  .guide .toc a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
  .guide h2.sec { scroll-margin-top: 64px; }
  /* Animationen und Gesten: Karussell – eine Karte groß, die nächste lugt hervor */
  .guide .gestures, .guide .phonedemos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 6px -16px 18px; padding: 4px 16px 14px; scrollbar-width: thin; }
  .guide .gestures > .gest { flex: 0 0 84%; scroll-snap-align: center; }
  .guide .phonedemos > .gest { flex: 0 0 68%; max-width: 260px; scroll-snap-align: center; }
  .guide .gestures::after, .guide .phonedemos::after { content: ""; flex: 0 0 4px; }
  /* Tasten-Tabelle: jede Zeile als kleine Karte */
  .guide .keys, .guide .keys tbody { display: block; }
  .guide .keys tr:has(th) { display: none; }
  .guide .keys tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .guide .keys td { border: none; padding: 0; }
  .guide .keys td:first-child { grid-column: 1 / -1; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; }
}

/* ── Sprache & Untertitel (12 s, zwei Fälle): 1. mehrere Tonspuren → „Türkçe“ · 2. nur eine Tonspur → Hinweis der App ── */
.trkwrap { max-width: 640px; margin: 6px 0 18px; }
.trk2 * { animation-duration: 12s !important; animation-iteration-count: infinite; }
.trk2 .alt { position: absolute; inset: 0; z-index: 0; background: center / cover no-repeat; opacity: 0; animation-name: t2-alt; }
.trk2 .bar { animation-name: t2-bar; }
.trk2 .bar::after { content: "\23F8   \23EE   \23ED"; }
.trk2 .lang { position: absolute; z-index: 2; right: 12px; bottom: 34px; padding: 2px 7px; border-radius: 6px; border: 1.5px solid #fff; color: #fff; font-size: 11px; font-weight: 800; opacity: 0; animation-name: t2-bar; }
.trk2 .sheet { height: 88%; animation-name: t2-s1; }
.trk2 .sheet.one { height: 62%; animation-name: t2-s2; }
.trk2 .sheet .gap8 { display: block; height: 4px; }
.trk2 .sheet .note { display: block; margin: 2px 4px 8px; font-size: 11px; color: #f2f4f8; }
.trk2 .srow.tr { animation-name: t2-on; }
.trk2 .srow.de { animation-name: t2-off; }
.trk2 .f { animation-name: t2-f; }
.trk2 .hint.ha { animation-name: t2-ha; } .trk2 .hint.hb { animation-name: t2-hb; }
@keyframes t2-alt { 0%, 48% { opacity: 0; } 50%, 97% { opacity: 1; } 99%, 100% { opacity: 0; } }
@keyframes t2-bar { 0%, 4.5% { opacity: 0; } 6%, 21% { opacity: 1; } 23%, 53% { opacity: 0; } 54.5%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes t2-s1 { 0%, 19% { transform: translateY(105%); } 23%, 42% { transform: translateY(0); } 46%, 100% { transform: translateY(105%); } }
@keyframes t2-s2 { 0%, 66% { transform: translateY(105%); } 70%, 93% { transform: translateY(0); } 97%, 100% { transform: translateY(105%); } }
@keyframes t2-on { 0%, 32% { background: #1d2330; color: #f2f4f8; } 34%, 100% { background: #f2f4f8; color: #0b0d12; } }
@keyframes t2-off { 0%, 32% { background: #f2f4f8; color: #0b0d12; } 34%, 100% { background: #1d2330; color: #f2f4f8; } }
@keyframes t2-f {
  0%, 2% { opacity: 0; left: 50%; top: 40%; transform: scale(1.3); }
  3.5% { opacity: 1; transform: scale(1); } 4.5% { transform: scale(.78); } 5.5% { transform: scale(1); left: 50%; top: 40%; }
  12% { left: 88%; top: 82%; } 15% { transform: scale(.78); } 16% { transform: scale(1); left: 88%; top: 82%; }
  26% { left: 30%; top: 47%; } 32% { left: 30%; top: 47%; transform: scale(1); } 33% { transform: scale(.78); } 34% { transform: scale(1); opacity: 1; }
  38%, 50% { opacity: 0; left: 50%; top: 40%; transform: scale(1.3); }
  52% { opacity: 1; transform: scale(1); } 53% { transform: scale(.78); } 54% { transform: scale(1); left: 50%; top: 40%; }
  60% { left: 88%; top: 82%; } 63% { transform: scale(.78); } 64% { transform: scale(1); opacity: 1; left: 88%; top: 82%; }
  70%, 100% { opacity: 0; left: 88%; top: 82%; } }
@keyframes t2-ha { 0%, 35% { opacity: 0; } 37%, 46% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes t2-hb { 0%, 76% { opacity: 0; } 78%, 95% { opacity: 1; } 97%, 100% { opacity: 0; } }

/* ── Schwebender Player: echter Schreibtisch (Hintergrundbild, Browserfenster mit der IPTV55-Seite, Taskleiste) ── */
.pip .wall { background: #0b1220 center / cover no-repeat; }
.pip .wall::before, .pip .wall::after { content: none; }
.pip .wall .dim { position: absolute; inset: 0; background: rgba(5, 10, 20, .28); }
.pip .win { position: absolute; left: 4%; top: 5%; width: 64%; height: 76%; border-radius: 8px; overflow: hidden; background: #0b0d12;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .15); }
.pip .win .tb { height: 9%; background: #e8eaef; display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 11px; color: #333; }
.pip .win .tb b { background: #fff; padding: 3px 10px; border-radius: 6px 6px 0 0; font-weight: 600; align-self: flex-end; }
.pip .win .tb i { margin-left: auto; font-style: normal; letter-spacing: 9px; color: #555; }
.pip .win .pg { height: 91%; background: top / 100% auto no-repeat; }
.pip .task { position: absolute; left: 0; right: 0; bottom: 0; height: 8%; background: rgba(12, 16, 24, .88); display: flex; align-items: center; justify-content: center; gap: 14px; }
.pip .task span { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .18); }
.pip .task img { width: 24px; height: 24px; border-radius: 6px; box-shadow: 0 0 0 2px #3db8ff; }
.pip .win, .pip .win .pg, .pip .task span, .pip .wall .dim { display: block; }
/* Hintergrundbild nur als Landschaft (Senderlogo und Einblendung abgeschnitten) */
.pip .wall { background-size: 165% auto; background-position: 40% 45%; }
/* Download-Fenster (Windows/Mac/Android): öffnet sich über #dl-…, ohne JavaScript */
.dlpop { display: none; position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .72); align-items: center; justify-content: center; padding: 16px; }
.dlpop:target { display: flex; }
.dlpop-box { position: relative; max-width: 520px; width: 100%; padding: 24px; }
.dlpop-box h3 { margin: 0 28px 8px 0; font-size: 20px; }
.dlpop-box ol { line-height: 1.8; padding-left: 22px; margin: 12px 0 18px; }
.dlpop-box .btn { margin: 0 8px 8px 0; }
.dlpop-x { position: absolute; right: 16px; top: 12px; font-size: 20px; color: var(--muted); }
/* Startseite: Collagen und stehende Gesten-Hinweise auf den Bildern */
.collagen { display: grid; gap: 14px; margin: 6px 0 10px; }
.collagen img { width: 100%; }
.gfig { position: relative; }
.gh { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; padding: 5px 11px; border-radius: 999px;
  background: rgba(11, 13, 18, .8); border: 1.5px solid rgba(61, 184, 255, .75); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 6px 16px rgba(0, 0, 0, .45); }
