* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
}
body {
  margin: 0;
  background: #f4f6fb;
  color: #18203c;
  font:
    15px/1.5 Inter,
    "Segoe UI",
    system-ui,
    sans-serif;
}
a {
  color: #4338bc;
  text-decoration: none;
  font-weight: 650;
}
a:hover {
  text-decoration: underline;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  padding: 11px 17px;
  font: inherit;
  font-weight: 700;
  background: #473cc3;
  color: #fff;
  cursor: pointer;
}
.button:hover,
button:hover {
  filter: brightness(1.06);
  text-decoration: none;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.secondary {
  background: #edf0fa;
  color: #353d65;
}
.quiet {
  background: transparent;
  color: #414b6c;
  padding: 7px;
}
.brandbar,
.line,
.pair,
.tools,
.search,
.pagination,
.actions,
.spread {
  display: flex;
  gap: 13px;
}
.line,
.spread {
  align-items: center;
  justify-content: space-between;
}
.line {
  padding: 13px 0;
  border-bottom: 1px solid #e8eaf3;
}
.line:last-child {
  border-bottom: 0;
}
.line p,
small {
  color: #59617b;
}
.line p {
  margin: 3px 0;
}
.layout {
  max-width: 1460px;
  margin: auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}
aside {
  background: #18213f;
  color: #fff;
  padding: 30px 19px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100vh;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.6px;
}
.wordmark img {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}
.railtitle {
  margin: 20px 12px 0;
  color: #b3bddb;
  font-size: 13px;
}
.railfoot {
  margin-top: auto;
  border-top: 1px solid #37415f;
  padding-top: 20px;
  display: grid;
  gap: 11px;
}
.railfoot > a {
  color: #d9dff8;
}
.railfoot button {
  background: #323c60;
  color: #fff;
}
.railfoot form {
  margin: 0;
}
nav {
  display: grid;
  gap: 4px;
}
nav a,
nav button {
  display: block;
  text-align: left;
  color: #d5daf0;
  background: transparent;
  padding: 10px 13px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9px;
}
nav [aria-current="page"] {
  background: #414777;
  color: #fff;
}
nav a:hover,
nav button:hover {
  background: #303959;
  text-decoration: none;
}
.workspace {
  padding: 42px clamp(18px, 5vw, 76px) 70px;
  max-width: 1130px;
  width: 100%;
  margin: 0 auto;
}
.workspace > h1 {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.18;
  color: #171f3c;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 26px 0 22px;
}
h2 {
  font-size: 23px;
  margin: 0 0 15px;
}
h3 {
  font-size: 18px;
  margin: 0 0 7px;
}
p {
  margin: 8px 0 14px;
}
section,
.card,
.stat,
.auth,
.hero {
  border: 1px solid #dde2ed;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 3px 10px #28345a05;
}
section,
.card {
  padding: 22px;
  margin: 15px 0;
}
section h2,
section h3 {
  margin-top: 0;
}
.auth {
  width: min(480px, calc(100% - 28px));
  margin: clamp(20px, 7vh, 90px) auto;
  padding: clamp(22px, 4vw, 38px);
}
.auth.wide {
  max-width: 600px;
  width: calc(100% - 28px);
}
.auth h1 {
  font-size: 34px;
}
.auth > p,
.hint,
.muted {
  color: #5c6580;
}
.auth .wordmark {
  margin-bottom: 12px;
}
.auth footer {
  margin-top: 20px;
}
.appmark {
  width: 70px;
  border-radius: 20px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  padding: 17px;
}
.stat span {
  font-size: 13px;
  color: #57617d;
}
.stat strong {
  display: block;
  color: #283071;
  font-size: clamp(20px, 3vw, 32px);
}
label {
  font-size: 13px;
  font-weight: 650;
  color: #47516b;
  display: grid;
  gap: 5px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #c4ccdf;
  border-radius: 10px;
  background: #fcfdff;
  color: #18213f;
  font: inherit;
  font-size: 15px;
  padding: 11px 13px;
}
textarea {
  resize: vertical;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
}
.check input {
  width: auto;
}
.stack,
.action,
.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.action {
  margin: 12px 0 4px;
}
.action button {
  align-self: flex-start;
}
.tools,
.pagination {
  align-items: end;
  flex-wrap: wrap;
}
.pair > * {
  flex: 1;
  min-width: 0;
}
.search {
  align-items: end;
}
.search label {
  flex: 1;
}
small {
  font-size: 12px;
}
.empty {
  color: #65708a;
  padding: 15px 0;
}
.notice,
.success {
  padding: 12px;
  border-radius: 10px;
  background: #fce8d9;
  color: #884508;
}
.success {
  background: #dff6ee;
  color: #176245;
}
.hero {
  background: #272b60;
  color: white;
  padding: 24px 27px;
}
.hero h2 {
  color: white;
}
.hero a {
  color: #d5d4ff;
}
.pill {
  display: inline-block;
  background: #edeafe;
  color: #473cb6;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 30px;
}
.avatar {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #392e9e;
  background: #e6e2fe;
  border-radius: 15px;
  font-weight: 800;
}
.person,
.author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.person {
  width: 100%;
  background: transparent;
  color: #202b46;
  justify-content: flex-start;
  text-align: left;
  padding: 10px 0;
}
.person span small,
.author span small {
  display: block;
  color: #67718a;
}
.postbody {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.rowbuttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rowbuttons button {
  font-size: 13px;
}
.post .rowbuttons {
  margin-top: 13px;
}
.bubble {
  background: #fff;
  border: 1px solid #dde2ed;
  border-radius: 16px 16px 16px 3px;
  padding: 10px 14px;
  margin: 7px 0;
  max-width: 83%;
  width: fit-content;
}
.bubble.mine {
  margin-left: auto;
  background: #eae7ff;
  border-color: #d8d2ff;
  border-radius: 16px 16px 3px 16px;
}
.bubble p {
  margin: 3px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chatlog {
  overflow: auto;
  height: clamp(220px, 52vh, 620px);
  padding: 10px;
}
.compose {
  display: flex;
  gap: 9px;
}
.compose input {
  flex: 1;
  min-width: 0;
}
.authNav {
  border-bottom: 1px solid #dce1ec;
  margin: 0 0 18px;
  display: flex;
  gap: 10px;
}
.authNav button {
  border-radius: 0;
  background: transparent;
  color: #64708b;
  border-bottom: 3px solid transparent;
}
.authNav button.active {
  color: #473cc3;
  border-color: #473cc3;
}
#toast:not(:empty) {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: #1d2947;
  color: white;
  border-radius: 12px;
  padding: 11px 18px;
  max-width: 90vw;
  box-shadow: 0 3px 20px #18243a38;
}
.giftGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.giftGrid button {
  background: #f2effe;
  color: #2e2858;
  flex-direction: column;
}
.giftGrid b {
  font-size: 29px;
}
blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  border-left: 4px solid #b3aae8;
}
.linkwrap {
  overflow-wrap: anywhere;
}
.confirm button {
  white-space: normal;
}
button:focus-visible,
a:focus-visible,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #a9a1f5;
  outline-offset: 2px;
}
@media (max-width: 780px) {
  .layout {
    grid-template-columns: 1fr;
  }
  aside {
    position: static;
    min-height: auto;
    height: auto;
    padding: 12px 15px;
    gap: 9px;
  }
  .railtitle {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
  }
  nav a,
  nav button {
    white-space: nowrap;
    font-size: 14px;
    padding: 8px 11px;
  }
  .railfoot {
    display: none;
  }
  .workspace {
    padding: 21px 15px 45px;
  }
  .stats {
    grid-template-columns: repeat(auto-fit, minmax(134px, 1fr));
  }
  .auth {
    margin: 22px auto;
  }
  .wordmark {
    font-size: 17px;
  }
  .wordmark img {
    width: 29px;
    height: 29px;
  }
  .workspace h1 {
    margin-bottom: 14px;
  }
  section {
    padding: 17px;
  }
  .railfoot .action {
    display: none;
  }
  .layout aside:has(.railtitle) .railfoot {
    display: flex;
    align-items: center;
    position: absolute;
    right: 15px;
    top: 8px;
    padding: 0;
    border: none;
  }
  .layout aside:has(.railtitle) .railfoot > a {
    display: none;
  }
  .layout aside:has(.railtitle) .railfoot form {
    display: block;
  }
  .railfoot button {
    padding: 4px 10px;
  }
  .pair {
    flex-wrap: wrap;
  }
}

