:root{color-scheme:dark;--bg:#000;--panel:#080808;--line:#252525;--text:#e0e0e0;--strong:#fff;--muted:#999;--accent:#ff7378;--accent-ink:#000;--red:#ff4040;--glow:rgba(255,80,88,.09);--disc:#111;--groove:#292929;--player:#080808f5;--font:'Courier New','Lucida Console','Andale Mono',monospace}
:root[data-theme=light]{color-scheme:light;--bg:#faf7f5;--panel:#fff;--line:#d9ceca;--text:#382c2c;--strong:#201515;--muted:#706260;--accent:#8b161d;--accent-ink:#fff;--red:#8b161d;--glow:rgba(139,22,29,.06);--disc:#e5dcd7;--groove:#c5b8b2;--player:#fffaf7f5}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:700 14px/1.65 var(--font)}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}header,main{max-width:1064px;margin:auto}header{padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}.brand{font-size:12px;text-decoration:none;letter-spacing:.08em;text-transform:uppercase}.brand span{color:var(--accent)}.header-actions{display:flex;align-items:center;gap:22px}.location,.eyebrow{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--accent)}.location{color:var(--muted)}.theme-toggle{background:transparent;color:var(--text);border:1px solid var(--line);padding:8px 12px;min-height:44px;white-space:nowrap;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.theme-toggle:hover{border-color:var(--accent);color:var(--accent)}main{padding:0 24px 135px}.intro{padding:38px 0 32px;text-align:center;border-bottom:1px solid var(--line);margin-bottom:36px}.brand-art{background:#000;border:0;padding:8px 20px;max-width:730px;margin:0 auto 24px}.brand-art img{display:block;width:100%;height:auto}.intro h1{font:700 clamp(24px,4vw,40px)/1.25 var(--font);letter-spacing:.06em;color:var(--strong);text-transform:uppercase;margin:12px 0}.intro h1 span{color:var(--accent)}.intro>p:last-child{color:var(--muted);font-size:12px;max-width:550px;margin:16px auto 0}.layout{display:grid;grid-template-columns:1.2fr 1fr;gap:28px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-head h2{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin:0}.section-head h2:before{content:'▒ ';}.section-head>span{color:var(--muted);font-size:11px}.directory-controls{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.directory-controls label{width:100%;font-size:11px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}.directory-controls input{width:100%;padding:12px;border:1px solid var(--line);background:var(--panel);color:var(--text);font-size:16px;border-radius:0}.directory-controls input::placeholder{color:var(--muted);opacity:1}.directory-controls>button{border:1px solid var(--line);background:transparent;color:var(--text);padding:9px 14px;min-height:44px;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.directory-controls>button[aria-pressed=true]{border-color:var(--accent);background:var(--glow);color:var(--accent)}#stations{max-height:650px;overflow:auto;padding:3px 8px 3px 3px;scrollbar-color:var(--line) transparent;scroll-padding:8px}.station{display:grid;grid-template-columns:54px minmax(0,1fr) 44px;align-items:center;gap:13px;padding:15px;border:1px solid var(--line);background:var(--panel);margin-bottom:8px}.station.active{border-color:var(--accent);background:var(--glow)}.station-badge{width:54px;height:54px;position:relative;overflow:hidden;display:grid;place-content:center;background:var(--glow);color:var(--accent);font-size:13px;text-align:center;border:1px solid var(--line)}.station-badge img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}.station h3{font-size:13px;line-height:1.5;margin:0 0 5px;color:var(--strong);overflow-wrap:anywhere}.station p{margin:0;color:var(--muted);font-size:11px;line-height:1.65;overflow-wrap:anywhere}.station-actions{display:flex;flex-direction:column;gap:4px}.favorite{width:44px;height:34px;font-size:23px;background:transparent;border:0;color:var(--accent)}.tune{width:44px;height:44px;border:1px solid var(--line);background:transparent;color:var(--accent);font-size:16px}.tune:hover{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.listening{padding:26px;background:var(--panel);border:1px solid var(--line);text-align:center;align-self:start;position:sticky;top:22px;min-height:390px}.listening>.eyebrow{border-bottom:1px solid var(--line);padding-bottom:15px;margin-top:0}.record{width:145px;height:145px;border-radius:50%;margin:26px auto;background:repeating-radial-gradient(circle,var(--groove) 0 1px,var(--disc) 2px 5px);border:1px solid var(--line);display:grid;place-items:center}.record>div{width:67px;height:67px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--accent-ink);font-size:12px;border:5px solid var(--disc)}#selected-name{font-size:11px;color:var(--accent);text-transform:uppercase;letter-spacing:.05em}#track{font:700 23px/1.4 var(--font);color:var(--strong);margin:12px 0;overflow-wrap:anywhere}#artist{margin:0;color:var(--muted);font-size:13px}#show{font-size:12px}.muted,#metadata-status{font-size:11px;color:var(--muted);line-height:1.8}#metadata-status a,#station-link{color:var(--accent);font-size:11px}#station-link{text-underline-offset:4px}.history-section{margin-top:38px}ol{list-style:none;margin:20px 0;padding:0}ol li{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding:16px 0}ol strong{display:block;font-size:12px;color:var(--strong)}ol small,ol time{font-size:11px;color:var(--muted)}ol time{flex-shrink:0}footer{border-top:1px solid var(--line);margin-top:35px;padding-top:24px;color:var(--muted);font-size:10px;display:flex;justify-content:space-between;gap:20px}.player{position:fixed;bottom:0;left:0;right:0;background:var(--player);backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:16px max(24px,calc((100vw - 1016px)/2)) calc(16px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:18px}.player-info{display:flex;align-items:center;gap:14px;min-width:0}.player-info>div{min-width:0}.player-info strong{font-size:12px;color:var(--strong)}.player-info span:last-child{display:block;font-size:11px;color:var(--muted);margin-top:3px}.live-dot{width:7px;height:7px;background:var(--accent);flex-shrink:0;box-shadow:0 0 9px var(--glow)}.player button{width:52px;height:52px;background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent);font-size:22px;flex-shrink:0}.player button:disabled{opacity:.4}@media(max-width:650px){header{padding:12px 18px;gap:10px}.brand{font-size:10px;letter-spacing:0}.header-actions{gap:10px}.location{display:none}.theme-toggle{font-size:10px;padding:8px 10px}main{padding-left:18px;padding-right:18px}.intro{padding:26px 0 22px;margin-bottom:26px}.brand-art{padding:10px 4px;margin-bottom:18px}.intro h1{font-size:27px;letter-spacing:.03em}.intro>p:last-child{font-size:11px}.eyebrow{font-size:9px}.layout{grid-template-columns:1fr;gap:22px}.station{padding:12px;gap:10px}.station h3{font-size:12px}.favorite{height:44px}#stations{max-height:480px}.listening{position:static;min-height:initial;padding:22px}.record{width:115px;height:115px;margin:20px auto}.record>div{width:58px;height:58px}.history-section{margin-top:28px}ol li{gap:12px}ol time{font-size:10px;max-width:86px;text-align:right}footer{flex-direction:column;gap:10px}}@media(prefers-reduced-motion:no-preference){body.playing .record{animation:spin 16s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}}

/* Keep the BBS identity in the branding; use readable type for listening. */
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:18px;font-weight:400;line-height:1.65}.brand,.eyebrow,.location,.intro h1,.section-head h2{font-family:var(--font);font-weight:700}.brand{font-size:15px}.location,.eyebrow{font-size:13px}.intro>p:last-child{font-size:17px;line-height:1.8}.section-head h2{font-size:16px;letter-spacing:.06em}.section-head>span{font-size:15px}.directory-controls label{font-size:15px;text-transform:none;letter-spacing:0}.directory-controls>button,.theme-toggle{font-size:15px;font-weight:600;text-transform:none;letter-spacing:0}.station h3{font-size:18px;line-height:1.5;font-weight:650}.station p{font-size:15px;line-height:1.6}.station{padding:16px}.muted,#metadata-status{font-size:15px;line-height:1.8}#selected-name{font-size:15px;font-weight:600;letter-spacing:0;text-transform:none}#track{font-family:inherit;font-size:28px;font-weight:700;line-height:1.35}#artist{font-size:18px}#show{font-size:16px}#station-link,#metadata-status a{font-size:15px}ol strong{font-size:17px;font-weight:600}ol small,ol time{font-size:15px}.player-info strong{font-size:17px;font-weight:650}.player-info span:last-child{font-size:15px}footer{font-size:14px}@media(max-width:650px){.brand{font-size:13px}.theme-toggle{font-size:14px}.intro>p:last-child{font-size:16px}.station h3{font-size:17px}.station p{font-size:15px}.station{padding:13px}.eyebrow{font-size:12px}ol time{font-size:14px}}

.directory-controls select{width:100%;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:0;background:var(--panel);color:var(--text);font:inherit;font-size:17px;cursor:pointer}.directory-controls select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.theme-choice{display:flex;flex-direction:column;align-items:flex-end;gap:5px}#theme-hint{font-size:12px;line-height:1.4;color:var(--muted)}#theme-hint[hidden]{display:none}@media(max-width:650px){#theme-hint{max-width:140px;text-align:right}}

.location-region{color:#33ff33}:root[data-theme=light] .location-region{color:#18752a}.location-live{color:var(--red)}@media(prefers-reduced-motion:no-preference){.location-live{animation:live-flash 1.8s ease-in-out infinite}@keyframes live-flash{0%,100%{opacity:1}50%{opacity:.3}}}

.player-controls{display:flex;align-items:center;gap:10px;flex-shrink:0}.player #previous-station{width:auto;min-width:52px;padding:6px 10px;background:transparent;color:var(--accent);font-size:22px;line-height:1.1}.player #previous-station span{display:block;font-size:11px;margin-top:3px}.player-info{overflow-wrap:anywhere}

.history-section .section-head{flex-wrap:wrap}.history-section .section-head>span{flex:1}#clear-history{min-height:44px;padding:8px 12px;border:1px solid var(--line);background:transparent;color:var(--text);font:inherit;font-size:14px}#clear-history:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}#clear-history:disabled{opacity:.4;cursor:default}
