.om-feed {
    --om-accent:#9d4d5e;
    --rose:var(--om-accent);
    --ink-rose:color-mix(in srgb,var(--om-accent),#26181b 28%);
    --community-accent:var(--om-accent);
    --om-button-ink:#fff;
}
.om-feed > .om-header .om-brand { width:auto; }
.om-feed :is(.om-primary,.om-card.om-sidebar nav > .om-active,.om-create,.om-bottom-create,
    .om-filters-desktop .om-active,.om-mobile-filter-links .om-active,.u2-tabs [aria-selected=true]){
    background:var(--om-accent);color:var(--om-button-ink);border-color:var(--om-accent);
}
.om-feed :is(.om-composer [data-compose-tool] .om-icon,.om-feed-moments [data-create-moment] .om-icon,
    .om-header .om-profile-link,.om-popular-tags a,.om-wedding-meter,.om-profile-tab-icon) { color:var(--ink-rose); }
.om-feed .om-header .om-message-unread { background:var(--om-accent); color:var(--om-button-ink); }
.om-feed .om-right h2 .om-icon,.om-feed .om-inspiration-slides [data-inspiration-offset],
.om-feed .om-bottom [aria-current=page] { color:var(--ink-rose); }
.om-feed .om-inspiration-dots [aria-pressed=true] { background:var(--om-accent); }
.om-feed .om-post-actions [data-like][aria-pressed=true],
.om-feed .om-composer[data-inline-composer] > div > [data-compose-tool=inspiration][aria-pressed=true] {
    color:var(--ink-rose);border-color:var(--om-accent);
    background:color-mix(in srgb,var(--om-accent) 18%,white);
}
.om-feed [data-like][aria-pressed=true],.om-feed [data-edit-tool][aria-pressed=true] {
    color:var(--ink-rose);border-color:var(--om-accent);
    background:color-mix(in srgb,var(--om-accent) 18%,white);
}
.om-private-suggestion { flex-wrap:wrap; }
.om-private-suggestion small { display:block;font-size:.75rem; }
.om-private-suggestion button { min-height:32px; }
.om-tool-popup[popover] {
    position:fixed; inset:auto; margin:0; box-sizing:border-box;
    width:min(340px,calc(100vw - 16px)); overflow:auto;
    padding:12px; border:1px solid #ebd8d5; border-radius:14px;
    background:#fffaf8; color:#281b1d; box-shadow:0 9px 26px #4a262829;
}
.om-tool-popup[popover]:popover-open { display:grid; gap:8px; }
.om-tool-popup [type=search],.om-tool-popup input:not([type=checkbox]),.om-tool-popup textarea,.om-tool-popup select {
    width:100%; min-width:0; box-sizing:border-box; font:inherit;
}
.om-tool-popup ul { list-style:none; padding:0; margin:0; }
.om-tool-popup button { margin:3px; }
.om-tool-popup-audience[popover] {
    width:max-content;
    max-width:calc(100vw - 16px);
    padding:7px 9px;
    font-size:.875rem;
}
.om-tool-popup-audience[popover]:popover-open { gap:4px; }
.om-tool-popup-audience select { padding:4px 8px; min-height:34px; }
#comments-sheet form .om-comment-mentions {
    position:fixed;
    inset:auto;
    margin:0;
    box-sizing:border-box;
    box-shadow:0 5px 20px #3d243730;
}
#comments-sheet .om-comment-mentions:not(:popover-open) { display:none; }
.om-edit-tools { display:flex; flex-wrap:wrap; gap:6px; }
.om-edit-tools button { min-height:34px; font-size:.9rem; }
.om-compose-file-status { display:flex; align-items:center; justify-content:space-between; gap:5px; font-size:.82rem; }
.om-compose-file-status span { overflow-wrap:anywhere; }
#content-edit-sheet form { position:relative; }
#content-edit-sheet textarea[name=body] { min-height:100px; color:#251b1c; background:#fff; }
.om-moment-composer .om-moment-previews { width:100%; order:-2; }
.om-moment-previews img { display:block; margin:auto; max-width:100%; max-height:46dvh; object-fit:contain; border-radius:12px; }
.om-capture-review .om-capture video[autoplay] + button,.om-capture-review .om-capture > button:has(+ video[autoplay]) { display:none; }
.om-chat-switch-preview { align-self:flex-end; padding:10px 14px; border-radius:16px; background:var(--chat-blush,#f3d8d6); }

/* Moment viewer */
#moments-sheet:modal:has([data-moment-viewer]) {
    width:min(1170px,calc(100vw - 36px)); height:min(730px,calc(100dvh - 36px));
    border:1px solid #f1e3de; border-radius:27px; padding:0; background:#fff8f6; overflow:hidden;
    box-shadow:0 24px 58px #33201e5e;
}
#moments-sheet::backdrop { background:#39232155; backdrop-filter:blur(5px); }
#moments-sheet:has([data-moment-viewer]) > .om-handle { display:none; }
#moments-sheet:has([data-moment-viewer]) > header {
    height:55px; margin:0; padding:0 14px 0 20px; display:flex; justify-content:flex-end; gap:10px;
}
#moments-sheet > header .om-brand { margin-right:auto; font:21px/1 Georgia,serif; }
#moments-sheet > header .om-brand img { width:30px; height:30px; }
#moments-sheet > header [data-story-fullscreen] { background:transparent; font-size:23px; }
#moments-sheet:modal .u2-story {
    --story-media-width:60%;
    display:block; width:100%; height:calc(100% - 55px); margin:0;
}
#moments-sheet:modal .u2-story > [data-moment-slide]:not([hidden]) {
    display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); align-items:stretch;
    width:100%; height:100%; min-height:0; padding:0; margin:0;
    border:0; border-radius:0; background:#fff8f6; color:#241718;
}
#moments-sheet .u2-story > [data-moment-progress] {
    position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%);
}
.om-story-progress {
    position:absolute; top:-28px; left:29%; z-index:5;
    width:28%; display:flex; gap:3px; pointer-events:none;
}
.om-story-progress > span { display:block; flex:1; height:5px; border-radius:6px; background:#d1cccb; overflow:hidden; }
.om-story-progress i { display:block; width:0; height:100%; background:var(--om-accent,#9d4d5e); }
.om-story-stage {
    position:relative; isolation:isolate; display:grid; place-items:center; overflow:hidden;
    min-height:0; min-width:0; background:#171116; border-radius:19px;
}
#moments-sheet .om-story-stage .om-story-author {
    position:absolute; inset:0 0 auto; z-index:2;
    display:flex; align-items:center; justify-content:flex-start; gap:12px;
    margin:0; padding:14px 19px 26px; color:white;
    background:linear-gradient(#160e18bd,transparent);
}
.om-story-author .om-avatar { width:47px; height:47px; border:2px solid #fff; }
.om-story-author .om-moment-author { margin:0; font-size:1rem; }
.om-story-author a,.om-story-author .om-post-meta { color:white; }
.om-story-author .om-post-meta { margin:0; font-size:.77rem; }
#moments-sheet .om-story-stage .om-moment-image {
    position:absolute; inset:0; width:100%; height:100%; border-radius:0; object-fit:contain;
}
#moments-sheet .u2-story .om-moment-controls { inset:0 auto 0 0; width:var(--story-media-width); margin:0; }
#moments-sheet .u2-story .om-moment-controls button {
    border:1px solid #fffa; box-shadow:none; background:#1f162473; color:white;
}
#moments-sheet .u2-story [data-moment-prev] { left:5%; top:calc(50% - 21px); }
#moments-sheet .u2-story [data-moment-next] { right:5%; top:calc(50% - 21px); }
#moments-sheet .u2-story [data-moment-pause] {
    left:calc(50% - 25px); top:calc(50% - 25px); width:50px; height:50px; border:2px solid white;
}
#moments-sheet .u2-story [data-moment-mute] { right:14px; bottom:10px; }
#moments-sheet .om-moment-info {
    display:flex; flex-direction:column; gap:9px; min-width:0; min-height:0;
    padding:19px; overflow:auto; border-left:1px solid #f1e3df;
}
.om-moment-info > h3,.om-moment-info > p { margin:0; }
.om-story-social { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.om-story-social button { display:inline-flex;align-items:center;gap:4px; justify-content:center;
    min-width:38px; min-height:38px; padding:5px 9px; border:1px solid #ead7d4; border-radius:999px;
    color:inherit; background:#fff9f7;
}
.om-story-social .om-icon { width:21px;height:21px; }
.om-story-social [data-collect] { margin-inline-start:auto; }
.om-story-social [aria-live]:empty { display:none; }
#moments-sheet .om-moment-info .om-moment-actions button { background:#fff9f7;color:var(--ink-rose);border-color:#ead7d4; }
#moments-sheet .om-moment-author [data-open-content-edit] { background:#211820a0; color:#fff; border-color:#fff6; }
#moments-sheet .om-moment-info #comments-sheet { flex:1; min-height:0; margin-top:5px; }
#moments-sheet .om-moment-info .om-story-comments[open] {
    display:flex; flex-direction:column; border:0; border-top:1px solid #edddda;
    border-radius:0; background:transparent;
}
.om-story-comments > ol { flex:1; padding:0; margin:0; overflow:auto; }
.om-story-comments > form:not([hidden]) {
    order:3; display:flex; align-items:center; gap:6px; margin-top:auto; padding-top:7px;
}
.om-story-comments > form > label { flex:1; min-width:0; font-size:0; }
#moments-sheet .om-story-comments textarea {
    display:block; width:100%; height:43px; min-height:38px; border-radius:999px;
    padding:9px 12px; font-size:16px; resize:none;
}
.om-story-comments > form > [type=submit] {
    display:grid; place-items:center; width:40px; height:40px; flex:none;
    padding:0; border-radius:50%; font-size:0;
}
.om-story-comments > form > [type=submit]::before {
    content:''; width:21px; height:21px; background:currentColor;
    clip-path:polygon(0 39%,100% 0,74% 100%,52% 65%,91% 12%,44% 57%,30% 53%,9% 43%,30% 58%,44% 66%,71% 91%,93% 9%);
}
.om-story-comments > [data-control-comments] { align-self:flex-end; font-size:.72rem; padding:3px 7px; }
.om-story-comments .om-comment-text { background:transparent; padding:4px 6px; }

