html.home-moment-open { overflow:hidden; }
.home-moment-dialog { width:min(1100px,94vw); max-width:none; max-height:90dvh; margin:auto; padding:24px; border:1px solid #f0dfea; border-radius:24px; background:#fff; color:#302b40; box-shadow:0 20px 80px #36253940; }
.home-moment-dialog::backdrop { background:#21192c99; backdrop-filter:blur(5px); }
.home-moment-dialog__heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:16px; }
.home-moment-dialog__heading { position:sticky; top:-24px; z-index:4; padding-block:8px; background:white; }
.home-moment-dialog #comments { scroll-margin-top:80px; }
.home-moment-dialog .discussion__tools { display:flex; flex-wrap:wrap; gap:8px 14px; }
.home-moment-dialog .discussion__tools details { margin:0; }
.home-moment-dialog .discussion__tools details[open] { flex-basis:100%; }
.home-moment-dialog .discussion__tools summary { font-size:13px; }
.home-moment-dialog .discussion__text { font-size:14px; }
.home-moment-dialog__heading button { display:grid; place-items:center; width:40px; height:40px; border:0; border-radius:50%; background:#fff0f7; color:#a7346c; font-size:28px; cursor:pointer; }
.home-moment-dialog__body { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:22px; align-items:start; }
.home-moment-dialog__body > .story-card { margin:0; padding:0; border:0; box-shadow:none; min-width:0; }
.home-moment-dialog__body .honeygram-media { display:block; width:100%; max-height:55dvh; object-fit:contain; background:#f9f3f7; border-radius:16px; }
.home-moment-dialog__body .honeygram-comments { margin:0; min-width:0; }
.home-moment-dialog__body .discussion { margin-top:16px; }
.home-moment-dialog__body .discussion > h2 { font-size:19px; }
.home-moment-dialog__body .story-form { padding:14px; margin-block:14px; }
.home-moment-dialog__body .story-form textarea { width:100%; box-sizing:border-box; }
.home-moment-dialog__permalink { display:inline-block; margin-top:18px; font-size:13px; color:#a7346c; }
.home-moment-dialog__status:not(:empty) { padding:12px 0; }
@media(max-width:700px) { .home-moment-dialog { padding:16px; border-radius:18px; }.home-moment-dialog__body { grid-template-columns:minmax(0,1fr); }.home-moment-dialog__body .honeygram-media { max-height:48dvh; }.home-moment-dialog__heading h2 { font-size:20px; } }

.home-moment-dialog__body { display:block; }
.home-moment-dialog__body > .moment-view { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr); gap:20px; }
.home-moment-dialog__body .moment-view__visual { position:sticky; top:0; }
.home-moment-dialog__body .moment-view__visual .honeygram-media { max-height:72dvh; margin:0; border-radius:0; }
.home-moment-dialog__body .moment-view__aside .honeygram-comments { margin-top:22px; }
@media(max-width:800px) {
 .home-moment-dialog__body > .moment-view { grid-template-columns:minmax(0,1fr); }
 .home-moment-dialog__body .moment-view__visual { position:static; }
 .home-moment-dialog__body .moment-view__visual .honeygram-media { max-height:55dvh; }
 .home-moment-dialog__body .moment-view__aside { padding:0; border:0; box-shadow:none; }
 .home-moment-dialog__body .moment-view__aside .honeygram-comments { padding:12px 0 0; border:0; border-top:1px solid #eee3eb; border-radius:0; }
 .home-moment-dialog .comment-author { gap:10px; }
}
@media(max-width:700px) { .home-moment-dialog__heading { top:-16px; } }

.home-moment-dialog__navigation:not([hidden]) { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:12px 0; }
.home-moment-dialog__navigation button { padding:10px 12px; border:1px solid #e8dce7; border-radius:12px; background:#fff5fa; color:#a32b65; cursor:pointer; font-size:13px; }
.home-moment-dialog__navigation button:disabled { opacity:.4; cursor:default; }
.home-moment-dialog__navigation [data-moment-position] { white-space:nowrap; font-size:12px; }
.home-moment-dialog .moment-view__visual > :is(img,video) { touch-action:pan-x; }
@media(max-width:380px) { .home-moment-dialog__navigation button { padding:10px 8px; font-size:11px; } }
/* Mobile media viewer and an independent, scrollable discussion sheet. */
@media(max-width:700px) {
 .home-moment-dialog { width:100vw; height:100dvh; max-height:100dvh; margin:0; padding:0; border:0; border-radius:0; background:#15121a; color:white; }
 .home-moment-dialog__heading { position:fixed; top:12px; right:12px; z-index:8; margin:0; padding:0; background:transparent; }
 .home-moment-dialog__heading h2 { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .home-moment-dialog__heading button { background:#16131c90; color:white; border:1px solid #ffffff55; }
 .home-moment-dialog__navigation:not([hidden]) { position:absolute; top:96px; left:16px; right:16px; z-index:5; margin:0; }
 .home-moment-dialog__navigation button { background:#15121a80; border-color:#ffffff55; color:white; font-size:11px; }
 .home-moment-dialog__navigation [data-moment-position] { color:white; text-shadow:0 1px 3px #000; }
 .home-moment-dialog__body > .moment-view { display:block; position:relative; min-height:100dvh; margin:0; padding:0; border:0; border-radius:0; background:#15121a; }
 .home-moment-dialog__body .moment-view__visual { position:absolute; inset:0; height:100dvh; min-height:0; border-radius:0; background:#15121a; }
 .home-moment-dialog__body .moment-view__visual .honeygram-media { width:100%; height:100%; max-height:none; object-fit:contain; background:transparent; }
 .home-moment-dialog__body .moment-view__aside { position:relative; min-height:100dvh; display:flex; flex-direction:column; justify-content:flex-end; gap:12px; padding:148px 16px 60px; border-radius:0; background:linear-gradient(180deg,#0008,transparent 25%,transparent 42%,#000d 78%); pointer-events:none; }
 .home-moment-dialog .moment-view__aside > * { pointer-events:auto; }
 .home-moment-dialog .moment-view__aside > .comment-author { position:absolute; top:16px; left:16px; right:60px; margin:0; }
 .home-moment-dialog .moment-view__aside > .comment-author :is(.comment-author__name > a,.comment-author__meta > span) { color:white; }
 .home-moment-dialog .moment-view__aside > .comment-author .comment-author__level > summary { color:#31675e; }
 .home-moment-dialog .moment-view__aside > p,.home-moment-dialog .moment-view__aside > p > a,.home-moment-dialog .moment-view__aside > .story-form__delete > summary,.home-moment-dialog .moment-view__actions > span { color:white; }
 .home-moment-dialog .moment-view__date { display:none; }
 .home-moment-dialog .moment-view__caption { order:1; }
 .home-moment-dialog .moment-view__caption h2 { display:none; }
 .home-moment-dialog .moment-view__caption .story-card__text { color:white; font-size:14px; line-height:1.5; text-shadow:0 1px 3px #000; }
 .home-moment-dialog .moment-view__mood { order:2; margin:0; font-size:12px; padding:5px 10px; align-self:flex-start; }
 .home-moment-dialog .moment-view__actions { order:3; margin:0; padding:0; border:0; display:flex; flex-wrap:wrap; gap:8px; }
 .home-moment-dialog .moment-view__actions > :is(a,button),.home-moment-dialog .moment-view__actions .content-like button { color:white; background:#ffffff20; border:1px solid #ffffff60; border-radius:10px; padding:8px; font-size:12px; }
 .home-moment-dialog .moment-view__actions .content-like button * { color:inherit; }
 .home-moment-dialog .moment-view__contact { order:4; min-height:40px; padding:8px; font-size:13px; }
 .home-moment-dialog .moment-view__more { order:5; }
 .home-moment-dialog .moment-view__more > summary { color:white; font-size:12px; }
 .home-moment-dialog .moment-view__aside > .honeygram-comments { order:6; width:100%; margin:0; padding:0; border:0; background:transparent; }
 .home-moment-dialog .honeygram-comments > summary { padding:12px; border:1px solid #ffffff50; border-radius:12px; color:white; background:#ffffff15; font-size:13px; }
 .home-moment-dialog .honeygram-comments[open] { position:fixed; z-index:10; inset:auto 0 0; max-height:72dvh; overflow:auto; overscroll-behavior:contain; padding:0 16px 18px; border-radius:22px 22px 0 0; background:#fff; color:#302b40; box-shadow:0 -8px 30px #0005; }
 .home-moment-dialog .honeygram-comments[open] > summary { position:sticky; top:0; z-index:2; padding:20px 32px 16px 0; color:#302b40; border:0; border-bottom:1px solid #eee3eb; border-radius:0; background:white; list-style:none; }
 .home-moment-dialog .honeygram-comments[open] > summary::after { content:'×'; position:absolute; right:0; top:16px; font-size:24px; }
 .home-moment-dialog .honeygram-comments[open] > summary::-webkit-details-marker { display:none; }
 .home-moment-dialog:has(.honeygram-comments[open]) > .home-moment-dialog__navigation { display:none; }
 .home-moment-dialog__permalink { position:absolute; bottom:16px; left:16px; z-index:2; margin:0; color:#fff; font-size:12px; }
 .home-moment-dialog__status:not(:empty) { position:relative; z-index:9; padding:16px 64px 16px 16px; color:white; background:#15121a; }
}
@media(max-width:700px) { .home-moment-dialog .moment-comment-previews { display:none; } }
