@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("vendor/inter-var.woff2") format("woff2");
}

:root {
  --bg: #0e1013;
  --surface: #15181c;
  --surface-2: #1c2025;
  --line: #262a31;
  --text: #ebe9e4;
  --text-2: #b9bcc2;
  --muted: #80858e;
  --accent: #ff453a;
  --accent-soft: rgba(255, 69, 58, .14);
  --focus: #6ea8ff;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --radius: 12px;
  --gap: 12px;
  --pad: 14px;
  --fs: 15px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f3ef;
    --surface: #ffffff;
    --surface-2: #f0eee9;
    --line: #e2dfd8;
    --text: #15171a;
    --text-2: #3d4148;
    --muted: #6f737a;
    --accent: #e0241b;
    --accent-soft: rgba(224, 36, 27, .09);
    --focus: #1f63e0;
    --shadow: 0 10px 40px rgba(20, 20, 20, .14);
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --surface-2: #f0eee9;
  --line: #e2dfd8;
  --text: #15171a;
  --text-2: #3d4148;
  --muted: #6f737a;
  --accent: #e0241b;
  --accent-soft: rgba(224, 36, 27, .09);
  --focus: #1f63e0;
  --shadow: 0 10px 40px rgba(20, 20, 20, .14);
  color-scheme: light;
}

:root[data-density="compact"] {
  --gap: 8px;
  --pad: 10px;
  --fs: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs)/1.4 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
kbd {
  font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace;
  padding: 3px 5px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ Kopfzeile */

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 10px max(16px, env(safe-area-inset-left)) 10px max(16px, env(safe-area-inset-right));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}

.bar__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2.4s infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
body.is-offline .live-dot { background: var(--muted); animation: none; }

.bar__title {
  min-width: 0;
  width: 100%;
  max-width: 380px;
  padding: 4px 6px;
  margin-left: -6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
}
.bar__title:hover { border-color: var(--line); }
.bar__title:focus { outline: none; border-color: var(--focus); background: var(--surface); }

.bar__tools { display: flex; align-items: center; gap: 8px; }

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 8px 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
}
.search:focus-within { border-color: var(--focus); color: var(--text); }
.search svg { width: 17px; height: 17px; }
.search input {
  width: 190px;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--text);
}
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.search:focus-within kbd { display: none; }

.seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.seg button {
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-2);
}
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn[aria-pressed="false"] { color: var(--muted); background: transparent; }

.clock { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.05; }
.clock__time {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.clock__time small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 1px; }
.clock__date { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ------------------------------------------------------------------ Layout */

main { flex: 1; padding: var(--gap) max(16px, env(safe-area-inset-left)) 24px; }

.empty { text-align: center; color: var(--muted); padding: 80px 16px; }

.link {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ TV-Wand */

.tv {
  --cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--gap);
  margin-bottom: calc(var(--gap) * 1.5);
}
.tv:empty, body.tv-off .tv { display: none; }
.tv.is-single { max-width: 960px; }

.tile {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: outline-color .2s;
}
.tile.is-audio { outline-color: var(--accent); }
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

.tile__poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--c, #333) 55%, #000) 0%, #050505 75%);
  color: #fff;
}
.tile__poster span { font-size: clamp(18px, 2.4vw, 30px); font-weight: 750; letter-spacing: -.02em; }
.tile__poster small { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; opacity: .7; }
.tile.is-playing .tile__poster { display: none; }

.tile__label {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 6px;
  border-radius: 7px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
}
.tile__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, #888); }
.tile__label kbd { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .25); padding: 1px 4px; }
.tile.is-playing .tile__label::after {
  content: "LIVE";
  margin-left: 2px;
  padding: 1px 4px;
  border-radius: 4px;
  background: var(--accent);
  font-size: 9.5px;
  letter-spacing: .06em;
}

