:root{color-scheme:dark;--bg:#181a1e;--surface:#23262b;--raised:#30343a;--ink:#f6f6f5;--muted:#a1a3a7;--line:#ffffff17;--live:#a4dfad;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}button{border:0}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}:focus-visible{outline:2px solid white;outline-offset:5px}button,a,input{transition:background-color .16s,color .16s,opacity .16s,transform .16s}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:none;background:transparent;color:var(--muted);border-radius:10px}.icon-button:hover,.icon-button[aria-pressed=true]{background:#ffffff0b;color:white}.primary{display:inline-flex;gap:14px;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:10px;background:#f5f5f3;color:#111214;font-size:15px;font-weight:650}.primary:hover{background:white;transform:translateY(-1px)}.primary.small{min-height:40px;padding:0 20px;font-size:14px}.text-button{display:flex;align-items:center;gap:9px;background:none;font-size:14px;min-height:44px}.wordmark{display:inline-flex;align-items:baseline;font-size:28px;font-weight:750;letter-spacing:-1.6px}.brand-dot{width:5px;height:5px;background:var(--live);border-radius:50%;margin-left:4px}.site-header,.landing-footer{max-width:1280px;margin:auto;padding:30px 48px;display:flex;align-items:center;justify-content:space-between}.landing-main{max-width:1280px;min-height:650px;min-height:min(730px,calc(100svh - 180px));margin:auto;display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;padding:38px 48px 54px;gap:20px}.intro{position:relative;z-index:2;align-self:center}.intro h1{font-size:clamp(44px,5.3vw,76px);font-weight:650;letter-spacing:-.065em;line-height:1.04;margin:0 0 25px}.intro p{font-size:17px;color:var(--muted);line-height:1.65;margin:0 0 32px}.landing-footer{padding-top:20px;padding-bottom:24px;color:#8f9196;font-size:12px}.landing-footer a{font-size:17px;font-weight:600;letter-spacing:-.5px}.device-scene{perspective:1400px;height:540px;position:relative;min-width:0;pointer-events:none}.device-orbit{position:absolute;inset:0;transform-style:preserve-3d;animation:orbit 20s ease-in-out infinite}.desktop-device{position:absolute;top:90px;left:12%;width:95%;height:auto;filter:drop-shadow(10px 24px 22px #0007);transform:translateZ(-20px) rotateZ(2deg)}.phone-device{position:absolute;top:76px;left:0;width:34%;height:auto;filter:drop-shadow(9px 18px 18px #0009);transform:translateZ(65px) rotateZ(-6deg)}@keyframes orbit{0%,100%{transform:rotateY(-6deg) rotateX(1deg) translateY(0)}50%{transform:rotateY(7deg) rotateX(-2deg) translateY(-12px)}}
.player-top{height:88px;max-width:1200px;margin:auto;padding:20px 32px;display:flex;align-items:center;justify-content:space-between}.player-top>span{color:#6f7278;font-size:15px;font-weight:600;letter-spacing:-.6px}.radio-app{width:440px;max-width:calc(100% - 32px);margin:26px auto 50px;border:1px solid var(--line);border-radius:22px;background:var(--bg);box-shadow:0 12px 38px #00000012;overflow:hidden}.app-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 18px}.app-heading h1{font-size:30px;letter-spacing:-1.5px;margin:0;font-weight:750}.app-heading>div{display:flex;gap:0}.section-heading{display:flex;align-items:center;gap:14px;padding:0 24px 17px;color:var(--muted)}.section-heading h2{font-size:14px;margin:0;font-weight:400;flex:1}.section-heading>span{font:12px ui-monospace,monospace}.subtle-button{font-size:12px;background:none;color:var(--muted);min-height:32px;padding:0}.subtle-button:hover{color:white}.station-grid{padding:0 22px 22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:460px;overflow-y:auto;scrollbar-width:thin}.station-tile{position:relative;min-width:0;min-height:126px}.station-button{width:100%;height:100%;min-height:126px;text-align:left;padding:14px 12px 12px;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);display:flex;flex-direction:column;gap:6px}.station-button:hover{background:var(--raised)}.station-button.is-active{background:#303134;border-color:#ffffff80}.station-button .tile-action{align-self:flex-end;color:#85888d;height:13px;width:13px}.station-button.is-active .tile-action{color:var(--live)}.station-mark{font-size:40px;font-weight:750;letter-spacing:-2px;line-height:1;align-self:center;display:grid;place-items:center;flex:1;padding:5px 0 8px}.station-name{max-width:100%;font-size:12px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#c5c6c9}.station-button.is-active .station-name{color:white}.station-button.has-error{border-color:#e6a26265}.tile-error{font-size:10px;color:var(--error)}.remove-station{position:absolute;z-index:2;top:5px;right:5px;width:34px;height:34px;background:#eee;border:3px solid var(--bg);border-radius:50%;color:#111;display:grid;place-items:center}.remove-station svg{width:16px;height:16px}.empty-favorites{grid-column:1/-1;text-align:center;color:var(--muted);padding:45px 10px}.empty-favorites p{font-size:14px;margin:0 0 18px}.player-controls{border-top:1px solid var(--line);background:#ffffff04;padding:20px}.now-playing{display:flex;align-items:center;gap:12px}.current-mark{width:48px;height:48px;display:grid;place-items:center;flex:none;background:#ffffff0b;border-radius:11px;font-size:25px;font-weight:750;letter-spacing:-1px}.current-info{flex:1;min-width:0}.current-info h2{margin:0 0 5px;font-size:15px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.current-info p{font-size:11px;margin:0;color:var(--muted);line-height:1.5}.current-info p.live:before{content:"";display:inline-block;vertical-align:1px;width:5px;height:5px;margin-right:5px;border-radius:50%;background:var(--live)}.current-info p.error{color:#efb274}.play-button{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:white;color:#111;flex:none}.play-button:hover{background:#dedee0}.play-button svg{width:25px;height:25px}.volume-row{display:flex;align-items:center;gap:10px;margin-top:12px;height:32px}.volume-row .icon-button{width:30px;height:32px}.volume-row svg{width:15px;height:15px}.volume-row output{font:10px ui-monospace,monospace;color:#85888d;min-width:32px;text-align:right}input[type=range]{flex:1;min-width:0;accent-color:#dedee0;height:28px;cursor:pointer}.volume-help{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.5}.radio-app.is-compact #favorites-section{display:none}.radio-app.is-compact .app-heading{padding-bottom:18px}.storage-notice{font-size:13px;color:#efb274;max-width:440px;margin:20px auto;padding:0 22px;line-height:1.5}.install-offer{display:flex;gap:12px;align-items:center;max-width:510px;margin:0 auto 30px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#1c1d20}.install-offer img{border-radius:10px}.install-offer>div{flex:1}.install-offer strong{font-size:12px;display:block;font-weight:550}.install-offer span{display:block;margin-top:4px;font-size:11px;color:var(--muted)}.install-offer>.install-action{background:none;color:white;font-size:12px;min-height:44px;padding:0 5px}.install-offer .icon-button{width:28px}.install-offer .icon-button svg{width:16px}
dialog{border:1px solid #ffffff20;border-radius:20px;padding:0;background:var(--bg);color:var(--ink);width:440px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);box-shadow:0 30px 100px #0008;overflow:hidden}dialog[open]{display:flex;flex-direction:column;animation:appear .18s ease both}dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:18px 20px 14px;flex:none}.dialog-header h2{font-size:23px;letter-spacing:-.8px;margin:0;font-weight:650}.search-field{display:flex;align-items:center;margin:0 22px;gap:10px;background:var(--surface);border:1px solid transparent;border-radius:10px;padding:0 13px;flex:none}.search-field:focus-within{border-color:#65686f}.search-field>svg{color:#92959b;width:18px}.search-field input{font:inherit;font-size:15px;min-width:0;flex:1;min-height:48px;border:0;background:none;color:white;outline:none}.search-field input::placeholder{color:#898c92}.search-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 23px 12px;color:var(--muted);font-size:12px;flex:none}.search-heading>a{font-size:11px}.search-results{height:350px;min-height:100px;overflow-y:auto;padding:0 22px;scrollbar-width:thin;overscroll-behavior:contain}.search-result{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:11px 0}.result-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--surface);font-size:22px;letter-spacing:-1px;font-weight:750;flex:none}.result-info{flex:1;min-width:0}.result-info strong{font-size:14px;line-height:1.4;font-weight:550;display:block;overflow-wrap:anywhere}.result-info small{font-size:11px;line-height:1.5;color:var(--muted);display:block;margin-top:4px}.result-add{width:38px;height:38px;background:#ffffff10;border-radius:50%;display:grid;place-items:center;flex:none}.result-add svg{width:18px;height:18px}.result-add:disabled{background:none;color:#96999e}.results-end{font-size:11px;color:var(--muted);text-align:center;line-height:1.6;padding:20px 0 24px}.search-message{min-height:280px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:12px}.search-message h3{font-size:15px;font-weight:550;margin:0}.search-message p{font-size:12px;line-height:1.6;color:var(--muted);margin:0;max-width:280px}.search-message svg{width:30px;height:30px;color:var(--muted);margin-bottom:4px}.search-message .retry{background:var(--raised);min-height:40px;padding:0 20px;border-radius:8px;font-size:13px;margin-top:6px}.spinner{width:22px;height:22px;border:2px solid #ffffff20;border-top-color:white;border-radius:50%;animation:spin .8s linear infinite}.dialog-footer{padding:16px 20px;display:flex;align-items:center;gap:10px;justify-content:space-between;flex:none;border-top:1px solid var(--line)}.dialog-footer>span{font-size:11px;color:var(--muted)}.install-dialog #install-help{padding:8px 24px 24px;font-size:15px;line-height:1.65;color:#bfc1c5}.install-dialog>.primary{margin:0 24px 24px;align-self:flex-end}.install-dialog .dialog-header h2{font-size:21px}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.landing-main{min-height:760px}.device-scene{transform:scale(1.08);transform-origin:left center}}@media(max-width:1000px){.landing-main{grid-template-columns:.8fr 1.2fr;padding:28px 36px 30px;min-height:620px}.site-header,.landing-footer{padding-left:36px;padding-right:36px}.device-scene{transform:scale(.85);transform-origin:left center;width:510px}.intro h1{font-size:56px}.intro p{font-size:15px}.desktop-device{left:12%}.device-scene{height:470px}}@media(max-width:740px){.site-header{padding:18px 22px}.wordmark{font-size:26px}.text-button{font-size:12px;gap:6px}.text-button svg{width:17px}.landing-main{display:flex;flex-direction:column;padding:40px 22px 0;gap:22px;min-height:0;overflow:hidden}.intro{align-self:flex-start}.intro h1{font-size:clamp(46px,12vw,66px);margin-bottom:20px}.intro p{font-size:15px;margin-bottom:24px}.intro p br{display:none}.device-scene{flex:none;align-self:center;width:100%;max-width:510px;height:auto;aspect-ratio:1.12;transform:none;margin:8px 0 0}.desktop-device{top:12%;left:15%;width:85%}.phone-device{top:7%;left:1%;width:33%}.landing-footer{font-size:10px;padding:24px 22px;gap:15px}.landing-footer a{font-size:16px}.player-top{height:70px;padding:13px 16px}.radio-app{margin:12px auto 28px;max-width:calc(100% - 28px);box-shadow:none}.install-offer{margin:0 14px 24px;gap:10px;padding:10px}.install-offer img{width:34px;height:34px}.install-offer strong{font-size:11px}.install-offer span{font-size:10px}.install-offer>.install-action{font-size:11px}.app-heading{padding:20px 18px 14px}.section-heading{padding-left:20px;padding-right:20px}.station-grid{padding:0 18px 20px;gap:8px;max-height:calc(100dvh - 335px);min-height:126px}.station-button,.station-tile{min-height:115px}.station-button{padding:11px 9px 10px}.station-mark{font-size:35px}.station-name{font-size:11px}.player-controls{padding:18px}.dialog-header{padding:14px 16px 10px}.dialog-header h2{font-size:22px}.search-field{margin:0 18px}.search-heading{padding-left:19px;padding-right:19px}.search-results{padding:0 18px;height:min(390px,calc(100dvh - 230px))}.dialog-footer{padding:13px 16px}.dialog-footer>span{max-width:190px;line-height:1.5}.dialog-header .icon-button{width:40px}.result-info strong{font-size:14px}}
@media(max-width:360px){.intro h1{font-size:43px}.device-scene{transform:none;margin-bottom:0}.station-grid{padding-left:14px;padding-right:14px;gap:7px}.station-button{padding-left:7px;padding-right:7px}.station-name{font-size:10px}.install-offer>div span{display:none}.install-offer{gap:8px}.current-info h2{font-size:14px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.device-orbit{transform:rotateY(0)}}body.is-hidden .device-orbit{animation-play-state:paused}

.desktop-widget{width:218px;padding:12px}.desktop-widget .preview-heading{font-size:18px}.desktop-widget .preview-tiles{gap:5px;margin-top:10px}.desktop-widget .preview-tiles>span{min-height:48px;font-size:24px;padding:6px 2px 4px}.desktop-widget .preview-tiles small{font-size:5px;margin-top:5px}.desktop-widget .preview-now{margin-top:12px}.desktop-widget .preview-volume{margin-top:8px}
.stylebook{max-width:900px;margin:auto;padding:24px}.stylebook>h1{font-size:36px;letter-spacing:-1.5px}.stylebook>h2{margin-top:40px;font-size:22px}.stylebook>p{color:var(--muted);line-height:1.6}.stylebook-row{display:flex;gap:20px;flex-wrap:wrap;align-items:center}.stylebook-row .search-message{flex:1;min-width:200px;min-height:180px}.stylebook .station-grid{padding:0;max-width:440px}.search-results:focus-visible{outline-offset:-2px}
/* Adaptive shared palette. Hue is mixed into surfaces; contrast colors remain stable. */
:focus-visible{outline-color:var(--ink)}.icon-button:hover,.icon-button[aria-pressed=true]{background:var(--raised);color:var(--ink)}.primary,.play-button,.remove-station{background:var(--control);color:var(--on-control)}.primary:hover,.play-button:hover{background:var(--control);filter:brightness(.9)}.subtle-button:hover,.station-button.is-active .station-name,.install-offer>.install-action,.search-field input{color:var(--ink)}.station-name{color:var(--muted)}.station-button.is-active{background:var(--raised);border-color:var(--ink)}.current-mark,.result-add{background:var(--raised)}.install-offer{background:var(--surface)}dialog{border-color:var(--line)}input[type=range],input[type=checkbox]{accent-color:var(--control)}.spinner{border-color:var(--line);border-top-color:var(--ink)}.current-info p.error,.tile-error{color:var(--error)}.station-button.has-error{border-color:var(--error)}.install-dialog #install-help,.search-field input::placeholder,.landing-footer{color:var(--muted)}.station-mark.has-logo{height:64px;display:grid;place-items:center}.has-logo img{display:block;width:100%;height:100%;object-fit:contain;max-width:88px;max-height:58px}.has-logo{background:#fff;border-radius:9px;padding:6px;color:#111}.current-mark.has-logo{padding:5px}.current-mark.has-logo img,.result-mark.has-logo img{max-width:100%;max-height:100%}.settings-body{padding:0 22px 12px;overflow:auto}.settings-field{border:0;padding:0;margin:5px 0 18px;min-width:0}.settings-field legend{font-size:14px;margin-bottom:12px}.settings-field p,.settings-note{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0}.segments{display:flex;padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:12px;gap:4px}.segments button{min-height:44px;flex:1;background:transparent;border-radius:8px;color:var(--muted);font-size:14px}.segments button[aria-pressed=true]{background:var(--control);color:var(--on-control)}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:60px;font-size:15px;border-bottom:1px solid var(--line)}.setting-row input[type=checkbox]{width:22px;height:22px;cursor:pointer}.color-fields{display:flex;gap:9px;align-items:center}.color-fields input[type=color]{padding:0;width:42px;height:36px;border:1px solid var(--line);border-radius:7px;background:none;cursor:pointer}.color-fields input[type=text]{width:97px;font:14px ui-monospace,monospace;background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:10px 8px;border-radius:7px}.color-fields input:disabled{opacity:.4;cursor:default}.setting-error{font-size:13px;line-height:1.5;color:var(--error)}.settings-note{margin-top:18px}.settings-body .setting-row:has(input:focus-visible){border-color:var(--ink)}#player-page:not([hidden]),#landing:not([hidden]){animation:appear .18s ease both}
.result-info small,.volume-row output,.player-top>span,.section-heading,.subtle-button,.search-field input::placeholder,.dialog-footer>span{color:var(--muted)}.result-add:disabled{color:var(--muted);opacity:1}.radio-app{border-color:var(--line)}
.has-logo[data-logo-key=rock],.has-logo[data-logo-key=retro]{background:#141414}
:root{--control:#f6f7f9;--on-control:#17191d;--error:#ffc08a}

.station-button .tile-action{opacity:0}.station-button:hover .tile-action,.station-button:focus-visible .tile-action,.station-button.is-active .tile-action{opacity:1}

/* The same adaptive grid follows the available app width in every size. */
:root{--tile-min:120px}.radio-app{width:calc(100% - 48px);max-width:none}.station-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--tile-min)),1fr));max-height:max(100px,calc(100dvh - 400px))}.station-tile{min-height:0;aspect-ratio:1}.station-button{min-height:0;height:100%;justify-content:space-between}.station-mark{flex:1;display:flex;align-items:center;justify-content:center;min-height:0}.station-name{flex-shrink:0}.player-controls{width:100%}.now-playing,.volume-row,.volume-help{max-width:640px;margin-left:auto;margin-right:auto}.radio-app.is-compact{width:440px;max-width:calc(100% - 28px)}
@media(max-width:600px){.radio-app{width:calc(100% - 28px)}.station-grid{max-height:max(100px,calc(100dvh - 400px))}}
