/* Studio de partage présent sur toutes les rubriques Œil Olympien */
.oo-share-menu-button{box-sizing:border-box;width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:13px 12px;background:#0d4f78;border:1px solid #46aad2;border-radius:10px;color:#fff;font:800 13px/1.25 Inter,Arial,sans-serif;cursor:pointer}
.oo-share-menu-button:hover,.oo-share-menu-button:focus-visible{background:#0873ad;outline:2px solid #7bdfff}
.oo-share-overlay[hidden]{display:none!important}
.oo-share-overlay{position:fixed;inset:0;z-index:2147483000;background:#020b1ccc;display:flex;align-items:center;justify-content:center;padding:14px;overflow:auto;box-sizing:border-box;font-family:Inter,Arial,sans-serif}
.oo-share-dialog{box-sizing:border-box;width:min(100%,530px);max-height:min(94dvh,900px);overflow-y:auto;background:#081e37;border:1px solid #368db8;border-radius:18px;box-shadow:0 28px 76px #000b;color:#e8f7ff;padding:20px 19px 17px;text-align:left}
.oo-share-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}
.oo-share-head small{color:#7fd7f4;font-size:11px;font-weight:900;letter-spacing:1.3px}
.oo-share-head h2{font:900 clamp(20px,5vw,28px)/1.2 Inter,Arial,sans-serif;color:white;margin:6px 0 0}
.oo-share-close{width:38px;min-width:38px;height:38px;border:1px solid #368db8;border-radius:10px;background:#113c60;color:#fff;cursor:pointer}
.oo-share-dialog label{display:block;margin:14px 0 7px;font-size:11px;letter-spacing:.5px;font-weight:900;color:#95def6}
.oo-share-dialog textarea,.oo-share-dialog input{box-sizing:border-box;display:block;width:100%;background:#0a2c4e;border:1px solid #3a799f;color:white;border-radius:10px;font:500 14px/1.55 Inter,Arial,sans-serif;padding:11px 12px;resize:vertical}
.oo-share-dialog textarea{min-height:136px;max-height:265px}
.oo-share-dialog input{font-size:12px;overflow:hidden;text-overflow:ellipsis}
.oo-share-dialog :is(textarea,input,button):focus-visible{outline:2px solid #7adfff;outline-offset:2px}
.oo-share-note{font-size:12px;color:#87e4f7;margin:13px 0;min-height:18px;line-height:1.5}
.oo-share-note.warn{color:#ffcf9d}
.oo-share-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.oo-share-actions button{min-height:43px;padding:10px 7px;font:800 12px/1.25 Inter,Arial,sans-serif;border-radius:10px;border:1px solid #418bad;background:#0d466d;color:#fff;cursor:pointer}
.oo-share-actions button:hover{background:#156894}
.oo-share-actions .oo-share-copy{grid-column:1/-1;background:#1683b0;border-color:#55ddff;color:white}
.oo-share-tip{font-size:11px;color:#a6bed1;line-height:1.55;margin:14px 0 0}
body.oo-share-open{overflow:hidden}
@media(max-width:450px){.oo-share-overlay{padding:10px}.oo-share-dialog{padding:16px 13px}.oo-share-actions button{font-size:11px}}
/* V62 : aperçu concret du PNG, en plus du texte et du lien */
.oo-share-visual[hidden]{display:none!important}
.oo-share-visual{margin:0 0 8px;padding:10px;border:1px solid #368db8;border-radius:12px;background:#06172d;text-align:center}
.oo-share-visual img{display:block;max-width:100%;max-height:205px;width:auto;height:auto;object-fit:contain;margin:auto;border-radius:7px}
.oo-share-visual figcaption{font-size:11px;color:#a6e5fc;margin-top:7px;font-weight:700}
.oo-share-actions button:disabled{opacity:.43;cursor:not-allowed}
.oo-share-actions #ooUniversalX{grid-column:1/-1;background:#1376a5;border-color:#6dcfff;font-size:13px}
.oo-share-actions #ooUniversalDownload{background:#103955}
@media(max-width:450px){.oo-share-dialog{max-height:95dvh}.oo-share-visual img{max-height:140px}}
/* Permettre aux boutons de partage de rester visibles sur les petits écrans. */
@media(max-width:620px){.roster-head,.match-top{flex-wrap:wrap}.roster-head #effectifShare,.match-top #matchShare{flex:0 0 auto}}

/* V81 : privilégier la carte de lien, garder le fichier PNG distinct. */
.oo-share-actions #ooUniversalImage{background:#113650;border-color:#2e6a90}
