@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(/fonts/barlow-condensed-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }

:root {
  --night: #141a33;
  --night-deep: #0f1328;
  --panel: #1e2647;
  --panel-hi: #27305a;
  --line: #2f3963;
  --text: #f1f2fa;
  --muted: #a3abcf;
  --amber: #ffb547;
  --amber-glow: rgba(255, 181, 71, .16);
  --live: #ff5d5d;
  --tile: #eef0f8;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--night);
  color: var(--text);
  font: 400 16px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* ---------- Anmeldung ---------- */
.login {
  min-height: 100%; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(120% 80% at 50% 0%, var(--panel) 0%, var(--night) 60%);
}
.login-card { width: min(340px, 100%); display: grid; gap: 12px; }
.brand { font: 700 44px/1 var(--cond); letter-spacing: .01em; margin-bottom: 18px; display: flex; align-items: baseline; gap: 10px; }
.brand .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 18px var(--amber); align-self: center; }
.login-card label { color: var(--muted); font-size: 14px; }
.login-card input {
  background: var(--night-deep); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 17px;
}
.login-card button {
  margin-top: 4px; background: var(--amber); color: #2a1a00; border: 0; border-radius: 10px; padding: 14px;
  font: 600 20px/1 var(--cond); letter-spacing: .02em;
}
.error { color: var(--live); min-height: 1.3em; margin: 0; font-size: 15px; }

/* ---------- Aufbau ---------- */
.app { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) var(--list-w); }
:root { --list-w: 500px; }
.stage { display: flex; flex-direction: column; min-width: 0; padding: 24px; gap: 18px; overflow: auto; }
.browser { display: flex; flex-direction: column; min-height: 0; background: var(--night-deep); }

