/* TwinEaglesRadio: home.css (site 1.92.0). Moved from index.php so browsers cache it;
   it is linked from the same place the <style> block stood, so the cascade is unchanged. */
/* ═══════════════════════════════════════════════════════════════════════════
   TwinEaglesRadio — Global Styles
   ═══════════════════════════════════════════════════════════════════════════ */
/* Display face: Big Shoulders Display (SIL OFL), self-hosted, latin, variable 600-900.
   Body copy stays on the system stack. The CSP has no font-src, so default-src 'self'
   is what allows this file. */
@font-face{font-family:'Big Shoulders Display';font-style:normal;font-weight:600 900;font-display:swap;src:url('/fonts/BigShouldersDisplay-latin-var.woff2') format('woff2')}
:root {
  --font-display:'Big Shoulders Display','Bahnschrift SemiCondensed','Arial Narrow',system-ui,sans-serif;
  --gold:#C9A84C; --gold-dim:#8B6914; --navy:#0F1B2D;
  --surface:#161F2E; --card:#1E2A3D; --border:#2A3A52;
  --text:#E8ECF0; --muted:#9FB0C6; --green:#22c55e;
  --red:#ef4444; --warn:#f59e0b;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--navy);color:var(--text);font-family:system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.5}
a{color:inherit}

/* ── Scrollbar ── */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:var(--surface)}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}

/* ── Header actions (nav/header chrome itself lives in partials/nav.php) ── */
.header-actions{display:flex;align-items:center;gap:10px;position:relative}
.btn{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;border:none;transition:all .2s;white-space:nowrap}
.btn-gold{background:var(--gold);color:var(--navy)}
.btn-gold:hover{background:#e6bc5a}
.btn-outline{background:transparent;color:var(--gold);border:1px solid var(--gold-dim)}
.btn-outline:hover{background:var(--gold);color:var(--navy)}
.btn-sm{padding:5px 12px;font-size:.8rem}
.user-chip{display:flex;align-items:center;gap:8px;cursor:pointer;padding:5px 10px;border-radius:8px;transition:background .2s}
.user-chip:hover{background:var(--card)}
.avatar{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.8rem;flex-shrink:0}
.avatar-sm{width:28px;height:28px;font-size:.75rem}
.avatar-xs{width:24px;height:24px;font-size:.65rem}

/* ── User menu ── */
.user-menu{position:absolute;top:calc(100% + 6px);right:0;background:var(--card);border:1px solid var(--border);border-radius:10px;min-width:160px;z-index:60;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.4)}
.user-menu-item{display:block;width:100%;text-align:left;background:none;border:none;color:var(--text);padding:10px 14px;font-size:.85rem;cursor:pointer;text-decoration:none}
.user-menu-item:hover{background:var(--surface);color:var(--gold)}

/* ── 3-column page layout ── */
#page-wrapper{max-width:1200px;margin:0 auto;padding:1.5rem 1rem;display:grid;grid-template-columns:220px 1fr 340px;grid-template-areas:"left main right";gap:1.5rem;align-items:start}
#sidebar-left{grid-area:left}
#content-main{grid-area:main;min-width:0}
#sidebar-right{grid-area:right}
@media(max-width:1023px){
  #page-wrapper{grid-template-columns:190px 1fr;grid-template-areas:"left main" "left right"}
  #sidebar-right{grid-column:2}
}
@media(max-width:767px){
  #page-wrapper{grid-template-columns:1fr;grid-template-areas:"main" "right" "left";padding:1rem}
  #sidebar-left,#sidebar-right{grid-column:1}
  /* .side-col's sticky is scoped to >=768 at its own declaration below,
     so no override is needed here. `order` has no effect on grid items that
     are placed by grid-template-areas, which is why the old one did nothing. */
  /* Live Chat is a bottom sheet below 768px — see the chat section further down. */

  /* Player first (2026-09-25). Phones used to open straight into the feed with
     the stream only reachable from the mini-bar. #sidebar-right dissolves into
     the grid so its cards can be ordered on their own: player → feed →
     newsletter → app → teasers. The chat panel is position:fixed here, so
     it is unaffected. */
  #page-wrapper{grid-template-areas:none;grid-template-columns:minmax(0,1fr)}
  #page-wrapper>*{grid-area:auto}
  #sidebar-right{display:contents}
  #content-main{order:2}
  #sidebar-right>.rail{order:3}   /* after the feed, not above the player */
  #sidebar-right>.dsa{order:3}    /* 1.33.0: today's shows, just above Live chat */
  #sidebar-left{order:5}
  /* (1.8.0: the player is the hero above the grid — its own responsive rules
     live in the Hero block at the end of this stylesheet.) */
  .lp-recent li:nth-child(n+4){display:none}
}

/* ── Left sidebar: teasers ── */
.side-col-left{display:flex;flex-direction:column;gap:1rem}
/* 1.43.0: the Facebook card makes this column about 950px tall, so it only sticks
   on screens tall enough to show all of it; otherwise its lower cards stayed out of view until the end of the page. */
@media(min-width:768px) and (min-height:1080px){.side-col-left{position:sticky;top:calc(var(--header-h,64px) + 6px)}}
.teaser-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:1rem}
.teaser-card h4{font-size:.85rem;color:var(--gold);margin-bottom:.4rem;display:flex;align-items:center;gap:6px}
.teaser-card p{font-size:.78rem;color:var(--muted);line-height:1.5;margin-bottom:.75rem}

/* ── Chat FAB (mobile) ── */
.chat-fab{display:none;position:fixed;right:16px;bottom:16px;z-index:95;background:var(--gold);color:var(--navy);border:none;border-radius:50%;width:54px;height:54px;font-size:1.4rem;cursor:pointer;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.45)}
.chat-close{display:none;margin-left:auto;background:none;border:none;color:var(--muted);font-size:1.1rem;cursor:pointer;padding:2px 6px}

/* ── Mini player ─────────────────────────────────────────────────────────────
   Fixed bottom bar, shown by an IntersectionObserver once the hero player leaves
   the viewport. Bound to the same TERPlayer as the card — no second <audio>. */
