:root {
  --bg:#f6f7fc;
  --surface:#fff;
  --ink:#20203b;
  --muted:#66677d;
  --line:#e9eaf3;
  --primary:#5840cb;
  --primary-dark:#4030a2;
  --pink:#e94b90;
  --soft:#efebff;
  --green:#157d62;
  --radius:20px;
  --shadow:0 5px 20px #26264e05;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Sinhala","Noto Sans Tamil",sans-serif;
  font-size:16px;
  line-height:1.55;
  color:var(--ink);
  background:var(--bg);
  font-synthesis:none;
  text-rendering:optimizeLegibility
}

* {
  box-sizing:border-box
}

body {
  margin:0
}

a {
  color:var(--primary);
  text-decoration:none
}

a:hover {
  text-decoration:underline;
  text-underline-offset:4px
}

button,input,textarea,select {
  font:inherit
}

button,a,input,textarea,select,summary {
  -webkit-tap-highlight-color:transparent
}

button,summary {
  cursor:pointer
}

button {
  color:inherit
}

button:disabled {
  cursor:wait;
  opacity:.65
}

h1,h2,h3,p {
  margin:0
}

h1,h2,h3 {
  line-height:1.22;
  letter-spacing:-.025em
}

h1 {
  font-size:1.85rem;
  font-weight:750
}

h2 {
  font-size:1.18rem;
  font-weight:720
}

h3 {
  font-size:1.05rem
}

p {
  overflow-wrap:anywhere
}

small {
  font-size:.8rem;
  color:var(--muted)
}

hr {
  border:0;
  border-top:1px solid var(--line);
  margin:16px 0
}

img {
  max-width:100%;
  display:block
}

svg {
  flex-shrink:0
}

.icon {
  width:21px;
  height:21px;
  vertical-align:middle
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  border:1px solid transparent;
  background:var(--primary);
  color:#fff;
  padding:12px 21px;
  border-radius:12px;
  font-weight:650;
  line-height:1.3;
  font-size:.95rem;
  min-height:46px;
  white-space:normal;
  text-align:center;
  transition:background .18s,transform .18s,box-shadow .18s
}

.button:hover {
  background:var(--primary-dark);
  text-decoration:none;
  box-shadow:0 4px 10px #5840cb1a
}

.button:active {
  transform:translateY(1px)
}

.button.secondary {
  background:#fff;
  border-color:var(--line);
  color:var(--ink)
}

.button.secondary:hover {
  background:var(--soft);
  border-color:#dbd3fc;
  color:var(--primary)
}

.button.small {
  padding:9px 15px;
  font-size:.875rem;
  min-height:40px;
  border-radius:10px
}

.button.ghost {
  background:transparent;
  color:#76758a;
  padding:9px 10px
}

.button.ghost:hover,.button.ghost.active {
  color:var(--primary);
  background:var(--soft);
  box-shadow:none
}

.button.white {
  background:#fff;
  color:var(--primary)
}

.button.full {
  width:100%
}

.button.active {
  background:var(--soft);
  color:var(--primary);
  border-color:#d8cff9
}

.button.danger-outline {
  background:#fff;
  color:#b32e50;
  border-color:#f1ced9
}

.text-button {
  border:0;
  background:none;
  color:var(--primary);
  padding:0;
  font-weight:600;
  font-size:.875rem
}

.text-button:hover {
  text-decoration:underline
}

.text-link {
  display:inline-flex;
  gap:6px;
  align-items:center;
  font-size:.9rem;
  font-weight:650
}

.text-link .icon {
  width:17px
}

.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  flex-shrink:0;
  width:44px;
  height:44px;
  border-radius:12px;
  border:0;
  background:#f4f3f9;
  color:#66657e
}

.icon-button:hover {
  background:var(--soft);
  color:var(--primary);
  text-decoration:none
}

.icon-button.subtle {
  background:transparent
}

.icon-button.send {
  color:#fff;
  background:var(--primary)
}

.row {
  display:flex;
  align-items:center;
  gap:12px
}

.row.between {
  justify-content:space-between
}

.row.end {
  justify-content:flex-end
}

.inline {
  display:inline-flex;
  margin:0
}

.muted {
  color:var(--muted)
}

.danger {
  color:#af2549
}

.small-text {
  font-size:.85rem
}

.preserve {
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

.card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}

.stack {
  display:flex;
  flex-direction:column;
  gap:18px
}

.stack>.button {
  align-self:flex-start
}

.stack>.button.full {
  align-self:stretch
}

.form-card {
  padding:28px;
  margin-bottom:24px
}

.form-card>h2 {
  margin-bottom:18px
}

.form-card>p {
  margin:12px 0 18px
}

.form-card .stack {
  margin-top:18px
}

.field {
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:.875rem;
  font-weight:600;
  color:#515068;
  min-width:0
}

.field input,.field textarea,.field select,textarea {
  width:100%;
  border:1px solid #dedfea;
  background:#fff;
  color:var(--ink);
  border-radius:11px;
  padding:12px 13px;
  font-size:1rem;
  font-weight:400;
  min-height:46px;
  outline:none;
  max-width:100%
}

.field select {
  padding-right:30px
}

.field input[type=file] {
  font-size:.875rem;
  white-space:normal
}

.field input[type=file]::file-selector-button {
  border:0;
  border-radius:6px;
  background:var(--soft);
  color:var(--primary);
  padding:6px 10px;
  margin-right:10px;
  font:inherit
}

.field textarea {
  resize:vertical;
  min-height:96px
}

.field input:focus,.field textarea:focus,.field select:focus,textarea:focus {
  border-color:var(--primary);
  box-shadow:0 0 0 3px #5840cb15
}

.field-help {
  font-size:.825rem;
  color:var(--muted);
  line-height:1.65
}

.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px
}

.checkbox {
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:.875rem;
  color:#64637d;
  cursor:pointer;
  font-weight:400
}

.checkbox input {
  width:17px;
  height:17px;
  margin:3px 0 0;
  accent-color:var(--primary);
  flex-shrink:0
}

.field input::placeholder,textarea::placeholder {
  color:#9291a3
}

.topbar {
  position:sticky;
  top:0;
  z-index:30;
  background:#ffffffed;
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line)
}

.topbar-inner {
  max-width:1440px;
  min-height:88px;
  padding:14px 28px;
  margin:auto;
  display:flex;
  align-items:center;
  gap:36px
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
  color:#28223e;
  font-size:1.4rem;
  font-weight:800;
  letter-spacing:-.06em;
  line-height:1.15
}

.brand:hover {
  text-decoration:none
}

.brand-accent {
  color:var(--primary)
}

