/*
 * SO-RadioViewer · Base
 * Variablen, Reset, Typografie, Komponenten, Accessibility.
 * Breakpoint-spezifische Layoutregeln gehören ausschließlich in die drei View-Dateien.
 */
:root {
  color-scheme: dark;
  --bg: #05090f;
  --bg-raised: #09111b;
  --surface: rgba(11, 21, 33, .92);
  --surface-strong: #0e1b2a;
  --surface-soft: rgba(16, 31, 47, .72);
  --surface-hover: rgba(24, 44, 64, .78);
  --line: rgba(153, 205, 255, .14);
  --line-strong: rgba(153, 224, 255, .28);
  --text: #f4f8fb;
  --text-soft: #b9c8d6;
  --text-muted: #8194a6;
  --accent: #52f1c2;
  --accent-2: #4fb4ff;
  --accent-warm: #ffcc6b;
  --danger: #ff647c;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --focus: 0 0 0 3px rgba(82, 241, 194, .32);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef4f7;
  --bg-raised: #ffffff;
  --surface: rgba(255,255,255,.94);
  --surface-strong: #ffffff;
  --surface-soft: rgba(238,246,249,.94);
  --surface-hover: rgba(224,239,244,.9);
  --line: rgba(14, 66, 87, .14);
  --line-strong: rgba(14, 78, 101, .26);
  --text: #0a1821;
  --text-soft: #38515f;
  --text-muted: #617986;
  --accent: #007e69;
  --accent-2: #006eb2;
  --accent-warm: #8b5a00;
  --danger: #c92747;
  --shadow: 0 24px 70px rgba(23, 52, 65, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -10%, rgba(79, 180, 255, .13), transparent 31rem),
    radial-gradient(circle at 88% 5%, rgba(82, 241, 194, .09), transparent 26rem),
    linear-gradient(180deg, var(--bg-raised) 0, var(--bg) 38rem);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
[hidden] { display: none !important; }

button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img, svg, canvas { max-width: 100%; }
button, [role="button"], a, input, select { min-height: 44px; }
button { border: 0; }
:focus-visible { outline: none; box-shadow: var(--focus); }
::selection { background: rgba(82, 241, 194, .25); color: var(--text); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #04100d;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-raised) 88%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand-wrap, .brand, .header-actions, .icon-button, .panel-heading, .panel-actions,
.now-station, .player-controls, .now-actions, .search-row, .chip-row, .filters,
.switch-field, .globe-legend, .regional-note, .site-footer, .section-strip {
  display: flex;
  align-items: center;
}

.brand { gap: 10px; text-decoration: none; min-height: 48px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(82, 241, 194, .42);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(82, 241, 194, .18), rgba(79, 180, 255, .08));
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: inset 0 0 18px rgba(82, 241, 194, .07);
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 15px; letter-spacing: .01em; }
.brand-copy small { margin-top: 4px; color: var(--text-muted); font-size: 11px; }
.brand-wrap { gap: 14px; min-width: 0; }
.signal-chip, .demo-chip, .future-chip, .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.signal-dot, .live-badge > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 72%, transparent);
}
.header-actions { gap: 6px; }


