.om-v3 .om-private-profile > .u2-profile-hero { background:#f1e4e2; }
.om-v3 .om-private-profile .u2-profile-hero::after { display:none; }
.om-v3 .om-private-profile .u2-profile-identity { color:#281b20; text-shadow:none; }
.om-private-profile-notice { display:flex; align-items:center; gap:10px; padding:8px 0 18px; }
.om-private-profile-notice p { margin:0; }
.om-v3 .u2-profile-hero .om-profile-more-actions {
    position:absolute;
    inset:39px 0 auto auto;
    display:flex;
    align-items:center;
    gap:6px;
    width:max-content;
    padding:5px;
    border-radius:10px;
    background:#fff9f6;
}
.om-v3 .u2-profile-hero .om-profile-more-actions .u2-profile-report { position:static; }

#follow-inbox-sheet :is([data-follow-requests],[data-followers],[data-following],[data-outgoing-follows]) {
    padding:0;
    list-style:none;
}
#follow-inbox-sheet .u2-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
#follow-inbox-sheet .u2-tabs:has(button[hidden]) { grid-template-columns:repeat(2,minmax(0,1fr)); }
#follow-inbox-sheet .u2-tabs button { min-width:0; overflow-wrap:normal; }
#follow-inbox-sheet .om-follow-row a { min-height:44px; }

#personal-editor .om-moment-audience > summary {
    box-sizing:border-box;
    display:grid;
    place-items:center;
    padding:0;
}
#personal-editor .om-moment-audience > summary svg { display:block; width:21px; height:21px; margin:0; }
.om-story-comments > form > [type=submit] { position:relative; }
.om-story-comments > form > [type=submit]::before { position:absolute; inset:0; margin:auto; }
.om-story-social [data-archive-moment]:disabled { color:var(--om-accent); opacity:1; }

.om-business-contact-icons > a.om-outline {
    box-sizing:border-box;
    display:inline-grid;
    place-items:center;
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
    padding:0;
}
.om-business-contact-icons :is(.om-social-symbol,.om-contact-symbol) {
    display:grid;
    place-items:center;
    width:22px;
    height:22px;
    line-height:1;
    font-size:20px;
}

