/* Shared theme picker: the preview is an image of the actual player. */
.theme-gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 24px}.theme-choice{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:8px;text-align:left;min-width:0}.theme-choice[aria-pressed=true]{border:2px solid var(--ink);padding:7px}.theme-choice strong{display:block;font-size:14px;padding:9px 4px 3px}.theme-thumb{height:190px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:7px;background:#181a1e}.theme-thumb img{width:100%;height:100%;object-fit:contain;object-position:center}.theme-thumb.signal{background:#e6e8e1}.mini-radio{width:58px;height:86px;border:1px solid #ffffff55;border-radius:8px;padding:8px;display:grid;gap:6px}.mini-radio i{height:29px;background:repeating-linear-gradient(90deg,#43474d 0 10px,transparent 10px 14px);border-radius:3px}.mini-radio b{width:18px;height:18px;border-radius:50%;background:#f5f5f5;justify-self:end}.signal .mini-radio{border-color:#9ba28f}.signal .mini-radio i{background:#a8b69d}.signal .mini-radio b{background:#f36b3e}
/* Phone-shaped by default. Wide layout is an explicit preference. */
.radio-app{width:440px;max-width:calc(100% - 28px)}html[data-wide=true] .radio-app:not(.is-compact){width:calc(100% - 48px);max-width:none}
.signal-display{margin:2px 22px 18px;padding:18px 18px 16px;min-height:170px;border-radius:12px;background:var(--screen);color:var(--screen-ink);box-shadow:inset 0 1px 3px #17201522;border:1px solid #17201527;position:relative;overflow:hidden}.signal-screen-top{display:flex;justify-content:space-between;font:12px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.07em}.signal-screen-top span:last-child{display:flex;gap:7px;align-items:center}.signal-led{height:6px;width:6px;background:currentColor;opacity:.25;border-radius:50%}.signal-display[data-playback=playing] .signal-led{background:#d54e20;opacity:1}.signal-display[data-playback=connecting] .signal-led{animation:signal-wait 1s ease-in-out infinite}.signal-display h2{position:relative;z-index:1;font-size:37px;line-height:1.03;letter-spacing:-2px;font-weight:650;max-width:245px;margin:24px 0 11px;overflow-wrap:anywhere}.signal-display p{font:11px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;position:relative;z-index:1;max-width:250px;margin:0;min-height:17px}.signal-grille{position:absolute;right:-12px;bottom:-10px;width:132px;height:132px;border-radius:50%;background:radial-gradient(circle,#243323 1.4px,transparent 1.8px) 0 0/8px 8px;opacity:.11;pointer-events:none}
.signal-only{display:none}html[data-theme=signal] .signal-only{display:inline-flex}html[data-theme=signal] body{background:#cdd1cd}html[data-theme=signal][data-mode=dark] body{background:#171e1b}html[data-theme=signal] .radio-app{border-radius:22px;border-color:#ffffff66;box-shadow:inset 0 1px 0 #ffffff90,0 12px 32px #111d1820}html[data-theme=signal] .app-heading h1{font-size:25px;letter-spacing:-1.3px}html[data-theme=signal] .app-heading{padding-bottom:16px}html[data-theme=signal] .section-heading{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}html[data-theme=signal] .station-grid{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;max-height:none;min-height:0;padding-bottom:18px;scrollbar-width:thin}html[data-theme=signal] .station-tile{flex:0 0 var(--tile-min);scroll-snap-align:center}html[data-theme=signal] .station-button{border-radius:9px;box-shadow:inset 0 1px 0 #ffffff70,0 2px 0 #1720151a;transition:transform .18s,background-color .18s}html[data-theme=signal] .station-button:active{transform:translateY(2px)}html[data-theme=signal] .station-button.is-active{background:var(--raised);border-color:var(--ink)}html[data-theme=signal] .station-mark{font:500 25px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:-1.5px}html[data-theme=signal] .station-name{font:11px/1.3 ui-monospace,SFMono-Regular,Menlo,monospace}html[data-theme=signal] .tile-action{display:none}html[data-theme=signal] .player-controls{padding-top:22px;padding-bottom:24px;border-top:1px solid var(--line);background:transparent}html[data-theme=signal] .current-info,html[data-theme=signal] .current-mark{display:none}html[data-theme=signal] .now-playing{justify-content:center;gap:28px;margin-bottom:22px}html[data-theme=signal] .play-button{width:78px;height:78px;background:var(--control);color:var(--on-control);box-shadow:inset 0 1px 1px #ffffff80,0 3px 0 #8e3e21,0 5px 12px #17201520;transition:transform .18s,box-shadow .18s}html[data-theme=signal] .play-button:active{transform:translateY(3px);box-shadow:inset 0 1px 1px #ffffff80,0 0 0 #8e3e21}html[data-theme=signal] .play-button svg{width:29px;height:29px}.station-step{width:48px;height:48px;border-radius:50%;align-items:center;justify-content:center;background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:inset 0 1px 1px #ffffff70,0 2px 0 #1720152a}.station-step:disabled{opacity:.4}.station-step svg{width:18px;height:18px}html[data-theme=signal] .volume-row{max-width:300px}html[data-theme=signal] input[type=range]{accent-color:var(--ink)}html[data-theme=signal] .volume-row output{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}html[data-theme=signal] .radio-app.is-compact .signal-display{display:none}html[data-theme=signal] .radio-app.is-compact .player-controls{padding-top:18px}.theme-choice,.signal-display{transition:background-color .2s,color .2s,border-color .2s}@keyframes signal-wait{50%{opacity:1}}
@media(max-width:600px){html[data-wide=true] .radio-app:not(.is-compact){width:calc(100% - 28px)}.signal-display{margin-left:18px;margin-right:18px;min-height:165px}.signal-display h2{font-size:34px;max-width:220px}html[data-theme=signal] .player-controls{padding:20px 18px}html[data-theme=signal] .now-playing{gap:24px}html[data-theme=signal] .station-grid{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){.theme-choice,.signal-display,html[data-theme=signal] .station-button,html[data-theme=signal] .play-button{transition:none}.signal-led{animation:none!important}}

html[data-theme=signal] .radio-app.is-compact .signal-display{display:block;min-height:0;padding:12px 18px;margin-bottom:0}html[data-theme=signal] .is-compact .signal-display h2{font-size:22px;margin:0}html[data-theme=signal] .is-compact .signal-screen-top,html[data-theme=signal] .is-compact .signal-display p,html[data-theme=signal] .is-compact .signal-grille{display:none}
/* Sagedus: a typographic receiver. It uses the same station and playback controls. */
html[data-theme=frequency] .signal-display{flex:1;min-height:220px;margin:12px 24px 26px;padding:22px 0 42px;border:0;border-radius:0;background:none;color:var(--ink);box-shadow:none;display:flex;flex-direction:column;justify-content:center}
html[data-theme=frequency] .signal-screen-top{font-family:inherit;font-size:12px;letter-spacing:0;opacity:.65;border-top:1px solid var(--line);padding-top:16px}
html[data-theme=frequency] .signal-display h2{font-size:clamp(50px,18vw,76px);font-weight:500;line-height:.98;letter-spacing:-4.5px;max-width:100%;overflow-wrap:anywhere;margin:32px 0 22px}
html[data-theme=frequency] .signal-display p{font-family:inherit;font-size:14px;color:var(--muted);position:relative;z-index:1;margin:0}
html[data-theme=frequency] .signal-grille{inset:auto 0 0;width:100%;height:22px;border-radius:0;background:repeating-linear-gradient(90deg,var(--ink) 0 1px,transparent 1px 9px);opacity:.3;mask-image:none}
html[data-theme=frequency] .signal-grille:after{content:'';position:absolute;left:var(--dial-position,50%);top:0;width:2px;height:100%;background:var(--ink);opacity:1;transition:left .35s cubic-bezier(.2,.8,.2,1)}
html[data-theme=frequency] .station-grid{display:flex;flex-wrap:nowrap;overflow-x:auto;max-height:none;gap:8px;padding:0 24px 24px;scroll-snap-type:x mandatory}
html[data-theme=frequency] .station-tile{flex:0 0 132px;scroll-snap-align:start}
html[data-theme=frequency] .station-button{aspect-ratio:1.3;border-radius:0;border:0;border-bottom:1px solid var(--line);background:transparent}
html[data-theme=frequency] .station-button.is-active{border-bottom:3px solid var(--ink);background:transparent}
html[data-theme=frequency] .station-mark{font-size:24px;font-weight:450;letter-spacing:-1px}
html[data-theme=frequency] .station-name{font-size:12px}
html[data-theme=frequency] .signal-only{display:inline-flex}
html[data-theme=frequency] .current-info,html[data-theme=frequency] .current-mark{display:none}
html[data-theme=frequency] .now-playing{justify-content:space-between;gap:24px}
html[data-theme=frequency] .play-button{width:88px;height:88px;border-radius:50%;background:var(--ink);color:var(--bg)}
html[data-theme=frequency] .station-step{border:0;box-shadow:none;background:none;color:var(--ink)}
html[data-theme=frequency] .player-controls{background:none;border-top:1px solid var(--line);padding:24px}
html[data-theme=frequency] .is-compact .signal-display{min-height:100px;margin-bottom:10px;padding-bottom:28px}
html[data-theme=frequency] .is-compact .signal-display h2{font-size:32px;letter-spacing:-1.5px;margin:12px 0}
@media(prefers-reduced-motion:reduce){html[data-theme=frequency] .signal-grille:after{transition:none}}
@media(max-height:780px){html[data-theme=frequency] .signal-display{min-height:0;margin:4px 24px 16px;padding:12px 0 32px}html[data-theme=frequency] .signal-display h2{font-size:50px;letter-spacing:-3px;margin:18px 0 12px}html[data-theme=frequency] .station-button{aspect-ratio:1.65}html[data-theme=frequency] .station-grid{padding-bottom:16px}html[data-theme=frequency] .player-controls{padding:16px 24px}html[data-theme=frequency] .play-button{width:72px;height:72px}html[data-theme=frequency] .now-playing{margin-bottom:12px}}