/* Zentrales SO-WeltRadio Hamburger-Menü für Projekt-, Info- und Rechtseiten. */
.site-menu {
  position: relative;
  flex: 0 0 auto;
}
.site-menu > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu[open] > .site-menu-toggle {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--surface-soft));
  color: var(--accent);
}
.site-menu-icon {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  font-size: 18px;
  line-height: 1;
}
.site-menu-panel {
  position: absolute;
  z-index: 180;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(350px, calc(100vw - 24px));
  max-height: min(72vh, 620px);
  padding: 8px;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-strong) 97%, transparent);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .46);
  backdrop-filter: blur(18px);
}
.site-menu-panel a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--text-soft);
  text-decoration: none;
}
.site-menu-panel a:hover,
.site-menu-panel a:focus-visible,
.site-menu-panel a[aria-current="page"] {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  color: var(--text);
}
.site-menu-panel a > span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--accent);
  font-weight: 850;
}
.site-menu-panel a > span:last-child { min-width: 0; }
.site-menu-panel strong,
.site-menu-panel small { display: block; }
.site-menu-panel strong { font-size: 12px; line-height: 1.25; }
.site-menu-panel small { margin-top: 2px; color: var(--text-muted); font-size: 10px; line-height: 1.3; }
.site-menu-divider {
  display: block;
  height: 1px;
  margin: 5px 7px;
  background: var(--line);
}
.static-site-menu { margin-left: auto; }
.icon-button, .small-button, .filter-toggle, .secondary-button, .filter-chip,
.favorite-button, .play-button, .mobile-play, .mobile-favorite {
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, color .18s ease, opacity .18s ease;
}
.icon-button {
  gap: 7px;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--text-soft);
}
.icon-button:hover, .icon-button[aria-pressed="true"] { border-color: var(--line); background: var(--surface-soft); color: var(--text); }
.icon-button[aria-pressed="true"] { color: var(--accent); }

.radio-app { width: min(1600px, 100%); margin: 0 auto; }
.intro-bar { display: flex; justify-content: space-between; gap: 24px; }
.eyebrow, .section-kicker, .status-label, .program-label, .station-region {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 8px 0 0; font-size: clamp(30px, 5vw, 58px); line-height: .98; letter-spacing: -.045em; }
h2 { margin: 4px 0 0; font-size: clamp(20px, 2vw, 29px); line-height: 1.08; letter-spacing: -.025em; }
h3 { margin: 0; font-size: 20px; line-height: 1.15; }
.intro-copy { max-width: 760px; margin: 14px 0 0; color: var(--text-soft); }
.intro-status { align-self: end; display: grid; min-width: 160px; gap: 2px; text-align: right; }
.intro-status strong { font-size: 18px; }
.intro-status > span:last-child { color: var(--text-muted); font-size: 12px; }