#personal-editor.om-full-camera:modal {
    inset:0;
    margin:0;
    width:100%;
    height:100dvh;
    max-width:none;
    max-height:none;
    overflow:hidden;
    padding:0;
    border:0;
    border-radius:0;
    background:#181317;
    color:white;
}
.om-full-camera > header { position:absolute; inset:max(12px,env(safe-area-inset-top)) 14px auto; z-index:2; }
.om-full-camera > header h2 { text-shadow:0 1px 3px black; }
.om-full-camera > header [data-close] { display:grid; place-items:center; background:#171216a6; color:white; }
.om-full-camera form > :not(.om-capture) { display:none; }
.om-full-camera .om-capture { position:absolute; inset:0; margin:0; display:block; }
.om-full-camera .om-capture > :not(:is(video,.om-camera-controls,.om-camera-rotate,.om-camera-recording)) { display:none; }
.om-full-camera.om-camera-opening .om-capture > .om-camera-status {
    position:absolute;
    inset:50% 12px auto;
    width:auto;
    margin:0;
    transform:translateY(-50%);
    display:block;
    text-align:center;
    pointer-events:none;
}
.om-full-camera .om-capture > video { width:100%; height:100%; max-height:none; border-radius:0; object-fit:cover; }
.om-full-camera .om-camera-rotate {
    position:absolute;
    right:14px;
    top:calc(max(12px,env(safe-area-inset-top)) + 48px);
    background:#171216a6;
    color:white;
}
.om-camera-controls:not([hidden]) {
    position:absolute;
    inset:auto 0 0;
    display:grid;
    grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);
    justify-items:center;
    align-items:center;
    gap:8px;
    padding:30px 12px calc(16px + env(safe-area-inset-bottom));
    background:linear-gradient(transparent,#141014d9);
}
.om-camera-controls button { color:white; background:#171216a6; border:1px solid #fff9; border-radius:22px; padding:8px 11px; }
.om-camera-controls .om-camera-shutter {
    display:grid;
    place-items:center;
    width:68px;
    height:68px;
    padding:0;
    border:3px solid white;
    border-radius:50%;
    touch-action:none;
    user-select:none;
}
.om-camera-shutter::before { content:''; width:48px; height:48px; border-radius:50%; background:white; }
.om-camera-shutter[data-recording]::before { width:30px; height:30px; border-radius:8px; background:#e74458; }
.om-camera-hint { grid-column:1/-1; margin:0; text-align:center; font-size:.83rem; }
.om-camera-controls:has([data-recording]) .om-camera-hint,
.om-camera-opening .om-camera-hint { visibility:hidden; }
.om-camera-recording:not([hidden]) {
    position:absolute; top:calc(max(12px,env(safe-area-inset-top)) + 48px); left:50%; transform:translateX(-50%);
    z-index:2; pointer-events:none; white-space:nowrap; display:flex; align-items:center; justify-content:center; gap:8px;
    padding:5px 12px; border-radius:999px; background:#3f1523; color:#fff; font-size:14px;
}
.om-camera-recording::before { content:''; width:9px; height:9px; border-radius:50%; background:#ff6174; }
.om-camera-recording time { font-variant-numeric:tabular-nums; }
.om-wedding-share-choices { display:flex;flex-wrap:wrap;gap:8px; }
.om-capture-text-share > :is(button,.om-camera-status),
.om-capture-text-share .om-capture-gallery > button { display:none; }
.om-profile-album-sections { display:grid;gap:8px; }
.om-profile-album-toolbar { display:flex;flex-wrap:wrap;align-items:center;gap:8px; }
.om-profile-album-toolbar h3 { margin:0 auto 0 0; }
.om-profile-album-tile { position:relative;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;
    border:1px solid var(--line);border-radius:12px;background:var(--wash,var(--card));color:var(--ink-rose); }
.om-profile-album-tile img { position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover; }
.om-profile-album-tile span { position:absolute;inset:auto 8px 8px;display:block;padding:7px;border-radius:8px;
    background:var(--card);overflow-wrap:anywhere; }
.om-profile-album-fields { display:grid;gap:10px; }
.om-profile-album-fields fieldset { max-height:35dvh;overflow:auto; }
.om-profile-album-fields fieldset label { display:flex;align-items:center;gap:8px; }
.om-profile-album-fields fieldset img { width:42px;height:42px;object-fit:cover;border-radius:6px; }
.om-profile-asset > button.om-profile-asset-actions { position:absolute;top:6px;right:6px;z-index:2;
    display:grid;place-items:center;width:38px;height:38px;padding:0;border-radius:50%;
    border:1px solid var(--line);background:var(--card);color:var(--ink-rose);font-size:23px;line-height:1; }
.om-profile-video > button.om-profile-asset-actions { right:auto;left:6px; }
.om-profile-asset-menu { display:grid;gap:8px; }
@media (max-width:760px) {
    #follow-inbox-sheet .u2-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); }
    #moments-sheet .om-story-social:has([data-archive-moment]) { gap:2px; }
    #moments-sheet .om-story-social:has([data-archive-moment]) button { width:36px; min-width:36px; height:36px; min-height:36px; }
}
.om-business-workspace { display:grid; gap:12px; align-content:start; }
.om-workspace-grid > .om-right { display:none; }
@media (min-width: 801px) { .om-feed .om-workspace-grid > .om-business-workspace { grid-column:2/-1; } }
.om-business-workspace > .om-card { min-width:0; }
.om-business-workspace-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:12px; }
.om-business-workspace-grid h2 { display:flex; align-items:center; gap:8px; }
.om-business-editor-frame { width:100%; min-height:700px; border:0; background:transparent; }
.om-workspace-links { display:flex; flex-wrap:wrap; gap:8px; }
.om-vendor-checks { display:flex; flex-wrap:wrap; gap:8px 14px; min-width:0; max-height:160px; overflow:auto; }
.om-vendor-checks label { display:inline-flex; gap:5px; align-items:center; }
.om-vendor-checks input[type="checkbox"] { width:auto; min-height:0; }
.om-ad-body { white-space:pre-wrap; overflow-wrap:anywhere; }
.om-workspace-heading { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:clamp(16px,2vw,24px); }
.om-workspace-heading h1 { margin:0; font-size:clamp(21px,2.4vw,30px); }
.om-workspace-heading p,.om-workspace-form p { margin:0; }
.om-workspace-heading > :is(form,a) { margin-inline-start:auto; }
.om-workspace-icon { display:grid; place-items:center; width:44px; height:44px; flex:none; border-radius:14px; background:#f6e9e9; color:var(--rose); }
.om-workspace-form { display:grid; gap:12px; min-width:0; }
.om-workspace-form > label,.om-ad-details > label { display:grid; gap:5px; min-width:0; font-weight:600; }
.om-workspace-form :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) { min-width:0; min-height:42px; padding:9px 12px; border-radius:10px; font-weight:400; }
.om-workspace-form textarea { min-height:108px; }
.om-workspace-form > :is(.om-primary,.om-outline) { display:inline-flex; align-items:center; justify-content:center; gap:7px; justify-self:start; min-height:42px; }
.om-workspace-form > :is(ul,ol,dl):empty,.om-workspace-form > p:empty { display:none; }
.om-workspace-details > summary { display:flex; align-items:center; gap:11px; min-height:44px; border-radius:10px; padding:8px 10px; font-weight:650; list-style:none; cursor:pointer; }
.om-workspace-details > summary::-webkit-details-marker { display:none; }
.om-workspace-details > summary:hover { background:#f7eeee; }
.om-workspace-details > summary > .om-icon:first-child { color:var(--rose); }
.om-workspace-details > summary > .om-icon:last-child { margin-inline-start:auto; width:17px; height:17px; }
.om-workspace-details[open] > summary > .om-icon:last-child { transform:rotate(90deg); }
.om-workspace-details[open] > .om-workspace-form { margin-top:12px; padding:14px 10px 4px; border-top:1px solid var(--line); }
.om-workspace-details summary small,.om-business-quick small { display:block; color:#67585c; font-size:.85em; font-weight:400; }
.om-workspace-empty { display:flex; align-items:center; gap:9px; color:#67585c; }
.om-workspace-empty .om-icon { color:var(--rose); }
.om-marketplace { width:100%; max-width:1050px; }
.om-ad-categories { border:0; padding:0; margin:0; min-width:0; }
.om-ad-categories legend { font-weight:650; margin-bottom:7px; padding:0; }
.om-ad-category-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr)); gap:8px; }
.om-ad-category-options label { display:flex; align-items:center; gap:8px; min-height:40px; padding:6px 10px; border:1px solid var(--line); border-radius:10px; background:#fff; cursor:pointer; }
.om-ad-category-options label:has(:checked) { border-color:var(--rose); background:#f8eeee; }
.om-ad-category-options input { flex:none; margin:0; }
.om-ad-details { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(0,1fr); gap:12px; }
.om-ad-meta { display:flex; flex-wrap:wrap; gap:6px; }
.om-ad-meta span { display:inline-flex; align-items:center; gap:5px; border-radius:999px; padding:4px 10px; background:#f6e9e9; }
.om-ad-meta .om-icon { width:16px; height:16px; color:var(--rose); }
.om-ad-entry .om-workspace-details { border-top:1px solid var(--line); }
.om-business-quick { grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); }
.om-business-quick > a.om-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:10px; padding:14px; }
.om-business-quick > a:hover { border-color:var(--rose); }
.om-business-quick > a > .om-icon { width:16px; height:16px; color:var(--rose); }
.om-business-tools > h2 { padding:5px 10px; }
.om-business-tools > details + details { border-top:1px solid var(--line); }
.om-business-tools .om-workspace-form { max-width:700px; }
@media (max-width:600px) {
    .om-ad-details { grid-template-columns:1fr; }
    .om-ad-category-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .om-workspace-form > .om-primary { justify-self:stretch; }
    .om-workspace-heading > :is(form,a) { margin-inline-start:0; }
    .om-workspace-form button { scroll-margin-bottom:calc(76px + env(safe-area-inset-bottom)); }
}
.om-comment-text a { color:inherit; text-underline-offset:2px; }
#moments-sheet .om-story-stage .u2-shared-story {
    position:absolute; inset:86px clamp(44px,8%,76px) 20px;
    overflow:auto; overscroll-behavior:contain;
    background:var(--card,#fff8f6); color:var(--ink,#241718); overflow-wrap:anywhere;
}
#moments-sheet .u2-shared-story header { display:grid; justify-content:start; gap:4px; }
#moments-sheet .u2-shared-story p { white-space:pre-wrap; margin:10px 0; }
#moments-sheet .u2-shared-story :is(img,video) { display:block; width:100%; max-height:38dvh; object-fit:contain; }
.om-story-poll { display:grid; gap:8px; margin-top:12px; }
.om-story-poll ul { display:grid; gap:6px; margin:0; padding:0; list-style:none; }
.om-story-poll li { display:flex; justify-content:space-between; gap:8px; padding:7px 10px; border:1px solid var(--line); border-radius:10px; }
.om-story-poll small { flex:none; }
.om-story-poll > a { justify-self:start; }
.om-suggested-couple .om-suggestion-label { min-width:0; }
.om-suggested-couple .om-avatar { flex-shrink:0; }
.om-v3 .om-private-suggestion { position:relative;isolation:isolate;flex-wrap:nowrap; }
.om-private-suggestion::before {
    content:'';position:absolute;inset:4px 8px;z-index:-1;opacity:.13;
    background:url('/v3-ui/brand-heart.png') right center / auto 100% no-repeat;
}
#profile-suggestions-sheet .om-suggested-couples {
    grid-template-columns:repeat(auto-fill,minmax(min(100%,146px),1fr));
}
#profile-suggestions-sheet .om-suggested-couple { min-height:50px; }
#profile-suggestions-sheet .om-suggestion-label small { font-size:.66rem; }
.om-directory-search { display:flex; flex-wrap:wrap; align-items:end; gap:12px; padding:12px; }
.om-directory-search label { flex:1 1 180px; }
.om-directory-list { list-style:none; margin:10px 0; padding:0; display:grid; gap:10px; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); }
.om-directory-entry { padding:14px; overflow-wrap:anywhere; }
.om-directory-entry > p { margin:4px 0; }
.om-directory-entry details { margin-top:9px; }
.om-directory-entry form { display:grid; gap:8px; margin-top:8px; }
.om-directory-pages { display:flex; gap:8px; }
.om-sheet.om-cover-editor { width:min(740px,calc(100% - 24px)); }
.om-cover-preview { aspect-ratio:3 / 1; overflow:hidden; border-radius:14px; background:var(--line); touch-action:none; cursor:grab; }
.om-cover-preview:active { cursor:grabbing; }
.om-cover-preview > img { width:100%;height:100%;display:block;object-fit:cover; }
.om-cover-preview > img:not([src]) { visibility:hidden; }
.om-cover-editor [type=range] { accent-color:var(--om-accent); }
#moments-sheet [data-shared-preview-active] :is([data-moment-pause],[data-moment-mute]) { display:none; }

.om-v3 .u2-social-profile > .u2-profile-hero {
    border-radius:18px;margin:12px;min-height:250px;height:auto;
}
.om-v3 .u2-social-profile > .u2-profile-hero .u2-close-profile { left:10px;right:auto; }
.om-v3 .u2-social-profile > .u2-profile-hero .om-profile-more { right:10px; }
.om-v3 .u2-profile-hero .om-profile-more-actions { flex-direction:column;align-items:stretch; }
.om-v3 .u2-social-profile .u2-profile-actions { padding-inline:12px; }
.u2-social-profile .u2-profile-actions > :is(button,a) { width:100%;justify-content:center;border-radius:10px; }
.om-v3 .u2-social-profile .u2-tabs button { border-radius:999px;min-height:36px; }
.om-v3 .u2-social-profile .u2-tabs .om-profile-tab-icon { display:none; }
.om-v3 .u2-social-profile > .u2-profile-notice {
    position:static;margin:0 24px 12px;
}
.om-v3 .u2-social-profile .u2-profile-media .om-profile-asset {
    width:100%;max-width:400px;min-width:0;
}
.om-v3 .u2-social-profile .u2-profile-media .om-profile-asset :is(.om-profile-photo-open,video) {
    width:100%;height:auto;aspect-ratio:4 / 3;background:#f4eeed;border-radius:10px;overflow:hidden;
}
.om-v3 .u2-social-profile .om-profile-album-sections > .u2-profile-media { width:100%; }
.om-v3 .u2-social-profile .om-profile-album-sections .om-profile-asset { aspect-ratio:4 / 3; }
.om-v3 .u2-social-profile .om-profile-album-sections .om-profile-asset :is(.om-profile-photo-open,video) {
    display:block;width:100%;height:100%;position:absolute;inset:0;
}
.om-v3 .u2-social-profile .om-profile-photo-open { position:relative; }
.om-v3 .u2-social-profile .u2-profile-media .om-profile-asset img {
    position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0;
}
.om-v3 .u2-social-profile .u2-profile-media .om-profile-asset video { max-height:none;object-fit:contain;background:#241d20; }
@media(min-width:761px) {
    .om-v3 .u2-social-profile .u2-profile-media {
        grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
        max-width:1080px;margin-inline:auto;
    }
    .om-v3 .u2-social-profile .u2-profile-media:has(> :only-child) { grid-template-columns:minmax(0,352px);justify-content:center; }
    .om-v3 .u2-social-profile .u2-profile-media:has(> :nth-child(2):last-child) { grid-template-columns:repeat(2,minmax(0,352px));justify-content:center; }
}
@media(max-width:760px) {
    .om-v3 .u2-social-profile > .u2-profile-hero { min-height:240px;padding:56px 12px 14px;justify-content:end; }
    .om-v3 .u2-profile-hero > img,.u2-profile-hero::after { height:100%; }
    .om-v3 .u2-profile-hero .u2-profile-identity { padding:0;color:white;text-shadow:0 2px 3px #170f18a8; }
    .om-v3 .om-private-profile .u2-profile-identity { color:#281b20;text-shadow:none; }
    .om-v3 .u2-social-profile > .u2-profile-notice { margin-inline:12px; }
}

#personal-editor .om-moment-previews.om-crop-frame {
    position:relative;width:min(100%,32dvh,270px);aspect-ratio:9 / 16;margin-inline:auto;overflow:hidden;border-radius:12px;background:#201820;
}
#personal-editor .om-crop-frame img { position:absolute;max-width:none;max-height:none;margin:0;border-radius:0;touch-action:none;cursor:grab; }
#personal-editor .om-moment-crop:not([hidden]) { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px; }
#personal-editor .om-moment-crop input { accent-color:var(--om-accent);padding-inline:0; }

#moments-sheet:modal:has([data-moment-viewer]) {
    width:min(100vw,calc(100dvh * 9 / 16));height:100dvh;margin:auto;padding:0;border:0;border-radius:18px;background:#171116;
}
#moments-sheet:has([data-moment-viewer]) > header {
    position:absolute;inset:29px 8px auto auto;z-index:10;height:auto;padding:0;margin:0;
}
#moments-sheet:has([data-moment-viewer]) > header .om-brand { display:none; }
#moments-sheet:has([data-moment-viewer]) > header [data-close] { background:#221820ad;color:white; }
#moments-sheet:modal .u2-story { --story-media-width:100%;height:100%; }
#moments-sheet:modal .u2-story > [data-moment-slide]:not([hidden]) {
    display:block;position:relative;height:100%;color:white;background:#171116;
}
#moments-sheet .om-story-stage { position:absolute;inset:0;border-radius:0; }
#moments-sheet .om-story-stage:not(:has(.u2-shared-story)) { -webkit-touch-callout:none; }
#moments-sheet .om-story-stage > :is(video,img).om-moment-image { pointer-events:none; user-select:none; }
#moments-sheet .om-story-stage .om-moment-image { object-fit:cover; }
#moments-sheet .om-story-stage .om-moment-image[data-qr-layout] { object-fit:contain; }
#moments-sheet .om-story-stage .om-story-author { padding:27px 52px 24px 12px; }
#moments-sheet .om-story-author .om-avatar { width:40px;height:40px; }
#moments-sheet .om-story-progress { top:10px;left:3%;width:94%;z-index:9; }
#moments-sheet .om-story-progress > span { height:3px;background:#fff6; }
#moments-sheet .om-story-progress i { background:white; }
#moments-sheet .om-moment-info { position:absolute;inset:0;overflow:visible;padding:0;border:0;background:none;max-height:none;color:white;pointer-events:none; }
#moments-sheet .om-moment-info :is(a,button,dialog) { pointer-events:auto; }
#moments-sheet .om-story-social {
    position:absolute;right:9px;top:auto;bottom:clamp(108px,19dvh,160px);z-index:4;
    flex-direction:column;gap:5px;color:white;
}
#moments-sheet .om-story-social button {
    width:37px;min-width:37px;height:37px;min-height:37px;margin:0;padding:4px;
    background:#211820ac;color:white;border:1px solid #fff7;position:relative;
}
#moments-sheet .om-story-social button[aria-pressed=true] { background:var(--om-accent,#97485b); }
#moments-sheet .om-story-social [data-like] img { filter:brightness(0) invert(1); }
#moments-sheet .om-story-social button small { position:absolute;right:-3px;bottom:-2px;font-size:10px;padding:0 2px;background:#251b24;border-radius:5px; }
#moments-sheet .om-story-social [aria-live]:not(:empty) { position:absolute;right:42px;bottom:0;width:150px;background:#251c21; }
#moments-sheet .om-story-caption {
    position:absolute;inset:auto 0 0;min-height:22%;z-index:2;display:grid;align-content:end;justify-items:center;gap:10px;
    padding:42px 53px 72px 30px;background:linear-gradient(transparent,#130e14d9);text-align:center;
}
#moments-sheet .om-story-caption .om-post-caption {
    margin:0;color:#fff;font:600 clamp(18px,4vw,27px)/1.25 Georgia,serif;max-height:16dvh;overflow:auto;
    pointer-events:auto;
}
#moments-sheet .om-story-caption a { color:inherit; }
#moments-sheet .om-moment-info > .om-moment-actions { position:absolute;bottom:5px;right:8px;z-index:4; }
#moments-sheet .om-post .om-moment-view-count { position:absolute;bottom:8px;left:50%;transform:translateX(-50%);z-index:3;margin:0;color:white; }
#moments-sheet .u2-story [data-moment-mute] { top:auto;bottom:calc(clamp(108px,19dvh,160px) - 42px);right:9px;width:37px;height:37px; }
#moments-sheet .u2-story :is([data-moment-prev],[data-moment-next],[data-moment-pause]):not(:focus-visible) {
    clip-path:inset(50%);pointer-events:none;
}
#moments-sheet .u2-story [data-moment-pause] { left:calc(50% - 25px);top:calc(50% - 25px); }
#moments-sheet .u2-story :is([data-moment-prev],[data-moment-next]) { top:calc(50% - 18px); }
#moments-sheet .u2-story[data-story-video="0"] [data-moment-mute] { display:none; }
#moments-sheet .om-moment-info #comments-sheet[open] {
    position:absolute;z-index:8;inset:auto 0 0;width:100%;max-height:65%;min-height:38%;margin:0;padding:14px;
    overflow:auto;background:#fff9f7;border-radius:18px 18px 0 0;color:#241718;pointer-events:auto;
}
#moments-sheet [data-shared-preview] .om-story-caption { background:none; }
#moments-sheet .om-story-stage .u2-shared-story { inset:79px 54px 125px 38px;padding:12px; }
@media(max-width:760px) {
    #moments-sheet:modal:has([data-moment-viewer]) { width:100%;height:100dvh;border-radius:0; }
}
@media (max-width:760px) {
    #moments-sheet .om-story-stage .u2-shared-story { inset:76px 52px 110px 14px; }
}

