/* P198 : l'envoi courant d'abord, l'annuaire optionnel en second. */
#shareScreen .p198-share-context{margin:0 0 12px;font-size:14px;line-height:1.45;font-weight:650;opacity:.9}
#shareScreen .p158-direct-share{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
#shareScreen .p158-direct-share button{flex:1 1 112px;min-height:48px;touch-action:manipulation;white-space:normal;line-height:1.25}
#shareScreen .p158-direct-share #nativeShare{flex:1 1 100%;font-size:16px;font-weight:800}
#shareScreen .p198-direct{border-top:1px solid color-mix(in srgb,currentColor 22%,transparent);padding:8px 0 0;margin-top:8px}
#shareScreen .p198-direct summary{font-size:13px;min-height:44px;display:flex;align-items:center;cursor:pointer;opacity:.82;touch-action:manipulation}
#shareScreen .p198-direct[open] summary{font-weight:700;opacity:1}
#shareScreen .p198-direct #p91Invite{margin-top:8px}
#shareScreen .p198-direct #p91Search{min-width:0}
#shareScreen .modal-card{max-height:calc(100dvh - 22px);max-height:calc(100svh - 22px);overflow:auto;overscroll-behavior:contain}
#resultScreen #p198ResultReply{min-height:44px}
@media(max-width:650px){
 #shareScreen .modal-card{padding:14px 16px;max-height:calc(100svh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 18px)}
 #shareScreen .p103-share-preview{margin:4px 0 10px}
 #shareScreen .p103-share-preview canvas{max-height:min(22svh,145px)}
 #shareScreen .p158-direct-share button{flex:1 1 calc(50% - 8px)}
 #shareScreen .p158-direct-share #nativeShare{flex:1 1 100%}
 #resultScreen .modal-actions button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){#shareScreen *{scroll-behavior:auto!important}}

/* Recevoir : une seule action claire. La connexion reste disponible depuis l'accueil. */
#challengeIntro #introTwitch{display:none!important}
#challengeIntro #introStart{min-height:50px;font-weight:800}
#challengeIntro #introDismiss{min-height:44px}

/* P199 — aucun e-mail visible ni étape de copie, même sous CSS héritée. */
.p158-direct-share #emailShare[hidden]{display:none!important}