.view-tabs {
  display: flex;
  width: max-content;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.view-tab {
  min-height: 44px;
  padding: 0 15px;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 750;
}
.view-tab.is-active { background: var(--surface-hover); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, color-mix(in srgb, var(--surface) 96%, transparent), color-mix(in srgb, var(--surface-soft) 83%, transparent));
  box-shadow: var(--shadow);
}
.panel-heading { justify-content: space-between; gap: 12px; }
.panel-actions { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.small-button, .filter-toggle, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
.small-button:hover, .filter-toggle:hover, .secondary-button:hover { border-color: var(--line-strong); background: var(--surface-hover); color: var(--text); }
.small-button.is-active { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.globe-control-strip { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.globe-control-strip .small-button { min-height: 38px; }
.accent-button { border-color: color-mix(in srgb, var(--accent) 34%, transparent); color: var(--accent); }
.secondary-button.is-disabled { opacity: .45; pointer-events: none; }

.globe-stage {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 30%, var(--line));
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 18%, rgba(56, 123, 188, .16), transparent 32%),
    radial-gradient(circle at 22% 12%, rgba(79, 180, 255, .10), transparent 24%),
    radial-gradient(circle at 78% 85%, rgba(82, 241, 194, .08), transparent 22%),
    linear-gradient(180deg, #04101b 0%, #02070d 100%);
  box-shadow: inset 0 0 0 1px rgba(151, 214, 255, .03);
  isolation: isolate;
  touch-action: none;
}
.globe-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background-image:
    linear-gradient(rgba(124, 206, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 206, 255, .05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, #000 0 48%, transparent 76%);
}
.globe-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.globe-stage .radio-globe-webgl { z-index: 2; cursor: grab; }
.globe-stage .radio-globe-overlay { z-index: 3; pointer-events: none; }
.globe-stage .radio-globe-webgl.is-hovering { cursor: pointer; }
.globe-stage .radio-globe-webgl.is-dragging { cursor: grabbing; }
.globe-stage .radio-globe-webgl:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.globe-loading, .globe-fallback {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--text-soft);
  text-align: center;
  pointer-events: none;
}
.globe-fallback strong { color: var(--text); }
.globe-loading[hidden], .globe-fallback[hidden] { display: none !important; }
.loader-orbit {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.globe-legend { gap: 14px; flex-wrap: wrap; color: var(--text-muted); font-size: 11px; }
.globe-legend span { display: inline-flex; gap: 6px; align-items: center; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-local { background: #52f1c2; }
.legend-nrw { background: #4fb4ff; }
.legend-other { background: #d4ddeb; }
.legend-news {
  width: 9px;
  height: 9px;
  background: #ff735c;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(255,115,92,.58);
}
.legend-news-wrap { color: color-mix(in srgb, #ff735c 80%, var(--text)); }
.globe-help { margin: 0; color: var(--text-muted); font-family: var(--font-mono); font-size: 10px; }

.live-badge { padding: 6px 9px; color: var(--accent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.now-station { gap: 14px; }
/* CSP-safe signal colors: no inline style attributes required. */
.signal-color-local { --station-color: #52f1c2; }
.signal-color-nrw { --station-color: #4fb4ff; }
.signal-color-news { --station-color: #ff735c; }
.signal-color-world { --station-color: #6ee7ff; }
.signal-color-default { --station-color: #a7b7c7; }

.station-logo {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(79, 180, 255, .16), rgba(82, 241, 194, .07));
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  overflow: hidden;
}
.station-logo::after {
  content: "";
  position: absolute;
  inset: auto 7px 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--station-color, var(--accent));
  box-shadow: 0 0 12px var(--station-color, var(--accent));
}
.station-logo--large { width: 70px; height: 70px; border-radius: 20px; font-size: 15px; }
.now-copy { min-width: 0; flex: 1; }
.now-copy p { margin: 5px 0 0; color: var(--text-muted); font-size: 13px; }
.favorite-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 22px;
}
.favorite-button:hover, .favorite-button[aria-pressed="true"] { color: var(--accent-warm); border-color: color-mix(in srgb, var(--accent-warm) 38%, transparent); }
.favorite-button--large { margin-left: auto; }

.program-block {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface-soft) 82%, transparent);
}
.program-block strong { font-size: 16px; }
.program-block > span:not(.program-label) { color: var(--text-muted); font-size: 12px; }
.progress-track { display: block; overflow: hidden; width: 100%; height: 5px; margin-top: 7px; border: 0; border-radius: 999px; background: rgba(127, 159, 181, .18); appearance: none; }
.progress-track::-webkit-progress-bar { background: rgba(127, 159, 181, .18); border-radius: 999px; }
.progress-track::-webkit-progress-value { background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 999px; transition: inline-size .4s linear; }
.progress-track::-moz-progress-bar { background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 999px; }
.player-controls { gap: 12px; }
.play-button {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #1598ff));
  color: #04110d;
  font-size: 19px;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 18%, transparent);
}
.play-button:hover:not(:disabled) { transform: translateY(-1px) scale(1.02); }
.play-button:disabled, .mobile-play:disabled { opacity: .35; cursor: not-allowed; }
.player-meta { display: grid; min-width: 0; flex: 1; }
.player-meta strong { font-size: 14px; }
.player-meta span { color: var(--text-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.volume-control { display: flex; align-items: center; gap: 7px; color: var(--text-muted); }
.volume-control input { width: 100px; accent-color: var(--accent); cursor: pointer; }
.now-actions { gap: 8px; flex-wrap: wrap; }
.source-note { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }

.control-panel { container-type: inline-size; }
.stations-heading-wrap { align-items: flex-start; }
.search-row { gap: 10px; }
.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-soft) 84%, transparent);
  color: var(--text-muted);
}
.search-field:focus-within { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: var(--focus); }
.search-field input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}
.search-field input::placeholder { color: var(--text-muted); }
kbd { padding: 2px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; color: var(--text-muted); background: var(--surface); font: 11px var(--font-mono); }
.filters { gap: 14px; flex-wrap: wrap; }
.filter-group { display: grid; gap: 7px; }
.filter-title, .select-field > span { color: var(--text-muted); font-size: 11px; font-weight: 700; }
.chip-row { gap: 6px; flex-wrap: wrap; }
.filter-chip {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}
.filter-chip:hover, .filter-chip.is-active { border-color: var(--line-strong); background: var(--surface-hover); color: var(--text); }
.filter-chip.is-active { color: var(--accent); }
.select-field { display: grid; gap: 7px; }
.select-field select {
  min-width: 150px;
  min-height: 44px;
  padding: 0 34px 0 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text);
}
.switch-field { position: relative; gap: 9px; min-height: 44px; color: var(--text-soft); font-size: 12px; cursor: pointer; }
.switch-field input { position: absolute; opacity: 0; pointer-events: none; }
.switch-ui { position: relative; width: 38px; height: 22px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface-soft); }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--text-muted); transition: transform .18s ease, background .18s ease; }
.switch-field input:checked + .switch-ui { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.switch-field input:checked + .switch-ui::after { transform: translateX(16px); background: var(--accent); }
.switch-field input:focus-visible + .switch-ui { box-shadow: var(--focus); }


.global-controls {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 24%, var(--line));
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 7%, transparent), transparent 58%),
    color-mix(in srgb, var(--surface-soft) 76%, transparent);
}
.global-copy { display: grid; gap: 3px; min-width: 0; }
.global-copy strong { font-size: 14px; }
.global-copy > span:last-child { color: var(--text-muted); font-size: 11px; }
.country-field select { min-width: 178px; }
.global-load-button, .world-load-button, 
.world-load-button {
  border-color: color-mix(in srgb, #52f1c2 38%, var(--line));
  color: var(--accent);
  background: color-mix(in srgb, #52f1c2 5%, var(--surface-soft));
}
.world-load-button:hover {
  border-color: color-mix(in srgb, #52f1c2 65%, var(--line));
  background: color-mix(in srgb, #52f1c2 11%, var(--surface-hover));
}

.news-load-button { white-space: nowrap; }
.news-load-button {
  border-color: color-mix(in srgb, #ff735c 36%, var(--line));
  color: color-mix(in srgb, #ff735c 86%, var(--text));
}
.news-load-button:hover {
  border-color: color-mix(in srgb, #ff735c 62%, var(--line));
  background: color-mix(in srgb, #ff735c 10%, var(--surface-hover));
}
.global-status {
  min-width: 0;
  color: var(--text-muted);
  font: 700 10px/1.45 var(--font-mono);
}
.global-status[data-mode="loading"] { color: var(--accent-2); }
.global-status[data-mode="ready"] { color: var(--accent); }
.global-status[data-mode="error"] { color: var(--danger); }

.view-tab--news.is-active,
.filter-chip--news.is-active,
.news-quick[aria-pressed="true"] {
  color: #ff806d;
}
.news-quick:hover { color: #ff806d; }

.section-strip { justify-content: space-between; gap: 14px; }
.section-strip h2 { margin-top: 3px; }
.section-strip > span { color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; }
.station-grid { display: grid; }
.station-card {
  position: relative;
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-soft) 84%, transparent));
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
  content-visibility: auto;
  contain-intrinsic-size: 112px;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.station-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--station-color, var(--line));
  opacity: .75;
}
.station-card:hover, .station-card.is-selected { border-color: var(--line-strong); background: linear-gradient(145deg, var(--surface-strong), var(--surface-soft)); }
.station-card.is-selected { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--station-color, var(--accent)) 26%, transparent), 0 18px 50px rgba(0,0,0,.18); }
.station-card.is-local::after {
  content: "LOKAL";
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  font: 800 9px/1 var(--font-mono);
  letter-spacing: .08em;
}
.station-main-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 16px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.station-card.is-local .station-main-button { padding-right: 64px; }
.station-card.is-news::before {
  width: 3px;
  background: #ff735c;
  opacity: .95;
  box-shadow: 0 0 18px rgba(255,115,92,.30);
}
.station-card.is-news {
  border-color: color-mix(in srgb, #ff735c 22%, var(--line));
}
.station-card.is-news:hover,
.station-card.is-news.is-selected {
  border-color: color-mix(in srgb, #ff735c 44%, var(--line-strong));
}
.station-card.is-international:not(.is-news) {
  border-color: color-mix(in srgb, var(--accent-2) 16%, var(--line));
}
.station-type-badge {
  align-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-2);
  background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
  font: 900 9px/1 var(--font-mono);
  letter-spacing: .06em;
  white-space: nowrap;
}
.station-type-badge--news {
  border-color: color-mix(in srgb, #ff735c 38%, transparent);
  color: #ff806d;
  background: color-mix(in srgb, #ff735c 8%, var(--surface-strong));
}
.stream-codec {
  color: var(--text-muted);
  font: 700 9px var(--font-mono);
  white-space: nowrap;
}
.world-news-card {
  border-color: color-mix(in srgb, #ff735c 18%, var(--line));
  background:
    radial-gradient(circle at 90% 0, rgba(255,115,92,.09), transparent 12rem),
    var(--surface);
}
.world-news-icon {
  color: #ff806d;
  border-color: color-mix(in srgb, #ff735c 30%, var(--line));
}
.station-copy { min-width: 0; }
.station-copy strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.station-copy span { display: block; margin-top: 3px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.station-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-soft) 70%, transparent);
}
.station-state { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; color: var(--text-muted); font-size: 10px; font-weight: 800; }
.station-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.station-state.external i { background: var(--accent-warm); }
.station-mini-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.station-mini-button:hover { background: var(--surface-hover); color: var(--text); border-color: var(--line); }
.station-mini-button.is-favorite { color: var(--accent-warm); }
.favorite-order { display: inline-flex; gap: 3px; }
.favorite-order button { width: 44px; height: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--text-muted); cursor: pointer; }
.favorite-order button:hover { background: var(--surface-hover); color: var(--text); }
.empty-state { place-items: center; gap: 8px; min-height: 240px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); color: var(--text-muted); text-align: center; }
.empty-state:not([hidden]) { display: grid; }
.empty-state strong { color: var(--text); }

.side-column { display: grid; align-content: start; }
.schedule-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.schedule-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.schedule-item:last-child { border-bottom: 0; }
.schedule-item.is-current::before { content: ""; position: absolute; left: -14px; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.schedule-time { color: var(--accent-2); font: 700 11px var(--font-mono); }
.schedule-copy { min-width: 0; }
.schedule-copy strong { display: block; font-size: 13px; }
.schedule-copy span { color: var(--text-muted); font-size: 11px; }
.schedule-placeholder { color: var(--text-muted); font-size: 12px; }
.demo-chip, .future-chip { padding: 5px 8px; }
.local-card p:not(.eyebrow), .community-card p:not(.eyebrow) { color: var(--text-soft); font-size: 13px; }
.community-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--accent-2); background: var(--surface-soft); font-size: 22px; }

.regional-note { gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.regional-mark { flex: 0 0 auto; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--line-strong); border-radius: 15px; color: var(--accent); font: 900 13px var(--font-mono); background: var(--surface-soft); }
.regional-note p { margin: 3px 0 0; color: var(--text-muted); font-size: 11px; }
.site-footer { justify-content: space-between; gap: 20px; color: var(--text-muted); }
.site-footer > div { display: grid; }
.site-footer strong { color: var(--text-soft); font-size: 13px; }
.site-footer span { font-size: 11px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer a { font-size: 11px; text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.mobile-player {
  z-index: 95;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg-raised) 94%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 -16px 42px rgba(0,0,0,.28);
}
.mobile-play, .mobile-favorite {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.mobile-play { background: var(--accent); color: #04100d; }
.mobile-favorite { background: transparent; color: var(--text-muted); border: 1px solid var(--line); font-size: 20px; }
.mobile-favorite[aria-pressed="true"] { color: var(--accent-warm); }
.mobile-player-copy { display: grid; min-width: 0; flex: 1; }
.mobile-player-copy strong, .mobile-player-copy span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-player-copy strong { font-size: 13px; }
.mobile-player-copy span { color: var(--text-muted); font-size: 10px; }

.toast-region { position: fixed; z-index: 120; display: grid; gap: 8px; pointer-events: none; }
.toast {
  max-width: min(420px, calc(100vw - 24px));
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--text-soft);
  box-shadow: var(--shadow);
  font-size: 12px;
  animation: toast-in .2s ease both;
}
.toast strong { color: var(--text); }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.live-badge.is-offline { opacity: .45; }

/* Radio-Komfort: weltweite Suche, Favoriten-Playlist, Verlauf und Timer */
.search-assist {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 11px;
}
#world-search-status { color: var(--accent-2); font-family: var(--font-mono); font-weight: 800; }
.world-search-button { white-space: nowrap; }

.favorite-playlist-card {
  border-color: color-mix(in srgb, var(--accent-warm) 18%, var(--line));
  background:
    radial-gradient(circle at 100% 0, rgba(255,204,107,.07), transparent 13rem),
    var(--surface);
}
.playlist-count {
  color: var(--text-muted);
  font: 800 10px var(--font-mono);
  white-space: nowrap;
}
.playlist-help { margin: 10px 0 0; color: var(--text-soft); font-size: 12px; }
.playlist-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.playlist-controls .accent-button { flex: 1 1 116px; justify-content: center; }
.playlist-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.playlist-timer-status {
  display: block;
  min-height: 18px;
  margin-top: 8px;
  color: var(--text-muted);
  font: 700 10px/1.4 var(--font-mono);
}
.favorite-playlist-list {
  display: grid;
  gap: 5px;
  max-height: 250px;
  margin: 12px 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
  scrollbar-width: thin;
}
.favorite-playlist-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 48px;
  padding: 6px 7px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface-soft) 72%, transparent);
}
.favorite-playlist-item.is-current {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
  background: color-mix(in srgb, var(--accent) 7%, var(--surface-soft));
}
.playlist-index {
  min-width: 24px;
  color: var(--text-muted);
  font: 800 10px var(--font-mono);
  text-align: center;
}
.playlist-station-button {
  min-width: 0;
  min-height: 44px;
  padding: 4px 6px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.playlist-station-button strong,
.playlist-station-button span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.playlist-station-button strong { font-size: 12px; }
.playlist-station-button span { margin-top: 2px; color: var(--text-muted); font-size: 10px; }
.playlist-active-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 78%, transparent);
}
.playlist-footer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.playlist-footer-actions .secondary-button { flex: 1 1 120px; justify-content: center; }

.globe-panel.is-playing {
  border-color: color-mix(in srgb, #4dff9d 24%, var(--line));
  box-shadow: 0 24px 70px rgba(0,0,0,.34), 0 0 40px rgba(61,255,157,.07);
}

.globe-source { margin: 4px 0 0; color: var(--text-muted); font-size: 10px; }

.standby-mobile { display: none; }

.standby-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 5%, var(--surface-soft));
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}

/* SO-WeltRadio · Informations- und Rechtsseiten */
.header-info-link { text-decoration: none; }
.static-site-header { position: sticky; }
.static-top-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.static-top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
.static-top-nav a:hover,
.static-top-nav a.is-active { border-color: var(--line-strong); background: var(--surface-soft); color: var(--text); }
.static-page { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 52px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 16px; color: var(--text-muted); font-size: 11px; }
.breadcrumb a { color: var(--text-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.static-hero {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 4%, rgba(79,180,255,.13), transparent 26rem),
    radial-gradient(circle at 4% 96%, rgba(82,241,194,.08), transparent 23rem),
    var(--surface);
  box-shadow: var(--shadow);
}
.static-hero-copy { align-self: center; }
.static-hero h1, .legal-hero h1 { margin: 5px 0 12px; font-size: clamp(30px, 5vw, 52px); line-height: 1.02; letter-spacing: -.035em; }
.static-hero-copy > p:not(.eyebrow), .legal-hero > p { max-width: 760px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.project-cover { display: block; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 24px 52px rgba(0,0,0,.3); }
.project-cover img { display: block; width: 100%; height: auto; }
.static-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.primary-link-button, .secondary-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.primary-link-button { border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 16%, var(--surface-strong)); color: var(--accent); }
.secondary-link-button { border: 1px solid var(--line); background: var(--surface-soft); color: var(--text-soft); }
.static-section { margin-top: 20px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.static-section-heading { margin-bottom: 14px; }
.static-section h2, .legal-content h2 { margin: 5px 0 10px; font-size: clamp(20px, 3vw, 29px); line-height: 1.15; }
.static-section h3 { margin: 7px 0 6px; font-size: 16px; }
.static-feature-grid { display: grid; gap: 11px; }
.info-card, .info-panel, .source-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: color-mix(in srgb, var(--surface-soft) 72%, transparent);
}
.info-card p, .info-panel p, .source-grid p { margin: 0; color: var(--text-soft); font-size: 12px; line-height: 1.6; }
.info-icon { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line)); border-radius: 11px; color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); font-weight: 900; }
.two-column-info { display: grid; gap: 12px; }
.check-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 20px; color: var(--text-soft); font-size: 12px; line-height: 1.55; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.source-grid { display: grid; gap: 10px; margin-top: 12px; }
.source-grid strong { display: block; margin-bottom: 6px; }
.source-grid a { display: inline-flex; margin-top: 10px; color: var(--accent-2); font-size: 11px; font-weight: 800; text-decoration: none; }
.faq-section details { margin-top: 8px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.faq-section summary { padding: 13px 15px; cursor: pointer; font-weight: 800; }
.faq-section details p { margin: 0; padding: 0 15px 14px; color: var(--text-soft); font-size: 12px; line-height: 1.65; }
.static-cta { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin-top: 20px; padding: 22px; border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line)); border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface)); }
.static-cta h2 { margin: 4px 0 7px; }
.static-cta p:not(.eyebrow) { margin: 0; color: var(--text-soft); font-size: 12px; }
.legal-hero { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.legal-content { display: grid; gap: 10px; margin-top: 14px; }
.legal-content section { padding: 19px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.legal-content p, .legal-content li, .legal-content address { color: var(--text-soft); font-size: 13px; line-height: 1.7; }
.legal-content address { font-style: normal; }
.legal-content a { color: var(--accent-2); overflow-wrap: anywhere; }
.legal-content ul { margin: 8px 0 0; padding-left: 21px; }
.legal-note { border-color: color-mix(in srgb, var(--accent) 32%, var(--line)) !important; background: color-mix(in srgb, var(--accent) 5%, var(--surface)) !important; }
.static-footer { margin-top: 0; }

/* Geteilter Radiosender */
.shared-station-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 44%, var(--line));
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 50%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 18rem),
    var(--surface);
  box-shadow: var(--shadow);
}
.shared-station-banner[hidden] { display: none !important; }
.shared-station-signal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface-strong));
  font-size: 19px;
}
.shared-station-copy { min-width: 0; }
.shared-station-kicker {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}
.shared-station-copy strong,
.shared-station-copy > span:last-child { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shared-station-copy strong { font-size: 15px; }
.shared-station-copy > span:last-child { margin-top: 2px; color: var(--text-soft); font-size: 10px; }
.shared-station-actions { display: flex; align-items: center; gap: 7px; }
.shared-station-actions .secondary-button { min-height: 40px; }
.shared-station-dismiss {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
}
.shared-station-dismiss:hover { border-color: var(--line-strong); color: var(--text); }
.share-copy-helper {
  position: fixed !important;
  left: -9999px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* SO-WeltRadio · gut sichtbare Scrollbars für Maus, Touchpad und ältere Nutzer */
html,
body,
* {
  scrollbar-color: var(--accent) color-mix(in srgb, var(--surface-strong) 88%, #000);
  scrollbar-width: auto;
}
*::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}
*::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--surface-strong) 88%, #000);
  border: 1px solid color-mix(in srgb, var(--accent) 10%, var(--line));
}
*::-webkit-scrollbar-thumb {
  min-width: 38px;
  min-height: 38px;
  border: 3px solid color-mix(in srgb, var(--surface-strong) 92%, #000);
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 86%, #fff), var(--accent));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 75%, #fff), 0 0 10px color-mix(in srgb, var(--accent) 42%, transparent);
}
*::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--accent) 88%, #fff);
  box-shadow: inset 0 0 0 1px #fff, 0 0 14px color-mix(in srgb, var(--accent) 62%, transparent);
}
*::-webkit-scrollbar-corner { background: var(--surface-strong); }

