@font-face{font-family:Radioport;src:url('/hud/fonts/Rajdhani-SemiBold.ttf') format('truetype');font-display:swap}
#hud-radio-dock{position:fixed;left:4px;bottom:4px;z-index:1400;display:flex;align-items:flex-end;justify-content:center;gap:3px;width:34px;height:34px;min-height:0;margin:0;padding:6px 4px;border:1px solid #59f1ef66;border-radius:2px;background:#08131ce8;color:#59f1ef;clip-path:none;box-sizing:border-box;cursor:pointer;opacity:.8}
#hud-radio-dock span{display:block;width:3px;height:20px;background:currentColor;transform-origin:bottom;pointer-events:none}
#hud-radio-dock.is-playing{opacity:1;border-color:#59f1ef;box-shadow:0 0 8px #59f1ef33}#hud-radio-dock:hover,#hud-radio-dock:focus-visible{opacity:1;outline:2px solid #59f1ef;outline-offset:2px}
#hud-radio-overlay{position:fixed;inset:0;z-index:1800;display:flex;align-items:center;justify-content:center;padding:4px;background:#000b;box-sizing:border-box}
#hud-radio-window{width:min(720px,100%);height:min(1000px,calc(100dvh - 8px));min-width:0;min-height:0;box-shadow:0 12px 60px #000c;overflow:hidden}
#hud-radio-dock[hidden],#hud-radio-overlay[hidden]{display:none!important}body.hud-radio-open{overflow:hidden}

/* Use the free space to the left of the centered Combat button. */
#hud-radio-dock.combat-aligned{bottom:auto;padding:14px 10px;gap:6px;border:1px solid #59f1ef88;background:#09121de8;opacity:1}
#hud-radio-dock.combat-aligned span{width:6px;height:100%;max-height:48px;flex:1 1 6px;max-width:7px}

/* Keep embedded radio media independent of popup/tab visibility. */
audio[data-hud-radio="true"]{display:block!important;position:fixed;width:1px;height:1px;left:0;bottom:0;opacity:0;pointer-events:none}