.brand small {
  display:block;
  font-size:.65rem;
  font-weight:500;
  letter-spacing:.045em;
  color:#898199;
  line-height:1.7;
  margin-top:3px
}

.brand-mark {
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  letter-spacing:-.14em;
  font-size:2.25rem;
  background:var(--primary);
  border-radius:14px;
  color:#fff;
  width:44px;
  height:47px;
  padding-right:7px;
  line-height:1
}

.brand-mark>span {
  color:#f7aac9;
  font-size:2.5rem;
  margin-left:3px
}

.header-search {
  max-width:460px;
  flex:1;
  margin:0
}

.search-box {
  display:flex;
  align-items:center;
  gap:11px;
  border-radius:12px;
  background:#f5f5fa;
  border:1px solid transparent;
  padding:0 15px;
  color:#9692aa;
  min-height:46px;
  min-width:0
}

.search-box:focus-within {
  border-color:#cfc5f4
}

.search-box input {
  width:100%;
  min-width:0;
  padding:12px 0;
  background:none;
  border:none;
  outline:none;
  font-size:.875rem;
  color:var(--ink)
}

.top-actions {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:16px
}

.login-link {
  color:#666077;
  font-size:.9rem;
  font-weight:600;
  white-space:nowrap
}

.account-avatar {
  display:block
}

.count-dot {
  position:absolute;
  right:-4px;
  top:-4px;
  font-size:.7rem;
  line-height:1.4;
  min-width:19px;
  padding:1px 4px;
  background:var(--pink);
  color:white;
  border:2px solid white;
  border-radius:20px
}

.top-discover {
  display:none
}

.app-shell {
  max-width:1440px;
  padding:30px 28px 60px;
  margin:auto;
  display:grid;
  grid-template-columns:220px minmax(0,1fr) 286px;
  gap:28px;
  align-items:start
}

.app-shell.wide {
  grid-template-columns:220px minmax(0,1fr)
}

.sidebar {
  position:sticky;
  top:118px;
  min-width:0
}

.nav-label {
  display:block;
  color:#786d87;
  font-size:.67rem;
  letter-spacing:.12em;
  font-weight:750;
  margin:5px 0 15px 14px
}

.nav-label.second {
  margin-top:28px
}

.nav-item {
  display:flex;
  align-items:center;
  gap:13px;
  color:#797487;
  padding:12px 14px;
  margin-bottom:4px;
  font-size:.9rem;
  border-radius:12px;
  font-weight:550
}

.nav-item .icon {
  width:21px
}

.nav-item:hover {
  background:#eeebf8;
  text-decoration:none
}

.nav-item.selected {
  background:#e9e3fb;
  color:var(--primary);
  font-weight:700
}

.nav-item.girls .icon {
  color:var(--pink)
}

.nav-item.boys .icon {
  color:#498cbd
}

.nav-end {
  margin-left:auto;
  font-size:.65rem;
  color:#a6a0b0
}

.sidebar-plus {
  display:block;
  background:#eee8ff;
  color:#4a3c78;
  border:1px solid #e4ddf7;
  border-radius:18px;
  padding:21px;
  margin-top:28px
}

.sidebar-plus:hover {
  text-decoration:none;
  background:#e9e0fd
}

.sidebar-plus h3 {
  font-size:1.2rem;
  line-height:1.35;
  margin:16px 0 10px
}

.sidebar-plus p {
  font-size:.8rem;
  line-height:1.7;
  color:#76638e
}

.plus-link {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:.875rem;
  font-weight:700;
  margin-top:19px
}

.plus-link .icon {
  width:17px
}

.sidebar-bottom {
  padding:22px 10px;
  color:#a09ba9
}

.sidebar-bottom>a {
  display:flex;
  gap:7px;
  align-items:center;
  color:#87808f;
  font-size:.78rem
}

.sidebar-bottom>a .icon {
  width:16px
}

.sidebar-bottom small {
  font-size:.68rem
}

.footer-links {
  display:flex;
  gap:14px;
  margin:12px 0 4px
}

.footer-links a {
  font-size:.73rem;
  color:#736a7e
}

.main-content {
  min-width:0
}

.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin:2px 0 25px
}

.page-heading h1 {
  font-size:1.7rem
}

.page-heading p {
  font-size:.9rem;
  color:var(--muted);
  margin-top:8px
}

.page-heading>.button {
  flex-shrink:0;
  font-size:.8rem;
  padding:10px 13px;
  min-height:41px
}

.welcome-banner {
  position:relative;
  overflow:hidden;
  background:#eee9ff;
  border-radius:22px;
  padding:28px 30px;
  margin-bottom:24px;
  border:1px solid #e7e0fa
}

.eyebrow {
  font-size:.67rem;
  font-weight:750;
  letter-spacing:.13em;
  color:#8f7ac0
}

.welcome-banner h2 {
  font-size:1.9rem;
  line-height:1.2;
  color:#3c296a;
  margin:12px 0;
  letter-spacing:-.045em;
  max-width:85%
}

.welcome-banner h2 span {
  color:var(--pink)
}

.welcome-banner p {
  max-width:80%;
  font-size:.875rem;
  color:#77648c
}

.welcome-link {
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-top:15px;
  font-size:.875rem;
  font-weight:700;
  color:#695193
}

.welcome-link .icon {
  width:18px
}

.composer-shortcut {
  display:flex;
  align-items:center;
  gap:14px;
  padding:17px 20px;
  margin-bottom:24px
}

.composer-shortcut>a:not(.icon-button) {
  flex:1;
  color:#786c88;
  border-bottom:1px solid #f1edf8;
  padding:11px 0;
  font-size:.95rem
}

.composer-shortcut .icon-button {
  background:#f5f0fc;
  color:#9271b6
}

.feed-tabs {
  display:flex;
  gap:28px;
  border-bottom:1px solid #e5e0ee;
  margin:0 0 24px;
  padding:0 4px
}

.feed-tabs a {
  padding:2px 0 13px;
  color:#796b87;
  font-size:.875rem;
  font-weight:600;
  border-bottom:2px solid transparent;
  margin-bottom:-1px
}

.feed-tabs a:hover {
  text-decoration:none;
  color:var(--primary)
}

.feed-tabs a.active {
  color:var(--primary);
  border-color:var(--primary)
}

.avatar {
  width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  border-radius:50%;
  font-size:1.03rem;
  font-weight:750;
  object-fit:cover;
  border:1px solid #ffffff88;
  letter-spacing:-.02em;
  aspect-ratio:1
}

.avatar.xs {
  width:42px;
  height:42px;
  font-size:.9rem
}

.avatar.sm {
  width:42px;
  height:42px;
  font-size:.9rem
}

.avatar.lg {
  width:82px;
  height:82px;
  font-size:1.8rem;
  border:4px solid #fff
}

