/* OX500 / FALA. The wave belongs to the header, not a sticky bottom dock. */
.masthead .ox-radio-trigger{
  display:inline-flex;align-items:center;justify-content:center;flex-direction:column;
  gap:0;min-width:90px;min-height:54px;padding:5px 9px;
  border:0;background:transparent;color:#f4f0df;
  text-decoration:none;letter-spacing:.12em;line-height:1.2;touch-action:manipulation;
  transition:color .18s,opacity .18s;
}
.masthead .ox-radio-trigger:hover,.masthead .ox-radio-trigger:focus-visible{
  color:#fff5d7;
}
.ox-radio-wave{display:block;flex:none;width:58px;height:27px;overflow:visible}
.ox-radio-wave line{stroke:currentColor;stroke-width:1.9;stroke-linecap:square;transform-box:fill-box;transform-origin:center}
.ox-radio-trigger [data-radio-trigger-label]{font:600 9px/1.4 var(--mono,monospace);letter-spacing:.13em}
.ox-radio-trigger[data-radio-playing="true"]{
  color:#e8d39d;
}
@media (prefers-reduced-motion:no-preference){
  .ox-radio-trigger[data-radio-playing="true"] .ox-radio-wave line{
    animation:ox-radio-wave 850ms ease-in-out infinite alternate;
  }
  .ox-radio-trigger[data-radio-playing="true"] .ox-radio-wave line:nth-child(3n){animation-duration:630ms;animation-delay:-240ms}
  .ox-radio-trigger[data-radio-playing="true"] .ox-radio-wave line:nth-child(3n + 1){animation-duration:1090ms;animation-delay:-440ms}
}
@keyframes ox-radio-wave{from{transform:scaleY(.52)}to{transform:scaleY(1.1)}}

/* Popup only exists visually after an explicit tap. It is NOT sticky and
   therefore cannot cover the end of a log or the site's footer on scroll. */
.ox-radio{
  position:absolute;right:var(--gutter,20px);top:110px;z-index:80;
  display:none;width:min(350px,calc(100vw - 28px));max-width:calc(100vw - 28px);
  border:1px solid #a6925c;background:#10120f;color:#f4f0df;
  font:12px/1.5 var(--mono,monospace);box-shadow:0 13px 42px #000a;
}
.ox-radio[open]{display:block}
.ox-radio summary{
  cursor:pointer;list-style:none;display:flex;align-items:center;
  justify-content:flex-start;gap:10px;min-height:50px;padding:5px 8px 5px 15px;
  letter-spacing:.08em;
}
.ox-radio summary::-webkit-details-marker{display:none}
.ox-radio__signal{width:6px;height:6px;flex:none;border-radius:50%;background:#595d50;border:1px solid #797e70}
.ox-radio[data-radio-playing="true"] .ox-radio__signal{background:#c9b072;border-color:#c9b072;box-shadow:0 0 7px #c9b07255}
.ox-radio__channel{min-width:0;flex:1}
.ox-radio__dismiss{display:grid;place-items:center;min-width:44px;min-height:44px;font:24px/1 monospace;color:#f4f0df}
.ox-radio summary:hover .ox-radio__dismiss{color:#d5bc77}
.ox-radio__body{padding:2px 12px 12px;border-top:1px solid #3a4333}
.ox-radio__title{font:inherit;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:10px 0 2px}
.ox-radio__status{min-height:18px;color:var(--dim,#b5bea9);font-size:10px;margin:0 0 5px}
.ox-radio__controls{display:flex;gap:2px;justify-content:space-between}
.ox-radio button{
  display:inline-grid;place-items:center;min-width:44px;min-height:44px;
  padding:9px;border:1px solid transparent;background:transparent;color:#d8e1cb;
  cursor:pointer;border-radius:0;font:inherit;
}
.ox-radio button:hover{background:#232b1c}
.ox-radio button[aria-pressed=true]{border-color:#9cad81;background:#232b1c}
.ox-radio button:disabled{opacity:.35;cursor:default}
.ox-radio svg{width:17px;height:17px;fill:currentColor;stroke:currentColor;stroke-width:1.2}
.ox-radio__links{display:flex;justify-content:space-between;gap:10px;font-size:10px;flex-wrap:wrap;padding-top:7px}
.ox-radio a{color:var(--ink,#c6d4ad);text-decoration:underline;text-underline-offset:3px}
.ox-radio a:focus-visible,.ox-radio button:focus-visible,.ox-radio summary:focus-visible,
.ox-radio-trigger:focus-visible{outline:2px solid #e1e4d8;outline-offset:2px}
.ox-radio [hidden]{display:none}

/* Dedicated listening page retains its regular, non-floating control. */
body[data-radio-view="standalone"] [data-radio-window]{display:none}
.ox-radio-page{max-width:760px;margin:0 auto;padding:48px 22px 100px;color:#e1e4d8;font:14px/1.7 'IBM Plex Mono',monospace}
.ox-radio-page h1{font-size:24px;font-weight:500;letter-spacing:.08em}
.ox-radio-page a{color:var(--ink,#c6d4ad)}
body[data-radio-view="standalone"] .ox-radio{position:static;display:block;width:min(760px,calc(100% - 44px));margin:0 auto 30px;box-shadow:none}
.ox-radio-page li{margin:8px 0}
.ox-radio-page__note{color:#adb7a0;max-width:58ch}
@media(max-width:760px){
  .masthead .ox-radio-trigger{position:absolute;right:var(--gutter,20px);top:16px;z-index:3}
  .ox-radio{top:160px}
}
@media(max-width:480px){
  /* At 320 CSS px keep the brand and the wave from touching. */
  .masthead .ox-radio-trigger{min-width:74px;min-height:49px;padding:4px 6px}
  .masthead .ox-radio-wave{width:48px;height:24px}
  .masthead .ox-radio-trigger [data-radio-trigger-label]{font-size:8px}
}
@media(max-width:600px){.ox-radio-page{padding-top:28px}}
@media(prefers-reduced-motion:reduce){
  .ox-radio-trigger,.ox-radio-wave line{animation:none!important;transition:none!important}
}
