/* mibl_request_public.css — the listeners' side of «🎵 Song request line» (29 Oct 2026; assets/js/mibl_request_public.js), on the station page
   /r/<slug> and in NOVA. Its own tokens with the host's as fallbacks, so it fits both. No blur and no transform on the fixed backdrop — only the panel moves. */
.mrq{--q-ink:var(--ink,var(--tx,#eef2ff));--q-mut:var(--ink2,var(--tx-muted,#aab3cc));--q-line:rgba(255,255,255,.12);--q-a:#f472b6;--q-b:#a78bfa;
  position:relative;margin-top:14px;padding:14px;border-radius:20px;overflow:hidden;color:var(--q-ink);border:1px solid rgba(244,114,182,.38);
  background:radial-gradient(120% 100% at 100% 0%,rgba(244,114,182,.18),transparent 60%),radial-gradient(90% 80% at 0% 100%,rgba(167,139,250,.14),transparent 65%),rgba(10,14,34,.6)}
.mrq{text-align:start}   /* NOVA centres its live view; the card reads like a card */
.mrq[hidden]{display:none!important}
.mrq *{box-sizing:border-box}
.mrq.mrq-in{animation:mrq-rise .55s cubic-bezier(.2,.9,.25,1.2) both}
@keyframes mrq-rise{from{opacity:0;transform:translateY(12px) scale(.98)}}
.mrq-h{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px}
.mrq-h>span:nth-child(2){flex:1 1 150px;min-width:0}   /* a narrow card (NOVA): the button drops under the title instead of squeezing it */
.mrq-ic{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-size:22px;background:linear-gradient(135deg,var(--q-a),var(--q-b));box-shadow:0 10px 22px -10px var(--q-a);animation:mrq-bob 2.8s ease-in-out infinite}
@keyframes mrq-bob{50%{transform:translateY(-3px) rotate(-6deg)}}
.mrq-h b{display:block;font-size:15.5px;font-weight:900;line-height:1.3}
.mrq-h small{display:block;font-size:12px;color:var(--q-mut);margin-top:2px}
.mrq-go{margin-inline-start:auto;flex:0 0 auto;min-height:44px;padding:0 16px;border:0;border-radius:14px;cursor:pointer;font:inherit;font-weight:900;font-size:13.5px;color:#1a0b1e;
  background:linear-gradient(120deg,var(--q-a),var(--q-b));box-shadow:0 10px 22px -10px var(--q-a);transition:transform .14s cubic-bezier(.3,1.6,.4,1)}
.mrq-go:active{transform:scale(.94)}
.mrq-go[disabled]{opacity:.55;cursor:default}
.mrq-st{display:flex;gap:10px;align-items:center;margin-top:12px;padding:10px 12px;border-radius:14px;background:rgba(0,0,0,.22);border:1px solid var(--q-line);font-size:13px;line-height:1.5}
.mrq-st[hidden]{display:none}
.mrq-st .cv{flex:none;width:40px;height:40px;border-radius:10px;background:#1d2350 center/cover;display:grid;place-items:center;font-weight:900}
.mrq-st.ok{border-color:rgba(52,211,153,.5);background:rgba(52,211,153,.1)}
.mrq-st.aired{border-color:rgba(251,191,36,.55);background:rgba(251,191,36,.1)}
.mrq-next{margin:10px 0 0;font-size:12px;color:var(--q-mut)}
.mrq-next[hidden]{display:none}
.mrq-focus:focus-visible,.mrq-go:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* the picker */
.mrq-sheet{position:fixed;inset:0;z-index:2147483200;display:flex;align-items:flex-end;justify-content:center;background:rgba(3,6,20,.66);opacity:0;transition:opacity .22s;font-family:inherit}
.mrq-sheet.open{opacity:1}
.mrq-panel{width:min(560px,100%);max-height:88vh;display:flex;flex-direction:column;border-radius:24px 24px 0 0;border:1px solid rgba(255,255,255,.14);border-bottom:0;color:#eef2ff;
  background:linear-gradient(180deg,#22163d,#0d0f28);transform:translateY(100%);transition:transform .32s cubic-bezier(.2,.9,.25,1);padding-bottom:env(safe-area-inset-bottom)}
.mrq-sheet.open .mrq-panel{transform:none}
@media (min-width:700px){.mrq-sheet{align-items:center}.mrq-panel{border-radius:24px;border-bottom:1px solid rgba(255,255,255,.14);transform:translateY(20px) scale(.97);opacity:0;transition:transform .28s,opacity .2s}.mrq-sheet.open .mrq-panel{transform:none;opacity:1}}
.mrq-top{display:flex;align-items:center;gap:10px;padding:14px 16px 10px}
.mrq-top b{flex:1;font-size:16px;font-weight:900}
.mrq-x{width:38px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#fff;font-size:18px;cursor:pointer}
.mrq-body{overflow:auto;padding:0 16px 16px;display:grid;gap:10px;overscroll-behavior:contain}
.mrq-body input,.mrq-body textarea{width:100%;min-height:46px;padding:10px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.3);color:#fff;font:inherit;font-size:15px}
.mrq-body textarea{min-height:70px;resize:none;line-height:1.6}
.mrq-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.mrq-list button{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;min-height:58px;padding:6px;border:0;border-radius:14px;background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}
.mrq-list button:hover,.mrq-list button:focus-visible{background:rgba(255,255,255,.07)}
.mrq-list .cv,.mrq-pick .cv{position:relative;width:46px;height:46px;border-radius:12px;overflow:hidden;display:grid;place-items:center;font-weight:900;color:#fff;background:linear-gradient(135deg,hsl(var(--h,300) 65% 45%),hsl(calc(var(--h,300) + 60) 65% 30%))}
.mrq-list .cv img,.mrq-pick .cv img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mrq-list b{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mrq-list small{display:block;font-size:12px;color:#aab3cc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mrq-list .go{font-size:18px;color:#f9a8d4}
.mrq-pick{display:grid;justify-items:center;gap:8px;text-align:center;padding:6px 0}
.mrq-pick .cv{width:120px;height:120px;border-radius:28px;font-size:44px;box-shadow:0 0 0 3px rgba(244,114,182,.55),0 0 40px rgba(244,114,182,.45);animation:mrq-pop .7s cubic-bezier(.3,1.6,.4,1) both}
@keyframes mrq-pop{from{transform:scale(.4) rotate(-10deg);opacity:0}}
.mrq-pick b{font-size:18px;font-weight:900}
.mrq-pick small{color:#aab3cc}
.mrq-send{min-height:52px;border:0;border-radius:16px;font:inherit;font-weight:900;font-size:16px;color:#1a0b1e;cursor:pointer;background:linear-gradient(120deg,#f472b6,#a78bfa);box-shadow:0 12px 26px -12px #f472b6}
.mrq-send[disabled]{opacity:.6}
.mrq-msg{margin:0;font-size:13px;color:#fca5a5;text-align:center}
.mrq-msg:empty{display:none}
.mrq-done{display:grid;gap:10px;justify-items:center;text-align:center;padding:18px 6px}
.mrq-done .big{font-size:52px;animation:mrq-pop .7s cubic-bezier(.3,1.6,.4,1) both}
.mrq-done p{margin:0;font-size:14px;line-height:1.7}
.mrq-heart{position:absolute;pointer-events:none;font-size:18px;animation:mrq-float 1.4s ease-out forwards}
@keyframes mrq-float{to{transform:translate(var(--dx),-120px) scale(1.3);opacity:0}}
html.mibl-rm .mrq *,html.mibl-rm .mrq,html.mibl-rm .mrq-sheet *{animation:none!important;transition:none!important}
@media (prefers-reduced-motion:reduce){.mrq *,.mrq,.mrq-sheet,.mrq-sheet *{animation:none!important;transition:none!important}}
