/* Nibiru Radio bar. Used by the app page and by the radio shell (shell.html). */
@font-face{font-family:Barlow Condensed;src:url('/media/display.ttf') format('truetype');font-style:normal;font-weight:900;font-display:swap}
.radio-bar {--r-carbon:#101114;--r-chalk:#f5f4ef;--r-pulse:#d4ff3f;--r-muted:#b4b8be;
  position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;gap:.9rem;min-height:60px;box-sizing:border-box;
  padding:.5rem max(1rem,env(safe-area-inset-left)) calc(.5rem + env(safe-area-inset-bottom));
  background:var(--r-carbon);color:var(--r-chalk);border-top:1px solid #2c2f34;font-family:system-ui,sans-serif}
.radio-toggle {flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:0;background:var(--r-pulse);color:var(--r-carbon);cursor:pointer}
.radio-toggle:focus-visible,.radio-volume:focus-visible,.radio-credit:focus-visible {outline:3px solid #90c7fc;outline-offset:3px}
.radio-icon {width:0;height:0;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent currentColor;margin-left:3px}
.radio-bar:is([data-state=playing],[data-state=loading]) .radio-icon {width:12px;height:14px;border:0;margin:0;background:linear-gradient(90deg,currentColor 0 4px,transparent 4px 8px,currentColor 8px)}
.radio-copy {display:grid;min-width:0;flex:1}
.radio-copy strong {display:inline-flex;align-items:center;gap:.45rem;font:900 1.05rem/1.1 'Barlow Condensed',Impact,'Arial Narrow',sans-serif;letter-spacing:.06em;text-transform:uppercase}
.radio-now {font-size:.82rem;color:var(--r-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.radio-eq {display:none;width:16px;height:12px;background-image:linear-gradient(var(--r-pulse),var(--r-pulse)),linear-gradient(var(--r-pulse),var(--r-pulse)),linear-gradient(var(--r-pulse),var(--r-pulse)),linear-gradient(var(--r-pulse),var(--r-pulse));background-repeat:no-repeat;background-position:0 100%,4px 100%,8px 100%,12px 100%;background-size:2px 40%,2px 100%,2px 60%,2px 30%}
.radio-bar[data-state=playing] .radio-eq {display:inline-block;animation:radio-eq 1s ease-in-out infinite}
@keyframes radio-eq {
  0%,100% {background-size:2px 40%,2px 100%,2px 60%,2px 30%}
  25% {background-size:2px 100%,2px 50%,2px 30%,2px 80%}
  50% {background-size:2px 60%,2px 30%,2px 100%,2px 50%}
  75% {background-size:2px 30%,2px 80%,2px 50%,2px 100%}
}
.radio-volume {width:110px;accent-color:var(--r-pulse)}
.radio-credit {font-size:.75rem;color:var(--r-muted);white-space:nowrap}
.radio-credit:hover {color:var(--r-chalk)}
.visually-hidden {position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
@media(max-width:700px){.radio-volume-label {display:none}.radio-credit {font-size:.7rem;white-space:normal;max-width:8rem;text-align:right}}
@media(prefers-reduced-motion:reduce){.radio-bar[data-state=playing] .radio-eq {animation:none}}

/* Radio shell: header on top, the app page in a frame below it, the radio bar at the bottom. Only the frame changes between pages. */
html.radio-shell,html.radio-shell body {margin:0;height:100%;overflow:hidden}
html.radio-shell body {display:flex;flex-direction:column;height:100dvh;padding:0;background:var(--bg,#101114)}
.radio-shell header.top {flex:none;position:relative}
.radio-shell #eps-frame {flex:1;min-height:0;width:100%;border:0;display:block;background:var(--bg,#101114)}
.radio-shell .radio-bar {position:relative;flex:none}
/* Inside the shell the page's own header is redundant. */
html.eps-embedded header.top {display:none}
