/* Dedicated Social preview: native <dialog>, full height, natural media proportions. */
#top dialog.afr-sp{--afr-sp-green:#173e44;position:fixed;inset:0;margin:auto;padding:0;width:min(1060px,100vw);max-width:100vw;height:100vh;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#fff;color:#0b1719;box-shadow:0 0 90px #0007;font-family:inherit;overflow:hidden;box-sizing:border-box}
#top dialog.afr-sp[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#top .afr-sp::backdrop{background:#071719c9;backdrop-filter:blur(5px)}
#top .afr-sp-header{padding:14px 24px;display:flex;gap:20px;align-items:center;justify-content:space-between;background:#173e44;color:#fff;border-bottom:3px solid #ffc900}
#top .afr-sp-brand{display:block;font-size:13px;line-height:1.2;letter-spacing:.19em;font-weight:700;color:#ffc900}
#top .afr-sp-header h2{font-weight:600;font-family:inherit;font-size:17px;line-height:1.4;color:#fff;margin:3px 0 0!important;text-transform:none;letter-spacing:0}
#top .afr-sp-close{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff65;background:transparent;border-radius:50%;color:#fff;font-size:32px;line-height:1;cursor:pointer;transition:color .16s,border-color .16s}
#top .afr-sp-close:hover{color:#ffc900;border-color:#ffc900}
#top .afr-sp :focus-visible{outline:2px solid #d6a900;outline-offset:3px}
#top .afr-sp-body{min-height:0;display:grid;grid-template-columns:minmax(0,var(--afr-sp-media-share,45%)) minmax(0,1fr);overflow:hidden}
#top .afr-sp-media{min-width:0;min-height:0;background:#edf1f1;display:grid;grid-template-rows:minmax(0,1fr) auto;padding:24px;gap:12px;align-self:stretch}
#top .afr-sp-stage{min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;height:100%}
#top .afr-sp-stage img,#top .afr-sp-stage video{display:block;max-height:100%;max-width:100%;width:100%;height:100%;object-fit:contain;margin:0;border:0;border-radius:3px}
#top .afr-sp-stage iframe{display:block;width:100%;height:100%;border:0;min-height:150px}
#top .afr-sp-gallery{display:flex;align-items:center;justify-content:center;gap:18px}
#top .afr-sp-gallery button{width:42px;height:36px;border:1px solid #173e4440;border-radius:4px;background:#fff;color:#173e44;font-size:20px;cursor:pointer;padding:0}
#top .afr-sp-gallery button:disabled{opacity:.3;cursor:default}
#top .afr-sp-gallery output{font-size:13px;color:#173e44}
#top .afr-sp-text{min-width:0;min-height:0;padding:24px 28px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#173e4470 transparent;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
#top .afr-sp-copy{font:inherit;color:inherit}
#top .afr-sp-copy p{font:inherit;margin:0 0 1em}
#top .afr-sp-copy p:last-child{margin-bottom:0}
#top .afr-sp-copy a{color:#173e44;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#top .afr-sp-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;border-top:1px solid #173e441f;background:#fff}
#top a.afr-sp-original{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 18px;background:#ffc900;color:#0b1719;border:1px solid transparent;border-radius:4px;font-size:14px;font-weight:600;white-space:nowrap;text-decoration:none;cursor:pointer}
#top a.afr-sp-original:hover{text-decoration:underline;background:#f4c300}
#top .afr-sp-external-note{font-size:12px;line-height:1.4;color:#5a686a;max-width:230px}
#top .afr-sp-no-media .afr-sp-body{grid-template-columns:1fr}
#top .afr-sp-no-media .afr-sp-media{display:none}
#top .afr-sp [hidden],#top #afr-sp-prototype[hidden],#top .afr-social-library[hidden]{display:none!important}
@media(max-width:767.98px){
 #top dialog.afr-sp{width:100vw!important;max-width:100vw;height:100dvh;margin:0;inset:0}
 #top .afr-sp-header{padding:calc(10px + env(safe-area-inset-top)) 16px 10px;gap:10px}
 #top .afr-sp-header h2{font-size:15px}
 #top .afr-sp-brand{font-size:12px}
 #top .afr-sp-body{display:block;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
 #top .afr-sp-media{height:var(--afr-sp-mobile-media,32dvh);min-height:180px;padding:12px 16px;gap:4px;box-sizing:border-box}
 #top .afr-sp-gallery{gap:14px}
 #top .afr-sp-gallery button{height:32px}
 #top .afr-sp-text{overflow:visible;padding:18px 20px;font-size:17px;line-height:1.45;min-height:0}
 #top .afr-sp-footer{padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:6px 12px;flex-wrap:wrap}
 #top a.afr-sp-original{padding:8px 12px;font-size:13px;min-height:44px;white-space:normal;text-align:center;max-width:100%;box-sizing:border-box}
 #top .afr-sp-external-note{font-size:10px;max-width:none;flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){#top .afr-sp *{transition:none!important;scroll-behavior:auto!important}}
