/* Broadcast desk: compact geometry, warm metal edges and readable live content. */
:root {
  --broadcast-shine:linear-gradient(102deg,#9d6527 0%,#eed08d 20%,#fff1c1 32%,#b68139 72%,#e7bc68 92%);
  --bezel:inset 0 1px 0 #fff0b451,inset 0 -1px 0 #e5ab5144,0 9px 23px #03060e70;
  --champagne:#f7dfab;
}
.broadcast-icon { width:1em; height:1em; flex:none; color:#ebc57c; vertical-align:-.12em; filter:drop-shadow(0 2px 2px #0007); }
.floating-header { background:radial-gradient(ellipse at 29% 0,#314259a0,transparent 54%),linear-gradient(170deg,#17273e,#081222 69%); }
.floating-header::before { opacity:.9; background-image:url('../brand/broadcast-ribbon.svg'); background-position:left top; background-size:340px 135px; }
.header-brand { flex-basis:clamp(164px,17vw,255px); width:auto; }
.header-brand img { width:clamp(156px,15vw,221px); height:auto; }
.main-nav > a.is-active { border-radius:999px; }
.login-button { display:inline-flex; align-items:center; justify-content:center; gap:9px; }
.login-button svg { width:17px; height:17px; }
.gold-button,.request-tile .gold-button { background:var(--broadcast-shine); box-shadow:inset 0 2px #ffefc9b8,inset 0 -3px #67401fa3,0 3px 14px #d08c383d; border-color:#ffdf93; }
.gold-button:hover,.request-tile .gold-button:hover { filter:brightness(1.08); }
.hero-stage { background:#0a1320; }
.hero-stage::before { opacity:.84; background:url('../brand/broadcast-ribbon.svg') left top/28% 55% no-repeat, radial-gradient(ellipse at 77% 108%,#edbb6470,transparent 29%); }
.hero-stage::after { background:linear-gradient(90deg,#07101ef7,#0b1522d6 24%,#0c15223a 54%,transparent 76%),linear-gradient(0deg,#10111cbd,transparent 32%); }
.hero-stage__portrait { background-size:cover; }
.hero-stage__portrait:not(.has-image),.hero-stage__portrait[data-background-url$='/station-artwork.svg'] {
  background-image:url('../brand/studio-hero.webp') !important;
  background-position:right center;
}
.hero-stage__copy h1 { color:#ffe5a8; font-weight:700; overflow-wrap:anywhere; }
.hero-track-title { color:#f3d69b; }
.hero-stage__copy .eyebrow { background:linear-gradient(95deg,#c1893a,#f4d38e 57%,#aa7432); border:1px solid #e6ba6d; font-size:clamp(16px,1.45vw,22px); padding:3px 25px; }
.hero-stage__copy .gold-button { display:inline-flex; align-items:center; gap:11px; }
[data-hero-play][aria-pressed='false'] .hero-icon-pause,[data-hero-play][aria-pressed='true'] .hero-icon-play { display:none; }
.player-onair svg { width:21px; height:21px; flex:none; color:#edc786; }
.player-onair small { display:block; font:inherit; }
.radio-player .now-playing .player-onair { display:inline-flex; align-items:center; gap:8px; font:11px/1.16 var(--serif); letter-spacing:.03em; }
.radio-player .now-playing .player-onair small { text-transform:none; letter-spacing:0; }
.radio-player .recent-song__cover,.chart-list .track-thumb { background:#152031 url('../icons/station-artwork.svg') center/cover; }
.radio-player .recent-song__cover { border:1px solid #f0ce8755; }
.radio-player .play-button { background:radial-gradient(ellipse at 35% 18%,#fff0b3,transparent 50%),linear-gradient(148deg,#d7a555,#ae762d 58%,#f6d68c); box-shadow:inset 0 2px #ffedb9,inset 0 -3px #684428a6,0 3px 15px #0006; }
.radio-player .section-kicker a { color:var(--champagne); font:13px var(--serif); }
.chart-panel,.artist-stories-panel,.request-tile,.community-strip { border-color:#d7aa61bd; box-shadow:var(--bezel); }
.chart-panel .section-heading,.artist-stories-panel .section-heading,.request-tile .section-heading {
  margin:0; min-height:52px; padding:10px clamp(11px,1.52vw,24px); align-items:center; flex-wrap:nowrap;
  border-bottom:1px solid #d7aa6166;
  background:radial-gradient(ellipse at 12% 0,#d6a05259,transparent 66%),linear-gradient(132deg,#493a2b,#131a25 76%);
  box-shadow:inset 0 1px #ffdd9180;
}
.charts-stage .section-heading h2 { display:flex; align-items:center; gap:9px; margin:0; color:var(--champagne); font:700 clamp(18px,1.73vw,28px)/1.11 var(--serif); letter-spacing:-.025em; }
.charts-stage .section-heading a { font-size:clamp(12px,1.0vw,16px); }
.chart-panel .chart-list { padding:0; margin:0; list-style:none; }
.chart-panel .chart-list:not(:has(li)) { display:none; }
.chart-panel .chart-list li { grid-template-columns:42px 62px minmax(0,1fr) max-content; margin:0; min-height:74px; gap:clamp(8px,1vw,16px); padding:6px clamp(12px,1.42vw,22px); border:0; border-bottom:1px solid #7d552b90; border-radius:0; background:linear-gradient(107deg,#8f612fd9,#e9c17f 37%,#e7bc75 59%,#815329); box-shadow:inset 0 1px #ffe8a770; }
.chart-panel .chart-list li:nth-child(2n) { background:linear-gradient(107deg,#794d2b,#ddaf70 36%,#efd3a2 61%,#7b522f); }
.chart-panel .chart-list .chart-medal,.full-rating .rating-table li[data-rank]:is([data-rank='1'],[data-rank='2'],[data-rank='3']) > b {
  display:grid; place-items:center; width:37px; height:37px; border:1px solid #f9dc92; border-radius:50%; color:#fff0c2; background:radial-gradient(ellipse at 33% 20%,#8d652f,#352214 78%); box-shadow:inset 0 0 0 2px #edc37939,0 3px 8px #29180977; font:700 20px var(--serif);
}
.chart-panel .chart-list .chart-medal--air { border-color:#e0b77899; }
.chart-panel .track-thumb { width:62px; height:58px; border-color:#e8c78a; border-radius:7px; }
.chart-panel .chart-list strong,.chart-panel .chart-list small { display:block; color:#1d150c; font:700 clamp(15px,1.23vw,20px)/1.12 var(--serif); overflow-wrap:anywhere; }
.chart-panel .chart-list small { margin-top:3px; color:#302013; font-size:clamp(13px,1.04vw,17px); font-weight:400; }
.chart-panel .chart-list time,.chart-panel .chart-score { color:#fff0c7; font:700 12px var(--serif); border:1px solid #ffd98e91; padding:5px 7px; border-radius:99px; background:#342416ed; }
.chart-context { padding:4px 13px; color:#f1d6a1; font:12px/1.3 var(--serif); background:#2c2218; }
.chart-panel__empty { display:grid; min-height:225px; place-items:center; padding:20px 24px; background:linear-gradient(115deg,#141d2bd4,#141d2b7a),url('../brand/studio-card.webp') center/cover; }
.chart-panel__empty .broadcast-icon { width:29px; height:29px; }
.chart-panel__empty p { margin:5px auto 8px; max-width:31ch; color:var(--cream); font-size:16px; }
.chart-panel__empty a { color:var(--champagne); font-size:14px; text-decoration:underline; text-underline-offset:3px; }
.artist-stories-grid { height:calc(100% - 52px); min-height:230px; padding:10px; gap:9px; }
.artist-story { min-height:0; background:#0b1725 url('../brand/studio-card.webp') 75% center/cover; border-color:#e2b86a; }
.artist-story > img,.artist-story__cover { object-position:center 28%; }
.artist-story > div:last-child { padding:42px 13px 15px; background:linear-gradient(0deg,#090e16f2,#0a0f18b5 62%,transparent); }
.artist-story h3 { color:#ffedc9; font-size:clamp(18px,1.8vw,27px); font-weight:700; }
.artist-story span { color:#ebd7af; font:italic clamp(12px,1.0vw,16px) var(--serif); }
.artist-story > img { transition:transform .26s ease; }
.artist-story:hover > img { transform:scale(1.035); }
.request-tile { min-height:285px; display:flex; flex-direction:column; justify-content:start; padding:0; background:#0c1522; }
.request-tile::before,.request-tile::after { display:none; content:none; }
.request-tile .section-heading { display:flex; }
.request-tile__body { flex:1; min-height:220px; padding:clamp(13px,1.5vw,25px); background:linear-gradient(90deg,#080f1a55,transparent 83%),url('../brand/studio-card.webp') right center/cover; }
.request-tile__body p { max-width:min(27ch,71%); margin:0 0 22px; color:#ffebc8; font:clamp(14px,1.17vw,18px)/1.36 var(--serif); text-shadow:0 2px 4px #000; }
.request-tile .gold-button { display:inline-flex; align-items:center; gap:9px; max-width:100%; padding:0 15px; font-size:clamp(14px,1.32vw,21px); text-align:center; }
.request-tile .gold-button .broadcast-icon { color:inherit; }
.community-strip { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr) minmax(0,1.3fr) auto; width:calc(100% - 32px); margin:24px auto 0; padding:12px clamp(14px,2vw,32px); min-height:84px; gap:clamp(12px,1.5vw,25px); align-items:center; border:1px solid #d7aa61bd; border-radius:16px; background:radial-gradient(ellipse at 13% 120%,#be8c473b,transparent 46%),linear-gradient(140deg,#303440,#0a1728 55%,#26364a); }
.community-strip h2,.community-strip__count,.community-strip__leaders { display:flex; align-items:center; gap:clamp(8px,1vw,16px); }
.community-strip h2 { margin:0; color:var(--champagne); font:700 clamp(19px,1.8vw,28px)/1.1 var(--serif); letter-spacing:-.028em; }
.community-strip h2 .broadcast-icon { font-size:1.4em; }
.community-strip__count,.community-strip__leaders { min-height:38px; padding-inline-start:clamp(10px,1.5vw,25px); border-inline-start:1px solid #e4bf7a73; color:#f3e2bf; font:clamp(13px,1.12vw,17px)/1.15 var(--serif); }
.community-strip__count b { color:#fff0c9; font-variant-numeric:tabular-nums; }
.community-strip__count .broadcast-icon,.community-strip__leaders .broadcast-icon { font-size:20px; }
.community-strip__leaders { justify-content:space-between; }
.community-faces { display:flex; gap:7px; padding:0; margin:0; list-style:none; }
.community-faces a { display:block; border-radius:100%; transition:transform .18s; }
.community-faces a:hover { transform:translateY(-3px); }
.listener-avatar { position:relative; display:grid; place-items:center; overflow:hidden; border:1px solid #dfba76; border-radius:50%; background:radial-gradient(ellipse at 34% 0,#765b39,#182439 76%); color:#f8dfae; font:700 13px var(--serif); }
.listener-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.community-faces .listener-avatar { width:clamp(33px,3.1vw,49px); height:clamp(33px,3.1vw,49px); }
.community-strip__link { display:grid; place-items:center; width:42px; height:42px; border:1px solid #e9bc71; border-radius:50%; color:#f9dda4; background:#0a1424; font:23px var(--serif); }
.community-strip__link:hover { color:#25190a; background:var(--broadcast-shine); }
.full-rating .rating-table { box-shadow:var(--bezel); padding:6px 16px; }
.full-rating .rating-table li { border-radius:7px; }
.full-rating .rating-table li[data-rank]:is([data-rank='1'],[data-rank='2'],[data-rank='3']) { background:linear-gradient(98deg,#bd8c433d,#b8874616 53%,transparent); }
.full-rating .rating-table .listener-avatar { box-shadow:0 0 0 2px #d5ae6422; }
.news-feature__visual:has(>span) { background:linear-gradient(90deg,#07132166,transparent),url('../brand/studio-card.webp') right center/cover; }
.news-feature__visual > span { color:#f0d79dc9; }
body.is-navigating .floating-header { border-bottom-color:#eac17f; }
@keyframes broadcast-enter { from { opacity:.72; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
.page-content:not([aria-busy='true']) > :first-child { animation:broadcast-enter .24s ease-out; }
@media (min-width:1181px) {
  body[data-page='home'] { --player-w:calc(32vw - 12px); --stage-h:clamp(420px,30vw,498px); }
  body[data-page='home'] .hero-stage { min-height:var(--stage-h); margin:110px calc(var(--player-w) + 23px) 0 0; }
  .hero-station-line { left:clamp(42px,6vw,100px); top:clamp(24px,3.45vw,53px); }
  .hero-station-line > span:first-child { max-width:260px; font-size:clamp(21px,1.8vw,28px); }
  .hero-stage__copy { left:clamp(42px,5.55vw,92px); bottom:clamp(31px,3.18vw,54px); }
  .hero-stage__copy h1 { line-height:1.04; margin:13px 0 6px; }
  .hero-stage__copy h1:not(.is-long-name) { font-size:clamp(39px,4.7vw,76px); }
  .hero-stage__copy h1.is-long-name { display:-webkit-box; -webkit-line-clamp:2; overflow:hidden; font-size:clamp(31px,3.08vw,49px); text-wrap:balance; }
  .hero-track-title { font-size:clamp(22px,2.65vw,43px); margin-bottom:17px; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .hero-stage__copy p,.hero-stage__live { display:none; }
  .hero-stage__copy .gold-button { min-height:50px; padding-inline:28px; font-size:clamp(19px,1.62vw,25px); }
  .hero-stage__portrait { width:70%; }
  body[data-page='home']:not(.is-player-docked) .radio-player { top:110px; right:12px; width:var(--player-w); min-height:calc(var(--stage-h) - 5px); max-height:calc(var(--stage-h) - 5px); grid-template-rows:auto auto auto auto auto 0 minmax(0,1fr); align-content:start; padding:13px clamp(13px,1.4vw,24px) 11px; background:radial-gradient(ellipse at 33% 0,#39445580,transparent 54%),linear-gradient(146deg,#19263a,#090f1e 70%); box-shadow:var(--bezel); }
  body[data-page='home']:not(.is-player-docked) .player-top { grid-template-columns:clamp(104px,9vw,142px) minmax(0,1fr); gap:clamp(12px,1.5vw,24px); margin-bottom:10px; align-items:start; }
  body[data-page='home']:not(.is-player-docked) .player-cover-wrap { width:100%; height:auto; }
  body[data-page='home']:not(.is-player-docked) .radio-player .now-playing strong { font-size:clamp(22px,1.85vw,30px); font-weight:700; margin-top:7px; }
  body[data-page='home']:not(.is-player-docked) .radio-player .now-playing > span:last-child { font-size:clamp(16px,1.34vw,23px); }
  body[data-page='home']:not(.is-player-docked) .radio-player .volume-row { border-left:1px solid #d6af6466; padding-left:10px; }
  body[data-page='home']:not(.is-player-docked) .radio-player .playback-status { min-height:0; margin:3px 0 1px; }
  body[data-page='home']:not(.is-player-docked) .radio-player .vote-reveal { min-height:15px; margin-bottom:4px; }
  body[data-page='home']:not(.is-player-docked) .radio-player .listener-row { grid-row:5; padding:7px 0; }
  body[data-page='home']:not(.is-player-docked) .radio-player .service-icons { grid-row:5; align-self:center; margin:0 0 0 112px; }
  body[data-page='home']:not(.is-player-docked) .radio-player .section-kicker h2 { font-size:clamp(19px,1.45vw,23px); }
  body[data-page='home']:not(.is-player-docked) .radio-player .recent-mini { min-height:0; display:grid; grid-template-rows:auto minmax(0,1fr); padding-top:4px; }
  body[data-page='home']:not(.is-player-docked) .recent-mini__list { max-height:none; }
  body[data-page='home']:not(.is-player-docked) .recent-song { min-height:32px; padding:2px 0; grid-template-columns:34px minmax(0,1fr) auto; }
  body[data-page='home']:not(.is-player-docked) .recent-song__cover { width:32px; height:29px; border-radius:5px; }
  body[data-page='home']:not(.is-player-docked) .recent-song strong,body[data-page='home']:not(.is-player-docked) .recent-song span,body[data-page='home']:not(.is-player-docked) .recent-song time { font:clamp(11px,1.05vw,16px)/1.18 var(--serif); }
  body[data-page='home']:not(.is-player-docked) .recent-song strong { color:#fff0d4; }
  body[data-page='home']:not(.is-player-docked) .recent-song span { color:#e1cfae; }
  body[data-page='home']:not(.is-player-docked) .radio-player .recent-mini .section-kicker { margin:0 0 1px; min-height:0; }
  body[data-page='home']:not(.is-player-docked) .radio-player .recent-song > div { display:flex; flex-direction:row; gap:4px; align-items:baseline; }
  body[data-page='home']:not(.is-player-docked) .radio-player .recent-song > div > strong { flex:0 1 auto; max-width:57%; }
  body[data-page='home']:not(.is-player-docked) .radio-player .recent-song > div > :is(strong,span) { display:block; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  body[data-page='home']:not(.is-player-docked) .radio-player .recent-song > div > span { flex:1 1 auto; }
  body[data-page='home']:not(.is-player-docked) .radio-player .recent-song > div > span::before { content:'— '; }
  .charts-stage { width:calc(100% - 24px); grid-template-columns:1.17fr 1.22fr .92fr; gap:11px; margin-top:20px; }
  .request-tile { grid-column:auto; }
}
@media (min-width:1360px) {
  body[data-page='home']:not(.is-player-docked) .radio-player .player-controls { display:contents; }
  body[data-page='home']:not(.is-player-docked) .radio-player .now-playing { padding-right:81px; }
  body[data-page='home']:not(.is-player-docked) .radio-player .play-button { grid-column:1; grid-row:2; justify-self:center; width:61px; height:61px; }
  body[data-page='home']:not(.is-player-docked) .radio-player .reaction-button { position:absolute; top:82px; width:39px; height:36px; }
  body[data-page='home']:not(.is-player-docked) .radio-player .reaction-button--like { right:67px; }
  body[data-page='home']:not(.is-player-docked) .radio-player .reaction-button--dislike { right:19px; }
}
@media (min-width:861px) {
  .is-player-docked .radio-player .now-playing .player-onair { display:none; }
}
@media (max-width:1180px) {
  .community-strip { grid-template-columns:minmax(0,1fr) auto; gap:10px 18px; }
  .community-strip__count,.community-strip__leaders { grid-column:1; border:0; padding:0; justify-content:flex-start; }
  .community-strip__link { grid-column:2; grid-row:1/span 3; }
}
@media (min-width:861px) and (max-width:1180px) {
  .request-tile { min-height:205px; }
  .request-tile__body { min-height:0; background-position:right 48%; }
}
@media (max-width:860px) {
  .floating-header .header-brand img { width:clamp(117px,34vw,164px); }
  .floating-header .header-brand { flex-basis:auto; }
  .login-button svg { display:none; }
  .hero-stage { min-height:clamp(500px,84svh,600px); }
  .hero-stage::after { background:linear-gradient(0deg,#081321 3%,#0b1625ee 20%,#0a152669 49%,#0a152614 70%); }
  .hero-stage__portrait:not(.has-image),.hero-stage__portrait[data-background-url$='/station-artwork.svg'] { background-position:74% center; }
  .hero-stage__copy { bottom:48px; }
  .hero-stage__live { bottom:17px; }
  body:not(.is-mobile-player-open) .radio-player .now-playing .player-onair { display:none; }
  .is-mobile-player-open .radio-player .now-playing .player-onair { display:inline-flex; }
  .charts-stage .section-heading h2 { font-size:clamp(18px,5.35vw,24px); }
  .charts-stage .section-heading a { font-size:12px; }
  .chart-panel .chart-list li { grid-template-columns:34px 46px minmax(0,1fr) max-content; min-height:63px; padding:6px 10px; }
  .chart-panel .chart-list .chart-medal { width:29px; height:29px; font-size:16px; }
  .chart-panel .chart-list .track-thumb { width:46px; height:45px; }
  .artist-stories-grid { min-height:230px; height:auto; }
  .artist-story { min-height:209px; }
  .request-tile { min-height:252px; }
  .request-tile__body { min-height:200px; }
  .request-tile__body p { max-width:min(22ch,71%); }
  .community-strip { width:calc(100% - 28px); }
  .community-strip__leaders { flex-wrap:wrap; }
  .full-rating .rating-table li[data-rank] > b { width:auto; height:auto; min-height:26px; font-size:17px; }
}
@media (prefers-reduced-motion:reduce) {
  .artist-story > img,.community-faces a { transition:none; }
  .page-content:not([aria-busy='true']) > :first-child { animation:none; }
}
