/* Events 6.6: only discovery gets the immersive shell. */
.immersive-mode{background:#040c19;color:#f5f7ff;grid-template-rows:minmax(0,1fr) auto;position:relative;overflow:hidden}.immersive-mode>.top,.immersive-mode>.demo{display:none}.immersive-mode #main{overflow:hidden}.immersive-mode nav{background:#070e1e;color:#dce6f5;border-top:1px solid #ffffff14;padding-top:3px;padding-bottom:max(5px,env(safe-area-inset-bottom));min-height:56px}.immersive-mode nav a{color:#bcc9de;font-size:.62rem;min-height:48px;padding:4px 2px;gap:2px}.immersive-mode nav a[aria-current]{color:#88eee2;background:#ffffff09}.immersive-mode nav svg{width:20px;height:20px}.profile66.discover{position:relative;display:block;padding:0;height:100%;min-height:0;isolation:isolate;background:radial-gradient(circle at 60% 20%,#193c5e,#050b18)}.profile66 #swipe-area{position:absolute;inset:0;min-height:0;overflow:hidden;border-radius:0;transform-origin:50% 90%;z-index:2;outline-offset:-4px;will-change:transform;background:#071021}.profile66 .deck-under{position:absolute;inset:20px;display:grid;place-content:center;color:#d8e5ff;font-size:1.4rem;text-align:center;background:radial-gradient(ellipse at top,#4b3b70,#121a2a);border-radius:24px;padding:40px}.profile66 .scene-dots{position:absolute;z-index:5;top:max(4px,env(safe-area-inset-top));left:12px;right:12px;display:flex;gap:5px;padding:0;height:24px}.profile66 .scene-dots button{flex:1;background:transparent;position:relative;min-height:24px;height:24px;padding:0;border:0;border-radius:0}.profile66 .scene-dots button:after{content:'';position:absolute;inset:10px 0;background:#ffffff4d;border-radius:3px}.profile66 .scene-dots button.active:after{background:#d3ffff;box-shadow:0 0 8px #7ceeff}.profile-top{position:absolute;top:28px;left:16px;right:12px;display:flex;justify-content:space-between;align-items:center;z-index:5;pointer-events:none}.profile-top span{font-size:.55rem;letter-spacing:.15em;color:white;text-shadow:0 1px 4px #000;background:#030b1b99;padding:4px 6px;border-radius:4px}.profile-top button{pointer-events:auto;width:44px;height:44px;border-radius:50%;background:#07101a9c;color:white;border:1px solid #ffffff66;padding:0}.profile66 .deck-actions{position:absolute;left:20px;right:20px;bottom:14px;z-index:5;display:flex;justify-content:center;align-items:center;gap:18px;margin:0;padding:0;pointer-events:none}.profile66 .deck-actions button{pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;width:62px;height:62px;min-height:62px;border-radius:50%;border:1px solid #fff8;background:#080f25d9;color:white;padding:0;box-shadow:0 4px 20px #0004}.profile66 .deck-actions button span{font-size:32px;line-height:1}.profile66 .deck-actions button small{font-size:.55rem;margin-top:2px}.profile66 .deck-actions button:nth-child(2){width:auto;min-width:110px;height:48px;min-height:48px;border-radius:40px;flex-direction:row;gap:7px;font-size:.9rem;padding:0 16px}.profile66 .deck-actions button:nth-child(2) span{font-size:20px}.profile66 .deck-actions button.save{background:#f22b79;border-color:#ff81b2;color:white}.profile66 .deck-actions button.save span{font-size:34px}.profile66 #swipe-area[data-drag]{outline:none}.profile66 #swipe-area[data-drag]::after,.profile66 #swipe-area[data-decision]::after{position:absolute;top:110px;left:24px;right:auto;transform:rotate(-12deg);font-size:1.9rem;font-weight:850;border:4px solid currentColor;border-radius:8px;padding:5px 16px;color:#8cffee;background:#05182599;z-index:8;opacity:var(--decision-opacity,1);pointer-events:none;content:'INTÉRESSÉ !'}.profile66 #swipe-area[data-drag=pass]::after,.profile66 #swipe-area[data-decision=pass]::after{content:'PASSER';color:#ff7fba;transform:rotate(12deg);left:auto;right:24px}html[lang=en] .profile66 #swipe-area[data-decision=save]::after{content:'INTERESTED'}html[lang=en] .profile66 #swipe-area[data-decision=pass]::after{content:'PASS'}.last-choice{position:absolute;z-index:6;top:80px;left:12px;right:12px;display:flex;gap:8px;align-items:center;pointer-events:none}.last-choice button,.last-choice span{pointer-events:auto;background:#071324e8;color:white;border:1px solid #94b8c8;border-radius:24px;min-height:44px;padding:8px 12px;font-size:.72rem}.last-choice span{pointer-events:none}.coffee-scene{background:radial-gradient(circle at 50% 20%,#f5c897,#bb7958 50%,#3d272d);color:white;padding:95px 26px 110px;justify-content:flex-end}.coffee-art{font-size:150px;text-align:center;margin:auto;text-shadow:0 20px 30px #4a2718}.coffee-scene h1{font-size:3rem}.hub-identity{display:flex;gap:16px;align-items:center}.hub-identity img{width:78px;height:110px;object-fit:cover;border-radius:10px}.hub-identity h2{font-size:1.6rem}.hub-facts{margin:22px 0}.hub-facts>div{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid var(--border)}.hub-facts dt{font-size:.8rem;color:var(--muted)}.hub-facts dd{margin:0;font-weight:650}.hub-external{margin:20px 0;background:var(--soft);padding:16px;border-radius:16px}.hub-external p{font-size:.85rem}.external-ticket{display:block;text-align:center;text-decoration:none;padding:14px;border-radius:12px}.full-poster{width:100%;height:auto;display:block}.friend-portrait{width:130px;height:130px;display:block;margin:auto}.friend-row{display:flex;gap:12px;align-items:center;width:100%;margin:8px 0;background:var(--soft);color:var(--ink);text-align:left}.notice{z-index:20;pointer-events:none}.immersive-mode .notice{bottom:70px;background:#102538;color:white;border:1px solid #7692a7}
@media(max-height:620px){.profile66 .deck-actions{bottom:8px}.profile66 .deck-actions button{width:52px;height:52px;min-height:52px}.profile-top{top:24px}.profile-top button{height:38px;width:38px}.last-choice{top:65px}}
@media(prefers-reduced-motion:reduce){.profile66 #swipe-area{will-change:auto}}
.profile66 #swipe-area>.oi-scene{max-height:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}.profile66 #swipe-area>.oi-scene::-webkit-scrollbar{display:none}.profile66 #swipe-area>.oi-poster-scene{overflow:hidden}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}.immersive-mode nav a{overflow-wrap:normal;word-break:normal;letter-spacing:0;font-size:.6rem}.profile66 .oi66-scene{justify-content:safe flex-end}
.profile66 #swipe-area .oi66-scene{justify-content:safe flex-end}
@media(max-height:720px){.profile66 .oi66-friend:nth-child(even){transform:none}.profile66 .oi-friends{gap:14px 8px}}
.immersive-mode nav a{overflow-wrap:anywhere;min-height:3rem;height:auto}.profile66 #swipe-area>.oi-scene{justify-content:safe flex-end}.immersive-mode .notice{font-size:.8rem;line-height:1.35;max-height:28vh;overflow:auto;bottom:90px}


/* Events 6.12: the deck owns one-finger gestures; details remain scrollable.
   Keep pinch zoom available and scope the document lock to the mobile deck. */
.profile66 #swipe-area{touch-action:pinch-zoom;overscroll-behavior:none}
@media(max-width:760px){
 html:has(.app.immersive-mode),body:has(.app.immersive-mode){
  overflow:hidden;overscroll-behavior:none;
 }
}
