.om-v3 {
    --rose: #9d4d5e;
    --line: #ebd9db;
    --card: #fefaf9;
    margin: 0;
    color: #32262a;
    background: #fff6f4;
    font: 15px/1.5 system-ui, sans-serif;
}
.om-v3 *, .om-v3 *::before, .om-v3 *::after { box-sizing: border-box; }
.om-v3 [hidden] { display: none !important; }
.om-v3 a { color: inherit; text-decoration: none; }
.om-v3 button, .om-v3 input, .om-v3 select { font: inherit; }
.om-v3 button { cursor: pointer; }
.om-v3 :focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.om-v3 h2 { margin: 0 0 .45em; font-size: 1.15rem; }
.om-v3 p { margin: 0 0 .6em; }
.om-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.om-header { display: flex; align-items: center; gap: 16px; padding: 8px clamp(12px,2.4vw,34px); min-height: 60px; background: var(--card); border-bottom: 1px solid var(--line); }
.om-brand { display: inline-flex; align-items: center; gap: 8px; flex: none; font: 400 clamp(22px,2vw,27px)/1 Georgia,"Times New Roman",serif; letter-spacing: -.02em; }
.om-brand img { width: 35px; height: 35px; object-fit: contain; }
.om-brand em { color: #986764; font: inherit; font-size: .68em; }
.om-community em { color: var(--rose); font-style: normal; }
.om-claim { font-size: 12px; }
.om-header nav { display: flex; gap: clamp(9px,1.4vw,24px); margin-left: auto; white-space: nowrap; }
.om-header button, .om-actions > * { white-space: nowrap; }
.om-header-tools { display: flex; gap: 8px; }
.om-header .om-tool { display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: inherit; width: 36px; height: 36px; padding: 7px; }
.om-tool svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.om-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.om-landing .om-header { min-height: 52px; padding-block: 4px; }
.om-v3 .om-primary, .om-v3 .om-outline {
    display: inline-block;
    border: 1px solid var(--rose);
    border-radius: 9px;
    padding: 8px 14px;
    font-weight: 650;
}
.om-v3 .om-primary, .om-v3 .om-active { background: var(--rose); color: white; }
.om-v3 .om-outline { color: var(--rose); background: var(--card); }
.om-hero { --om-hero-image: url('/v3-ui/demo-hero.webp'); position: relative; min-height: 300px; display: grid; align-items: center; padding: 26px 6% 63px; background: linear-gradient(90deg,#fff4efb8 0%,#fff4ef96 32%,transparent 61%), var(--om-hero-image) 50% 39% / cover, #e9c8bf; }
.om-landing .om-header [aria-current] { border-bottom: 2px solid var(--rose); font-weight: 650; }
.om-hero-copy { max-width: 690px; min-width: 0; overflow-wrap: anywhere; }
.om-hero h1 { margin: 0 0 12px; font: 700 clamp(30px,2.9vw,42px)/1.05 Georgia,serif; }
.om-hero p { max-width: 480px; }
.om-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.om-wave { position: absolute; inset: auto 0 -1px; width: 100%; height: 63px; }
.om-features { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; padding: 14px 3%; }
.om-features div { display: flex; align-items: center; gap: 9px; }
.om-features div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 12px; }
.om-features .om-icon { color: var(--rose); width: 32px; height: 32px; }
.om-features p { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.om-features small { display: block; }
.om-community { padding: 12px 3% 18px; }
.om-community header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.om-community header small { color: #69565b; }
.om-gallery { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.om-gallery-photo { background: none; border: 0; padding: 0; border-radius: 12px; }
.om-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 210 / 154; object-fit: cover; border-radius: inherit; }
.om-community h2, .om-join h2 { font: 700 25px Georgia,serif; }
.om-join { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 1.5% 8px; border-radius: 14px; padding: 12px 3%; background: #f9e9ec; }
.om-join p, .om-join .om-actions { margin: 0; }
.om-join-copy { display: flex; gap: 16px; align-items: center; }
.om-join-copy .om-icon { color: var(--rose); width: 40px; height: 40px; }
.om-card .om-inspiration { display: grid; width: 100%; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; text-align: start; }
.om-inspiration img { object-fit: cover; border-radius: 6px; }
.om-inspiration .om-inspiration-heart { object-fit: contain; padding: 7px; background: #f5e9ea; }
.om-feed { --rose: #963c54; --card: #fdf9f8; --line: #e9e0df; color: #211a1b; background: #f4eae9; }
.om-feed .om-header { min-height: 72px; gap: clamp(10px,2vw,33px); }
.om-feed .om-brand { width: clamp(200px,18.3vw,305px); }
.om-feed .om-brand img { width: 46px; height: 46px; }
.om-search { flex: 1; min-width: 0; }
.om-search label { display: block; position: relative; }
.om-search .om-icon { position: absolute; inset: 50% auto auto 20px; transform: translateY(-50%); pointer-events: none; width: 26px; height: 26px; }
.om-search input, .om-sheet input, .om-sheet select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px; background: white; color: inherit; }
.om-search input { height: 46px; border: 0; border-radius: 999px; padding-inline: 62px 18px; background: #f0ebea; }
.om-search input::placeholder { color: #5f5659; }
.om-feed .om-create { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding-inline: clamp(14px,1.45vw,25px); border-radius: 999px; background: linear-gradient(110deg,#933d54,#a0475b); }
.om-feed .om-header-tools { align-items: center; gap: clamp(6px,1.45vw,24px); }
.om-feed .om-tool { width: clamp(33px,2.65vw,44px); height: 44px; }
.om-profile-link { display: flex; align-items: center; gap: 8px; }
.om-profile-link .om-avatar { flex-basis: auto; width: 46px; height: 46px; }
.om-profile-link > .om-icon { width: 17px; height: 17px; }
.om-sheet input[type="checkbox"], .om-sheet input[type="radio"] { width: auto; accent-color: var(--rose); }
.om-sheet [data-poll-options] label { display: block; margin-block: 5px; }
.om-sheet textarea { display: block; width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px; font: inherit; resize: vertical; }
.om-grid { display: grid; grid-template-columns: minmax(0,19.5fr) minmax(0,52.8fr) minmax(0,27.7fr); gap: clamp(12px,1.1vw,19px); padding: 16px 9px 9px; min-height: calc(100vh - 72px); }
.om-card { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 13px; overflow-wrap: anywhere; }
.om-feed .om-grid .om-card { box-shadow: 0 2px 7px #58323812; }
.om-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 12px 16px; }
.om-feed-main, .om-right, .om-sidebar nav { display: grid; align-content: start; }
.om-feed-main, .om-right { gap: 14px; }
.om-feed-main { grid-template-columns: minmax(0,1fr); }
.om-right h2 { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 10px; }
.om-right h2 .om-icon { color: var(--rose); width: 27px; height: 27px; }
.om-sidebar-profile { display: flex; align-items: center; gap: 14px; min-height: 82px; padding: 0 5px 14px; border-bottom: 1px solid var(--line); }
.om-sidebar-profile .om-avatar { flex-basis: clamp(36px,3.6vw,60px); height: auto; aspect-ratio: 1; }
.om-sidebar nav { margin-top: 19px; }
.om-card.om-sidebar nav > :is(a,button) { display: flex; align-items: center; gap: clamp(8px,1.35vw,23px); width: 100%; min-height: 46px; border: 0; border-radius: 9px; padding: 7px clamp(6px,1.05vw,17px); background: transparent; color: inherit; text-align: start; font-weight: 600; }
.om-card.om-sidebar nav > :is(a,button):not(.om-active):hover { background: #f4e9eb; }
.om-card.om-sidebar nav > .om-active { background: linear-gradient(105deg,#963b53,#a85868); color: #fff; }
.om-sidebar nav .om-icon { width: 24px; height: 24px; }
.om-sidebar-section { border-top: 1px solid var(--line); padding-top: 15px; margin: 17px 9px 5px; }
.om-filters, .om-moments, .om-composer div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.om-filters { padding: 6px; }
.om-filters-mobile { display: none; }
.om-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 72px; }
.om-filter-bar .om-filters-desktop { padding: 0; gap: 2px clamp(2px,1.05vw,18px); }
.om-filter-bar .om-filters-desktop > :is(a,button), .om-feed-scope summary { display: inline-flex; align-items: center; gap: clamp(4px,.6vw,10px); min-height: 40px; border: 0; border-radius: 16px; padding: 5px clamp(4px,.65vw,11px); background: transparent; color: inherit; font-weight: 650; }
.om-filter-bar .om-filters-desktop > :is(a,button):not([aria-pressed="true"],.om-active):hover, .om-feed-scope summary:hover { background: #f3e8ea; }
.om-filter-bar .om-filters-desktop > :is([aria-pressed="true"],.om-active) { background: linear-gradient(105deg,#973e55,#a13f59); color: #fff; padding-inline: clamp(7px,1.25vw,21px); }
.om-filters-mobile a { border-radius: 8px; padding: 7px 10px; }
.om-feed-scope { position: relative; flex: none; }
.om-feed-scope summary { list-style: none; cursor: pointer; }
.om-feed-scope summary::-webkit-details-marker { display: none; }
.om-feed-scope summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.om-feed-scope form { position: absolute; z-index: 2; inset: calc(100% + 5px) 0 auto auto; display: flex; align-items: center; gap: 8px; width: max-content; }
.om-card button, .om-sheet button[data-content-type] { border: 1px solid var(--line); border-radius: 8px; background: #fff; color: inherit; padding: 7px 10px; }
.om-moments button span { display: block; font-size: 23px; color: var(--rose); }
.om-card.om-moments { min-height: 132px; flex-wrap: nowrap; justify-content: space-between; }
.om-card.om-moments button { flex: 1 1 0; min-width: 0; padding: 0; border: 0; background: transparent; font-size: clamp(10px,.9vw,13px); font-weight: 600; }
.om-moments button img, .om-moments button span { display: grid; place-items: center; width: min(100%,80px); height: auto; aspect-ratio: 1; margin: 0 auto 4px; border-radius: 50%; border: 1px solid var(--rose); padding: 3px; object-fit: cover; }
.om-moments button span { border-style: dashed; }
.om-card.om-composer { display: flex; gap: 8px; align-items: center; padding: 7px; }
.om-composer > button { flex: 1; text-align: left; }
.om-composer button { display: inline-flex; gap: 7px; align-items: center; }
.om-composer .om-icon { color: var(--rose); }
.om-empty { padding: 22px 13px; }
.om-posts { display: grid; grid-template-columns: minmax(0,1fr); gap: 9px; }
.om-post header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.om-post h2 { margin: 0; }
.om-avatar { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; color: var(--rose); background: #f9e9ec; }
.om-post-media { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; grid-auto-rows: 128px; overflow: hidden; border-radius: 10px; }
.om-post-media img { width: 100%; height: 100%; object-fit: cover; }
.om-post-media.om-memory-photos { display: flex; min-width: 0; overflow: auto; padding: 3px; gap: 8px; }
.om-post .om-memory-photos button { flex: 0 0 clamp(104px,32vw,176px); height: clamp(90px,24vw,132px); padding: 0; overflow: hidden; background: #f4eeed; cursor: zoom-in; }
.om-post-media.om-memory-photos img { display: block; object-fit: contain; }
.om-post-media[data-count="4"] { grid-template-columns: minmax(0, 2.65fr) minmax(0, 1fr); grid-auto-rows: 82px; }
.om-post-media[data-count="4"] img:first-child { grid-row: span 3; }
.om-post-media[data-count="1"] { grid-template-columns: minmax(0,1fr); grid-auto-rows: 246px; }
.om-post-media[data-count="3"] img:first-child, .om-post-media[data-count="5"] img:first-child { grid-column: 1/-1; }
.om-post-mobile-photo { display: none; }
.om-post-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.om-post-actions button { display: inline-flex; align-items: center; gap: 6px; }
.om-post-actions .om-post-save { margin-inline-start: auto; }
.om-post-actions [aria-pressed="true"] { background: #f4dce1; border-color: var(--rose); }
.om-photo-sheet > img { display: block; width: 100%; height: auto; border-radius: 12px; }
.om-sheet.om-photo-sheet { width: min(900px,calc(100% - 24px)); }
.om-sheet.om-photo-sheet > img { height: min(70dvh,640px); object-fit: contain; }
.om-profile-cover { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 12px; }
.om-bottom { display: none; }
.om-sheet { width: min(440px,calc(100% - 24px)); max-height: 90dvh; border: 1px solid var(--line); border-radius: 20px; padding: 16px; color: inherit; background: var(--card); }
.om-sheet::backdrop { background: #271b21a6; }
.om-v3:has(dialog:modal) { overflow: hidden; }
.om-sheet header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.om-sheet header button { border: 0; border-radius: 50%; background: #f5e7e8; color: inherit; width: 36px; height: 36px; font-size: 20px; }
.om-sheet form, .om-sheet-options { display: grid; gap: 8px; }
.om-option-icon { font-size: 22px; color: var(--rose); line-height: 1; }
#header-sheet .om-sheet-options button { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; text-align: start; }
#header-sheet .om-sheet-options small { display: block; }
#composer-sheet .om-sheet-options { grid-template-columns: repeat(3,minmax(0,1fr)); }
#composer-sheet .om-sheet-options button { display: grid; place-items: center; gap: 6px; }
#composer-sheet .om-sheet-options > :last-child { grid-column: 1/-1; }
.om-handle { width: 36px; height: 4px; border-radius: 10px; background: var(--line); margin: 0 auto 12px; }
.om-feedback { margin-top: 8px; }
@media (max-width: 1160px) { .om-claim { display: none; } }
@media (min-width: 761px) and (max-width: 940px) {
    .om-hero { background-image: linear-gradient(90deg,#fff4efd9 0%,#fff4efbd 50%,transparent 76%),var(--om-hero-image); }
    .om-landing .om-header { flex-wrap: wrap; }
    .om-landing .om-header nav { order: 1; width: 100%; margin: 0; }
    .om-landing .om-header .om-outline { margin-left: auto; }
    .om-features { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .om-features div:nth-child(4) { border: 0; padding-inline-start: 0; }
    .om-card.om-composer { flex-wrap: wrap; }
    .om-composer > button { flex-basis: 100%; }
    .om-header-tools { gap: 2px; }
}
@media (max-width: 760px) {
    .om-header { gap: 8px; flex-wrap: wrap; }
    .om-brand img { width: 29px; height: 29px; }
    .om-landing .om-header nav { order: 1; width: 100%; overflow: auto; }
    .om-landing .om-header .om-outline, .om-feed .om-create { margin-left: auto; }
    .om-header-tools { gap: 2px; }
    .om-feed .om-header-tools { margin-left: 0; }
    .om-header .om-tool { width: 28px; height: 34px; padding: 4px; }
    .om-header .om-tool-messages, .om-header .om-tool-saved, .om-header .om-profile-link { display: none; }
    .om-feed .om-header { min-height: 60px; gap: 8px; }
    .om-feed .om-brand { width: auto; }
    .om-feed .om-brand img { width: 29px; height: 29px; }
    .om-feed .om-header-tools { gap: 2px; }
    .om-feed .om-create { width: 36px; min-height: 36px; padding: 0; }
    .om-landing .om-header button { padding-inline: 7px; font-size: 12px; }
    .om-hero { background-position: 62% 46%; background-image: linear-gradient(90deg,#fff4efe8,#fff4ef9c),var(--om-hero-image); }
    .om-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .om-features div + div { border: 0; padding: 0; }
    .om-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .om-post-media { grid-auto-rows: 72px; }
    .om-card.om-composer { display: grid; }
    .om-composer > button { border-radius: 24px; background: #f5e9e9; }
    .om-composer div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
    .om-composer div button { display: grid; place-items: center; gap: 4px; font-size: 12px; border-color: transparent; background: transparent; }
    .om-post { display: flex; flex-direction: column; }
    .om-post-mobile-photo { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center 38%; border-radius: 10px; }
    .om-post-mobile-photo + .om-post-media { display: none; }
    .om-post > p { order: 1; margin-top: 8px; }
    .om-post-actions { order: 2; }
    .om-search, .om-create span, .om-right, .om-moments { display: none; }
    .om-card.om-moments { display: none; }
    .om-grid { display: block; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .om-sidebar { display: none; }
    .om-sidebar:target { display: block; margin-bottom: 9px; }
    .om-filters { justify-content: space-between; gap: 2px; font-size: 13px; }
    .om-filter-bar .om-filters-desktop { display: none; }
    .om-filter-bar { min-height: auto; padding: 4px 6px; }
    .om-feed-scope { width: 100%; }
    .om-feed-scope summary span { position: static; width: auto; height: auto; clip-path: none; }
    .om-feed-scope form { position: static; width: 100%; flex-wrap: wrap; }
    .om-filters-mobile { display: flex; }
    .om-filters a { padding-inline: 7px; }
    .om-filters button { padding-inline: 7px; }
    .om-bottom { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); position: fixed; inset: auto 0 0; padding: 5px 2px calc(5px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
    .om-bottom > * { display: grid; place-items: center; padding: 3px 0; border: 0; background: transparent; color: inherit; font-size: 11px; }
    .om-bottom .om-icon { width: 21px; height: 21px; }
    .om-bottom [aria-current] { color: var(--rose); font-weight: 700; }
    .om-sheet { position: fixed; inset: auto 0 0; margin: 0; width: 100%; max-width: none; border-radius: 20px 20px 0 0; padding-bottom: max(16px,env(safe-area-inset-bottom)); }
}
@media (min-width: 1100px) {
    .om-feed .om-header { padding-inline-end: clamp(34px,2.65vw,44px); }
    .om-feed .om-header-tools { gap: clamp(10px,1.65vw,27px); }
    .om-card.om-moments { min-height: 174px; align-items: flex-start; padding-top: 17px; }
    .om-moments button img { width: min(100%,104px); }
    .om-moments button span { width: min(100%,78px); margin: 12px auto 10px; font-size: 33px; }
    .om-moments button strong { display: block; width: min(100%,65px); margin: 0 auto; line-height: 1.25; overflow-wrap: normal; }
    .om-card.om-moments button { font-size: 14px; }
    .om-post { padding: 15px clamp(16px,1.5vw,25px); }
    .om-post-media[data-count="4"] { grid-auto-rows: clamp(74px,6vw,100px); }
    .om-post-actions button { background: transparent; border-color: transparent; }
}
.om-v3 .om-moment-image { display: block; width: 100%; height: auto; border-radius: 10px; }
.om-v3 [data-moment-progress] { width: 100%; accent-color: var(--rose); }
.om-v3 .om-moment-controls { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.om-v3 [data-moment-slide] { touch-action: pan-y; }
.om-language {
    flex: 0 1 7rem;
    min-width: 0;
    max-width: 7rem;
}
.om-curated { max-width: 1040px; margin: 0 auto 20px; padding-inline: 12px; }
.om-curated > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: 12px; }
.om-curated article { min-width: 0; padding: 12px; overflow-wrap: anywhere; }
.om-curated img { width: 100%; object-fit: cover; border-radius: 12px; }
.om-editorial-image { max-width: 650px; }
.om-editorial-image img { display: block; height: auto; }
.om-editorial-section { overflow-wrap: anywhere; }
.om-editorial-section details { padding: 10px 14px; margin-block: 6px; }
#account-security-sheet code, #account-security-sheet ol { overflow-wrap: anywhere; }