.tone-0 {
  background:#dbe8f2;
  color:#577b99
}

.tone-1 {
  background:#f7dfec;
  color:#af6889
}

.tone-2 {
  background:#e1dcf7;
  color:#7862a7
}

.tone-3 {
  background:#d6eee5;
  color:#588977
}

.tone-4 {
  background:#f7e7d7;
  color:#a58966
}

.tone-5 {
  background:#dde6fb;
  color:#657bb1
}

.post-card {
  margin-bottom:24px;
  padding:24px
}

.post-header {
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:20px
}

.post-author {
  flex:1;
  min-width:0
}

.person-title {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px
}

.person-name {
  font-size:.95rem;
  font-weight:700;
  color:#4f415d
}

.post-meta {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  margin-top:5px;
  font-size:.735rem;
  color:#776680
}

.post-meta a {
  color:inherit
}

.post-meta .icon {
  width:12px;
  height:12px
}

.post-options {
  position:relative;
  align-self:flex-start
}

.post-options>summary {
  list-style:none;
  color:#b8afbf;
  padding:2px
}

.post-options>summary::-webkit-details-marker {
  display:none
}

.menu-popover {
  position:absolute;
  z-index:15;
  right:0;
  top:28px;
  min-width:160px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 10px 25px #29223b15;
  padding:7px;
  display:flex;
  flex-direction:column;
  gap:2px
}

.menu-popover a,.menu-button {
  display:block;
  padding:8px 10px;
  font-size:.85rem;
  text-align:left;
  background:transparent;
  border:0;
  color:#6f657e;
  white-space:nowrap;
  width:100%
}

.menu-popover a:hover,.menu-button:hover {
  background:var(--soft);
  text-decoration:none;
  border-radius:6px
}

.post-body {
  font-size:1rem;
  line-height:1.85;
  color:#65516f;
  margin-bottom:22px;
  white-space:normal;
  overflow-wrap:anywhere
}

.post-image-link {
  display:block;
  margin:0 -24px 20px
}

.post-image {
  width:100%;
  height:auto;
  max-height:580px;
  object-fit:contain;
  background:#f9f7fc
}

.post-stats {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:.76rem;
  color:#766580;
  margin-bottom:13px
}

.post-stats>span {
  display:flex;
  align-items:center;
  gap:6px
}

.post-stats .icon {
  width:15px;
  height:15px;
  stroke:#cd81a0
}

.post-stats>a {
  color:#766580
}

.post-actions {
  display:flex;
  gap:3px;
  justify-content:space-between;
  padding-top:12px;
  border-top:1px solid #f0eaf3
}

.post-actions>.inline,.post-actions>.button {
  flex:1
}

.post-actions .inline>.button {
  width:100%
}

.post-actions .button {
  font-size:.78rem;
  gap:7px;
  min-width:0
}

.post-actions .icon {
  width:18px;
  height:18px
}

.badge {
  display:inline-flex;
  align-items:center;
  gap:4px;
  background:#f0edf7;
  color:#9383a1;
  border-radius:6px;
  font-size:.65rem;
  padding:3px 7px;
  font-weight:600;
  line-height:1.2
}

.badge.light {
  background:#fff8;
  color:#7f62aa;
  font-size:.58rem;
  letter-spacing:.09em
}

.plus-badge {
  color:var(--primary);
  background:var(--soft)
}

.review-badge {
  display:inline-flex;
  color:#379677
}

.review-badge .icon {
  width:17px;
  height:17px
}

.badge.reviewed {
  color:var(--green);
  background:#e8f7f1
}

.chips {
  display:flex;
  gap:7px;
  flex-wrap:wrap
}

.chip {
  display:inline-flex;
  gap:6px;
  align-items:center;
  font-size:.72rem;
  padding:5px 10px;
  border-radius:7px;
  background:#f4f1f9;
  color:#9983ad;
  line-height:1.5
}

.chip .icon {
  width:13px;
  height:13px
}

.dating-chip {
  background:#fcf0f6;
  color:#c66d95;
  margin-bottom:15px
}

.right-rail {
  display:flex;
  flex-direction:column;
  gap:24px;
  position:sticky;
  top:118px
}

.rail-card {
  padding:23px
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:19px
}

.section-heading h2 {
  font-size:1rem;
  color:#63536e
}

.section-heading>a {
  font-size:.73rem;
  color:#a084bf
}

.suggestion {
  display:flex;
  gap:10px;
  align-items:center;
  margin:21px 0
}

.suggestion:last-child {
  margin-bottom:0
}

.suggestion-info {
  flex:1;
  min-width:0
}

.suggestion-info .person-name {
  font-size:.81rem;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.suggestion-info small {
  display:block;
  font-size:.71rem;
  color:#aa9ab4;
  margin-top:2px
}

.suggestion .icon-button {
  width:22px;
  height:32px;
  color:#baa9cb
}

.suggestion .icon {
  width:16px
}

.round-icon,.empty-icon {
  display:inline-flex;
  width:45px;
  height:45px;
  border-radius:14px;
  align-items:center;
  justify-content:center;
  background:#efe8fb;
  color:#9e75b6
}

.safety-card {
  background:#fcfaff
}

.safety-card h2 {
  font-size:1.17rem;
  line-height:1.4;
  margin:17px 0 12px;
  color:#71567e
}

.safety-card p {
  font-size:.8rem;
  line-height:1.85;
  color:#a18dab
}

.safety-card .text-link {
  font-size:.73rem;
  color:#9970b2;
  margin-top:17px
}

.community-note {
  padding:4px 15px
}

.tiny-label {
  font-size:.57rem;
  letter-spacing:.1em;
  font-weight:700;
  color:#beaecd
}

.community-note p {
  font-size:.98rem;
  font-weight:500;
  line-height:1.8;
  color:#a890b6;
  margin:15px 0;
  font-style:italic
}

.community-note a {
  font-size:.73rem;
  color:#b08dc5
}

.community-note .icon {
  width:15px
}

.empty {
  text-align:center;
  padding:48px 28px;
  margin-bottom:24px
}

.empty-icon {
  width:64px;
  height:64px;
  border-radius:22px;
  margin-bottom:19px;
  background:#ede8fa
}

.empty-icon .icon {
  width:28px;
  height:28px
}

.empty h2 {
  font-size:1.3rem;
  margin-bottom:12px
}

.empty p {
  color:var(--muted);
  max-width:440px;
  margin:auto;
  line-height:1.8;
  font-size:.95rem
}

.empty .button {
  margin-top:22px
}

.notice {
  display:flex;
  align-items:flex-start;
  gap:12px;
  border:1px solid #d0eade;
  border-radius:13px;
  background:#effaf5;
  color:#287652;
  padding:15px 18px;
  margin-bottom:20px;
  font-size:.9rem
}

.notice.error {
  border-color:#f1ced7;
  background:#fff4f6;
  color:#ac3454
}

.notice.info {
  border-color:#e0d8f4;
  background:#f3effc;
  color:#78638f
}

.notice p {
  margin-top:7px
}

.notice .icon {
  margin-top:1px;
  flex-shrink:0
}

.pagination {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  margin:28px 0;
  font-size:.875rem;
  color:var(--muted)
}

.promoted-section {
  margin-bottom:22px
}

.promoted-section>summary {
  display:flex;
  align-items:center;
  gap:9px;
  list-style:none;
  padding:14px 18px;
  background:#ede7fb;
  border-radius:13px;
  color:#8a6cab;
  font-size:.875rem;
  margin-bottom:16px
}

.promoted-section>summary>span {
  margin-left:auto
}

.promoted-section>summary .icon {
  width:18px
}

.members-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px
}