/* Echte Live-Titel-Metadaten */
.track-block {
  display: grid;
  gap: 5px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--accent) 8%, transparent), transparent 12rem),
    color-mix(in srgb, var(--surface-soft) 84%, transparent);
}
.track-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.track-block > strong { min-width: 0; font-size: 17px; overflow-wrap: anywhere; }
.track-block > span:not(.program-label) { color: var(--text-muted); font-size: 12px; }
.track-live-state {
  flex: 0 0 auto;
  color: var(--text-muted) !important;
  font: 800 10px/1.2 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.track-live-state.is-live { color: var(--accent) !important; }
.track-live-state.is-loading { color: var(--accent-2) !important; }
.track-meta-note { line-height: 1.4; }
.song-progress-row {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 5px;
  color: var(--text-muted);
  font: 800 10px var(--font-mono);
}
.song-progress {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: 999px;
  appearance: none;
  background: rgba(127, 159, 181, .18);
}
.song-progress::-webkit-progress-bar { background: rgba(127, 159, 181, .18); border-radius: 999px; }
.song-progress::-webkit-progress-value { background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 999px; transition: inline-size .25s linear; box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 42%, transparent); }
.song-progress::-moz-progress-bar { background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 999px; }

.song-search-panel {
  margin-top: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-soft) 70%, transparent);
}
.song-search-panel > summary {
  min-height: 48px;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--text-soft);
  font-weight: 800;
  list-style-position: inside;
}
.song-search-panel[open] > summary { color: var(--accent); border-bottom: 1px solid var(--line); }
.song-search-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  padding: 12px 12px 0;
}
.song-search-field { min-height: 46px; }
.song-search-hint,
.song-search-status { margin: 9px 12px 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }
.song-search-status { min-height: 17px; color: var(--accent-2); font-family: var(--font-mono); font-weight: 700; }
.song-search-results { display: grid; gap: 6px; margin: 10px 12px 12px; padding: 0; list-style: none; }
.song-search-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
}
.song-search-result-copy { min-width: 0; }
.song-search-result-copy strong,
.song-search-result-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-search-result-copy strong { font-size: 12px; }
.song-search-result-copy span { margin-top: 2px; color: var(--text-muted); font-size: 10px; }
.song-search-result button { min-height: 42px; }
