/* Native first. The fallback is portaled to body, so no card reflow or page jump. */
.fac-photo-share.fac-share-v2{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;width:auto;max-width:100%;margin:10px 0 0;gap:0;min-width:0;box-sizing:border-box}
.fac-share-v2>button.fac-share-trigger{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:44px!important;width:auto!important;max-width:100%!important;padding:10px 14px!important;margin:0!important;border:1px solid #bdd0d9!important;border-radius:10px!important;background:#f6fafb!important;color:#20586b!important;font:inherit!important;font-size:14px!important;font-weight:700!important;line-height:1.2!important;cursor:pointer}
.fac-share-trigger svg{width:20px!important;height:20px!important;flex:0 0 20px}
.fac-share-trigger .fac-share-icon-apple{display:none}
.fac-share-apple .fac-share-trigger .fac-share-icon-default{display:none}
.fac-share-apple .fac-share-trigger .fac-share-icon-apple{display:block}
.fac-share-trigger:hover{background:#eaf3f6!important}
.fac-share-layer[hidden]{display:none!important}
.fac-share-layer{position:fixed!important;inset:0!important;z-index:20000!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;padding:16px 12px calc(12px + env(safe-area-inset-bottom))!important;background:rgba(7,23,35,.48)!important;box-sizing:border-box!important;overscroll-behavior:contain}
.fac-share-panel{width:100%!important;max-width:480px!important;max-height:calc(100dvh - 48px)!important;overflow:auto!important;margin:0!important;padding:20px!important;border:1px solid #d9e5eb!important;border-radius:20px!important;background:#fff!important;color:#173d50!important;box-shadow:0 16px 60px rgba(0,0,0,.22)!important;box-sizing:border-box!important;text-align:left!important;font-family:inherit;overscroll-behavior:contain}
.fac-share-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.fac-share-panel-head>div{min-width:0}
.fac-share-panel h2{margin:0!important;color:#173d50!important;font-size:19px!important;line-height:1.3!important;font-weight:750!important;text-transform:none!important;letter-spacing:normal!important}
.fac-share-panel-head p{margin:6px 0 0!important;color:#647d8b!important;font-size:14px!important;line-height:1.4!important;overflow-wrap:anywhere}
.fac-share-close{display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#eef4f6!important;color:#244b60!important;font-size:26px!important;line-height:1!important;cursor:pointer}
.fac-share-destinations{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px 8px!important;min-width:0}
.fac-share-destinations .fac-share-destination{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-width:0!important;max-width:100%!important;min-height:84px!important;width:100%!important;margin:0!important;padding:4px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#25495c!important;box-sizing:border-box!important;font:inherit!important;font-size:13px!important;font-weight:600!important;line-height:1.3!important;text-decoration:none!important;text-align:center!important;white-space:normal!important;cursor:pointer}
.fac-share-destination-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#eaf2f6;color:#285b70}
.fac-share-destination-icon svg{display:block!important;width:24px!important;height:24px!important;max-width:24px!important}
.is-whatsapp .fac-share-destination-icon{background:#e5f5eb;color:#147c45}
.is-facebook .fac-share-destination-icon{background:#e7effd;color:#185cc4}
.is-telegram .fac-share-destination-icon{background:#e5f4fc;color:#167da8}
.fac-share-destination:hover{background:#f0f6f8!important}
.fac-share-feedback{min-height:20px!important;margin:16px 0 0!important;color:#42677a!important;font-size:13px!important;line-height:1.4!important;text-align:center!important}
.fac-share-panel input.fac-share-manual{width:100%!important;max-width:100%!important;min-width:0!important;font-size:16px!important;padding:10px!important;border:1px solid #c9dbe4!important;border-radius:8px!important;box-sizing:border-box!important;color:#244b60!important;background:#fff!important}
.fac-share-panel input[hidden]{display:none!important}
.fac-share-trigger:focus-visible,.fac-share-panel :is(a,button,input):focus-visible{outline:3px solid #2b7a92!important;outline-offset:3px!important}
@media(min-width:700px){.fac-share-layer{align-items:center!important}.fac-share-panel{padding:24px!important}}
@media(prefers-reduced-motion:reduce){.fac-share-layer *{scroll-behavior:auto!important}}

/* Discreet icon-only share action beside the title, with a 44px touch target. */
.fac-photo-share.fac-share-v2{width:44px!important;max-width:44px!important;margin:0!important;justify-content:center!important;align-self:center!important}
.fac-share-v2>button.fac-share-trigger{width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;padding:11px!important;gap:0!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#526f7f!important;box-shadow:none!important}
.fac-share-v2>button.fac-share-trigger:hover{background:#edf4f7!important;color:#20586b!important}
.fac-share-trigger svg{width:20px!important;height:20px!important;flex:0 0 20px}
.fac-app-space-fotos .archive-native-photo-titlecard{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;column-gap:10px!important;align-items:center!important;min-width:0!important}
.fac-app-space-fotos .archive-native-photo-titlecard>.eyebrow{grid-column:1!important;grid-row:1!important}
.fac-app-space-fotos .archive-native-photo-titlecard>h1{grid-column:1!important;grid-row:2!important;min-width:0!important;margin:0!important}
.fac-app-space-fotos .archive-native-photo-titlecard>p{grid-column:1 / -1!important;grid-row:3!important;min-width:0!important}
.fac-app-space-fotos .archive-native-photo-titlecard>.fac-share-v2{grid-column:2!important;grid-row:2!important;justify-self:end!important}
body.fac-portal-shell-active .fac-photo-hero-main{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;column-gap:12px!important;align-items:center!important;width:100%!important;min-width:0!important}
body.fac-portal-shell-active .fac-photo-hero-main>h1{grid-column:1!important;grid-row:1!important;min-width:0!important}
body.fac-portal-shell-active .fac-photo-hero-main>.fac-photo-hero-meta{grid-column:1 / -1!important;grid-row:2!important;min-width:0!important}
body.fac-portal-shell-active .fac-photo-hero-main>.fac-share-v2{grid-column:2!important;grid-row:1!important;justify-self:end!important}

/* Subtle bounded share button; placement and touch target stay unchanged. */
.fac-share-v2>button.fac-share-trigger{border:1px solid #c5d6df!important;background:#f7fafb!important;border-radius:9px!important;padding:10px!important;color:#355e73!important;box-sizing:border-box!important}
.fac-share-v2>button.fac-share-trigger:hover{background:#eaf3f7!important;border-color:#88abbc!important}

/* Sharing follows the header metadata and matches its chip height. */
body.fac-portal-shell-active .fac-photo-hero-main{grid-template-columns:minmax(0,1fr)!important}
body.fac-portal-shell-active .fac-photo-hero .fac-photo-context>.fac-share-v2{display:inline-flex!important;flex:0 0 auto!important;width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;align-self:center!important;margin:0!important}
body.fac-portal-shell-active .fac-photo-hero .fac-photo-context>.fac-share-v2>button.fac-share-trigger{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;padding:5px!important;border-radius:7px!important}
body.fac-portal-shell-active .fac-photo-hero .fac-share-trigger svg{width:18px!important;height:18px!important;flex:0 0 18px!important}
@media(max-width:700px){body.fac-portal-shell-active .fac-photo-hero .fac-photo-context>.fac-share-v2,body.fac-portal-shell-active .fac-photo-hero .fac-photo-context>.fac-share-v2>button.fac-share-trigger{height:31px!important;min-height:31px!important;width:31px!important;min-width:31px!important;max-width:31px!important}}
