/* SHARE CLIP (js/clip.js) : bouton ▶ CLIP après un verdict + feuille de partage (unités = px de scène 720×1280) */

/* bouton flottant : même place que SKIP (jamais affichés ensemble) ; zone tactile étendue à ~92 px de scène (≥ 44 px CSS) */
.clipfab {
  position: absolute; right: 30px; top: 578px; z-index: 8; height: 60px; padding: 0 22px 0 18px;
  display: flex; align-items: center; gap: 10px; border: 0; border-radius: 30px; cursor: pointer;
  background: linear-gradient(#ffd84a, #e8b51e); color: #141414; font: 900 24px Montserrat; letter-spacing: .5px;
  box-shadow: 0 5px 0 rgba(0,0,0,.4), 0 0 26px rgba(250,208,63,.35); animation: pop .25s; touch-action: manipulation;
}
.clipfab::after { content: ''; position: absolute; inset: -16px -10px; }
.clipfab i { width: 30px; height: 30px; border-radius: 50%; background: #e8274c; position: relative; flex: none; }
.clipfab i::before { content: ''; position: absolute; left: 11px; top: 8px; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.clipfab:active { transform: translateY(3px) scale(.97); }

/* bouton SHARE des fins de session : sous-titre ▶ CLIP */
.btn.clipbtn small { color: #b0122f; font-weight: 800; }

/* feuille de partage */
.modal-box.clipbox { width: 620px; gap: 14px; padding: 30px 28px 28px; }
.clipbox h3 { letter-spacing: 2px; }
.clipview { position: relative; align-self: center; width: 270px; height: 480px; border-radius: 16px; overflow: hidden;
  background: #050907; border: 1px solid rgba(150,220,190,.3); box-shadow: 0 0 40px rgba(0,0,0,.6); flex: none; }
.clipview canvas { display: block; width: 270px; height: 480px; }
.clipbar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: rgba(0,0,0,.55); }
.clipbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff9a3c, #ff3d5e); box-shadow: 0 0 10px rgba(255,80,80,.8); }
.clipm:not(.rendering) .clipbar { opacity: 0; }
.modal-box p.clipst { font: 700 22px/1.3 'Barlow Semi Condensed'; color: #cfd6d0; min-height: 29px; }
.clipm.rendering p.clipst { color: #ffd23f; }
.cliprow { display: flex; gap: 14px; }
.modal-box .cliprow .btn { flex: 1; height: 100px; font-size: 28px; padding: 0 6px; }
.btn.ghost { background: rgba(14,26,19,.95); border: 1px solid rgba(150,220,190,.4); color: #e9eee8; --glow: rgba(0,0,0,0); }
.clipview video.clipvid { position: absolute; inset: 0; width: 270px; height: 480px; object-fit: cover; background: #050907; }