.member-card {
  overflow:hidden
}

.member-top {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:139px;
  position:relative;
  background-image:linear-gradient(135deg,#fff6,transparent)
}

.member-top:hover {
  text-decoration:none
}

.member-top .avatar {
  box-shadow:0 5px 15px #4e386f0c
}

.member-details {
  padding:22px
}

.member-details .person-title h2 {
  font-size:1.06rem;
  color:#655072
}

.member-meta {
  font-size:.8rem;
  color:#a08eab;
  margin:8px 0 12px
}

.bio-clamp {
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.7;
  font-size:.87rem;
  color:#9a87a6;
  height:4.44rem;
  margin-bottom:14px
}

.member-actions {
  display:flex;
  gap:9px;
  margin-top:21px;
  flex-wrap:wrap
}

.member-actions>.button,.member-actions>.inline {
  flex:1
}

.member-actions .button {
  padding:9px 11px;
  white-space:nowrap;
  font-size:.77rem;
  width:100%
}

.discovery-filters {
  padding:24px;
  margin-bottom:25px
}

.filter-grid {
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1.1fr;
  gap:16px;
  margin-top:20px
}

.age-range {
  display:flex;
  gap:8px
}

.filter-footer {
  margin-top:20px
}

.discovery-note {
  font-size:.85rem;
  margin-bottom:20px
}

.search-posts {
  max-width:800px;
  margin:0 auto
}

.profile-card {
  overflow:hidden;
  margin-bottom:24px
}

.profile-cover {
  height:185px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  padding:0 30px
}

.profile-cover>img {
  width:calc(100% + 60px);
  max-width:none;
  height:100%;
  object-fit:cover;
  margin:0 -30px
}

.cover-wordmark {
  font-size:2.4rem;
  font-weight:750;
  letter-spacing:-.06em;
  opacity:.4
}

.profile-main {
  padding:0 28px 22px
}

.profile-top {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-top:-48px;
  margin-bottom:20px;
  position:relative
}

.profile-avatar {
  width:110px;
  height:110px;
  border:6px solid #fff;
  font-size:2.3rem
}

.profile-actions {
  display:flex;
  gap:9px;
  padding-bottom:3px;
  flex-wrap:wrap
}

.profile-main h1 {
  font-size:1.8rem
}

.profile-handle {
  color:#ad9fba;
  font-size:.85rem;
  margin:5px 0 18px
}

.profile-facts {
  display:flex;
  gap:17px;
  flex-wrap:wrap;
  color:#9e8aaf;
  font-size:.83rem;
  margin-bottom:20px
}

.profile-facts>span {
  display:flex;
  align-items:center;
  gap:7px
}

.profile-facts .icon {
  width:15px;
  height:15px
}

.profile-bio {
  font-size:.98rem;
  color:#847090;
  line-height:1.9;
  margin-bottom:20px;
  white-space:normal
}

.profile-stats {
  display:flex;
  gap:25px;
  border-top:1px solid #f0eaf6;
  margin-top:24px;
  padding-top:21px;
  color:#ad99bb;
  font-size:.85rem
}

.profile-stats strong {
  color:#776183;
  margin-right:3px
}

.profile-tools {
  display:flex;
  gap:20px;
  margin-top:22px;
  font-size:.75rem;
  color:#af9fbb
}

.profile-tools a,.profile-tools .text-button {
  color:inherit;
  font-size:inherit;
  font-weight:400
}

.profile-post-heading {
  margin:30px 4px 20px
}

.pending-post {
  padding:22px;
  margin-bottom:20px
}

.pending-post p {
  margin:10px 0
}

.comments-section {
  border-top:1px solid #f0eaf6;
  margin-top:16px;
  padding-top:23px
}

.comments-section h2 {
  font-size:1.1rem;
  margin-bottom:20px
}

.comment-form {
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:28px
}

.comment-form textarea {
  flex:1;
  font-size:.9rem;
  min-width:0;
  background:#faf8fc;
  border-color:#eee8f3;
  resize:vertical;
  min-height:60px
}

.comment-form .icon-button {
  height:40px;
  width:40px;
  margin-top:5px
}

.comment {
  display:flex;
  gap:10px;
  margin-bottom:20px
}

.comment-content {
  flex:1;
  min-width:0;
  border-radius:14px;
  background:#f8f5fb;
  padding:12px 15px
}

.comment-content p {
  margin:6px 0 10px;
  font-size:.95rem;
  white-space:normal;
  color:#8c759c
}

.comment-content .person-name {
  font-size:.85rem
}

.comment-content small {
  font-size:.72rem;
  color:#b29ec0
}

.comment-content .small-text {
  font-size:.7rem
}

.anchor-tabs,.admin-tabs {
  display:flex;
  gap:9px;
  overflow-x:auto;
  margin:0 0 26px;
  padding-bottom:5px;
  scrollbar-width:thin
}

.anchor-tabs a,.admin-tabs a {
  font-size:.875rem;
  font-weight:550;
  padding:10px 15px;
  border-radius:10px;
  white-space:nowrap;
  color:#93859e
}

.admin-tabs a.active {
  color:var(--primary);
  background:var(--soft)
}

.settings-layout {
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);
  gap:24px
}

.settings-layout>div {
  min-width:0
}

.blocked-row {
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:.875rem
}

.danger-card {
  border-color:#f0d8e2
}

.danger-card h2 {
  color:#aa5373
}

.logout-form {
  margin-bottom:24px
}

.upload-preview,.existing-photo {
  max-height:220px;
  max-width:100%;
  object-fit:contain;
  border-radius:12px
}

.messaging-layout {
  display:grid;
  grid-template-columns:285px minmax(0,1fr);
  overflow:hidden;
  min-height:620px
}

.inbox {
  border-right:1px solid var(--line);
  min-width:0
}