.postphoto {
  display: block;
  max-height: 460px;
  width: 100%;
  min-height: 100px;
  object-fit: contain;
  border-radius: 12px;
  background: #f2f2f8;
  margin-top: 13px;
}

.giftArt{width:66px;height:66px;object-fit:contain;display:block;margin:auto}.callRoom{width:min(92vw,520px);max-height:90dvh;background:#191931;color:#f5f3ff;border:0;border-radius:18px;padding:24px}.callRoom::backdrop{background:#11152bba}.callRoom h2,.callRoom small,.callRoom p{color:inherit}.callRoom .rowbuttons{gap:8px;margin-top:16px}.callRoom [hidden]{display:none}.callVideos{position:relative;background:#0c0d1b;border-radius:12px;overflow:hidden}.callVideos video{display:block;width:100%;min-height:120px;max-height:45vh;object-fit:contain}.callVideos .localPreview{position:absolute;width:27%;min-height:0;right:7px;bottom:7px;border-radius:8px;transform:scaleX(-1)}.callVideos.audioOnly{width:1px;height:1px;overflow:hidden}.callPlans button{margin:4px}select{font:inherit;padding:10px;background:white;color:#20233b;border:1px solid #bdc4d3;border-radius:8px;width:100%}
.profileArt{height:190px;position:relative;margin-bottom:12px}
.profileArt .socialCover,.profileArt .socialAvatar{display:block;overflow:hidden;padding:0}
.profileArt .socialCover{height:146px;width:100%;background:white;border:1px solid #d8dceb;border-radius:14px}
.profileArt .socialAvatar{position:absolute;bottom:0;left:16px;width:88px;height:88px;border-radius:50%;border:4px solid #fff;background:#e6e3fc}
.profileArt img{width:100%;height:100%;object-fit:cover}
.socialDialog{width:min(94vw,470px);max-height:88dvh;overflow:auto;border:1px solid #ddd9f4;border-radius:18px;padding:22px;color:#19233f;background:#fff}
.socialDialog::backdrop{background:#17173099}
.socialDialog>.line{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}
.socialDialog h2{margin:0}.socialDialog .line button{width:auto}
.storyRail{display:flex;align-items:flex-start;gap:10px;overflow:auto;padding:2px 0 12px}
button.storyTile{border:none;background:transparent;box-shadow:none;flex:0 0 78px;width:78px;min-height:82px;color:#252043;display:grid;justify-items:center;gap:4px;padding:3px 0}
.storyTile>span:last-child{display:block;width:76px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:.76rem}
.storyRing{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#eeeafa;border:2px solid #5844c4;color:#4a39af;font-weight:700;font-size:1.3rem}
.postActions{margin-top:12px}.postActions>.rowbuttons{margin-top:7px}
.socialMedia{display:block;max-width:100%;width:100%;max-height:48vh;object-fit:contain;border-radius:10px}
.contactsList{max-height:230px;overflow:auto}.socialDialog input[type=range]{width:100%}
[hidden]{display:none!important}

.socialThumb{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}
.layout>aside,.layout>.workspace,.workspace>section{min-width:0}
@media(max-width:780px){.layout{grid-template-columns:minmax(0,1fr)}.storyRail{max-width:100%}}

.profileName,.profileActions,.birthSelectors,.stageControls {display:flex;align-items:center;gap:8px}
.profileName {justify-content:space-between}
.profileName h2 {overflow-wrap:anywhere;margin:8px 0}
.profileMore {font-size:22px;min-width:44px;padding:2px 12px;background:#eeeafb;color:#41349a}
.profileActions {display:grid;grid-template-columns:1fr 1fr;margin-top:12px}
.profileActions button {width:100%;min-width:0}
.profileName h2 {flex:1;min-width:0}
.profileName .writeOnWall {white-space:nowrap;font-size:14px}
.birthParts {border:0;margin:0;padding:0;min-width:0}
.birthParts legend {font-weight:650}
.birthSelectors {display:grid;grid-template-columns:1fr 1.45fr 1.15fr}
.birthSelectors label {min-width:0}
.birthSelectors select {width:100%;padding-inline:4px}
button.storyTile {flex-basis:86px;width:86px}
.storyTile>span:last-child {width:84px}
.storyRing {width:59.4px;height:86px;border-radius:12px;overflow:hidden}
.pageMarker {min-height:2px}
.socialApp nav [aria-current=page] {background:#5145ba;color:white;box-shadow:inset 0 -3px #b3a9ff}
.postVideo {min-height:180px;background:#15151e;border-radius:12px;display:grid;place-items:center;margin:8px 0;overflow:hidden}
.postVideo>button {background:#393645;color:#fff;border:1px solid #777181}
.postVideo video {max-height:480px}
.socialDialog.mediaStage {position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;border:0;border-radius:0;background:#09090b;color:#fff;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden}
.mediaStage[open] {display:flex;flex-direction:column}
.mediaStage>.line {margin:0;border:0;padding:6px 14px;flex:0 0 auto}
.mediaStage h2,.mediaStage p,.mediaStage small,.mediaStage label {color:#f1f0f5}
.mediaStage .line button,.mediaStage .secondary {color:#fff;background:#34323b}
.mediaStage>.stack {flex:1;min-height:0;display:flex;flex-direction:column;gap:0;overflow:hidden}
.mediaStage .stageMedia {display:block;width:100%;height:0;min-height:0;flex:1;object-fit:contain;align-self:center;max-width:none;max-height:none;border-radius:0;margin:0;background:transparent}
.mediaStage .textStory {flex:1;min-height:0;display:grid;align-content:center;text-align:center;padding:18px;font-size:clamp(18px,4vw,34px);overflow:auto}
.stageControls {padding:10px 14px;flex-wrap:wrap;flex:0 1 auto;max-height:36dvh;overflow:auto}
.stageControls p,.stageControls input[type=range] {width:100%;margin:0}
.stageControls small {margin-right:auto}
html[data-theme=dark] {color-scheme:dark;background:#15141c}
[data-theme=dark] body {background:#15141c;color:#f2efff}
[data-theme=dark] .workspace :is(h1,h2,h3,legend),[data-theme=dark] .auth :is(h1,h2),[data-theme=dark] .person,[data-theme=dark] .storyTile,[data-theme=dark] label,[data-theme=dark] .socialDialog h2 {color:#f2efff}
[data-theme=dark] :is(section,.auth,.socialDialog,.bubble,.line.card) {background:#23212e;border-color:#454252;color:#f2efff}
[data-theme=dark] :is(.line,p small,small,.person span small,.author span small,.line p,.empty,.postbody) {color:#c9c5d8;border-color:#484553}
[data-theme=dark] :is(.secondary,.profileMore,.giftGrid button,.bubble.mine,.storyRing,.pill,.avatar) {color:#ded7ff;background:#3a334f;border-color:#655a89}
[data-theme=dark] :is(input,select,textarea) {color:#eeecfa;background:#2b2937;border-color:#565263}
[data-theme=dark] :is(.postphoto,.postVideo) {background:#18171e}
[data-theme=dark] .socialDialog.mediaStage {background:#09090b}
[data-theme=dark] .profileArt .socialAvatar {border-color:#23212e}
[data-theme=dark] a,[data-theme=dark] .quiet,[data-theme=dark] .authNav button.active {color:#c6bbff}
[data-theme=dark] .quiet {background:transparent}
[data-theme=dark] .authNav button {color:#c0bdce}
[data-theme=dark] .stack :is(.line,.rowbuttons) {border-color:#484553}
@media(max-width:780px){
 .socialApp nav {position:fixed;z-index:4;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;background:#fff;padding:5px 4px calc(5px + env(safe-area-inset-bottom));border-top:1px solid #dcdce7}
 .socialApp nav button {font-size:clamp(12px,3.3vw,15px);text-align:center;justify-content:center;padding:10px 1px;color:#54516c;border-radius:10px}
 .socialApp nav [aria-current=page] {background:#eae6ff;color:#4638af;box-shadow:inset 0 -3px #6150cf}
 .socialApp .workspace {padding-bottom:calc(85px + env(safe-area-inset-bottom))}
 [data-theme=dark] .socialApp nav {background:#22212d;border-color:#454353}
 [data-theme=dark] .socialApp nav button {color:#c1bed1}
 [data-theme=dark] .socialApp nav [aria-current=page] {color:#e5dfff;background:#403754}
 #toast:not(:empty) {bottom:calc(68px + env(safe-area-inset-bottom))}
}


.postVideo {position:relative}
.postVideo>.videoPoster {width:100%;height:220px;object-fit:cover;grid-area:1/1}
.postVideo>button {position:relative;grid-area:1/1}

.storyRing.textStoryPoster{font-size:.69rem;line-height:1.25;padding:4px;overflow-wrap:anywhere}
.chatlog .messageHead{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.chatlog .messageMore{min-width:42px;min-height:40px;padding:.2rem .6rem}
.chatlog .chatImage{display:block;background:transparent;border:0;padding:0;margin:.3rem 0;width:auto}
.chatThumb{display:block;max-width:min(230px,52vw);max-height:250px;border-radius:10px;object-fit:contain}
.dialogNotice{position:sticky;top:0;background:#362b56;color:#fff;padding:.65rem .85rem;border-radius:8px;z-index:1}

.postHeader,.iconStrip{display:flex;align-items:center;gap:.15rem}
.postHeader>.person{flex:1;min-width:0}
.postHeader>.postIcon{margin-left:auto}
.postIcon{display:inline-grid;place-items:center;flex:0 1 43px;width:43px;min-width:33px;min-height:44px;padding:0!important;background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important;font-size:1.22rem}
.postIcon:focus-visible,.mediaButton:focus-visible{outline:2px solid #8b70ec}
.postIcon:disabled{opacity:.34}
.publicationTools{margin-top:.55rem;border-top:1px solid #8885}
.reactionLeaders{margin-inline-start:auto;white-space:nowrap;font-size:.88rem}
.sharedOriginal{border:1px solid #8886;border-radius:12px;padding:.6rem .75rem;margin:.5rem 0}
.mediaButton{display:block;width:100%;padding:0!important;margin:.4rem 0;border:0;background:transparent;box-shadow:none}
.mediaButton .postphoto{display:block;width:100%;min-height:120px;object-fit:contain}
.draftPhoto{width:100%;max-height:200px;object-fit:contain;border-radius:10px}
.draftPhoto[hidden],.commentList~form[hidden]{display:none!important}
.commentList{max-height:45vh;overflow:auto}.commentEntry{padding:.65rem 0;border-bottom:1px solid #8884}
.commentEntry small{margin-inline-start:.6rem}.stageAction{position:absolute;bottom:1rem;right:1rem}

.postIcon.reactionPair{font-size:15px;letter-spacing:-2px}

.socialApp .workspace.profilePage {max-width:none;padding:0 0 calc(85px + env(safe-area-inset-bottom));}
.profilePage .profileHeader {width:100%;max-width:none;margin:0 0 20px;padding:0 0 18px;border:0;border-radius:0;box-shadow:none;background:transparent;}
.profileHeader .profileArt {height:clamp(200px,30vw,380px);margin:0;}
.profileHeader .profileArt .socialCover {width:100%;height:calc(100% - 40px);border:0;border-radius:0;}
.profileHeader .profileArt .socialAvatar {left:clamp(14px,4vw,52px);bottom:2px;}
.profileHeader > :not(.profileArt) {margin-inline:clamp(14px,4vw,52px);}
.profileHeader > p {margin-block:4px 10px;}
.profileHeader .profileName {gap:5px;}
.profileName .identityBadge {display:inline-block;vertical-align:-.09em;width:1em;height:1em;object-fit:contain;margin-inline-start:.22em;}
.profileInformation {display:grid;gap:6px;padding:0;margin-block:14px;}
.infoRow {display:grid;grid-template-columns:minmax(80px,.7fr) minmax(86px,1.6fr) 30px;align-items:start;gap:10px;}
.infoRow dt,.infoRow dd {margin:0;overflow-wrap:anywhere;}
.infoRow dt {font-size:.9em;opacity:.8;}
.audienceStamp {width:23px;height:23px;text-align:center;justify-self:end;line-height:21px;font-size:14px;}
.audienceStamp.custom {border:1.5px solid currentColor;border-radius:50%;}
.profilePage .post {max-width:840px;margin:12px auto;}
.productGallery,.packGrid,.moneyGrid {display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));}
.productThumb,.productDraft {padding:0;overflow:hidden;border-radius:11px;max-width:190px;}
.productGallery img {width:100%;aspect-ratio:1;object-fit:cover;display:block;}
.productTile {padding:14px 0;border-bottom:1px solid #86839a55;}
.productDraft button {width:100%;padding:6px;}
.moneyGrid {grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));margin-bottom:16px;}
.moneyCard {padding:18px;border:1px solid #807c9a66;border-radius:16px;}
.moneyCard h2 {margin:0 0 10px;font-size:1.02rem;}
.moneyCard strong,.checkoutTotal {font-size:1.7rem;}
.moneyCard p {margin:9px 0 0;font-size:.94rem;}
.checkout {display:grid;gap:12px;}
.proofPreview {max-width:100%;max-height:28vh;}
.stageControls .publicationTools {width:100%;color:white;}
.stageControls .publicationTools button {color:white;}
@media(max-width:680px){.profilePage .post{margin:10px 8px;}.profileName .writeOnWall{padding-inline:10px;}.profileHeader .profileMore{min-width:36px;padding-inline:8px;}}


.verificationPhoto,.verificationVideo {max-width:100%;max-height:75vh;object-fit:contain;}

.profileComposer{display:grid;gap:8px;margin-block:16px}.composerRow{display:flex;gap:8px}.composerRow .promptText{flex:1;text-align:left;border:1px solid #8883a955;border-radius:18px}.promptPhoto{font-size:20px}.profileName .profileMore,.promptPhoto{width:auto}
.profileArt .socialAvatar,.person>span:first-child{position:relative}
.profileArt .socialAvatar{position:absolute;overflow:visible}.socialAvatar img{border-radius:50%}
.hasStory{outline:3px solid #00d7ff;outline-offset:1px}
.isOnline::after,.bellUnread::after{content:"";display:block;position:absolute;right:0;bottom:0;width:12px;height:12px;border-radius:50%;background:#25f974;border:2px solid #252434}
.bellUnread{position:relative}.bellUnread::after{top:4px;right:4px;background:#00cfff;width:8px;height:8px}
.noticeList{display:grid;gap:6px}.noticeItem{text-align:left;display:grid;gap:4px;padding:12px 16px}
.replyPreview{border-inline-start:3px solid #7166dd;background:#7972ad1f;border-radius:6px;padding:6px 10px;margin:6px 0;display:grid;gap:3px}.replyPreview img{width:48px;height:48px;object-fit:cover;border-radius:4px}.draftReply button{padding:4px 9px}.draftReply:empty{display:none}

.receiptPreview{display:block;width:min(100%,620px);height:auto;margin:12px auto;border:1px solid #d5d5e8;border-radius:10px}
.earnCard,.incomeEvent{display:flex;align-items:center;gap:16px}.earnArt{width:clamp(78px,20vw,150px);aspect-ratio:1;border-radius:16px;object-fit:cover}.earnThumb{width:64px;height:64px;object-fit:cover;border-radius:9px}.incomeEvent h2{font-size:1.02rem}.frameCanvas{width:100%;height:auto;max-height:48vh;object-fit:contain;background:#201c31}

.chatScreen {
  isolation: isolate;
  --chat-controls: rgb(255 255 255 / 84%);
}
[data-theme="dark"] .chatScreen { --chat-controls: rgb(35 33 46 / 84%); }
.chatScreen > .chatBackdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  height: 100dvh;
  object-fit: cover;
  object-position: center;
  opacity: .85;
  pointer-events: none;
}
.chatBackdrop[hidden], .stack[hidden] { display: none; }
.chatScreen > aside {
  background: rgb(24 33 63 / 84%);
  padding-top: calc(30px + env(safe-area-inset-top));
  padding-left: calc(19px + env(safe-area-inset-left));
}
.chatScreen > .workspace {
  padding-right: max(env(safe-area-inset-right), clamp(18px, 5vw, 76px));
}
@media(max-width:780px) {
  .chatScreen > aside {
    padding-top: calc(12px + env(safe-area-inset-top));
    padding-left: calc(15px + env(safe-area-inset-left));
  }
  .chatScreen > .workspace {
    padding-left: calc(15px + env(safe-area-inset-left));
    padding-right: calc(15px + env(safe-area-inset-right));
  }
  .socialApp.chatScreen nav {
    background: var(--chat-controls);
    padding-inline: max(4px, env(safe-area-inset-left)) max(4px, env(safe-area-inset-right));
  }
}
.artChat .bubble { color:#152536; background:#d9f0ee; border:1px solid #a3cdca; }
.artChat .bubble.mine { background:#e5ddff; border-color:#b8a9e3; color:#24183c; }
[data-theme="dark"] .artChat .bubble { background:#234344; border-color:#41666a; color:#e9fbf8; }
[data-theme="dark"] .artChat .bubble.mine { background:#3e345d; border-color:#6f6091; color:#f7f2ff; }
.artChat h1, .artChat > .stack { background: var(--chat-controls); border-radius:10px; padding:.5em; }
.artChat h1 { width:fit-content; max-width:100%; }
.artChat .bubble p,.artChat .bubble strong{color:inherit}

.artChat .bubble.mine{margin-left:auto}.artChat .bubble:not(.mine){margin-right:auto}

.campaignCard,.nativeAd{padding:1rem;margin-block:.8rem;border:1px solid var(--line,#9594a655);border-radius:16px;background:var(--card,Canvas);color:inherit}
.campaignMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin-block:.65rem}
.adMetric{display:grid;align-content:start;gap:.3rem;padding:.7rem;border:1px solid #8080904a;border-radius:12px}.adMetric strong{font-size:clamp(.85rem,2.7vw,1.35rem);overflow-wrap:anywhere}.adMetric small{font-size:.78rem}
.adLine{display:flex;gap:.65rem;align-items:center}.adLine h2,.adIdentity{flex:1;min-width:0}.adIdentity{display:grid}.adLine .avatar{width:2.5rem;height:2.5rem;flex:none;overflow:hidden;border-radius:50%;display:grid;place-items:center}
.adLine h2{font-size:1.15rem;overflow-wrap:anywhere}.campaignThumb{width:3.6rem;height:3.6rem;object-fit:cover;border-radius:8px}.campaignState{display:inline-block;padding:.3rem .55rem;border-radius:12px;font-size:.78rem;font-weight:700;background:#eee;color:#35353b}
.state-active{background:#d2f2dc;color:#165238}.state-pending_payment{background:#ffdfbf;color:#763700}.state-paused{background:#ffefb4;color:#634900}.state-completed{background:#d9e9ff;color:#184f8c}.state-paused_review,.state-payment_failed{background:#ffe0e3;color:#862637}
.adBudget{display:grid;gap:.25rem;margin-block:.7rem}.adBudget progress{width:100%;height:.7rem;accent-color:#6653cb}
.adInputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.adQuote{padding:1rem;border-inline-start:4px solid #8c7fe5}.adQuote strong{font-size:1.25rem}
.campaignPreview,.adCreative .socialMedia{max-width:100%;max-height:440px;display:block;object-fit:contain;margin:auto}.nativeAd>.button{width:100%;margin-top:.65rem}
.adSlot{min-height:1px}.chatAdSlot{position:sticky;top:0;z-index:3}.chatNativeAd{margin:.2rem 0;padding:.55rem .75rem;border-color:#887be1;background:var(--card,Canvas)}.chatNativeAd p{font-size:.86rem;margin:.3rem 0;overflow-wrap:anywhere}.adMore,.compactCta{width:auto;min-width:40px;padding:.35rem .55rem}.adMetric small,.adIdentity small{display:block}
.campaignCard table{width:100%;border-collapse:collapse;font-size:.86rem}.campaignCard td,.campaignCard th{text-align:start;padding:.42rem .1rem;border-bottom:1px solid #8884}

[data-theme="dark"] .campaignCard,[data-theme="dark"] .nativeAd{background:#24222f;color:#f3f0ff}

.wordmark img {width: auto; height: 34px; max-width: 100%; object-fit: contain; border-radius: 0;}
.identity-emblem {width:1.12em;height:1.12em;object-fit:contain;vertical-align:-0.18em;margin-inline-start:.28em;flex:none;}
.storyTile .storyIdentity {display:flex;align-items:center;justify-content:center;max-width:100%;overflow:hidden;}
.storyIdentity .storyNick {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.accountDecision {border-inline-start:4px solid #7062d8;padding:.8rem 1rem;margin:1rem 0;overflow-wrap:anywhere;}
.appmark.paymentLogo {width:min(220px,80%);height:auto;border-radius:0;}

img.campaignBrand {object-fit:contain;}

#launchIntro { position: fixed; inset: 0; z-index: 10000; background: #fff; display: grid; place-items: center; }
#launchIntro img { width: 100%; height: 100%; max-height: 100dvh; object-fit: contain; }
details.deleteAccount { border-top: 1px solid var(--line, #ddd); margin-top: 1rem; padding-top: .75rem; }
details.deleteAccount summary { color: #a32131; cursor: pointer; font-weight: 700; }
details.deleteAccount form button { color: #fff; background: #a32131; }
.wordmark img.nightLogo,[data-theme="dark"] .wordmark img.dayLogo {display:none}
[data-theme="dark"] .wordmark img.nightLogo {display:inline-block}
.infoRow.valueOnly dd {grid-column:1 / 3}
#launchIntro .introStill {width:min(70%,360px);height:auto}
.privateChatHead {display:flex;align-items:center;gap:2px;background:var(--chat-controls);padding:6px 8px;border-radius:12px}
.privateChatHead h2 {flex:1;min-width:0;margin:0;font-size:clamp(17px,4vw,22px);overflow-wrap:anywhere}
.privateChatHead .chatIconAction,.chatComposer .cameraPick,.chatComposer button:last-child {width:46px;height:46px;min-width:46px;padding:0;display:grid;place-items:center;border-radius:12px;margin:0}
.chatComposer {display:grid;grid-template-columns:minmax(0,1fr) 46px 46px;align-items:end;gap:5px}
.chatComposer>.draftReply,.chatComposer>.draftPreview {grid-column:1/-1}
.chatComposer>label:not(.cameraPick) {grid-column:1;grid-row:2}.chatComposer .cameraPick {grid-column:2;grid-row:2;position:relative;cursor:pointer;background:var(--chat-controls)}
.chatComposer .cameraPick input {opacity:0;position:absolute;inset:0;cursor:pointer;width:100%;height:100%}
.chatComposer button:last-child {grid-column:3;grid-row:2}
.storyDesign {display:grid;gap:12px}.colorControls {display:flex;gap:18px;align-items:center}.colorControls input {width:66px;height:40px;padding:2px}
.storyDraftStage,.storyCanvas {position:relative;isolation:isolate;overflow:hidden}
.storyDraftStage {height:clamp(190px,33vh,330px);border-radius:12px;display:grid;place-items:center}
.storyDraftStage>img,.storyDraftStage>video {position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.storyDraftStage>img[hidden] {display:none}.storyDraftWords {position:relative;z-index:1;text-align:center;white-space:pre-wrap;padding:12px;font-size:1.15rem;font-weight:650}
.stickerLayer {position:absolute;inset:0;z-index:2;pointer-events:none}
.musicChip {pointer-events:auto;position:absolute;max-width:100%;z-index:2;display:inline-flex;gap:9px;align-items:center;width:max-content;min-height:38px;min-width:0;margin:0;padding:7px 12px;border:1px solid #ad99de;border-radius:16px;background:#211d32ed;color:white;text-align:start;box-shadow:0 2px 8px #0003;touch-action:none;line-height:1.1}
.musicChip .musicNote {font-size:20px;color:#c8baff}.songIdentity {display:grid;gap:3px}.songIdentity small {color:#dfdaea}.songIdentity strong {color:white}.songResults {display:grid;gap:6px;max-height:35vh;overflow:auto}
.mediaStage .storyCanvas {flex:1;min-height:0;width:100%;display:flex;align-items:stretch;justify-content:center}
.mediaStage .storyCanvas .stageMedia {position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.mediaStage .storyCanvas .textStory {margin:0;justify-content:center;align-content:center}

.callRoom[open]{background:var(--bg,#f4f6fb);color:var(--ink,#19233f);width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;box-sizing:border-box;border:0;border-radius:0;margin:0;display:flex;flex-direction:column;text-align:center;padding:clamp(12px,3vw,28px)}
[data-theme="dark"] .callRoom[open]{background:#14131b;color:#f1efff}
.callRoom .callVideos,.callRoom .callVideos.audioOnly{width:100%;height:auto;align-self:stretch;position:relative;display:grid;place-items:center;min-height:0;flex:1;background:transparent;overflow:hidden}
.callRoom .callVideos .callArtwork{width:min(80vw,340px,58vh);height:auto;object-fit:contain;background:transparent}
.callRoom .callVideos video{max-height:100%;background:transparent;object-fit:contain}
.callRoom .callVideos .localPreview{width:min(22%,110px);height:auto;position:absolute;right:8px;top:8px;bottom:auto}
.callRoom [hidden]{display:none!important}
.callRoom .rowbuttons{justify-content:center}
.storyWatchProgress{display:block;width:100%;height:24px;cursor:pointer;margin:0 0 8px;accent-color:#ac91ff;flex:none}

.bellUnread::after{width:12px;height:12px;background:#ed294a;pointer-events:none;box-sizing:content-box}
.infoRow .infoGlyph{width:1.55em;flex:none;text-align:center;grid-column:1}
.profileInformation .infoRow{display:flex;align-items:center;gap:.45em}
.profileInformation .infoRow dd{flex:1;min-width:0}
.stageControls .publicationTools{box-sizing:border-box;min-width:0;padding:6px 10px 10px}
.stageControls{padding-bottom:max(12px,env(safe-area-inset-bottom));box-sizing:border-box}

/* Call media fills the viewport. Controls remain accessible above both cameras. */
.callRoom[open]{display:block;padding:0;overflow:hidden;isolation:isolate}
.callRoom .callVideos,.callRoom .callVideos.audioOnly{position:absolute;inset:0;width:100%;height:100%;max-height:none}
.callRoom .callVideos>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.callRoom .callHeader{position:absolute;z-index:2;inset:0 0 auto;pointer-events:none;padding:max(18px,env(safe-area-inset-top)) 18px 20px}
.callHeader h2,.callHeader p{margin:.22em 0}.hasRemoteFrame .callHeader{color:white;background:linear-gradient(#131522b5,transparent)}
.callRoom .selfCamera{position:absolute;right:max(12px,env(safe-area-inset-right));bottom:calc(max(14px,env(safe-area-inset-bottom)) + 76px);width:min(35vw,22vh,174px);aspect-ratio:3/4;overflow:hidden;border-radius:18px;border:1px solid #fff8;box-shadow:0 3px 16px #1115}
.callRoom .callVideos .localPreview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scaleX(-1);border:0;border-radius:0}
.callRoom .callControls{position:absolute;z-index:3;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:clamp(7px,2vw,16px);border-radius:26px;padding:8px;background:#12141ed9}
.callControls button,.callRoom .flipCamera{display:grid;place-items:center;background:#3b3b49;color:white;border:0;border-radius:50%;width:clamp(42px,11vw,54px);height:clamp(42px,11vw,54px);min-width:0;min-height:0;padding:0}
.callControls button[aria-pressed="true"]{background:#f7f6ff;color:#241f36}
.callControls .callEnd{background:#dc2045;color:white}.callControls .callAccept{background:#148353;color:white}
.callSymbol{width:24px;height:24px;display:block;background:currentColor;mask:var(--symbol) center/contain no-repeat;-webkit-mask:var(--symbol) center/contain no-repeat}
.callRoom .flipCamera{position:absolute;top:7px;right:7px;width:34px;height:34px;background:#171723aa}.flipCamera .callSymbol{width:19px;height:19px}
@media (orientation:landscape){.callRoom .selfCamera{width:min(18vw,29vh,150px);right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom))}}
.mediaStage .storyWatchProgress{appearance:none;-webkit-appearance:none;flex:0 0 28px;height:28px;margin:0;box-sizing:border-box;padding:0 12px;background:transparent;border:0;z-index:2}
.storyWatchProgress::-webkit-slider-runnable-track{height:7px;background:linear-gradient(to right,#dbc6ff var(--played,0%),#645d72 var(--played,0%));border-radius:10px}
.storyWatchProgress::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;border:0;background:white;border-radius:50%;margin-top:-3px}
.storyWatchProgress::-moz-range-track{height:7px;background:#645d72;border-radius:6px}.storyWatchProgress::-moz-range-progress{height:7px;background:#dbc6ff}
.mediaStage .storyCanvas,.storySponsor{touch-action:pan-y}.stageControls{flex:0 1 auto;min-width:0;overflow:auto;max-height:35dvh}
.storySponsor{flex:1;min-height:0;overflow:auto}.storyAdSlot .nativeAd{margin:auto;width:min(100%,620px)}
.publicationTools .iconStrip{display:flex;flex-wrap:wrap;gap:2px;align-items:center;min-width:0;width:100%;box-sizing:border-box}
.publicationTools .iconStrip>button{min-width:0;flex:0 1 auto;padding-inline:clamp(3px,1.7vw,12px)}
.iconStrip .reactionLeaders{margin-inline-start:auto;padding-inline:4px;flex:none}
.publicationTools small{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.45}

.reportHero{width:100%;max-height:140px;object-fit:cover;border-radius:14px;display:block}
.reportPrivacy{padding:12px 14px;background:color-mix(in srgb,currentColor 8%,transparent);color:inherit;border-inline-start:4px solid #aa92ff;border-radius:8px}
.reportChoices{margin:0;padding:0;border:none;min-width:0}.reportChoices legend{font-weight:700;padding:0;margin:4px 0 9px}
.reportChoice{display:flex;align-items:flex-start;gap:11px;padding:10px 4px;border-bottom:1px solid #938ca955;cursor:pointer}
.reportChoice input{width:19px;height:19px;min-width:19px;margin:3px 0 0;accent-color:#6952dd}
.reportChoice strong,.reportChoice small{display:block;line-height:1.4}.reportChoice small{margin-top:3px}.reportError{color:#b53d55}

.callControls button{width:clamp(48px,12vw,56px);height:clamp(48px,12vw,56px);box-shadow:inset 0 0 0 1px #87829858}
.callControls button:active,.callRoom .flipCamera:active{transform:scale(.94)}
.callRoom .flipCamera{width:48px;height:48px}
@media (orientation:landscape){.callRoom .selfCamera{bottom:max(84px,calc(env(safe-area-inset-bottom) + 76px));width:min(18vw,24vh,150px)}}
.coinHero{position:relative;display:block;isolation:isolate;overflow:hidden;border-radius:18px;margin:0 0 16px;background:linear-gradient(117deg,#17162f 0%,#312653 62%,#51396e 100%);color:#fff;text-align:left}.coinHero .heroPhoto{display:block;width:100%;height:auto}.coinHero .heroBrand{position:absolute;top:14px;left:20px;width:76px;height:auto;z-index:1}.coinHero:has(.heroPhoto) .heroBrand{top:8px;left:auto;right:12px;width:clamp(42px,8%,84px);filter:drop-shadow(0 1px 4px #231731)}.coinHero .heroCopy{padding:44px 20px 17px}.coinHero .heroCopy h1{margin:0;font-size:clamp(20px,3vw,34px);color:#fff;letter-spacing:-.035em}.coinHero .heroCopy p{margin:4px 0 0;color:#ece4fa;font-size:clamp(13px,1.7vw,17px)}.hero-store .heroCopy{position:absolute;inset:0 27%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:2px;text-shadow:0 2px 8px #171026}.hero-store .heroCopy h1{font-size:clamp(18px,3.3vw,46px);line-height:1}.hero-store .heroCopy p{font-size:clamp(11px,1.7vw,19px);color:white;line-height:1.22}.bannerLink{background:none!important;border:0!important;padding:0!important;width:100%;display:block;box-shadow:none!important}.bannerLink .coinHero{margin-bottom:12px}.hero-wallet,.hero-earn_more,.hero-balance{background:linear-gradient(105deg,#20182e,#58406f 72%,#6a4158)}.hero-settings,.hero-blocks,.hero-mutes,.hero-payment_profile{background:linear-gradient(110deg,#161c36,#2f3a70 70%,#394663)}.coinShelf{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(145px,45%),1fr));gap:12px;margin:14px 0 26px}.coinShelf button.coinPack{background:linear-gradient(170deg,#190f29,#302245);color:white;display:flex;gap:3px;align-items:center;justify-content:flex-start;flex-direction:column;border:1px solid #5b4867;border-radius:16px;padding:7px 7px 14px;line-height:1.2;min-width:0;overflow:hidden}.coinPack img{height:clamp(70px,9vw,124px);width:100%;object-fit:contain}.coinPack strong{font-size:clamp(15px,2vw,20px);color:white}.coinPack .packPrices{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:3px 8px}.packPrices b{color:#ffda93}.packPrices s{color:#c8bcd6;font-size:.82em}.coinPack:hover,.coinPack:focus-visible{outline:2px solid #b58aff;outline-offset:1px}.checkoutTotal{display:block;color:var(--accent,#7358c9);font-size:1.6rem;margin:.6rem 0}@media(max-width:480px){.coinShelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.coinHero{border-radius:13px}.coinHero .heroCopy p{margin-top:4px}.hero-store .heroCopy{inset:0 25%}}

/* Profile, story rail and private inbox */
.profileArt{height:228px}.profileArt .socialCover{height:175.2px}.profileArt .socialAvatar{width:105.6px;height:105.6px}
.profileHeader .profileArt{height:clamp(240px,36vw,456px)}.profileHeader .profileArt .socialCover{height:calc(100% - 48px)}
button.storyTile{width:103.2px;flex-basis:103.2px;min-height:98.4px}.storyTile>span:last-child{width:100.8px}
.storyRing{width:71.28px;height:103.2px}.storyRing.hasStory{outline:0;border:3px solid #00d7ff}
.hasStory.storyViewed{outline-color:#6048c5}.storyRing.hasStory.storyViewed{border-color:#6048c5}
[data-theme=dark] .hasStory.storyViewed{outline-color:#c2b7ff}[data-theme=dark] .storyRing.hasStory.storyViewed{border-color:#c2b7ff}
.storyLoading{min-height:55dvh;display:grid;place-items:center;color:#eee}.mediaStage[open]{background:#090a10}
.communityHeader,.headerActions,.inboxHead{display:flex;align-items:center}.communityHeader{justify-content:space-between;gap:4px;min-width:0}
.communityHeader .wordmark{min-width:0}.communityHeader .wordmark img{max-width:100%;height:auto}
.headerActions{flex:none}.headerActions .headerAction{width:44px;height:44px;padding:6px;border:0;background:transparent;box-shadow:none;display:grid;place-items:center}
.headerAction img{display:block;width:32px;height:32px}.headerAction:focus-visible{outline:2px solid #9373e7;outline-offset:-2px}
.inboxItem{padding:10px 14px 12px;border:1px solid var(--line,#9389aa66);border-radius:14px;margin:8px 0;overflow-wrap:anywhere}
.inboxHead{gap:6px;justify-content:space-between}.inboxHead .person{flex:1;min-width:0}.inboxItem>small{display:block;margin:4px 0 0}
.coinHero .heroPhoto{height:auto;aspect-ratio:var(--banner-ratio,2.28);object-fit:cover}
@media(min-width:761px){.socialApp aside .communityHeader{flex-wrap:wrap}.socialApp aside .communityHeader .headerActions{margin-left:auto}}

.socialApp{grid-template-rows:auto 1fr;align-content:start}
.socialApp>.communityHeader{grid-column:1/-1;padding:6px clamp(16px,3vw,40px);min-height:58px;background:#fff;border-bottom:1px solid #e4e1ed}
[data-theme=dark] .socialApp>.communityHeader{background:#22212d;border-color:#393644}
.socialApp>.communityHeader .wordmark img{height:32px;width:auto;object-fit:contain}
@media(min-width:781px){.socialApp>aside{grid-column:1;grid-row:2;height:calc(100dvh - 58px);min-height:0}.socialApp>.workspace{grid-column:2;grid-row:2}}
@media(max-width:780px){.socialApp>aside{display:contents}.socialApp>.workspace{grid-column:1;grid-row:2}.socialApp>.communityHeader{padding-top:max(6px,env(safe-area-inset-top));padding-inline:max(14px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-right))}}

/* Momentoz — keep card sizes independent of names and media aspect ratio. */
.storyRail {gap:4px;align-items:center}
button.storyTile {
  position:relative;display:block;flex:0 0 89.1px;width:89.1px;height:129px;min-height:129px;
  padding:0;overflow:hidden;border-radius:12px;isolation:isolate;box-sizing:border-box;
}
button.storyTile .storyRing {
  display:grid;place-items:center;width:100%;height:100%;box-sizing:border-box;overflow:hidden;
}
button.storyTile .socialThumb{display:block;width:100%;height:100%;object-fit:cover}
button.storyTile>.storyIdentity {
  position:absolute;inset:auto 2px 2px;display:flex;justify-content:center;align-items:flex-end;gap:2px;
  width:auto;max-width:none;box-sizing:border-box;padding:13px 3px 5px;
  color:#fff;font-weight:700;line-height:1.15;text-shadow:0 1px 3px #000;
  background:linear-gradient(transparent,#110c1fdb);border-radius:0 0 10px 10px;
  pointer-events:none;
}
.storyIdentity .storyNick{flex:0 1 auto;min-width:0}
.storyIdentity .identity-emblem{flex:0 0 auto}
.storyTile:focus-visible{outline:3px solid #965fff;outline-offset:-4px}
.chatScreen>.defaultBackdrop{opacity:1;background-color:white}
.socialDialog.momentViewer {
  padding:0;box-sizing:border-box;width:100%;height:100dvh;
}
.momentViewer .momentTop {
  z-index:3;flex:none;padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
  background:linear-gradient(#000b,#0007,transparent);
}
.momentTop .line {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 14px;margin:0}
.momentTop h2 {min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.momentTop .storyWatchProgress {display:block;width:100%;margin:0}
.momentViewer .storySponsor{margin-inline:env(safe-area-inset-left) env(safe-area-inset-right)}
.momentViewer>.stack{padding-bottom:env(safe-area-inset-bottom)}
.momentViewer.momentOpen .momentTop{position:absolute;inset:0 0 auto}
.momentViewer.momentOpen>.stack{position:absolute;inset:0;padding:0}
.momentViewer.momentOpen .storyCanvas{position:absolute;inset:0;width:100%;height:100%}
.momentViewer .storyCanvas .stageMedia.portraitMedia{object-fit:contain}
.momentViewer .storyCanvas>button{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:1}
.momentViewer .stageControls {
  position:absolute;z-index:2;inset:auto 0 0;box-sizing:border-box;max-height:35dvh;
  padding:max(9px,1.5dvh) max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
  background:linear-gradient(#0005,#000a 40%,#000d);color:white;
}
.momentViewer .stageControls .publicationTools{background:#15131d70;color:#fff}
.momentViewer .stageControls .publicationTools small{color:#ece7f5}
.momentViewer .stageControls>p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}

.royalAccount{display:flex;align-items:center;gap:.8rem;margin:1rem 0}.royalAccount img{object-fit:contain}.royalAccount form{margin:0}
/* Profiles share a cover header and one set of filters in both color themes. */
.socialApp.profileRoute { grid-template-rows:0 1fr; }
.socialApp.profileRoute > aside { height:100dvh; }
.profileRoute .profileArt .communityHeader {
  position:absolute; inset:0 0 auto; z-index:2; height:38px; min-height:0;
  box-sizing:border-box; padding:2px clamp(14px,3vw,40px);
  background:rgba(255,255,255,.85); border:0;
}
[data-theme=dark] .profileRoute .profileArt .communityHeader { background:rgba(34,33,45,.85); }
.profileArt .communityHeader .wordmark img { height:30px; width:auto; object-fit:contain; }
.profileArt .headerActions { gap:0; }
.profileArt .headerAction { width:36px; height:34px; padding:2px; }
.profileArt .headerAction:last-child { width:44px; }
.profileArt .headerAction img { width:29px; height:29px; object-fit:contain; }
.profileHeader .profileArt { height:calc(clamp(240px,36vw,456px) + 58px); }
.profileHeader .profileArt .socialCover { height:calc(100% - 54px); }
.profileHeader .profileArt .socialAvatar { left:50%; transform:translateX(-50%); width:137px; height:137px; }
.profileHeader .profileName { text-align:start; align-items:center; display:flex; justify-content:flex-start; }
.profileHeader .profileName > :first-child { flex:1; min-width:0; overflow-wrap:anywhere; }
.profileHeader .profileName .profileEllipsis { height:46px; min-width:52px; display:grid; place-items:center; font-size:39px; font-weight:800; line-height:.65; padding:0 4px 8px; }
.profileCounts { display:flex; align-items:center; flex-wrap:wrap; gap:6px 18px; font-weight:650; font-variant-numeric:tabular-nums; }
.profileHeader .profileAbout { text-align:center; white-space:pre-wrap; overflow-wrap:anywhere; margin-block:12px; }
.profileHeader .profileTabs { display:flex; justify-content:center; align-items:stretch; gap:4px; flex-wrap:wrap; margin-block:12px; }
.profileTabs .profileTab { border-radius:24px; padding:7px 15px; width:auto; background:transparent; color:inherit; border:1px solid #80739466; }
.profileTabs .profileTab[aria-pressed=true] { color:white; background:#5b41b3; border-color:#5b41b3; }
[data-theme=dark] .profileTabs .profileTab[aria-pressed=true] { color:#201632; background:#c6b9ff; border-color:#c6b9ff; }
.profileCategories .profileTab { font-size:.85rem; padding:6px 11px; }
.profileHeader .profileActions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-flow:column; grid-auto-columns:46px; align-items:center; gap:6px; }
.profileActions > .friendActions { min-width:0; }
.profileHeader .favoriteStar { display:grid; place-items:center; width:46px; min-width:44px; height:44px; padding:5px; flex:0 0 auto; background:transparent; border:1px solid transparent; }
.favoriteStar img { width:32px; height:32px; object-fit:contain; }
.profileHeader .favoriteStar[aria-pressed=true] { background:#fbc54229; border-color:#cf921f; }
.profileAccess { font-size:.88rem; }
.profileTimeline { margin-inline:auto; max-width:860px; }
.profilePhotoGrid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:0 6px; }
.profilePhotoGrid > p { grid-column:1/-1; }
.profilePhotoGrid .profilePhotoTile { aspect-ratio:1; min-width:0; min-height:0; width:100%; padding:0; border:0; border-radius:6px; overflow:hidden; background:#8883a42a; }
.profilePhotoTile img { display:block; width:100%; height:100%; object-fit:cover; }
.themeTiles { display:flex; align-items:stretch; gap:12px; }
.themeTile { display:grid; gap:5px; justify-items:center; padding:7px 10px; min-width:82px; border:2px solid transparent; border-radius:14px; background:transparent; color:inherit; }
.themeTile[aria-pressed=true] { border-color:#8672da; }
.themeSample { position:relative; display:block; width:58px; height:58px; border-radius:12px; border:1px solid #ada2d9; background:linear-gradient(145deg,#fff,#e7e0fa); color:#6840b4; }
.dark .themeSample { background:linear-gradient(145deg,#302d48,#171827); color:#c8c5ff; }
.themeOrb,.themeLine { position:absolute; left:9px; background:currentColor; border-radius:4px; }
.themeOrb { top:9px; width:13px; height:13px; border-radius:50%; background:#f2af32; }
.dark .themeOrb { background:#afd4ef; }
.themeLine { top:31px; height:4px; width:38px; }.themeLine.short { top:40px; width:24px; opacity:.65; }
.presenceChoice { display:flex; align-items:center; padding:10px 2px; gap:9px; }.presenceChoice input { margin-inline-start:auto; width:auto; }
.presenceDot { height:13px; width:13px; border-radius:50%; background:#26bb70; box-shadow:inset 0 1px 3px #ffffff9c; }
.presenceChoice:not(:has(input:checked)) .presenceDot { background:#898a96; }
@media(max-width:780px) { .profileRoute .profileArt .communityHeader {padding-inline:max(14px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-right));} }


.socialApp>.communityHeader {height:38px;min-height:38px;padding-block:2px;box-sizing:border-box;}
.socialApp>.communityHeader .wordmark img {height:30px;}
.socialApp>.communityHeader .headerActions {gap:0;}
.socialApp>.communityHeader .headerAction {height:34px;width:36px;padding:2px;}
.socialApp>.communityHeader .headerAction:last-child {width:44px;}
.socialApp>.communityHeader .headerAction img {width:29px;height:29px;}
.profileHeader .profileHandle {font-size:.94rem;color:var(--muted,currentColor);overflow-wrap:anywhere;margin-block:2px 6px;}
.visitedProfile .profileName {position:relative;justify-content:center;min-height:46px;padding-inline:56px;}
.visitedProfile .profileName>:first-child {text-align:center;justify-content:center;flex:0 1 auto;}
.visitedProfile .profileName .profileEllipsis {position:absolute;inset-inline-end:0;}
.visitedProfile .profileHandle {text-align:center;}
.visitedProfile .profileCounts {justify-content:center;}
.profileInformation:empty {display:none;}
.infoRow .relationshipPartner {display:inline;padding:0;border:0;background:transparent;box-shadow:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:.15em;overflow-wrap:anywhere;cursor:pointer;}
.profilePage .profileHeader {padding-bottom:34px;}
.profilePage .profileHeader>:last-child {margin-block-end:0;}
.profileSettingsMenu .presenceChoice {box-sizing:border-box;width:100%;min-height:46px;border:1px solid #9586b4;border-radius:12px;padding:7px 12px;cursor:pointer;}
.commentThreadDialog{width:min(96vw,620px)}
.commentComposer{display:flex;align-items:center;gap:8px}
.commentComposer>.commentInput{flex:1 1 0;width:0;min-width:0;min-height:48px;max-height:110px;margin:0;padding:10px 12px;line-height:1.35;resize:vertical}
.commentCamera {flex:none;width:48px;height:46px;padding:4px;}.commentCamera img {width:36px;height:36px;}
.commentPreview img{max-width:100%;max-height:130px;object-fit:contain;display:block}
.commentPhoto{display:block;justify-self:start;width:min(100%,calc(min(58dvh,450px) * var(--photo-ratio,1.45)));margin:6px 0 2px;padding:0;background:transparent;border:0}
.commentPhoto img{display:block;width:100%;height:auto;border-radius:15px}
.commentPhoto img:not([src]){aspect-ratio:1.45;background:#8881}
.commentPreview {display:flex;gap:8px;align-items:center;}.commentPreview:empty {display:none;}
.replyText{width:auto;font-size:.9rem;padding:5px 8px}
.commentThreadDialog .commentList{max-height:min(57dvh,620px);overscroll-behavior:contain}
.commentEntry{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:9px;align-items:start;padding:7px 0 10px;border:0}
.commentEntry+.commentEntry{margin-top:4px}
.commentEntry>*{grid-column:2;min-width:0}
.commentEntry>.commentAvatar{grid-column:1;grid-row:1;width:36px;height:36px;border-radius:50%;overflow:hidden}
.commentEntry>.commentMessage{grid-row:1}
.commentMessage{width:100%;display:block;min-height:36px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;text-align:start;font:inherit;line-height:1.38}
button.commentBody{width:fit-content;max-width:100%;min-height:0;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;text-align:start;font-family:inherit;line-height:inherit}
button.commentBody:hover{background:transparent;filter:none}
.commentPhoto{touch-action:pan-y pinch-zoom;-webkit-touch-callout:none;user-select:none}.commentPhoto img{-webkit-user-drag:none}
.commentBody:focus-visible,.commentPhoto:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.commentByline{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:5px;overflow-wrap:anywhere}
.commentByline strong{font-size:.98rem;font-weight:700}
.commentEntry .commentByline small{margin:0;font-size:.84rem}
.commentBody{display:block;margin-top:3px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;font-weight:400}
.commentEntry .publicationTools{margin:3px 0 0;padding:0}
.commentEntry>.commentReplies{grid-column:1/-1}
.commentEntry>.commentExpand,.commentEntry .commentMore{width:fit-content;min-height:34px;margin:0}
@media(max-width:355px){.commentEntry{grid-template-columns:30px minmax(0,1fr);column-gap:7px}.commentEntry>.commentAvatar{width:30px;height:30px}}



.commentReplies{margin-inline-start:12px;padding-inline-start:8px;border-inline-start:1px solid #8885}
.commentReplies.compact{margin-inline-start:0;padding-inline-start:0;border:0}
.commentReplies[hidden],.commentExpand[hidden],.commentReplyTo[hidden]{display:none}
.commentExpand,.commentMore{display:block;background:transparent;color:var(--accent,currentColor);border:0;padding:.5em .3em;text-align:start;font-weight:600}
.commentExpand::before{content:"⌄";display:inline-block;margin-inline-end:.4em}
.commentExpand[aria-expanded=true]::before{transform:rotate(180deg)}
.commentReplyTo{display:flex;gap:.6rem;align-items:center;justify-content:space-between}

.mzMentionList{display:flex;flex-direction:column;gap:2px;max-height:11rem;overflow:auto;background:var(--paper,#fff);border:1px solid #a7a1b7;border-radius:.65rem;position:relative;z-index:8;min-width:10rem}
.mzMentionList button{background:#fff;color:#292333;text-align:left;padding:.45rem .7rem}
.mzMentionList button:hover,.mzMentionList button[aria-selected=true]{background:#ece7ff}

.dmUnread{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.5rem;padding:0 .4rem;background:#6543c7;border-radius:1rem;color:white;font-weight:700}

.monitorZocial{max-width:48rem;margin:0 auto;padding:clamp(1rem,4vw,2rem);overflow-wrap:anywhere}
.monitorZocial header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.monitorZocial header form{margin:0}.monitorZocial section{padding:1rem;margin:.65rem 0;border:1px solid var(--line,#d2d8df);border-radius:.8rem}.monitorZocial section a{display:block;font-weight:650}.monitorZocial section p{margin:.45rem 0}.monitorZocial section img{max-width:100%;height:auto}.monitorZocial nav{margin:1.25rem 0;display:flex;gap:1rem}

.passwordField {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: .5rem;
}
.passwordField > label { min-width: 0; }
.passwordField > .passwordToggle { min-height: 44px; width: auto; margin: 0; }
.passwordField input::-ms-reveal { display: none; }

.reactionSummary {display:flex;align-items:center;gap:.3em;flex-wrap:wrap;}
.reactionSummary .reactionCount {background:transparent;color:inherit;border:0;box-shadow:none;padding:0 .15em;min-height:36px;width:auto;font:inherit;font-size:.85rem;text-decoration:underline;text-underline-offset:.2em;cursor:pointer;}
.reactionPeople {list-style:none;margin:0;padding:0;}
.reactionPeople li {display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.65rem 0;border-bottom:1px solid #8885;}
.reactionIdentity {min-width:0;display:grid;overflow-wrap:anywhere;}
.reactionPeople li > span {flex:none;}
