:root {
  --accent: #f4512a;
  --accent-soft: #fff0eb;
  --ink: #171918;
  --muted: #747875;
  --line: #e7e8e5;
  --paper: #fff;
  --canvas: #f7f7f4;
  --player: #151b1c;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: var(--sans); font-size: 16px; }
button, input { font: inherit; }
button { color: inherit; border: 0; background: none; cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.fill { fill: currentColor; stroke: none; }
img { display: block; }

#app { min-height: 100vh; }
.page-shell { width: min(1500px, calc(100% - 32px)); min-height: 100vh; margin: 18px auto 120px; padding: 0 20px 34px; overflow: hidden; background: var(--paper); border: 1px solid #ededeb; border-radius: 18px; box-shadow: 0 18px 60px rgba(31, 35, 32, .08); }
.site-header { height: 84px; display: flex; align-items: center; gap: 25px; }
.brand { position: relative; display: inline-flex; align-items: flex-end; color: var(--accent); text-decoration: none; line-height: .8; white-space: nowrap; }
.brand span { font-size: 38px; font-weight: 700; letter-spacing: -2.8px; }
.brand small { margin: 0 0 -4px 2px; font-size: 7px; font-weight: 700; letter-spacing: -.2px; }
.top-nav { display: flex; align-items: center; gap: 5px; margin-left: 18px; }
.nav-link { padding: 11px 10px; font-size: 14px; color: #535653; border-radius: 9px; }
.nav-link:hover, .nav-link.active { color: var(--accent); background: var(--accent-soft); }
.search-box { width: min(330px, 24vw); height: 44px; display: flex; align-items: center; gap: 9px; margin-left: auto; padding: 0 16px; color: #848885; background: #f8f8f6; border: 1px solid #e6e7e4; border-radius: 999px; }
.search-box svg { width: 17px; flex: 0 0 17px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: #272b29; border: 3px solid #eee3da; border-radius: 50%; font-size: 12px; font-weight: 700; }
.mobile-menu { display: none; }

.download-strip { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; padding: 9px 12px 9px 18px; background: linear-gradient(110deg, #f5f4f0, #fbfaf8); border: 1px solid #e8e6e0; border-radius: 12px; }
.download-strip > div:first-child { display: grid; gap: 2px; }
.download-strip strong { font-size: 13px; letter-spacing: -.015em; }
.download-strip > div:first-child span { color: var(--muted); font-size: 11px; }
.download-strip-links { display: flex; align-items: center; gap: 6px; }
.download-strip-links a { min-width: 106px; height: 40px; display: grid; grid-template-columns: 19px 1fr 14px; align-items: center; gap: 7px; padding: 0 10px; color: #3d4541; text-decoration: none; background: white; border: 1px solid #e0e2de; border-radius: 9px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.download-strip-links a:hover { border-color: #d9ad9f; transform: translateY(-2px); box-shadow: 0 7px 18px rgba(31,35,32,.07); }
.download-strip-links a.recommended { color: #b53f25; border-color: #f2b9a9; background: #fff8f5; }
.download-strip-links svg { width: 17px; height: 17px; }
.download-strip-links svg:last-child { width: 13px; color: #9a9f9b; }
.download-strip-links span { font-size: 11px; font-weight: 700; }

.hero { position: relative; height: clamp(320px, 33vw, 470px); overflow: hidden; color: white; background: #0a0d0d url("../assets/orchestra-hero.png") center/cover no-repeat; border-radius: 14px; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 8, .92) 0%, rgba(5, 8, 8, .72) 31%, rgba(5, 8, 8, .08) 67%, rgba(5, 8, 8, .18)); }
.hero-copy { position: absolute; z-index: 1; top: 50%; left: clamp(28px, 4vw, 64px); transform: translateY(-50%); }
.hero-copy .eyebrow { margin: 0 0 10px; color: #ff9a7e; text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 700; }
.hero h1 { margin: 0 0 18px; font: 400 clamp(35px, 3.2vw, 58px)/1.02 var(--serif); letter-spacing: -.5px; }
.hero-copy > p:not(.eyebrow) { margin: 0 0 24px; color: rgba(255,255,255,.78); line-height: 1.65; font-size: 15px; }
.primary-btn { display: inline-flex; align-items: center; gap: 15px; padding: 13px 20px; color: white; background: var(--accent); border-radius: 999px; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s; }
.primary-btn:hover { background: #dc3f1a; transform: translateY(-2px); }
.primary-btn span { font-size: 20px; line-height: 10px; }
.hero-dots { position: absolute; z-index: 2; left: 50%; bottom: 18px; display: flex; gap: 5px; }
.hero-dots i { width: 5px; height: 5px; background: rgba(255,255,255,.5); border-radius: 50%; }
.hero-dots i.active { width: 17px; background: var(--accent); border-radius: 5px; }

.content-section { padding-top: 31px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.content-section h2 { margin: 0 0 16px; font-size: 21px; letter-spacing: -.35px; }
.section-title h2 { margin: 0; }
.section-title > button { padding: 8px 0 8px 12px; color: #5f6461; font-size: 13px; }
.station-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.station-card { min-width: 0; }
.station-art { position: relative; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; background: #ddd center/cover no-repeat; border-radius: 10px; transition: transform .22s, box-shadow .22s; }
.station-art::after, .curated-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.52)); }
.station-art:hover { transform: translateY(-4px); box-shadow: 0 12px 25px rgba(28, 30, 29, .16); }
.station-card h3 { margin: 11px 0 4px; overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.station-card p { margin: 0; color: var(--muted); font-size: 12px; }
.live-badge { position: absolute; z-index: 1; top: 9px; left: 9px; padding: 4px 8px; color: white; background: var(--accent); border-radius: 5px; font-size: 10px; font-weight: 700; }
.card-play { position: absolute; z-index: 1; right: 9px; bottom: 9px; width: 28px; height: 28px; display: grid; place-items: center; color: #111; background: white; border-radius: 50%; }
.card-play svg { width: 13px; margin-left: 2px; }

.composer-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; }
.composer { min-width: 0; display: grid; justify-items: center; gap: 10px; font-size: 14px; font-weight: 650; letter-spacing: -.01em; }
.composer img { width: clamp(60px, 6.4vw, 91px); aspect-ratio: 1; object-fit: cover; object-position: top; filter: sepia(.12) saturate(.85); border: 1px solid #ddd; border-radius: 50%; transition: filter .2s, transform .2s; }
.composer:hover img { filter: none; transform: scale(1.04); }

.tracks-and-now { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(245px, .7fr); gap: 22px; }
.track-list { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.track-row { min-width: 0; min-height: 74px; display: grid; grid-template-columns: 38px 1fr auto 30px; align-items: center; gap: 11px; padding: 10px 13px; border-bottom: 1px solid var(--line); }
.track-row:nth-child(odd) { border-right: 1px solid var(--line); }
.track-row:nth-last-child(-n+2) { border-bottom: 0; }
.tiny-play { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.tiny-play svg { width: 12px; margin-left: 2px; }
.track-row div { min-width: 0; display: grid; gap: 3px; }
.track-row strong { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.track-row span, .track-row time { color: var(--muted); font-size: 11px; }
.more svg { width: 15px; }
.now-card { padding: 20px; background: linear-gradient(145deg, #fbfaf8, #f3eee9); border: 1px solid #eee8e2; border-radius: 12px; }
.now-label { margin: 0 0 17px; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.now-info { display: grid; grid-template-columns: 58px 1fr 20px; align-items: center; gap: 12px; }
.now-info img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; }
.now-info div { display: grid; gap: 4px; }
.now-info strong { font-size: 13px; }
.now-info span { color: var(--muted); font-size: 11px; }
.now-info svg { width: 17px; }
.fake-progress { height: 3px; margin-top: 23px; background: #d7d2cd; border-radius: 4px; }
.fake-progress span { width: 39%; height: 100%; display: block; background: var(--accent); }
.time-row { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 10px; }
.now-controls { display: flex; align-items: center; justify-content: center; gap: 23px; margin-top: 13px; }
.round-play { width: 44px; height: 44px; display: grid; place-items: center; color: white; background: var(--player); border-radius: 50%; }
.round-play svg { width: 17px; }

.curated-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.curated-card { position: relative; aspect-ratio: .86; overflow: hidden; background: #333 center/cover; border-radius: 8px; }
.curated-card span { position: absolute; z-index: 1; right: 12px; bottom: 13px; left: 12px; color: white; text-align: left; font-size: 17px; font-weight: 700; line-height: 1.18; letter-spacing: -.025em; text-shadow: 0 2px 14px rgba(0,0,0,.45); }

.subpage-hero { min-height: 176px; display: flex; flex-direction: column; justify-content: center; padding: 28px clamp(28px, 4vw, 54px); color: white; background: linear-gradient(110deg, #111716 0%, #202b28 58%, #553024 100%); background-position: center; background-size: cover; border-radius: 14px; }
.subpage-hero > p { margin: 0 0 8px; color: #ff9a7e; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.subpage-hero h1 { max-width: 760px; margin: 0 0 8px; font-size: clamp(31px, 3.2vw, 48px); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; }
.subpage-hero > div { max-width: 720px; color: rgba(255,255,255,.76); font-size: 15px; line-height: 1.55; }
.subpage-content { padding: 28px 0 10px; }
.subpage-content .station-grid.expanded { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 24px; row-gap: 28px; }
.editorial-intro,.editorial-content { max-width: 900px; color: #444a46; font-size: 17px; line-height: 1.8; }
.editorial-intro { margin-bottom: 28px; padding: 20px 24px; background: #f7f5f1; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; }
.editorial-content { padding: 8px 4px 40px; }
.editorial-content h2,.editorial-content h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; }
.editorial-content h2 { font-size: 38px; }
.editorial-content a { color: var(--accent); }
.featured-station { min-height: 310px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 38px; color: white; background-position: center; background-size: cover; border-radius: 14px; }
.featured-station > span { color: #ff9a7e; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.featured-station h2 { margin: 8px 0; font: 46px/1 var(--serif); }
.featured-station p { max-width: 500px; margin: 0 0 18px; color: rgba(255,255,255,.76); }
.featured-station .primary-btn svg { width: 14px; }
.composer-directory { display: grid; gap: 18px; }
.composer-profile { min-height: 290px; display: grid; grid-template-columns: minmax(210px, 25%) 1fr; overflow: hidden; background: linear-gradient(120deg, #f8f6f1, #fff); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 10px 28px rgba(31,35,32,.045); }
.composer-profile > img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; object-position: top; filter: grayscale(.12) sepia(.06); }
.composer-profile-copy { align-self: center; padding: clamp(26px, 3.5vw, 50px); }
.composer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.composer-meta span,.composer-meta i { padding: 5px 9px; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.composer-meta span { color: #aa3b22; background: var(--accent-soft); }
.composer-meta i { color: #69706c; background: #eff1ee; }
.composer-directory h2 { margin: 0 0 10px; font-size: clamp(27px, 3vw, 42px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.composer-directory p { max-width: 900px; margin: 0; color: #606662; font-size: 14px; line-height: 1.72; }
.composer-directory .composer-lead { margin-bottom: 10px; color: #2f3532; font-size: 16px; font-weight: 600; line-height: 1.55; }
.composer-works { margin-top: 18px; padding-top: 15px; border-top: 1px solid #e5e2dc; }
.composer-works strong { display: block; margin-bottom: 5px; color: #333936; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.composer-works p { color: #7a5146; font-size: 13px; }
.playlist-directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.playlist-directory button { min-height: 310px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 24px; color: white; text-align: left; background-position: center; background-size: cover; border-radius: 12px; }
.playlist-directory span { color: #ff9a7e; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.playlist-directory strong { margin: 7px 0; font-size: 25px; font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.playlist-directory small { color: rgba(255,255,255,.7); font-size: 12px; }
.settings-panel { max-width: 760px; display: grid; gap: 16px; }
.settings-panel > * { padding: 22px; background: #f7f7f4; border: 1px solid var(--line); border-radius: 11px; }
.settings-panel label { display: grid; grid-template-columns: 1fr auto; gap: 14px; font-size: 15px; }
.settings-panel label input { grid-column: 1/-1; accent-color: var(--accent); }
.settings-panel div { display: grid; gap: 8px; }
.settings-panel code { overflow-wrap: anywhere; color: #46504c; }
.settings-panel button { color: #a13224; text-align: left; font-weight: 700; }
.download-page { padding-bottom: 30px; }
.download-intro { max-width: 820px; margin-bottom: 28px; }
.download-intro > span { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.download-intro h2 { margin: 9px 0 12px; font-size: clamp(27px, 3.5vw, 45px); line-height: 1.06; letter-spacing: -.045em; }
.download-intro p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.download-platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.download-platform { position: relative; min-height: 285px; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; background: #f8f8f5; border: 1px solid var(--line); border-radius: 14px; }
.download-platform.recommended { background: linear-gradient(145deg, #fff9f6, #f9f6f2); border-color: #efc3b6; box-shadow: 0 12px 35px rgba(77,44,35,.07); }
.download-platform > em { position: absolute; top: 16px; right: 16px; padding: 5px 8px; color: #ae3b22; background: #ffebe5; border-radius: 999px; font-size: 9px; font-style: normal; font-weight: 700; }
.platform-mark { width: 48px; height: 48px; display: grid; place-items: center; color: #252b28; background: white; border: 1px solid #e3e4e0; border-radius: 13px; }
.platform-mark svg { width: 24px; height: 24px; }
.download-platform h3 { margin: 21px 0 5px; font-size: 24px; letter-spacing: -.035em; }
.download-platform > p { margin: 0 0 23px; color: var(--muted); font-size: 12px; }
.download-primary { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: auto; padding: 10px 14px; color: white; text-decoration: none; background: var(--player); border-radius: 9px; font-size: 12px; font-weight: 700; }
.download-primary:hover { background: var(--accent); }
.download-primary svg { width: 16px; }
.download-secondary { align-self: center; margin-top: 10px; padding: 5px; color: #7a4c40; font-size: 11px; font-weight: 700; }
.download-portable { width: 100%; display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 13px; color: #343b38; text-decoration: none; background: #fff; border: 1px dashed #cfd2cd; border-radius: 9px; transition: border-color .2s, transform .2s, background .2s; }
.download-portable:hover { background: #fff9f6; border-color: #df9d8a; transform: translateY(-1px); }
.download-portable > svg { width: 17px; color: var(--accent); }
.download-portable span { display: grid; gap: 2px; }
.download-portable strong { font-size: 11px; }
.download-portable small { color: #8a918d; font-size: 9px; font-weight: 600; }
.download-note { margin: 18px 0 0; padding: 14px 17px; color: #666d69; background: #f5f6f3; border-radius: 9px; font-size: 12px; }
.download-note strong { color: #323936; }
.empty-state { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 15px; padding: 34px; text-align: center; background: linear-gradient(135deg, #faf9f6, #f4f5f2); border: 1px solid var(--line); border-radius: 12px; }
.empty-state h2 { max-width: 560px; margin: 0; color: #4d544f; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }

.help-content { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 20px; max-width: 1180px; }
.help-statement,.team-member { padding: clamp(25px, 3vw, 40px); background: #f8f7f3; border: 1px solid var(--line); border-radius: 15px; }
.help-statement > span,.contact-kicker { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.help-statement h2 { margin: 10px 0 14px; font-family: var(--sans); font-size: clamp(25px, 3vw, 38px); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; }
.help-statement p { margin: 0 0 14px; }
.legal-note { margin-top: 22px !important; padding: 18px; color: #5b514d; background: #fff; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; font-size: 14px; }
.team-member > strong { display: block; margin: 12px 0 3px; color: var(--ink); font-size: 22px; letter-spacing: -.03em; }
.team-member > p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.social-links { display: grid; gap: 8px; }
.social-link { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 11px; padding: 10px 12px; color: #303633 !important; text-decoration: none; background: #fff; border: 1px solid #e5e6e2; border-radius: 10px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.social-link:hover { border-color: #d4b5a9; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(34,37,35,.07); }
.social-link i { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: #29302d; border-radius: 9px; font-size: 13px; font-style: normal; font-weight: 700; }
.social-link.instagram i { background: #b73c75; }
.social-link.facebook i { background: #2864ae; }
.social-link.twitter i { background: #151918; }
.social-link.website i { background: var(--accent); }
.social-link span { min-width: 0; overflow-wrap: anywhere; color: #343a37; font-size: 13px; font-weight: 650; line-height: 1.35; }
.social-link small { display: block; color: #929793; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.player-shell { position: fixed; z-index: 20; right: 18px; bottom: 16px; left: 18px; height: 92px; display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; padding: 12px 24px; color: white; background: rgba(17, 23, 24, .97); border: 1px solid rgba(255,255,255,.08); border-radius: 13px; box-shadow: 0 15px 35px rgba(0,0,0,.25); backdrop-filter: blur(18px); }
.player-track { min-width: 0; display: flex; align-items: center; gap: 11px; }
.player-track img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.player-track div { min-width: 0; display: grid; gap: 4px; }
.player-track strong { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.player-track span { color: #bdc5c2; font-size: 12px; }
.player-heart { margin-left: 12px; color: #e4e8e6; }
.player-heart.active { color: var(--accent); }
.player-heart.active svg { fill: currentColor; }
.player-center { display: grid; justify-items: center; gap: 7px; }
.player-controls { display: flex; align-items: center; gap: 20px; }
.player-controls button { color: white; }
.main-play { width: 44px; height: 44px; display: grid; place-items: center; color: #172021 !important; background: white; border-radius: 50%; }
.main-play svg { width: 15px; }
.player-progress { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; color: #a7b0ad; font-size: 9px; }
.player-progress div { height: 2px; background: #44504e; }
.player-progress i { width: 13%; height: 100%; display: block; background: #75807d; }
.player-progress i.active { width: 56%; background: var(--accent); animation: pulse-progress 3s ease-in-out infinite alternate; }
@keyframes pulse-progress { to { width: 72%; } }
.player-volume { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.player-volume input { width: 110px; accent-color: white; }

.desktop-sidebar, .mobile-nav { display: none; }
.toast { position: fixed; z-index: 50; top: 18px; left: 50%; max-width: min(500px, calc(100% - 30px)); padding: 11px 17px; color: white; background: #1b211f; border-radius: 9px; box-shadow: 0 10px 30px rgba(0,0,0,.2); opacity: 0; transform: translate(-50%, -12px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

body.is-desktop-app { background: #f2f2ef; }
body.is-desktop-app #app { display: grid; grid-template-columns: 260px 1fr; }
body.is-desktop-app .desktop-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 31px 20px 20px; background: white; border-right: 1px solid var(--line); }
body.is-desktop-app .desktop-sidebar .brand { margin: 0 0 32px 8px; }
body.is-desktop-app .desktop-sidebar .brand span { font-size: 36px; }
.side-nav { display: grid; gap: 3px; }
.side-nav button, .side-footer button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; text-align: left; border-radius: 9px; font-size: 15px; font-weight: 500; }
.side-nav button span { width: 20px; display: grid; place-items: center; }
.side-nav button svg { width: 16px; height: 16px; }
.side-nav button.active { color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.side-nav.compact button { min-height: 39px; padding-block: 7px; color: #4f5451; font-size: 14px; }
.side-label { margin: 25px 12px 8px; color: #8b928e; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.side-footer { display: grid; gap: 5px; margin-top: auto; }
.desktop-version { margin-top: auto; padding: 16px 12px 0; color: #939a96; font-size: 10px; }
body.is-desktop-app .page-shell { width: calc(100% - 32px); max-width: 1600px; margin-top: 15px; }
body.is-desktop-app .top-nav, body.is-desktop-app .site-header > .brand { display: none; }
body.is-desktop-app .site-header { height: 68px; }
body.is-desktop-app .search-box { margin-left: 0; }
body.is-desktop-app .player-shell { left: 278px; }

.update-notice { position: fixed; z-index: 40; top: 22px; right: 22px; min-width: 320px; max-width: min(430px, calc(100% - 44px)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 13px; padding: 15px 16px; color: white; background: #202625; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.update-notice[hidden] { display: none; }
.update-notice div { display: grid; gap: 3px; }
.update-notice strong { font-size: 13px; }
.update-notice span { color: #bdc6c2; font-size: 11px; }
.update-notice progress { grid-column: 1/-1; width: 100%; height: 5px; accent-color: var(--accent); }
.update-notice button { padding: 9px 12px; color: white; background: var(--accent); border-radius: 7px; font-size: 11px; font-weight: 700; }
.update-notice button[data-close-update] { width: 30px; height: 30px; padding: 0; color: #dfe5e2; background: #343b39; border-radius: 50%; font-size: 18px; }

@media (max-width: 1050px) {
  .top-nav { display: none; }
  .station-grid { grid-template-columns: repeat(5, 1fr); }
  .station-card:nth-child(6) { display: none; }
  .curated-grid { grid-template-columns: repeat(5, 1fr); }
  .curated-card:nth-child(6) { display: none; }
  .subpage-content .station-grid.expanded { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .playlist-directory { grid-template-columns: 1fr 1fr; }
  .download-strip > div:first-child { display: none; }
  .download-strip { justify-content: center; }
}

@media (max-width: 760px) {
  body { background: white; }
  .page-shell { width: 100%; margin: 0 0 145px; padding: 0 13px 25px; border: 0; border-radius: 0; box-shadow: none; }
  .site-header { height: 72px; gap: 12px; }
  .brand span { font-size: 31px; }
  .site-header .search-box, .desktop-only, .avatar { display: none; }
  .mobile-menu { display: grid; margin-left: auto; }
  .hero { height: 330px; background-position: 60% center; }
  .hero::after { background: linear-gradient(90deg, rgba(5,8,8,.91), rgba(5,8,8,.35)); }
  .hero-copy { left: 19px; }
  .hero-copy .eyebrow { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-copy > p:not(.eyebrow) { display: none; }
  .content-section { padding-top: 25px; }
  .download-strip { min-height: 54px; margin: 0 -3px 10px; padding: 7px; }
  .download-strip-links { width: 100%; }
  .download-strip-links a { min-width: 0; width: 33.333%; grid-template-columns: 17px 1fr; padding: 0 8px; }
  .download-strip-links a > svg:last-child { display: none; }
  .download-strip-links span { font-size: 10px; }
  .station-grid { display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; }
  .station-card { min-width: 105px; }
  .station-card:nth-child(6) { display: block; }
  .station-card h3 { font-size: 12px; }
  .station-card p { font-size: 11px; }
  .composer-row { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .composer { min-width: 66px; }
  .composer img { width: 62px; }
  .tracks-and-now { display: block; }
  .track-list { display: block; }
  .track-row { grid-template-columns: 34px 1fr auto 22px; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .track-row:nth-child(n+5) { display: none; }
  .now-card { display: none; }
  .curated { display: none; }
  .subpage-hero { min-height: 165px; padding: 24px 20px; }
  .subpage-hero h1 { font-size: 31px; }
  .subpage-hero > div { font-size: 14px; }
  .subpage-content { padding-top: 24px; }
  .subpage-content .station-grid.expanded { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; gap: 18px 10px; }
  .subpage-content .station-card { min-width: 0; }
  .featured-station { min-height: 280px; padding: 25px; }
  .featured-station h2 { font-size: 39px; }
  .composer-directory { grid-template-columns: 1fr; }
  .composer-profile { grid-template-columns: 105px 1fr; min-height: 0; }
  .composer-profile > img { min-height: 220px; }
  .composer-profile-copy { padding: 18px; }
  .composer-directory h2 { font-size: 23px; }
  .composer-directory .composer-lead { font-size: 14px; }
  .composer-directory p:not(.composer-lead) { font-size: 13px; }
  .composer-works { display: none; }
  .help-content { grid-template-columns: 1fr; }
  .playlist-directory { grid-template-columns: 1fr; }
  .playlist-directory button { min-height: 260px; }
  .download-platforms { grid-template-columns: 1fr; }
  .download-platform { min-height: 250px; }
  .editorial-intro,.editorial-content { font-size: 15px; }
  .mobile-nav { position: fixed; z-index: 25; right: 0; bottom: 0; left: 0; height: 67px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 4px 8px; background: white; border-top: 1px solid var(--line); }
  .mobile-nav > button { display: grid; justify-items: center; gap: 3px; color: #626763; font-size: 10px; }
  .mobile-nav svg { width: 20px; }
  .mobile-nav .active { color: var(--accent); }
  .mobile-nav .mobile-main-play { width: 52px; height: 52px; margin: -27px auto 0; display: grid; place-items: center; color: white; background: var(--accent); border: 4px solid white; border-radius: 50%; box-shadow: 0 4px 13px rgba(244,81,42,.35); }
  .player-shell { right: 0; bottom: 67px; left: 0; height: 72px; grid-template-columns: 1fr auto; padding: 8px 13px; border-radius: 0; }
  .player-track img { width: 50px; height: 50px; }
  .player-track strong { font-size: 12px; }
  .player-track span { font-size: 10px; }
  .player-track .player-heart { color: var(--accent); }
  .player-center { display: block; }
  .player-controls .desktop-player-only, .player-progress, .player-volume { display: none; }
  .main-play { width: 38px; height: 38px; }
}

@media (max-width: 900px) {
  body.is-desktop-app #app { display: block; }
  body.is-desktop-app .desktop-sidebar { display: none; }
  body.is-desktop-app .player-shell { left: 0; }
}

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