.inbox-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 20px
}

.inbox-title h2 {
  font-size:1.1rem
}

.inbox-title .icon-button {
  width:32px;
  height:32px
}

.thread-row {
  display:flex;
  align-items:center;
  gap:10px;
  padding:17px 18px;
  border-bottom:1px solid #f5f0f8;
  color:#776383
}

.thread-row:hover,.thread-row.active {
  background:#f1ebfc;
  text-decoration:none
}

.thread-row>div {
  min-width:0;
  flex:1
}

.thread-row strong {
  font-size:.84rem;
  display:block
}

.thread-row p {
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:.76rem;
  color:#b69dc5;
  margin-top:4px
}

.unread-count {
  background:var(--primary);
  color:#fff;
  border-radius:20px;
  font-size:.65rem;
  min-width:19px;
  text-align:center;
  padding:2px 5px
}

.inbox-empty {
  padding:20px;
  font-size:.875rem;
  color:#a891b6
}

.inbox-empty a {
  display:block;
  margin-top:10px
}

.chat-panel {
  display:flex;
  flex-direction:column;
  min-width:0
}

.chat-header {
  display:flex;
  gap:12px;
  align-items:center;
  padding:20px 24px;
  border-bottom:1px solid var(--line)
}

.chat-header>div {
  flex:1
}

.chat-header small {
  display:block;
  font-size:.73rem;
  margin-top:3px
}

.chat-header .person-name {
  font-size:.95rem
}

.message-log {
  display:flex;
  flex-direction:column;
  gap:18px;
  overflow-y:auto;
  padding:28px 24px;
  flex:1;
  min-height:340px;
  max-height:540px;
  scroll-behavior:smooth
}

.message {
  align-self:flex-start;
  max-width:84%;
  min-width:90px
}

.message.own {
  align-self:flex-end
}

.message-bubble {
  background:#f4eff9;
  border-radius:15px 15px 15px 4px;
  padding:13px 16px;
  color:#93729f;
  font-size:.95rem;
  line-height:1.7;
  overflow-wrap:anywhere
}

.message.own .message-bubble {
  background:#ebe3fa;
  color:#8862a1;
  border-radius:15px 15px 4px 15px
}

.message-time {
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:#b69dc7;
  font-size:.63rem;
  margin:5px 2px 0
}

.message-time a {
  color:#b79bca
}

.message-form {
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 20px;
  border-top:1px solid var(--line);
  margin-top:auto
}

.message-form textarea {
  font-size:.93rem;
  resize:vertical;
  background:#fbf9fd;
  min-height:56px;
  max-height:140px
}

.chat-note {
  font-size:.65rem;
  color:#baabcd;
  padding:0 20px 16px;
  text-align:center
}

.chat-empty {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  flex:1;
  text-align:center;
  padding:35px
}

.chat-empty h2 {
  font-size:1.4rem
}

.chat-empty p {
  color:#ae98bc;
  font-size:.9rem;
  margin:12px 0 23px
}

.chat-notice {
  margin:18px
}

.conversation-starter {
  margin:auto;
  text-align:center;
  color:#b29ac4
}

.conversation-starter small {
  display:block;
  margin-top:6px
}

.older-messages {
  font-size:.78rem;
  text-align:center;
  padding:9px
}

.notifications-list {
  overflow:hidden
}

.notification-row {
  display:flex;
  align-items:center;
  gap:14px;
  padding:22px;
  border-bottom:1px solid var(--line);
  color:#90729f
}

.notification-row:last-child {
  border-bottom:0
}

.notification-row:hover {
  text-decoration:none;
  background:#f9f5ff
}

.notification-row.unread {
  background:#f7f2fd
}

.notification-row p {
  font-size:.9rem;
  margin-bottom:5px
}

.notification-row small {
  font-size:.75rem;
  color:#b39ac5
}

.unread-dot {
  margin-left:auto;
  flex-shrink:0;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#b595d3
}

.mark-read-form {
  text-align:right;
  margin-bottom:15px
}

.plus-hero {
  background:linear-gradient(125deg,#5237ae,#7854c7);
  border-radius:24px;
  color:#fff;
  padding:38px;
  margin-bottom:24px
}

.plus-hero h2 {
  font-size:2.35rem;
  line-height:1.2;
  margin:22px 0 15px;
  letter-spacing:-.04em
}

.plus-hero>p {
  color:#dacfee;
  line-height:1.8;
  margin:12px 0;
  font-size:.95rem
}

.plus-hero .badge {
  color:#f1e8ff;
  background:#ffffff26
}

.plan-price {
  font-size:2rem;
  font-weight:750;
  margin:23px 0 0;
  letter-spacing:-.03em
}

.plan-price small {
  font-size:.85rem;
  color:#d7c6ed;
  font-weight:400;
  letter-spacing:normal
}

.plus-hero .field {
  color:#eadcf8
}

.plus-hero .purchase-form {
  max-width:350px;
  margin-top:24px
}

.plus-hero .purchase-form .button {
  align-self:stretch
}

.plus-hero .notice.info {
  margin:25px 0 0;
  border:0;
  background:#ffffff18;
  color:#f1e8ff
}

.membership-status {
  display:flex;
  align-items:center;
  gap:9px
}

.purchase-form {
  margin-top:20px
}

.order-row {
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
  color:#82618f;
  font-size:.9rem
}

.order-row>div:last-child {
  text-align:right
}

.order-row small {
  display:block;
  font-size:.7rem;
  color:#bc9eca;
  margin-top:5px
}

.order-row .badge {
  display:table;
  margin-top:7px;
  margin-left:auto
}

.order-row:last-child {
  border:0
}

.order-summary {
  display:flex;
  align-items:center;
  gap:15px;
  border-bottom:1px solid var(--line);
  padding-bottom:22px;
  margin-bottom:22px
}

.order-summary>div {
  flex:1
}

.order-summary p {
  font-size:.85rem;
  color:#ae98bf;
  margin-top:5px
}

.order-summary>strong {
  color:#9165a4;
  font-size:1.15rem;
  white-space:nowrap
}

.bank-instructions {
  white-space:normal;
  background:#f8f2fc;
  border:1px solid #eee3f6;
  border-radius:12px;
  padding:20px;
  margin:18px 0;
  line-height:1.8;
  color:#90739f
}

.order-cancel {
  margin-top:26px
}

.prose {
  padding:32px;
  font-size:1rem;
  line-height:1.9;
  color:#81708c
}

.prose h2 {
  margin:22px 0 12px;
  font-size:1.4rem;
  color:#6b567a
}

.prose h3 {
  margin:24px 0 10px;
  color:#776280
}

.prose p {
  margin:14px 0
}

.auth-layout {
  max-width:1220px;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:85px;
  align-items:start;
  margin:70px auto;
  padding:0 30px
}

.auth-intro {
  padding-top:65px
}

.auth-intro h1 {
  font-size:3rem;
  line-height:1.25;
  letter-spacing:-.05em;
  margin:23px 0;
  color:#5d3878
}

.auth-intro h1 span {
  color:#ad75c2
}

.auth-intro>p {
  font-size:1rem;
  line-height:1.85;
  color:#ad91bb;
  max-width:430px;
  margin:25px 0
}

.auth-pills {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:35px
}

.auth-pills>span {
  display:flex;
  gap:7px;
  align-items:center;
  background:#eee5f8;
  color:#aa83bc;
  padding:9px 13px;
  border-radius:10px;
  font-size:.77rem
}

.auth-pills .icon {
  width:16px
}

.auth-footnote {
  font-size:.8rem;
  color:#b49abe;
  margin-top:80px
}

.auth-card {
  padding:34px;
  margin:0;
  width:100%;
  max-width:560px
}

.auth-card>.round-icon {
  margin-bottom:22px
}

.auth-card>h2 {
  font-size:1.7rem;
  color:#745483;
  margin-bottom:12px
}

.auth-card>.muted {
  font-size:.9rem;
  margin-bottom:25px
}

.auth-card .row.between {
  align-items:center;
  gap:8px;
  flex-wrap:wrap
}

.auth-card .row .checkbox,.auth-card .row .text-link {
  font-size:.78rem
}

.auth-switch {
  display:block;
  margin-top:25px;
  text-align:center;
  color:#aa8db8;
  font-size:.85rem
}

.divider {
  position:relative;
  text-align:center;
  margin:24px 0;
  color:#b59ac6;
  font-size:.75rem
}

.divider:before {
  content:"";
  height:1px;
  background:var(--line);
  left:0;
  right:0;
  top:50%;
  position:absolute
}

.divider span {
  position:relative;
  background:white;
  padding:0 14px
}

.honeypot {
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden
}

.auth-layout>.notice {
  grid-column:1/-1
}

.stats-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  margin-bottom:26px
}

