* {
  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}
