@font-face {
  font-family: "Clay Bubble";
  src: url("/claymatching/fonts/TitanOne-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  color-scheme: light;
  --font-display: "Clay Bubble", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --ink: #18372c;
  --ink-soft: #4f655c;
  --cream: #f7f2df;
  --paper: #fffdf3;
  --dune: #e7c487;
  --dune-deep: #ca9c57;
  --mint: #a9d8ad;
  --mint-deep: #619774;
  --sky: #add8e9;
  --lavender: #c9c0e8;
  --coral: #f38468;
  --coral-deep: #c84e3f;
  --peach: #f5b681;
  --line: rgba(24, 55, 44, 0.16);
  --shadow: 0 16px 34px rgba(72, 65, 37, 0.13);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  display: flex;
  flex-direction: column;
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 3%, rgba(255, 255, 255, 0.92), transparent 28rem),
    linear-gradient(180deg, #faf6e7 0%, #f0e8ce 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

body > main {
  flex: 1 0 auto;
  width: 100%;
}

button, textarea, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.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;
}

.ambient-shape {
  position: fixed;
  z-index: -1;
  border-radius: 48% 52% 61% 39% / 54% 37% 63% 46%;
  filter: blur(2px);
  opacity: 0.3;
  pointer-events: none;
}

.ambient-shape-one {
  width: 24rem;
  height: 20rem;
  top: 11rem;
  right: -11rem;
  background: var(--coral);
  transform: rotate(-18deg);
}

.ambient-shape-two {
  width: 20rem;
  height: 25rem;
  left: -13rem;
  top: 55rem;
  background: var(--mint);
  transform: rotate(24deg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(250, 246, 231, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: inherit;
  text-decoration: none;
}

.brand > span:last-child { display: grid; }

.brand b {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-shadow: 1px 2px 0 rgba(243, 132, 104, 0.24);
  transform: rotate(-0.8deg);
}

.brand small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: block;
  border-radius: 15px 18px 14px 20px;
  background: var(--coral);
  box-shadow: inset -4px -5px 0 rgba(140, 52, 41, 0.18), 0 4px 0 rgba(24, 55, 44, 0.12);
  transform: rotate(-7deg);
}

.brand-mark i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  top: 12px;
}
.brand-mark i:first-child { left: 8px; }
.brand-mark i:nth-child(2) { left: 22px; }
.brand-mark i:last-child {
  width: 12px;
  height: 5px;
  left: 13px;
  top: 24px;
  background: transparent;
  border-width: 0 0 2px;
  border-radius: 50%;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 253, 243, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-tab {
  position: relative;
  border: 0;
  border-radius: 999px;
  padding: 9px 15px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  transition: 160ms ease;
}

.nav-tab:hover { background: rgba(169, 216, 173, 0.28); }
.nav-tab.is-active { background: var(--ink); color: var(--cream); }
.nav-tab span {
  position: absolute;
  top: -11px;
  right: -6px;
  padding: 2px 5px;
  background: var(--coral);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-size: 7px;
  letter-spacing: 0.04em;
  transform: rotate(5deg);
}

.wallet-area {
  position: relative;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-state {
  max-width: 170px;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-area > .clay-button { min-height: 50px; padding: 11px 19px; font-size: 15px; }

.account-menu {
  position: absolute;
  z-index: 32;
  top: calc(100% + 12px);
  right: 0;
  width: min(240px, calc(100vw - 24px));
  padding: 10px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 18px 15px 20px 16px;
  box-shadow: 0 7px 0 rgba(24, 55, 44, 0.18), var(--shadow);
}

.account-menu > div { padding: 8px 9px 11px; border-bottom: 1px solid var(--line); }
.account-menu > div span { display: block; color: var(--coral-deep); font-size: 8px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.account-menu > div b { display: block; margin-top: 5px; font-family: var(--font-display); font-size: 18px; font-weight: 400; overflow-wrap: anywhere; }
.account-menu > div small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 9px; }
.account-menu > button { width: 100%; padding: 11px 9px; background: transparent; border: 0; border-radius: 10px; text-align: left; cursor: pointer; font-size: 10px; font-weight: 800; }
.account-menu > button:hover, .account-menu > button:focus-visible { background: rgba(169, 216, 173, 0.28); }
.account-menu > button:last-child { color: var(--coral-deep); }

.clay-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 14px 16px 13px 17px;
  box-shadow: 0 4px 0 var(--ink);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}

.clay-button:hover { filter: brightness(1.03); transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.clay-button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.clay-button:focus-visible, .nav-tab:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(243, 132, 104, 0.42); outline-offset: 2px; }
.clay-button-dark { background: var(--ink); color: var(--cream); box-shadow: 0 4px 0 #0d211a; }
.clay-button-coral { background: var(--coral); }
.clay-button-cream { background: var(--paper); }
.button-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(169, 216, 173, 0.18); }

.welcome-strip {
  width: min(1380px, calc(100% - 36px));
  margin: clamp(32px, 6vw, 84px) auto 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.6fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--coral-deep);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.welcome-copy h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 6.1vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.018em;
  text-shadow: 2px 3px 0 rgba(255, 253, 243, 0.92), 4px 5px 0 rgba(24, 55, 44, 0.1);
  text-wrap: balance;
  transform: rotate(-0.25deg);
}

.welcome-copy > p {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.65;
}

.welcome-copy > .welcome-punchline {
  margin-top: 16px;
  color: var(--ink);
  font-weight: 800;
}

.welcome-copy > .welcome-tagline {
  margin-top: 14px;
  color: var(--coral-deep);
  font-size: clamp(12px, 1.05vw, 15px);
  letter-spacing: 0.025em;
}

.welcome-actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.text-button { padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }

.returning-holder-auth { display: grid; gap: 14px; max-width: 700px; padding: 20px; margin-top: 30px; background: rgba(255, 253, 243, 0.72); border: 1px solid var(--line); border-radius: 22px 18px 25px 19px; box-shadow: 0 7px 20px rgba(72, 65, 37, 0.08); }
.returning-holder-auth h2 { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.1; }
.returning-holder-auth p { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.returning-holder-auth > small, .mudprint-link-status { color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.returning-auth-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.passkey-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 13px; box-shadow: 0 3px 0 var(--ink); font-size: 12px; font-weight: 850; cursor: pointer; }
.passkey-button span { display: grid; width: 23px; height: 23px; place-items: center; background: var(--mint); border-radius: 50%; font-size: 15px; }
.passkey-button:disabled, .apple-auth-button:disabled { cursor: not-allowed; filter: grayscale(0.65); opacity: 0.62; }
.passkey-button-small { min-height: 42px; width: max-content; margin-top: 10px; padding: 8px 13px; font-size: 11px; }
.apple-auth-button { width: 260px; height: 48px; padding: 0; overflow: hidden; background: #000; border: 0; border-radius: 12px; cursor: pointer; }
.apple-auth-button img { display: block; width: 100%; height: 100%; object-fit: fill; }
.apple-auth-button-small { width: 210px; margin-top: 10px; }
.email-signin-form { display: grid; grid-template-columns: minmax(210px, 1fr) auto; align-items: end; gap: 10px; }
.email-signin-form label { display: grid; gap: 6px; color: var(--ink); font-size: 10px; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.email-signin-form input, .link-email-controls input, .profile-email-otp input, .profile-email-otp select { min-width: 0; height: 44px; padding: 10px 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 12px; font-size: 13px; text-transform: none; }
.otp-entry { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(150px, 0.55fr) auto auto; align-items: end; gap: 10px; padding: 13px; background: rgba(164, 216, 175, 0.28); border: 1px dashed rgba(24, 55, 44, 0.42); border-radius: 15px; }
.otp-entry[hidden], .profile-email-otp[hidden] { display: none; }
.otp-entry input, .profile-email-otp input { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 18px; font-weight: 850; letter-spacing: 0.24em; }
.otp-entry .clay-button { min-height: 44px; }
.otp-reset { align-self: center; white-space: nowrap; }

.safety-card {
  position: relative;
  padding: 32px;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  border-radius: 44px 34px 50px 31px;
  box-shadow: 0 12px 0 rgba(24, 55, 44, 0.16), var(--shadow);
  transform: rotate(1.4deg);
}

.safety-card > div:not(.safety-icon) { padding-right: 74px; }
.safety-card b { font-family: var(--font-display); font-size: 25px; font-weight: 400; }
.safety-card p { margin: 9px 0 0; color: rgba(247, 242, 223, 0.72); font-size: 12px; line-height: 1.55; }
.safety-card ul { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.safety-card li { display: flex; align-items: center; gap: 11px; font-size: 11px; font-weight: 700; }
.safety-card li span { display: grid; width: 26px; height: 26px; place-items: center; background: rgba(247, 242, 223, 0.09); border: 1px solid rgba(247, 242, 223, 0.22); border-radius: 50%; color: var(--mint); font-size: 8px; }

.safety-icon { position: absolute; top: 25px; right: 27px; width: 60px; height: 66px; background: var(--mint); border-radius: 50% 50% 45% 45% / 30% 30% 62% 62%; box-shadow: inset -7px -6px 0 rgba(28, 90, 55, 0.18); transform: rotate(8deg); }
.safety-icon::before { content: ""; position: absolute; width: 26px; height: 22px; left: 17px; top: 18px; border: 5px solid var(--ink); border-top: 0; border-radius: 0 0 14px 14px; }

.site-footer {
  flex: 0 0 auto;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 64px) 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: lowercase;
}
.safety-icon span { position: absolute; width: 8px; height: 8px; left: 26px; top: 32px; background: var(--ink); border-radius: 50%; }

.app-shell {
  width: calc(100% - clamp(32px, 6.25vw, 128px));
  margin: 28px auto 64px;
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(560px, 1fr) minmax(300px, 360px);
  gap: clamp(18px, 1.5vw, 28px);
  align-items: start;
}

.profile-column, .people-column { position: sticky; top: 98px; display: grid; gap: 18px; }

.profile-card { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.profile-card[data-background="dune"] .profile-art { background: linear-gradient(145deg, #f4d497, #d9a45f); }
.profile-card[data-background="mint"] .profile-art { background: linear-gradient(145deg, #c5e9c5, #7ebc8a); }
.profile-card[data-background="sky"] .profile-art { background: linear-gradient(145deg, #ccebf5, #7cbcd7); }
.profile-card[data-background="lavender"] .profile-art { background: linear-gradient(145deg, #e0dbf3, #afa1db); }
.profile-card[data-background="custom"] .profile-art { background-image: linear-gradient(145deg, rgba(24, 55, 44, 0.08), rgba(24, 55, 44, 0.34)), var(--profile-background-image); background-position: center; background-size: cover; }

.profile-art { position: relative; min-height: 276px; display: grid; place-items: center; overflow: visible; border-bottom: 1px solid var(--line); }
.profile-art::before { content: ""; position: absolute; width: 150%; height: 80px; left: -20%; bottom: -44px; background: rgba(255, 253, 243, 0.4); border-radius: 50%; transform: rotate(-3deg); }
.profile-art img { position: relative; z-index: 1; width: 190px; height: 190px; object-fit: cover; background: var(--paper); border: 6px solid var(--paper); border-radius: 43% 57% 52% 48% / 47% 42% 58% 53%; box-shadow: 0 9px 0 rgba(24, 55, 44, 0.15); transform: rotate(-2deg); }
.profile-status { position: absolute; z-index: 2; right: 13px; top: 13px; padding: 5px 9px; background: var(--paper); border: 1px solid var(--ink); border-radius: 999px; font-size: 8px; font-weight: 800; }

.profile-notifications { position: absolute; z-index: 4; left: 16px; top: 15px; display: flex; gap: 8px; }
.notification-badge { position: relative; min-width: 48px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 9px; border: 2px solid var(--paper); border-radius: 999px; box-shadow: 0 4px 0 var(--ink), 0 0 0 1px var(--ink); color: var(--ink); cursor: pointer; font-size: 17px; font-weight: 900; }
.notification-badge b { min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 5px; background: var(--ink); border-radius: 999px; color: var(--paper); font: 900 10px/1 Arial, sans-serif; }
.notification-mention { background: #ffd84d; }
.notification-signal { background: var(--coral); }
.notification-badge::after { content: attr(data-tooltip); position: absolute; z-index: 8; left: 0; top: calc(100% + 11px); width: max-content; max-width: 190px; padding: 8px 10px; background: var(--ink); border-radius: 9px; color: var(--cream); font-size: 10px; font-weight: 750; line-height: 1.3; opacity: 0; pointer-events: none; transform: translateY(-3px); transition: opacity 120ms ease, transform 120ms ease; }
.notification-badge:hover::after, .notification-badge:focus-visible::after { opacity: 1; transform: translateY(0); }

.clay-avatar { position: relative; width: 124px; height: 112px; border: 4px solid rgba(24, 55, 44, 0.86); border-radius: 51% 49% 42% 58% / 51% 43% 57% 49%; box-shadow: inset -13px -10px 0 rgba(90, 42, 29, 0.12), 0 9px 0 rgba(24, 55, 44, 0.14); transform: rotate(-3deg); }
.clay-avatar::before, .clay-avatar::after { content: ""; position: absolute; top: -23px; width: 37px; height: 48px; background: inherit; border: 4px solid rgba(24, 55, 44, 0.86); border-bottom: 0; border-radius: 70% 20% 0 0; }
.clay-avatar::before { left: 8px; transform: rotate(-24deg); }
.clay-avatar::after { right: 6px; transform: scaleX(-1) rotate(-24deg); }
.avatar-coral { background: var(--coral); }
.avatar-peach { background: var(--peach); }
.avatar-mint { background: var(--mint); }
.avatar-sky { background: var(--sky); }
.clay-eye { position: absolute; z-index: 2; top: 38px; width: 14px; height: 18px; background: var(--paper); border: 3px solid var(--ink); border-radius: 50%; }
.clay-eye::after { content: ""; position: absolute; width: 4px; height: 6px; left: 4px; top: 6px; background: var(--ink); border-radius: 50%; }
.clay-eye.eye-one { left: 31px; }
.clay-eye.eye-two { right: 28px; }
.clay-smile { position: absolute; left: 47px; top: 70px; width: 32px; height: 17px; border: 3px solid var(--ink); border-top: 0; border-radius: 0 0 20px 20px; }

.profile-body { padding: 29px; }
.profile-body h2 { margin: 0; font-family: var(--font-display); font-size: 38px; font-weight: 400; line-height: 1; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.profile-body p { margin: 14px 0 19px; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.profile-body > .clay-button { width: 100%; }
.profile-tags, .match-copy > div { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 17px; }
.profile-tags span, .match-copy > div span { padding: 7px 10px; background: #eef0db; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; }

.little-note { position: relative; margin: 0 8px; padding: 19px 18px 17px 47px; background: #fff2a8; border: 1px solid #ddc451; box-shadow: 3px 5px 0 rgba(139, 112, 30, 0.14); transform: rotate(-1.2deg); }
.little-note .scribble { position: absolute; left: 16px; top: 15px; font-family: Georgia, serif; font-size: 25px; }
.little-note b { font-family: var(--font-display); font-weight: 400; }
.little-note p { margin: 5px 0 0; color: #655a2a; font-size: 10px; line-height: 1.5; }

.content-column { min-width: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 5px 6px 16px; }
.section-heading h2, .people-column h2 { margin: 0; font-family: var(--font-display); font-size: 31px; font-weight: 400; letter-spacing: -0.015em; }
.live-pill, .encrypted-pill, .filter-pill { display: flex; align-items: center; gap: 7px; padding: 7px 10px; background: rgba(255, 253, 243, 0.66); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 9px; font-weight: 750; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #5aaa6d; box-shadow: 0 0 0 3px rgba(90, 170, 109, 0.17); }
.filter-pill { color: var(--ink); cursor: pointer; }

.composer { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 18px; margin-bottom: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(72, 65, 37, 0.08); }
.composer label { min-width: 0; }
.composer textarea { width: 100%; min-height: 68px; resize: vertical; padding: 5px 2px; background: transparent; border: 0; color: var(--ink); font-size: 15px; line-height: 1.5; outline: 0; }
.composer textarea::placeholder { color: #89978f; }
.reply-context { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; background: var(--lavender); border: 1px solid #9b8dcd; border-radius: 12px; color: var(--ink); font-size: 9px; font-weight: 800; }
.reply-context button { padding: 0; background: transparent; border: 0; border-bottom: 1px solid currentColor; color: var(--ink-soft); font-size: 8px; font-weight: 800; cursor: pointer; }
.composer-footer { grid-column: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.background-picks { display: flex; gap: 7px; }
.swatch { width: 24px; height: 24px; padding: 0; border: 2px solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch.is-selected { box-shadow: 0 0 0 2px var(--ink); }
.swatch-dune { background: var(--dune); }.swatch-mint { background: var(--mint); }.swatch-sky { background: var(--sky); }.swatch-lavender { background: var(--lavender); }
.swatch-custom { background-image: linear-gradient(135deg, rgba(24, 55, 44, 0.05), rgba(24, 55, 44, 0.28)), var(--custom-background-image); background-position: center; background-size: cover; }

.mini-avatar { position: relative; display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; background: var(--dune); border: 2px solid var(--ink); border-radius: 46% 54% 43% 57% / 55% 44% 56% 45%; box-shadow: 0 3px 0 var(--ink); overflow: hidden; font-family: Georgia, serif; font-weight: 900; }
.mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mini-avatar-mint { background: var(--mint); }.mini-avatar-coral { background: var(--coral); }.mini-avatar-sky { background: var(--sky); }.mini-avatar-peach { background: var(--peach); }
.mini-avatar i { position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; background: #5aaa6d; border: 2px solid var(--paper); border-radius: 50%; }

.feed { display: grid; gap: 14px; }
.post-card { position: relative; overflow: hidden; padding: 19px 21px 14px; border: 1px solid var(--line); border-radius: 23px 27px 20px 25px; box-shadow: 0 8px 24px rgba(72, 65, 37, 0.08); }
.post-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -50px; bottom: -65px; background: rgba(255, 255, 255, 0.25); border-radius: 42% 58% 49% 51% / 60% 39% 61% 40%; transform: rotate(18deg); pointer-events: none; }
.post-sky { background: #d9eef4; }.post-cream { background: var(--paper); }.post-mint { background: #d9ecd5; }.post-dune { background: #f2d69c; }.post-lavender { background: #e4dff3; }
.post-custom { background-color: var(--ink); background-image: linear-gradient(135deg, rgba(12, 29, 23, 0.58), rgba(12, 29, 23, 0.78)), var(--post-background-image); background-position: center; background-size: cover; color: var(--cream); }
.post-custom header span, .post-custom footer, .post-custom .post-reply-count { color: rgba(247, 242, 223, 0.82); }
.post-custom .post-reply-button { background: rgba(255, 253, 243, 0.92); color: var(--ink); }
.post-card header { display: flex; align-items: center; gap: 11px; }
.post-card header > div:nth-child(2) { display: grid; gap: 3px; }
.post-card header b { font-size: 17px; line-height: 1.05; }
.post-card header span { color: var(--ink-soft); font-size: 12px; }
.more-button { margin-left: auto; border: 0; background: transparent; cursor: pointer; font-size: 16px; letter-spacing: 3px; }
.post-card > p { max-width: 820px; margin: 22px 2px 25px; font-family: var(--font-display); font-size: clamp(24px, 2.45vw, 33px); font-weight: 400; line-height: 1.14; letter-spacing: -0.015em; }
.mention-link { display: inline; padding: 0; background: transparent; border: 0; border-bottom: 3px solid currentColor; color: inherit; font: inherit; line-height: inherit; cursor: pointer; }
.mention-link:hover { color: var(--coral-deep); }
.post-card footer { position: relative; z-index: 1; display: flex; gap: 20px; align-items: center; color: var(--ink-soft); font-size: 12px; }
.post-card footer button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.post-card footer button.is-loved { color: var(--coral-deep); font-weight: 900; }
.post-card footer .post-reply-button { padding: 8px 13px; background: rgba(255, 253, 243, 0.68); border: 1px solid var(--ink); border-radius: 999px; box-shadow: 0 2px 0 var(--ink); color: var(--ink); font-size: 13px; font-weight: 850; }
.post-reply-count { color: var(--ink-soft); font-size: 12px; }
.post-card footer > span { margin-left: auto; }
.post-name-line { display: flex; align-items: center; gap: 6px; }
.role-badge { display: inline-flex; align-items: center; width: max-content; padding: 4px 9px; border: 1px solid var(--ink); border-radius: 999px; box-shadow: 0 2px 0 var(--ink); font-family: Arial, sans-serif; font-size: 9px; font-weight: 950; letter-spacing: 0.08em; line-height: 1; vertical-align: middle; white-space: nowrap; }
.role-badge-admin { background: #ffd84d; color: #3d2b00; transform: rotate(-1.5deg); }
.role-badge-moderator { background: var(--sky); color: var(--ink); }
.post-card header .role-badge-admin, .person-row .role-badge-admin, .signal-recipient .role-badge-admin { color: #3d2b00; font-size: 9px; }
.post-card header .role-badge-moderator, .person-row .role-badge-moderator, .signal-recipient .role-badge-moderator { color: var(--ink); font-size: 9px; }
.profile-body h2 .role-badge, .match-copy h3 .role-badge { font-size: 7px; transform: translateY(-2px) rotate(-1.5deg); }
.profile-click-target { cursor: pointer; }
.profile-click-target:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.post-sticker { position: absolute; right: 22px; top: 75px; padding: 9px 10px; background: var(--coral); border: 2px solid var(--ink); border-radius: 50%; box-shadow: 2px 3px 0 var(--ink); font-size: 7px; font-weight: 900; line-height: 1.05; text-align: center; text-transform: uppercase; transform: rotate(12deg); }

.people-column { padding: 27px; background: rgba(255, 253, 243, 0.68); border: 1px solid var(--line); border-radius: var(--radius-lg); backdrop-filter: blur(10px); }
.people-column > header { display: flex; justify-content: space-between; align-items: end; }
.people-column h2 { font-size: 39px; }
.people-column > header button, .prompt-card button { padding: 0; background: transparent; border: 0; border-bottom: 1px solid; font-size: 11px; font-weight: 800; cursor: pointer; }
.people-stack { display: grid; margin-top: 20px; }
.person-row { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.person-row .mini-avatar { width: 56px; height: 56px; flex-basis: 56px; border-width: 3px; }
.person-row > div:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.person-row b { overflow: hidden; font-size: 15px; text-overflow: ellipsis; }
.person-row span { color: var(--ink-soft); font-size: 11px; }
.person-row > button, .circle-button { margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); box-shadow: 0 3px 0 var(--ink); cursor: pointer; font-size: 17px; }
.prompt-card { display: grid; gap: 13px; padding: 23px; margin-top: 8px; background: var(--lavender); border: 1px solid #9b8dcd; border-radius: 20px 24px 18px 22px; transform: rotate(0.7deg); }
.prompt-card span { font-size: 10px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.prompt-card b { font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.16; }
.prompt-card button { justify-self: start; margin-top: 3px; }
.unofficial-note { margin: 0 4px; color: var(--ink-soft); font-size: 8px; line-height: 1.45; text-align: center; }

.matching-grid { display: grid; gap: 16px; }
.match-card { display: grid; grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr); overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }
.match-visual { position: relative; min-height: 260px; display: grid; place-items: center; overflow: hidden; }
.match-card-peach .match-visual { background: linear-gradient(140deg, #f5c69e, #dc886f); }
.match-card-green .match-visual { background: linear-gradient(140deg, #c7e5bc, #76aa75); }
.match-card-blue .match-visual { background: linear-gradient(140deg, #cbe7f1, #7eacc9); }
.match-visual::before, .match-visual::after { content: ""; position: absolute; width: 140px; height: 90px; background: rgba(255, 253, 243, 0.25); border-radius: 50%; }
.match-visual::before { left: -70px; top: 22px; }.match-visual::after { right: -70px; bottom: 18px; }
.match-percent { position: absolute; left: 13px; bottom: 13px; padding: 6px 9px; background: var(--paper); border: 1px solid var(--ink); border-radius: 999px; font-size: 8px; font-weight: 850; }
.match-copy { padding: 27px; }
.match-copy h3 { margin: 0; font-family: var(--font-display); font-size: 30px; font-weight: 400; letter-spacing: -0.015em; }
.match-copy > p { margin: 13px 0 17px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.match-copy footer { display: flex; align-items: center; gap: 10px; margin-top: 23px; }
.match-copy footer .circle-button { margin: 0; width: 41px; height: 41px; }

.signals-intro { padding: clamp(30px, 6vw, 64px); background: var(--ink); color: var(--cream); border-radius: 42px 31px 48px 36px; box-shadow: 0 10px 0 rgba(24, 55, 44, 0.18), var(--shadow); }
.signals-intro .eyebrow { color: var(--mint); }
.signals-intro h3 { max-width: 640px; margin: 0; font-family: var(--font-display); font-size: clamp(30px, 5vw, 52px); font-weight: 400; line-height: 1.04; letter-spacing: -0.018em; }
.signals-intro p { max-width: 650px; margin: 19px 0 28px; color: rgba(247, 242, 223, 0.7); font-size: 13px; line-height: 1.65; }
.signal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.signals-intro .signal-actions .clay-button-cream { background: var(--cream); color: var(--ink); }
.signal-inbox { padding: clamp(25px, 3vw, 40px); background: rgba(255, 253, 243, 0.9); border: 1px solid var(--line); border-radius: 32px 26px 36px 29px; box-shadow: var(--shadow); }
.signal-inbox > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.signal-inbox h3 { margin: 3px 0 0; font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 400; line-height: 1; }
.signal-inbox-note { margin: 17px 0 2px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.signal-inbox-list { display: grid; }
.signal-thread { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 19px 3px; border-bottom: 1px solid var(--line); }
.signal-thread:last-child { border-bottom: 0; }
.signal-thread .mini-avatar { width: 58px; height: 58px; flex-basis: 58px; }
.signal-thread-copy { min-width: 0; display: grid; gap: 5px; }
.signal-thread-copy b { font-size: 16px; }
.signal-thread-copy p { margin: 0; overflow: hidden; color: var(--ink-soft); font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.signal-thread-meta { display: grid; justify-items: end; gap: 7px; color: var(--ink-soft); font-size: 10px; }
.signal-thread-unread { min-width: 24px; height: 24px; display: grid; place-items: center; padding: 0 7px; background: var(--coral); border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: 10px; font-weight: 900; }
.signal-thread > button { grid-column: 1 / -1; justify-self: end; }
.signal-orbit { position: relative; width: 96px; height: 96px; margin-bottom: 28px; border: 1px solid rgba(247, 242, 223, 0.28); border-radius: 50%; }
.signal-orbit::before { content: "☽"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--mint); font-size: 38px; }
.signal-orbit i { position: absolute; width: 10px; height: 10px; background: var(--coral); border-radius: 50%; }.signal-orbit i:first-child { left: 8px; top: 18px; }.signal-orbit i:nth-child(2) { right: 3px; top: 45px; }.signal-orbit i:nth-child(3) { left: 32px; bottom: -3px; }
.signal-guardrails { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.signal-guardrails > div { padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.signal-guardrails span { color: var(--coral-deep); font-size: 9px; font-weight: 900; }
.signal-guardrails b { display: block; margin-top: 9px; font-family: var(--font-display); font-size: 16px; font-weight: 400; }
.signal-guardrails p { margin: 7px 0 0; color: var(--ink-soft); font-size: 9px; line-height: 1.5; }
.signal-directory { padding: 22px; margin-top: 18px; background: var(--paper); border: 1px solid var(--ink); border-radius: 24px 19px 27px 21px; box-shadow: 0 6px 0 rgba(24, 55, 44, 0.16); }
.signal-directory > header { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.signal-directory h3 { margin: 2px 0 0; font-family: var(--font-display); font-size: 27px; font-weight: 400; }
.signal-recipient-list { display: grid; }
.signal-recipient { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.signal-recipient:last-child { border-bottom: 0; }
.signal-recipient > div:nth-child(2) { min-width: 0; display: grid; gap: 4px; }
.signal-recipient b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; }
.signal-recipient span { color: var(--ink-soft); font-size: 9px; }
.signal-recipient .clay-button { min-height: 40px; padding: 9px 14px; font-size: 10px; }
.signal-directory-empty { display: grid; justify-items: start; gap: 14px; padding: 22px 0 4px; }
.signal-directory-empty p { max-width: 520px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }

.clay-dialog { width: min(900px, calc(100% - 24px)); max-height: calc(100vh - 30px); padding: 0; overflow: auto; background: var(--cream); border: 2px solid var(--ink); border-radius: 34px 28px 38px 30px; box-shadow: 0 14px 0 rgba(24, 55, 44, 0.24), 0 30px 80px rgba(24, 55, 44, 0.28); }
.clay-dialog::backdrop { background: rgba(17, 37, 30, 0.68); backdrop-filter: blur(7px); }
.clay-dialog > form { padding: clamp(22px, 4vw, 42px); }
.clay-dialog header { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.clay-dialog h2 { margin: 0; font-family: var(--font-display); font-size: clamp(31px, 5vw, 48px); font-weight: 400; letter-spacing: -0.018em; }
.dialog-close { width: 38px; height: 38px; flex: 0 0 38px; background: var(--paper); border: 1px solid var(--ink); border-radius: 50%; box-shadow: 0 3px 0 var(--ink); cursor: pointer; font-size: 22px; }
.profile-dialog { width: min(1180px, calc(100% - 24px)); }
.profile-dialog > form { padding: clamp(28px, 4vw, 52px); }
.profile-dialog h2 { font-size: clamp(40px, 5.4vw, 64px); }
.profile-dialog .dialog-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: 44px; margin-top: 34px; }
.profile-dialog .field-label { gap: 9px; margin-bottom: 22px; font-size: 12px; }
.profile-dialog .field-label small { font-size: 10px; line-height: 1.45; }
.profile-dialog .field-label input,
.profile-dialog .field-label textarea { padding: 15px 16px; border-radius: 15px; font-size: 15px; line-height: 1.45; }
.profile-dialog .field-label textarea { min-height: 150px; }
.profile-dialog fieldset legend { margin-bottom: 12px; font-size: 12px; }
.profile-dialog .intent-picker { gap: 9px; }
.profile-dialog .intent-picker span { padding: 10px 14px; font-size: 12px; }
.profile-dialog .avatar-picker > div:first-of-type { margin-bottom: 14px; font-size: 11px; }
.profile-dialog .avatar-options { gap: 12px; }
.profile-dialog .avatar-option { border-radius: 22px 17px 24px 18px; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; margin-top: 28px; }
.dialog-grid section { min-width: 0; }
.field-label { display: grid; gap: 7px; margin-bottom: 17px; font-size: 10px; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.field-label small { color: var(--ink-soft); font-size: 8px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.field-label input, .field-label textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--ink); border-radius: 13px; background: var(--paper); color: var(--ink); text-transform: none; }
.field-label textarea { min-height: 112px; resize: vertical; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
fieldset legend { margin-bottom: 10px; font-size: 10px; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.intent-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.intent-picker legend { width: 100%; }
.intent-picker input, .banner-picker input, .avatar-option input { position: absolute; opacity: 0; pointer-events: none; }
.intent-picker span { display: block; padding: 8px 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 10px; cursor: pointer; }
.intent-picker input:checked + span { background: var(--mint); border-color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.avatar-picker > div:first-of-type { margin: -3px 0 11px; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }
.avatar-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.avatar-option { position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--paper); border: 2px solid transparent; border-radius: 19px 15px 20px 14px; cursor: pointer; }
.avatar-option:has(input:checked) { border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); transform: translateY(-2px); }
.avatar-option img { width: 100%; height: 100%; object-fit: cover; }
.avatar-demo { width: 64%; height: 58%; border: 2px solid var(--ink); border-radius: 50% 44% 48% 52%; box-shadow: inset -6px -5px 0 rgba(80, 50, 30, 0.12), 0 4px 0 rgba(24, 55, 44, 0.15); }
.avatar-demo::before, .avatar-demo::after { content: ""; position: absolute; top: 38%; width: 5px; height: 7px; background: var(--ink); border-radius: 50%; }.avatar-demo::before { left: 39%; }.avatar-demo::after { right: 39%; }
.avatar-demo-coral { background: var(--coral); }.avatar-demo-mint { background: var(--mint); }.avatar-demo-sky { background: var(--sky); }.avatar-demo-peach { background: var(--peach); }
.banner-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 24px; }
.banner-picker legend { grid-column: 1 / -1; }
.banner-picker span { min-height: 62px; display: grid; place-items: end center; padding: 24px 7px 9px; border: 2px solid transparent; border-radius: 14px; font-size: 10px; font-weight: 800; text-align: center; cursor: pointer; }
.banner-picker input:checked + span { border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.banner-dune span { background: var(--dune); }.banner-mint span { background: var(--mint); }.banner-sky span { background: var(--sky); }.banner-lavender span { background: var(--lavender); }
.banner-custom span { background-color: #d9d5c9; background-image: linear-gradient(135deg, rgba(255, 253, 243, 0.14), rgba(24, 55, 44, 0.36)), var(--custom-background-image); background-position: center; background-size: cover; color: var(--paper); text-shadow: 0 1px 3px rgba(12, 29, 23, 0.8); }
.custom-background-field { margin-top: 20px; }
.mudprint-links { padding: 26px; margin-top: 38px; background: rgba(255, 253, 243, 0.66); border: 1px solid var(--line); border-radius: 26px 21px 29px 22px; }
.mudprint-links > header { align-items: end; }
.mudprint-links h3 { margin: 0; font-family: var(--font-display); font-size: 34px; font-weight: 400; line-height: 1; }
.mudprint-links > header > p { max-width: 440px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.55; text-align: right; }
.mudprint-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; margin-top: 22px; }
.mudprint-link-card { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; align-items: start; gap: 14px 16px; min-height: 0; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px 16px 23px 18px; }
.mudprint-wallet-card { grid-column: 1 / -1; }
.mudprint-link-card b { display: block; margin: 2px 0 8px; font-family: var(--font-display); font-size: 25px; font-weight: 400; line-height: 1.05; }
.mudprint-link-card small { display: block; color: var(--ink-soft); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.mudprint-link-icon { display: grid; width: 44px; height: 44px; place-items: center; background: var(--mint); border: 1px solid var(--ink); border-radius: 48% 52% 44% 56%; box-shadow: 0 3px 0 rgba(24, 55, 44, 0.18); font-size: 20px; font-weight: 900; }
.mudprint-link-copy { min-width: 0; display: grid; align-content: start; }
.link-state { position: static; grid-column: 2; justify-self: start; padding: 6px 10px; background: #ebe8db; border-radius: 999px; color: var(--ink-soft); font-size: 9px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.link-state.is-linked { background: var(--mint); color: var(--ink); }
.link-email-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; margin-top: 14px; }
.link-email-controls .clay-button { min-height: 46px; padding-inline: 14px; font-size: 11px; }
.profile-email-otp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(135px, 0.58fr) auto; align-items: end; gap: 9px; padding: 13px; margin-top: 10px; background: rgba(164, 216, 175, 0.28); border: 1px dashed rgba(24, 55, 44, 0.42); border-radius: 14px; }
.profile-email-otp label { min-width: 0; display: grid; gap: 5px; color: var(--ink-soft); font-size: 9px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.profile-email-otp select { width: 100%; }
.profile-email-otp .clay-button { min-height: 44px; padding-inline: 13px; font-size: 11px; }
.passkey-steps { display: grid; gap: 8px; margin: 16px 0 4px; padding: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.4; list-style: none; }
.passkey-steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 8px; }
.passkey-steps span { display: grid; width: 22px; height: 22px; place-items: center; background: var(--mint); border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); font-size: 9px; font-weight: 900; }
.mudprint-link-card .passkey-button-small { width: 100%; margin-top: 13px; }
.mudprint-link-card .apple-auth-button-small { width: min(100%, 260px); margin-top: 16px; }
.mudprint-link-status { min-height: 15px; margin: 14px 2px 0; }
.clay-dialog > form > footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.clay-dialog > form > footer > span { max-width: 520px; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }

.dm-dialog { width: min(520px, calc(100% - 24px)); text-align: center; }
.dm-dialog form { position: relative; display: grid; justify-items: center; }
.dm-dialog .dialog-close { position: absolute; right: 19px; top: 19px; }
.dm-seal { display: grid; width: 82px; height: 82px; place-items: center; margin: 5px 0 20px; background: var(--ink); color: var(--mint); border-radius: 45% 55% 51% 49% / 57% 45% 55% 43%; box-shadow: 0 6px 0 rgba(24, 55, 44, 0.18); font-size: 38px; transform: rotate(-4deg); }
.dm-dialog p { max-width: 390px; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.dm-warning { display: grid; gap: 4px; width: 100%; padding: 14px; margin: 10px 0 24px; background: #fff2a8; border: 1px solid #ddc451; border-radius: 14px; text-align: left; }
.dm-warning b { font-size: 11px; }.dm-warning span { color: #655a2a; font-size: 9px; line-height: 1.45; }
.member-profile-dialog { width: min(760px, calc(100% - 24px)); }
.member-profile-card { position: relative; display: grid; grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr); min-height: 420px; overflow: hidden; }
.member-profile-card[data-background="dune"] { background: var(--dune); }.member-profile-card[data-background="mint"] { background: var(--mint); }.member-profile-card[data-background="sky"] { background: var(--sky); }.member-profile-card[data-background="lavender"] { background: var(--lavender); }
.member-profile-card[data-background="custom"] { background-color: var(--ink); background-image: linear-gradient(135deg, rgba(12, 29, 23, 0.18), rgba(12, 29, 23, 0.48)), var(--member-background-image); background-position: center; background-size: cover; }
.member-profile-card > .dialog-close { position: absolute; z-index: 3; right: 18px; top: 18px; }
.member-profile-visual { min-height: 100%; display: grid; place-items: center; padding: 34px; background: rgba(255, 253, 243, 0.32); }
.member-profile-avatar { display: grid; width: min(210px, 100%); aspect-ratio: 1; place-items: center; overflow: hidden; background: var(--paper); border: 5px solid var(--ink); border-radius: 43% 57% 52% 48% / 47% 42% 58% 53%; box-shadow: 0 10px 0 rgba(24, 55, 44, 0.18); transform: rotate(-2deg); }
.member-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }.member-profile-avatar > span { font-family: var(--font-display); font-size: 72px; }
.member-profile-copy { padding: 54px 42px 38px; background: rgba(255, 253, 243, 0.78); }
.member-profile-copy h2 { margin: 2px 0 8px; font-family: var(--font-display); font-size: clamp(34px, 6vw, 52px); font-weight: 400; line-height: 1; overflow-wrap: anywhere; }
.member-profile-copy > p { margin: 18px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.member-account-state { display: inline-flex; padding: 5px 9px; border: 1px solid var(--ink); border-radius: 999px; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.member-account-state.is-active { background: var(--mint); }.member-account-state.is-suspended { background: #fff2a8; }.member-account-state.is-banned { background: var(--coral); }
.member-profile-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.member-admin-panel { padding: 19px; margin-top: 26px; background: #fff6d0; border: 2px solid var(--ink); border-radius: 19px 16px 22px 17px; box-shadow: 4px 5px 0 var(--ink); }
.member-admin-panel h3 { margin: 2px 0 7px; font-family: var(--font-display); font-size: 23px; font-weight: 400; }
.member-admin-panel > p { margin: 0 0 15px; color: var(--ink-soft); font-size: 9px; line-height: 1.5; }
.member-admin-panel textarea { min-height: 70px; }
.member-admin-panel > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.member-admin-panel .clay-button { width: 100%; min-height: 48px; padding: 9px 10px; font-size: 10px; line-height: 1.15; }
.member-admin-panel > small { display: block; min-height: 14px; margin-top: 12px; color: var(--ink-soft); font-size: 8px; line-height: 1.45; }

.empty-state { width: 100%; margin: 0; padding: 24px; color: var(--ink-soft); border: 1px dashed var(--line); border-radius: 18px; font-size: 11px; line-height: 1.55; text-align: center; }
.post-card.is-reply { width: calc(100% - 28px); margin-left: 28px; border-left: 7px solid rgba(24, 55, 44, 0.16); }
.match-avatar { position: relative; z-index: 1; width: 166px; height: 166px; overflow: hidden; display: grid; place-items: center; background: rgba(255, 253, 243, 0.66); border: 6px solid rgba(255, 253, 243, 0.9); border-radius: 43% 57% 52% 48% / 47% 42% 58% 53%; box-shadow: 0 10px 0 rgba(24, 55, 44, 0.16); transform: rotate(-2deg); }
.match-avatar img { width: 100%; height: 100%; object-fit: cover; }
.match-avatar span { font-family: var(--font-display); font-size: 70px; color: var(--ink); }
.signal-directory-status { max-width: 560px; margin: 16px auto 0 !important; font-size: 10px !important; }

.consent-dialog { width: min(690px, calc(100% - 24px)); }
.consent-lead { max-width: 580px; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.consent-checks { display: grid; gap: 10px; margin: 22px 0; }
.consent-checks label { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; background: rgba(255, 253, 243, 0.72); border: 1px solid var(--line); border-radius: 16px 13px 18px 14px; color: var(--ink); font-size: 11px; line-height: 1.5; cursor: pointer; }
.consent-checks input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--coral); }
.turnstile-shell { min-height: 66px; display: grid; align-items: center; justify-content: start; }
.consent-status { min-height: 22px; margin: 12px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.consent-status.is-error { color: #9f3228; font-weight: 750; }
.consent-dialog footer small { max-width: 390px; color: var(--ink-soft); font-size: 9px; line-height: 1.45; }

.dm-thread { width: 100%; max-height: 270px; overflow: auto; display: grid; gap: 9px; padding: 12px; margin: 14px 0; background: rgba(255, 253, 243, 0.62); border: 1px solid var(--line); border-radius: 18px; text-align: left; }
.dm-bubble { width: min(86%, 360px); padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px 16px 16px 5px; }
.dm-bubble.is-outbox { justify-self: end; background: var(--mint); border-radius: 16px 16px 5px 16px; }
.dm-bubble small { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: 8px; text-transform: uppercase; }
.dm-dialog .dm-bubble p { max-width: none; margin: 0; color: var(--ink); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.dm-dialog .field-label { width: 100%; text-align: left; }
.dm-dialog .field-label textarea { min-height: 92px; }
.dm-dialog .dm-status { min-height: 20px; margin: 0 0 14px; font-size: 9px; }

.toast { position: fixed; z-index: 40; left: 50%; bottom: 24px; max-width: min(460px, calc(100% - 30px)); padding: 12px 16px; background: var(--ink); color: var(--cream); border: 1px solid var(--cream); border-radius: 999px; box-shadow: 0 6px 0 rgba(24, 55, 44, 0.2); font-size: 11px; font-weight: 750; text-align: center; transform: translateX(-50%); }

[hidden] { display: none !important; }

@media (max-width: 1280px) {
  .site-header {
    grid-template-columns: 1fr auto;
    background: rgba(250, 246, 231, 0.96);
    backdrop-filter: none;
  }
  .top-nav { position: fixed; z-index: 19; left: 50%; bottom: 14px; transform: translateX(-50%); box-shadow: 0 8px 30px rgba(24, 55, 44, 0.18); }
  .wallet-area { grid-column: 2; }
  .app-shell { width: min(1180px, calc(100% - 32px)); grid-template-columns: 280px minmax(0, 1fr); padding-bottom: 65px; }
  .people-column { position: static; grid-column: 1 / -1; grid-template-columns: 1fr 1.4fr; }
  .people-column > header, .unofficial-note { grid-column: 1 / -1; }
  .people-stack { margin: 0; }
  .prompt-card { margin: 0; }
  .site-footer { padding-bottom: 88px; }
  .profile-dialog .dialog-grid { gap: 28px; }
  .mudprint-link-grid { grid-template-columns: 1fr 1fr; }
  .mudprint-wallet-card { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .site-header { min-height: 69px; padding: 10px 14px; }
  .brand small { display: none; }
  .wallet-state { max-width: 110px; font-size: 13px; }
  .welcome-strip { grid-template-columns: 1fr; margin-top: 42px; }
  .welcome-copy h1 { font-size: clamp(44px, 12vw, 72px); }
  .safety-card { max-width: 520px; }
  .app-shell { grid-template-columns: 1fr; }
  .profile-column { position: static; grid-template-columns: 1.2fr 0.8fr; }
  .profile-card { display: grid; grid-template-columns: 180px 1fr; }
  .profile-art { min-height: 100%; border: 0; border-right: 1px solid var(--line); }
  .profile-art img { width: 150px; height: 150px; }
  .little-note { align-self: center; }
  .signal-guardrails { grid-template-columns: 1fr; }
  .dialog-grid, .profile-dialog .dialog-grid { grid-template-columns: 1fr; }
  .mudprint-links > header { align-items: start; flex-direction: column; }
  .mudprint-links > header > p { max-width: 600px; text-align: left; }
}

@media (max-width: 570px) {
  .site-header { grid-template-columns: 1fr auto; }
  .brand b { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .wallet-state { max-width: 92px; font-size: 12px; }
  .wallet-area { gap: 7px; }
  .wallet-area .clay-button { min-height: 44px; padding: 9px 12px; font-size: 12px; }
  .top-nav { width: calc(100% - 24px); justify-content: center; }
  .nav-tab { flex: 1; padding-inline: 8px; }
  .welcome-strip, .app-shell { width: min(100% - 20px, 1440px); }
  .welcome-strip { margin-bottom: 40px; }
  .welcome-copy h1 { font-size: 43px; }
  .welcome-copy > p { font-size: 14px; }
  .welcome-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .returning-holder-auth { padding: 17px; }
  .returning-auth-actions, .email-signin-form, .otp-entry { display: grid; grid-template-columns: 1fr; }
  .otp-entry { grid-column: 1; }
  .returning-auth-actions > *, .email-signin-form .clay-button, .returning-auth-actions .apple-auth-button { width: 100%; }
  .safety-card { padding: 27px 23px; border-radius: 31px 25px 36px 27px; }
  .safety-card > div:not(.safety-icon) { padding-right: 57px; }
  .safety-icon { width: 49px; height: 55px; right: 19px; }
  .safety-icon::before { left: 12px; top: 15px; }
  .safety-icon span { left: 21px; top: 29px; }
  .profile-column { grid-template-columns: 1fr; }
  .profile-card { display: block; }
  .profile-art { min-height: 176px; border: 0; border-bottom: 1px solid var(--line); }
  .profile-art img { width: 138px; height: 138px; }
  .profile-body { padding: 23px; }
  .profile-body h2 { font-size: 34px; }
  .profile-body p { font-size: 14px; }
  .section-heading { align-items: start; }
  .live-pill { display: none; }
  .composer { grid-template-columns: 34px 1fr; padding: 14px; }
  .composer .mini-avatar { width: 34px; height: 34px; flex-basis: 34px; }
  .composer-footer { align-items: end; }
  .post-card { padding: 16px; }
  .post-card > p { font-size: 24px; }
  .post-sticker { display: none; }
  .people-column { grid-template-columns: 1fr; }
  .people-column > header, .unofficial-note { grid-column: 1; }
  .match-card { grid-template-columns: 1fr; }
  .match-visual { min-height: 220px; }
  .match-copy { padding: 22px; }
  .signals-intro { padding: 30px 23px; }
  .signal-inbox > header { align-items: stretch; flex-direction: column; }
  .signal-inbox > header .clay-button { width: 100%; }
  .signal-thread { grid-template-columns: auto minmax(0, 1fr); }
  .signal-thread-meta { grid-column: 2; justify-items: start; }
  .signal-thread > button { grid-column: 2; justify-self: start; }
  .signal-actions { display: grid; }
  .signal-recipient { grid-template-columns: auto minmax(0, 1fr); }
  .signal-recipient .clay-button { grid-column: 2; justify-self: start; width: auto; }
  .member-profile-card { grid-template-columns: 1fr; }
  .member-profile-visual { min-height: 230px; }
  .member-profile-avatar { width: 150px; }
  .member-profile-copy { padding: 35px 23px 28px; }
  .avatar-options { grid-template-columns: repeat(3, 1fr); }
  .banner-picker { grid-template-columns: repeat(2, 1fr); }
  .profile-dialog > form { padding: 24px 18px 26px; }
  .profile-dialog .field-label input, .profile-dialog .field-label textarea { font-size: 16px; }
  .mudprint-links { padding: 18px; margin-top: 28px; }
  .mudprint-link-grid { grid-template-columns: 1fr; }
  .mudprint-wallet-card { grid-column: auto; }
  .mudprint-link-card { min-height: 0; padding: 20px; }
  .link-email-controls { grid-template-columns: 1fr; }
  .profile-email-otp { grid-template-columns: 1fr; }
  .mudprint-link-card .passkey-button-small, .mudprint-link-card .apple-auth-button-small { width: 100%; }
  .clay-dialog > form > footer { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .ambient-shape-one { animation: float-one 18s ease-in-out infinite alternate; }
  .ambient-shape-two { animation: float-two 22s ease-in-out infinite alternate; }
  .live-pill i { animation: pulse 1.8s ease-in-out infinite; }
  @keyframes float-one { to { transform: translate(-34px, 44px) rotate(-6deg); } }
  @keyframes float-two { to { transform: translate(29px, -38px) rotate(13deg); } }
  @keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(90, 170, 109, 0); } }
}
