:root{
  --ks-radio-top-height:40px;
  --ks-radio-gold:#c99d20;
  --ks-radio-dark:#5f4309;
  --ks-radio-soft:#fff8df;
  --ks-radio-border:rgba(201,157,32,.34);
}
body.ks-has-scroll-radio{
  padding-top:var(--ks-radio-top-height);
}

/* Keep sticky page headers under the fixed radio bar. */
body.ks-has-scroll-radio header{
  top:var(--ks-radio-top-height) !important;
}

.ks-radio-scroll-player{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:9990;
  height:var(--ks-radio-top-height);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px 12px;
  background:linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,248,223,.97), rgba(255,255,255,.96));
  border-bottom:1px solid var(--ks-radio-border);
  box-shadow:0 8px 24px rgba(86,59,7,.10);
  backdrop-filter:blur(16px);
}
.ks-radio-scroll-inner{
  width:min(1180px,100%);
  height:30px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:4px 10px;
  border:1px solid rgba(201,157,32,.22);
  border-radius:999px;
  background:rgba(255,255,255,.72);
}
.ks-radio-scroll-live{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#12823f;
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  white-space:nowrap;
}
.ks-radio-scroll-live span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#18b957;
  box-shadow:0 0 0 4px rgba(24,185,87,.13);
}
.ks-radio-scroll-play,
.ks-radio-scroll-mute{
  appearance:none;
  border:0;
  cursor:pointer;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.ks-radio-scroll-play{
  width:26px;
  height:26px;
  border-radius:50%;
  color:#fff;
  background:linear-gradient(135deg, #d4af37, #a77708);
  box-shadow:0 8px 18px rgba(164,117,18,.20);
  font-size:13px;
  font-weight:900;
}
.ks-radio-scroll-play:hover,
.ks-radio-scroll-mute:hover{transform:translateY(-1px)}
.ks-radio-scroll-player.is-playing .ks-radio-scroll-play{background:linear-gradient(135deg, #12823f, #18b957)}
.ks-radio-scroll-info{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--ks-radio-dark);
  overflow:hidden;
  font-size:13px;
  line-height:1;
}
.ks-radio-scroll-info strong{
  font-weight:950;
  letter-spacing:.02em;
  color:#7a5509;
  white-space:nowrap;
}
.ks-radio-scroll-info span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#3f2d07;
  font-weight:800;
}
.ks-radio-scroll-meter{
  display:flex;
  align-items:flex-end;
  gap:3px;
  height:18px;
  width:25px;
  flex:0 0 auto;
}
.ks-radio-scroll-meter i{
  width:3px;
  height:6px;
  border-radius:4px;
  background:var(--ks-radio-gold);
  opacity:.75;
}
.ks-radio-scroll-player.is-playing .ks-radio-scroll-meter i:nth-child(1){animation:ksRadioBeat .72s infinite ease-in-out}
.ks-radio-scroll-player.is-playing .ks-radio-scroll-meter i:nth-child(2){animation:ksRadioBeat .82s infinite ease-in-out .08s}
.ks-radio-scroll-player.is-playing .ks-radio-scroll-meter i:nth-child(3){animation:ksRadioBeat .68s infinite ease-in-out .15s}
.ks-radio-scroll-player.is-playing .ks-radio-scroll-meter i:nth-child(4){animation:ksRadioBeat .9s infinite ease-in-out .04s}
@keyframes ksRadioBeat{0%,100%{height:6px}50%{height:17px}}
.ks-radio-scroll-mute{
  width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  border:1px solid rgba(201,157,32,.22);
  font-size:13px;
}
.ks-radio-scroll-volume{
  width:96px;
  accent-color:var(--ks-radio-gold);
}
@media (max-width:760px){
  :root{--ks-radio-top-height:52px}
  
/* Keep sticky page headers under the fixed radio bar. */
body.ks-has-scroll-radio header{
  top:var(--ks-radio-top-height) !important;
}

.ks-radio-scroll-player{padding:6px 8px}
  .ks-radio-scroll-inner{height:40px;gap:7px;padding:5px 8px}
  .ks-radio-scroll-live{font-size:10px}
  .ks-radio-scroll-info{font-size:12px;gap:6px}
  .ks-radio-scroll-volume{width:62px}
  .ks-radio-scroll-meter{display:none}
}
@media (max-width:460px){
  .ks-radio-scroll-info strong{display:none}
  .ks-radio-scroll-volume{width:48px}
  .ks-radio-scroll-live{display:none}
}
