@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

/* Social wall for the guest album. */
.mode-guest .moment-social-cover {
  min-height: 285px;
  border-color: #373044;
}
.mode-guest .moment-social-cover .moment-cover-content {
  background: #110e1bbc;
}
.mode-guest .moment-social-cover .moment-cover-count {
  border-color: #5b4562;
  background: #281d33;
  color: #fae8f6;
}
.mode-guest .moment-rail-head h2,
.mode-guest .moment-feed .feed-toolbar h2 {
  letter-spacing: -.035em;
}
.mode-guest .moment-rail-track {
  --moment-card-width: 112px;
  gap: 9px;
  padding: 4px 2px 6px;
  scrollbar-width: none;
}
.mode-guest .moment-rail-track::-webkit-scrollbar { display: none; }
.mode-guest .moment-rail-card {
  border: 0;
  border-radius: 17px;
  padding: 3px;
  text-align: center;
  background: transparent;
  color: #ebe4f5;
  box-shadow: none;
}
.mode-guest .moment-rail-card .moment-rail-media {
  width: 83px;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 2px solid #d982bc;
  border-radius: 50%;
  background: #251e30;
}
.mode-guest .moment-rail-card .moment-rail-media :is(img,video) {
  border: 3px solid #0e0d16;
  border-radius: inherit;
}
.mode-guest .moment-rail-card .moment-rail-name {
  padding: 6px 0 0;
  font-weight: 650;
}
.mode-guest .moment-rail-card .moment-rail-play {
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  white-space: nowrap;
}
.mode-guest .moment-feed .media-filters { margin-bottom: 4px; }
.mode-guest .moment-people-filter {
  margin: 0 0 10px;
  color: #c9c1d6;
}
.mode-guest .moment-people-filter summary {
  display: list-item;
  width: fit-content;
  padding: 6px 7px;
  font-size: .79rem;
  cursor: pointer;
}
.mode-guest .moment-feed .gallery.feed { gap: 20px; }
.mode-guest .moment-feed .gallery.feed .photo {
  border-color: #343047;
  border-radius: 20px;
  background: #15131e;
  overflow: clip;
}
.mode-guest .moment-feed .post-head { padding: 10px 13px; }
.mode-guest .moment-feed .post-head .avatar {
  border-radius: 50%;
  background: #392943;
  border-color: #15131e;
  box-shadow: 0 0 0 2px #aa6a9e;
}
.mode-guest .moment-post-media {
  position: relative;
  display: block;
  touch-action: manipulation;
}
.mode-guest .moment-post-media img { display: block; width: 100%; }
.mode-guest .moment-feed .social-block {
  padding: 8px 12px 12px;
}
.mode-guest .moment-feed .social-block[aria-busy="true"] .reaction-row {
  opacity: .7;
  pointer-events: none;
}
.mode-guest .moment-feed .reaction-row { gap: 7px; }
.mode-guest .moment-feed .reaction-row .reaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: .94rem;
}
.mode-guest .moment-feed .reaction-row .reaction span { font-size: .79rem; }
.mode-guest .moment-feed .comment-toggle,
.mode-guest .moment-feed .moment-social-preview {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 0;
  color: #edc6e9;
  font-size: .86rem;
  font-weight: 680;
}
.mode-guest .moment-feed .comments {
  border-top: 1px solid #3b304a;
  padding: 9px 0 0;
}
.moment-reaction-burst {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  line-height: 1;
  font-size: clamp(50px, 14vw, 92px);
  filter: drop-shadow(0 6px 15px #160d25af);
  pointer-events: none;
  animation: moment-emoji-burst 730ms ease-out both;
}
@keyframes moment-emoji-burst {
  0% { opacity: 0; transform: translate(-50%, -36%) scale(.42) rotate(-9deg); }
  21% { opacity: 1; transform: translate(-50%, -60%) scale(1.14) rotate(6deg); }
  58% { opacity: 1; transform: translate(-50%, -70%) scale(.98) rotate(0); }
  100% { opacity: 0; transform: translate(-50%, -125%) scale(.82); }
}
@keyframes moment-slide-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .mode-guest .moment-feed .comments { animation: moment-slide-in 180ms ease-out both; }
  .mode-guest .moment-rail-card,
  .mode-guest .moment-feed .reaction-row .reaction {
    transition: transform 140ms ease, background-color 140ms ease;
  }
  .mode-guest .moment-feed .reaction-row .reaction:active,
  .mode-guest .moment-rail-card:active { transform: scale(.94); }
}
@media (max-width: 740px) {
  .mode-guest .moment-social-cover { min-height: 213px; }
  .mode-guest .moment-social-cover .moment-cover-content { padding: 12px 14px; }
  .mode-guest .moment-social-cover h1 { font-size: clamp(28px, 8vw, 39px); margin: 4px 0 9px; }
  .mode-guest .moment-social-cover .moment-cover-count { padding: 3px 8px; }
  .mode-guest .moment-social-cover .moment-upload-hint { margin-top: 3px; }
  .mode-guest .moment-rail { margin-top: 10px; }
  .mode-guest .moment-feed { margin-top: 9px; }
  .mode-guest .moment-feed .gallery.feed .photo { border-radius: 15px; }
}

