/* Heavenly Key floating pop-ups (owner order 29 Nov 2026 ~13:19 WAT).
   The footer floating AI + floating Radio open IN-PAGE phone-case
   pop-ups again, as before: chat with the AI there / radio plays there,
   with "Visit the app" under the panel. Restores the pre-v474
   .hkem-iphone-chat look (7px black frame, 34px radius, deep-blue
   header, gold accents). Approved colours only: magenta #b40059,
   bright blue #0736a8/#061b57, gold #ffdf26/#e3bc45, white.
   16px font floor everywhere; 44px touch targets; page scroll is
   never locked; prefers-reduced-motion respected. */
#hk-float-popups{font:16px/1.45 Arial,Helvetica,sans-serif;color:#14205b}
#hk-float-popups [hidden]{display:none!important}
.hkfp-panel{position:fixed;right:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:12000;width:min(350px,calc(100vw - 24px));height:min(520px,78dvh);max-height:calc(100dvh - 32px);border:7px solid #111;border-radius:34px;background:#fff;overflow:hidden;box-shadow:0 16px 48px #0006;display:flex;flex-direction:column;animation:hkfp-in .22s ease-out}
@keyframes hkfp-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.hkfp-head{display:flex;align-items:center;gap:8px;background:#061b57;color:#fff;padding:12px 10px;min-height:72px}
.hkfp-head strong{font-size:16px;line-height:1.25;flex:1}
.hkfp-avatar{display:block;position:relative;width:46px;height:46px;flex:0 0 46px;overflow:hidden;border-radius:50%;border:2px solid #e3bc45;background:#fff}
.hkfp-avatar img{position:absolute;left:-4%;top:0;height:100%;width:auto;max-width:none}
.hkfp-radio-pic img{left:0;width:100%;height:100%;object-fit:cover}
.hkfp-live{display:inline-flex;align-items:center;gap:5px;background:#b40059;color:#fff;font-size:16px;font-weight:700;border-radius:999px;padding:3px 10px;line-height:1.2}
.hkfp-dot{width:9px;height:9px;border-radius:50%;background:#fff;animation:hkfp-blink 1.2s infinite}
@keyframes hkfp-blink{50%{opacity:.25}}
.hkfp-close{border:1px solid #ffffff7a;background:#061b57;color:#fff;border-radius:10px;font-size:24px;line-height:1;min-width:44px;min-height:44px;cursor:pointer;padding:0}
.hkfp-close:focus-visible,.hkfp-play:focus-visible,.hkfp-form button:focus-visible,.hkfp-visit:focus-visible{outline:3px solid #ffdf26;outline-offset:2px}
.hkfp-log{flex:1;overflow-y:auto;padding:15px 10px;background:#f5f7f3;display:flex;flex-direction:column;gap:12px}
.hkfp-welcome,.hkfp-bot,.hkfp-visitor{padding:11px;border-radius:15px;max-width:91%;font-size:16px;line-height:1.45;overflow-wrap:anywhere}
.hkfp-welcome,.hkfp-bot{align-self:flex-start;background:#fff;border:1px solid #dce5d8}
.hkfp-bot{display:flex;align-items:flex-start;gap:8px}
.hkfp-bot-portrait{display:block;position:relative;flex:0 0 32px;width:32px;height:32px;overflow:hidden;border-radius:50%}
.hkfp-bot-portrait img{display:block;position:absolute;left:-4%;top:0;width:auto;max-width:none;height:100%}
.hkfp-visitor{align-self:flex-end;background:#0736a8;color:#fff}
.hkfp-form{display:flex;gap:6px;padding:10px;background:#fff;border-top:1px solid #ddd}
.hkfp-form input{min-width:0;flex:1;border:1px solid #aaa;border-radius:9px;padding:10px;font-size:16px;min-height:44px}
.hkfp-form button{background:#ffdf26;border:0;border-radius:9px;padding:9px 16px;font-size:16px;font-weight:700;cursor:pointer;min-height:44px;color:#14205b}
.hkfp-form button:disabled{opacity:.55;cursor:wait}
.hkfp-visit{display:block;text-align:center;background:#b40059;color:#fff;font-size:16px;font-weight:700;text-decoration:none;padding:13px 10px;min-height:44px}
.hkfp-visit:hover{background:#940058}
.hkfp-radio-body{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px 14px;background:#f5f7f3;text-align:center}
.hkfp-programme{margin:0;font-size:16px;font-weight:700;color:#b40059}
.hkfp-now{margin:0;font-size:16px;line-height:1.45;color:#14205b;overflow-wrap:anywhere}
.hkfp-play{width:72px;height:72px;border-radius:50%;border:3px solid #ffdf26;background:#b40059;color:#fff;cursor:pointer;display:grid;place-items:center;box-shadow:0 7px 25px #0005;padding:0}
.hkfp-play:hover{transform:translateY(-2px)}
.hkfp-play svg{width:30px;height:30px}
.hkfp-vol{display:flex;align-items:center;gap:8px;font-size:16px;color:#14205b}
.hkfp-vol input{width:150px;min-height:44px;accent-color:#b40059}
.hkfp-status{margin:0;font-size:16px;color:#375187;min-height:1.45em}
.hkfp-retry{border:2px solid #b40059;background:#fff;color:#b40059;border-radius:999px;padding:9px 18px;font-size:16px;font-weight:700;cursor:pointer;min-height:44px}
.hk-radio-playing .hk-live-dot{animation:hkfp-blink .6s infinite}
@media(max-width:600px){.hkfp-panel{right:8px;width:min(330px,calc(100vw - 16px));height:min(480px,74dvh)}}
@media(prefers-reduced-motion:reduce){.hkfp-panel{animation:none}.hkfp-dot,.hk-radio-playing .hk-live-dot{animation:none}.hkfp-play:hover{transform:none}}