/* Profile cards */
.om-v3 .u2-social-profile[open] {
    max-width:1120px; margin-inline:auto; border-radius:23px; border:1px solid #edddda;
    background:linear-gradient(135deg,#fffbfa,#fbf0ec); box-shadow:0 8px 22px #602d2520;
}
.om-v3 .u2-social-profile > .u2-profile-hero {
    min-height:210px; height:clamp(210px,20vw,278px); padding:14px 20px; margin:0 0 10px;
    display:grid; grid-template-columns:minmax(0,1fr) auto; align-content:end; align-items:end;
    border-radius:18px 18px 0 0; overflow:visible;
    background:linear-gradient(125deg,#8b5a66,#9c7681);
}
.u2-profile-hero:after {
    content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; border-radius:inherit;
    background:linear-gradient(90deg,#17101aaf 0%,#170f1b55 43%,transparent 85%);
}
.u2-profile-hero > img { border-radius:inherit; }
.om-v3 .u2-profile-hero .om-cover-identity { align-items:center; }
.om-v3 .u2-profile-hero .u2-profile-identity {
    padding:0; background:none; backdrop-filter:none; color:#fff; text-shadow:0 2px 3px #170f18a8;
}
.u2-profile-identity strong { font:700 clamp(19px,2.4vw,28px)/1.15 Georgia,serif; }
.om-v3 .u2-profile-hero .u2-profile-avatar { width:90px; height:90px; border:3px solid #fff; }
.om-v3 .u2-profile-hero .om-cover-actions { max-width:100%; align-self:end; z-index:1; }
.om-profile-more { position:absolute; top:10px; right:54px; z-index:3; }
.om-profile-more > summary {
    display:grid; place-items:center; width:34px;height:34px; list-style:none;
    border-radius:50%; color:#25171a; background:#fffaf8; cursor:pointer;
}
.om-profile-more > summary::-webkit-details-marker { display:none; }
.om-v3 .u2-profile-hero .om-profile-more .u2-profile-report {
    position:absolute; top:39px; right:0; bottom:auto; background:#fff9f6;
}
.om-v3 .u2-profile-hero .om-cover-actions :is(button,a,select) {
    border:1px solid #ebd1cd; border-radius:10px; color:var(--ink-rose,#8c3b4d); background:#fff9f6;
}
.om-v3 .u2-profile-hero .om-cover-actions .om-profile-message {
    background:var(--om-accent,#9d4d5e); color:var(--om-button-ink,#fff);
}
.u2-social-profile .u2-tabs { display:flex; gap:6px; margin-block:10px; }
.u2-social-profile .u2-tabs button {
    display:flex; flex:1; min-width:0; min-height:40px; justify-content:center; align-items:center; gap:7px;
    border:1px solid #e6c7c4; border-radius:12px; background:#fcf3f1; color:var(--ink-rose,#8c3b4d);
}
.u2-social-profile .u2-tabs button[aria-selected=true] {
    background:var(--om-accent,#9d4d5e); color:var(--om-button-ink,#fff);
}
.u2-social-profile .u2-tabs button[aria-selected=true] span { color:inherit; }
.om-profile-tab-icon { font-size:1.25em; }
.om-profile-moments {
    margin:0 24px 10px; padding:10px 0 0;
    background:url('/assets/live-rose-floral.svg') right bottom / 560px auto no-repeat;
}
.om-profile-moments h3 { margin:0 0 6px; color:var(--ink-rose,#8c3b4d); }
.om-profile-moments .om-moments { background:transparent; box-shadow:none; border:0; padding:0; }
.om-profile-add-moment { border-radius:16px; font-size:.78rem; }
.om-profile-add-moment:before { content:'+'; display:block; font-size:1.35rem; }
.u2-profile-info :is(.u2-info-card,[data-profile-section=about],.om-profile-portfolio),
.u2-profile-reviews > [data-public-business-reviews] {
    background:#fff9f6; border:1px solid #ead6d2; border-radius:15px; padding:14px;
    box-shadow:0 3px 7px #66382f0b;
}
.u2-profile-info :is(.u2-info-card,[data-profile-section=about],.om-profile-portfolio) h3 {
    font:700 1.24rem/1.2 Georgia,serif; margin:0 0 8px; color:var(--ink-rose,#8c3b4d);
}
.u2-profile-info .om-profile-portfolio { margin-top:10px; }
.om-profile-portfolio > header { display:flex;align-items:center;justify-content:space-between;gap:7px; }
.u2-profile-info .om-profile-portfolio > header button,.om-review-preview > button {
    width:auto; height:auto; min-height:28px; padding:3px 6px; border:0;
    background:none; color:var(--ink-rose,#8c3b4d);font-size:.77rem;
}
.om-profile-portfolio .u2-profile-media { padding-bottom:0; }
.om-profile-portfolio .om-profile-asset { margin:0; }
.u2-profile-reviews { padding-bottom:12px; }

@media(max-width:760px) {
    .om-feed > .om-header .om-brand { font-size:clamp(17px,5.3vw,24px); }
    .om-feed > .om-header .om-brand img { width:32px;height:32px; }
    .om-feed > .om-header .om-brand span { white-space:nowrap; }
    #moments-sheet:modal:has([data-moment-viewer]) { width:100%;height:100dvh;border-radius:0; }
    #moments-sheet:has([data-moment-viewer]) > header { height:66px;align-items:flex-start;padding-top:6px; }
    #moments-sheet:modal .u2-story { --story-media-width:100%;height:calc(100% - 66px); }
    #moments-sheet:modal .u2-story > [data-moment-slide]:not([hidden]) {
        grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;
    }
    .om-story-stage { border-radius:0; }
    .om-story-progress { top:-13px;left:4%;width:92%; }
    .om-story-stage .om-story-author { padding-inline:10px; }
    #moments-sheet .om-moment-info {
        min-height:70px; max-height:24dvh; padding:8px 12px;
        border-left:0; background:#241b20; color:#fff;
    }
    #moments-sheet .om-moment-info > :is(p,button) { color:#fff; }
    #moments-sheet .u2-story [data-moment-mute] { bottom:auto; top:calc(var(--story-media-height,67dvh) - 46px); right:9px; }
    #moments-sheet .u2-story [data-moment-prev],#moments-sheet .u2-story [data-moment-next] { top:calc(var(--story-media-height,67dvh) / 2 - 17px); }
    #moments-sheet .u2-story [data-moment-pause] { top:calc(var(--story-media-height,67dvh) / 2 - 25px); }
    .om-story-social {
        position:absolute; z-index:4; right:8px; top:auto; bottom:calc(100% - var(--story-media-height,67dvh) + 55px);
        flex-direction:column; gap:3px; color:white;
    }
    .om-story-social button { background:#21182099; color:white; }
    .om-story-social [data-like][aria-pressed=true] { background:var(--om-accent); color:var(--om-button-ink); }
    .om-story-social [data-like] img { filter:brightness(0) invert(1); }
    .om-story-social [data-collect] { margin:0; }
    .om-story-social > [aria-live] { position:absolute; right:44px; bottom:0; min-width:150px; background:#251c21; }
    #moments-sheet .u2-story [data-moment-prev],#moments-sheet .u2-story [data-moment-next] { width:34px;height:34px; }
    #moments-sheet .om-moment-info #comments-sheet[open] {
        position:absolute; z-index:8; inset:auto 0 0; width:100%; max-height:65%; overflow:auto;
        padding:14px; background:#fff9f7; border-radius:18px 18px 0 0; box-shadow:0 -8px 35px #27151c42;
        color:#241718;
    }
    .om-v3 .u2-social-profile > .u2-profile-hero {
        display:flex; align-items:stretch; height:auto; min-height:0; padding:96px 10px 6px; background:#fbefeb; isolation:isolate;
    }
    .om-v3 .u2-profile-hero > img,.u2-profile-hero:after { height:120px; }
    .u2-profile-hero:after { background:linear-gradient(125deg,#8b5a665e,#58314432); }
    .om-v3 .u2-profile-hero .u2-profile-avatar { width:59px;height:59px; }
    .om-v3 .u2-profile-hero .u2-profile-identity { color:#22171a;text-shadow:none;padding-top:19px; }
    .om-v3 .u2-profile-hero .om-cover-actions { margin:0; align-self:stretch; justify-content:center; }
    .u2-profile-hero .u2-close-profile { left:10px; right:auto; }
    .om-profile-more { right:10px; }
    .u2-social-profile .u2-tabs button { flex-direction:column;gap:2px;padding:5px 3px;font-size:.72rem; }
    .om-profile-moments { margin-inline:12px;background-size:300px auto; }
    .u2-profile-info .om-profile-portfolio > header { flex-wrap:wrap; }
}
