/* Shared photo status: one compact badge, inside the photo. */
:root{--photo-fake-watermelon:#ad2e4b;--photo-verified-green:#176b48}
.public-profile .public-gallery .owner-cover-button>.photo-verification{--photo-status-inset:16px;--photo-status-space:32px}
.public-profile .public-gallery,.public-profile .public-gallery .owner-cover-button{position:relative!important}
.catalog-card-v92 .catalog-photo-open-v224>.catalog-photo-verified-v152,
.public-profile .public-gallery .owner-cover-button>.photo-verification,
.public-profile .public-gallery>.photo-verification,
.owner-photo-wrap-v105 .owner-cover-button>.owner-photo-status-v153,
#ios646-viewer.open.ios696-photo .photo-status-badge-v780,
.catalog-lightbox-media-v153>.catalog-lightbox-photo-status-v153,
.photo-lightbox-media>.photo-verification{display:block!important;position:absolute!important;top:var(--photo-status-inset,7px)!important;left:var(--photo-status-inset,7px)!important;right:auto!important;bottom:auto!important;transform:none!important;width:max-content!important;max-width:calc(100% - var(--photo-status-space,14px))!important;box-sizing:border-box!important;margin:0!important;padding:var(--photo-status-padding,4px 7px)!important;border:1px solid #ffffff32!important;border-radius:6px!important;background:var(--photo-verified-green)!important;color:#fff!important;font-size:var(--photo-status-font,11px)!important;font-weight:500!important;line-height:1.25!important;white-space:normal!important;text-align:left!important;pointer-events:none!important;z-index:10!important;box-shadow:0 1px 3px #0003!important;text-shadow:none!important}
.catalog-card-v92 .catalog-photo-open-v224>.catalog-photo-verified-v152.fake,
.public-profile .public-gallery .owner-cover-button>.photo-verification.fake,
.public-profile .public-gallery>.photo-verification.fake,
.owner-photo-wrap-v105 .owner-cover-button>.owner-photo-status-v153.fake,
#ios646-viewer.open.ios696-photo .photo-status-badge-v780.fake,
.catalog-lightbox-media-v153>.catalog-lightbox-photo-status-v153.fake,
.photo-lightbox-media>.photo-verification.fake{background:var(--photo-fake-watermelon)!important}
.public-profile .public-gallery .photo-verification.unchecked,.public-profile .public-gallery .photo-verification:empty,.catalog-lightbox-photo-status-v153:empty{display:none!important}
.catalog-card-v92:has(.catalog-photo-crown-v147) .catalog-photo-open-v224>.catalog-photo-verified-v152,.public-profile .owner-cover-button:has(.profile-photo-crown-v147)>.photo-verification{max-width:calc(100% - 55px)!important}
.photo-status-image-frame-v780{position:relative;display:inline-flex;max-width:100%;max-height:100%;min-width:0;min-height:0;align-items:center;justify-content:center}
.photo-status-image-frame-v780>img{display:block;max-width:100%;max-height:inherit;object-fit:contain}
.catalog-card-v92 .catalog-photo-open-v224>.catalog-photo-verified-v152,
.public-profile .public-gallery .owner-cover-button>.photo-verification,
.public-profile .public-gallery>.photo-verification,
.owner-photo-wrap-v105 .owner-cover-button>.owner-photo-status-v153{--photo-status-font:10px;--photo-status-padding:3px 6px}
/* v782: the photo viewer uses its own centered photo layout, not the Shorts layout. */
#ios646-viewer.open.ios696-photo{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;overflow:hidden!important;background:#000!important}
#ios646-viewer.open.ios696-photo .ios646-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:0!important;box-sizing:border-box!important}
#ios646-viewer.open.ios696-photo .ios646-media>.photo-status-image-frame-v780{position:relative!important;display:block!important;flex:0 0 auto!important;max-width:100%!important;max-height:100%!important;margin:auto!important;overflow:hidden!important;transform:none!important}
#ios646-viewer.open.ios696-photo .photo-status-image-frame-v780>img{display:block!important;position:static!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important}
#ios646-viewer.open.ios696-photo .ios646-count{z-index:12!important}

@media(max-width:760px){
.catalog-card-v92 .catalog-photo-open-v224>.catalog-photo-verified-v152,
.public-profile .public-gallery .owner-cover-button>.photo-verification,
.public-profile .public-gallery>.photo-verification,
.owner-photo-wrap-v105 .owner-cover-button>.owner-photo-status-v153{--photo-status-font:9px;--photo-status-padding:2px 5px}
.catalog-card-v92 .catalog-photo-open-v224>.catalog-photo-verified-v152,
.public-profile .public-gallery .owner-cover-button>.photo-verification,
.public-profile .public-gallery>.photo-verification,
.owner-photo-wrap-v105 .owner-cover-button>.owner-photo-status-v153,
#ios646-viewer.open.ios696-photo .photo-status-badge-v780,
.catalog-lightbox-media-v153>.catalog-lightbox-photo-status-v153,
.photo-lightbox-media>.photo-verification{top:var(--photo-status-inset,6px)!important;left:var(--photo-status-inset,6px)!important;padding:var(--photo-status-padding,3px 6px)!important;font-size:var(--photo-status-font,10px)!important;max-width:calc(100% - var(--photo-status-space,12px))!important}
.catalog-card-v92:has(.catalog-photo-crown-v147) .catalog-photo-open-v224>.catalog-photo-verified-v152,.public-profile .owner-cover-button:has(.profile-photo-crown-v147)>.photo-verification{max-width:calc(100% - 48px)!important}
}