.stat {
  padding:24px
}

.stat small {
  font-size:.8rem;
  color:#ab8bbb
}

.stat strong {
  display:block;
  font-size:2.3rem;
  font-weight:650;
  color:#846196;
  margin-top:14px
}

.admin-queue-link {
  display:flex;
  gap:20px;
  align-items:center;
  padding:18px 0;
  border-bottom:1px solid var(--line);
  color:#95739f;
  font-size:.9rem
}

.admin-queue-link strong {
  margin-left:auto
}

.admin-queue-link .icon {
  width:16px
}

.plain-list {
  padding:0;
  margin:0;
  list-style:none;
  color:#a58bb5;
  font-size:.9rem;
  line-height:2.3
}

.admin-search {
  padding:18px;
  display:flex;
  gap:15px;
  margin-bottom:23px
}

.admin-search>.search-box {
  flex:1
}

.table-wrap {
  overflow:auto
}

table {
  border-collapse:collapse;
  width:100%;
  font-size:.875rem;
  min-width:640px
}

th {
  padding:16px 20px;
  text-align:left;
  color:#b394c4;
  font-size:.7rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  background:#fbf8fe
}

td {
  vertical-align:top;
  padding:20px;
  border-top:1px solid var(--line);
  color:#9b7caa
}

td small {
  display:block;
  line-height:1.8;
  font-size:.72rem;
  color:#ba9ecc
}

td details {
  font-size:.8rem;
  margin-top:12px;
  max-width:330px
}

td details p {
  margin:10px 0
}

td details form {
  display:block;
  margin:8px 0
}

.moderation-card {
  padding:26px;
  margin-bottom:22px
}

.moderation-card p {
  margin:15px 0;
  font-size:.95rem
}

.moderation-card>.stack {
  margin-top:22px
}

.moderation-image {
  max-height:300px;
  object-fit:contain;
  border-radius:12px;
  margin:15px 0
}

.reported-content {
  border:1px solid #efe5f5;
  background:#faf5fd;
  border-radius:12px;
  padding:19px;
  margin:20px 0
}

.reported-content form {
  margin:12px 0
}

.reported-content>.text-link {
  margin-top:13px
}

.toast {
  position:fixed;
  z-index:100;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  padding:16px 23px;
  border-radius:14px;
  background:#352746;
  color:#fff;
  box-shadow:0 8px 28px #35274622;
  max-width:min(90vw,580px);
  font-size:.9rem
}

.confirm-dialog {
  border:1px solid #d8c7eb;
  padding:30px;
  border-radius:22px;
  max-width:min(90vw,450px);
  color:var(--ink);
  box-shadow:0 10px 60px #26183230
}

.confirm-dialog::backdrop {
  background:#26183266;
  backdrop-filter:blur(3px)
}

.confirm-dialog h2 {
  margin-bottom:13px;
  font-size:1.3rem
}

.confirm-dialog p {
  color:#9d83ab;
  margin-bottom:25px;
  font-size:.95rem;
  line-height:1.8
}

