@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

:root{
  --bg:#050605;
  --panel:#080908;
  --text:#deddd5;
  --muted:#85867f;
  --line:#2c2e2a;
  --green:#95a98d;
  --danger:#a38989;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Space Mono",monospace;min-height:100vh}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.shell{min-height:100vh}

.header{height:126px;margin:0 2.4vw;padding:0 2.2vw;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:30px}
.brand{width:330px;font-size:25px;letter-spacing:.14em;line-height:1}
.brand small{display:block;font-size:17px;letter-spacing:.44em;margin-top:9px}
.header nav{display:flex;gap:52px;margin-left:auto}
.header nav a{font-size:12px;color:var(--muted);letter-spacing:.08em;padding:40px 0 28px;border-bottom:1px solid transparent}
.header nav a:hover,.header nav a.active{color:var(--text);border-bottom-color:var(--text)}
.listeners{width:150px;margin-left:28px;display:grid;grid-template-columns:42px 1fr;align-items:center}
.quick-live-play{grid-row:1/3;width:30px;height:30px;padding:0;border:1px solid #60615b;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center}
.quick-live-play:hover{border-color:#b8b9b2}
.quick-live-play::before{content:"";display:block;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:10px solid var(--green);margin-left:2px}
.quick-live-play.is-live-playing::before{width:10px;height:14px;border:0;margin:0;background:linear-gradient(to right,var(--green) 0 3px,transparent 3px 7px,var(--green) 7px 10px)}
.listeners b{font-size:15px;font-weight:400}.listeners span{font-size:10px;color:#8e8f88;letter-spacing:.12em}

#view{margin:0 2.4vw;min-height:580px;padding-bottom:120px}

/* HOME */
.home-hero{min-height:540px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:46% 54%;position:relative;overflow:hidden}
.hero-copy{padding:80px 0 55px 5vw;z-index:2}
.live{font-size:13px;letter-spacing:.12em;color:var(--green)}
.live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-right:10px}
.live span{color:#92938c;margin-left:25px}
.home-hero h1{font-size:31px;font-weight:400;line-height:1.5;letter-spacing:.24em;margin:34px 0 39px}
.now-block label{display:block;font-size:12px;color:#aaa9a1;margin-bottom:17px}
.now-block strong{display:block;font-size:22px;letter-spacing:.13em;font-weight:400}
.now-block span{display:block;font-size:15px;color:#999a93;margin-top:8px}
.moon-wrap{position:absolute;right:-2%;top:0;width:61%;height:535px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.moon-wrap:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 56% 49%,transparent 0 31%,rgba(0,0,0,.12) 49%,var(--bg) 74%)}
.moon-wrap img{width:75%;max-width:720px;opacity:.82;mix-blend-mode:screen;filter:grayscale(1) contrast(1.18)}

.home-grid{display:grid;grid-template-columns:1.15fr .85fr 1.15fr;border-bottom:1px solid var(--line)}
.home-grid>div{padding:32px 30px;min-height:270px;border-right:1px solid var(--line)}
.home-grid>div:last-child{border-right:0}
.home-grid h3{font-size:13px;font-weight:400;letter-spacing:.15em;margin:0 0 24px}
.schedule-mini>div{display:grid;grid-template-columns:72px 1fr 70px;gap:10px;margin-bottom:14px;font-size:11px}
.schedule-mini time,.schedule-mini em{color:#a5a59e;font-style:normal}
.schedule-mini p{margin:0}.schedule-mini b{font-weight:400}.schedule-mini p span{display:block;color:#85867f;margin-top:4px}
.about{color:#9c9d96;font-size:13px;line-height:1.75;max-width:340px}
.history div{display:flex;justify-content:space-between;gap:15px;font-size:11px;margin-bottom:18px;color:#aaa9a1}
.history span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history time{white-space:nowrap}
.more{display:block;margin-top:28px;font-size:10px;color:#a0a19a;letter-spacing:.08em}

/* GENERAL PAGES */
.inner{max-width:1300px;margin:auto;padding:70px 5vw 45px}
.page-kicker{font-size:11px;color:var(--green);letter-spacing:.15em}
.page-title{font-size:31px;font-weight:400;letter-spacing:.18em;line-height:1.45;margin:34px 0 38px}
.page-lead{max-width:680px;color:#8c8d86;font-size:13px;line-height:1.75;margin-top:0;margin-bottom:42px}

.schedule-list,.artist-list,.trans-list{border-top:1px solid var(--line)}
.schedule-list article{display:grid;grid-template-columns:150px 1fr 135px;padding:30px 0;border-bottom:1px solid var(--line);align-items:center;gap:16px}
.schedule-list time,.schedule-list article>span,.artist-list article>span,.trans-list article>span{color:#7b7c75;font-size:11px}
.schedule-list h2,.artist-list h2,.trans-list h2{font-size:22px;font-weight:400;letter-spacing:.08em;margin:0 0 10px}
.schedule-list p,.artist-list p,.trans-list p{font-size:12px;color:#8d8e87;margin:0;line-height:1.6}
.schedule-list article>span{text-align:right}
.schedule-list article.now{background:linear-gradient(90deg,rgba(149,169,141,.08),transparent 70%)}
.schedule-list article.now h2:after{content:none}

.artist-list article{display:grid;grid-template-columns:100px 1fr;padding:45px 0;border-bottom:1px solid var(--line)}
.artist-list h2{font-size:22px;margin-bottom:12px}
.artist-links{display:flex;gap:34px;margin-top:22px}
.artist-links a{font-size:10px;color:#aaa9a1;border-bottom:1px solid #555750;padding-bottom:5px}

.trans-list article{display:grid;grid-template-columns:80px 1fr 80px 104px;gap:20px;align-items:center;padding:35px 0;border-bottom:1px solid var(--line)}
.trans-list article>b{font-weight:400;color:#8d8e87;font-size:11px;text-align:right}

.transmission-info{display:flex;align-items:center;gap:18px;min-width:0}
.transmission-cover{width:64px;height:64px;flex:0 0 64px;object-fit:cover;background:#111;border:1px solid var(--line)}
.transmission-cover-empty{display:block}
.transmission-copy{min-width:0}
.transmission-copy h2{overflow-wrap:anywhere}
.archive-controls{display:flex;gap:8px;justify-content:flex-end}
.archive-play,.archive-stop{width:46px;height:46px;border:1px solid #60615b;background:none;color:var(--text);border-radius:0;cursor:pointer;font:inherit;line-height:1}
.archive-play:hover,.archive-stop:hover,.archive-play.is-playing{background:var(--text);color:var(--bg)}
.archive-stop{font-size:13px}
.archive-stop.is-active{border-color:#8d8e87}
.archive-play{position:relative;font-size:0}
.archive-play::before{content:"";display:block;position:absolute;left:50%;top:50%;transform:translate(-42%,-50%);width:0;height:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:12px solid currentColor}
.archive-play.is-playing::before{width:14px;height:18px;transform:translate(-50%,-50%);border:0;background:linear-gradient(to right,currentColor 0 4px,transparent 4px 10px,currentColor 10px 14px)}


.contact-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}
.contact-grid>div{padding:45px 0;min-height:260px;border-bottom:1px solid var(--line)}
.contact-grid>div+div{padding-left:55px;border-left:1px solid var(--line)}
.contact-grid h2{font-size:13px;font-weight:400;letter-spacing:.15em}
.contact-grid p{font-size:13px;color:#8d8e87;line-height:1.8}


/* UP TO 128-BAND PLAYER SPECTRUM — real Web Audio analysis */
.audio-visualizer{height:48px;flex:1 1 auto;min-width:120px;display:flex;align-items:center;overflow:hidden;border-left:1px solid var(--line);border-right:1px solid var(--line);padding:0 14px;box-sizing:border-box}
.audio-visualizer canvas{display:block;width:100%;height:40px}

/* SIMPLE PERSISTENT RADIO PLAYER */
.persistent-player{position:fixed;left:2.4vw;right:2.4vw;bottom:0;z-index:50;min-height:88px;background:rgba(5,6,5,.97);backdrop-filter:blur(10px);border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:30px;padding:12px 2.2vw}
.simple-now{min-width:180px;flex:0 1 clamp(220px,28vw,420px)}
.mini-label{display:block;font-size:9px;color:#7c7d76;letter-spacing:.13em;margin-bottom:7px}
.simple-now strong{display:block;font-size:14px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.simple-now>span:last-child{display:block;margin-top:4px;font-size:10px;color:#85867f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.simple-controls{display:flex;align-items:center;gap:18px}
.main-play,.stop-button{
  width:56px;height:56px;padding:0;border:1px solid #666861;border-radius:0;
  background:transparent;color:var(--text);cursor:pointer;
  display:flex;align-items:center;justify-content:center;font-size:0;
}
.main-play:hover,.stop-button:hover{border-color:#b8b9b2}
.main-play::before{content:"";display:block}
.main-play.is-playing::before{
  width:16px;height:22px;
  background:linear-gradient(to right,#d9d7cf 0 5px,transparent 5px 11px,#d9d7cf 11px 16px)
}
.main-play:not(.is-playing)::before{
  width:0;height:0;border-top:9px solid transparent;border-bottom:9px solid transparent;
  border-left:14px solid #d9d7cf;margin-left:3px
}
.stop-button::before{content:"";display:block;width:10px;height:10px;background:#b9bab4}
.small-control{border:0;background:none;color:#aaa9a1;cursor:pointer;font-size:9px}
.simple-controls input{width:90px;accent-color:#d8d5cc}
.player-mode{min-width:66px;font-size:8px;letter-spacing:.12em;color:#777871}
.player-mode.playing{color:var(--green)}
.player-mode.paused{color:#aaa9a1}

footer{margin:0 2.4vw 88px;padding:26px 2.2vw;display:grid;grid-template-columns:1fr 1fr 1fr;font-size:11px;letter-spacing:.1em;color:#92938c;border-top:1px solid var(--line)}
footer span{display:block;margin-top:8px;color:#666861}
.social{display:flex;gap:42px;justify-content:center;align-items:center}.social a{font-size:11px}
.footer-right{text-align:right;line-height:2}.footer-right small{display:block;font-size:10px}

code{color:#aaa9a1;background:#0a0b0a;padding:2px 5px}

@media(max-width:1000px){
  .header{height:auto;padding:25px 4vw;flex-wrap:wrap}.brand{width:auto}.header nav{order:3;width:100%;justify-content:space-between;gap:12px;margin:0}.header nav a{padding:10px 0}.listeners{margin-left:auto}
  .home-hero{grid-template-columns:1fr;min-height:720px}.hero-copy{padding:65px 5vw}.moon-wrap{width:100%;height:430px;top:300px;right:0;opacity:.72}
  .home-grid{grid-template-columns:1fr}.home-grid>div{border-right:0;border-bottom:1px solid var(--line)}.home-grid>div:last-child{border-bottom:0}
  .persistent-player{left:2.4vw;right:2.4vw}.audio-visualizer{flex:1 1 auto;min-width:100px}.simple-now{flex-basis:clamp(180px,24vw,320px)}.simple-controls{flex-shrink:0}.player-mode{display:none}
  footer{grid-template-columns:1fr;gap:20px}.social{justify-content:flex-start}.footer-right{text-align:left}
}
@media(max-width:650px){
  .header nav{overflow-x:auto;justify-content:flex-start}.header nav a{font-size:10px;white-space:nowrap}.listeners{display:none}
  .home-hero h1{font-size:22px}.moon-wrap{top:335px;height:350px}
  .schedule-list article{grid-template-columns:65px 1fr}.schedule-list article>span{display:none}
  .artist-list article{grid-template-columns:45px 1fr}.artist-links{flex-wrap:wrap;gap:18px}
  .trans-list article{grid-template-columns:40px 1fr 104px}.trans-list article>b{display:none}.archive-controls{grid-column:3}
  .contact-grid{grid-template-columns:1fr}.contact-grid>div+div{padding-left:0;border-left:0}
  .persistent-player{left:0;right:0;padding:10px 14px;gap:12px}.simple-now{min-width:120px;flex:0 1 42vw}.audio-visualizer{flex:1 1 auto;min-width:54px;height:42px;padding:0 8px}.audio-visualizer canvas{height:34px}.simple-controls{gap:9px}.simple-controls input{display:none}.main-play,.stop-button{width:48px;height:48px}
  footer{margin-left:0;margin-right:0;padding-left:4vw;padding-right:4vw}
}


/* ARTISTS — loaded from data/artists.json */
.artist-list .artist-card{
  display:grid;
  grid-template-columns:60px 180px minmax(0,1fr);
  gap:34px;
  align-items:start;
  padding:34px 0;
  border-bottom:1px solid var(--line);
}
.artist-photo{
  display:block;
  width:180px;
  aspect-ratio:1/1;
  object-fit:cover;
  background:#000;
  border:1px solid #20211f;
}
.artist-info{padding-top:2px}
.artist-info h2{margin:0 0 12px}
.artist-info p{max-width:620px}
.artists-loading{
  padding:40px 0;
  color:#777871;
  font-size:11px;
  letter-spacing:.12em;
}
@media (max-width:700px){
  .artist-list .artist-card{
    grid-template-columns:38px 100px minmax(0,1fr);
    gap:16px;
    padding:26px 0;
  }
  .artist-photo{width:100px}
}
@media (max-width:480px){
  .artist-list .artist-card{
    grid-template-columns:32px 1fr;
  }
  .artist-photo{
    width:100%;
    max-width:160px;
  }
  .artist-info{
    grid-column:2;
  }

  .transmission-cover{width:52px;height:52px;flex-basis:52px}
  .transmission-info{gap:12px}
}

/* ARTISTS ADMIN — local management UI */
.artists-admin-link{display:inline-block;margin-top:28px}
.artist-transmissions-link{color:var(--text)!important;border-bottom:1px solid #555751;padding-bottom:2px}
.artist-admin-form{margin:34px 0 50px;padding:28px;border:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:20px 28px;background:#070807}
.artist-admin-form label{display:flex;flex-direction:column;gap:9px;font-size:9px;letter-spacing:.12em;color:var(--muted)}
.artist-admin-form input,.artist-admin-form textarea{width:100%;border:1px solid var(--line);background:#050605;color:var(--text);padding:12px;outline:none}
.artist-admin-form input:focus,.artist-admin-form textarea:focus{border-color:#777970}
.artist-admin-form .wide{grid-column:1/-1}
.artist-admin-photo-preview{display:flex;align-items:end}
.artist-admin-photo-preview img{width:96px;height:96px;object-fit:cover;border:1px solid var(--line);background:#000}
.artist-admin-actions{display:flex;align-items:center;gap:15px}
.artist-admin-actions button,.artist-admin-row button{border:1px solid #555751;background:transparent;color:var(--text);padding:10px 14px;cursor:pointer;font-size:9px;letter-spacing:.1em}
.artist-admin-actions button:hover,.artist-admin-row button:hover{border-color:#bbbcb4}
#artistAdminStatus{font-size:9px;color:var(--muted)}
.artist-admin-list{border-top:1px solid var(--line);margin-bottom:35px}
.artist-admin-row{display:grid;grid-template-columns:50px 64px minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.artist-admin-row img{width:64px;height:64px;object-fit:cover;background:#000;border:1px solid var(--line)}
.artist-admin-row strong{display:block;font-size:13px}.artist-admin-row small{display:block;color:var(--muted);font-size:9px;margin-top:5px;max-width:650px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){.artist-admin-form{grid-template-columns:1fr}.artist-admin-form .wide{grid-column:auto}.artist-admin-row{grid-template-columns:34px 52px minmax(0,1fr)}.artist-admin-row img{width:52px;height:52px}.artist-admin-row button{grid-column:auto;padding:8px}.artist-admin-row button:first-of-type{grid-column:2}.artist-admin-row button:last-of-type{grid-column:3}}


/* v28: upcoming Transmission media metadata */
.schedule-media { display:flex; align-items:center; gap:14px; min-width:0; }
.schedule-cover, .schedule-mini-cover {
  display:block; width:54px; height:54px; flex:0 0 54px;
  object-fit:cover; border:1px solid rgba(255,255,255,.12); background:#101010;
}
.schedule-cover-empty { background:linear-gradient(135deg,#111,#1a1a1a); }
.schedule-title { margin:3px 0 0; }
.schedule-artist { margin:2px 0 0; opacity:.62; font-size:.82em; }
.schedule-mini-row { align-items:center !important; }
.schedule-mini-row .schedule-mini-cover { width:48px; height:48px; flex-basis:48px; }
.schedule-mini-title { display:block; margin-top:3px; }
.schedule-mini-artist { display:block; margin-top:2px; opacity:.58; font-size:.82em; }
@media (max-width:720px) {
  .schedule-cover { width:46px; height:46px; flex-basis:46px; }
  .schedule-mini-row .schedule-mini-cover { width:42px; height:42px; flex-basis:42px; }
}


/* v29 HOME lower panels: NOW PLAYING -> UP NEXT -> ABOUT */
.home-grid{grid-template-columns:1fr 1.35fr .9fr}
.home-grid>div{min-height:390px}
.home-history-panel .history{max-height:310px;overflow:hidden}
.history-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px!important}
.history-row>span{min-width:0}
.history-row b{display:block;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:uppercase}
.history-row small{display:block;margin-top:3px;font-size:9px;letter-spacing:.08em;color:#777970}
.history-row.is-current b,.history-row.is-current time{color:#d8d8d1}
.home-upnext-panel{padding-left:34px!important;padding-right:34px!important}
.upnext-card{display:block;border-bottom:1px solid rgba(255,255,255,.08);padding:0 0 20px;margin:0 0 20px}
.upnext-card:last-child{border-bottom:0}
.upnext-date{display:block;margin-bottom:10px;color:#a5a59e;font-size:11px;letter-spacing:.04em}
.upnext-body{display:grid;grid-template-columns:92px minmax(0,1fr);gap:18px;align-items:start}
.upnext-card .schedule-mini-cover{width:92px;height:92px;object-fit:cover;flex:none}
.upnext-info{min-width:0}
.upnext-info b{display:block;font-size:13px;font-weight:400;margin-bottom:7px}
.upnext-info span{display:block;white-space:normal;overflow-wrap:anywhere}
.upnext-info .schedule-mini-title{font-size:12px;line-height:1.45;color:#b8b8b1;margin-top:0}
.upnext-info .schedule-mini-artist{font-size:11px;line-height:1.4;color:#777970;margin-top:6px}
.upnext-info em{display:block;font-style:normal;color:#777970;font-size:10px;margin-top:8px}
@media(max-width:720px){
  .home-grid{grid-template-columns:1fr}
  .home-grid>div{min-height:auto}
  .upnext-body{grid-template-columns:82px minmax(0,1fr)}
  .upnext-card .schedule-mini-cover{width:82px;height:82px}
}

/* v30 — more compact TRANSMISSIONS archive rows */
.trans-list article{
  grid-template-columns:64px minmax(0,1fr) 70px 90px;
  gap:16px;
  padding:20px 0;
}
.trans-list article>b{font-size:10px}
.transmission-info{gap:14px}
.transmission-cover{
  width:52px;
  height:52px;
  flex:0 0 52px;
}
.trans-list h2{
  font-size:17px;
  line-height:1.35;
  margin:0 0 5px;
  letter-spacing:.055em;
}
.trans-list p{
  font-size:11px;
  line-height:1.4;
}
.archive-controls{gap:6px}
.archive-play,.archive-stop{
  width:38px;
  height:38px;
}
.archive-play::before{
  border-top-width:6px;
  border-bottom-width:6px;
  border-left-width:9px;
}
.archive-play.is-playing::before{
  width:12px;
  height:15px;
  background:linear-gradient(to right,currentColor 0 3px,transparent 3px 9px,currentColor 9px 12px);
}
@media(max-width:650px){
  .trans-list article{grid-template-columns:34px minmax(0,1fr) 84px;gap:10px;padding:16px 0}
  .transmission-cover{width:44px;height:44px;flex-basis:44px}
  .trans-list h2{font-size:15px}
  .archive-controls{grid-column:3}
  .archive-play,.archive-stop{width:36px;height:36px}
}


/* v31 — extra-dense TRANSMISSIONS archive rows */
.trans-list article{
  grid-template-columns:46px minmax(0,1fr) 58px 76px;
  gap:11px;
  padding:12px 0;
}
.trans-list article>b{font-size:9px}
.transmission-info{gap:10px}
.transmission-cover{
  width:42px;
  height:42px;
  flex:0 0 42px;
}
.trans-list h2{
  font-size:14px;
  line-height:1.22;
  margin:0 0 3px;
  letter-spacing:.035em;
}
.trans-list p{
  font-size:10px;
  line-height:1.25;
}
.archive-controls{gap:5px}
.archive-play,.archive-stop{
  width:32px;
  height:32px;
}
.archive-play::before{
  border-top-width:5px;
  border-bottom-width:5px;
  border-left-width:8px;
}
.archive-play.is-playing::before{
  width:10px;
  height:13px;
  background:linear-gradient(to right,currentColor 0 3px,transparent 3px 7px,currentColor 7px 10px);
}

/* NOW PLAYING: current + two future tracks + 12 recent past tracks */
.home-history-panel .history{
  max-height:330px;
  overflow:hidden;
}
.history-row{
  margin-bottom:7px!important;
  gap:10px;
  line-height:1.15;
}
.history-row b{
  font-size:10px;
}
.history-row time{
  font-size:9px;
}
.history-row small{
  margin-top:2px;
  font-size:8px;
}
.history-row.is-upcoming b{
  color:#b9b9b1;
}
.history-row.is-upcoming small,
.history-row.is-upcoming time{
  color:#8fa58c;
}

@media(max-width:650px){
  .trans-list article{
    grid-template-columns:28px minmax(0,1fr) 72px;
    gap:8px;
    padding:10px 0;
  }
  .transmission-cover{width:38px;height:38px;flex-basis:38px}
  .trans-list h2{font-size:13px}
  .archive-play,.archive-stop{width:30px;height:30px}
}


/* v32: fit NOW + NEXT 1 + NEXT 2 + 12 past rows */
.home-history-panel .history{
  max-height:390px;
}


/* v35 — HOME: three equal columns; content must wrap, never widen a column */
.home-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.home-grid > section,
.home-grid > div,
.home-grid article{
  min-width:0;
  max-width:100%;
  overflow:hidden;
}
.home-grid h1,
.home-grid h2,
.home-grid h3,
.home-grid p,
.home-grid span,
.home-grid b,
.home-grid small,
.home-grid time,
.home-grid a{
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.home-grid .history-row,
.home-grid .upnext-card,
.home-grid .upnext-body,
.home-grid .upnext-info{
  min-width:0;
  max-width:100%;
}
.home-grid .history-row > span,
.home-grid .upnext-info{
  min-width:0;
  overflow:hidden;
}
.home-grid .history-row b,
.home-grid .upnext-info b,
.home-grid .upnext-info strong{
  white-space:normal!important;
  overflow-wrap:anywhere;
  word-break:break-word;
}

@media(max-width:800px){
  .home-grid{
    grid-template-columns:1fr!important;
  }
}

/* v36 — supplied artwork: slow 4-second crossfade every 15 seconds */
.moon-slideshow{isolation:isolate}
.moon-slideshow .moon-slide{
  position:absolute;left:50%;top:50%;width:75%;max-width:720px;height:auto;
  transform:translate(-50%,-50%);opacity:0;mix-blend-mode:screen;
  filter:grayscale(1) contrast(1.18);transition:opacity 4s ease-in-out;will-change:opacity
}
.moon-slideshow .moon-slide.is-visible{opacity:.82}

/* v36 — NOW green, NEXT gray */
.history-row.is-current b,.history-row.is-current small,.history-row.is-current time{color:#8fa58c!important}
.history-row.is-upcoming b,.history-row.is-upcoming small,.history-row.is-upcoming time{color:#d8d8d1!important}


/* v38 — layered/double-exposure artwork transition */
.moon-slideshow .moon-slide{
  mix-blend-mode:normal!important;
  opacity:0!important;
  transition:opacity 3.4s ease-in-out!important;
}
.moon-slideshow .moon-slide.is-visible{
  opacity:.84!important;
}
.moon-slideshow .moon-slide.is-top{
  z-index:2;
}


/* v39 — one continuous 15-second dissolve; no pause between artworks */
.moon-slideshow .moon-slide{
  transition:opacity 15s linear!important;
  mix-blend-mode:normal!important;
}
.moon-slideshow .moon-slide.is-visible{opacity:.84!important}


/* v40 — moon1 → moon2 → moon3 → moon4 → moon5, continuous 15s dissolve */
.moon-slideshow .moon-slide{
  opacity:0!important;
  transition:
    opacity 15s cubic-bezier(.45,0,.55,1),
    filter 15s cubic-bezier(.45,0,.55,1)!important;
  filter:brightness(.94) contrast(.99)!important;
  mix-blend-mode:normal!important;
}
.moon-slideshow .moon-slide.is-visible{
  opacity:.84!important;
  filter:brightness(1) contrast(1)!important;
}


/* v43 — Selenic telemetry receiver */
#spectrum{
  opacity:.92;
}

/* v47 — radial receiver left, v45 linear receiver right */
.audio-visualizer.dual-spectrum{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:4px!important;
  width:100%!important;
  height:48px!important;
}
.audio-visualizer.dual-spectrum canvas{
  display:block!important;
  width:100%!important;
  height:48px!important;
  min-width:0!important;
}

/* v50 — optically equal Triple Moon glyphs */
.triple-moon{
  display:inline-flex;
  align-items:center;
  gap:.32em;
  line-height:1;
}
.triple-moon > span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1em;
  height:1em;
}
.triple-moon .triple-moon-center{
  font-size:.78em;
}

/* v51 — exact Triple Moon sizes: 12px / 16px / 12px */
.triple-moon{
  display:inline-flex;
  align-items:center;
  gap:.32em;
  line-height:1;
}
.triple-moon > span:nth-child(1),
.triple-moon > span:nth-child(3){
  font-size:12px!important;
}
.triple-moon .triple-moon-center{
  font-size:16px!important;
}

/* v52 — Triple Moon: center 18px */
.triple-moon > span:nth-child(1),
.triple-moon > span:nth-child(3){
  font-size:12px!important;
}
.triple-moon .triple-moon-center{
  font-size:18px!important;
}

/* v54 — three-part Selenic instrumentation */
.audio-visualizer.dual-spectrum{
  grid-template-columns:1fr 1fr 1fr!important;
  gap:4px!important;
}
.audio-visualizer.dual-spectrum #stereoFieldCanvas{
  display:block!important;
  width:100%!important;
  height:48px!important;
  min-width:0!important;
}
@media (max-width:720px){
  .audio-visualizer.dual-spectrum{
    grid-template-columns:1fr 1fr 1fr!important;
  }
}

/* v55 — simplified Selenic stereo width receiver */
#stereoFieldCanvas{
  opacity:.94;
}

/* v56 — third instrument: Selenic Signal Burst */
#stereoFieldCanvas{
  opacity:.96;
}

/* v59 — bottom receiver telemetry */
.system-telemetry{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:7px 12px 5px;
  box-sizing:border-box;
  font-family:monospace;
  font-size:8px;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
  white-space:nowrap;
  color:rgba(220,220,214,.38);
  border-top:1px solid rgba(220,220,214,.055);
  user-select:none;
}
.system-telemetry .telemetry-sep{
  color:rgba(220,220,214,.18);
}
#telemetrySignal{
  color:rgba(220,220,214,.55);
}
#telemetrySignal.signal-reconnecting{
  opacity:.55;
}
@media (max-width:520px){
  .system-telemetry{
    gap:5px;
    padding-left:6px;
    padding-right:6px;
    font-size:7px;
    letter-spacing:.07em;
  }
}

/* v60 — subtle LIVE signal breathing */
.live-dot,
.status-dot,
.live-indicator .dot,
.live-status .dot{
  animation:selenic-live-breathe 3.8s ease-in-out infinite;
  transform-origin:center;
}
@keyframes selenic-live-breathe{
  0%,100%{
    opacity:.62;
    transform:scale(.94);
    filter:brightness(.92);
  }
  50%{
    opacity:1;
    transform:scale(1.08);
    filter:brightness(1.16);
  }
}
@media (prefers-reduced-motion:reduce){
  .live-dot,
  .status-dot,
  .live-indicator .dot,
  .live-status .dot{
    animation:none!important;
  }
}

/* v61 — FIX: actual HOME LIVE dot is .live i */
.live i{
  animation:selenic-live-breathe 3.8s ease-in-out infinite!important;
  transform-origin:center center;
  will-change:transform,opacity,filter;
}
@media (prefers-reduced-motion:reduce){
  .live i{animation:none!important;}
}

/* v62 — subtle separators between the three visualizers */
.audio-visualizer.dual-spectrum > canvas + canvas{
  border-left:1px solid rgba(220,220,214,.12);
  padding-left:10px;
  box-sizing:border-box;
}

/* v63 — readability pass: enlarge small interface typography */
body{
  font-size:15px;
}
.eyebrow,
.kicker,
.meta,
.label,
.live,
.listeners,
.nav a,
footer,
.footer,
.system-telemetry,
.archive-meta,
.transmission-meta,
.schedule-meta,
.artist-meta,
.player-meta,
.player-status,
.now-meta,
.up-next-meta,
.about-meta{
  font-size:max(10px, .72rem)!important;
  line-height:1.45;
}
.system-telemetry{
  font-size:9px!important;
}
@media (max-width:520px){
  .system-telemetry{
    font-size:8px!important;
  }
}

/* v64 — NOW PLAYING / UP NEXT body copy: ABOUT size, Courier face */
.now-playing p,
.now-playing .track-title,
.now-playing .track-artist,
.now-playing .now-meta,
.up-next p,
.up-next .track-title,
.up-next .track-artist,
.up-next .up-next-meta,
#nowPlayingPanel p,
#upNextPanel p{
  font-family:"Courier New", Courier, monospace!important;
  font-size:inherit;
  line-height:inherit;
}

/* v65 */
.now-playing,.up-next,.about,#nowPlayingPanel,#upNextPanel{font-family:monospace!important}
.now-playing *,.up-next *,.about *,#nowPlayingPanel *,#upNextPanel *{font-family:inherit!important}
.audio-visualizer.dual-spectrum{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr)!important}

/* v66 */
.now-playing,.now-playing *,.up-next,.up-next *,.about,.about *,#nowPlayingPanel,#nowPlayingPanel *,#upNextPanel,#upNextPanel *{font-family:monospace!important}
.up-next img,#upNextPanel img,.schedule img,.schedule-item img,.schedule-card img,.transmission-row img,.transmission-card img,.transmissions img,.archive-row img,.archive-item img,.archive-cover,.transmission-cover,.schedule-cover{width:96px!important;height:96px!important;min-width:96px!important;flex:0 0 96px!important;object-fit:cover!important}
.transmission-row,.transmission-card,.archive-row,.archive-item,.schedule-item,.schedule-card{min-height:108px}
@media(max-width:620px){.up-next img,#upNextPanel img,.schedule img,.schedule-item img,.schedule-card img,.transmission-row img,.transmission-card img,.transmissions img,.archive-row img,.archive-item img,.archive-cover,.transmission-cover,.schedule-cover{width:78px!important;height:78px!important;min-width:78px!important;flex-basis:78px!important}}

/* v67 — larger covers */
.schedule-mini-cover,
.schedule-cover,
.transmission-cover{
  width:128px!important;
  height:128px!important;
  min-width:128px!important;
  flex:0 0 128px!important;
  object-fit:cover!important;
}
.schedule-list article,
.trans-list article{
  min-height:140px;
}
@media(max-width:620px){
  .schedule-mini-cover,
  .schedule-cover,
  .transmission-cover{
    width:96px!important;
    height:96px!important;
    min-width:96px!important;
    flex-basis:96px!important;
  }
}

/* v71 — UP NEXT: keep copy clear of the enlarged artwork */
.up-next .schedule-mini,
#upNextPanel .schedule-mini{
  display:grid!important;
  grid-template-columns:128px minmax(0,1fr)!important;
  column-gap:18px!important;
  align-items:start!important;
}
.up-next .schedule-mini-cover,
#upNextPanel .schedule-mini-cover{
  grid-column:1!important;
  width:128px!important;
  height:128px!important;
  min-width:128px!important;
  margin:0!important;
}
.up-next .schedule-mini > :not(.schedule-mini-cover),
#upNextPanel .schedule-mini > :not(.schedule-mini-cover){
  grid-column:2!important;
  min-width:0!important;
  overflow-wrap:anywhere;
}
@media(max-width:620px){
  .up-next .schedule-mini,
  #upNextPanel .schedule-mini{
    grid-template-columns:96px minmax(0,1fr)!important;
    column-gap:14px!important;
  }
  .up-next .schedule-mini-cover,
  #upNextPanel .schedule-mini-cover{
    width:96px!important;
    height:96px!important;
    min-width:96px!important;
  }
}

/* v72 — UP NEXT enlarged cover: reserve real physical space for artwork.
   Previous grid override missed the actual dynamically generated structure. */
#upNextPanel,
.up-next{
  overflow:hidden;
}
#upNextPanel .schedule-mini,
.up-next .schedule-mini{
  position:relative!important;
  display:block!important;
  min-height:128px!important;
  padding-left:146px!important;
  box-sizing:border-box!important;
}
#upNextPanel .schedule-mini-cover,
.up-next .schedule-mini-cover{
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:128px!important;
  height:128px!important;
  min-width:128px!important;
  max-width:128px!important;
  margin:0!important;
}
#upNextPanel .schedule-mini > *,
.up-next .schedule-mini > *{
  max-width:100%!important;
  box-sizing:border-box!important;
}
#upNextPanel .schedule-mini > .schedule-mini-cover,
.up-next .schedule-mini > .schedule-mini-cover{
  max-width:128px!important;
}
@media(max-width:620px){
  #upNextPanel .schedule-mini,
  .up-next .schedule-mini{
    min-height:96px!important;
    padding-left:110px!important;
  }
  #upNextPanel .schedule-mini-cover,
  .up-next .schedule-mini-cover{
    width:96px!important;
    height:96px!important;
    min-width:96px!important;
    max-width:96px!important;
  }
}

/* v73 — exact UP NEXT DOM fix:
   .upnext-card > .upnext-body > .schedule-mini-cover + .upnext-info */
.upnext-card .upnext-body{
  display:grid!important;
  grid-template-columns:128px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  min-width:0!important;
  min-height:128px!important;
  padding-left:0!important;
  position:relative!important;
}
.upnext-card .upnext-body .schedule-mini-cover{
  position:static!important;
  grid-column:1!important;
  grid-row:1!important;
  width:128px!important;
  height:128px!important;
  min-width:128px!important;
  max-width:128px!important;
  margin:0!important;
  object-fit:cover!important;
}
.upnext-card .upnext-body .upnext-info{
  grid-column:2!important;
  grid-row:1!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
  overflow:hidden!important;
}
.upnext-card .upnext-info > *{
  display:block!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
@media(max-width:620px){
  .upnext-card .upnext-body{
    grid-template-columns:96px minmax(0,1fr)!important;
    gap:14px!important;
    min-height:96px!important;
  }
  .upnext-card .upnext-body .schedule-mini-cover{
    width:96px!important;
    height:96px!important;
    min-width:96px!important;
    max-width:96px!important;
  }
}

/* v74 — restore UP NEXT cover while keeping the v73 spacing */
.upnext-card .upnext-body > img.schedule-mini-cover{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:2!important;
  grid-column:1!important;
  grid-row:1!important;
  width:128px!important;
  height:128px!important;
  min-width:128px!important;
  max-width:128px!important;
  min-height:128px!important;
  max-height:128px!important;
  object-fit:cover!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
}
.upnext-card .upnext-body > .schedule-cover-empty{
  display:block!important;
  grid-column:1!important;
  grid-row:1!important;
  width:128px!important;
  height:128px!important;
  min-width:128px!important;
}
@media(max-width:620px){
  .upnext-card .upnext-body > img.schedule-mini-cover,
  .upnext-card .upnext-body > .schedule-cover-empty{
    width:96px!important;
    height:96px!important;
    min-width:96px!important;
    max-width:96px!important;
    min-height:96px!important;
    max-height:96px!important;
  }
}


/* v87 — no visible Transmission numbering anywhere */
.transmission-no-number > span:first-child{display:none!important}
.transmission-no-number{
  grid-template-columns:minmax(0,1fr) auto auto!important;
}

/* v87 — richer, slightly larger NOW/NEXT/history typography */
.home-history-panel,
.home-history-panel *,
#nowPlayingPanel,
#nowPlayingPanel *{
  font-family:"Space Mono",ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace!important;
}
#nowPlayingPanel .history-row,
.home-history-panel .history-row{
  font-size:14px!important;
  line-height:1.55!important;
  letter-spacing:.015em!important;
}
#nowPlayingPanel .history-row b,
#nowPlayingPanel .history-row strong,
.home-history-panel .history-row b,
.home-history-panel .history-row strong{
  font-size:14px!important;
  letter-spacing:.055em!important;
  font-weight:600!important;
}

.transmission-broadcast-time{
  display:block;
  margin-top:7px;
  font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
  font-size:10px;
  line-height:1.25;
  letter-spacing:.08em;
  opacity:.58;
  text-transform:uppercase;
}

/* v95 — slightly brighter LIVE dot only */
.live i{filter:brightness(1.25) drop-shadow(0 0 2px currentColor)!important;}

/* v101 — HOME hero NOW PLAYING artwork, 2× Schedule cover */
.now-block .home-now-cover{
  display:block;
  width:256px;
  height:256px;
  object-fit:cover;
  margin-top:16px;
  border:0;
}
.now-block .home-now-cover[hidden]{display:none!important;}
@media (max-width:620px){
  .now-block .home-now-cover{width:192px;height:192px;margin-top:12px;}
}

/* v103 — lift HOME hero copy so the 256px Transmission cover fits cleanly */
@media (min-width:621px){
  .home-hero .hero-copy{padding-top:50px;}
  .home-hero h1{margin-top:24px;margin-bottom:24px;}
}

/* v106 — full-size artwork viewer: TRANSMISSIONS + ARTISTS only */
.transmission-cover,.artist-photo{cursor:zoom-in}
.artwork-lightbox{
  position:fixed;inset:0;z-index:10000;display:none;overflow:auto;
  background:rgba(0,0,0,.94);cursor:zoom-out;
}
.artwork-lightbox.is-open{display:block}
.artwork-lightbox-stage{
  min-width:100%;min-height:100%;display:flex;align-items:center;justify-content:center;
  padding:32px;box-sizing:border-box;
}
.artwork-lightbox img{
  display:block;width:auto;height:auto;max-width:none;max-height:none;
  flex:0 0 auto;cursor:zoom-out;box-shadow:0 0 0 1px rgba(255,255,255,.08);
}
body.artwork-lightbox-open{overflow:hidden}
\n\n/* v136 — Selenic live/schedule signal accents */\n.live{color:var(--green);}\n.live i{background:var(--green);}\n.schedule-name-line{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap;}\n.schedule-onair{display:inline-flex;align-items:center;gap:7px;color:var(--green);font-size:9px;font-weight:400;letter-spacing:.12em;white-space:nowrap;}\n.schedule-onair i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);animation:selenic-live-breathe 3.8s ease-in-out infinite;transform-origin:center;}\n.schedule-artist,.schedule-mini-artist{opacity:1!important;color:var(--green)!important;}\n.schedule-artist-link{color:var(--green)!important;text-decoration:none;border-bottom:1px solid rgba(149,169,141,.32);padding-bottom:1px;transition:filter .18s ease,border-color .18s ease;}\n.schedule-artist-link:hover{filter:brightness(1.22);border-bottom-color:var(--green);}\n.upnext-info .schedule-mini-artist{color:var(--green)!important;}\n@media (prefers-reduced-motion:reduce){.schedule-onair i{animation:none!important;}}\n

/* v138 — HOME live artwork for every current track + wider NOW PLAYING column */
@media (min-width:801px){
  .home-grid{
    grid-template-columns:minmax(0,1.32fr) minmax(0,.88fr) minmax(0,1fr);
  }
  .home-history-panel{
    box-sizing:border-box;
    padding-right:36px!important;
    overflow:hidden;
  }
  .home-history-panel .history-row{
    width:100%;
    box-sizing:border-box;
  }
  .home-history-panel .history-row>span{
    flex:1 1 auto;
    min-width:0;
  }
  .home-history-panel .history-row time{
    flex:0 0 auto;
  }
}


/* v139 — fixed artwork geometry + Selenic fallback + hard HOME overflow guard */
:root{--selenic-cover-desktop:256px;--selenic-cover-mobile:192px;}

/* HOME hero artwork never collapses, regardless of source image dimensions. */
.now-block{min-width:0;}
.now-block .home-now-cover{
  display:block!important;
  width:var(--selenic-cover-desktop)!important;
  height:var(--selenic-cover-desktop)!important;
  min-width:var(--selenic-cover-desktop)!important;
  min-height:var(--selenic-cover-desktop)!important;
  max-width:var(--selenic-cover-desktop)!important;
  max-height:var(--selenic-cover-desktop)!important;
  aspect-ratio:1/1;
  object-fit:cover!important;
  object-position:center!important;
  flex:0 0 var(--selenic-cover-desktop)!important;
  margin-top:16px;
  background:#090a09;
}
.now-block .home-now-cover[hidden]{display:block!important;}

/* All card artwork uses a fixed square box. A source image can never resize the card. */
.schedule-cover,.schedule-mini-cover,.transmission-cover{
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:center!important;
  overflow:hidden!important;
  background:#090a09!important;
}

/* Desktop HOME: every grid item is allowed to shrink, nothing may paint into UP NEXT. */
@media (min-width:801px){
  .home-grid{
    grid-template-columns:minmax(0,1.36fr) minmax(0,.86fr) minmax(0,.98fr)!important;
  }
  .home-grid>div{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .home-history-panel{padding-right:42px!important;}
  .home-history-panel .history,
  .home-history-panel .history-row{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .home-history-panel .history-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) max-content!important;
    column-gap:18px!important;
    align-items:start!important;
  }
  .home-history-panel .history-row>span{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .home-history-panel .history-row b,
  .home-history-panel .history-row strong{
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
  .home-history-panel .history-row time{
    min-width:max-content!important;
    white-space:nowrap!important;
    justify-self:end!important;
  }
}

@media (max-width:620px){
  .now-block .home-now-cover{
    width:var(--selenic-cover-mobile)!important;
    height:var(--selenic-cover-mobile)!important;
    min-width:var(--selenic-cover-mobile)!important;
    min-height:var(--selenic-cover-mobile)!important;
    max-width:var(--selenic-cover-mobile)!important;
    max-height:var(--selenic-cover-mobile)!important;
    flex-basis:var(--selenic-cover-mobile)!important;
    margin-top:12px;
  }
}

/* v139_equal_columns — equal HOME columns, contained text, stable artwork boxes */
@media (min-width:801px){
  .home-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:0!important;
  }
  .home-grid>div{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .home-history-panel,
  .home-upnext-panel,
  .home-grid>div:last-child{
    padding-left:32px!important;
    padding-right:32px!important;
  }
  .home-history-panel{padding-left:0!important;}
  .home-grid>div:last-child{padding-right:0!important;}

  /* NOW PLAYING rows stay entirely inside their own third. */
  .home-history-panel .history,
  .home-history-panel .history-row{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .home-history-panel .history-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) max-content!important;
    column-gap:14px!important;
    align-items:start!important;
    overflow:hidden!important;
  }
  .home-history-panel .history-row>span{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
  .home-history-panel .history-row b,
  .home-history-panel .history-row strong{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .home-history-panel .history-row small{
    display:block!important;
    width:max-content!important;
    max-width:100%!important;
    white-space:nowrap!important;
  }
  .home-history-panel .history-row time{
    min-width:max-content!important;
    max-width:100%!important;
    white-space:nowrap!important;
    justify-self:end!important;
  }

  /* UP NEXT content is also physically clipped to its own third. */
  .home-upnext-panel,
  .home-upnext-panel .schedule-mini,
  .home-upnext-panel .upnext-card,
  .home-upnext-panel .upnext-body,
  .home-upnext-panel .upnext-info{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .home-upnext-panel .upnext-info>*{
    max-width:100%!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
}

/* Fixed artwork geometry: image resolution/aspect ratio can never resize a card. */
.schedule-mini-cover,
.schedule-cover,
.transmission-cover{
  display:block!important;
  width:128px!important;
  height:128px!important;
  min-width:128px!important;
  min-height:128px!important;
  max-width:128px!important;
  max-height:128px!important;
  flex:0 0 128px!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
  object-position:center!important;
  background:#090a09!important;
}

@media (max-width:620px){
  .schedule-mini-cover,
  .schedule-cover,
  .transmission-cover{
    width:96px!important;
    height:96px!important;
    min-width:96px!important;
    min-height:96px!important;
    max-width:96px!important;
    max-height:96px!important;
    flex:0 0 96px!important;
  }
}


/* v154 — persistent moon stage. The visual layers stay mounted across SPA routes. */
.moon-anchor{
  visibility:hidden!important;
  pointer-events:none!important;
}
.moon-anchor:after{display:none!important}
.persistent-moon-stage{
  position:absolute;
  overflow:hidden;
  pointer-events:none;
  visibility:hidden;
  z-index:1;
  isolation:isolate;
}
.persistent-moon-stage.is-home-visible{visibility:visible}
.persistent-moon-stage:after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 56% 49%,transparent 0 31%,rgba(0,0,0,.12) 49%,var(--bg) 74%);
  z-index:3;
  pointer-events:none;
}
.persistent-moon-stage .moon-slide{
  position:absolute;
  left:50%;
  top:50%;
  width:75%;
  max-width:720px;
  height:auto;
  transform:translate(-50%,-50%);
  opacity:0!important;
  transition:opacity 15s cubic-bezier(.45,0,.55,1),filter 15s cubic-bezier(.45,0,.55,1)!important;
  filter:brightness(.94) contrast(.99)!important;
  mix-blend-mode:normal!important;
  will-change:opacity,filter;
}
.persistent-moon-stage .moon-slide.is-visible{
  opacity:.84!important;
  filter:brightness(1) contrast(1)!important;
}

/* v167 — subtle Selenic System archive texture test.
   Pure CSS/SVG noise: no external image, no functional changes. */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:9999;
  pointer-events:none;
  opacity:.026;
  mix-blend-mode:screen;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  background-size:180px 180px;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:9998;
  pointer-events:none;
  opacity:.018;
  background-image:
    radial-gradient(circle at 13% 17%,rgba(255,255,255,.65) 0 .45px,transparent .65px),
    radial-gradient(circle at 71% 43%,rgba(255,255,255,.5) 0 .4px,transparent .6px),
    radial-gradient(circle at 38% 79%,rgba(255,255,255,.45) 0 .35px,transparent .55px);
  background-size:137px 149px,181px 167px,223px 211px;
}

/* v171 — uppercase regular-weight live typography */
.live,
.live span,
.home-hero h1,
.now-block label,
.now-block strong,
.now-block span,
.home-history-panel .history-row b,
.home-history-panel .history-row strong,
.home-upnext-panel .upnext-info b,
.home-upnext-panel .upnext-info strong,
.home-upnext-panel .schedule-mini-title,
.home-upnext-panel .schedule-mini-artist,
.simple-now .mini-label,
.simple-now strong,
.simple-now > span:last-child {
  text-transform: uppercase;
  font-weight: 400 !important;
}

/* v172 — SCHEDULE + TRANSMISSIONS dynamic names: uppercase, regular weight */
.schedule-list h2,
.schedule-list .schedule-title,
.schedule-list .schedule-artist,
.trans-list h2,
.trans-list .transmission-copy h2,
.trans-list .transmission-copy p {
  text-transform: uppercase;
  font-weight: 400 !important;
}


/* v177 — local CONTROL prototype */
.local-control-nav{opacity:.58}
.control-panel{padding-bottom:150px}
.control-status-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line);margin:34px 0}
.control-status-grid>div{min-height:80px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px;display:flex;flex-direction:column;gap:8px;justify-content:center}
.control-status-grid span,.control-status-grid small{font-size:8px;letter-spacing:.13em;color:var(--muted)}
.control-status-grid strong{font-size:11px;font-weight:400;letter-spacing:.06em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.control-status-main{position:relative;padding-left:34px!important}.control-status-main i{position:absolute;left:15px;width:7px;height:7px;border-radius:50%;background:#6e5b5b}.control-status-main i.is-online{background:var(--green);box-shadow:0 0 9px rgba(149,169,141,.45)}
.control-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.control-card{border:1px solid var(--line);background:#070807;padding:22px;min-width:0}
.control-wide{grid-column:1/-1}
.control-card header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:17px;margin-bottom:18px;border-bottom:1px solid var(--line);font-size:10px;letter-spacing:.12em}.control-card header a,.control-card header small{font-size:8px;color:var(--muted);text-decoration:none;font-weight:400}
.control-card p{color:var(--muted);font-size:10px;line-height:1.8}.control-summary{display:flex;align-items:baseline;gap:12px}.control-summary strong{font-size:28px;font-weight:400}.control-summary small{font-size:8px;color:var(--muted);letter-spacing:.1em}
.control-card label{display:flex;flex-direction:column;gap:7px;font-size:8px;letter-spacing:.11em;color:var(--muted);margin:13px 0}.control-card input,.control-card textarea,.control-card select{box-sizing:border-box;width:100%;border:1px solid var(--line);background:#050605;color:var(--text);padding:11px;font-family:inherit;font-size:10px;outline:none}.control-card input:focus,.control-card textarea:focus,.control-card select:focus{border-color:#777970}.control-card button{border:1px solid #555751;background:transparent;color:var(--text);padding:10px 15px;font:inherit;font-size:9px;letter-spacing:.1em;cursor:pointer;margin-top:7px}.control-card button:hover{border-color:#bbbcb4}.control-form-status{font-size:8px;color:var(--muted);margin-left:12px;letter-spacing:.08em}.control-check{flex-direction:row!important;align-items:center;gap:10px!important}.control-check input{width:auto!important}
.control-list-row{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid #1d1f1c}.control-list-row:last-child{border-bottom:0}.control-list-row>span,.control-list-row em{font-size:8px;color:var(--muted);font-style:normal;letter-spacing:.09em}.control-list-row strong{display:block;font-size:10px;font-weight:400}.control-list-row small{display:block;margin-top:4px;font-size:8px;color:var(--muted)}.control-empty{font-size:9px;color:var(--muted);padding:16px 0}.control-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}
@media(max-width:900px){.control-status-grid{grid-template-columns:repeat(3,1fr)}.control-columns{grid-template-columns:1fr}.control-wide{grid-column:auto}.control-settings-grid{grid-template-columns:1fr}}
@media(max-width:560px){.control-status-grid{grid-template-columns:repeat(2,1fr)}.control-card{padding:17px}.control-list-row{grid-template-columns:48px minmax(0,1fr)}.control-list-row em{display:none}}

/* EQ visibility */
.audio-visualizer.dual-spectrum{height:60px!important}
.audio-visualizer.dual-spectrum canvas{height:60px!important}

@media(max-width:620px){.audio-visualizer.dual-spectrum{width:100%!important;max-width:100%!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr)!important;gap:4px!important;padding:0!important;box-sizing:border-box!important}.audio-visualizer.dual-spectrum canvas{width:100%!important;min-width:0!important;height:48px!important;padding-left:0!important}}

@media(max-width:620px){.main-play,.stop-button{width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important}.simple-controls{gap:6px!important}}

@media(max-width:620px){.persistent-player{padding-top:6px!important;padding-bottom:6px!important}}

@media(max-width:620px){.persistent-player{min-height:68px!important}}

@media(min-width:621px){.simple-controls{gap:10px!important}}

@media(min-width:1001px){.main-play,.stop-button{width:46px!important;height:46px!important}.simple-controls input{width:65px!important}.simple-controls{gap:10px!important}}

@media(min-width:1001px){.simple-controls{flex:0 0 auto!important;width:auto!important;gap:5px!important}}

@media(min-width:1001px){.simple-controls{gap:5px!important}.simple-controls input{width:45px!important}.player-mode{min-width:50px!important}}

@media(min-width:1001px){.simple-controls{flex:0 0 205px!important;width:205px!important;max-width:205px!important;min-width:205px!important}}

@media(min-width:1001px){.main-play,.stop-button{width:52px!important;height:52px!important;min-width:52px!important;flex:0 0 52px!important}}


@media(min-width:621px){.volume-knob{position:relative;width:34px;height:34px;flex:0 0 34px}.volume-knob #volumeControl{position:absolute;inset:0;width:34px!important;height:34px!important;opacity:0;z-index:2;cursor:pointer}.knob-face{position:absolute;inset:2px;border:1px solid #666861;border-radius:50%;background:#0b0c0b;pointer-events:none}.knob-face::after{content:"";position:absolute;width:2px;height:9px;background:#d9d7cf;left:50%;top:4px;transform:translateX(-50%);transform-origin:1px 11px}}

@media(min-width:621px){.volume-knob #volumeControl{pointer-events:none!important}.volume-knob{cursor:ns-resize}}

@media(max-width:620px){#muteButton,.volume-knob{display:none!important}}

@media(max-width:620px){#muteButton,.volume-knob{display:none!important}}

@media(max-width:620px){.simple-controls{width:max-content!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;justify-content:flex-start!important}}

@media(max-width:620px){.persistent-player{gap:4px!important}}

@media(min-width:621px) and (max-width:1000px){.persistent-player{gap:4px!important}}

@media(max-width:1000px){.persistent-player{gap:4px!important}.audio-visualizer.dual-spectrum{margin-left:0!important;margin-right:0!important}}

@media(min-width:1001px){.persistent-player{gap:4px!important}.audio-visualizer.dual-spectrum{margin-left:0!important;margin-right:0!important}}

@media(min-width:621px) and (max-width:1000px){.volume-knob{touch-action:none!important;user-select:none!important;-webkit-user-select:none!important}}

/* Footer responsive layout */
.social{
  grid-column:1 / -1;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 42px;
}

.system-telemetry{
  grid-column:1 / -1;
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
}

.footer-right{
  grid-column:3;
  justify-self:end;
  text-align:right;
}

@media(max-width:1000px){
  .social{
    grid-column:1 / -1;
    justify-content:flex-start;
  }

  .footer-right{
    grid-column:1 / -1;
    justify-self:end;
    text-align:right;
  }
}

@media(max-width:620px){
  .footer-right{
    grid-column:1 / -1!important;
    justify-self:end!important;
    text-align:right!important;
    width:auto!important;
  }
}

@media(min-width:1001px){
  .audio-visualizer.dual-spectrum{
    grid-template-columns:240px minmax(0,1fr) 240px!important;
    gap:4px!important;
  }
}

@media(min-width:621px){
  .audio-visualizer.dual-spectrum{
    grid-template-columns:240px minmax(0,1fr) 240px!important;
    gap:4px!important;
  }
}

@media(min-width:621px){
  .audio-visualizer.dual-spectrum{
    grid-template-columns:60px minmax(0,1fr) 60px!important;
    gap:4px!important;
  }
}

@media(min-width:621px){
  .audio-visualizer.dual-spectrum{
    grid-template-columns:72px minmax(0,1fr) 72px!important;
  }
}

@media(min-width:621px){
  .audio-visualizer.dual-spectrum{
    grid-template-columns:90px minmax(0,1fr) 110px!important;
    height:110px!important;
    gap:4px!important;
    align-items:center!important;
  }

  .audio-visualizer.dual-spectrum #spectrumCanvas{
    width:90px!important;
    height:90px!important;
    justify-self:center!important;
  }

  .audio-visualizer.dual-spectrum #spectrumLinearCanvas{
    width:100%!important;
    height:90px!important;
  }

  .audio-visualizer.dual-spectrum #stereoFieldCanvas{
    width:110px!important;
    height:110px!important;
    justify-self:center!important;
  }
}

/* Larger player instrumentation — tablet + desktop */
@media(min-width:621px){

  .persistent-player{
    min-height:134px!important;
  }

  .simple-now{
    min-width:210px!important;
    flex:0 1 clamp(240px,28vw,440px)!important;
  }

  .simple-now .mini-label{
    font-size:10px!important;
    margin-bottom:8px!important;
  }

  .simple-now strong{
    font-size:18px!important;
  }

  .simple-now > span:last-child{
    font-size:12px!important;
    margin-top:6px!important;
  }

  .simple-controls{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    gap:8px!important;
  }

  .main-play,
  .stop-button{
    width:68px!important;
    height:68px!important;
    min-width:68px!important;
    flex:0 0 68px!important;
  }

  .volume-knob{
    width:52px!important;
    height:52px!important;
    flex:0 0 52px!important;
  }

  .volume-knob #volumeControl{
    width:52px!important;
    height:52px!important;
  }

  .volume-knob .knob-face{
    inset:2px!important;
  }

  .volume-knob .knob-face::after{
    height:14px!important;
    top:6px!important;
    transform-origin:1px 18px!important;
  }
}

@media(min-width:621px){
  .persistent-player{
    min-height:0!important;
    padding-top:4px!important;
    padding-bottom:4px!important;
  }
}

/* Tablet — 70% player scale */
@media(min-width:621px) and (max-width:1000px){

  .audio-visualizer.dual-spectrum{
    grid-template-columns:63px minmax(63px,1fr) 77px!important;
    height:77px!important;
    gap:3px!important;
    justify-content:center!important;
  }

  .audio-visualizer.dual-spectrum #spectrumCanvas{
    width:63px!important;
    height:63px!important;
  }

  .audio-visualizer.dual-spectrum #spectrumLinearCanvas{
    width:100%!important;
    height:63px!important;
  }

  .audio-visualizer.dual-spectrum #stereoFieldCanvas{
    width:77px!important;
    height:77px!important;
  }

  .main-play,
  .stop-button{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    flex:0 0 48px!important;
  }

  .volume-knob{
    width:36px!important;
    height:36px!important;
    flex:0 0 36px!important;
  }

  .volume-knob #volumeControl{
    width:36px!important;
    height:36px!important;
  }

  .simple-now strong{font-size:13px!important;}
  .simple-now > span:last-child{font-size:9px!important;}
  .simple-now .mini-label{font-size:8px!important;}

  .persistent-player{
    padding-top:3px!important;
    padding-bottom:3px!important;
  }
}

/* Tablet — 70% player scale */
@media(min-width:621px) and (max-width:1000px){

  .audio-visualizer.dual-spectrum{
    grid-template-columns:63px minmax(63px,1fr) 77px!important;
    height:77px!important;
    gap:3px!important;
    justify-content:center!important;
  }

  .audio-visualizer.dual-spectrum #spectrumCanvas{
    width:63px!important;
    height:63px!important;
  }

  .audio-visualizer.dual-spectrum #spectrumLinearCanvas{
    width:100%!important;
    height:63px!important;
  }

  .audio-visualizer.dual-spectrum #stereoFieldCanvas{
    width:77px!important;
    height:77px!important;
  }

  .main-play,
  .stop-button{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    flex:0 0 48px!important;
  }

  .volume-knob{
    width:36px!important;
    height:36px!important;
    flex:0 0 36px!important;
  }

  .volume-knob #volumeControl{
    width:36px!important;
    height:36px!important;
  }

  .simple-now strong{font-size:13px!important;}
  .simple-now > span:last-child{font-size:9px!important;}
  .simple-now .mini-label{font-size:8px!important;}

  .persistent-player{
    padding-top:3px!important;
    padding-bottom:3px!important;
  }
}

/* Persistent player — draggable / auto-scrolling metadata */
#persistentTitle,
#persistentArtist{
  overflow:hidden!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
  cursor:grab;
  user-select:none;
  -webkit-user-select:none;
  touch-action:pan-y;
  scrollbar-width:none;
}

#persistentTitle::-webkit-scrollbar,
#persistentArtist::-webkit-scrollbar{
  display:none;
}

#persistentTitle.is-dragging,
#persistentArtist.is-dragging{
  cursor:grabbing;
}

/* EQ3 roundness test */
#stereoFieldCanvas{
  padding-left:0!important;
  border-left:0!important;
}

/* EQ3 separator without canvas distortion */
#stereoFieldCanvas{
  border-left:1px solid rgba(220,220,214,.12)!important;
  padding-left:0!important;
}
