/* MoonTik — flux « Barre d'objectif » : ergonomie Tik360, style MoonTik.
   Verre violet, accents dégradés violet→cyan, boutons pilules. */
.mt-gf-shell{position:absolute;inset:0;pointer-events:none;z-index:6}
.mt-gf-shell>*{pointer-events:auto}
.mt-gf-left{position:absolute;left:14px;top:14px;width:250px;display:flex;flex-direction:column;gap:8px}
.mt-gf-node{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 11px;background:linear-gradient(160deg,rgba(32,26,58,.86),rgba(12,10,24,.9));border:1px solid rgba(167,139,250,.34);border-radius:12px;color:#f6f4ff;font-size:12.5px;box-shadow:0 6px 20px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.04)}
.mt-gf-dot{width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,#8b5cf6,#22d3ee);box-shadow:0 0 8px rgba(139,92,246,.6);flex:0 0 auto}
.mt-gf-del{margin-left:auto;background:none;border:0;color:#9d96ba;font-size:16px;cursor:pointer;line-height:1}
.mt-gf-del:hover{color:#ec4899}
.mt-gf-add{justify-content:space-between;cursor:pointer;border-style:dashed;border-color:rgba(167,139,250,.5);color:#ded9f2}
.mt-gf-add b{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:linear-gradient(135deg,#8b5cf6,#22d3ee);color:#0b0a14;font-size:14px}
.mt-gf-add:hover{border-color:#22d3ee;color:#fff;box-shadow:0 0 16px rgba(34,211,238,.25)}
.mt-gf-bottom{position:absolute;left:50%;transform:translateX(-50%);bottom:20px;width:min(520px,60%);display:flex;flex-direction:column;gap:6px}
.mt-gf-bottom details{background:linear-gradient(160deg,rgba(32,26,58,.86),rgba(12,10,24,.9));border:1px solid rgba(167,139,250,.32);border-radius:12px;overflow:hidden;box-shadow:0 6px 20px rgba(0,0,0,.3)}
.mt-gf-bottom summary{padding:9px 12px;cursor:pointer;font-size:12px;font-weight:700;color:#f6f4ff;list-style:none}
.mt-gf-bottom summary::-webkit-details-marker{display:none}
.mt-gf-bottom summary:before{content:"▸";color:#22d3ee;margin-right:8px;font-size:10px}
.mt-gf-bottom details[open] summary:before{content:"▾"}
.mt-gf-bottom-b{padding:8px 12px 12px;border-top:1px solid rgba(167,139,250,.2);font-size:12px;color:#9d96ba}
/* Panneau « AJOUTER UNE RÉACTION » à gauche */
.mt-gf-pick{position:fixed;z-index:9999;width:340px;max-height:min(780px,86vh);display:flex;flex-direction:column;background:linear-gradient(160deg,rgba(34,27,62,.97),rgba(11,10,20,.97));border:1px solid rgba(167,139,250,.4);border-radius:14px;box-shadow:0 18px 60px rgba(0,0,0,.6),0 0 30px rgba(139,92,246,.16);color:#f6f4ff;font-size:13px;overflow:hidden}
.mt-gf-pick-h{display:flex;align-items:center;gap:8px;padding:12px 14px;font-size:12px;font-weight:800;letter-spacing:.08em;border-bottom:1px solid rgba(167,139,250,.22)}
.mt-gf-pick-h .ico{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:5px;background:linear-gradient(135deg,#8b5cf6,#22d3ee);color:#0b0a14;font-size:12px}
.mt-gf-x{margin-left:auto;background:none;border:0;color:#ded9f2;font-size:18px;cursor:pointer;line-height:1}
.mt-gf-x:hover{color:#ec4899}
.mt-gf-tabs{display:flex;gap:6px;padding:10px 12px}
.mt-gf-tabs button{flex:1;padding:7px;border-radius:999px;border:1px solid rgba(167,139,250,.3);background:rgba(11,10,20,.6);color:#a9a2c4;font-size:12px;cursor:pointer}
.mt-gf-tabs button.on{background:linear-gradient(135deg,#8b5cf6,#22d3ee);border-color:transparent;color:#0b0a14;font-weight:800}
.mt-gf-search{margin:0 12px 8px;background:rgba(11,10,20,.78);border:1px solid rgba(167,139,250,.3);border-radius:9px;padding:9px 11px;color:#f6f4ff;outline:none;font-size:12px}
.mt-gf-search:focus{border-color:#8b5cf6;box-shadow:0 0 0 2px rgba(139,92,246,.18)}
.mt-gf-pick-b{overflow:auto;padding:0 10px 8px;display:flex;flex-direction:column;gap:10px}
.mt-gf-group-t{display:flex;align-items:center;gap:7px;padding:5px 3px;font-size:10px;font-weight:800;letter-spacing:.12em;color:#ded9f2}
.mt-gf-group-t.green .mt-gf-dot{background:linear-gradient(135deg,#22d3ee,#38bdf8)}
.mt-gf-group-t.orange .mt-gf-dot{background:linear-gradient(135deg,#ec4899,#f472b6)}
.mt-gf-group-t.purple .mt-gf-dot{background:linear-gradient(135deg,#8b5cf6,#a78bfa)}
.mt-gf-item{display:flex;align-items:center;gap:9px;width:100%;padding:9px 11px;margin:0 0 5px;background:rgba(11,10,20,.62);border:1px solid rgba(167,139,250,.26);border-radius:10px;color:#f6f4ff;text-align:left;cursor:pointer;font-size:12.5px}
.mt-gf-item:hover{border-color:#8b5cf6;background:rgba(139,92,246,.14);box-shadow:0 0 14px rgba(139,92,246,.18)}
.mt-gf-item span{font-size:15px}
.mt-gf-pick-f{padding:9px 12px;border-top:1px solid rgba(167,139,250,.22);color:#9d96ba;font-size:11px;text-align:center}
/* t463 : bloc Réactions sous l'aperçu (remplace Ensuite / Avant / Après factices) */
.mt-gf-bottom.mt-gf-react{width:min(430px,56%);bottom:14px;padding:12px;background:linear-gradient(160deg,rgba(24,19,46,.82),rgba(10,9,20,.88));border:1px solid rgba(167,139,250,.3);border-radius:14px;max-height:none;overflow:visible;backdrop-filter:blur(8px)}
/* t476 : réserve la hauteur du bloc Réactions sous le cadre d'aperçu (jamais de chevauchement) */
#ovEdCanvas.mt-ed-canvas.mt-gf-reserve{padding-bottom:var(--mt-gf-reserve,10px)!important}