/* ---------- Bild ---------- */
.player-wrap {
  position: relative; background: #000; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(5, 8, 25, .6);
}
video { width: 100%; height: 100%; display: block; background: #000; }
.overlay {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  background: rgba(15, 19, 40, .6); transition: opacity .25s;
}
.overlay.off { opacity: 0; }
.overlay-text { color: var(--muted); text-align: center; padding: 0 16px; font-size: 16px; }
.overlay.loading .overlay-text::before {
  content: ""; display: block; margin: 0 auto 14px; width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--amber); animation: spin .9s linear infinite;
}
.overlay.error .overlay-text { color: var(--live); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Einblendung beim Umschalten – das eine laute Element */
.osd {
  position: absolute; top: 18px; left: 22px; display: flex; align-items: baseline; gap: 14px;
  pointer-events: none; opacity: 0; transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
}
.osd.show { opacity: 1; transform: none; }
.osd-num { font: 700 clamp(48px, 7vw, 96px)/.9 var(--cond); color: var(--amber); font-variant-numeric: tabular-nums; }
.osd-name { font: 600 clamp(22px, 2.6vw, 34px)/1 var(--cond); }
.osd-typed .osd-num { color: var(--text); }

/* ---------- Was läuft ---------- */
.now { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.now-head { display: flex; align-items: center; gap: 14px; }
.now-head .tile { width: 64px; height: 48px; }
.now-titles { flex: 1; min-width: 0; }
.now-name { font: 600 28px/1.05 var(--cond); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-show { color: var(--muted); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zap { display: flex; gap: 8px; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel);
  font-size: 15px; color: var(--muted);
}
.icon-btn:hover { color: var(--text); background: var(--panel-hi); }
.progress { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--live); }
/* Zuletzt gesehen – eine Zeile Kacheln, auf schmalen Bildschirmen seitlich wischbar */
.recent { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.recent::-webkit-scrollbar { display: none; }
.recent-item {
  flex: none; display: grid; justify-items: center; gap: 4px; width: 78px; padding: 6px 4px 5px;
  background: none; border: 1px solid transparent; border-radius: 10px;
}
.recent-item:hover { background: var(--panel); }
.recent-item.on { border-color: var(--amber); background: var(--amber-glow); }
.recent-item .tile { width: 52px; height: 38px; }
.recent-item span:last-child {
  max-width: 100%; font: 600 13px/1.1 var(--cond); color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.recent-item.on span:last-child { color: var(--amber); }

.upnext {
  list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px;
  max-height: 232px; overflow-y: auto; align-content: start;
}
.upnext li {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 10px 12px; border-radius: 10px; cursor: pointer;
}
.upnext li:hover { background: var(--panel); }
.upnext li.cur { background: var(--amber-glow); cursor: default; }
.upnext time { font: 600 19px/1.25 var(--cond); color: var(--muted); font-variant-numeric: tabular-nums; }
.upnext li.cur time { color: var(--amber); }
.upnext b { display: block; font: 600 19px/1.25 var(--cond); }
.upnext p {
  margin: 3px 0 0; color: var(--muted); font-size: 14px; max-width: 70ch;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.upnext li.cur p, .upnext li.open p { -webkit-line-clamp: unset; display: block; }
.now-titles { cursor: default; }

/* ---------- Senderliste ---------- */
.bar { padding: 18px 16px 10px; display: grid; gap: 12px; }
.tabs { display: flex; gap: 16px; }
.tab {
  background: none; border: 0; padding: 0 0 6px; color: var(--muted);
  font: 600 22px/1 var(--cond); border-bottom: 3px solid transparent;
}
.tab.active { color: var(--text); border-bottom-color: var(--amber); }
#search {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--night);
  font-size: 16px;
}
#search::placeholder { color: var(--muted); }
.subbar { display: flex; align-items: center; gap: 10px; padding: 4px 16px 10px; color: var(--muted); font-size: 14px; }
.list-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link { background: none; border: 0; color: var(--amber); padding: 4px 0; font-weight: 600; }

.list { list-style: none; margin: 0; padding: 0 8px env(safe-area-inset-bottom); overflow-y: auto; flex: 1; min-height: 0; }
.row {
  display: flex; align-items: center; gap: 12px; padding: 8px 8px; border-radius: 12px; min-height: 64px;
  user-select: none; -webkit-user-select: none;
}
.row:hover { background: var(--panel); }
.row.playing { background: var(--amber-glow); }
.row.playing .name { color: var(--amber); }
.row.dragging { background: var(--panel-hi); position: relative; z-index: 2; box-shadow: 0 10px 24px rgba(5, 8, 25, .6); }
.row .main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; background: none; border: 0; text-align: left; padding: 0; }
.row .num {
  width: 34px; flex: none; text-align: right; color: var(--muted);
  font: 600 22px/1 var(--cond); font-variant-numeric: tabular-nums;
}
.row.playing .num { color: var(--amber); }

.tile {
  width: 52px; height: 38px; flex: none; border-radius: 8px; background: var(--tile);
  display: grid; place-items: center; overflow: hidden; padding: 4px 6px;
}
.tile img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.tile.dark { background: #2b3566; }
.tile.ph { background: var(--panel-hi); color: var(--muted); font: 600 15px/1 var(--cond); }

.row .names { min-width: 0; flex: 1; }
.row .name { font: 600 19px/1.15 var(--cond); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .show { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.2em; }
.row .bar-mini { height: 2px; margin-top: 4px; background: var(--line); border-radius: 1px; overflow: hidden; }
.row .bar-mini span { display: block; height: 100%; width: 0; background: var(--live); }
.row .count { color: var(--muted); font: 500 18px/1 var(--cond); padding-right: 8px; }
.row.cat .name { font-size: 20px; }

.star { background: none; border: 0; font-size: 22px; color: var(--line); width: 40px; height: 40px; flex: none; }
.star:hover { color: var(--muted); }
.star.on { color: var(--amber); }
.handle {
  width: 30px; height: 44px; display: grid; place-items: center; color: var(--muted); font-size: 20px;
  touch-action: none; cursor: grab; flex: none;
}
.moves { display: flex; gap: 6px; flex: none; }
.moves button { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 12px; }
.empty { color: var(--muted); text-align: center; padding: 32px 24px; }

/* ---------- Filme und Serien ---------- */
.tabs { flex-wrap: wrap; row-gap: 6px; }
.chips {
  display: flex; gap: 8px; padding: 2px 16px 10px; overflow-x: auto; scrollbar-width: none; flex: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font-size: 14px; white-space: nowrap;
}
.chip.active { background: var(--amber); border-color: var(--amber); color: #2a1a00; font-weight: 600; }

.list.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 16px 12px;
  padding: 4px 16px 24px; align-content: start;
}
.poster { list-style: none; min-width: 0; }
.poster-btn { background: none; border: 0; padding: 0; text-align: left; width: 100%; display: grid; gap: 6px; }
.poster-img {
  position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 8px; overflow: hidden; background: var(--panel);
}
.poster-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-btn:hover .poster-img { box-shadow: 0 0 0 2px var(--amber); }
.poster-ph {
  width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font: 700 34px/1 var(--cond);
}
.poster-title {
  font: 600 16px/1.15 var(--cond); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.poster-meta { color: var(--muted); font-size: 13px; margin-top: -3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seen { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(15, 19, 40, .7); }
.seen span { display: block; height: 100%; background: var(--live); }

.detail { overflow-y: auto; flex: 1; min-height: 0; padding: 4px 16px 32px; }
.detail-head { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: end; }
.detail-cover { display: block; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: var(--panel); }
.detail-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail h2 { margin: 0 0 8px; font: 700 30px/1.02 var(--cond); }
.facts { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 14px; }
.rating { margin-top: 8px; color: var(--amber); font: 600 18px/1 var(--cond); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.btn {
  padding: 11px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel);
  font: 600 18px/1 var(--cond); letter-spacing: .01em;
}
.btn.primary { background: var(--amber); border-color: var(--amber); color: #2a1a00; }
.plot { color: var(--muted); margin: 14px 0 0; max-width: 62ch; }
.seasons { display: flex; gap: 8px; overflow-x: auto; margin: 22px 0 8px; scrollbar-width: none; }
.episodes { list-style: none; margin: 0; padding: 0; }
.ep {
  width: 100%; display: flex; gap: 14px; align-items: center; padding: 10px 6px; background: none; border: 0;
  border-radius: 10px; text-align: left;
}
.ep:hover { background: var(--panel); }
.ep-num { width: 30px; text-align: right; flex: none; color: var(--muted); font: 600 22px/1 var(--cond); font-variant-numeric: tabular-nums; }
.ep-text { flex: 1; min-width: 0; display: grid; gap: 2px; position: relative; padding-bottom: 6px; }
.ep-title { font: 600 18px/1.15 var(--cond); }
.ep-meta { color: var(--muted); font-size: 13px; }
.ep .seen { border-radius: 2px; height: 3px; }

/* Zeitleiste für Filme */
.vodbar { display: flex; align-items: center; gap: 10px; }
.vodbar .t { font: 600 17px/1 var(--cond); font-variant-numeric: tabular-nums; color: var(--muted); min-width: 52px; text-align: center; }
.vodbar .icon-btn { width: auto; padding: 0 12px; font: 600 16px/1 var(--cond); }
#seek {
  --fill: 0%;
  flex: 1; min-width: 0; height: 28px; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
#seek::-webkit-slider-runnable-track {
  height: 5px; border-radius: 3px; background: linear-gradient(to right, var(--live) var(--fill), var(--line) var(--fill));
}
#seek::-moz-range-track { height: 5px; border-radius: 3px; background: linear-gradient(to right, var(--live) var(--fill), var(--line) var(--fill)); }
#seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--text); margin-top: -5.5px; border: 0;
}
#seek::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 0; }

/* ---------- Programm (EPG) ---------- */
.guide {
  --g-ch-w: 190px; --g-row-h: 58px;
  position: fixed; inset: 0; z-index: 20; background: var(--night); display: flex; flex-direction: column;
}
.guide-bar {
  display: flex; align-items: center; gap: 16px; padding: 14px 20px; padding-top: calc(14px + env(safe-area-inset-top));
  border-bottom: 1px solid var(--line);
}
.guide-bar h2 { margin: 0; font: 700 30px/1 var(--cond); }
.guide-day { flex: 1; color: var(--muted); }
.guide-bar .btn { padding: 9px 16px; font-size: 17px; }
.guide-scroll { flex: 1; overflow: auto; overscroll-behavior: contain; }
.guide-grid { position: relative; width: max-content; padding-bottom: env(safe-area-inset-bottom); }

.g-head { display: flex; position: sticky; top: 0; z-index: 4; background: var(--night-deep); border-bottom: 1px solid var(--line); }
.g-corner { width: var(--g-ch-w); flex: none; position: sticky; left: 0; background: var(--night-deep); z-index: 1; }
.g-times { position: relative; height: 34px; }
.g-slot {
  position: absolute; top: 0; height: 100%; padding: 8px 0 0 8px; border-left: 1px solid var(--line);
  color: var(--muted); font: 600 16px/1 var(--cond); font-variant-numeric: tabular-nums;
}

.g-row { display: flex; height: var(--g-row-h); border-bottom: 1px solid rgba(47, 57, 99, .55); }
.g-ch {
  width: var(--g-ch-w); flex: none; position: sticky; left: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 0 12px 0 8px;
  background: var(--night-deep); border: 0; border-right: 1px solid var(--line); text-align: left;
}
.g-ch:hover { background: var(--panel); }
.g-num { width: 22px; text-align: right; color: var(--muted); font: 600 17px/1 var(--cond); font-variant-numeric: tabular-nums; flex: none; }
.g-ch .tile { width: 44px; height: 32px; }
.g-name { font: 600 16px/1.1 var(--cond); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-line { position: relative; flex: none; }
.g-loading, .g-none { position: absolute; left: 12px; top: 19px; color: var(--muted); font-size: 13px; }

.g-show {
  position: absolute; top: 5px; bottom: 5px; border: 0; border-radius: 8px; background: var(--panel);
  padding: 6px 10px; text-align: left; overflow: hidden; display: grid; align-content: center; gap: 1px;
}
.g-show:hover { background: var(--panel-hi); }
.g-show.live { background: #3a3426; box-shadow: inset 3px 0 0 var(--amber); }
.g-show.live:hover { background: #4a4130; }
.g-show.past { opacity: .5; }
.g-title { font: 600 16px/1.15 var(--cond); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-now {
  position: absolute; top: 0; bottom: 0; width: 2px; background: var(--live); z-index: 3; pointer-events: none;
  box-shadow: 0 0 10px rgba(255, 93, 93, .6);
}
.guide-open { overflow: hidden; }

@media (max-width: 900px) {
  .guide { --g-ch-w: 96px; --g-row-h: 54px; }
  .g-name { display: none; }
  .g-ch { gap: 6px; padding: 0 6px; }
  .guide-day { font-size: 14px; }
  .guide-bar { gap: 10px; padding-left: 16px; padding-right: 12px; }
  .guide-bar h2 { font-size: 26px; }
}

/* PC: Bild füllt die verfügbare Höhe, Programminfo bleibt kompakt darunter */
@media (min-width: 901px) {
  .stage { overflow: hidden; }
  .player-wrap { aspect-ratio: auto; flex: none; height: min(58vh, calc((100vw - var(--list-w) - 48px) * 9 / 16)); min-height: 220px; }
  video { object-fit: contain; }
  .now { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .upnext { max-height: none; flex: 1; min-height: 0; overflow: hidden; }
  .upnext li.cur p { -webkit-line-clamp: 2; display: -webkit-box; }
  .upnext li.cut { display: none; }
}

/* Handy quer: Bild füllt den ganzen Bildschirm, alles andere tritt zurück */
@media (orientation: landscape) and (max-height: 520px) {
  .player-wrap {
    position: fixed; inset: 0; z-index: 30; aspect-ratio: auto; height: auto !important;
    border-radius: 0; box-shadow: none; padding: 0; background: #000;
  }
  video { object-fit: contain; }
  .osd { top: calc(env(safe-area-inset-top) + 14px); left: calc(env(safe-area-inset-left) + 18px); }
  body { overflow: hidden; }
  .fs-btn { top: calc(env(safe-area-inset-top) + 12px); right: calc(env(safe-area-inset-right) + 14px); }
  .img-zap { display: flex; }
}

/* Umschalten im Bild – nur im Querformat, blendet sich nach kurzer Zeit aus */
.img-zap {
  display: none; position: absolute; right: calc(env(safe-area-inset-right) + 14px); top: 50%;
  transform: translateY(-50%); flex-direction: column; gap: 14px; z-index: 2;
}
.img-zap button {
  width: 52px; height: 52px; border-radius: 14px; border: 0;
  background: rgba(15, 19, 40, .55); color: #fff; font-size: 18px;
}
/* Handy: beim Scrollen der Liste klappt alles außer Bild und Reitern zusammen */
@media (max-width: 900px) {
  .app.compact .now,
  .app.compact #search,
  .app.compact .chips,
  .app.compact .subbar { display: none !important; }
  .app.compact .bar { padding-top: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
}

/* Handy hochkant: ▲▼ ebenfalls im Bild, kleiner */
@media (max-width: 900px) and (orientation: portrait) {
  .img-zap { display: flex; gap: 8px; top: calc(env(safe-area-inset-top) + 56px); transform: none; right: 8px; }
  .img-zap button { width: 40px; height: 40px; border-radius: 10px; font-size: 14px; }
  .zap { display: none; }
}
.player-wrap .fs-btn, .player-wrap .img-zap { transition: opacity .3s; }
.player-wrap.idle .fs-btn, .player-wrap.idle .img-zap { opacity: 0; pointer-events: none; }
.now.vod ~ * .img-zap, .player-wrap.vod .img-zap { display: none; }

/* Vollbild-Knopf oben rechts im Bild */
.fs-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 40px; height: 40px; border-radius: 10px; border: 0;
  background: rgba(15, 19, 40, .55); color: #fff; font-size: 20px; line-height: 1;
  opacity: .75; transition: opacity .2s;
}
.fs-btn:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .osd, .overlay { transition: none; }
}

/* ---------- Handy ---------- */
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .stage { padding: 0; gap: 0; overflow: visible; }
  /* Platz für die Statusleiste kommt zur Bildhöhe dazu, statt von ihr abzugehen */
  /* Streifen unter der Statusleiste in Seitenfarbe statt schwarz – wirkt nicht wie ein Rand */
  .player-wrap {
    border-radius: 0; box-shadow: none; padding-top: env(safe-area-inset-top);
    aspect-ratio: auto; height: calc(56.25vw + env(safe-area-inset-top));
    background: linear-gradient(var(--night) env(safe-area-inset-top), #000 0);
  }
  .fs-btn { top: calc(env(safe-area-inset-top) + 8px); right: 8px; }
  .osd { top: calc(env(safe-area-inset-top) + 10px); left: 14px; }
  .now { padding: 10px 16px 12px; background: var(--night); border-bottom: 1px solid var(--line); gap: 8px; }
  .now-head .tile { width: 48px; height: 36px; }
  .now-name { font-size: 22px; }
  .now-show { font-size: 14px; }
  /* Handy: Programm des Senders erst nach Antippen der Titelzeile */
  .upnext { display: none; }
  .now.show-epg .upnext:not([hidden]) { display: grid; max-height: 42vh; overflow-y: auto; margin: 4px -8px 0; }
  .now-titles { cursor: pointer; }
  .now-show::after { content: " ▾"; color: var(--amber); }
  .now.show-epg .now-show::after { content: " ▴"; }
  .now.vod .now-show::after, .now-show:empty::after { content: none; }
  .icon-btn { width: 42px; height: 42px; }
  .bar { padding: 14px 16px 8px; }
  .tab { font-size: 20px; }
  .tabs { gap: 13px; }
  .list.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .detail-head { grid-template-columns: 100px 1fr; }
  .detail h2 { font-size: 26px; }
  .vodbar .t { min-width: 44px; font-size: 15px; }
}