.mobile-nav {
  display:none
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.skip-link {
  position:fixed;
  top:-100px;
  left:12px;
  background:white;
  z-index:100;
  padding:12px;
  border:2px solid var(--primary)
}

.skip-link:focus {
  top:10px
}

:focus-visible {
  outline:3px solid #8a6ede;
  outline-offset:3px
}

section[id] {
  scroll-margin-top:110px
}

[hidden] {
  display:none!important
}

/* Contrast tokens preserve the visual hierarchy while keeping reading text legible. */ .post-body,.profile-bio,.prose,.message-bubble,.comment-content p {
  color:#67556f
}

.post-meta,.post-stats,.post-stats>a,.suggestion-info small,.member-meta,.profile-handle,.profile-facts,.profile-stats,.notification-row small {
  color:#82728f
}

.bio-clamp,.safety-card p,.community-note p,.auth-intro>p,.auth-footnote,.auth-switch,.thread-row p,.chat-empty p,.plain-list,.order-row small,.field-help {
  color:#82728f
}

.safety-card .text-link,.community-note a,.section-heading>a {
  color:#8b63a4
}

.nav-label,.nav-end,.sidebar-bottom small,.sidebar-bottom>a,.footer-links a,.eyebrow,.tiny-label {
  color:#81738e
}

.post-actions .button {
  color:#82718e
}

.message.own .message-bubble {
  color:#735485
}

.message-time,.message-time a,.chat-note,.comment-content small,.post-stats {
  color:#897595
}

td {
  color:#786080
}

td small,th {
  color:#897195
}

.auth-intro h1 {
  color:#49315f
}

.auth-intro h1 span {
  color:#9661b0
}

.welcome-banner p {
  color:#89729f
}

.sidebar-plus p {
  color:#89749e
}

.badge {
  color:#80688d
}

.chip {
  color:#876792
}

.topbar-inner .brand small {
  font-size:.75rem;
  letter-spacing:0
}

.nav-label,.badge.light,.eyebrow,.tiny-label {
  font-size:.75rem;
  letter-spacing:.06em
}

.nav-end {
  font-size:.75rem
}

.sidebar-bottom small,.footer-links a {
  font-size:.75rem
}

.post-meta,.post-stats,.section-heading>a,.suggestion-info small,.safety-card .text-link,.community-note a,.badge,.chip,.comment-content small,.comment-content .small-text,.message-time,.message-time a,.chat-note,th,td small,.order-row small {
  font-size:.8rem
}

.post-actions .button {
  font-size:.875rem
}

.suggestion-info .person-name {
  font-size:.875rem
}

.bio-clamp {
  height:4.6rem
}

@media(min-width:1500px) {
  .app-shell {
    gap:32px
  }

  .topbar-inner {
    gap:40px
  }

}

@media(max-width:1250px) {
  .app-shell {
    grid-template-columns:205px minmax(0,1fr);
    max-width:1080px
  }

  .app-shell.wide {
    grid-template-columns:205px minmax(0,1fr);
    max-width:1300px
  }

  .right-rail {
    display:none
  }

  .sidebar {
    top:112px
  }

  .brand {
    min-width:205px
  }

  .topbar-inner {
    gap:28px
  }

  .members-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .filter-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .messaging-layout {
    grid-template-columns:235px minmax(0,1fr)
  }

  .settings-layout {
    grid-template-columns:1fr
  }

  .stats-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .auth-layout {
    gap:45px
  }

  .auth-intro h1 {
    font-size:2.5rem
  }

  .auth-footnote {
    margin-top:45px
  }

}

@media(max-width:900px) {
  .topbar-inner {
    padding:15px 22px;
    gap:20px;
    min-height:80px
  }

  .header-search {
    max-width:330px
  }

  .brand {
    min-width:auto
  }

  .top-actions {
    gap:10px
  }

  .top-discover {
    display:inline-flex
  }

  .app-shell,.app-shell.wide {
    grid-template-columns:180px minmax(0,1fr);
    gap:22px;
    padding:25px 22px
  }

  .sidebar-plus {
    padding:17px
  }

  .nav-item {
    gap:9px;
    padding:11px 8px;
    font-size:.85rem
  }

  .nav-label {
    margin-left:8px;
    font-size:.68rem
  }

  .sidebar-plus p {
    font-size:.8rem
  }

  .page-heading {
    align-items:flex-start
  }

  .page-heading h1 {
    font-size:1.5rem
  }

  .page-heading>.button {
    font-size:.75rem;
    max-width:125px;
    gap:5px
  }

  .page-heading>.button .icon {
    width:15px
  }

  .welcome-banner {
    padding:25px
  }

  .welcome-banner h2 {
    font-size:1.9rem
  }

  .post-card {
    padding:21px
  }

  .post-image-link {
    margin-left:-21px;
    margin-right:-21px
  }

  .post-actions .button {
    padding:8px 6px;
    gap:5px;
    font-size:.8rem
  }

  .members-grid {
    gap:18px
  }

  .member-details {
    padding:17px
  }

  .messaging-layout {
    grid-template-columns:1fr
  }

  .inbox {
    border-right:0;
    border-bottom:1px solid var(--line);
    max-height:245px;
    overflow-y:auto
  }

  .inbox-title {
    padding:15px 18px
  }

  .thread-row {
    padding:11px 18px
  }

  .chat-panel {
    min-height:480px
  }

  .auth-layout {
    grid-template-columns:1fr;
    max-width:600px;
    margin:35px auto;
    gap:30px
  }

  .auth-intro {
    padding:0;
    text-align:center
  }

  .auth-intro h1 {
    font-size:2rem;
    margin:12px 0
  }

  .auth-intro h1>br {
    display:none
  }

  .auth-intro>p,.auth-pills,.auth-footnote {
    display:none
  }

  .auth-card {
    max-width:none
  }

  .auth-layout>.notice {
    grid-column:auto
  }

}

@media(max-width:700px) {
  body {
    padding-bottom:78px
  }

  .topbar-inner {
    padding:12px 17px;
    min-height:75px;
    gap:14px
  }

  .brand {
    font-size:1.2rem;
    gap:8px
  }

  .brand-mark {
    width:37px;
    height:40px;
    border-radius:12px;
    font-size:2rem
  }

  .brand-mark>span {
    font-size:2.1rem
  }

  .brand small {
    display:none
  }

  .header-search {
    display:none
  }

  .top-actions {
    gap:9px
  }

  .top-actions>.button {
    font-size:.75rem;
    padding:10px 12px;
    min-height:38px;
    max-width:145px
  }

  .login-link {
    font-size:.8rem
  }

  .top-actions .icon-button {
    width:37px;
    height:37px
  }

  .top-actions .avatar {
    width:37px;
    height:37px
  }

  .app-shell,.app-shell.wide {
    display:block;
    padding:23px 16px 30px
  }

  .sidebar {
    display:none
  }

  .mobile-nav {
    display:flex;
    justify-content:space-around;
    align-items:center;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:40;
    background:#fffffff5;
    backdrop-filter:blur(14px);
    border-top:1px solid #e8e1f1;
    padding:10px 8px max(11px,env(safe-area-inset-bottom))
  }

  .mobile-nav>a {
    display:flex;
    flex:1;
    flex-direction:column;
    align-items:center;
    gap:4px;
    color:#77628c;
    font-size:.66rem;
    padding:2px
  }

  .mobile-nav>a.selected {
    color:var(--primary)
  }

  .mobile-nav>a .icon {
    width:21px;
    height:21px
  }

  .page-heading {
    margin-bottom:22px
  }

  .page-heading h1 {
    font-size:1.6rem
  }

  .page-heading p {
    font-size:.85rem
  }

  .page-heading>.button {
    display:none
  }

  .welcome-banner h2 {
    font-size:2rem;
    max-width:100%
  }

  .welcome-banner p {
    max-width:100%
  }

  .welcome-banner {
    padding:24px;
    margin-bottom:20px
  }

  .composer-shortcut {
    padding:15px;
    margin-bottom:24px;
    gap:10px
  }

  .composer-shortcut .avatar {
    width:42px;
    height:42px;
    font-size:.95rem
  }

  .composer-shortcut>a:not(.icon-button) {
    font-size:.86rem
  }

  .composer-shortcut .icon-button {
    width:35px;
    height:37px
  }

  .post-card {
    padding:20px;
    margin-bottom:20px;
    border-radius:18px
  }

  .post-image-link {
    margin-left:-20px;
    margin-right:-20px
  }

  .post-header {
    margin-bottom:16px;
    gap:10px
  }

  .post-header .avatar {
    width:43px;
    height:43px;
    font-size:.95rem
  }

  .post-meta {
    font-size:.75rem;
    gap:4px
  }

  .post-body {
    line-height:1.8;
    margin-bottom:18px
  }

  .post-actions {
    gap:0
  }

  .post-actions .button {
    font-size:.8rem;
    padding:10px 3px;
    gap:5px
  }

  .post-actions .icon {
    width:17px;
    height:17px
  }

  .post-actions .share-button span {
    display:none
  }

  .post-actions>.share-button {
    flex:.6
  }

  .feed-tabs {
    gap:26px;
    margin-bottom:20px
  }

  .feed-tabs a {
    font-size:.85rem
  }

  .discovery-filters {
    padding:19px
  }

  .filter-grid {
    gap:14px
  }

  .filter-footer {
    gap:14px;
    align-items:flex-start
  }

  .filter-footer .checkbox {
    font-size:.8rem
  }

  .filter-footer .button {
    font-size:.8rem;
    padding:10px 12px
  }

  .filter-footer .text-link {
    font-size:.8rem
  }

  .members-grid {
    gap:16px
  }

  .member-top {
    min-height:130px
  }

  .member-details .person-title h2 {
    font-size:1rem
  }

  .member-details {
    padding:17px
  }

  .member-actions {
    gap:8px
  }

  .member-actions .button {
    font-size:.75rem
  }

  .profile-cover {
    height:158px
  }

  .profile-main {
    padding:0 20px 22px
  }

  .cover-wordmark {
    font-size:2rem
  }

  .profile-avatar {
    width:94px;
    height:94px;
    font-size:2rem;
    border-width:5px
  }

  .profile-top {
    margin-top:-42px;
    gap:10px
  }

  .profile-actions {
    gap:6px;
    max-width:220px
  }

  .profile-actions .button {
    font-size:.8rem;
    padding:9px 12px
  }

  .profile-main h1 {
    font-size:1.65rem
  }

  .profile-stats {
    gap:18px;
    font-size:.8rem
  }

  .profile-facts {
    font-size:.8rem;
    gap:13px
  }

  .form-card {
    padding:22px;
    margin-bottom:20px
  }

  .settings-layout {
    gap:0
  }

  .anchor-tabs {
    gap:2px
  }

  .anchor-tabs a {
    font-size:.8rem;
    padding:9px 11px
  }

  .message-log {
    padding:22px 16px;
    max-height:50vh;
    min-height:280px
  }

  .chat-header {
    padding:15px 18px
  }

  .message-form {
    padding:14px
  }

  .message-form .icon-button {
    width:39px;
    height:39px
  }

  .chat-note {
    font-size:.7rem
  }

  .message-bubble {
    font-size:.95rem
  }

  .message-time {
    font-size:.7rem
  }

  .message-log .message {
    max-width:90%
  }

  .inbox {
    max-height:210px
  }

  .chat-empty {
    padding:30px 20px;
    min-height:360px
  }

  .notifications-list .notification-row {
    padding:19px 16px;
    gap:12px
  }

  .notification-row p {
    font-size:.875rem
  }

  .plus-hero {
    padding:28px
  }

  .plus-hero h2 {
    font-size:2.1rem
  }

  .order-summary {
    gap:12px;
    flex-wrap:wrap
  }

  .order-summary>strong {
    margin-left:57px
  }

  .prose {
    padding:24px
  }

  .auth-layout {
    padding:0 18px;
    margin:30px auto
  }

  .auth-intro h1 {
    font-size:1.8rem
  }

  .auth-intro .eyebrow {
    font-size:.7rem
  }

  .auth-card {
    padding:26px
  }

  .auth-card .field input,.auth-card .field select {
    font-size:1rem
  }

  .auth-card .form-grid {
    gap:14px
  }

  .auth-card>h2 {
    font-size:1.5rem
  }

  .stats-grid {
    gap:15px
  }

  .stat {
    padding:20px
  }

  .stat small {
    font-size:.75rem
  }

  .stat strong {
    font-size:2rem
  }

  .admin-tabs {
    margin-bottom:20px
  }

  .admin-tabs a {
    font-size:.8rem;
    padding:9px 12px
  }

  .moderation-card {
    padding:21px
  }

  .toast {
    bottom:90px;
    font-size:.875rem
  }

  .confirm-dialog {
    padding:25px
  }

  .form-card h2[id] {
    scroll-margin-top:95px
  }

}

@media(max-width:400px) {
  .topbar-inner {
    padding:12px
  }

  .brand {
    font-size:1.1rem
  }

  .brand-mark {
    width:33px;
    height:36px
  }

  .top-actions {
    gap:7px
  }

  .top-actions>.button {
    max-width:114px;
    padding:9px;
    font-size:.72rem
  }

  .login-link {
    font-size:.75rem
  }

  .app-shell,.app-shell.wide {
    padding-left:12px;
    padding-right:12px
  }

  .members-grid {
    grid-template-columns:1fr
  }

  .member-top {
    min-height:160px
  }

  .member-details .person-title h2 {
    font-size:1.15rem
  }

  .member-actions .button {
    font-size:.85rem
  }

  .bio-clamp {
    height:auto;
    min-height:3rem
  }

  .profile-actions {
    max-width:175px;
    justify-content:flex-end
  }

  .profile-actions .button {
    font-size:.75rem;
    padding:8px 9px
  }

  .profile-actions .button>.icon {
    display:none
  }

  .filter-grid,.form-grid {
    grid-template-columns:1fr
  }

  .age-range .field {
    flex:1
  }

  .filter-footer {
    flex-direction:column;
    align-items:stretch
  }

  .filter-footer>.row {
    justify-content:flex-end
  }

  .post-card {
    padding:17px
  }

  .post-image-link {
    margin-left:-17px;
    margin-right:-17px
  }

  .post-actions .button {
    font-size:.75rem
  }

  .person-name {
    font-size:.9rem
  }

  .auth-layout {
    padding:0 12px
  }

  .auth-card {
    padding:22px
  }

  .top-actions .top-discover {
    display:none
  }

}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }

}

.message-bubble {
  white-space:pre-wrap
}

.back-link {
  margin:0 0 20px
}

.install-layout {
  max-width:650px;
  padding:30px 20px;
  margin:35px auto
}

.install-layout h1 {
  margin:25px 0 15px
}

.install-layout .stack {
  margin-top:25px
}
