/* MagicalRadio3D — V3 — Bouton uniquement près de « Envoyer une dédicace ».
   Jamais dans une carte FDR/DJ, ni visible tant que FDR est inactive. */
#mgrfdrTelefrequenceLauncher.mgrfdr-pip-launch {
  position:relative!important; inset:auto!important; z-index:2;
  display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;
  width:auto;max-width:100%;min-height:38px;padding:8px 13px;
  margin:4px 0 4px 9px;box-sizing:border-box;
  border:1px solid #da9ef4;border-radius:999px;
  background:linear-gradient(110deg,#4c236a,#943c93);color:#fff;
  font:800 12px/1.2 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  letter-spacing:.01em;box-shadow:0 4px 16px rgba(30,6,45,.28);
  cursor:pointer;white-space:normal;text-align:center;
}
#mgrfdrTelefrequenceLauncher.mgrfdr-pip-launch[hidden] { display:none!important; }
#mgrfdrTelefrequenceLauncher.mgrfdr-pip-launch:hover {filter:brightness(1.15)}
#mgrfdrTelefrequenceLauncher.mgrfdr-pip-launch:focus-visible {outline:3px solid #fff;outline-offset:3px}
@media(max-width:680px){#mgrfdrTelefrequenceLauncher.mgrfdr-pip-launch{font-size:11px;min-height:34px;padding:7px 9px;margin:5px 0 5px 7px}}

/* Styles spécifiques au document flottant : jamais appliqués au reste du site */
html.mgrfdr-pip-document, html.mgrfdr-pip-document body {margin:0;padding:0;min-width:245px;min-height:100%;background:#0d1121;color:#f6f2ff}
html.mgrfdr-pip-document *{box-sizing:border-box}
html.mgrfdr-pip-document .mgrfdr-pip-shell{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:radial-gradient(circle at 88% -10%,#502665 0,transparent 43%),linear-gradient(135deg,#20152f,#11182a 70%);padding:10px;min-height:100vh}
html.mgrfdr-pip-document .mgrfdr-pip-head{display:flex;gap:8px;align-items:center;justify-content:space-between;padding-bottom:8px;border-bottom:1px solid #65466f}
html.mgrfdr-pip-document .mgrfdr-pip-title{font-weight:900;color:#f2c9ff;font-size:12px;letter-spacing:.35px;line-height:1.35}
html.mgrfdr-pip-document .mgrfdr-pip-badge{font-weight:900;font-size:10px;white-space:nowrap;border-radius:100px;padding:5px 8px;background:#7e3159;color:#fff}
html.mgrfdr-pip-document .mgrfdr-pip-badge[data-state="off"]{background:#555c6c}
html.mgrfdr-pip-document .mgrfdr-pip-badge[data-state="error"]{background:#8c5832}
html.mgrfdr-pip-document .mgrfdr-pip-room{border-radius:13px;border:1px solid #494967;background:rgba(36,39,68,.92);padding:8px;margin-top:8px}
html.mgrfdr-pip-document .mgrfdr-pip-room[data-kind="next"]{background:rgba(56,32,69,.92);border-color:#76507f}
html.mgrfdr-pip-document .mgrfdr-pip-label{font-size:11px;font-weight:900;letter-spacing:.55px;color:#d9b9e9}
html.mgrfdr-pip-document .mgrfdr-pip-name{font-size:clamp(16px,5.4vw,21px);font-weight:900;line-height:1.3;overflow-wrap:anywhere;margin:5px 0 6px}
html.mgrfdr-pip-document .mgrfdr-pip-copy{display:block;width:100%;background:#654182;border:1px solid #a270bd;color:white;min-height:29px;padding:6px;border-radius:9px;font-weight:800;font-size:12px;cursor:pointer}
html.mgrfdr-pip-document .mgrfdr-pip-room[data-kind="next"] .mgrfdr-pip-copy{background:#a23885;border-color:#ca71b0}
html.mgrfdr-pip-document .mgrfdr-pip-copy:hover{filter:brightness(1.15)}
html.mgrfdr-pip-document .mgrfdr-pip-copy:disabled{opacity:.45;cursor:not-allowed}
html.mgrfdr-pip-document .mgrfdr-pip-copy:focus-visible{outline:3px solid #fff;outline-offset:2px}
html.mgrfdr-pip-document .mgrfdr-pip-feedback{min-height:14px;color:#a5ffd7;font-size:11px;margin-top:6px;overflow-wrap:anywhere}
html.mgrfdr-pip-document .mgrfdr-pip-foot{color:#b7bcd1;font-size:10.5px;line-height:1.45;padding-top:5px}
html.mgrfdr-pip-document .mgrfdr-pip-fallback{font-weight:650;color:#ffd2a3;font-size:10.5px;margin-top:7px;line-height:1.35}

/* V4 : repli visible même si Document PiP ou les pop-ups sont refusés. */
.mgrfdr-pip-inline-panel {
  position:fixed!important;right:12px!important;bottom:12px!important;top:auto!important;left:auto!important;
  width:min(340px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)!important;
  z-index:2147483646!important;overflow:auto!important;border:1px solid #b073cf!important;
  border-radius:16px!important;background:#111525!important;color:#f6f2ff!important;
  box-shadow:0 16px 60px #080511b8!important;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
}
.mgrfdr-pip-inline-panel *{box-sizing:border-box}
.mgrfdr-pip-inline-panel .mgrfdr-pip-inline-top {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 8px;border-bottom:1px solid #65547f;color:#d4c5e4;font-size:11px}
.mgrfdr-pip-inline-panel .mgrfdr-pip-inline-actions{display:flex;gap:5px;align-items:center}
.mgrfdr-pip-inline-panel .mgrfdr-pip-inline-close,.mgrfdr-pip-inline-panel .mgrfdr-pip-inline-popout{border:1px solid #8d729e;background:#302044;color:#fff;border-radius:7px;padding:5px 9px;cursor:pointer;font-size:12px;line-height:1.1}
.mgrfdr-pip-inline-panel .mgrfdr-pip-inline-close{font-size:17px;font-weight:700}
.mgrfdr-pip-inline-panel .mgrfdr-pip-shell{background:radial-gradient(circle at 88% -10%,#502665 0,transparent 43%),linear-gradient(135deg,#20152f,#11182a 70%);padding:10px}
.mgrfdr-pip-inline-panel .mgrfdr-pip-shell{font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:radial-gradient(circle at 88% -10%,#502665 0,transparent 43%),linear-gradient(135deg,#20152f,#11182a 70%);padding:10px;min-height:100vh}
.mgrfdr-pip-inline-panel .mgrfdr-pip-head{display:flex;gap:8px;align-items:center;justify-content:space-between;padding-bottom:8px;border-bottom:1px solid #65466f}
.mgrfdr-pip-inline-panel .mgrfdr-pip-title{font-weight:900;color:#f2c9ff;font-size:12px;letter-spacing:.35px;line-height:1.35}
.mgrfdr-pip-inline-panel .mgrfdr-pip-badge{font-weight:900;font-size:10px;white-space:nowrap;border-radius:100px;padding:5px 8px;background:#7e3159;color:#fff}
.mgrfdr-pip-inline-panel .mgrfdr-pip-badge[data-state="off"]{background:#555c6c}
.mgrfdr-pip-inline-panel .mgrfdr-pip-badge[data-state="error"]{background:#8c5832}
.mgrfdr-pip-inline-panel .mgrfdr-pip-room{border-radius:13px;border:1px solid #494967;background:rgba(36,39,68,.92);padding:8px;margin-top:8px}
.mgrfdr-pip-inline-panel .mgrfdr-pip-room[data-kind="next"]{background:rgba(56,32,69,.92);border-color:#76507f}
.mgrfdr-pip-inline-panel .mgrfdr-pip-label{font-size:11px;font-weight:900;letter-spacing:.55px;color:#d9b9e9}
.mgrfdr-pip-inline-panel .mgrfdr-pip-name{font-size:clamp(16px,5.4vw,21px);font-weight:900;line-height:1.3;overflow-wrap:anywhere;margin:5px 0 6px}
.mgrfdr-pip-inline-panel .mgrfdr-pip-copy{display:block;width:100%;background:#654182;border:1px solid #a270bd;color:white;min-height:29px;padding:6px;border-radius:9px;font-weight:800;font-size:12px;cursor:pointer}
.mgrfdr-pip-inline-panel .mgrfdr-pip-room[data-kind="next"] .mgrfdr-pip-copy{background:#a23885;border-color:#ca71b0}
.mgrfdr-pip-inline-panel .mgrfdr-pip-copy:hover{filter:brightness(1.15)}
.mgrfdr-pip-inline-panel .mgrfdr-pip-copy:disabled{opacity:.45;cursor:not-allowed}
.mgrfdr-pip-inline-panel .mgrfdr-pip-copy:focus-visible{outline:3px solid #fff;outline-offset:2px}
.mgrfdr-pip-inline-panel .mgrfdr-pip-feedback{min-height:14px;color:#a5ffd7;font-size:11px;margin-top:6px;overflow-wrap:anywhere}
.mgrfdr-pip-inline-panel .mgrfdr-pip-foot{color:#b7bcd1;font-size:10.5px;line-height:1.45;padding-top:5px}
.mgrfdr-pip-inline-panel .mgrfdr-pip-fallback{font-weight:650;color:#ffd2a3;font-size:10.5px;margin-top:7px;line-height:1.35}
