.fpp-lazy-tiktok{position:relative;max-width:325px;width:100%;height:740px;max-height:90dvh;overflow:auto;margin:28px auto;contain:layout}
.fpp-lazy-tiktok>iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent}
.fpp-social-fallback{padding:20px}.fpp-social-fallback blockquote{min-width:0!important;max-width:100%!important;margin:0!important}
.fpp-lazy-tiktok.is-loaded>.fpp-social-fallback{visibility:hidden}

/* The official player stays within the editorial column, including narrow phones. */
body.single-post .site-main article .entry-content blockquote.tiktok-embed {
    width:100%; max-width:325px !important; min-width:0 !important;
    padding:0; margin:28px auto 10px !important; border:0; background:transparent;
}
body.single-post .site-main article .entry-content .fpp-tiktok-source {
    max-width:325px; margin:0 auto 28px; font:400 13px/1.6 "DM Sans",sans-serif;
}

/* A stable portrait slot prevents layout shifts when the official SDK initializes. */
.fpp-tiktok-shell {
    position:relative; width:100%; max-width:325px; aspect-ratio:9 / 16;
    overflow:hidden; margin:28px auto 10px; contain:layout;
}
body.single-post .site-main article .entry-content .fpp-tiktok-shell blockquote.tiktok-embed {
    position:absolute; inset:0; width:100%; height:100%; max-width:100% !important;
    margin:0 !important; padding:0; overflow:hidden;
}
.fpp-tiktok-shell .tiktok-embed-player {
    position:absolute; inset:0; width:100%; height:100%;
}
