/* ============================================================================
 * GO — 🔴 Directs vidéo (Kiltir', Talents, Rézo'Lokal)          build mycell-2026-11-14-1
 * Plein écran 9:16, sombre ; commentaires éphémères en bas à gauche ; ❤️ qui s'envolent.
 * ========================================================================== */
html.gd-ouvert { overflow: hidden; }
.gd-voile { position: fixed; inset: 0; z-index: 9500; background: #000; color: #fff; opacity: 0; transition: opacity .2s; overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.gd-voile.on { opacity: 1; }
.gd-fond { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(28px) brightness(.55) saturate(1.2); transform: scaleX(var(--gd-miroir, -1)); pointer-events: none; }
/* Cadre 9:16 (format TikTok) centré, le même chez le diffuseur et chez chaque spectateur ; le zoom numérique reste dedans */
.gd-cadre { position: absolute; inset: 0; margin: auto; width: min(100%, calc(100vh * 9 / 16)); width: min(100%, calc(100dvh * 9 / 16)); aspect-ratio: 9 / 16; max-height: 100%; overflow: hidden; background: #000; box-shadow: 0 0 40px rgba(0,0,0,.35); }
.gd-voile.remplir .gd-cadre { width: 100%; height: 100%; aspect-ratio: auto; box-shadow: none; }   /* double toucher : plein écran */
.gd-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; transform: scaleX(var(--gd-miroir, -1)) scale(var(--gd-z, 1)); transition: transform .12s ease-out; touch-action: none; }
.gd-voile:not(:has(.gd-tourner)), .gd-voile.arriere { --gd-miroir: 1; }   /* miroir seulement pour sa propre caméra frontale ; --gd-z = zoom numérique */
.gd-zoom { position: absolute; right: 14px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); min-width: 46px; height: 34px; padding: 0 10px; border: 0; border-radius: 17px; background: rgba(0,0,0,.45); color: #fff; font: 700 14px/1 system-ui, sans-serif; cursor: pointer; }
.gd-zoom:active { transform: scale(.92); }
.gd-voile.avant .gd-zoom { bottom: auto; top: 90px; }
.gd-degrade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55) 0, transparent 22%, transparent 55%, rgba(0,0,0,.65) 100%); }
.gd-tete { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; }
.gd-live { padding: 4px 9px; border-radius: 8px; background: #FF2D55; font-weight: 800; font-size: 11.5px; line-height: 1; letter-spacing: .06em; animation: gd-pouls 1.6s ease-in-out infinite; }
.gd-voile.fini .gd-live { background: #555; animation: none; }
.gd-qui { flex: 1; min-width: 0; } .gd-qui b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-qui small { display: block; font-size: 12px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-vues { padding: 5px 10px; border-radius: 99px; background: rgba(0,0,0,.4); font-size: 13px; font-weight: 700; }
.gd-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 18px; cursor: pointer; }
.gd-etat { position: absolute; left: 16px; right: 16px; top: 42%; margin: 0; text-align: center; font-size: 15px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.gd-etat:empty { display: none; }
.gd-coms { position: absolute; left: 12px; right: 84px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px;
  max-height: 46vh; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
.gd-coms li { align-self: flex-start; max-width: 100%; padding: 6px 11px; border-radius: 14px; background: rgba(0,0,0,.42); font-size: 14px; line-height: 1.3; overflow-wrap: anywhere;
  animation: gd-arrive .25s cubic-bezier(.34,1.56,.64,1); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gd-coms li b { color: #FFD36B; margin-right: 4px; } .gd-coms li.moi b { color: #7DE3FF; }
.gd-coeurs { position: absolute; right: 22px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); width: 40px; height: 60vh; pointer-events: none; }
.gd-coeurs i { position: absolute; bottom: 0; left: 50%; font-size: 26px; font-style: normal; animation: gd-envol 2.2s ease-out forwards; }
.gd-pied { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
.gd-ecrire { flex: 1; display: flex; min-width: 0; border-radius: 99px; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gd-ecrire input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 0; background: none; color: #fff; font: inherit; font-size: 15px; }
.gd-ecrire input::placeholder { color: rgba(255,255,255,.7); } .gd-ecrire input:focus { outline: none; }
.gd-ecrire button { width: 46px; border: 0; background: none; color: #fff; font-size: 18px; cursor: pointer; }
.gd-bt { width: 46px; height: 46px; flex: 0 0 auto; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 20px; cursor: pointer; }
.gd-bt:active { transform: scale(.9); }
.gd-voile :focus-visible { outline: 3px solid #FFD36B; outline-offset: 2px; }
/* Avant de démarrer */
.gd-voile.avant .gd-coms, .gd-voile.avant .gd-ecrire, .gd-voile.avant .gd-coeur, .gd-voile.avant .gd-vues, .gd-voile.avant .gd-live { visibility: hidden; }
.gd-depart { position: absolute; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; padding: 16px; border-radius: 22px;
  background: rgba(10,10,20,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); max-width: 520px; margin: 0 auto; }
.gd-depart h2 { margin: 0; font-size: 18px; } .gd-depart label { font-size: 13px; font-weight: 700; } .gd-depart p { margin: 0; font-size: 13px; opacity: .85; }
.gd-depart input { height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: rgba(255,255,255,.14); color: #fff; font: inherit; }
.gd-depart-b { display: flex; gap: 8px; justify-content: flex-end; }
.gd-depart-b button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 14px; font: inherit; font-weight: 800; cursor: pointer; }
.gd-annuler { background: rgba(255,255,255,.14); color: #fff; } .gd-go { background: #FF2D55; color: #fff; } .gd-go:disabled { opacity: .7; }
/* Rangée « En direct » (Talents) */
.gd-rangee { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; } .gd-rangee::-webkit-scrollbar { display: none; }
.gd-rond { flex: 0 0 auto; display: grid; justify-items: center; gap: 4px; width: 72px; border: 0; background: none; color: inherit; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.gd-rond > span { position: relative; width: 60px; height: 60px; border-radius: 50%; padding: 3px; background: conic-gradient(#FF2D55, #FF9500, #FF2D55); }
.gd-rond > span i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--carte, #fff); border: 2px solid var(--fond, #fff); font-style: normal; font-weight: 800; }
.gd-rond em { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 1px 6px; border-radius: 6px; background: #FF2D55; color: #fff; font-size: 9.5px; font-style: normal; letter-spacing: .06em; }
.gd-rond.lancer > span { background: var(--ligne, #ddd); } .gd-rond.lancer i { font-size: 24px; color: #FF2D55; }
.gd-rond b { max-width: 72px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gd-rond small { margin-top: -3px; font-size: 10.5px; font-weight: 600; opacity: .7; }
.gd-rond:not(.lancer) > span { animation: gd-pouls 1.6s ease-in-out infinite; }
@keyframes gd-pouls { 50% { box-shadow: 0 0 0 4px rgba(255,45,85,.22); } }
@media (prefers-reduced-motion: reduce) { .gd-rond:not(.lancer) > span { animation: none; } }
@keyframes gd-pouls { 50% { opacity: .65; } }
@keyframes gd-arrive { from { transform: translateY(10px) scale(.9); opacity: 0; } }
@keyframes gd-envol { 0% { transform: translate(-50%, 0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(calc(-50% + var(--x, 0px)), -55vh) scale(1.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gd-live, .gd-coms li, .gd-coeurs i { animation: none; } .gd-coeurs { display: none; } }
