#station-ticker{--ticker-bg:#171222;--ticker-ink:#f8f6fa;--ticker-accent:#d5f476;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:stretch;width:100%;min-height:104px;color:var(--ticker-ink);background:var(--ticker-bg);border-bottom:2px solid var(--ticker-accent)}
#station-ticker[data-mode="breaking"]{--ticker-bg:#ffdb43;--ticker-ink:#231700;--ticker-accent:#231700}
#station-ticker .station-ticker-logo{display:grid;place-items:center;width:clamp(120px,19vw,286px);padding:.65rem clamp(.35rem,1.3vw,1.1rem);background:#221832;border-inline-end:1px solid #ffffff25}
.station-ticker-logo img{display:block;width:100%;height:auto;max-height:74px;object-fit:contain}
#station-ticker .station-ticker-item{display:flex;align-items:center;gap:clamp(.45rem,2vw,1.2rem);min-width:0;padding:.5rem clamp(.5rem,2.1vw,1.55rem);color:var(--ticker-ink);text-decoration:none}
#station-ticker .station-ticker-item[href]:hover .station-ticker-message{text-decoration:underline;text-underline-offset:3px}
.station-ticker-tag{flex:none;padding:.32rem .55rem;border:1px solid var(--ticker-accent);border-radius:.2rem;color:var(--ticker-accent);font-size:clamp(.56rem,1.1vw,.76rem);line-height:1.15;font-weight:850;letter-spacing:.07em}
#station-ticker[data-mode="live"] .station-ticker-tag{--ticker-accent:#ffa1b5}
#station-ticker[data-mode="breaking"] .station-ticker-tag{background:#231700;color:#ffdb43}
.station-ticker-message{min-width:0;overflow-wrap:anywhere;line-height:1.25;font-size:clamp(.8rem,1.5vw,1.05rem);font-weight:750}
.station-ticker-arrow{flex:none;color:var(--ticker-accent)}
.station-ticker-clock{display:grid;align-content:center;justify-items:end;gap:.12rem;padding:.4rem clamp(.45rem,2vw,1.4rem);border-inline-start:1px solid #d5f47650;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.12}
.station-ticker-clock span{font-size:.68rem}
.station-ticker-clock time{font-size:clamp(.95rem,2vw,1.4rem);font-weight:850}
#station-ticker a:focus-visible{outline:2px solid var(--ticker-accent);outline-offset:-3px}
html[data-djf-station] body>header.station-home-nav{min-height:0;gap:.5rem 1rem}
@media(max-width:620px){
 #station-ticker{min-height:82px}
 #station-ticker .station-ticker-logo{width:clamp(96px,25vw,140px)}
 #station-ticker .station-ticker-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.18rem .3rem}
 .station-ticker-tag{justify-self:start;grid-column:1;padding:.12rem .27rem;white-space:normal}
 .station-ticker-message{grid-column:1}
 .station-ticker-arrow{grid-column:2;grid-row:1/3}
 .station-ticker-clock span{font-size:.58rem}
}
@media(prefers-reduced-motion:no-preference){#station-ticker{transition:background-color .19s,color .19s}}

/* Keep the ticker columns fixed while the logo uses more of its own panel. */
#station-ticker .station-ticker-logo {
  --logo-reclaim: clamp(.15rem, 1vw, .85rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  background: radial-gradient(ellipse at 18% 55%, #543675, transparent 75%), #221832;
}
#station-ticker .station-logo-lockup {
  position: relative;
  display: block;
  width: calc(100% + var(--logo-reclaim) + var(--logo-reclaim));
}
#station-ticker .station-ticker-logo img {
  filter: drop-shadow(0 3px 6px #100719);
}
#station-ticker .station-ticker-logo::before,
#station-ticker .station-ticker-logo::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
#station-ticker .station-ticker-logo::before {
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, #9d64df70, transparent 75%);
  opacity: .35;
}
#station-ticker .station-ticker-logo::after {
  inset: 0 auto 0 -65%;
  width: 60%;
  background: linear-gradient(108deg, transparent 20%, #e8ceff55 52%, #d7f87942 65%, transparent 85%);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  #station-ticker .station-ticker-logo::before { animation: station-logo-glow 4.8s ease-in-out infinite; }
  #station-ticker .station-ticker-logo::after { animation: station-logo-light 7s ease-in-out infinite; }
}
@keyframes station-logo-glow {
  0%, 100% { opacity: .24; }
  46% { opacity: .92; }
}
@keyframes station-logo-light {
  0%, 42% { transform: translateX(0); opacity: 0; }
  49% { opacity: .83; }
  68%, 100% { transform: translateX(290%); opacity: 0; }
}

/* Decorations are anchored to the square F mark within the logo. */
.station-logo-season { display: none; }
#station-ticker[data-logo-season] .station-logo-season {
  display: block;
  position: absolute;
  inset: 0 auto 0 0;
  width: 23.6%;
  pointer-events: none;
  z-index: 1;
}
.station-logo-season i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(3px, .42vw, 7px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--light);
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}
.station-logo-season i:nth-child(1) { --x: 4%; --y: 7%; --light: #ff6a82; --delay: 0s; }
.station-logo-season i:nth-child(2) { --x: 24%; --y: -3%; --light: #ffdf71; --delay: -.7s; }
.station-logo-season i:nth-child(3) { --x: 46%; --y: -5%; --light: #9af9aa; --delay: -1.4s; }
.station-logo-season i:nth-child(4) { --x: 69%; --y: -3%; --light: #8edaff; --delay: -2.1s; }
.station-logo-season i:nth-child(5) { --x: 89%; --y: 7%; --light: #ffa2ee; --delay: -2.8s; }
[data-logo-season="christmas"] .station-logo-season::before {
  content: "";
  position: absolute;
  right: -2%;
  bottom: -5%;
  width: 29%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 26%, #fff8f3 0%, #ffc0cf 16%, #f83f65 34%, #920b3c 75%);
  box-shadow: 0 0 8px #f83f6590;
  transform-origin: 50% 0;
}
[data-logo-season="christmas"] .station-logo-season::after {
  content: "";
  position: absolute;
  right: 7%;
  bottom: 23%;
  width: 11%;
  height: 7%;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #a76b27, #ffe891, #b27b29);
}
[data-logo-season="new-year"] .station-logo-season i {
  width: clamp(4px, .62vw, 10px);
  border-radius: 0;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  background: #ffe59a;
}
[data-logo-season="new-year"] .station-logo-season i:nth-child(even) { background: #fff5dc; }
[data-logo-season="new-year"] .station-logo-season i:nth-child(5) { --x: 91%; --y: 86%; }
@media (prefers-reduced-motion: no-preference) {
  .station-logo-season i {
    animation: station-season-twinkle 4.2s ease-in-out var(--delay) infinite;
  }
  [data-logo-season="christmas"] .station-logo-season::before {
    animation: station-bauble-rock 4.8s ease-in-out infinite;
  }
  [data-logo-season="new-year"] .station-logo-season i { animation-name: station-new-year-glint; }
}
@keyframes station-season-twinkle {
  0%, 100% { opacity: .48; }
  42% { opacity: 1; transform: scale(1.13); }
}
@keyframes station-bauble-rock {
  0%, 100% { transform: rotate(-8deg) translateX(-6%); }
  50% { transform: rotate(8deg) translateX(6%); }
}
@keyframes station-new-year-glint {
  0%, 100% { opacity: .45; transform: scale(.85); }
  42% { opacity: 1; transform: scale(1.5) rotate(25deg); }
}

/* Keep the festive props inside the F tile and clear of the wordmark. */
.station-logo-season :is(.station-logo-hat,.station-logo-santa,.station-logo-party,.station-logo-fountain) { display:none; }
[data-logo-season="christmas"] .station-logo-season :is(.station-logo-hat,.station-logo-santa),
[data-logo-season="new-year"] .station-logo-season :is(.station-logo-hat,.station-logo-party,.station-logo-fountain) {
  display:block;
  position:absolute;
}
.station-logo-hat {
  left:0;
  top:-16%;
  width:58%;
  height:45%;
  transform:rotate(-17deg);
  transform-origin:30% 85%;
}
.station-logo-hat::before,.station-logo-hat::after { content:""; position:absolute; }
.station-logo-hat::before {
  inset:1% 8% 12%;
  background:linear-gradient(125deg,#ff849c,#f22349 48%,#830b38);
  clip-path:polygon(5% 90%,39% 18%,60% 0,85% 13%,100% 52%,78% 44%,64% 90%);
}
.station-logo-hat::after {
  inset:auto 24% 4% 2%;
  height:23%;
  border-radius:1em;
  background:linear-gradient(#fff,#e4dcfe);
  box-shadow:0 2px 3px #24113390;
}
[data-logo-season="christmas"] .station-logo-hat {
  background:radial-gradient(circle at 88% 43%,#fff 0 9%,transparent 11%);
}
.station-logo-santa,.station-logo-party {
  right:-2%;
  bottom:-5%;
  font-size:clamp(11px,1.8vw,28px);
  line-height:1;
  filter:drop-shadow(0 2px 2px #190c30);
}
.station-logo-santa { right:-4%; bottom:21%; z-index:2; }
[data-logo-season="new-year"] .station-logo-hat::before {
  background:repeating-linear-gradient(133deg,#fbd37b 0 17%,#ac5bfa 18% 34%);
  clip-path:polygon(11% 93%,49% 4%,89% 93%);
}
[data-logo-season="new-year"] .station-logo-hat::after { background:#ffe9a8; height:12%; }
.station-logo-fountain {
  inset:3% 3% auto auto;
  width:47%;
  aspect-ratio:1;
  background:conic-gradient(from 6deg,#fff1ad 0 6deg,transparent 7deg 57deg,#fc8ddc 58deg 64deg,transparent 65deg 117deg,#75ddff 118deg 124deg,transparent 125deg 177deg,#ffe180 178deg 184deg,transparent 185deg 237deg,#a4f6c0 238deg 244deg,transparent 245deg 297deg,#c59bff 298deg 304deg,transparent 305deg);
  mask-image:radial-gradient(circle,transparent 16%,#000 29% 56%,transparent 67%);
  opacity:.75;
}
#station-ticker[data-logo-season] .station-logo-season i { z-index:3; }
[data-logo-season="new-year"] .station-logo-season i { background:var(--light); }
@media (prefers-reduced-motion:no-preference) {
  #station-ticker[data-logo-season] .station-logo-season i {
    animation:station-finale-lights 4.1s linear var(--delay) infinite;
  }
  #station-ticker[data-logo-season] .station-ticker-logo::before {
    animation:station-finale-wash 6s ease-in-out infinite;
  }
  .station-logo-santa { animation:station-santa-peek 6.3s ease-in-out infinite; }
  .station-logo-party { animation:station-party-pop 5.2s ease-in-out infinite; }
  .station-logo-fountain { animation:station-party-fountain 5.2s ease-out infinite; }
}
@keyframes station-finale-lights {
  0%,100% { filter:hue-rotate(0deg); transform:scale(.85); opacity:.72; }
  25% { filter:hue-rotate(90deg); transform:scale(1.34); opacity:1; }
  50% { filter:hue-rotate(180deg); transform:scale(.95); opacity:.8; }
  75% { filter:hue-rotate(270deg); transform:scale(1.28); opacity:1; }
  100% { filter:hue-rotate(360deg); }
}
@keyframes station-finale-wash {
  0%,100% { opacity:.4; filter:hue-rotate(0deg); }
  50% { opacity:1; filter:hue-rotate(145deg); }
}
@keyframes station-santa-peek {
  0%,100% { transform:translate(-13%,12%) rotate(-9deg) scale(.8); }
  34%,63% { transform:translateY(-13%) rotate(9deg) scale(1.08); }
}
@keyframes station-party-pop {
  0%,100% { transform:rotate(-12deg) scale(.82); }
  28%,48% { transform:translateY(-12%) rotate(12deg) scale(1.16); }
}
@keyframes station-party-fountain {
  0%,100% { opacity:.25; transform:rotate(0) scale(.68); }
  35% { opacity:1; transform:rotate(34deg) scale(1.15); }
  75% { opacity:.45; transform:rotate(60deg) scale(1.25); }
}

.djf-christmas-emotes { display: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-logo-season="christmas"] .station-logo-season .djf-christmas-emotes {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
  }
  [data-logo-season="christmas"] .station-logo-season .station-logo-santa { display: none; }
  .djf-christmas-emotes > span {
    position: absolute;
    right: 3%;
    bottom: 9%;
    opacity: 0;
    font: clamp(11px,1.8vw,25px)/1 "Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;
    filter: drop-shadow(0 1px 2px #1f102c);
    animation: djf-christmas-emote-slot 24s ease-in-out var(--emote-delay) infinite both;
  }
}
@keyframes djf-christmas-emote-slot {
  0%, 9.2%, 100% { opacity: 0; transform: translateY(28%) scale(.66); }
  2.4%, 6.6% { opacity: 1; transform: translateY(0) scale(1); }
}