/* Evently Moments host studio: accessible bulk controls and featured memories. */
.mode-host .moment-bulk-tools {
  display:flex; align-items:center; flex-wrap:wrap; gap:9px;
  margin:14px 0 18px; padding:13px 15px;
  border:1px solid #e7e3ed; border-radius:18px; background:#fff;
  box-shadow:0 8px 24px #3321420a;
}
.mode-host .moment-bulk-tools button {
  min-height:42px; border:1px solid #e6deea; border-radius:12px;
  padding:8px 12px; background:#fff; color:#37243d; font-weight:700;
}
.mode-host .moment-bulk-tools button:disabled { opacity:.45; }
.mode-host .moment-select-all,.mode-host .moment-select-one {
  display:inline-flex; align-items:center; gap:8px; color:#51445a; font-weight:700;
}
.mode-host .moment-select-one { font-size:12px; margin-right:auto; }
.mode-host :is(.moment-select-all,.moment-select-one) input {
  width:21px; height:21px; accent-color:#bd2875; flex:0 0 auto;
}
.mode-host .moment-selection-count {
  color:#76677e; font-size:13px; font-weight:750; white-space:nowrap;
}
.mode-host .photo.is-featured {
  border-color:#d9aa59 !important;
  box-shadow:0 0 0 2px #e9c77b55,0 12px 34px #513b170c !important;
}
.mode-host .photo-actions { align-items:center; }
.mode-host .photo-actions .moment-danger,.mode-host .moment-bulk-tools .moment-danger {
  color:#a12d45; border:1px solid #f0ccd2; background:#fff7f8;
}
.mode-host .moment-status.approved { color:#15795c; }
.mode-host .moment-status.pending { color:#a65b09; }
.mode-host .moment-status.hidden { color:#747080; }
.mode-host .moment-status { border-radius:99px; background:#f7f4f8; padding:6px 10px; font-size:12px; font-weight:750; }
.mode-guest .moment-feed .gallery.feed .photo {
  box-shadow:0 14px 36px #130d2118;
  transition:transform .18s ease,box-shadow .18s ease;
}
.mode-guest .moment-feed .gallery.feed .photo.is-featured {
  border-color:#e9c77b; box-shadow:0 0 0 2px #e9c77b55,0 14px 36px #130d2118;
}
.mode-guest .moment-featured-badge { align-self:center; margin-left:auto; padding:5px 9px; border:1px solid #dcb969; border-radius:999px; background:#fff6d8; color:#765414; font-size:11px; font-weight:800; white-space:nowrap; }
@media(max-width:740px){.mode-guest .moment-featured-badge{font-size:10px;padding:5px 7px}}
.mode-guest .moment-feed .post-head .moment-post-byline b { letter-spacing:-.01em; }
.mode-guest .moment-feed .social-block { background:linear-gradient(180deg,transparent,#ffffff06); }
@media (max-width:740px) {
  .mode-host .moment-bulk-tools { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:11px; }
  .mode-host .moment-select-all,.mode-host .moment-selection-count { grid-column:1/-1; }
  .mode-host .moment-bulk-tools button { width:100%; padding:8px; font-size:12px; }
  .mode-host .moment-bulk-tools [data-bulk-delete] { grid-column:1/-1; }
  .mode-host .photo-actions { display:grid; grid-template-columns:1fr 1fr; }
  .mode-host .photo-actions button { min-width:0; padding:8px; font-size:12px; }
  .mode-host .moment-select-one span { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  .mode-guest .moment-feed .gallery.feed .photo { transition:none; }
}

/* Live social experience and role switcher */
.moment-demo-bar{max-width:1120px;margin:22px auto 24px;padding:24px;border:1px solid #eadfed;border-radius:28px;background:linear-gradient(135deg,#fff 0%,#fff7fb 55%,#f7f2ff 100%);box-shadow:0 18px 55px #351b4310}
.moment-demo-intro{text-align:center;margin:0 auto 18px}
.moment-demo-kicker{display:inline-flex;align-items:center;padding:6px 11px;border-radius:99px;background:#fff0f5;color:#a72b69;font-size:10px;font-weight:900;letter-spacing:.14em}
.moment-demo-intro h2{margin:10px 0 5px;color:#261a38;font-size:clamp(22px,3vw,32px);line-height:1.08;letter-spacing:-.04em}
.moment-demo-intro p{margin:0;color:#70677b;font-size:14px}
.moment-demo-bar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.moment-demo-bar nav button{display:flex;align-items:center;gap:13px;min-height:78px;padding:13px 16px;border:1px solid #e7dfeb;border-radius:19px;background:#fff;color:#342844;text-align:left;cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s}
.moment-demo-bar nav button:hover{transform:translateY(-2px);box-shadow:0 12px 25px #371d4215}
.moment-demo-bar nav button[aria-pressed=true]{border-color:#ed78a9;background:linear-gradient(120deg,#fff2f7,#fff 70%);box-shadow:0 0 0 3px #f7d9e7}
.demo-choice-icon{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:15px;background:linear-gradient(145deg,#ffe1ee,#f1e7ff);font-size:25px}
.moment-demo-bar nav button b,.moment-demo-bar nav button small{display:block}
.moment-demo-bar nav button b{font-size:15px}
.moment-demo-bar nav button small{margin-top:4px;color:#7c7184;font-size:12px}
.demo-choice-arrow{margin-left:auto;color:#a43c75;font-size:20px}
.moment-demo-hint{margin:14px 0 0;color:#70677b;text-align:center;font-size:13px}
.mode-guest .moment-social-cover{min-height:330px;border:0;border-radius:0 0 30px 30px;overflow:hidden}
.mode-guest .moment-social-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,#24123bcc 0%,#4820518c 45%,#ca457266 100%);pointer-events:none}
.mode-guest .moment-social-cover .moment-cover-content{z-index:1;background:transparent}
.mode-guest .moment-social-cover h1{font-size:clamp(34px,7vw,58px);font-weight:900;letter-spacing:-.055em;text-shadow:0 4px 22px #1e102877}
.mode-guest .moment-share-actions button{min-height:48px;border-radius:16px;font-weight:800}
.mode-guest .moment-feed .photo{overflow:hidden;border:1px solid #f0e9f1;border-radius:22px;background:#fff;box-shadow:0 13px 40px #2513310c}
.mode-guest .moment-feed .post-head{padding:14px 16px}
.mode-guest .moment-post-byline b{font-size:14px}
.mode-guest .moment-post-byline small{color:#82788a}
.mode-guest .moment-feed .moment-post-media{position:relative}
.mode-guest .moment-feed .moment-post-media img{display:block;width:100%;max-height:680px;object-fit:cover}
.mode-guest .moment-feed .photo>p:not(.fine){padding:0 16px;color:#32253d;font-size:15px;line-height:1.5}
.mode-guest .moment-social-actions{display:flex;align-items:center;gap:8px;padding:9px 13px 0}
.mode-guest .moment-social-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:7px 9px;border:0;border-radius:12px;background:transparent;color:#382c42;font-weight:750;cursor:pointer;transition:transform .16s,background .16s}
.mode-guest .moment-social-actions button:active{transform:scale(.91)}
.mode-guest .moment-social-actions .moment-like{color:#31243b}
.mode-guest .moment-social-actions .moment-like-heart{font-size:27px;line-height:1;transition:transform .2s}
.mode-guest .moment-social-actions .moment-like.is-liked{color:#ed3566}
.mode-guest .moment-social-actions .moment-like.is-liked .moment-like-heart{animation:evm-like-pop .42s cubic-bezier(.2,1.8,.45,1)}
@keyframes evm-like-pop{0%{transform:scale(.45)}65%{transform:scale(1.35)}100%{transform:scale(1)}}
.mode-guest .moment-social-actions .moment-comment-action,.mode-guest .moment-social-actions .moment-share-action{font-size:13px}
.mode-guest .moment-social-actions .moment-comment-action span:first-child{font-size:23px;line-height:1}
.mode-guest .moment-social-actions .icon-link{display:grid;place-items:center;width:40px;height:40px;margin-left:auto;border-radius:12px}
.mode-guest .moment-like-count{margin:3px 16px 4px!important;color:#30243a;font-size:13px!important;font-weight:850}
.mode-guest .moment-comment-summary{display:block;margin:0 16px 13px;padding:0;border:0;background:none;color:#887c90;font-size:13px;text-align:left;cursor:pointer}
.mode-guest .comments{margin:0 12px 14px;padding:13px;border:1px solid #f0eaf2;border-radius:18px;background:#fffafd}
.mode-guest .moment-fun-avatar{display:inline-grid;place-items:center;flex:0 0 42px;width:42px;height:42px;padding:0;border:2px solid #fff;border-radius:50%;background:linear-gradient(145deg,#ffc9dc,#dcd0ff 65%,#ffe4a8);box-shadow:0 3px 10px #47264a25;font-size:23px;line-height:1}
.mode-guest .small-avatar.moment-fun-avatar{flex-basis:34px;width:34px;height:34px;font-size:19px}
.mode-guest .moment-rail-card{transition:transform .2s}
.mode-guest .moment-rail-card:active{transform:scale(.96)}
.mode-guest .moment-dock{backdrop-filter:blur(18px);background:#fffc}
.mode-host .moment-demo-bar{border-color:#e1daf0;background:linear-gradient(130deg,#fff,#f8f5ff)}
.mode-host .moment-demo-bar nav button[aria-pressed=true]{border-color:#9b6be0;background:linear-gradient(120deg,#f4edff,#fff 70%);box-shadow:0 0 0 3px #e7dcfa}
.mode-host .demo-choice-icon{background:linear-gradient(145deg,#e7dcff,#e2f3ff)}
@media(max-width:640px){
 .moment-demo-bar{margin:12px 12px 18px;padding:17px 13px;border-radius:22px}
 .moment-demo-intro h2{font-size:23px}.moment-demo-intro p{font-size:12px}
 .moment-demo-bar nav{grid-template-columns:1fr;gap:8px}
 .moment-demo-bar nav button{min-height:67px;padding:10px 12px;border-radius:16px}
 .demo-choice-icon{width:42px;height:42px;flex-basis:42px}
 .mode-guest .moment-social-cover{min-height:290px;border-radius:0 0 23px 23px}
 .mode-guest .moment-feed .photo{border-radius:18px}
 .mode-guest .moment-social-actions{gap:2px;padding-inline:10px}
 .mode-guest .moment-social-actions button{min-height:44px;padding:7px}
 .mode-guest .moment-social-actions .moment-comment-action,.mode-guest .moment-social-actions .moment-share-action{font-size:12px}
 .mode-guest .moment-fun-avatar{flex-basis:38px;width:38px;height:38px}
}
@media(prefers-reduced-motion:reduce){.moment-demo-bar nav button,.mode-guest .moment-social-actions button,.mode-guest .moment-social-actions .moment-like-heart{transition:none;animation:none!important}}
/* Compact demo switch after choosing a role; keep the party content unobstructed. */
.moment-demo-bar:not(.is-compact){position:relative!important;top:auto!important;z-index:2!important}
.moment-demo-bar.is-compact{position:sticky!important;top:65px!important;z-index:19!important;display:flex;justify-content:center;max-width:100%;margin:0 auto 12px;padding:7px 12px;border:0;border-bottom:1px solid #eee7f0;border-radius:0 0 16px 16px;background:#fffefaed;box-shadow:0 6px 18px #24132a12;backdrop-filter:blur(16px)}
.moment-demo-bar.is-compact .moment-demo-intro,.moment-demo-bar.is-compact .moment-demo-hint{display:none}
.moment-demo-bar.is-compact nav{display:grid;width:min(480px,100%);grid-template-columns:1fr 1fr;gap:5px;padding:3px;border:0;border-radius:999px;background:#f4f0f5}
.moment-demo-bar.is-compact nav button{min-width:0;min-height:40px;justify-content:center;gap:7px;padding:5px 12px;border:1px solid transparent;border-radius:999px;background:transparent;box-shadow:none;font-size:13px}
.moment-demo-bar.is-compact nav button:hover{transform:none;box-shadow:none}
.moment-demo-bar.is-compact nav button[aria-pressed=true]{border-color:#ead1e1;background:#fff;color:#793160;box-shadow:0 2px 8px #3d26310c}
.moment-demo-bar.is-compact .demo-choice-icon{width:25px;height:25px;flex-basis:25px;border-radius:50%;font-size:16px}
.moment-demo-bar.is-compact nav button small,.moment-demo-bar.is-compact .demo-choice-arrow{display:none}
.mode-guest .moment-demo-bar.is-compact{background:#fffefaed}
.mode-host .moment-demo-bar.is-compact nav button[aria-pressed=true]{border-color:#ded3ec;background:#fff;color:#563b78}
.mode-guest .moment-dock{bottom:max(12px,env(safe-area-inset-bottom));width:min(430px,calc(100% - 28px));gap:3px;padding:6px;border:1px solid #eee7ef;border-radius:999px;background:#fffffff5;box-shadow:0 8px 28px #21132a20;backdrop-filter:blur(18px)}
.mode-guest .moment-dock button{min-width:0;min-height:50px;padding:5px 7px;border:0;border-radius:999px;background:transparent;color:#6d6073;font-size:11px;font-weight:700;transition:background .18s,color .18s,transform .18s}
.mode-guest .moment-dock button[aria-current="page"]{background:#f4eaf2;color:#7f2d66}
.mode-guest .moment-dock .moment-dock-share{background:#7c356b;color:#fff}
.mode-guest .moment-dock .moment-dock-share[disabled]{opacity:.48}
.mode-guest .moment-dock-emoji{display:block;font-size:19px;line-height:1.1}
.mode-guest .moment-dock button:active{transform:scale(.96)}
.mode-guest .moment-social-actions button{border:0!important;background:transparent!important;box-shadow:none!important;color:#4d4254!important}
.mode-guest .moment-social-actions .moment-like.is-liked{color:#e73664!important}
.mode-guest .moment-social-actions .moment-like-heart{font-size:29px}
.mode-guest .moment-social-actions .moment-comment-action,.mode-guest .moment-social-actions .moment-share-action{padding-inline:7px;font-size:13px}
.mode-guest .moment-comment-summary{border:0!important;background:transparent!important;box-shadow:none!important;color:#817688!important}
.mode-guest .moment-feed-context{margin:0 0 14px;color:#877b8d;font-size:13px;line-height:1.4}
.mode-guest .moment-like-count{display:flex;align-items:center;gap:5px}
.mode-guest .moment-like-count:before{content:"❤️";font-size:12px}
@media(max-width:640px){
 .moment-demo-bar.is-compact{top:58px!important;margin-bottom:8px;padding:5px 9px}
 .moment-demo-bar.is-compact nav{width:min(380px,100%)}
 .moment-demo-bar.is-compact nav button{min-height:38px;padding:4px 8px;font-size:12px}
 .mode-guest .moment-dock{width:calc(100% - 24px);bottom:max(8px,env(safe-area-inset-bottom));}
 .mode-guest .moment-dock button{min-height:48px;font-size:10px}
 .mode-guest .moment-dock-emoji{font-size:18px}
 .mode-guest .moment-feed-context{font-size:12px}
}



/* iPhone style floating glass navigation */
.mode-guest .moment-dock{position:fixed;z-index:50;inset:auto auto max(14px,calc(env(safe-area-inset-bottom) + 9px)) 50%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:5px;width:min(320px,calc(100% - 24px));box-sizing:border-box;padding:7px;border:1px solid rgba(255,255,255,.72);border-radius:25px;background:rgba(250,248,252,.72);box-shadow:0 12px 34px rgba(30,20,38,.20),inset 0 1px 0 rgba(255,255,255,.8);backdrop-filter:blur(28px) saturate(175%);-webkit-backdrop-filter:blur(28px) saturate(175%);transform:translateX(-50%)}
.mode-guest .moment-dock button{position:relative;display:grid;place-items:center;min-width:0;min-height:46px;padding:0;border:0;border-radius:17px;background:transparent;color:#554c5c;font-size:0;line-height:1;box-shadow:none;transition:background .18s,color .18s,transform .18s}
.mode-guest .moment-dock button[aria-current="page"]{background:rgba(117,57,107,.13);color:#75396b}
.mode-guest .moment-dock .moment-dock-share{width:46px;height:46px;min-height:46px;justify-self:center;border-radius:17px;background:#71335f;color:#fff;box-shadow:0 4px 12px rgba(83,35,74,.2)}
.mode-guest .moment-dock .moment-dock-share[disabled]{opacity:.48}
.mode-guest .moment-dock-icon{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mode-guest .moment-dock button[aria-current="page"] .moment-dock-icon{stroke-width:2.1}
.mode-guest .moment-dock button>span:not(.moment-dock-icon){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mode-guest .moment-dock button:active{transform:scale(.94)}
.mode-guest .moment-feed{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
@media(min-width:768px){.mode-guest .moment-dock{width:320px;bottom:24px}}
@media(max-width:300px){.mode-guest .moment-dock{width:calc(100% - 16px);gap:2px;padding:6px;border-radius:21px}.mode-guest .moment-dock button,.mode-guest .moment-dock .moment-dock-share{min-height:42px;width:42px;height:42px;border-radius:15px}.mode-guest .moment-dock-icon{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.mode-guest .moment-dock button{transition:none}}

/* Evently Moments: polished editorial social app */
.mode-guest{background:#080a0e;color:#f7f6f8}
.mode-guest .moment-header{position:sticky;top:0;z-index:28;display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:0 max(18px,calc((100vw - 680px)/2));border-bottom:1px solid rgba(255,255,255,.09);background:rgba(8,10,14,.88);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%)}
.mode-guest .moment-brand{display:flex;align-items:baseline;gap:8px;text-decoration:none;color:#fff}
.mode-guest .moment-brand-symbol{display:none}
.mode-guest .moment-wordmark{font-family:"Pacifico","Brush Script MT","Segoe Script","Apple Chancery",cursive;font-size:31px;font-weight:400;line-height:1.15;letter-spacing:-.035em;color:#fff}
.mode-guest .moment-brand-dot{color:#e99bd4}
.mode-guest .moment-brand-by{color:#aaa7b2;font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.mode-guest .moment-privacy{padding:6px 10px;border:1px solid #ffffff17;border-radius:999px;background:#ffffff0b;color:#c7c4cd;font-size:10px;font-weight:700}
.mode-guest .moment-album{max-width:720px;margin:0 auto;padding:0 14px 20px}
.mode-guest .moment-social-cover{position:relative;min-height:230px;height:clamp(210px,34vw,275px);margin:14px 0 22px;border:0;border-radius:20px;background:#15151c;overflow:hidden}
.mode-guest .moment-social-cover .moment-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.8}
.mode-guest .moment-social-cover:after{background:linear-gradient(90deg,rgba(7,8,12,.87),rgba(7,8,12,.45) 55%,rgba(7,8,12,.12)),linear-gradient(0deg,rgba(7,8,12,.55),transparent 70%)}
.mode-guest .moment-social-cover .moment-cover-content{position:absolute;z-index:1;inset:auto 22px 20px;background:transparent}
.mode-guest .moment-cover-count{display:flex;align-items:center;gap:7px;width:max-content;max-width:100%;padding:0;border:0;background:transparent;color:#d6d3dc;font-size:10px;font-weight:800;letter-spacing:.1em}
.mode-guest .moment-cover-count b{margin-left:4px;padding:4px 8px;border:1px solid #ffffff28;border-radius:999px;background:#ffffff12;color:#fff;font-size:9px;letter-spacing:.04em}
.mode-guest .moment-live-dot{width:7px;height:7px;border-radius:50%;background:#54d89c;box-shadow:0 0 12px #54d89c99}
.mode-guest .moment-social-cover h1{margin:10px 0 2px;font-size:clamp(27px,5vw,38px);line-height:1.05;letter-spacing:-.04em;text-shadow:0 3px 16px #0008}
.mode-guest .moment-cover-subtitle{margin:0 0 14px;color:#e5e1e9;font-size:13px}
.mode-guest .moment-share-actions{display:flex;flex-wrap:wrap;gap:8px}
.mode-guest .moment-share-actions .moment-share,.mode-guest .moment-share-actions .moment-message{min-height:38px;padding:0 13px;border:1px solid #ffffff32;border-radius:12px;background:#ffffffed;color:#241c29;font-size:12px;font-weight:800;box-shadow:0 4px 15px #0002}
.mode-guest .moment-share-actions .moment-message{background:#12131ac9;color:#fff;backdrop-filter:blur(12px)}
.mode-guest .moment-upload-plus{margin-right:4px;font-size:18px;vertical-align:-1px}
.mode-guest .moment-upload-hint{display:none}
.mode-guest .moment-rail{margin:0 0 20px;padding:0 0 18px;border-bottom:1px solid #ffffff14}
.mode-guest .moment-rail-head{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 10px}
.mode-guest .moment-rail-head h2{margin:0;color:#faf9fb;font-size:17px;font-weight:800;letter-spacing:-.02em}
.mode-guest .moment-rail-subtitle{margin:0;color:#a8a4af;font-size:11px}
.mode-guest .moment-rail-track{--moment-card-width:88px;gap:12px;padding:2px 0 4px}
.mode-guest .moment-rail-card{width:84px;padding:0;color:#e7e4eb}
.mode-guest .moment-rail-card .moment-rail-media{width:68px;border:2px solid transparent;background:linear-gradient(#101116,#101116) padding-box,linear-gradient(145deg,#f2c26b,#d6438a 55%,#6e56d9) border-box}
.mode-guest .moment-rail-card .moment-rail-media :is(img,video){border:3px solid #101116}
.mode-guest .moment-rail-card .moment-rail-name{max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e9e6ed;font-size:11px;font-weight:650}
.mode-guest .moment-feed{max-width:620px;margin:0 auto;padding:0 0 calc(94px + env(safe-area-inset-bottom))}
.mode-guest .moment-feed .feed-toolbar h2{margin:0;color:#f8f7f9;font-size:21px;font-weight:800;letter-spacing:-.035em}
.mode-guest .moment-feed-context{margin:4px 0 12px;color:#aaa6b1;font-size:12px}
.mode-guest .moment-feed .feed-toolbar{display:block;margin:0 0 13px}
.mode-guest .moment-feed .view-toggle{display:flex;align-items:center;gap:6px;margin-top:8px}
.mode-guest .moment-feed .view-toggle button{min-height:34px;padding:0 11px;border:1px solid #ffffff18;border-radius:999px;background:#ffffff08;color:#d1ced6;font-size:11px}
.mode-guest .moment-feed .view-toggle button[aria-pressed=true]{border-color:#ffffff2b;background:#ffffff15;color:#fff}
.mode-guest .moment-feed .media-filters{gap:7px;margin:10px 0 8px}
.mode-guest .moment-feed .media-filters button{min-height:32px;padding:0 12px;border:1px solid #ffffff1a;border-radius:999px;background:#ffffff08;color:#d0ccd5;font-size:11px}
.mode-guest .moment-feed .media-filters button.active{border-color:#e5c1df48;background:#8c477729;color:#f1d9ee}
.mode-guest .moment-feed .gallery.feed{max-width:620px;gap:0}
.mode-guest .moment-feed .gallery.feed .photo{margin:0 0 18px;border:0;border-bottom:1px solid #ffffff18;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.mode-guest .moment-feed .gallery.feed .post-head{min-height:55px;padding:8px 2px}
.mode-guest .moment-feed .post-head .avatar{width:38px;height:38px;flex:0 0 38px;border:2px solid transparent;background:linear-gradient(#141119,#141119) padding-box,linear-gradient(145deg,#f4c06d,#d94b96 60%,#7157d7) border-box;box-shadow:none;color:#fff;font-size:19px}
.mode-guest .moment-post-byline b{color:#fff;font-size:13px;font-weight:760}
.mode-guest .moment-post-byline small{color:#a7a3ae;font-size:10px}
.mode-guest .moment-open{width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#e6e3e9}
.mode-guest .moment-feed .moment-post-media{border-radius:11px;background:#111217;overflow:hidden}
.mode-guest .moment-feed .moment-post-media img{width:100%;aspect-ratio:4/5;max-height:none;object-fit:cover}
.mode-guest .moment-feed .post-video video{display:block;width:100%;aspect-ratio:4/5;max-height:680px;object-fit:cover;background:#090a0e}
.mode-guest .moment-feed .photo-copy{padding:0 2px}
.mode-guest .moment-feed .photo-copy p{margin:10px 0 4px;color:#f1eff4;font-size:13px;line-height:1.45}
.mode-guest .moment-feed .photo-copy strong{color:#fff}
.mode-guest .moment-feed .social-block{padding:2px 0 9px}
.mode-guest .moment-social-actions{gap:9px;padding:7px 0 0}
.mode-guest .moment-social-actions button{min-width:36px;min-height:38px;padding:5px 4px;border-radius:10px}
.mode-guest .moment-social-actions .moment-like-heart{font-size:27px}
.mode-guest .moment-social-actions .moment-comment-action,.mode-guest .moment-social-actions .moment-share-action{font-size:12px}
.mode-guest .moment-social-actions .icon-link{width:38px;height:38px;margin-left:auto;color:#e9e6ed}
.mode-guest .moment-like-count{margin:1px 0 3px!important;color:#f5f3f7;font-size:12px!important}
.mode-guest .moment-comment-summary{margin:0;padding:2px 0 0;color:#a8a4af!important;font-size:12px}
.mode-guest .moment-featured-badge{margin-left:auto;padding:4px 8px;border:1px solid #ffffff22;border-radius:999px;background:#ffffff0d;color:#f2d9a0;font-size:9px;letter-spacing:.02em}
@media(max-width:640px){
 .mode-guest .moment-header{min-height:54px;padding:0 16px}
 .mode-guest .moment-wordmark{font-size:30px}
 .mode-guest .moment-brand-by{font-size:8px}
 .mode-guest .moment-social-cover{height:210px;min-height:210px;margin:10px 0 17px;border-radius:16px}
 .mode-guest .moment-social-cover .moment-cover-content{inset:auto 15px 15px}
 .mode-guest .moment-social-cover h1{font-size:28px}
 .mode-guest .moment-cover-subtitle{font-size:11px;margin-bottom:10px}
 .mode-guest .moment-share-actions .moment-share,.mode-guest .moment-share-actions .moment-message{min-height:36px;font-size:11px}
 .mode-guest .moment-rail{margin-bottom:16px;padding-bottom:14px}
 .mode-guest .moment-rail-track{--moment-card-width:78px;gap:9px}
 .mode-guest .moment-rail-card{width:75px}
 .mode-guest .moment-rail-card .moment-rail-media{width:62px}
 .mode-guest .moment-rail-card .moment-rail-name{max-width:74px}
 .mode-guest .moment-feed{padding-inline:0}
 .mode-guest .moment-feed .gallery.feed .photo{margin-bottom:14px}
 .mode-guest .moment-feed .moment-post-media{border-radius:0}
 .mode-guest .moment-feed .gallery.feed .post-head{padding:7px 0}
 .mode-guest .moment-feed .photo-copy,.mode-guest .moment-feed .social-block{padding-inline:2px}
}
@media(prefers-reduced-motion:reduce){.mode-guest .moment-rail-card,.mode-guest .moment-feed .gallery.feed .photo{transition:none}}
/* Once a role is selected, keep the guest world immersive and free of the demo chooser. */
.mode-guest .moment-demo-bar{display:none!important}

/* Mobile social composer: compact, readable and visually consistent with the dark feed. */
.mode-guest{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
.mode-guest .moment-feed,
.mode-guest .moment-feed *,
.mode-guest .moment-dock,
.mode-guest .moment-dock *{box-sizing:border-box}
.mode-guest .moment-feed .comments{
  display:grid;gap:12px;width:100%;max-width:100%;margin:8px 0 18px!important;padding:14px!important;
  overflow:hidden;border:1px solid rgba(255,255,255,.12)!important;border-radius:18px!important;
  background:#15141b!important;color:#f5f3f7!important;box-shadow:0 12px 32px rgba(0,0,0,.18)
}
.mode-guest .moment-feed .comments>.fine{margin:0;color:#b9b4c0;font-size:13px;line-height:1.45}
.mode-guest .moment-feed .comment-form{
  display:grid;gap:11px;width:100%;min-width:0;margin:0;padding:14px 0 0;
  border:0;border-top:1px solid rgba(255,255,255,.1);background:transparent;color:#f5f3f7
}
.mode-guest .moment-feed .comment-form>label:not(.consent){
  display:grid;gap:7px;min-width:0;margin:0;color:#e8e4ec;font-size:12px;font-weight:700;line-height:1.35
}
.mode-guest .moment-feed .comment-form>.fine{margin:0;color:#aaa4b2;font-size:12px;line-height:1.4}
.mode-guest .moment-feed .comment-form textarea[name="body"]{
  display:block;width:100%;min-width:0;min-height:82px;max-height:170px;margin:0;padding:12px 13px;
  border:1px solid #45404e!important;border-radius:13px!important;outline:none;
  background:#0f0e14!important;color:#f7f5f9!important;
  font:400 14px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  box-shadow:none!important;resize:vertical;appearance:none;-webkit-appearance:none
}
.mode-guest .moment-feed .comment-form textarea[name="body"]::placeholder{color:#8e8897;opacity:1}
.mode-guest .moment-feed .comment-form textarea[name="body"]:focus{border-color:#686472!important;box-shadow:none!important}
.mode-guest .moment-feed .emoji-compose{display:flex;flex-wrap:wrap;gap:7px;margin:0}
.mode-guest .moment-feed .emoji-compose .emoji-button{
  display:grid;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;
  border:1px solid rgba(255,255,255,.1)!important;border-radius:12px!important;
  background:#24212b!important;color:#fff!important;font-size:19px!important;line-height:1;
  box-shadow:none!important
}
.mode-guest .moment-feed .comment-form .consent{
  display:flex;align-items:flex-start;gap:9px;margin:0;color:#bdb8c4;font-size:11px;line-height:1.45
}
.mode-guest .moment-feed .comment-form .consent input{
  flex:0 0 18px;width:18px;height:18px;min-width:18px;margin:0;accent-color:#b94583
}
.mode-guest .moment-feed .comment-form>button[type="submit"]{
  justify-self:start;width:auto;min-width:0;min-height:42px;margin:0;padding:0 15px;
  border:0!important;border-radius:12px!important;background:#943b70!important;color:#fff!important;
  font-size:13px!important;font-weight:750;line-height:1.2;box-shadow:none!important
}
.mode-guest .moment-feed .comment{display:flex;align-items:flex-start;gap:9px;min-width:0;color:#eeeaf1}
.mode-guest .moment-feed .comment>div{min-width:0;flex:1}
.mode-guest .moment-feed .comment p{margin:0;color:#e8e4ec;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.mode-guest .moment-feed .comment small{color:#97919f;font-size:10px}
.mode-guest .moment-feed .moment-social-actions{display:flex;align-items:center;gap:5px;padding:7px 0 0}
.mode-guest .moment-feed .moment-social-actions button{
  display:grid;grid-auto-flow:column;place-items:center;gap:5px;min-width:40px;min-height:40px;
  padding:0 8px;color:#efedf2!important;font-size:12px!important;white-space:nowrap
}
.mode-guest .moment-feed .moment-social-actions .moment-like-heart{font-size:26px}
.mode-guest .moment-feed .moment-social-actions .moment-comment-action>span:first-child,
.mode-guest .moment-feed .moment-social-actions .moment-share-action>span:first-child{font-size:20px;line-height:1}
.mode-guest .moment-feed .moment-like-count{margin:2px 0!important;font-size:12px!important}
.mode-guest .moment-feed .moment-comment-summary{margin:0;padding:2px 0 0;color:#a9a4af!important;font-size:12px!important}
.mode-guest .moment-feed{padding-bottom:calc(118px + env(safe-area-inset-bottom))}
.mode-guest .moment-dock{
  width:min(340px,calc(100% - 32px));padding:6px;border-color:rgba(255,255,255,.18);
  border-radius:22px;background:rgba(29,28,35,.78);
  box-shadow:0 10px 30px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter:blur(24px) saturate(155%);-webkit-backdrop-filter:blur(24px) saturate(155%)
}
.mode-guest .moment-dock button{min-height:44px;color:#dad6df}
.mode-guest .moment-dock button[aria-current="page"]{background:rgba(255,255,255,.12);color:#fff}
.mode-guest .moment-dock .moment-dock-share{width:44px;height:44px;min-height:44px;background:#943b70;color:#fff}
@media(max-width:640px){
  .mode-guest .moment-album{padding-inline:0}
  .mode-guest .moment-feed{padding-inline:12px;padding-bottom:calc(122px + env(safe-area-inset-bottom))}
  .mode-guest .moment-feed .gallery.feed .photo{margin-bottom:16px}
  .mode-guest .moment-feed .gallery.feed .post-head{padding-inline:2px}
  .mode-guest .moment-feed .moment-social-actions button>span:nth-child(2){display:none}
  .mode-guest .moment-feed .moment-social-actions .moment-like,
  .mode-guest .moment-feed .moment-social-actions .moment-comment-action,
  .mode-guest .moment-feed .moment-social-actions .moment-share-action{width:42px;padding:0}
  .mode-guest .moment-feed .moment-social-actions .icon-link{margin-left:auto}
  .mode-guest .moment-feed .comments{padding:12px!important;border-radius:16px!important}
  .mode-guest .moment-feed .comment-form textarea[name="body"]{min-height:76px;font-size:14px!important}
  .mode-guest .moment-dock{width:min(340px,calc(100% - 28px))}
}
@media(prefers-reduced-motion:reduce){
  .mode-guest .moment-feed .comment-form textarea[name="body"]{scroll-behavior:auto}
}
@supports selector(body:has(.comment-form)){
  .mode-guest:has(.comment-form) .moment-dock{opacity:0;pointer-events:none;transform:translate(-50%,14px)}
}
.mode-guest .moment-feed .view-toggle button[aria-pressed="true"],
.mode-guest .moment-feed .media-filters button.active{
  border-color:rgba(255,255,255,.2)!important;background:#26242b!important;color:#fff!important;
  box-shadow:none!important
}
.mode-guest .moment-feed :is(button,a,textarea,input):focus-visible{
  outline:2px solid rgba(245,243,247,.5)!important;outline-offset:2px;box-shadow:none!important
}
.mode-guest .moment-feed .comment-form textarea[name="body"]:focus-visible{border-color:#77727e!important}
.mode-guest #notice{
  top:max(12px,env(safe-area-inset-top));bottom:auto;left:50%;z-index:150;
  max-width:calc(100vw - 28px);width:max-content;padding:12px 16px;
  border:1px solid rgba(255,255,255,.18);border-radius:14px;
  background:#19392e;color:#f3fff7;font-size:14px;font-weight:750;line-height:1.35;
  text-align:center;box-shadow:0 12px 30px rgba(0,0,0,.32);transform:translateX(-50%)
}
.mode-guest #notice.show{top:max(12px,env(safe-area-inset-top))!important;bottom:auto!important;height:auto!important;min-height:0!important;display:block;animation:evm-toast-in .22s ease-out both}
@keyframes evm-toast-in{from{opacity:0;translate:0 -6px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.mode-guest #notice.show{animation:none}}

/* Automatically assigned guest avatar */
.profile-dialog{width:min(440px,calc(100vw - 28px));max-height:min(88dvh,760px);overflow:auto;border:1px solid #393541;border-radius:24px;background:#15141b;color:#f5f3f7;box-shadow:0 24px 70px #0008}
.profile-dialog .composer-top{position:sticky;top:0;z-index:2;padding:16px 18px;border-bottom:1px solid #ffffff12;background:#15141bf2;color:#fff}
.profile-dialog form{display:grid;gap:14px;padding:18px}
.profile-avatar-editor{display:flex;align-items:center;gap:14px}
.profile-avatar-editor b{display:block;color:#f7f5fa;font-size:15px}
.profile-avatar-editor p{margin:4px 0 0;color:#aaa4b2;font-size:12px;line-height:1.4}
.profile-dialog .profile-avatar-preview{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;margin:0;border:1px solid #77717e;border-radius:50%;background:linear-gradient(145deg,#322c39,#211e29);box-shadow:none;color:white;font-size:34px}
.profile-dialog label{display:grid;gap:6px;color:#e5e1e9;font-size:13px;font-weight:700}
.profile-dialog input[name="name"]{width:100%;min-height:46px;padding:10px 12px;border:1px solid #4a4552;border-radius:12px;background:#100f15;color:#fff;font-size:16px}
.profile-dialog input[name="name"]:focus{outline:none!important;border-color:#77717e!important;box-shadow:none!important}
.profile-dialog .fine{margin:0;color:#a8a2af;font-size:11px;line-height:1.45}
.profile-dialog form>button[type="submit"]{min-height:46px;border-radius:13px;background:#943b70;color:#fff;font-size:14px}
@media(max-width:640px){
 .profile-dialog{padding:0}
 .profile-dialog form{gap:12px;padding:14px}
}



