/* Doho's shared wall and personal timeline; existing privacy/upload controls remain. */
.moments-dialog{width:min(1080px,calc(100vw - 48px));height:min(960px,94dvh);max-height:94dvh;border-radius:24px;background:#f5f7f1}
.moments-header{padding:18px 25px;gap:13px;background:#fffefa}
.moments-heading{flex:1;min-width:0}
.moments-header h2{font-size:20px;letter-spacing:-.4px;margin:3px 0 0}
.moments-heading h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.moments-kicker{font-size:8px;letter-spacing:1.5px;color:#7a9180}
.moments-back,.moments-close{display:flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;border:0;border-radius:50%;background:#eef3e9;color:#356960;font-size:28px;line-height:1}
.moments-back{padding-bottom:3px;font-size:34px}
.moments-scroll{flex:1;padding:0 25px 24px;scroll-behavior:smooth}
.moments-feed{max-width:1010px;margin:auto}
.moments-tabs{position:sticky;top:0;z-index:3;gap:5px;padding:13px 0;background:#f5f7f1eF;backdrop-filter:blur(14px);border-bottom:1px solid #e0e7da;margin-bottom:22px}
.moments-tab{font-size:13px;font-weight:600;padding:9px 20px;border-radius:24px;color:#6a8573;min-height:40px}
.moments-tab.active{background:#dfece0;color:#285f55}
.moments-refresh{font-size:24px;min-width:40px;padding:4px;border-radius:50%;line-height:1}
.moments-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:27px;align-items:start}
.moments-sidebar{position:sticky;top:80px;min-width:0}
.moments-self-card{padding:24px 20px;border:1px solid #e2e8da;border-radius:20px;background:#fffdf6;text-align:center}
.moments-self-link{display:flex;align-items:center;flex-direction:column;gap:7px;border:0;padding:0;background:none;color:var(--ink);width:100%}
.moments-self-link strong{font-size:17px;font-weight:600;overflow-wrap:anywhere;line-height:1.4}
.moments-self-link>span:last-child{font-size:11px;color:#718d79}
.moments-self-avatar{display:flex;justify-content:center;align-items:center;width:66px;height:66px;margin-bottom:8px;border-radius:50%;background:#d6e9d7;color:#356c57;font-size:23px;overflow:hidden}
.moments-self-card>p{border-top:1px solid #e5e9dc;padding-top:15px;font-size:12px;line-height:1.7;color:#86927a;margin:20px 0 0}
.moments-settings-link{width:100%;padding:17px 10px;margin-top:6px;text-align:center;border:0;font-size:11px;color:#718575;background:transparent}
.moments-side-note{font-size:10px;color:#a0aa96;text-align:center;line-height:1.8;margin:3px 0}
.moments-main{min-width:0}
.moments-introduction{padding:7px 4px 22px}
.moments-section-kicker{font-size:8px;letter-spacing:1.7px;color:#81927d;font-weight:650}
.moments-introduction h3{font-size:27px;line-height:1.25;font-weight:500;letter-spacing:-.8px;margin:8px 0 8px;color:#285d56}
.moments-introduction p{font-size:12px;line-height:1.7;color:#82917c;margin:0;max-width:420px}
.moments-card{padding:20px 20px 0;border:1px solid #e0e8da;background:#fffefa;border-radius:18px;margin:0 0 20px;overflow:hidden;box-shadow:0 3px 12px #42674203}
.moments-card.moments-shared-focus{background:#f3f8ee;box-shadow:inset 3px 0 #79a99a;outline:1px solid #c9ddd1;outline-offset:-1px}
.moments-card-header{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.moments-author{min-width:0;flex:1;gap:10px;align-items:center}
.moments-avatar{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;border-radius:50%;overflow:hidden;background:#e3eddf;color:#4d785b;font-size:13px}
.moments-avatar img,.moments-self-avatar img,.moments-profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.moments-author-info{min-width:0}
.moments-author-info strong{font-size:13px;font-weight:650;line-height:1.5}
.moments-author-info small{font-size:10px;color:#91a088;line-height:1.7}
.moments-time{font-size:10px;color:#97a18f;margin:0;max-width:125px;text-align:right;line-height:1.6}
.moments-post-visibility{display:block;margin:8px 0 0 50px;padding:0;border:0;background:none;font-size:9px;color:#9ca692}
.moments-text{font-size:14px;line-height:1.85;color:#3e6358;margin:14px 0 17px;overflow-wrap:anywhere}
.moments-gallery{margin:14px -20px 0;gap:3px;grid-template-columns:repeat(2,minmax(0,1fr));border-radius:0;overflow:hidden}
.moments-media{height:255px;border:0;border-radius:0;background:#edf1e8}
.moments-gallery.single-media{grid-template-columns:1fr}
.moments-gallery.single-media .moments-media{height:auto;min-height:220px;max-height:660px;aspect-ratio:4/3}
.moments-gallery.single-media .moments-media img{position:absolute;inset:0;width:100%;height:100%;max-height:660px;object-fit:contain}
.moments-gallery.single-media .moments-video{height:330px}
.moments-media-name{font-size:10px;opacity:0;transition:opacity .2s}
.moments-media-name[hidden]{display:none}
.moments-media:hover .moments-media-name,.moments-media:focus-visible .moments-media-name{opacity:1}
.moments-video{background:linear-gradient(135deg,#dce9d9,#c6dfcf);color:#587e6c}
.moments-card-actions{padding:8px 0 10px;margin-top:0;border-top:0;min-height:40px}
.moments-delete{font-size:10px;color:#91a08a;min-height:30px}
.moments-card:not(:has(.moments-card-actions)):not(:has(.moments-engagement)){padding-bottom:17px}
.moments-card:not(:has(.moments-card-actions)):has(.moments-gallery){padding-bottom:0}
.moments-empty{padding:42px 20px;background:#fffefa;border:1px dashed #d3dfce;border-radius:18px;color:#8fa184}
.moments-empty strong{font-weight:500;font-size:18px;color:#587c66}
.moments-empty p{font-size:12px;line-height:1.8}
.moments-posts-loading{padding:28px 20px;border:1px solid #e2e9df;border-radius:18px;background:#fffefa;color:#718d80;font-size:13px}
.moments-posts-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0 18px;padding:14px 16px;border:1px solid #f0d4d1;border-radius:14px;background:#fff3f1;color:#945451}
.moments-posts-notice[hidden]{display:none}
.moments-posts-notice p{margin:0;font-size:12px;line-height:1.55}
.moments-posts-retry{flex-shrink:0;min-height:36px;padding:7px 13px;border:1px solid #dcaaa5;border-radius:18px;background:#fffefa;color:#8b4d49;font-size:12px;font-weight:650}
.moments-posts-retry:focus-visible{outline:3px solid #b77b75;outline-offset:2px}
.moments-compose-dock{display:flex;align-items:center;gap:11px;padding:14px max(26px,calc((100% - 660px)/2));border-top:1px solid #dde6d6;background:#fffefbf2;backdrop-filter:blur(16px);flex-shrink:0}
.moments-compose-open{flex:1;min-width:0;text-align:left;padding:13px 16px;border:1px solid #e4ebdc;border-radius:25px;background:#f6f9f0;color:#879b80;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:44px}
.moments-quick-media{flex-shrink:0;min-height:42px;padding:9px 13px;border:0;border-radius:24px;background:#e1eddd;color:#527852;font-size:12px;font-weight:600}
.moments-dock-identity>.moments-avatar{width:37px;height:37px;font-size:12px}
.moments-composer{padding:20px;margin:0 0 20px;border:1px solid #ccddc6;box-shadow:0 4px 18px #486e4b08;background:#fffefa;border-radius:18px;scroll-margin-top:75px}
.moments-compose-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:12px}
.moments-compose-label{font-size:14px;color:#4b745d;margin:0}
.moments-compose-collapse{width:30px;height:30px;border:0;border-radius:50%;background:#eff4e8;font-size:21px;color:#6d8967}
.moments-input{border-color:#e3eadd;background:#f9fbf5;font-size:14px;min-height:98px;border-radius:12px}
.moments-audience-help{line-height:1.7;color:#829179;font-size:11px}
.moments-profile{margin-bottom:20px;background:#fffefa;border:1px solid #e0e8da;border-radius:20px;overflow:hidden}
.moments-profile-cover{height:195px;position:relative;overflow:hidden;background:linear-gradient(122deg,#dfe8c9 0%,#cbdcb2 47%,#b7d7c4 100%)}
.moments-profile-cover-action{cursor:zoom-in}
.moments-profile-cover-action:focus-visible{outline:3px solid #79a99a;outline-offset:-4px}
.moments-profile-cover.has-ratio{width:100%;height:auto;aspect-ratio:var(--cover-ratio);min-height:150px;max-height:min(420px,56vh)}
.moments-profile-cover.has-image{background:#26332f}
.moments-cover-image{position:absolute;z-index:1;inset:0;width:100%;height:100%;display:block;object-fit:contain;object-position:center}
.moments-cover-backdrop{position:absolute;z-index:0;inset:-28px;width:calc(100% + 56px);height:calc(100% + 56px);display:block;object-fit:cover;filter:blur(24px) brightness(.8) saturate(1.1);pointer-events:none}
.moments-profile-cover:not(.has-image) .moments-cover-backdrop{visibility:hidden}
.moments-profile-cover.has-image .moments-cover-brand,.moments-profile-cover.has-image .moments-cover-caption,.moments-profile-cover.has-image .moments-cover-orbit{display:none}
.moments-cover-orbit{position:absolute;width:290px;height:290px;border:1px solid #fcfff799;border-radius:50%;transform:rotate(-22deg);pointer-events:none}
.moments-cover-orbit.orbit-one{left:41%;top:-120px;width:410px;height:340px;border-width:27px;border-color:#f5f8dc50}
.moments-cover-orbit.orbit-two{left:48%;top:-26px;width:300px;height:270px;border-width:2px;border-color:#ffffff8a}
.moments-cover-orbit.orbit-three{left:-120px;top:64px;width:350px;height:280px;border-width:35px;border-color:#a9c59433}
.moments-cover-brand{position:absolute;right:25px;top:21px;color:#638771;font-size:20px;letter-spacing:-1px;font-weight:500}
.moments-cover-caption{position:absolute;right:27px;bottom:30px;color:#6b8e75;font-size:14px;letter-spacing:-.3px}
.moments-cover-edit{position:absolute;z-index:2;right:18px;bottom:16px;min-height:38px;padding:9px 14px;border:1px solid #ffffffb8;border-radius:20px;background:#fffef0e8;box-shadow:0 4px 15px #244d531f;color:#315f50;font-size:11px;font-weight:650;backdrop-filter:blur(8px)}
.moments-cover-edit:hover{background:#fff;color:#244d53}
.moments-profile-details{position:relative;z-index:2;padding:0 23px 21px;display:flex;flex-wrap:wrap;align-items:center;gap:13px}
.moments-profile-avatar{display:flex;align-items:center;justify-content:center;position:relative;width:86px;height:86px;flex-shrink:0;margin-top:-30px;border:5px solid #fffefa;border-radius:50%;overflow:hidden;background:#d9e8ce;color:#416e4f;font-size:28px;box-shadow:0 2px 7px #416a4707}
.moments-profile-avatar-wrap{position:relative;flex-shrink:0;margin-top:-30px}
.moments-profile-avatar-wrap .moments-profile-avatar{margin-top:0}
.moments-profile-name{flex:1;min-width:0;padding-top:10px}
.moments-profile-name h3{font-size:23px;line-height:1.3;font-weight:600;letter-spacing:-.55px;margin:0;overflow-wrap:anywhere;color:#315f50}
.moments-profile-name p{font-size:11px;color:#91a085;margin:4px 0 0}
.moments-profile-avatar-action{border:0;padding:0;background:none;flex-shrink:0;border-radius:50%;color:inherit;cursor:pointer}
.moments-profile-avatar-edit{position:absolute;right:-2px;bottom:2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:3px solid #fffefa;border-radius:50%;background:#e7f0e2;color:#356960;font-size:16px;line-height:1;box-shadow:0 3px 9px #244d5326;cursor:pointer}
.moments-profile-name-action{display:flex;align-items:center;gap:9px;max-width:100%;padding:0;border:0;background:none;text-align:left;font:inherit;letter-spacing:inherit;color:inherit;cursor:pointer}
.moments-profile-edit-hint{flex-shrink:0;font-size:18px;color:#76947b}
.moments-profile-avatar-action:focus-visible,.moments-profile-avatar-edit:focus-visible,.moments-profile-name-action:focus-visible{outline:3px solid #79a99a;outline-offset:4px}
.moments-profile-message{position:fixed;z-index:12;right:max(32px,calc((100vw - min(1080px,calc(100vw - 48px)))/2 + 32px));bottom:max(30px,calc((100vh - min(960px,94dvh))/2 + 30px));min-height:48px;padding:12px 21px;border:1px solid #d9e6dc;border-radius:26px;background:#fffefa;color:#2d6568;font-size:13px;font-weight:650;box-shadow:0 10px 28px #244d5326}
.moments-profile-message::before{content:'✉';display:inline-block;margin-right:8px;font-size:15px}
.moments-profile-message:hover{background:#f3f8ef}.moments-profile-message:disabled{opacity:.6}
.moments-scroll.with-profile-message{padding-bottom:92px}
.moments-timeline-heading{display:flex;justify-content:space-between;gap:12px;padding:15px 24px;border-top:1px solid #e5ebdf;font-size:11px;color:#90a185}
.moments-timeline-heading>span:first-child{font-weight:650;color:#537755;font-size:12px}
.moments-settings{max-width:660px;margin:auto;padding:22px 0}
@media(max-width:760px){
  .moments-dialog{width:100vw;height:100dvh;max-height:100dvh;max-width:none;border:0;border-radius:0;margin:0}
  .moments-header{padding:max(12px,env(safe-area-inset-top)) 15px 12px;gap:10px}
  .moments-header h2{font-size:17px;letter-spacing:-.3px}
  .moments-kicker{font-size:7px;letter-spacing:1.25px}
  .moments-back,.moments-close{width:34px;height:34px;min-width:34px;font-size:25px}
  .moments-back{font-size:30px}
  .moments-scroll{padding:0 0 20px}
  .moments-tabs{padding:9px 14px;margin:0 0 18px;gap:6px;background:#f5f7f1f2}
  .moments-tab{padding:9px 17px;font-size:12px;min-height:38px}
  .moments-refresh{font-size:24px}
  .moments-layout{display:block}
  .moments-sidebar{display:none}
  .moments-introduction{padding:0 19px 22px}
  .moments-section-kicker{font-size:7px;letter-spacing:1.6px}
  .moments-introduction h3{font-size:25px;margin:9px 0 7px}
  .moments-introduction p{font-size:11px;max-width:300px}
  .moments-card{margin:0 0 12px;padding:17px 16px 0;border-left:0;border-right:0;border-radius:0;border-color:#e6ecdf;box-shadow:none}
  .moments-card-header{gap:7px}
  .moments-author{flex-basis:auto;gap:9px}
  .moments-avatar{width:38px;height:38px;font-size:12px}
  .moments-author-info strong{font-size:13px}
  .moments-author-info small{font-size:10px}
  .moments-time{font-size:9px;max-width:93px;margin:0}
  .moments-post-visibility{margin-left:47px;font-size:9px;margin-top:5px}
  .moments-text{font-size:14px;line-height:1.8;margin:13px 0 16px}
  .moments-gallery{margin:14px -16px 0;gap:2px}
  .moments-media{height:200px}
  .moments-gallery.single-media .moments-media{min-height:220px;max-height:540px}
  .moments-gallery.single-media .moments-media img{max-height:540px}
  .moments-gallery.single-media .moments-video{height:260px}
  .moments-card-actions{padding:7px 0 9px}
  .moments-delete{font-size:10px;min-height:30px}
  .moments-compose-dock{gap:9px;padding:10px 13px max(10px,env(safe-area-inset-bottom));background:#fffefa}
  .moments-compose-open{padding:11px 12px;font-size:11px;min-height:42px}
  .moments-quick-media{padding:10px 12px;font-size:11px}
  .moments-dock-identity>.moments-avatar{width:34px;height:34px}
  .moments-composer{margin:0 12px 17px;padding:16px;border-radius:15px;scroll-margin-top:68px}
  .moments-compose-label{font-size:14px}
  .moments-input{font-size:16px}
  .moments-audience-help{font-size:11px}
  .moments-profile{margin:-18px 0 16px;border:0;border-radius:0}
  .moments-profile-cover{height:185px}
  .moments-profile-cover.has-ratio{min-height:140px;max-height:min(420px,58vh)}
  .moments-cover-edit{right:14px;bottom:13px;min-height:40px;padding:9px 13px;font-size:11px}
  .moments-profile-details{padding:0 18px 18px;gap:12px}
  .moments-profile-avatar{width:78px;height:78px;margin-top:-25px;border-width:4px;font-size:25px}
  .moments-profile-avatar-wrap{margin-top:-25px}
  .moments-profile-avatar-wrap .moments-profile-avatar{margin-top:0}
  .moments-profile-avatar-edit{right:-3px;bottom:0;width:31px;height:31px;font-size:15px}
  .moments-profile-name h3{font-size:22px}
  .moments-profile-name p{font-size:10px}
  .moments-profile-message{right:16px;bottom:calc(66px + env(safe-area-inset-bottom));min-height:46px;padding:11px 18px;font-size:12px}
  .moments-scroll.with-profile-message{padding-bottom:112px}
  .moments-cover-brand{right:20px;top:21px;font-size:21px}
  .moments-cover-caption{right:22px;bottom:31px;font-size:13px}
  .moments-timeline-heading{padding:13px 18px;font-size:10px}
  .moments-timeline-heading>span:first-child{font-size:12px}
  .moments-empty{margin:0 13px;padding:37px 20px}
  .moments-posts-loading{margin:0 13px}
  .moments-posts-notice{margin:10px 13px 18px}
  .moments-settings{padding:17px 16px 26px}
  .moments-status{margin:10px 13px;font-size:12px}
}

/* Session-only derivative media. Video bytes stream from the protected Range
   endpoint; posters and photos are decoded through the bundled media manager. */
.moments-video{position:relative;isolation:isolate}
.moments-video-player{position:absolute;z-index:0;inset:0;display:block;width:100%;height:100%;object-fit:cover;background:#dfe9e2}
.moments-video-play,.moments-video-label{position:relative;z-index:2;pointer-events:none;transition:opacity .16s ease,transform .16s ease}
.moments-video-play{margin:auto 0 0}
.moments-video-label{margin:0 0 auto;padding:0 10px 12px;color:#456d63;background:#f7fbf3cc;border-radius:999px}
.moments-video.is-playing .moments-video-play,.moments-video.is-playing .moments-video-label{opacity:0;transform:scale(.92)}
.moments-media-pending{min-height:170px;background:linear-gradient(110deg,#edf2e9,#e0eadd);cursor:progress}
.moments-media-pending:disabled{opacity:1;color:#58766d}
.moments-media-state{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border-radius:999px;background:#fffefbd9;color:#58766d;font-size:11px}
.moments-media-state::before{content:'';width:13px;height:13px;border:2px solid #aac2b3;border-top-color:#3f776d;border-radius:50%;animation:moments-media-spin .8s linear infinite}
.moments-media-pending.media-failed .moments-media-state::before{display:none}
.moments-media.media-loading{isolation:isolate;background:#edf1e9}
.moments-media.media-loading::before{content:'';position:absolute;z-index:0;inset:0;background:linear-gradient(105deg,#edf1e9 20%,#f7f9f3 42%,#edf1e9 64%);background-size:220% 100%;animation:moments-media-shimmer 1.25s ease-in-out 8}
.moments-media.media-loading img,.moments-media.media-error img{opacity:0}
.moments-media.media-loaded img{opacity:1;transition:opacity .16s ease-out}
.moments-media.media-error .moments-media-fallback{position:relative;z-index:1;padding:10px 13px;border-radius:999px;background:#fffefbd9;color:#58766d}
@keyframes moments-media-spin{to{transform:rotate(360deg)}}
@keyframes moments-media-shimmer{to{background-position:-220% 0}}
@media(prefers-reduced-motion:reduce){.moments-video-play,.moments-video-label,.moments-media.media-loaded img{transition:none}.moments-media-state::before,.moments-media.media-loading::before{animation:none}}
.moments-header-settings{display:none;border:0;background:transparent;color:#5e8069;font-size:25px;width:31px;height:34px;flex-shrink:0;padding:0;line-height:1}@media(max-width:760px){.moments-header-settings{display:block}}
.moments-engagement{display:flex;align-items:center;gap:23px;min-height:51px;padding:8px 0;flex-wrap:wrap}.moments-like,.moments-comment-toggle{display:flex;align-items:center;gap:7px;border:0;background:none;padding:5px 0;color:#789276;font-size:11px;min-height:33px}.moments-like svg,.moments-comment-toggle svg{width:20px;height:20px;flex-shrink:0}.moments-like.liked{color:#b97c79}.moments-like.liked svg{fill:#eed0c7;stroke:#bd8a80}.moments-engagement>.moments-card-actions{margin-left:auto;padding:0;min-height:30px}.moments-comments{border-top:1px solid #e6ecdf;padding:15px 0 18px}.moments-comment{display:flex;gap:9px;margin:0 0 16px}.moments-comment-author{padding:0;border:0;background:none;align-self:flex-start}.moments-comment-author .moments-avatar{width:30px;height:30px;font-size:10px}.moments-comment-content{flex:1;min-width:0;background:#f6f8f0;border-radius:10px;padding:8px 10px}.moments-comment-heading{display:flex;align-items:center;gap:8px;justify-content:space-between}.moments-comment-name{border:0;background:none;padding:0;text-align:left;font-size:11px;font-weight:600;color:#4b7157;overflow-wrap:anywhere}.moments-comment-heading time{font-size:8px;color:#99a58d;white-space:nowrap}.moments-comment-content p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:#608066;font-size:12px;margin:5px 0 0}.moments-comment-delete{border:0;background:none;padding:7px 0 0;color:#9ba790;font-size:9px}.moments-comment-form{display:flex;align-items:flex-end;gap:8px}.moments-comment-form textarea{flex:1;min-width:0;width:100%;resize:vertical;min-height:43px;max-height:140px;padding:10px 12px;border:1px solid #dfe8d6;border-radius:13px;font:inherit;font-size:13px;line-height:1.6;background:#fbfcf7;color:#4e745d}.moments-comment-form>button{min-height:43px;padding:11px 13px;border:0;background:#e3eedb;color:#638455;border-radius:13px;font-size:11px}.moments-comment-form>button:disabled{opacity:.5}.moments-no-comments,.moments-comment-status{font-size:11px;color:#8b9c80;line-height:1.8;margin:0 0 12px}.moments-comments-more{font-size:10px;color:#7b9670;border:0;background:transparent;padding:5px 0 15px}.moments-interactions{min-width:0}@media(max-width:760px){.moments-engagement{gap:23px;min-height:51px}.moments-like,.moments-comment-toggle{font-size:11px}.moments-comment-form textarea{font-size:16px}.moments-comment-content p{font-size:12px}}
.moments-author-info strong,.moments-author-info small{overflow-wrap:anywhere}.moments-time{color:#73826a}.moments-author-info small,.moments-post-visibility{color:#809075}.moments-profile-name p{color:#78896b}.moments-like,.moments-comment-toggle{color:#668460}@media(max-width:760px){.moments-time{font-size:10px}.moments-post-visibility{font-size:10px}}
.moments-comment-actions{display:flex;align-items:center;gap:17px;margin-top:3px}.moments-comment-actions button{border:0;background:none;min-height:32px;padding:5px 0;font-size:11px;text-align:left}.moments-comment-reply{font-weight:600;color:#356e68}.moments-comment-actions button:disabled{opacity:.5;cursor:default}.moments-private-reply{margin-left:28px;padding-left:10px;border-left:2px solid #d6e8e0}.moments-private-reply .moments-comment-content{background:#edf5f0}.moments-private-label{display:block;color:#617e72;font-size:10px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}.moments-reply-notice{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;background:#edf5f0;border:1px solid #d6e8e0;border-bottom:0;border-radius:13px 13px 0 0;padding:12px 13px}.moments-reply-notice[hidden]{display:none}.moments-reply-notice>div{min-width:0}.moments-reply-notice strong{display:block;font-size:12px;color:#356e68;overflow-wrap:anywhere}.moments-reply-notice p{margin:5px 0 0;font-size:11px;line-height:1.6;color:#617e72;overflow-wrap:anywhere}.moments-reply-cancel{flex-shrink:0;border:0;background:transparent;color:#617e72;font-size:12px;min-height:32px;padding:3px 4px}.moments-comment-composer.replying .moments-comment-form{padding:0 10px 10px;background:#edf5f0;border:1px solid #d6e8e0;border-top:0;border-radius:0 0 13px 13px}.moments-comment-composer.replying .moments-comment-form>button{background:#2e6c67;color:#fff;white-space:nowrap}@media(max-width:760px){.moments-private-reply{margin-left:16px;padding-left:8px}.moments-comment-actions button{min-height:36px}.moments-reply-notice strong{font-size:13px}.moments-reply-notice p{font-size:12px}}
.moments-navigation{display:none}@media(max-width:760px){.moments-navigation{display:block;flex-shrink:0}.moments-dialog .moments-compose-dock{padding-bottom:10px}}
.moments-header-settings.profile-actions-trigger{display:block;width:44px;min-width:44px;height:44px;border-radius:50%;background:#eef3e9;color:#356960;font-size:27px;font-weight:650}
.moments-header-settings.profile-actions-trigger:hover{background:#e2ecdf}
.moments-header-settings.profile-actions-trigger:focus-visible{outline:3px solid #79a99a;outline-offset:2px}
.moments-header-settings.profile-settings-trigger{font-size:0}
.moments-settings-icon{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Compact social wall: Doho colors with a thread-like reading rhythm. */
.moments-dialog{background:#fffefa}
.moments-feed{max-width:680px}
.moments-layout{display:block;max-width:680px;margin:0 auto}
.moments-sidebar{display:none}
.moments-main{width:100%}
.moments-tabs{margin:0;padding:9px 15px;min-height:52px;background:#fffefaf2;border-bottom:1px solid #e8ece5}
.moments-tab{padding:8px 13px;min-height:36px;background:transparent;color:#315f58}
.moments-tab.active{background:#edf3eb;color:#285f55}
.moments-refresh{display:flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;margin-left:auto;padding:0;border:0;border-radius:50%;background:transparent;color:#678078;font-size:23px}
.moments-refresh:hover{background:#eef3e9}
.moments-topic-bar{display:flex;align-items:center;gap:7px;max-width:100%;padding:10px 15px;border-bottom:1px solid #edf0e9;background:#fffefa;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.moments-topic-bar::-webkit-scrollbar{display:none}
.moments-topic-bar-label{flex-shrink:0;margin-right:2px;color:#8a968d;font-size:10px;font-weight:650;letter-spacing:.08em;text-transform:uppercase}
.moments-topic-chip{flex-shrink:0;min-height:33px;padding:6px 11px;border:1px solid #dfe8df;border-radius:18px;background:#f7f9f3;color:#4e716b;font-size:11px;white-space:nowrap}
.moments-topic-chip:hover,.moments-topic-chip.active{border-color:#9fc5b9;background:#e9f3ed;color:#285f58}
.moments-wall-hero:empty,.moments-introduction[hidden]{display:none}
.moments-card{position:relative;margin:0;padding:17px 16px 0;border:0;border-bottom:1px solid #e6ebe4;border-radius:0;background:#fffefa;box-shadow:none;overflow:visible}
.moments-card-header{position:relative;display:flex;align-items:flex-start;gap:8px;min-height:42px}
.moments-author{display:flex;align-items:center;gap:10px;min-width:0;flex:1;border:0;background:transparent;padding:0;text-align:left}
.moments-avatar{width:40px;height:40px;font-size:12px}
.moments-author-info{display:block;min-width:0;flex:1}
.moments-author-info strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#294f4f;font-size:13px}
.moments-time{flex-shrink:0;max-width:none;margin-top:2px;color:#89958e;font-size:10px;white-space:nowrap}
.moments-card-content{min-width:0;margin-left:50px}
.moments-post-meta{display:flex;align-items:center;gap:8px;min-height:22px;margin-top:-5px;margin-bottom:7px}
.moments-post-topic{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:25px;padding:3px 8px;border:0;border-radius:12px;background:#edf5f0;color:#26706a;font-size:10px;font-weight:650}
.moments-post-topic:hover{background:#dfeee7}
.moments-text{margin:5px 0 12px;color:#2d4947;font-size:14px;line-height:1.65;white-space:pre-wrap}
.moments-gallery{margin:11px 0 2px;gap:3px;border:1px solid #e5e9e3;border-radius:14px;background:#eef2ec;overflow:hidden}
.moments-media{height:250px}
.moments-gallery.single-media .moments-media{min-height:190px;max-height:640px}
.moments-gallery.single-media .moments-media img{max-height:640px}
.moments-gallery.single-media .moments-video{height:320px}
.moments-interactions{min-width:0}
.moments-engagement{display:flex;align-items:center;justify-content:flex-start;gap:4px;min-height:52px;padding:5px 0 7px;flex-wrap:nowrap}
.moments-reaction-control{position:relative;display:flex;align-items:stretch;flex:0 0 auto;min-width:0}
.moments-like,.moments-comment-toggle,.moments-share{display:flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-width:44px;min-height:42px;padding:7px 10px;border:0;border-radius:10px;background:transparent;color:#58766d;font-size:10px;white-space:nowrap}
.moments-like{touch-action:manipulation;-webkit-touch-callout:none;user-select:none}
.moments-like svg,.moments-comment-toggle svg,.moments-share svg{width:19px;height:19px;flex-shrink:0}
.moments-like:hover,.moments-comment-toggle:hover,.moments-share:hover{background:#f0f5ef}
.moments-like.liked{color:#ad6565}
.moments-like.liked svg{fill:#efd1cb;stroke:#b6746d}
.moments-reaction-glyph{font-size:18px;line-height:1}
.moments-action-count{min-width:1ch;color:currentColor;font-size:11px;font-variant-numeric:tabular-nums;line-height:1}
.moments-reaction-picker{position:absolute;z-index:8;left:0;bottom:calc(100% + 5px);display:flex;align-items:center;gap:3px;width:max-content;max-width:min(330px,calc(100vw - 36px));padding:7px;border:1px solid #dce6df;border-radius:18px;background:#fffefa;box-shadow:0 10px 30px #244d5324}
.moments-reaction-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;width:43px;height:43px;padding:2px;border:0;border-radius:12px;background:transparent;font-size:21px;line-height:1}
.moments-reaction-choice small{min-height:10px;margin-top:1px;color:#789088;font-size:8px;line-height:1}
.moments-reaction-choice:hover,.moments-reaction-choice.active{background:#edf4eb;transform:translateY(-1px)}
.moments-comments{margin-left:-50px;padding:14px 0 18px 50px;border-top:1px solid #e7ece6}
.moments-card-actions{position:relative;flex-shrink:0;min-height:34px;margin:-7px -7px 0 0;padding:0}
.moments-delete{display:flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#7f8e88;font-size:21px;line-height:1}
.moments-delete:hover{background:#f0f4ef}
.moments-delete-prompt{position:absolute;z-index:9;top:37px;right:0;display:flex;flex-direction:column;gap:6px;width:180px;padding:8px;border:1px solid #e1e6df;border-radius:13px;background:#fffefa;box-shadow:0 10px 28px #244d5320}
.moments-delete-prompt .button{width:100%;min-height:37px;padding:7px 10px;font-size:10px}
.moments-composer{max-width:650px;margin:12px auto 15px;padding:16px;border-color:#dfe7df;border-radius:16px;box-shadow:none}
.moments-compose-heading{margin-bottom:9px}
.moments-input{min-height:86px;padding:12px;border-radius:12px}
.moments-topic-field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 10px;margin:10px 0;padding:9px 11px;border:1px solid #e1e9e1;border-radius:12px;background:#f8faf5;color:#496d65;font-size:11px}
.moments-topic-field>span{font-weight:650}
.moments-topic-input{min-width:0;width:100%;padding:5px 7px;border:0;border-radius:7px;background:#fffefa;color:#315f58;font-size:12px}
.moments-topic-input:focus{border:0!important;box-shadow:0 0 0 3px #80b5b121}
.moments-topic-field small{grid-column:2;color:#8b978f;font-size:9px;line-height:1.5}

@media(max-width:760px){
  .moments-tabs{padding:7px 13px;min-height:48px;margin:0}
  .moments-topic-bar{padding:8px 13px}
  .moments-card{margin:0;padding:15px 13px 0}
  .moments-card-header{gap:7px}
  .moments-avatar{width:39px;height:39px}
  .moments-author{gap:9px}
  .moments-author-info strong{font-size:13px}
  .moments-time{font-size:9px}
  .moments-card-content{margin-left:48px}
  .moments-post-meta{margin-top:-5px;margin-bottom:6px}
  .moments-text{margin:4px 0 11px;font-size:14px;line-height:1.58}
  .moments-gallery{margin:10px 0 1px;border-radius:13px}
  .moments-media{height:205px}
  .moments-gallery.single-media .moments-media{min-height:170px;max-height:530px}
  .moments-gallery.single-media .moments-media img{max-height:530px}
  .moments-gallery.single-media .moments-video{height:260px}
  .moments-engagement{gap:2px;min-height:50px;padding:4px 0 6px}
  .moments-like,.moments-comment-toggle,.moments-share{gap:5px;min-height:43px;padding:6px 8px;font-size:9px}
  .moments-like svg,.moments-comment-toggle svg,.moments-share svg{width:19px;height:19px}
  .moments-action-count{font-size:10px}
  .moments-reaction-picker{left:0;gap:2px;max-width:calc(100vw - 26px);padding:6px}
  .moments-reaction-choice{width:40px;height:42px;font-size:20px}
  .moments-comments{margin-left:-48px;padding-left:48px}
  .moments-composer{margin:10px 11px 15px;padding:14px}
  .moments-topic-input{font-size:16px}
  .moments-topic-field{grid-template-columns:60px minmax(0,1fr)}
}

/* Sticker and emoji comments share the same compact composer on every wall. */
.moments-comment-form>.moments-comment-media-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 43px;width:43px;min-height:43px;padding:0;border:1px solid #dfe8d6;border-radius:13px;background:#f7faf4;color:#50786b;font-size:23px;line-height:1}
.moments-comment-form>.moments-comment-media-toggle:hover,.moments-comment-form>.moments-comment-media-toggle[aria-expanded=true]{border-color:#b9d4c5;background:#eaf3e9;color:#2e6c67}
.moments-comment-form>.moments-comment-submit{flex-shrink:0;white-space:nowrap}
.moments-comment-composer.replying .moments-comment-form>.moments-comment-media-toggle{border-color:#cbded4;background:#f7fbf7;color:#356e68}
.moments-comment-composer.replying .moments-comment-form>.moments-comment-media-toggle[aria-expanded=true]{background:#dbece3}
.moments-comment-form>button:disabled,.moments-comment-media-picker button:disabled{opacity:.5;cursor:default}
.moments-comment-media-picker{display:flex;flex-direction:column;width:100%;height:min(350px,45dvh);min-height:210px;margin-top:9px;scroll-margin-block:12px;border:1px solid #dce7df;border-radius:15px;background:#f8faf6;overflow:hidden;box-shadow:0 8px 24px #315a4b12}
.moments-comment-media-picker[hidden]{display:none}
.moments-comment-media-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:6px 10px 4px;color:#426d61}
.moments-comment-media-heading strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.moments-comment-media-close{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#6f867d;font-size:22px;line-height:1}
.moments-comment-media-close:hover{background:#e8f0e7}
.moments-comment-media-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:0 7px 7px;border-bottom:1px solid #e2eae1}
.moments-comment-media-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:52px;padding:3px 2px;border:1px solid transparent;border-radius:10px;background:transparent;color:#748b81}
.moments-comment-media-tab.active{border-color:#cfdfd5;background:#e7f0e7;color:#356e68}
.moments-comment-media-tab-symbol{height:30px;font-size:25px;line-height:30px}
.moments-comment-media-tab-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:1.2}
.moments-comment-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;flex:1;min-height:0;gap:4px;padding:7px;overflow-y:auto;overscroll-behavior:contain}
.moments-comment-media-grid.emoji-grid{grid-template-columns:repeat(6,minmax(0,1fr));align-items:start;padding:12px 8px}
.moments-comment-sticker-choice{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1px;min-width:0;padding:3px 2px 5px;border:1px solid transparent;border-radius:10px;background:transparent;color:#55746a}
.moments-comment-sticker-choice:hover,.moments-comment-sticker-choice:focus-visible{border-color:#d4e3d7;background:#eaf3e8}
.moments-comment-sticker-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;line-height:1.3}
.moments-comment-emoji-choice{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:4px;border:0;border-radius:10px;background:transparent;font-size:28px;line-height:1}
.moments-comment-emoji-choice:hover,.moments-comment-emoji-choice:focus-visible{background:#e7f1e5}
.moments-comment-media-hint,.moments-comment-media-status{flex-shrink:0;margin:0;padding:6px 10px;border-top:1px solid #e4ebe3;color:#758a81;font-size:9px;line-height:1.5;text-align:center}
.moments-comment-media-status{border-top:0;color:#9a605e}
.moments-comment-media-retry{align-self:center;min-height:38px;margin:5px 8px;padding:7px 14px;border:1px solid #d3e1d6;border-radius:10px;background:#edf4eb;color:#4f7469;font-size:11px}
.moments-comment-sticker-art{display:block;max-width:100%;aspect-ratio:1;flex-shrink:0}
.moments-comment-sticker-sprite{background-repeat:no-repeat}
.moments-comment-sticker{width:120px;max-width:100%;margin-top:5px}
.moments-comment-sticker img{display:block;width:120px;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.moments-comment-emoji{display:block;margin-top:5px;font-size:38px;line-height:1.2}
.moments-comment-media-fallback{color:#788b82!important;font-size:11px!important}
.moments-comment-content-media{width:fit-content;max-width:calc(100% - 1px)}
.moments-comment-content-media .moments-comment-actions{margin-top:1px}

@media(max-width:760px){
  .moments-comment-form{gap:6px}
  .moments-comment-form>.moments-comment-media-toggle{flex-basis:41px;width:41px;min-height:43px}
  .moments-comment-form>.moments-comment-submit{padding-left:10px;padding-right:10px}
  .moments-comment-media-picker{height:min(340px,43dvh);min-height:205px;scroll-margin-block-end:calc(126px + env(safe-area-inset-bottom));border-radius:13px}
  .moments-comment-media-tabs{gap:2px;padding-left:4px;padding-right:4px}
  .moments-comment-media-grid{gap:2px;padding:5px 3px}
  .moments-comment-media-grid.emoji-grid{gap:4px;padding:10px 5px}
  .moments-comment-sticker-label{font-size:8px}
}

/* Reaction totals open one paged list without changing the viewer's reaction. */
.moments-reaction-people-count{align-self:center;min-width:32px;min-height:42px;margin-left:-5px;padding:6px 8px 6px 4px;border:0;border-radius:9px;background:transparent;color:#58766d;cursor:pointer}
.moments-reaction-people-count:hover{background:#f0f5ef}
.moments-reaction-people-count:focus-visible{outline:2px solid #79a99a;outline-offset:2px}
.moments-reaction-people-dialog{width:min(480px,calc(100vw - 28px));max-width:100%;max-height:min(680px,85dvh);padding:0;border:1px solid #e2e9df;border-radius:22px;background:#fffefa;color:#2d4947;overflow:hidden}
.moments-reaction-people-dialog[open]{display:flex;flex-direction:column}
.moments-reaction-people-dialog::backdrop{background:#173b3966}
.moments-reaction-people-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:15px 18px;border-bottom:1px solid #e6ece2}
.moments-reaction-people-header h2{min-width:0;margin:0;font-size:17px;line-height:1.5;overflow-wrap:anywhere}
.moments-reaction-people-close,.moments-reaction-people-retry,.moments-reaction-people-pages button{min-height:44px;padding:8px 12px;border:0;border-radius:10px;background:#edf4ea;color:#315e55;font-size:14px;cursor:pointer}
.moments-reaction-people-close{flex:0 0 auto;background:transparent;font-weight:650}
.moments-reaction-people-list{min-height:0;margin:0;padding:6px 18px;list-style:none;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.moments-reaction-person{display:flex;align-items:center;gap:13px;padding:11px 0}
.moments-reaction-person .moments-avatar{width:44px;height:44px}
.moments-reaction-person-identity{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.moments-reaction-person-identity strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.moments-reaction-person-emojis{display:flex;flex-wrap:wrap;gap:8px;font-size:19px;line-height:1.4}
.moments-reaction-people-status{margin:0;padding:20px 18px;color:#667e72;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.moments-reaction-people-retry{margin:0 18px 16px;align-self:flex-start}
.moments-reaction-people-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;padding:10px 18px;border-top:1px solid #e6ece2;font-size:13px;color:#667e72}
.moments-reaction-people-pages button:disabled{opacity:.45;cursor:default}
@media(max-width:760px){.moments-reaction-people-dialog{width:100%;margin:auto 0 0;max-height:78dvh;border-radius:22px 22px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.moments-reaction-people-header{padding:10px 16px}.moments-reaction-people-header h2{font-size:16px}.moments-reaction-people-list{padding:6px 16px}}
