/* Shared by the public holding page and the protected WordPress theme. */
@font-face { font-family:'AVA Radio Pixel'; src:url('assets/fonts/VT323-Regular.ttf') format('truetype'); font-style:normal; font-weight:400; font-display:swap; }
.ava-radio { position:fixed; inset:0 0 auto; z-index:100; margin:0; padding-top:env(safe-area-inset-top,0px); color:#ededed; background:#252628; border-block:1px solid #505154; font:10px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; letter-spacing:.025em; }
.ava-radio-present body,body:has(.ava-radio) { padding-top:var(--ava-radio-height,34px); }
.ava-radio * { box-sizing:border-box; }
.ava-radio-inner { max-width:1320px; margin:auto; padding:0 clamp(20px,4.5vw,64px); display:flex; align-items:center; justify-content:center; gap:14px; min-height:32px; }
/* Override the theme's global !important shop-button rules within the player. */
.ava-radio button.ava-radio-toggle,.ava-radio button.ava-radio-close { display:grid!important; place-items:center; flex:0 0 28px; width:28px; height:28px; min-height:28px!important; margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; color:inherit!important; font:inherit!important; line-height:1!important; appearance:none; cursor:pointer; }
.ava-radio button.ava-radio-close { color:#c8c9cb!important; }
.ava-radio-toggle:hover { background:#38393b!important; }
.ava-radio button:focus-visible,.ava-radio input:focus-visible { outline:2px solid #e4e4e5; outline-offset:2px; }
.ava-radio svg { display:block; width:12px; height:12px; fill:currentColor; shape-rendering:crispEdges; flex-shrink:0; }
.ava-radio [hidden] { display:none!important; }
.ava-radio-name { font-weight:600; letter-spacing:.08em; white-space:nowrap; }
.ava-radio-live { display:flex; align-items:center; gap:5px; white-space:nowrap; font-size:9px; letter-spacing:.06em; color:#aaabad; }
.ava-radio-light { width:5px; height:5px; flex:0 0 5px; background:#858689; }
.ava-radio[data-online="true"] .ava-radio-light { background:#cc7970; animation:ava-radio-live 2.4s steps(2,end) infinite; }
.ava-radio[data-online="true"] .ava-radio-live { color:#c4918a; }
.ava-radio-track { flex:0 1 520px; max-width:520px; min-width:0; height:20px; line-height:20px; padding-inline:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#c8c9cb; border-inline:1px solid #505154; font-family:'AVA Radio Pixel',ui-monospace,monospace; font-size:16px; font-weight:400; letter-spacing:0; }
.ava-radio-ticker { display:flex; width:max-content; animation:ava-radio-ticker var(--ava-radio-duration,20s) steps(var(--ava-radio-steps,100),end) infinite; }
.ava-radio-ticker > span { flex:0 0 auto; padding-right:64px; }
.ava-radio-volume { display:flex; align-items:center; gap:8px; flex:0 0 auto; margin:0; min-height:28px; }
.ava-radio-volume input { width:66px; height:22px; padding:0; border:0; background:transparent; margin:0; accent-color:#c8c9cb; cursor:pointer; }
.ava-radio-sr { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.ava-radio-fallback { display:block; padding:0 20px 12px; }
.ava-radio-fallback a { color:inherit; }
/* Native documents stay inside one same-origin frame; audio stays outside it. */
html.ava-radio-shell,html.ava-radio-shell body { height:100%; margin:0; overflow:hidden; }
html.ava-radio-shell body { display:flex; flex-direction:column; box-sizing:border-box; height:100dvh; min-height:0; isolation:auto; }
html.ava-radio-shell body::before,html.ava-radio-shell body::after { display:none; }
.ava-radio-frame { display:block; width:100%; flex:1 1 0; min-height:0; border:0; background:#252628; }
.ava-radio-frame-pending { position:fixed; inset:var(--ava-radio-height,34px) 0 0; height:calc(100dvh - var(--ava-radio-height,34px)); visibility:hidden; pointer-events:none; }
.ava-radio-shell .ava-radio { z-index:100; }
@keyframes ava-radio-live { 50% { opacity:.45; } }
@keyframes ava-radio-ticker { to { transform:translateX(calc(-1 * var(--ava-radio-distance,0px))); } }
@media(max-width:760px) {
  .ava-radio-inner { gap:4px; padding-inline:8px; flex-wrap:wrap; padding-block:2px; }
  .ava-radio-track { flex:1 1 0; max-width:280px; margin:0; }
  .ava-radio-volume { gap:4px; }
  .ava-radio-volume input { width:42px; }
  .ava-radio-live { font-size:9px; gap:4px; letter-spacing:0; }
}
@media print { .ava-radio { display:none; } }

/* The hero fits below the radio; navigation scrolls away with the site. */
html:has(body > .ava-radio) .home .hl-club-hero,
html:has(body > .ava-radio) .home .hl-club-hero__copy { min-height:calc(100svh - var(--ava-radio-height,34px)); }
body.admin-bar > .ava-radio { top:32px; }
@media(max-width:782px) { body.admin-bar > .ava-radio { top:46px; } }
@media(prefers-reduced-motion:reduce) { .ava-radio-ticker,.ava-radio[data-online="true"] .ava-radio-light { animation:none; } }
@media print { .ava-radio-present body,body:has(.ava-radio) { padding-top:0; } }