.mini-player{
  position:fixed; left:0; right:0; bottom:0; z-index:var(--z-miniplayer,70);
  display:flex; align-items:center; gap:.7rem;
  height:calc(var(--miniplayer-h,64px) + var(--safe-b,0px));
  padding:0 .8rem calc(0px + var(--safe-b,0px));
  padding-left:max(.8rem, var(--safe-l,0px));
  padding-right:max(.8rem, var(--safe-r,0px));
  background:var(--card); border-top:1px solid var(--border);
  transform:translateY(110%); transition:transform .25s ease;
  will-change:transform;
}
@supports (backdrop-filter:blur(12px)){
  .mini-player{ background:color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter:blur(12px); }
}
.mini-player.show{ transform:translateY(0); }
.mini-art{ width:40px; height:40px; border-radius:8px; flex-shrink:0; object-fit:cover; background:var(--surface); }
.mini-meta{ min-width:0; flex:1; text-decoration:none; color:inherit; }
.mini-song{ font-size:.85rem; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mini-artist{ font-size:.72rem; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mini-live{ display:inline-flex; align-items:center; gap:5px; flex-shrink:0; font-size:.62rem; font-weight:800;
            letter-spacing:.08em; text-transform:uppercase; color:var(--red-text,#F26363); }
.mini-live-dot{ width:6px; height:6px; border-radius:50%; background:var(--red-text,#F26363); animation:lppulse 1.5s infinite; }
.mini-play{ width:44px; height:44px; border-radius:50%; flex-shrink:0; border:none; cursor:pointer;
            background:var(--gold); color:var(--navy); font-size:1.05rem; display:flex; align-items:center; justify-content:center; }
.mini-play:hover{ background:#e6bc5a; }
/* 1.16.0 cast buttons (base look comes from js/cast.js) */
.hero-play-row .cast-btn{ color:var(--text); }
.mini-cast{ width:36px; height:36px; color:var(--text); }
/* Reserve the space so the footer is never hidden behind the bar. */
body.has-mini{ padding-bottom:calc(var(--miniplayer-h,64px) + var(--safe-b,0px)); }
/* Don't show the header chip and the bar at the same time. */
body.has-mini .nav-np{ display:none !important; }
body.has-mini .chat-fab{ bottom:calc(16px + var(--miniplayer-h,64px) + var(--safe-b,0px)); }
@media (max-width:479px){ .mini-live{ display:none; } }


/* ── Feed ── */
.feed-section{}
.compose-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:1rem;margin-bottom:1.25rem}
.compose-input{width:100%;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:10px 14px;color:var(--text);font-size:.9rem;resize:none;outline:none;min-height:80px;transition:border-color .2s;font-family:inherit}
.compose-input:focus{border-color:var(--gold)}
.compose-actions{display:flex;justify-content:flex-end;margin-top:.75rem}
.login-prompt{text-align:center;padding:.75rem;color:var(--muted);font-size:.85rem}
.login-prompt a{color:var(--gold);cursor:pointer;text-decoration:underline}

.post-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:1.25rem;margin-bottom:1rem;transition:border-color .2s}
.post-card:hover{border-color:var(--border)}
.post-header{display:flex;align-items:center;gap:10px;margin-bottom:.85rem}
.post-meta{flex:1}
.post-name{font-weight:600;font-size:.9rem}
.post-time{font-size:.75rem;color:var(--muted)}
.post-content{font-size:.9rem;line-height:1.65;margin-bottom:1rem;word-break:break-word;white-space:pre-wrap}
.post-media{margin-bottom:1rem}
.post-media img{width:100%;border-radius:10px;max-height:360px;object-fit:cover}
.post-actions{display:flex;align-items:center;gap:.5rem;padding-top:.5rem;border-top:1px solid var(--border)}
.action-btn{display:flex;align-items:center;gap:5px;padding:5px 10px;border-radius:8px;font-size:.8rem;cursor:pointer;border:none;background:transparent;color:var(--muted);transition:all .2s}
.action-btn:hover{background:var(--surface);color:var(--text)}
.action-btn.liked{color:var(--gold)}
.action-btn svg{width:15px;height:15px;fill:currentColor}
.delete-btn{margin-left:auto;color:var(--muted);opacity:.6}
.delete-btn:hover{color:var(--red);opacity:1}

.comments-section{margin-top:.75rem;border-top:1px solid var(--border);padding-top:.75rem}
.comment-item{display:flex;gap:8px;margin-bottom:.65rem;font-size:.83rem}
.comment-body{flex:1}
.comment-author{font-weight:600;color:var(--text)}
.comment-time{font-size:.7rem;color:var(--muted);margin-left:6px}
.comment-text{color:var(--text);margin-top:2px;line-height:1.5}
.comment-form{display:flex;gap:8px;margin-top:.75rem}
.comment-input{flex:1;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:7px 12px;color:var(--text);font-size:.83rem;outline:none;transition:border-color .2s;font-family:inherit}
.comment-input:focus{border-color:var(--gold)}
.comment-submit{padding:7px 14px;border-radius:8px;background:var(--gold);color:var(--navy);border:none;cursor:pointer;font-weight:700;font-size:.8rem;transition:background .2s}
.comment-submit:hover{background:#e6bc5a}

.feed-empty{text-align:center;padding:3rem;color:var(--muted)}
.feed-empty-icon{font-size:2.5rem;margin-bottom:.75rem}

/* ── Sidebar (player + chat) ── */
.side-col{display:flex;flex-direction:column;gap:1rem}
@media(min-width:768px){.side-col{position:sticky;top:calc(var(--header-h,64px) + 6px)}}
/* Native live player (replaced the old Live365 iframe embed) */
.lp-listeners{font-size:.68rem;font-weight:700;color:var(--muted);display:inline-flex;align-items:center;gap:5px;letter-spacing:.02em}
.lp-listeners::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--green,#22c55e)}
.lp-art img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.lp-art{overflow:hidden;width:92px;height:92px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:2.3rem;background:linear-gradient(145deg,color-mix(in srgb,var(--gold) 22%,transparent),color-mix(in srgb,var(--gold) 4%,transparent));border:1px solid var(--border)}
.lp-play{width:62px;height:62px;border-radius:50%;border:none;cursor:pointer;background:var(--gold);color:var(--navy);font-size:1.4rem;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.35);transition:transform .15s,background .2s}
.lp-play:hover{background:#e6bc5a;transform:scale(1.05)}
.lp-status{font-size:.78rem;color:var(--muted);min-height:1.15em;text-align:center}
.lp-live{display:inline-flex;align-items:center;gap:6px;font-size:.68rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--red-text,#F26363)}
.lp-live-dot{width:7px;height:7px;border-radius:50%;background:var(--red);animation:lppulse 1.5s infinite}
@keyframes lppulse{0%,100%{opacity:1}50%{opacity:.25}}
.lp-vol{display:flex;align-items:center;gap:9px;width:100%;max-width:210px}
.lp-vol input[type=range]{flex:1;height:4px;accent-color:var(--gold);cursor:pointer}
.lp-mute{background:none;border:none;color:var(--muted);font-size:.95rem;cursor:pointer;padding:0;line-height:1}
.onair-line{display:flex;align-items:center;gap:10px;padding:.6rem 1rem;border-bottom:1px solid var(--border);background:linear-gradient(90deg,color-mix(in srgb,var(--gold) 12%,transparent),transparent)}
.onair-pill{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;background:#E71414;color:#fff;font-size:.62rem;font-weight:800;letter-spacing:.08em;padding:3px 9px;border-radius:14px;text-transform:uppercase}
.onair-dot{width:6px;height:6px;border-radius:50%;background:#fff;animation:onairpulse 1.2s infinite}
@keyframes onairpulse{0%,100%{opacity:1}50%{opacity:.3}}
.onair-text{min-width:0;line-height:1.3}
.onair-text a{display:block;color:var(--text);font-weight:700;font-size:.85rem;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.onair-text a:hover{color:var(--gold)}
.onair-text small{color:var(--muted);font-size:.72rem}
.nowplaying{display:flex;align-items:center;gap:8px;padding:.55rem 1rem;border-top:1px solid var(--border);overflow:hidden}
.np-text{font-size:.8rem;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.app-cta{display:flex;align-items:center;justify-content:center;gap:7px;background:var(--gold);color:var(--navy);font-weight:700;font-size:.85rem;padding:9px 14px;border-radius:8px;text-decoration:none;transition:background .2s}
.app-cta:hover{background:#e6bc5a}

/* ── Chat panel ── */
.chat-panel{position:relative;background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;flex:1 1 auto;min-height:320px;max-height:calc(100vh - var(--header-h,64px) - 2rem);max-height:calc(100dvh - var(--header-h,64px) - 2rem)}
.chat-header{padding:.85rem 1rem;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:8px}
.chat-title{font-weight:700;font-size:.95rem}
.online-dot{width:8px;height:8px;border-radius:50%;background:var(--green)}
.chat-messages{flex:1;overflow-y:auto;padding:.75rem 1rem;display:flex;flex-direction:column;gap:.5rem}
.chat-msg{display:flex;gap:7px;align-items:flex-start}
.chat-bubble{background:var(--surface);border-radius:10px;padding:7px 11px;font-size:.82rem;line-height:1.5;word-break:break-word;flex:1;border:1px solid var(--border)}
.chat-bubble-own{background:color-mix(in srgb,var(--gold) 18%,transparent);border-color:var(--gold-dim)}
.chat-bubble-own .chat-content{color:var(--text)}
.chat-author{font-size:.7rem;font-weight:700;margin-bottom:2px}
.chat-content{color:var(--text)}
.chat-time{font-size:.65rem;color:var(--muted);margin-top:2px}
.chat-input-wrap{padding:.75rem;border-top:1px solid var(--border)}
.chat-row{display:flex;gap:8px}
.chat-input{flex:1;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px 12px;color:var(--text);font-size:.85rem;outline:none;transition:border-color .2s;font-family:inherit}
.chat-input:focus{border-color:var(--gold)}
.chat-send{padding:8px 14px;border-radius:8px;background:var(--gold);color:var(--navy);border:none;cursor:pointer;font-weight:700;transition:background .2s}
.chat-send:hover{background:#e6bc5a}
.chat-login-note{text-align:center;padding:1rem;color:var(--muted);font-size:.82rem}
.chat-login-note a{color:var(--gold);cursor:pointer}

/* ── Modal ── */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:100;display:flex;align-items:center;justify-content:center;padding:1rem;opacity:0;pointer-events:none;transition:opacity .2s}
.modal-overlay.open{opacity:1;pointer-events:auto}
.modal-box{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:2rem;width:100%;max-width:420px}
.modal-title{font-size:1.1rem;font-weight:700;color:var(--gold);margin-bottom:1.25rem}
.modal-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem}
.modal-tab{flex:1;padding:8px;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;border:1px solid var(--border);background:transparent;color:var(--muted);transition:all .2s;text-align:center}
.modal-tab.active{background:var(--gold);color:var(--navy);border-color:var(--gold)}
.field{margin-bottom:1rem}
.field label{display:block;font-size:.78rem;font-weight:600;color:var(--muted);margin-bottom:5px;text-transform:uppercase;letter-spacing:.05em}
.field input{width:100%;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:9px 14px;color:var(--text);font-size:.9rem;outline:none;transition:border-color .2s;font-family:inherit}
.field input:focus{border-color:var(--gold)}
.modal-btn{width:100%;padding:11px;border-radius:8px;background:var(--gold);color:var(--navy);border:none;cursor:pointer;font-weight:700;font-size:.9rem;margin-top:.5rem;transition:background .2s}
.modal-btn:hover{background:#e6bc5a}
.modal-close{float:right;background:none;border:none;color:var(--muted);cursor:pointer;font-size:1.3rem;line-height:1;margin-top:-4px}
.modal-close:hover{color:var(--text)}
.modal-error{background:#1c0404;border:1px solid #7f1d1d;color:var(--red);border-radius:8px;padding:9px 12px;font-size:.82rem;margin-bottom:1rem}

/* ── Song request: track search ── */
.req-results{border:1px solid var(--border);border-radius:8px;margin-top:-.6rem;margin-bottom:1rem;max-height:220px;overflow-y:auto;background:var(--surface)}
.req-result{display:flex;align-items:center;gap:10px;padding:8px 10px;cursor:pointer;border-bottom:1px solid var(--border)}
.req-result:last-child{border-bottom:none}
.req-result:hover{background:color-mix(in srgb,var(--gold) 10%,transparent)}
.req-result img{width:34px;height:34px;border-radius:8px;object-fit:cover;flex:none;background:var(--card)}
.req-result-t{min-width:0}
.req-result-t b{display:block;font-size:.84rem;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.req-result-t span{display:block;font-size:.74rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.req-picked{display:flex;align-items:center;gap:10px;background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.35);border-radius:8px;padding:8px 10px;margin-bottom:1rem}
.req-picked img{width:34px;height:34px;border-radius:8px;object-fit:cover;flex:none}
.req-picked .req-result-t{flex:1}
/* display:flex beats the hidden attribute — without this the empty "picked"
   box showed every time the modal opened (live bug until 2026-09-25). */
.req-picked[hidden],.lp-listeners[hidden]{display:none}
.req-picked button{background:none;border:none;color:var(--muted);cursor:pointer;font-size:1rem;line-height:1}
.req-hint{font-size:.74rem;color:var(--muted);margin:-.5rem 0 1rem}

/* ── Recently played (player card) ── */
.lp-recent{border-top:1px solid var(--border);padding:.7rem .9rem .8rem}
.lp-recent-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:.45rem}
.lp-recent-head b{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.lp-recent-head a{font-size:.72rem;color:var(--gold);text-decoration:none}
.lp-recent-head a:hover{text-decoration:underline}
.lp-recent ul{list-style:none;display:flex;flex-direction:column;gap:6px}
.lp-recent li{display:flex;align-items:center;gap:8px;min-width:0}
.lp-recent img{width:26px;height:26px;border-radius:8px;object-fit:cover;flex:none;background:var(--surface)}
.lp-recent .rp-fallback{width:26px;height:26px;border-radius:8px;flex:none;background:var(--surface);display:flex;align-items:center;justify-content:center;font-size:.72rem}
.lp-recent .rp-t{min-width:0;font-size:.76rem;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lp-recent .rp-t span{color:var(--muted)}
.lp-recent .rp-t{flex:1}
.rp-req{flex:none;background:none;border:1px solid var(--border);color:var(--muted);border-radius:8px;font-size:.7rem;font-weight:700;padding:4px 10px;min-height:32px;cursor:pointer;font-family:inherit}
.rp-req:hover,.rp-req:focus-visible{border-color:var(--gold-dim);color:var(--gold)}

/* ── Weekly digest signup ── */
.digest-row{display:flex;gap:6px}
.digest-row input{flex:1;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:8px 12px;color:var(--text);font-size:.85rem;outline:none}
.digest-row input:focus{border-color:var(--gold)}
.digest-row button{background:var(--gold);color:var(--navy);border:none;border-radius:8px;padding:8px 14px;font-weight:700;font-size:.85rem;cursor:pointer;white-space:nowrap}
.digest-row button:hover{background:#e6bc5a}
.digest-msg{font-size:.78rem;margin-top:.5rem;display:none}

/* ── Toast ── */
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--card);border:1px solid var(--border);border-radius:10px;padding:10px 20px;font-size:.85rem;z-index:200;opacity:0;transition:all .3s;pointer-events:none;white-space:nowrap}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* ── Skeleton ── */
.skeleton{background:linear-gradient(90deg,var(--surface) 25%,var(--card) 50%,var(--surface) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:8px}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.skel-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:1.25rem;margin-bottom:1rem}
.skel-line{height:12px;margin-bottom:8px}
.skel-line.short{width:40%}
.skel-line.medium{width:70%}
.skel-avatar{width:36px;height:36px;border-radius:50%;flex-shrink:0}

/* ── Eagle Nest Moment ── */
.ens{background:var(--card);border:1px solid color-mix(in srgb,var(--gold) 22%,transparent);border-radius:14px;overflow:hidden;margin-bottom:1.25rem}
.ens-header{display:flex;align-items:center;justify-content:space-between;padding:.65rem 1rem;background:color-mix(in srgb,var(--gold) 5%,transparent);border-bottom:1px solid color-mix(in srgb,var(--gold) 14%,transparent)}
.ens-title{display:flex;align-items:center;gap:.5rem;font-size:.82rem;font-weight:700;color:var(--gold);text-transform:uppercase;letter-spacing:.06em}
.ens-sub{color:var(--muted);font-size:.75rem;font-weight:400;text-transform:none;letter-spacing:0;margin-left:.25rem}
.ens-allnews{display:flex;align-items:center;gap:.3rem;color:var(--gold);font-size:.78rem;font-weight:600;text-decoration:none;transition:color .2s}
.ens-allnews:hover{color:var(--text)}
.ens-list{list-style:none}
.ens-item{display:flex;align-items:flex-start;gap:.75rem;padding:.65rem 1rem;border-bottom:1px solid var(--border);transition:background .15s}
.ens-item:last-child{border-bottom:none}
.ens-item:hover{background:var(--surface)}
.ens-date{flex-shrink:0;width:36px;text-align:center;padding-top:2px}
.ens-date-day{display:block;font-weight:800;font-size:.82rem;color:var(--gold);line-height:1}
.ens-date-mon{display:block;font-size:.68rem;color:var(--muted);line-height:1.4}
.ens-body{flex:1;min-width:0}
.ens-tag{display:inline-block;font-size:.65rem;font-weight:700;padding:2px 6px;border-radius:8px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px}
.ens-tag-concert{background:color-mix(in srgb,var(--gold) 12%,transparent);color:var(--gold);border:1px solid color-mix(in srgb,var(--gold) 30%,transparent)}
.ens-tag-festival{background:rgba(168,85,247,.12);color:#c084fc;border:1px solid rgba(168,85,247,.3)}
.ens-tag-news{background:rgba(56,189,248,.1);color:#7dd3fc;border:1px solid rgba(56,189,248,.25)}
.ens-tag-album{background:rgba(34,197,94,.1);color:#86efac;border:1px solid rgba(34,197,94,.25)}
.ens-headline{font-size:.87rem;font-weight:600;color:var(--text);line-height:1.35}
.ens-link{color:inherit;text-decoration:none;transition:color .2s}
.ens-link:hover{color:var(--gold)}
.ens-detail{font-size:.78rem;color:var(--muted);margin-top:2px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ens-footer{text-align:center;padding:.6rem;border-top:1px solid color-mix(in srgb,var(--gold) 14%,transparent);background:color-mix(in srgb,var(--gold) 4%,transparent)}
.ens-footer a{color:var(--gold);font-size:.8rem;font-weight:700;text-decoration:none;transition:color .2s}
.ens-footer a:hover{color:var(--text)}
/* ── Homepage features: Spotlight Artist, Top 10, Facebook (site 1.6.0) ── */
.hf-artist{display:flex;gap:1.1rem;background:var(--card);border:1px solid color-mix(in srgb,var(--gold) 22%,transparent);border-radius:14px;padding:1rem;margin-bottom:1.25rem}
.hf-artist[hidden],.hf-top10[hidden],.hf-fb[hidden]{display:none}
.hf-artist-photo{width:150px;height:150px;flex-shrink:0;border-radius:14px;overflow:hidden;background:var(--surface);display:grid;place-items:center;font-size:3rem}
.hf-artist-photo img{width:100%;height:100%;object-fit:cover;display:block;font-size:.8rem}
.hf-artist-body{min-width:0;display:flex;flex-direction:column}
.hf-kicker{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--gold)}
.hf-artist-name{font-size:1.3rem;font-weight:800;margin:.15rem 0 .1rem;line-height:1.2}
.hf-artist-meta{font-size:.8rem;color:var(--muted)}
.hf-artist-bio{font-size:.86rem;line-height:1.55;margin:.55rem 0 .7rem;color:var(--text)}
.hf-artist-links{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:auto}
.hf-artist-links a{font-size:.76rem;font-weight:700;padding:5px 11px;border-radius:18px;border:1px solid var(--gold-dim);color:var(--gold);text-decoration:none}
.hf-artist-links a.primary{background:var(--gold);color:var(--navy);border-color:var(--gold)}
.hf-artist-links a:hover{background:var(--gold);color:var(--navy)}
@media(max-width:560px){.hf-artist{flex-direction:column}.hf-artist-photo{width:100%;height:auto;aspect-ratio:1/1;max-height:320px}}
.hf-top10{background:var(--card);border:1px solid color-mix(in srgb,var(--gold) 22%,transparent);border-radius:14px;padding:1rem 1rem .75rem;margin-bottom:1.25rem}
.hf-top10-head{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap;margin-bottom:.6rem}
.hf-top10-head h2{font-size:1.05rem;font-weight:800;color:var(--gold)}
.hf-top10-week{font-size:.75rem;color:var(--muted)}
.hf-top10-list{list-style:none;display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:column;grid-template-rows:repeat(5,auto);gap:.35rem 1rem}
@media(max-width:640px){.hf-top10-list{grid-template-columns:1fr;grid-auto-flow:row;grid-template-rows:none}}
.hf-top10-list li{display:flex;align-items:center;gap:.6rem;padding:.35rem .3rem;border-radius:8px;min-width:0}
.hf-top10-list li:hover{background:var(--surface)}
.t10-rank{width:1.6rem;text-align:center;font-weight:900;font-size:1.05rem;color:var(--gold);flex-shrink:0}
.t10-art{width:40px;height:40px;border-radius:8px;object-fit:cover;flex-shrink:0;background:var(--surface);display:grid;place-items:center;font-size:1rem}
.t10-meta{min-width:0;flex:1}
.t10-song{font-weight:700;font-size:.84rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t10-artist{font-size:.74rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t10-move{font-size:.68rem;font-weight:800;flex-shrink:0;min-width:2.2rem;text-align:right}
.t10-up{color:var(--green,#22c55e)}.t10-down{color:var(--red,#ef4444)}.t10-same{color:var(--muted)}.t10-new{color:var(--gold)}
.hf-top10-foot{font-size:.78rem;text-align:right;margin-top:.5rem;color:var(--muted)}
.hf-top10-foot a{color:var(--gold);text-decoration:none;font-weight:700}
/* Site 1.43.0: the Facebook card moved to the top of the left column and is laid
   out like the station's Facebook page (cover, round logo, name, Follow and Share,
   then posts), drawn in the site's own colors. */
.hf-fb{background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden}
.fbp-cover{display:block;aspect-ratio:480/183;background:var(--navy)}
.fbp-cover img{display:block;width:100%;height:100%;object-fit:cover}
.fbp-id{padding:0 .8rem}
.fbp-avatar{display:block;width:60px;height:60px;margin:-30px 0 .35rem;position:relative;border-radius:50%;border:3px solid var(--card);background:var(--navy);object-fit:cover}
.fbp-name{display:block;font-weight:800;font-size:1rem;line-height:1.2;color:var(--text);text-decoration:none;overflow-wrap:anywhere}
.fbp-name:hover{text-decoration:underline}
.fbp-sub{font-size:.72rem;color:var(--muted);line-height:1.3}
.fbp-actions{display:flex;gap:.4rem;padding:.7rem .8rem .8rem;border-bottom:1px solid var(--border)}
.fbp-actions a{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:0 8px;border-radius:8px;font-weight:700;font-size:.8rem;text-decoration:none;transition:background .2s,border-color .2s}
.fbp-actions .ico{width:15px;height:15px;color:currentColor}
.fbp-follow{border:1px solid var(--gold);color:var(--gold)}
.fbp-follow:hover{background:color-mix(in srgb,var(--gold) 12%,transparent)}
.fbp-share{border:1px solid var(--border);color:var(--ink-soft,var(--text))}
.fbp-share:hover{border-color:var(--ink-soft,var(--text))}
.fbp-follow .ico{fill:currentColor;stroke:none}
.hf-fb-list{list-style:none;margin:0;padding:0}
.hf-fb-list[hidden],.hf-fb-blurb[hidden]{display:none}
.fbp-post{padding:.75rem .8rem;border-bottom:1px solid var(--border)}
.fbp-post:last-child{border-bottom:0}
.fbp-post-head{display:flex;align-items:center;gap:.5rem;margin-bottom:.45rem}
.fbp-post-head img{flex:none;width:32px;height:32px;border-radius:50%;object-fit:cover}
.fbp-post-head b{display:block;font-size:.8rem;line-height:1.2;color:var(--text)}
.fbp-time{font-size:.7rem;color:var(--muted);text-decoration:none}
.fbp-time:hover{text-decoration:underline}
.fbp-text{font-size:.8rem;line-height:1.5;color:var(--text);display:-webkit-box;-webkit-line-clamp:6;line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line}
.fbp-more{display:inline-block;margin-top:.35rem;font-size:.74rem;color:var(--ink-soft,var(--text));text-decoration:underline;text-decoration-color:var(--border);text-underline-offset:3px}
.hf-fb-blurb{font-size:.8rem;line-height:1.55;color:var(--muted);padding:.75rem .8rem}
/* ── Live Chat peek card (site 1.6.0) ── */
.chatpeek-list{list-style:none;display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}
.chatpeek-list li{display:flex;gap:8px;align-items:flex-start;font-size:.8rem;line-height:1.4}
.chatpeek-list li div{min-width:0;display:flex;flex-direction:column}
.chatpeek-list li b{font-size:.72rem}
.chatpeek-list li span{color:var(--text);word-break:break-word}
.chatpeek-list li small{color:var(--muted);font-size:.65rem}
.chatpeek-list .cp-empty{color:var(--muted);font-size:.8rem}
.load-fail{color:var(--muted);font-size:.9rem;padding:1rem;border:1px dashed var(--border);border-radius:14px;display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}
/* ══ Overrides that must win on document order — keep these LAST ══════════ */

/* ── Live Chat: bottom sheet below 768px ─────────────────────────────────────
   Reverses the 2026-07-07 "website only" decision. Two states: peek (52dvh,
   enough for a conversation without burying the page) and full. The grabber is
   the affordance that says the header drags. `.mobile-open` finally means
   something — it was toggled in three places with no CSS behind it. */
@media (max-width:767px){
  .chat-panel{
    position:fixed; left:0; right:0; bottom:var(--kb, 0px); z-index:var(--z-sheet,80);
    height:52dvh; min-height:0; max-height:none;
    border-radius:18px 18px 0 0; border-bottom:none;
    transform:translateY(100%);
    transition:transform .28s cubic-bezier(.32,.72,0,1), height .28s cubic-bezier(.32,.72,0,1);
    box-shadow:0 -8px 32px rgba(0,0,0,.5);
  }
  .chat-panel.mobile-open{ transform:translateY(0); }
  .chat-panel.chat-full{ height:calc(100dvh - var(--header-h,64px)); }

  .chat-header{ position:relative; padding-top:1.15rem; cursor:grab; touch-action:none; }
  .chat-header::before{
    content:''; position:absolute; top:7px; left:50%; transform:translateX(-50%);
    width:36px; height:4px; border-radius:2px; background:var(--border);
  }
  .chat-close{ display:block; }

  /* Composer rides above the on-screen keyboard — see the visualViewport
     handler in the chat script; 100dvh alone does not account for it. */
  .chat-input-wrap{
    position:sticky; bottom:0; background:var(--card);
    padding:.75rem .75rem calc(.75rem + var(--safe-b,0px));
  }

  .chat-fab{ display:flex; bottom:calc(16px + var(--safe-b,0px)); }
  body.chat-open .chat-fab{ display:none; }
}

/* Landscape phone: a 52dvh peek is about two messages. Go straight to full. */
@media (max-height:500px) and (orientation:landscape){
  .chat-panel.mobile-open{ height:100dvh; border-radius:0; }
  .chat-header{ padding-top:.55rem; }
  .chat-header::before{ display:none; }
}

/* Unread count on the FAB — the only chat surface visible while it's closed. */
.chat-fab[data-unread]:not([data-unread="0"])::after{
  content:attr(data-unread);
  position:absolute; top:-2px; right:-2px; min-width:20px; height:20px; padding:0 5px;
  border-radius:10px; background:var(--red); color:#fff;
  font-size:.68rem; font-weight:800; display:grid; place-items:center;
}

/* "New messages" pill — shown instead of yanking the view when a message
   arrives while you are reading scrollback. */
.chat-newpill{
  position:absolute; left:50%; transform:translateX(-50%); bottom:70px; z-index:2;
  display:none; border:none; border-radius:999px; cursor:pointer;
  background:var(--gold); color:var(--navy); font-weight:700; font-size:.74rem;
  padding:6px 14px; box-shadow:0 4px 14px rgba(0,0,0,.45);
}
.chat-newpill.show{ display:block; }

/* Message grouping: consecutive messages from one author within 60s drop the
   repeated name and avatar. Roughly a third more messages per screen. */
.chat-msg.grouped{ margin-top:-.32rem; }
.chat-msg.grouped .avatar-xs{ visibility:hidden; }
.chat-msg.grouped .chat-author{ display:none; }

/* Moderation affordance. A visible ⋯ rather than long-press: discoverable,
   and it works with a mouse, a finger and a keyboard without gesture code. */
.chat-bubble{ position:relative; }
.chat-menu-btn{
  position:absolute; top:2px; right:4px; border:none; background:none; cursor:pointer;
  color:var(--muted); font-size:.95rem; line-height:1; padding:2px 4px; border-radius:8px;
  opacity:0; transition:opacity .15s;
}
.chat-msg:hover .chat-menu-btn, .chat-menu-btn:focus-visible{ opacity:.85; }
@media (pointer:coarse){ .chat-menu-btn{ opacity:.55; } }
.chat-menu{
  position:absolute; top:22px; right:4px; z-index:3; min-width:132px;
  background:var(--surface); border:1px solid var(--border); border-radius:10px;
  box-shadow:0 8px 24px rgba(0,0,0,.5); overflow:hidden;
}
.chat-menu button{
  display:block; width:100%; text-align:left; background:none; border:none; cursor:pointer;
  color:var(--text); font-size:.8rem; padding:9px 12px; font-family:inherit;
}
.chat-menu button:hover{ background:var(--card); color:var(--gold); }
.chat-menu button.danger:hover{ color:var(--red-text,#F26363); }
/* ── Touch-specific player controls ──────────────────────────────────────────
   The volume track is 4px tall — a coin flip to grab with a finger, and every
   mobile OS already has hardware volume plus its own slider. Native mobile
   media UIs omit it for exactly this reason. The pop-out is worse: mobile
   browsers ignore window.open's dimensions and just navigate away. */
@media (pointer:coarse){
  .lp-vol{ display:none; }
  .popout-link{ display:none; }
}

/* Landscape phone: the card is a vertical stack tall enough to push the play
   button below the fold when rotated. */
@media (max-height:500px) and (orientation:landscape){
  .lp-art{ width:56px; height:56px; font-size:1.4rem; }
  .lp-play{ width:48px; height:48px; }
}

/* ══ Hero: the player (site 1.8.0) ═══════════════════════════════════════════
   Gold means "live" or "do this" here: the play button, the On Air pill, the
   game-day tag and the dial needle. Everything else is cream-on-navy neutral. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Drawn icons (play / pause / volume) — one stroke, one weight. */
.ic{width:44%;height:44%;fill:currentColor;display:block}
.ic-pause{display:none}
.is-playing .ic-play{display:none}
.is-playing .ic-pause{display:block}
.lp-mute .ic{width:22px;height:22px}
.lp-mute .ic-x{display:none}
.lp-mute.is-muted .ic-waves{display:none}
.lp-mute.is-muted .ic-x{display:block}
.lp-play:focus-visible,.mini-play:focus-visible,.lp-mute:focus-visible,.hero a:focus-visible,.hero .btn:focus-visible{outline:3px solid var(--text);outline-offset:3px}

.hero{width:calc(100% - 2rem);max-width:1168px;margin:1.25rem auto 0;background:var(--card);border:1px solid var(--border);border-radius:18px;overflow:hidden}
/* 1.15.0: React Bits Aurora behind the hero (React island, /js/islands.js). isolation keeps it above the card's own background and under its content. */
.hero{position:relative;isolation:isolate}
.hero-aurora{position:absolute;inset:0;z-index:-1;opacity:.55;pointer-events:none}
@media print{.hero-aurora{display:none}}
.hero-grid{display:grid;grid-template-columns:clamp(150px,17vw,210px) minmax(0,1fr) 270px;grid-template-areas:"art main side";gap:1rem 2rem;align-items:center;padding:1.6rem 1.75rem 1.4rem}
.hero-art{grid-area:art;width:100%;height:auto;aspect-ratio:1/1;border-radius:14px;border:1px solid var(--border);background:var(--surface)}
.hero-art:empty{background:var(--surface) url('/icon-512.png') center/54% no-repeat}
.hero-main{grid-area:main;min-width:0}
.hero-side{grid-area:side;min-width:0;display:flex;flex-direction:column;gap:1.1rem}
.hero-side>*{min-width:0;max-width:100%}

.hero-status{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .8rem;min-height:1.6rem}
.hero .onair-line{padding:0;border:0;background:none}
.hero-mix{font-size:.74rem;font-weight:700;color:var(--muted);border:1px solid var(--border);border-radius:999px;padding:3px 11px}
.hero-mix[hidden],.hero-game[hidden],.hero-next[hidden]{display:none}

.hero-h1{font-size:clamp(1.5rem,3.3vw,2.7rem);line-height:1.08;font-weight:800;letter-spacing:-.02em;text-wrap:balance;margin:.7rem 0 1.25rem;max-width:20ch}
.hero-h1 em{font-style:normal;color:var(--gold)}

.hero-play-row{display:flex;align-items:center;gap:1.1rem}
.hero .lp-play{width:78px;height:78px;flex:none;box-shadow:0 6px 18px rgba(0,0,0,.4)}
.hero-track{min-width:0;flex:1}
.hero .nowplaying{padding:0;border:0}
.hero .np-text{font-size:1.1rem;font-weight:700;line-height:1.3}
.hero .lp-status{text-align:left;margin-top:.2rem;min-height:1.3em}
.hero .lp-vol{max-width:170px;flex:none;gap:4px}
.hero .lp-mute{width:44px;height:44px;display:grid;place-items:center;border-radius:50%}
.hero .lp-mute:hover{color:var(--text)}

.hero-actions{display:flex;align-items:center;gap:1.1rem;margin-top:1.25rem;flex-wrap:wrap}
.hero-actions .btn{min-height:44px;padding:9px 20px;font-size:.9rem}
.popout-link{font-size:.82rem;font-weight:600;color:var(--muted);text-decoration:none;padding:12px 4px}
/* 1.18.0: 👍/👎, sleep timer, data saver — small pills under the play row */
.hero-extras{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-top:.7rem}
.hx{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,.03);color:var(--text);font-family:inherit;font-size:.82rem;font-weight:600;line-height:1;cursor:pointer;text-decoration:none}
.hx:hover{border-color:var(--gold-dim);color:var(--gold)}
.hx svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.hx[aria-pressed="true"]{border-color:var(--gold);background:color-mix(in srgb,var(--gold) 16%,transparent);color:var(--gold)}
.hx-n{font-variant-numeric:tabular-nums;color:var(--muted);font-weight:700}
.hx[aria-pressed="true"] .hx-n{color:var(--gold)}
.hx-sleep{position:relative}
.hx-menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;min-width:150px;padding:6px;border-radius:14px;border:1px solid var(--border);background:var(--card);box-shadow:0 10px 30px rgba(0,0,0,.45)}
.hx-menu button{display:block;width:100%;text-align:left;padding:10px 12px;border:0;border-radius:8px;background:none;color:var(--text);font-family:inherit;font-size:.85rem;font-weight:600;line-height:1;cursor:pointer}
.hx-menu button:hover,.hx-menu button:focus-visible{background:color-mix(in srgb,var(--gold) 14%,transparent);color:var(--gold)}
.hx-link{border-style:dashed}
.popout-link:hover{color:var(--gold)}

.hero-next{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:.8rem 1rem;display:flex;flex-direction:column;gap:.15rem}
.hero-next a{font-weight:700;font-size:.95rem;color:var(--text);text-decoration:none}
.hero-next a:hover{color:var(--gold)}
.hero-next small{font-size:.78rem;color:var(--muted)}
.hero .lp-recent{border:0;padding:0}
.hero .lp-recent li{min-height:30px}

.hero-game{display:flex;align-items:center;gap:.85rem;padding:.7rem 1.75rem;background:color-mix(in srgb,var(--gold) 14%,transparent);border-bottom:1px solid color-mix(in srgb,var(--gold) 32%,transparent);font-size:.92rem}
.hero-game-tag{flex:none;font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;background:var(--gold);color:var(--navy);padding:3px 11px;border-radius:999px}
.hero-game-body{color:var(--text);text-decoration:none;min-width:0}
.hero-game-body:hover{color:var(--gold)}
/* 1.19.0: weather warning or closings strip, same shape as the game-day one */
.hero-storm{display:flex;align-items:center;gap:.85rem;padding:.7rem 1.75rem;background:rgba(239,68,68,.13);border-bottom:1px solid rgba(239,68,68,.35);font-size:.92rem;text-decoration:none;color:var(--text)}
.hero-storm[hidden]{display:none}
.hero-storm:hover{color:#fca5a5}
.hero-storm.mine{background:color-mix(in srgb,var(--gold) 12%,transparent);border-bottom-color:color-mix(in srgb,var(--gold) 35%,transparent)}
.hero-storm.mine:hover{color:var(--gold)}
.hero-storm.mine .hero-game-tag{background:var(--gold);color:var(--navy,#0F1B2D)}
.hero-storm .hero-game-tag{background:#ef4444;color:#fff}
.hero-storm.closings{background:rgba(245,158,11,.12);border-bottom-color:rgba(245,158,11,.35)}
.hero-storm.closings .hero-game-tag{background:#f59e0b;color:var(--navy)}
@media(max-width:767px){ .hero-storm{padding:.65rem 1rem;font-size:.86rem} }

/* The dial: a scale between the two towns on the site's banner, needle set
   between them. Decorative; the real status lives in the player above. */
.hero-dial{display:flex;align-items:center;gap:1rem;padding:.8rem 1.75rem .9rem;border-top:1px solid var(--border);color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.hero-dial span{flex:none}
.hero-dial i{position:relative;flex:1;height:16px;
  background:
    repeating-linear-gradient(90deg,var(--muted) 0 1px,transparent 1px 60px) bottom/100% 16px no-repeat,
    repeating-linear-gradient(90deg,var(--border) 0 1px,transparent 1px 12px) bottom/100% 9px no-repeat}
.hero-dial i::after{content:'';position:absolute;left:58%;bottom:0;width:3px;height:24px;border-radius:2px;background:var(--gold)}

@media(max-width:1023px){
  .hero-grid{grid-template-columns:clamp(130px,22vw,180px) minmax(0,1fr);grid-template-areas:"art main" "side side";gap:1.25rem 1.5rem}
  .hero-side{flex-direction:row;align-items:flex-start;gap:1.25rem}
  .hero-side>*{flex:1;min-width:0}
}

/* Phones: status, headline, then art + play side by side in the thumb zone. */
@media(max-width:767px){
  .hero{margin-top:.75rem}
  .hero-grid{grid-template-columns:84px minmax(0,1fr);grid-template-areas:"status status" "h1 h1" "art play" "actions actions" "extras extras" "side side";gap:.7rem 1rem;padding:1rem 1rem .9rem;align-items:center}
  .hero-main{display:contents}
  .hero-status{grid-area:status}
  .hero-h1{grid-area:h1;font-size:1.55rem;margin:.1rem 0 .3rem;max-width:none}
  .hero-art{grid-area:art}
  .hero-play-row{grid-area:play;gap:.9rem}
  .hero .lp-play{width:72px;height:72px}
  .hero .np-text{font-size:1rem;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .hero-actions{grid-area:actions;margin-top:.1rem}
  .hero-extras{grid-area:extras;margin-top:0}
  .hero-side{grid-area:side;flex-direction:column;gap:.9rem}
  .hero-game{padding:.65rem 1rem;font-size:.86rem}
  .hero-dial{padding:.65rem 1rem .75rem;font-size:.64rem}
}
@media(pointer:coarse){ .hero .lp-vol{display:none} }
@media(max-height:500px) and (orientation:landscape){
  .hero-art{width:100%}
  .hero-h1{margin-bottom:.6rem}
}
@media(prefers-reduced-motion:reduce){ .hero *{transition:none !important} }
.mini-play .ic{width:46%;height:46%}

/* ══ Type roles (site 1.8.0) ═════════════════════════════════════════════════
   Two voices. DISPLAY (Big Shoulders Display, condensed signage gothic): the
   hero headline, section titles, the chart ranks and the artist name — the
   places the station speaks. TEXT (system-ui): everything people read or
   operate. The face is condensed, so display sizes run larger than a normal
   sans would, and weights stay 700+ so the strokes hold on navy. */
.hero-h1,.hf-top10-head h2,.hf-fb-head h2,.hf-artist-name,.ens-title,.t10-rank,.hero-game-tag{font-family:var(--font-display);font-synthesis:none}
.hero-h1{font-size:clamp(2.35rem,5.6vw,4rem);line-height:.98;font-weight:800;letter-spacing:.004em;max-width:none;margin:.6rem 0 1.3rem}
.hero-h1 em{font-weight:900}
.hf-top10-head h2,.hf-fb-head h2{font-size:1.65rem;font-weight:800;line-height:1.05;letter-spacing:.01em}
.hf-artist-name{font-size:2rem;font-weight:800;line-height:1;letter-spacing:.01em}
.ens-title{font-size:1.15rem;font-weight:800;letter-spacing:.05em}
.t10-rank{font-size:1.5rem;font-weight:800;width:2rem;font-variant-numeric:tabular-nums}
.hero-game-tag{font-size:.9rem;font-weight:800;letter-spacing:.09em;padding:2px 12px}
.hero .np-text{font-size:1.15rem;line-height:1.3}
@media(max-width:767px){
  .hero-h1{font-size:min(2.2rem,9.1vw);margin:.1rem 0 .35rem;max-width:none}
}

/* ══ Color roles (site 1.8.0) ════════════════════════════════════════════════
   Navy is the ground. Gold now means exactly two things on this page: LIVE
   (the On Air pill's neighbour, the game-day tag, the dial needle, the play
   button) and DO THIS (the play button, submit buttons in the sign-in and
   request dialogs). Headings are cream, secondary
   actions are quiet outlines, links are underlined cream. The hero headline's
   last line is the one decorative use: "live from Clarks" is the live claim.
   --ink-soft is the cream used where gold used to be; 9:1 on --card. */
:root{--ink-soft:#C9D4E3}
.ico{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;color:var(--ink-soft)}
.ico-lg{width:26px;height:26px}
.ico-xl{width:44px;height:44px;color:var(--muted)}
.hf-top10-head h2,.hf-fb-head h2,.modal-title{display:flex;align-items:center;gap:.55rem}
.modal-title .ico{width:20px;height:20px}
.feed-empty-icon{display:flex;justify-content:center}

.teaser-card h4,
.hf-top10-head h2,.ens-title,.modal-title,.t10-rank,.t10-new,.ens-date-day{color:var(--text)}
.hf-kicker{color:var(--muted)}

/* Cards that carried a gold hairline are plain neutral edges now. */
.ens,.hf-artist,.hf-top10{border-color:var(--border)}
.ens-header{background:rgba(255,255,255,.03);border-bottom-color:var(--border)}
.ens-footer{background:none;border-top-color:var(--border)}

/* Links: cream, underlined, no gold. */
.ens-allnews,.ens-footer a,.hf-top10-foot a,.lp-recent-head a,.login-prompt a,.chat-login-note a{color:var(--ink-soft);text-decoration:underline;text-decoration-color:var(--border);text-underline-offset:3px}
.ens-allnews:hover,.ens-footer a:hover,.hf-top10-foot a:hover,.lp-recent-head a:hover,.login-prompt a:hover,.chat-login-note a:hover{color:var(--text);text-decoration-color:var(--ink-soft)}

/* Secondary actions are quiet outlines; the single gold button per view is
   the one you should press. */
.btn-outline,.hf-artist-links a,.app-cta,.digest-row button{background:transparent;color:var(--text);border:1px solid var(--border)}
.btn-outline:hover,.hf-artist-links a:hover,.app-cta:hover,.digest-row button:hover{background:var(--surface);color:var(--text);border-color:var(--ink-soft)}
.hf-artist-links a.primary{background:var(--gold);color:var(--navy);border-color:var(--gold)}
.hf-artist-links a.primary:hover{background:#e6bc5a;color:var(--navy)}
.digest-row button{background:var(--surface)}
.app-cta{padding:9px 14px}
.popout-link:hover{color:var(--text)}
.ens-title,.ens-allnews{white-space:nowrap}

/* ══ Distilled (site 1.8.0) ══════════════════════════════════════════════════
   One rail card in place of three boxes; the Top 10 is five rows; buttons no
   longer glow gold on hover (gold is for live and the one primary action). */
.rail{background:var(--card);border:1px solid var(--border);border-radius:14px}
.rail-sec{padding:1rem 1.05rem}
.rail-sec+.rail-sec{border-top:1px solid var(--border)}
.rail-sec h3{display:flex;align-items:center;gap:8px;font-size:.95rem;font-weight:700;color:var(--text);margin-bottom:.45rem}
.rail-sec p{font-size:.8rem;line-height:1.5;color:var(--muted);margin-bottom:.65rem}
.rail-link{display:inline-block;font-size:.85rem;font-weight:600;color:var(--ink-soft);text-decoration:underline;text-decoration-color:var(--border);text-underline-offset:3px;padding:6px 0}
.rail-link:hover{color:var(--text);text-decoration-color:var(--ink-soft)}
/* 1.101.0: Message the station (Brick Team, Ask the team) under Live chat */
.rail-sec p.rail-ask{margin:.5rem 0 .55rem;color:var(--muted)}
.rail-ask-btn{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border-radius:999px;border:1px solid var(--gold-dim);color:var(--gold);font-size:.84rem;font-weight:700;text-decoration:none}
.rail-ask-btn:hover{border-color:var(--gold);background:color-mix(in srgb,var(--gold) 10%,transparent)}
.rail-ask-btn:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.rail .chatpeek-list{margin-bottom:.4rem}

/* ══ Daily show advertising (site 1.33.0) ════════════════════════════════════
   Today's hosted shows from /api/schedule, above Live chat. Shows that have
   ended drop off; once the day is done it advertises tomorrow's lineup.
   AzuraCast-only music blocks and promo playlists are not shows, so they are
   left out. Hidden when there is nothing to advertise. */
.dsa{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:1rem 1.05rem}
.dsa[hidden]{display:none}
.dsa-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:.7rem}
.dsa-head h3{font-size:.95rem;font-weight:700;color:var(--text)}
.dsa-day{font-size:.74rem;color:var(--muted);white-space:nowrap}
.dsa-list{list-style:none;display:flex;flex-direction:column;gap:.55rem}
.dsa-item{display:flex;gap:10px;align-items:center;min-width:0}
.dsa-art{width:48px;height:48px;border-radius:10px;flex:none;overflow:hidden;background:var(--surface);border:1px solid var(--border);display:grid;place-items:center;color:var(--gold);font-weight:800;font-size:.9rem;text-decoration:none}
.dsa-art img{width:100%;height:100%;object-fit:cover;display:block}
.dsa-body{min-width:0;flex:1}
.dsa-title{display:block;font-size:.86rem;font-weight:700;line-height:1.3;color:var(--text);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
a.dsa-title:hover{text-decoration:underline;text-underline-offset:3px}
.dsa-meta{font-size:.74rem;line-height:1.4;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dsa-live{display:inline-block;margin-right:6px;padding:1px 7px;border-radius:999px;background:var(--gold);color:var(--navy);font-size:.64rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;vertical-align:1px}
.dsa-item.is-live .dsa-art{border-color:var(--gold)}
/* 1.90.0: the show on air now stands out, with its own Listen live button. */
.dsa-item.is-live{padding:8px;margin:0 -8px;border:1px solid var(--gold);border-radius:12px;background:color-mix(in srgb,var(--gold) 9%,transparent)}
.dsa-listen{flex:none;display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border:0;border-radius:999px;background:var(--gold);color:var(--navy);font:inherit;font-size:.74rem;font-weight:800;cursor:pointer}
.dsa-listen:hover,.dsa-listen:focus-visible{background:#d8b95c}
/* 1.90.0: one "See more" button style for every homepage section. */
a.see-more,a.see-more:visited{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid color-mix(in srgb,var(--gold) 55%,transparent);border-radius:999px;background:transparent;color:var(--gold);font-weight:700;font-size:.78rem;line-height:1.2;text-decoration:none;white-space:nowrap}
a.see-more:hover,a.see-more:focus-visible{background:var(--gold);border-color:var(--gold);color:var(--navy);text-decoration:none}
a.see-more svg{width:12px;height:12px}
.dsa-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:.55rem;flex-wrap:wrap}
.dsa-more{font-size:.74rem;color:var(--muted)}
.hf-top10-list{grid-template-columns:1fr;grid-auto-flow:row;grid-template-rows:none}
#page-wrapper .btn:hover,.hero .btn:hover{box-shadow:none;transform:none}

/* ══ Quieter (site 1.8.0) ════════════════════════════════════════════════════
   One thing moves on this page, and only while it means something: the LIVE dot
   pulses while the stream is actually playing. Everything else is still. */
.lp-live-dot,.mini-live-dot,.onair-dot{animation:none}
.hero:has(.lp-play.is-playing) .lp-live-dot,
.mini-player:has(.mini-play.is-playing) .mini-live-dot{animation:lppulse 1.8s ease-in-out infinite}
.hero .lp-play{box-shadow:0 4px 12px rgba(0,0,0,.3)}
.hero .lp-play:hover{transform:none}

/* ══ Touch targets (site 1.8.0) ══════════════════════════════════════════════
   44px minimum on touch screens. Small inline controls keep their look and get
   a bigger hit area instead of a bigger box. */
.mini-meta{align-self:stretch;display:flex;flex-direction:column;justify-content:center}
@media(pointer:coarse){
  .btn-sm,.digest-row button,.digest-row input,.modal-tab{min-height:44px}
  .rail-link,.ens-allnews,.ens-footer a,.lp-recent-head a,.hf-top10-foot a{display:inline-flex;align-items:center;min-height:44px}
  .ens-footer a{justify-content:center}
  .modal-close{min-width:44px;min-height:44px;margin:-10px -10px 0 0}
  .rp-req{position:relative}
  .rp-req::after{content:'';position:absolute;inset:-10px -6px}
  .lp-recent li{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.hero:has(.lp-play.is-playing) .lp-live-dot,.mini-player:has(.mini-play.is-playing) .mini-live-dot{animation:none}}
@media(max-width:520px){.ens-sub{display:none}}

/* ══ Eagle Nest Moment — the page's peak (site 1.8.0) ════════════════════════
   Same two voices as the hero (display gothic + system text), same neutral
   ground. What changes is scale and pace: the newest item leads as a
   scoreboard-style date and a display-size headline; the rest stay a quiet,
   dense list so the lead reads as the peak of the scroll. */
.ens-header{padding:1rem 1.25rem .9rem}
.ens-title{font-size:1.9rem;line-height:1;letter-spacing:.03em;gap:.65rem}
.ens-title svg{width:26px;height:26px}
.ens-sub{font-family:system-ui,-apple-system,sans-serif;font-size:.8rem;letter-spacing:0;font-weight:500}
.ens-date-day{font-family:var(--font-display);font-size:1.5rem;font-weight:800;line-height:1}
.ens-date{width:46px}
.ens-date-mon{text-transform:uppercase;letter-spacing:.1em;font-weight:700}
.ens-lead{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.4rem;padding:1.5rem 1.25rem 1.6rem;background:var(--surface)}
.ens-lead:hover{background:var(--surface)}
.ens-lead .ens-date{width:auto;min-width:80px;text-align:left;padding-top:.15rem}
.ens-lead .ens-date-day{font-size:4.6rem;line-height:.82;letter-spacing:-.01em}
.ens-lead .ens-date-mon{font-size:.85rem;letter-spacing:.16em;margin-top:.5rem;color:var(--muted)}
.ens-lead .ens-tag{margin-bottom:.45rem}
.ens-lead .ens-headline{font-family:var(--font-display);font-size:clamp(1.8rem,3.6vw,2.5rem);line-height:1.04;font-weight:800;letter-spacing:.005em;text-wrap:balance}
.ens-lead .ens-detail{font-size:.92rem;line-height:1.55;margin-top:.6rem;color:var(--ink-soft);max-width:62ch;-webkit-line-clamp:3}
@media(max-width:560px){
  .ens-lead{gap:1rem;padding:1.2rem 1rem 1.3rem}
  .ens-lead .ens-date{min-width:58px}
  .ens-lead .ens-date-day{font-size:3.4rem}
  .ens-title{font-size:1.55rem}
}

/* ══ 1.89.0: the player card, laid out like Brick Cast's player ═════════════
   Headline on the left, the player card on the right; stacked on tablets and
   phones. Colours come from the site's tokens, so the light look and the
   holiday skins recolour it too. */
.hero-grid.bcg{grid-template-columns:minmax(0,1fr) minmax(0,460px);grid-template-areas:"main card";gap:1.25rem 2rem;align-items:center}
.hero-grid.bcg .hero-main{grid-area:main;display:block;min-width:0}
.hero-grid.bcg .hero-side{margin-top:.25rem;flex-direction:column}
.bcp{grid-area:card;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:.85rem;background:var(--card);border:1px solid var(--border);border-radius:16px;padding:1.15rem 1.2rem;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.bcp-head{display:flex;align-items:center;gap:.6rem}
.bcp-name{margin:0;font-size:1.12rem;font-weight:700;line-height:1.25;flex:1;min-width:0;color:var(--text)}
.bcp-tag{margin:-.55rem 0 0;font-size:.86rem;color:var(--muted)}
.bcp-np{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:.9rem;align-items:center}
.hero .bcp-art{grid-area:auto;width:72px;height:72px;aspect-ratio:auto;border-radius:12px;font-size:1.5rem}
.hero .bcp-art:empty{background:var(--surface) url('/icon-192.png') center/62% no-repeat}
.bcp-meta{min-width:0}
.bcp-title{font-weight:700;font-size:1.02rem;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--text)}
.bcp-artist{font-size:.88rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bcp-eq{display:flex;gap:3px;align-items:flex-end;height:22px}
.bcp-eq i{width:4px;height:5px;border-radius:2px;background:var(--gold);opacity:.45}
.bcp.is-playing .bcp-eq i{opacity:1;animation:bcpeq 1s ease-in-out infinite}
.bcp-eq i:nth-child(2){animation-delay:-.4s}.bcp-eq i:nth-child(3){animation-delay:-.7s}.bcp-eq i:nth-child(4){animation-delay:-.2s}.bcp-eq i:nth-child(5){animation-delay:-.55s}
@keyframes bcpeq{0%,100%{height:5px}50%{height:22px}}
.bcp-tools{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;font-size:.82rem;color:var(--muted)}
.bcp-ib{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:38px;height:38px;padding:0 9px;border-radius:10px;border:1px solid var(--border);background:transparent;color:var(--muted);font:inherit;font-weight:700;cursor:pointer}
.bcp-ib svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bcp-ib:hover{color:var(--gold);border-color:var(--gold-dim)}
.bcp-ib[aria-pressed="true"]{color:var(--gold);border-color:var(--gold);background:color-mix(in srgb,var(--gold) 14%,transparent)}
.bcp-ib:disabled{opacity:.45;cursor:default}
.bcp-find{display:inline-flex;gap:.55rem;flex-wrap:wrap;align-items:center}
.bcp-find[hidden]{display:none}
.bcp-find a{color:var(--gold);text-decoration:none;font-weight:600}
.bcp-find a:hover{text-decoration:underline}
.bcp-track{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.6rem;align-items:center;font-size:.76rem;color:var(--muted);font-variant-numeric:tabular-nums}
.bcp-track[hidden]{display:none}
.bcp-meter{height:6px;border-radius:99px;background:var(--surface);overflow:hidden}
.bcp-meter span{display:block;height:100%;width:0;border-radius:inherit;background:var(--gold);transition:width .95s linear}
.bcp-controls{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;padding-top:.85rem;border-top:1px solid var(--border)}
.hero .bcp .lp-play{width:56px;height:56px;flex:none;box-shadow:none}
.bcp-select{flex:1;min-width:0;min-height:44px;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:0 .75rem;font:inherit;font-size:.86rem}
.bcp-select:focus-visible{outline:3px solid var(--text);outline-offset:2px}
.hero .bcp .lp-vol{grid-column:1/-1;width:100%;max-width:240px}
.hero .bcp-status{margin:-.45rem 0 0;text-align:left;font-size:.8rem}
.bcp-actions{display:flex;flex-wrap:wrap;gap:.3rem .35rem}
.bcp-btn{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 .7rem;border-radius:9px;border:0;background:transparent;color:var(--muted);font:inherit;font-size:.82rem;font-weight:600;line-height:1;cursor:pointer;text-decoration:none}
.bcp-btn svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bcp-btn:hover,.bcp-btn[aria-expanded="true"],.bcp-btn[aria-pressed="true"]{background:var(--surface);color:var(--gold)}
.bcp-btn:focus-visible,.bcp-ib:focus-visible{outline:3px solid var(--text);outline-offset:2px}
.bcp .bcp-req{background:var(--gold);color:var(--navy)}
.bcp .bcp-req:hover{background:#e6bc5a;color:var(--navy)}
.bcp .cast-btn{min-height:38px}
.bcp-panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:.75rem .9rem;display:grid;gap:.5rem;font-size:.86rem}
.bcp-panel[hidden]{display:none}
.bcp-panel .lp-recent{padding:0;border:0;background:none}
.bcp-panel .lp-recent:not([hidden]) + .bcp-empty{display:none}
.bcp-empty,.bcp-small{margin:0;font-size:.8rem;color:var(--muted)}
.bcp-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.bcp-time{min-height:38px;background:var(--card);color:var(--text);border:1px solid var(--border);border-radius:9px;padding:0 .6rem;font:inherit}
@media(max-width:1023px){
  .hero-grid.bcg{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "card"}
  .hero-grid.bcg .hero-side{flex-direction:row}
}
@media(max-width:767px){
  .hero-grid.bcg{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "card";gap:.8rem;padding:1rem 1rem .9rem}
  .hero-grid.bcg .hero-main{display:block}
  .hero-grid.bcg .hero-side{flex-direction:column;margin-top:.5rem}
  .bcp{padding:1rem}
  .bcp-tag{display:none}
}
@media(prefers-reduced-motion:reduce){.bcp.is-playing .bcp-eq i{animation:none;height:14px}}
/* 1.92.0: one card look for the homepage sections (one radius, a gold-tinted
   1 px line and a faint top highlight instead of a heavy shadow). */
.ens,.hf-artist,.hf-top10,.post-card,.dsa,.tb-band,.oad-card{border-radius:var(--r-md,14px);box-shadow:inset 0 1px 0 var(--text-hi,rgba(255,255,255,.05))}
.dsa{border-color:var(--gold-line,rgba(201,168,76,.22))}

/* 1.106.0: Skip to the player */
.skip-link{position:absolute;left:12px;top:-60px;z-index:4000;background:var(--gold,#C9A84C);color:var(--navy,#0F1B2D);font-weight:700;padding:10px 14px;border-radius:8px;text-decoration:none}
.skip-link:focus{top:12px}