#photo-sheet:modal {
    position:fixed;inset:0;margin:auto;
    width:min(900px,calc(100% - 24px));height:fit-content;max-height:calc(100dvh - 24px);
    border-radius:18px;
}
#photo-sheet .om-photo-stage { display:grid;position:relative;place-items:center; }
#photo-sheet .om-photo-stage img { display:block;width:auto;max-width:100%;height:auto;max-height:min(68dvh,640px);object-fit:contain;touch-action:pan-y; }
#photo-sheet .om-photo-stage button:not([hidden]) {
    position:absolute;top:50%;transform:translateY(-50%);
    width:39px;height:39px;border-radius:50%;border:0;padding:0;
    background:#211820d6;color:white;font-size:25px;line-height:1;
}
#photo-sheet [data-gallery-prev] { left:5px; }
#photo-sheet [data-gallery-next] { right:5px; }
#photo-sheet .om-photo-stage button:disabled { opacity:.38; }
#photo-sheet [data-gallery-position] { margin:8px 0 0;text-align:center; }
.om-poll-answer { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px; }
.om-poll-answer > button { width:38px;min-height:38px;font-size:20px;line-height:1; }
.om-theme-color { display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:end;gap:8px; }
.om-theme-color input[type=color] { min-height:38px;padding:3px; }
.om-theme-colors { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:8px 16px;border:1px solid var(--line);border-radius:12px;min-width:0;margin:12px 0; }
#comments-sheet button.om-comment-like {
    display:inline-flex;align-items:center;gap:4px;vertical-align:middle;padding:3px 7px;border-radius:99px;
}
.om-comment-like img { width:17px;height:17px;object-fit:contain; }
#comments-sheet button.om-comment-like[aria-pressed=true] { border-color:var(--rose);background:#f4dce1;color:#631a32; }
.om-ad-vendor-results { display:flex; flex-wrap:wrap; list-style:none; gap:8px; margin:0; padding:0; }
.om-ad-vendor-results[hidden] { display:none; }
.om-comment-linked > .om-comment-row { background:var(--blush,#f8ebeb); border-radius:10px; outline:1px solid var(--line); }
