/* The photo sits directly above the blurred page. Controls stay inside the safe viewport. */
body #community-dialog.photo-viewer-dialog {
 position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;
 padding:0;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:hidden;color:#fff;
}
#community-dialog.photo-viewer-dialog::backdrop{background:rgba(10,8,15,.72);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
#community-dialog.photo-viewer-dialog>header{position:absolute;inset:0 0 auto;z-index:5;margin:0;padding:0;height:0;background:transparent;border:0}
#community-dialog.photo-viewer-dialog #dialog-title{position:absolute;width:1px;height:1px;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
#community-dialog.photo-viewer-dialog #dialog-close{position:fixed;top:calc(12px + env(safe-area-inset-top));right:calc(12px + env(safe-area-inset-right));z-index:10;display:grid;place-items:center;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;border:1px solid #ffffff55;border-radius:50%;background:#151019d9;color:#fff;font-size:30px;line-height:1;cursor:pointer;touch-action:manipulation;pointer-events:auto}
#community-dialog.photo-viewer-dialog #dialog-content{height:100%;padding:0;margin:0;background:transparent}
#community-dialog.photo-viewer-dialog #dialog-error:empty{display:none}
#community-dialog.photo-viewer-dialog .photo-viewer{display:block;height:100%;padding:0;background:transparent}
#community-dialog.photo-viewer-dialog .photo-viewer-stage{position:relative;display:grid;place-items:center;background:transparent;border-radius:0;height:100%;max-height:none;min-height:0;padding:calc(70px + env(safe-area-inset-top)) 16px calc(82px + env(safe-area-inset-bottom));box-sizing:border-box}
#community-dialog.photo-viewer-dialog .photo-viewer-stage img{width:100%;height:100%;max-height:100%;min-height:0;object-fit:contain;filter:drop-shadow(0 10px 30px #0005);user-select:none;-webkit-user-drag:none}
#community-dialog.photo-viewer-dialog .photo-viewer-controls{position:absolute;bottom:calc(16px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;white-space:nowrap;padding:6px 12px;border-radius:32px;background:#151019c9;backdrop-filter:blur(10px);max-width:calc(100% - 24px);box-sizing:border-box}
#community-dialog.photo-viewer-dialog .photo-viewer-controls button{font-size:13px;min-height:44px;min-width:44px;padding:8px 12px;border-radius:22px;color:#fff}
#community-dialog.photo-viewer-dialog .photo-viewer-controls .social-like[aria-pressed=true]{color:#9f2148!important}
#community-dialog.photo-viewer-dialog .photo-viewer-counter{font-size:13px;color:#fff}
#community-dialog.photo-viewer-dialog .photo-viewer-caption,#community-dialog.photo-viewer-dialog .photo-viewer-choices{display:none}
#community-dialog.photo-viewer-dialog .photo-viewer-stage>button{z-index:3;width:48px;height:48px;background:#151019c9}
#community-dialog.photo-viewer-dialog button:focus-visible{outline:3px solid #f5bbd0;outline-offset:3px}
@media(max-width:600px){#community-dialog.photo-viewer-dialog .photo-viewer-stage{padding-left:0;padding-right:0}#community-dialog.photo-viewer-dialog .photo-viewer-stage>button{width:40px;height:44px}.photo-viewer-previous{left:6px}.photo-viewer-next{right:6px}}
@media(max-height:480px){#community-dialog.photo-viewer-dialog .photo-viewer-stage{padding-top:8px;padding-bottom:65px}#community-dialog.photo-viewer-dialog #dialog-close{top:8px}}

html[data-theme=light] .profile-v2-commercial-link{background:linear-gradient(135deg,#fff7fa,#fff);color:#342235;border-color:#d9c2cf}html[data-theme=light] .profile-v2-commercial-link .muted-copy{color:#73566b}

html[data-theme=light] .advertisement-intro{color:#604659!important}html[data-theme=light] .advertisement-main-gallery figcaption{color:#fff!important}