.tile__controls {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .15s, transform .15s;
}
.tile:hover .tile__controls, .tile:focus-within .tile__controls, .tile.is-audio .tile__controls { opacity: 1; transform: none; }
.tile__controls button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
}
.tile__controls button:hover { background: rgba(0, 0, 0, .85); }
.tile__controls svg { width: 18px; height: 18px; }
.tile.is-audio [data-act="audio"] { background: var(--accent); }

.tile__error {
  position: absolute;
  inset: auto 8px 8px 8px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .75);
  color: #fff;
  font-size: 12px;
}

/* ------------------------------------------------------------------ Spalten */

.news {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: var(--gap);
  align-items: start;
}

.col {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: clip;
}

.col__head {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px var(--pad) 10px;
  border-bottom: 1px solid var(--line);
}
.col__head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c, var(--muted));
}
.col__name {
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.col__name a { text-decoration: none; }
.col__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.col__meta { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.col__meta.is-stale { color: #e0a33a; }
.col.is-loading .col__meta::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  vertical-align: -1px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.col__list { list-style: none; margin: 0; padding: 4px 0; }
.col__empty { padding: 16px var(--pad); color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------------------ Meldung */

.item { position: relative; }
.item + .item { border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }

.item__btn {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 9px var(--pad);
  border: 0;
  background: none;
  text-align: left;
}
.item__btn:hover { background: var(--surface-2); }
.item__time {
  padding-top: 1px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.item__title { font-weight: 550; line-height: 1.33; letter-spacing: -.005em; text-wrap: pretty; }
.item.is-old .item__title { color: var(--text-2); font-weight: 500; }

.item.is-new::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--accent);
  animation: fade-new 90s ease-out forwards;
}
.item.is-new .item__time { color: var(--accent); }
@keyframes fade-new { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

.item__more { padding: 0 var(--pad) 12px calc(var(--pad) + 52px); }
.item__desc { margin: 0 0 10px; color: var(--text-2); font-size: .94em; line-height: 1.5; }
.item__actions { display: flex; flex-wrap: wrap; gap: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { border-color: var(--muted); }
.btn--primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--primary:hover { opacity: .9; }
.btn--ghost { background: transparent; }
.btn svg { width: 15px; height: 15px; }

mark { background: color-mix(in srgb, #ffd60a 45%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ------------------------------------------------------------------ Ticker */

body.view-ticker .news { display: block; max-width: 1040px; margin: 0 auto; }
.ticker { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: clip; padding: 0; }
.ticker .item__btn { grid-template-columns: 46px 150px minmax(0, 1fr); }
.ticker .item__more { padding-left: calc(var(--pad) + 46px + 150px + 20px); }
.ticker__hour {
  position: sticky;
  top: var(--bar-h, 57px);
  z-index: 1;
  padding: 6px var(--pad);
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: .02em;
}
.ticker__hour:first-child { border-top: 0; }
.chip-src {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text-2);
}
.chip-src::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--muted)); flex: none; }
.chip-src span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------------ Fußzeile */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.foot__links { display: flex; gap: 14px; }
.foot__links a, .foot__links .link { color: var(--muted); text-decoration: none; }
.foot__links a:hover, .foot__links .link:hover { color: var(--text); }

/* ------------------------------------------------------------------ Dialoge */

.sheet {
  width: min(600px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow);
}
.sheet[open] { display: flex; flex-direction: column; animation: slide-in .22s cubic-bezier(.2, .8, .2, 1); }
.sheet::backdrop { background: rgba(0, 0, 0, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.sheet--narrow { width: min(480px, 100vw); }

.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.sheet__head h2 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.sheet__body { flex: 1; overflow-y: auto; padding: 0 18px 32px; }

.tabs {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  gap: 4px;
  margin: 0 -18px 16px;
  padding: 10px 18px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tabs button {
  padding: 8px 10px 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.count { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.hint { color: var(--muted); font-size: 13px; margin: 0 0 12px; }

.picked { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.picked:empty::before { content: "Noch nichts ausgewählt."; color: var(--muted); font-size: 13px; }
.picked li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-weight: 600;
  font-size: 14px;
  cursor: grab;
}
.picked li.is-dragging { opacity: .4; }
.picked li.is-over { border-color: var(--focus); }
.picked li .grip { color: var(--muted); width: 16px; height: 16px; }
.picked li .dot { width: 9px; height: 9px; border-radius: 3px; background: var(--c, var(--muted)); flex: none; }
.picked li .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picked li .pos { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; width: 18px; text-align: right; }
.picked li button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--muted);
}
.picked li button:hover { background: var(--surface-2); color: var(--text); }
.picked li button svg { width: 16px; height: 16px; }

.filter {
  width: 100%;
  height: 38px;
  margin-bottom: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  outline: none;
}
.filter:focus { border-color: var(--focus); }

.browse__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.browse__label small { text-transform: none; letter-spacing: 0; font-size: 12px; }
.browse__hint { color: var(--muted); font-size: 13px; margin: 6px 0 12px; }
.browse__title { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 4px; font-size: 20px; letter-spacing: -.01em; }
.browse__title small { font-size: 13px; font-weight: 500; color: var(--muted); }

.back {
  margin-top: 10px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}
.back:hover { color: var(--text); }

.countries { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: clip; background: var(--surface); }
.countries li + li { border-top: 1px solid var(--line); }
.countries button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  background: none;
  text-align: left;
  font-weight: 600;
}
.countries button:hover { background: var(--surface-2); }
.country__flag { font-size: 18px; line-height: 1; }
.country__name { flex: 1; }
.country__picked { font-size: 12px; font-weight: 600; color: var(--accent); }
.country__count { min-width: 22px; text-align: right; font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.chev { color: var(--muted); font-size: 18px; line-height: 1; }

.rows-group h4 { margin: 18px 0 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: clip; background: var(--surface); }
.row { display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; }
.row + .row { border-top: 1px solid var(--line); }
.row .dot { width: 9px; height: 9px; border-radius: 3px; background: var(--c, var(--muted)); flex: none; }
.row__name { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; }
.row__name small { display: block; margin-top: 1px; font-size: 12px; font-weight: 500; color: var(--muted); }
.add {
  flex: none;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}
.add:hover { border-color: var(--muted); }
.add.is-on { background: transparent; border-color: transparent; color: var(--accent); }
.add.is-on:hover { color: var(--text); }

.catalog h3 { margin: 18px 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.catalog__grid { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 550;
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip[aria-pressed="true"]::after { content: "✓"; font-size: 12px; }

.field { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.field > span { font-weight: 550; }
.sheet .seg button { height: 30px; }

.share { display: flex; gap: 8px; }
.share input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font: 12.5px ui-monospace, "SF Mono", Menlo, monospace;
}
.share .btn { height: 36px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }

.prose { line-height: 1.55; padding-top: 6px; }
.prose h3 { font-size: 15px; margin: 22px 0 6px; }
.prose ul { padding-left: 18px; }
.prose li { margin: 5px 0; }
.muted { color: var(--muted); font-size: 13px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow);
  animation: toast-in .2s ease-out;
}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ------------------------------------------------------------------ Responsiv */

@media (max-width: 1100px) {
  .search input { width: 140px; }
}

@media (max-width: 760px) {
  .bar { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .bar__tools { grid-column: 1 / -1; grid-row: 2; }
  .search { flex: 1; }
  .search input { width: 100%; }
  .search kbd { display: none; }
  .clock__time { font-size: 22px; }
  /* Spalten seitlich wischen statt endlos scrollen */
  body:not(.view-ticker) .news {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    margin: 0 -16px;
    padding: 0 16px 4px;
    scrollbar-width: none;
  }
  body:not(.view-ticker) .col { scroll-snap-align: start; }
  .tile__controls { opacity: 1; transform: none; }
  .tile__label kbd { display: none; }
  .ticker .item__btn { grid-template-columns: 42px minmax(0, 1fr); }
  .ticker .chip-src { grid-column: 2; margin-bottom: -4px; }
  .ticker .item__title { grid-column: 2; }
  .ticker .item__more { padding-left: calc(var(--pad) + 52px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
