:root {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color-scheme: light;
  --surface-hover: #f1ebe9;
  --focus-ring: #a97f93;
  --on-accent: #ffffff;
  --paper: #faf8f4;
  --white: #fffdfa;
  --ink: #352e31;
  --muted: #807579;
  --plum: #624354;
  --plum-dark: #49303e;
  --line: #e8e1dc;
  --sage: #dfe5d8;
  --rose: #e4b4a6;
  --serif: Georgia, "Times New Roman", serif;
  --mark-left: #624354;
  --mark-right: #a9823b;
  /* Deliberate system UI stack; no web font is loaded. */
  --sans:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  /* Type scale. Nothing user-readable goes below --text-xs. */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --display-sm: 1.375rem;
  --label-weight: 600;
  --label-tracking: 0.12em;
}

/* Semantic surface and feedback colors; illustrated artwork keeps its own palette.
   Fallbacks below preserve the original light theme exactly. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #211d22;
  --white: #2b252d;
  --ink: #f3eae5;
  --muted: #c1b3bc;
  --plum: #dfb5cd;
  --plum-dark: #f0cde0;
  --line: #51434e;
  --sage: #424d40;
  --rose: #dfb4a6;
  --surface-hover: #3c303a;
  --focus-ring: #e6bed1;
  --on-accent: #30232d;
  --surface-soft: #322b32;
  --surface-accent: #40313e;
  --surface-sage: #2c332d;
  --surface-gold: #393229;
  --surface-navigation: #272128;
  --text-soft: #c1b3bc;
  --text-body: #e7d8df;
  --text-accent: #d9adc5;
  --text-sage: #bccdb2;
  --text-gold: #d9c096;
  --border-soft: #51434e;
  --border-input: #947f8e;
  --border-accent: #9e7b91;
  --border-sage: #65795e;
  --surface-negative: #462c31;
  --border-negative: #a2686b;
  --text-negative: #ffc3ba;
  --surface-positive: #2b3b2f;
  --text-positive: #c2dbb5;
  --portrait-fallback-start: #393c32;
  --portrait-fallback-end: #2b382d;
  --overlay: #100c13b8;
  --mark-left: #dfb5cd;
  --mark-right: #d9c096;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--plum);
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2.65rem, 4.9vw, 5.2rem);
}
h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.7rem);
}
h3 {
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}
h1 em,
h2 em {
  font-weight: 400;
  color: var(--plum);
}
p {
  color: var(--muted);
}
small {
  font-size: var(--text-xs);
  color: var(--muted);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}
main:focus {
  outline: none;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 16px;
  padding: 12px;
  background: var(--plum);
  color: var(--on-accent);
}
.skip-link:focus {
  top: 12px;
}
.page-width {
  width: min(1220px, calc(100% - 112px));
  margin: auto;
}
.public-header {
  height: 105px;
  max-width: 1400px;
  margin: auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--plum) !important;
}
.brand svg {
  width: 38px;
  height: 38px;
  flex: none;
}
/* Split Crest: two shield halves whose seam cuts a heart from the middle. */
.brand .mark-left {
  fill: var(--mark-left);
}
.brand .mark-right {
  fill: var(--mark-right);
}
.public-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: var(--text-sm);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  min-height: 49px;
  padding: 12px 24px;
  background: var(--plum);
  color: var(--on-accent) !important;
  font-weight: 550;
  font-size: var(--text-md);
  line-height: 1.35;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: var(--plum-dark);
  transform: translateY(-1px);
}
.button.small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: var(--text-sm);
}
.button.secondary {
  background: transparent;
  border-color: var(--border-soft, #cfc3c8);
  color: var(--plum) !important;
}
.button.secondary:hover {
  background: var(--surface-soft, #f1ebe9);
}
.button.light {
  background: #fff9f2;
  color: #624354 !important;
}
.button.danger {
  background: #a54343;
  color: #fff !important;
}
.button.full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--plum);
  font-weight: 550;
  font-size: var(--text-sm);
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  flex: none;
}
.icon-button:hover {
  background: var(--surface-soft, #eee6e3);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: var(--label-tracking);
  font-size: var(--text-xs);
  font-weight: var(--label-weight);
  color: var(--plum);
  margin-bottom: 21px;
}
.little-star {
  color: var(--text-accent, #b78370);
}
.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 45px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 66px;
}
.hero h1 {
  font-size: clamp(3rem, 5.1vw, 5.3rem);
  line-height: 1.045;
}
.hero-description {
  font-size: var(--text-md);
  line-height: 1.9;
  margin-top: 27px;
  max-width: 465px;
}
.hero-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: var(--text-sm);
}
.hero-note .icon {
  width: 14px;
  height: 14px;
}
.hero-divider {
  height: 1px;
  width: 66px;
  background: var(--border-soft, #d4c7c2);
  margin-top: 39px;
}
.hero-caption {
  font-family: var(--serif);
  font-style: italic;
  margin-top: 16px;
  font-size: var(--text-md);
  color: var(--text-soft, #8c7977);
}
.hero-art {
  position: relative;
  min-height: 532px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-audience {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-audience .icon {
  width: 18px;
  height: 18px;
  color: var(--text-gold, #a48359);
}
.hero-quip {
  margin-top: 10px;
  font-size: var(--text-xs);
  color: var(--text-soft, #8c7977);
  max-width: 420px;
}
.hero-roles {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 21px;
  font-size: var(--text-sm);
  color: var(--plum);
}
.hero-role-icons {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-soft, #897b68);
}
.hero-role-icons .icon {
  width: 19px;
  height: 19px;
}
.portal-frame {
  position: absolute;
  width: min(490px, calc(100vw + 56px));
  height: 560px;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.portal-arch {
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke-width: 1.25;
  stroke-linecap: round;
}
.portal-outer {
  stroke: #bba5af;
}
.portal-inner {
  stroke: #c3cbb7;
}
.portal-ticks {
  stroke: #b1976f;
  stroke-width: 1.5;
}
.portal-medallion {
  position: absolute;
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border: 1px solid #c6b091;
  border-radius: 50%;
  background: var(--paper);
  color: var(--text-gold, #92775c);
}
.portal-medallion .icon {
  width: 22px;
  height: 22px;
}
.portal-tank {
  top: -35px;
  left: calc(50% - 20px);
}
.portal-healer {
  top: 186px;
  left: 3%;
  color: var(--text-sage, #77836d);
}
.portal-damage {
  top: 347px;
  right: 3%;
  color: var(--text-accent, #896474);
}
.character-ribbon {
  padding: 3px 3px 11px;
  color: var(--plum);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.085em;
  text-align: center;
  white-space: nowrap;
}
.character-ribbon span {
  padding-inline: 3px;
  color: var(--text-gold, #b09570);
}
.story-details .priest-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.story-details .priest-pill .icon {
  width: 12px;
  height: 12px;
  color: var(--text-sage, #89846c);
}
.story-card {
  width: 325px;
  border: 8px solid var(--white);
  border-radius: 15px;
  box-shadow: 0 20px 80px #59453116;
  transform: rotate(5deg);
  position: relative;
  background: var(--white);
}
.story-portrait {
  height: 305px;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
}
.story-portrait > svg {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.story-portrait:after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #34332990);
}
.example-badge {
  position: absolute;
  top: 14px;
  left: 13px;
  background: #fff9eacc;
  border-radius: 30px;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  padding: 4px 9px;
}
.portrait-name {
  position: absolute;
  z-index: 1;
  bottom: 17px;
  left: 20px;
  right: 12px;
  color: white;
}
.portrait-name h3 {
  font-family: inherit;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.portrait-name p {
  color: #fff;
  font-size: var(--text-xs);
  margin-top: 4px;
}
.portrait-name span {
  padding: 0 3px;
}
.story-details {
  padding: 16px 13px 8px;
}
.pill {
  display: inline-block;
  border-radius: 30px;
  background: var(--surface-soft, #f1eeea);
  color: var(--text-soft, #76636c);
  padding: 5px 10px;
  font-size: var(--text-xs);
  line-height: 1.2;
  margin: 0 4px 5px 0;
}
.story-details > p {
  font-family: var(--serif);
  font-size: var(--text-lg);
  color: var(--text-body, #5b494e);
  line-height: 1.4;
  margin: 10px 0 13px;
}
.story-footer {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: var(--text-xs);
  color: var(--text-soft, #7d7e6f);
}
.green-dot,
.live-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #839477;
  margin-right: 6px;
}
.heart-medallion {
  width: 34px;
  height: 34px;
  background: var(--plum);
  color: var(--on-accent);
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 32px;
  text-align: center;
}
.floating-note {
  position: absolute;
  left: 0;
  bottom: -8px;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border-soft, #e9e0d6);
  padding: 15px 22px;
  border-radius: 10px;
  box-shadow: 0 8px 35px #6958490a;
  transform: rotate(-5deg);
  font-size: var(--text-xs);
}
.floating-note > .icon {
  color: var(--text-gold, #a78b67);
  width: 26px;
  height: 26px;
}
.belief-strip {
  min-height: 70px;
  border-block: 1px solid var(--line);
  background: var(--surface-soft, #f0ede6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 65px;
  font-family: var(--serif);
  font-size: var(--text-lg);
  color: var(--text-soft, #746660);
}
.belief-strip .little-star {
  font-size: var(--text-sm);
}
.section {
  padding-block: 95px;
}
.section-heading {
  text-align: center;
}
.section-heading > p:last-child {
  margin-top: 18px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 65px;
  margin-top: 55px;
}
.steps-grid article {
  position: relative;
  padding-top: 15px;
}
.steps-grid article > .icon {
  display: block;
  width: 30px;
  height: 30px;
  color: var(--text-accent, #927383);
  margin-bottom: 26px;
}
.steps-grid h3 {
  font-size: var(--display-sm);
  margin-bottom: 15px;
}
.steps-grid p {
  font-size: var(--text-md);
  line-height: 1.8;
  max-width: 320px;
}
.step-number {
  margin-right: 0.45em;
  color: var(--text-accent, #927383);
  font-variant-numeric: lining-nums;
}
.compat-section {
  background: var(--surface-sage, #eeeee5);
  border-block: 1px solid var(--border-soft, #e4e4d9);
  padding: 85px 0;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: center;
}
.split-section > div > p:not(.eyebrow) {
  font-size: var(--text-md);
  line-height: 1.9;
  margin-top: 22px;
  max-width: 440px;
}
.split-section .text-link {
  margin-top: 27px;
}
.compat-preview {
  background: var(--white);
  border: 1px solid var(--border-soft, #deded2);
  border-radius: 12px;
  padding: 28px 30px;
  box-shadow: 0 15px 35px #72755f06;
}
.compat-preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.compat-preview-head > .icon {
  color: var(--text-gold, #917b59);
}
.compat-preview-head h3 {
  font-size: 1.45rem;
}
.compat-line {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.compat-line > .icon {
  color: var(--text-sage, #839079);
  width: 21px;
}
.compat-line > .icon:last-child {
  margin-left: auto;
  width: 16px;
}
.compat-line strong {
  font-size: var(--text-sm);
  font-weight: 550;
}
.compat-line p {
  font-size: var(--text-sm);
  margin-top: 4px;
}
.compat-preview > small {
  font-size: var(--text-xs);
}
.safety-section {
  text-align: center;
}
.safety-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-soft, #efe5df);
  color: var(--text-gold, #9a7463);
  margin: 0 auto 21px;
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 45px;
}
.safety-grid h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.safety-grid p {
  font-size: var(--text-md);
  line-height: 1.8;
}
.founding-banner {
  background: #614352;
  border-radius: 14px;
  color: #fff6ed;
  padding: 60px 65px;
  display: grid;
}
.founding-banner > div {
  max-width: 44rem;
}
.founding-banner .eyebrow {
  color: #d7b6a8;
}
.founding-banner h2 {
  font-size: 2.75rem;
}
.founding-banner p:not(.eyebrow) {
  color: #dfcfce;
  font-size: var(--text-md);
  line-height: 1.8;
  margin-top: 20px;
}
.founding-banner .button {
  margin-top: 27px;
}
.founding-banner small {
  display: block;
  color: #cab4bb;
  font-size: var(--text-xs);
  margin-top: 14px;
}
.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.faq-section details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-section details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  font-size: var(--text-md);
  font-weight: 500;
}
summary::-webkit-details-marker {
  display: none;
}
.faq-section summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.faq-section summary span {
  color: var(--text-accent, #9a7c86);
  font-size: var(--text-lg);
}
.faq-section details p {
  font-size: var(--text-md);
  margin-top: 15px;
  line-height: 1.8;
}
.join-section {
  text-align: center;
  padding: 82px 0;
  background: var(--surface-soft, #efe8e3);
  border-block: 1px solid var(--line);
}
.join-section > div > p:not(.eyebrow) {
  margin: 22px 0;
  font-size: var(--text-md);
}
.waitlist-form {
  max-width: 470px;
  text-align: left;
  margin: 38px auto 0;
  padding-top: 25px;
  border-top: 1px solid var(--border-soft, #d8cbc3);
}
.waitlist-form > label {
  font-size: var(--text-xs);
}
.inline-form {
  display: flex;
  gap: 9px;
  margin: 8px 0 12px;
}
.inline-form input {
  flex: 1;
  min-width: 0;
}
.inline-form .button {
  padding-inline: 17px;
  font-size: var(--text-xs);
}
.public-footer {
  max-width: 1400px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 40px 56px;
}
.public-footer .brand {
  font-size: 1.6rem;
}
.public-footer .brand svg {
  width: 30px;
  height: 30px;
}
.public-footer > p {
  font-size: var(--text-sm);
}
.public-footer > div {
  display: flex;
  gap: 23px;
  font-size: var(--text-sm);
  color: var(--muted);
}
.public-footer > small {
  flex-basis: 100%;
  font-size: var(--text-xs);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.mobile-label {
  display: none;
}
.member-site {
  padding-left: 248px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  border-right: 1px solid var(--line);
  padding: 39px 24px 20px;
  background: var(--surface-navigation, #f7f4ef);
  z-index: 20;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  font-size: 1.45rem;
}
.sidebar .brand svg {
  width: 32px;
}
.sidebar-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--text-sm);
  margin: 13px 0 37px 43px;
  color: var(--text-soft, #9c8b85);
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sidebar nav > a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-sm);
  color: var(--text-soft, #84737b);
  padding: 13px 14px;
  border-radius: 7px;
}
.sidebar nav > a.router-link-active {
  background: var(--surface-accent, #eae1e5);
  color: var(--plum);
  font-weight: 600;
}
.sidebar nav > a:hover {
  background: var(--surface-soft, #efe9e7);
}
.sidebar nav .icon {
  width: 20px;
}
.founding-promo {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--border-soft, #e1d4c3);
  border-radius: 9px;
  background: var(--surface-gold, #f0e9dd);
  padding: 15px 12px;
  font-family: var(--serif);
  font-size: var(--text-md);
  line-height: 1.45;
  color: var(--text-gold, #826648);
}
.founding-promo .icon {
  width: 20px;
  margin-top: 2px;
}
.founding-promo small {
  display: block;
  font-family: var(--sans);
  font-size: var(--text-xs);
  color: var(--text-gold, #978573);
  margin-top: 6px;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 22px;
}
.avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-accent, #e3d9d4);
  color: var(--text-accent, #775664);
  width: 36px;
  height: 36px;
  font-family: var(--serif);
  font-size: var(--text-lg);
  flex: none;
}
.sidebar-bottom strong {
  font-size: var(--text-xs);
  font-weight: 550;
}
.sidebar-bottom small {
  display: block;
  font-size: var(--text-xs);
}
.sidebar-bottom .icon-button {
  margin-left: auto;
  border: none;
  width: 28px;
}
.sidebar-bottom .icon {
  width: 17px;
}
.member-topbar {
  height: 58px;
  padding: 0 44px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: var(--text-xs);
  color: var(--text-soft, #9a8a8b);
  background: var(--surface-navigation, #fffdf940);
}
.member-main {
  padding: 39px 44px 70px;
  max-width: 1480px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: 2.8rem;
}
.page-heading .eyebrow {
  margin-bottom: 11px;
}
.page-heading p:not(.eyebrow) {
  font-size: var(--text-sm);
  margin-top: 10px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 27px;
}
.panel + .panel {
  margin-top: 22px;
}
.panel h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.panel h3 {
  font-size: 1.35rem;
}
.panel > p {
  font-size: var(--text-sm);
  line-height: 1.8;
}
.notice {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 16px;
  font-size: var(--text-sm);
  margin: 16px 0;
  color: var(--text-soft, #71636b);
  background: var(--surface-soft, #f4ece9);
}
.notice.error {
  background: var(--surface-negative, #fff0ed);
  border-color: var(--border-negative, #e4bcb3);
  color: var(--text-negative, #873f39);
}
.notice.success {
  background: var(--surface-positive, #edf2e8);
  border-color: var(--border-sage, #c7d5bd);
  color: var(--text-positive, #4c6945);
}
.notice ul {
  margin-bottom: 0;
  padding-left: 18px;
}
.notice a {
  text-decoration: underline;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: var(--text-xs);
  font-weight: 550;
}
.field.full {
  grid-column: 1/-1;
}
.field small {
  font-weight: 400;
  font-size: var(--text-xs);
}
.field-error {
  color: var(--text-negative, #9e453d);
  font-size: var(--text-xs);
}
.field:has([aria-invalid="true"]) input {
  border-color: var(--border-negative, #b55a50);
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--border-input, #dcd3d0);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-size: var(--text-sm);
  line-height: 1.45;
}
textarea {
  resize: vertical;
  min-height: 112px;
}
input::placeholder,
textarea::placeholder {
  color: var(--text-soft, #b0a3a4);
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--plum);
  width: 17px;
  height: 17px;
  flex: none;
  margin: 2px 0 0;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-soft, #74686c);
  line-height: 1.6;
}
.checkbox-label a {
  text-decoration: underline;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 27px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.form-actions .back {
  margin-right: auto;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px;
  max-width: 1180px;
  margin: 25px auto 75px;
  gap: 80px;
  padding-inline: 56px;
  align-items: start;
}
.auth-story {
  position: sticky;
  top: 65px;
  padding-top: 65px;
}
.auth-story h1 {
  font-size: 3.9rem;
}
.auth-story > p:not(.eyebrow) {
  margin-top: 26px;
  font-size: var(--text-md);
  max-width: 340px;
  line-height: 1.9;
}
.auth-story .auth-quote {
  padding-top: 45px;
  margin-top: 45px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--text-accent, #8b6c73);
  max-width: 330px;
}
.auth-card {
  padding: 35px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.auth-card h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.auth-card > p {
  font-size: var(--text-sm);
}
.auth-card form {
  margin-top: 26px;
}
.auth-card .field + .field {
  margin-top: 17px;
}
.auth-card .checkbox-label {
  margin-top: 18px;
}
.auth-card form > .button {
  margin-top: 24px;
}
.auth-footer {
  margin-top: 23px !important;
  text-align: center;
}
.auth-footer a {
  color: var(--plum);
  text-decoration: underline;
}
.auth-card .text-link {
  margin-top: 12px;
  font-size: var(--text-xs);
}
.empty-state {
  text-align: center;
  padding: 65px 30px;
  max-width: 650px;
  margin: auto;
}
.empty-state > .icon {
  width: 40px;
  height: 40px;
  color: var(--text-accent, #ae919d);
  margin-bottom: 20px;
}
.empty-state h2,
.empty-state h1 {
  font-size: 2.1rem;
}
.empty-state > p:not(.eyebrow) {
  max-width: 430px;
  margin: 15px auto 24px;
  font-size: var(--text-sm);
}
.loading-state {
  padding: 45px;
  text-align: center;
  color: var(--muted);
  font-size: var(--text-sm);
}
.loader {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-soft, #e6dadf);
  border-top-color: var(--plum);
  animation: spin 0.8s linear infinite;
  margin-right: 9px;
  vertical-align: middle;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.dialog {
  width: min(610px, calc(100vw - 32px));
  max-height: 88vh;
  border: 1px solid var(--border-soft, #e0d4cf);
  border-radius: 13px;
  background: var(--paper);
  padding: 29px;
  color: var(--ink);
  box-shadow: 0 25px 90px #27172435;
}
.dialog::backdrop {
  background: var(--overlay, #2c202752);
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.dialog-head h2 {
  font-size: 1.8rem;
}
.dialog > p {
  font-size: var(--text-sm);
  margin-bottom: 18px;
}
.dialog .field + .field {
  margin-top: 17px;
}
.dialog .form-actions {
  margin-top: 20px;
}
.muted {
  color: var(--muted);
}
.divider {
  height: 1px;
  background: var(--line);
  margin-block: 22px;
}
.section-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-soft, #9b858d);
  font-weight: 600;
  margin-bottom: 15px;
}
.onboarding-layout {
  max-width: 940px;
  margin: auto;
}
.onboarding-steps {
  display: flex;
  gap: 8px;
  margin: 26px 0;
}
.onboarding-steps button {
  flex: 1;
  background: none;
  border: 0;
  border-top: 3px solid var(--line);
  padding: 12px 0;
  text-align: left;
  font-size: var(--text-xs);
  color: var(--text-soft, #a19195);
}
.onboarding-steps button.active {
  border-color: var(--plum);
  color: var(--plum);
  font-weight: 600;
}
.onboarding-steps button.passed {
  border-color: var(--border-sage, #b7c0a7);
  color: var(--text-sage, #76816b);
}
.onboarding-steps button span {
  font-size: var(--text-xs);
  display: block;
  margin-bottom: 3px;
}
.onboarding-panel {
  padding: 32px;
}
.onboarding-panel > p {
  margin-bottom: 25px;
}
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.check-chip {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: var(--text-xs);
  font-weight: 400;
}
.check-chip:has(input:checked) {
  border-color: var(--border-accent, #a68b9a);
  background: var(--surface-accent, #f1e9ee);
}
.check-chip input {
  width: 14px;
  height: 14px;
  margin: 0;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin: 20px 0;
}
.photo-tile {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--surface-soft, #f2ede5);
}
.photo-tile img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.photo-tile-footer {
  padding: 10px;
  font-size: var(--text-xs);
}
.photo-controls {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}
.photo-controls button {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: var(--text-xs);
  padding: 5px 8px;
}
.upload-box {
  padding: 23px;
  border: 1px dashed var(--border-accent, #bfa9b3);
  border-radius: 8px;
  background: var(--surface-accent, #f7f0f3);
}
.upload-box p {
  font-size: var(--text-xs);
  margin: 5px 0 15px;
}
.schedule-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 34px;
  gap: 9px;
  align-items: end;
  margin-bottom: 10px;
}
.schedule-row .icon-button {
  width: 32px;
  height: 32px;
  margin-bottom: 7px;
}
.subsection {
  margin-top: 25px;
}
.subsection h3 {
  margin-bottom: 15px;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}
.profile-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.profile-photo {
  height: 315px;
  position: relative;
  background: var(--surface-sage, #e8e7dc);
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-photo:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #2827249a);
  pointer-events: none;
}
.profile-photo button {
  position: absolute;
  inset: 0;
  width: 100%;
  background: transparent;
  border: 0;
  z-index: 1;
  text-align: left;
}
.profile-photo .profile-name {
  position: absolute;
  left: 23px;
  bottom: 19px;
  z-index: 2;
  color: white;
  pointer-events: none;
}
.profile-name h2 {
  font-family: inherit;
  font-size: 1.65rem;
  font-weight: 550;
  letter-spacing: -0.045em;
}
.profile-name p {
  font-size: var(--text-xs);
  color: #ffffffe0;
  margin-top: 6px;
}
.profile-photo .compat-score {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fffdf2ed;
  border-radius: 40px;
  padding: 5px 12px;
  font-size: var(--text-xs);
  color: #5b6453;
  z-index: 2;
  pointer-events: none;
}
.photo-fallback {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 8rem;
  color: var(--text-sage, #aaa68f);
  background: linear-gradient(
    140deg,
    var(--portrait-fallback-start, #e3e0d3),
    var(--portrait-fallback-end, #d0d6c8)
  );
}
.profile-card-content {
  padding: 20px 22px;
}
.profile-card-content .card-prompt {
  font-family: var(--serif);
  font-size: var(--text-lg);
  color: var(--text-body, #5d4d55);
  line-height: 1.45;
  margin: 15px 0;
  min-height: 54px;
}
.card-prompt small {
  display: block;
  font-family: var(--sans);
  font-size: var(--text-xs);
  color: var(--text-soft, #9c8790);
  margin-bottom: 5px;
}
.card-actions {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.card-actions .button {
  flex: 1;
  min-height: 43px;
  font-size: var(--text-xs);
  padding: 10px 13px;
}
.card-actions .button:first-child {
  flex: 0 0 auto;
}
.discover-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 28px;
}
.discovery-aside .panel {
  padding: 21px;
}
.discovery-aside .field + .field {
  margin-top: 16px;
}
.discovery-aside .panel h2 {
  font-size: 1.28rem;
}
.daily-count {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--plum);
  margin: 12px 0;
}
.daily-count span {
  font-family: inherit;
  font-size: var(--text-md);
  color: var(--text-soft, #a18e99);
}
.discovery-aside p {
  font-size: var(--text-xs);
}
.discovery-aside .button {
  margin-top: 20px;
}
.quote-note {
  padding: 25px 12px;
  font-family: var(--serif);
  font-size: var(--text-lg);
  color: var(--text-soft, #a28a8d);
  line-height: 1.5;
  font-style: italic;
}
.profile-detail .detail-photos {
  display: flex;
  gap: 10px;
  overflow: auto;
  margin-bottom: 22px;
}
.detail-photos img {
  max-width: 100%;
  height: 280px;
  border-radius: 8px;
  object-fit: cover;
}
.detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
}
.detail-heading h3 {
  font-size: 2rem;
}
.detail-heading p {
  font-size: var(--text-sm);
  margin-top: 8px;
}
.profile-detail .bio {
  font-size: var(--text-md);
  color: var(--text-body, #6b5960);
  white-space: pre-line;
  margin: 20px 0;
}
.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}
.detail-facts dt {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft, #9c868f);
}
.detail-facts dd {
  margin: 4px 0 0;
  font-size: var(--text-sm);
}
.prompt-block {
  padding: 18px 20px;
  background: var(--surface-soft, #f3eeea);
  border-radius: 8px;
  margin: 12px 0;
}
.prompt-block p {
  font-size: var(--text-xs);
  margin-bottom: 8px;
}
.prompt-block blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--text-body, #654d58);
  line-height: 1.45;
}
.compatibility-box {
  border: 1px solid var(--border-soft, #dbe0ce);
  background: var(--surface-sage, #f0f2e9);
  border-radius: 9px;
  padding: 22px;
  margin-top: 23px;
}
.compatibility-box h3 {
  font-size: 1.5rem;
}
.compatibility-box > p {
  font-size: var(--text-xs);
  margin: 10px 0 16px;
}
.compatibility-row {
  padding: 12px 0;
  border-top: 1px solid var(--border-soft, #dce1d1);
}
.compatibility-row strong {
  font-size: var(--text-xs);
  color: var(--text-sage, #617155);
}
.compatibility-row p {
  font-size: var(--text-xs);
  margin-top: 5px;
}
.profile-safety {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.profile-safety button {
  font-size: var(--text-xs);
  background: transparent;
  border: 0;
  text-decoration: underline;
  color: var(--text-accent, #8e6d77);
}
.celebration {
  text-align: center;
  padding: 14px 15px 23px;
}
.celebration .party-orb {
  font-size: 3.5rem;
  color: var(--text-accent, #a57484);
  line-height: 1.6;
}
.celebration h3 {
  font-size: 2.8rem;
}
.celebration p {
  margin: 16px auto 25px;
  font-size: var(--text-md);
  max-width: 350px;
}
.match-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.match-row {
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 17px 20px;
}
.match-avatar {
  width: 70px;
  height: 78px;
  object-fit: cover;
  background: var(--surface-sage, #e8e5d9);
  border-radius: 7px;
  flex: none;
}
.match-info {
  flex: 1;
  min-width: 0;
}
.match-info h2 {
  font-family: inherit;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  font-weight: 550;
}
.match-info p {
  margin-top: 5px;
  font-size: var(--text-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-meta {
  font-size: var(--text-xs);
  color: var(--text-soft, #ad989d);
  text-align: right;
}
.unread {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--plum);
  color: var(--on-accent);
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  margin-top: 8px;
}
.chat-panel {
  padding: 0;
  overflow: hidden;
  max-width: 950px;
  margin: auto;
}
.chat-header {
  padding: 19px 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}
.chat-header .match-avatar {
  width: 42px;
  height: 48px;
}
.chat-header h2 {
  font-size: 1.3rem;
  margin: 0;
}
.chat-header p {
  font-size: var(--text-xs);
}
.chat-header .chat-menu {
  margin-left: auto;
  display: flex;
  gap: 7px;
}
.chat-menu button {
  background: none;
  border: 0;
  font-size: var(--text-xs);
  color: var(--text-accent, #8c6f7d);
  text-decoration: underline;
  padding: 7px;
}
.message-list {
  height: min(55vh, 580px);
  min-height: 300px;
  overflow: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.message {
  max-width: 78%;
  align-self: flex-start;
}
.message.mine {
  align-self: flex-end;
}
.message > p {
  padding: 12px 17px;
  background: var(--surface-soft, #ece8e1);
  color: var(--text-body, #655b60);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: var(--text-sm);
  border-radius: 13px 13px 13px 2px;
}
.message.mine > p {
  background: var(--plum);
  color: var(--on-accent);
  border-radius: 13px 13px 2px 13px;
}
.message-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
}
.message time {
  font-size: var(--text-xs);
  color: var(--text-soft, #ac989f);
}
.message.mine .message-footer {
  justify-content: flex-end;
}
.message-footer button {
  font-size: var(--text-xs);
  border: none;
  padding: 2px;
  background: none;
  color: var(--text-soft, #a18490);
  text-decoration: underline;
}
.chat-composer {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  display: flex;
  gap: 13px;
  align-items: end;
}
.chat-composer .field {
  flex: 1;
}
.chat-composer textarea {
  min-height: 66px;
  max-height: 140px;
}
.chat-composer > .button {
  margin-bottom: 1px;
}
.chat-safety {
  padding: 0 24px 17px;
  font-size: var(--text-xs);
}
.settings-layout {
  max-width: 790px;
}
.settings-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  margin: 22px 0;
}
.settings-row h3 {
  font-family: inherit;
  font-size: var(--text-sm);
  font-weight: 550;
  letter-spacing: 0;
}
.settings-row p {
  font-size: var(--text-xs);
  line-height: 1.8;
  margin-top: 7px;
  max-width: 460px;
}
.settings-row input {
  margin-top: 4px;
}
.danger-zone {
  border-color: var(--border-negative, #ddc3bd);
}
.danger-zone h2 {
  color: var(--text-negative, #97594f);
}
.blocked-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: var(--text-sm);
}
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  max-width: 900px;
}
.offer-card {
  padding: 34px;
}
.offer-card.featured {
  border-color: var(--border-accent, #b897a5);
  background: var(--surface-accent, #f1e9eb);
}
.offer-price {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--plum);
  margin: 23px 0 4px;
}
.offer-card ul {
  padding: 0;
  list-style: none;
  margin: 30px 0;
}
.offer-card li {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: var(--text-sm);
  color: var(--text-soft, #7e6673);
  margin: 17px 0;
}
.offer-card li .icon {
  width: 17px;
  color: var(--text-sage, #8c9a79);
}
.offer-card .eyebrow {
  margin-bottom: 15px;
}
.offer-card h2 {
  font-size: 1.9rem;
}
.moderation-card {
  margin-top: 20px;
}
.moderation-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.moderation-card .photo-grid {
  grid-template-columns: repeat(4, 1fr);
}
.moderation-card .photo-grid img {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}
.policy-page {
  max-width: 780px;
  padding: 65px 30px 100px;
  margin: auto;
}
.policy-page h1 {
  font-size: 3rem;
  margin-bottom: 30px;
}
.policy-page h2 {
  font-size: 1.5rem;
  margin: 28px 0 10px;
}
.policy-page p {
  font-size: var(--text-md);
  line-height: 1.9;
}
.policy-page ul {
  color: var(--muted);
  font-size: var(--text-md);
  line-height: 1.9;
}
.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0;
}
.tab-row button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: var(--text-xs);
}
.tab-row button.active {
  background: var(--plum);
  color: var(--on-accent);
  border-color: var(--plum);
}
.mono {
  font-family: ui-monospace, monospace;
  overflow-wrap: anywhere;
  font-size: var(--text-sm);
  padding: 15px;
  background: var(--surface-soft, #eee7e1);
  border-radius: 6px;
}
.review-status {
  display: inline-block;
  padding: 5px 10px;
  background: var(--surface-gold, #eee6d7);
  border-radius: 30px;
  font-size: var(--text-xs);
  color: var(--text-gold, #92794b);
}
.schedule-list {
  padding: 0;
  list-style: none;
  font-size: var(--text-xs);
  color: var(--text-soft, #8a767f);
  line-height: 1.9;
}
.load-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
.break-word {
  overflow-wrap: anywhere;
}
@media (min-width: 1600px) {
  .discover-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .profile-photo {
    height: 370px;
  }
}
@media (max-width: 1200px) {
  .discover-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .discovery-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    order: -1;
  }
  .discovery-aside .panel + .panel {
    margin-top: 0;
  }
  .discovery-aside .quote-note {
    display: none;
  }
  .discovery-aside form {
    display: flex;
    gap: 12px;
    align-items: end;
    flex-wrap: wrap;
  }
  .discovery-aside .field {
    flex: 1;
    min-width: 100px;
  }
  .discovery-aside .field + .field {
    margin-top: 0;
  }
  .discovery-aside .panel:last-child {
    grid-column: 1/-1;
  }
  .discovery-aside .panel:first-child {
    grid-column: 1/-1;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
  }
  .discovery-aside .panel:first-child h2 {
    margin: 0;
  }
  .discovery-aside .panel:first-child .daily-count {
    margin: 0;
  }
  .discovery-aside .panel:first-child p {
    margin-left: auto;
  }
  .split-section {
    gap: 50px;
  }
  .hero-art {
    transform: scale(0.91);
    transform-origin: center;
  }
  .hero {
    gap: 15px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero .text-link {
    font-size: var(--text-xs);
  }
  .hero .button {
    padding-inline: 18px;
  }
  .page-width {
    width: calc(100% - 80px);
  }
  .public-header {
    padding-inline: 40px;
  }
  .member-main {
    padding-inline: 30px;
  }
  .founding-banner {
    padding: 45px;
  }
  .sidebar {
    width: 225px;
    padding-inline: 19px;
  }
  .member-site {
    padding-left: 225px;
  }
  .sidebar nav > a {
    font-size: var(--text-xs);
    padding-inline: 10px;
  }
  .auth-layout {
    gap: 50px;
  }
  .steps-grid {
    gap: 40px;
  }
}
@media (max-width: 900px) {
  .public-header {
    padding-inline: 25px;
    height: 90px;
  }
  .public-header nav {
    gap: 20px;
  }
  .desktop-only {
    display: none !important;
  }
  .page-width {
    width: calc(100% - 50px);
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-top: 30px;
    min-height: 590px;
  }
  .hero h1 {
    font-size: 3.6rem;
  }
  .hero .eyebrow {
    font-size: var(--text-xs);
    max-width: 250px;
    line-height: 1.8;
  }
  .hero-description {
    font-size: var(--text-sm);
  }
  .hero-art {
    transform: scale(0.75);
    width: 380px;
    margin-left: -28px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
  }
  .hero-divider {
    margin-top: 23px;
  }
  .belief-strip {
    gap: 28px;
    font-size: var(--text-md);
  }
  .section {
    padding-block: 65px;
  }
  .steps-grid {
    gap: 25px;
  }
  .split-section {
    gap: 30px;
  }
  .compat-preview {
    padding: 22px;
  }
  .compat-line {
    gap: 10px;
  }
  .compat-line p {
    font-size: var(--text-xs);
  }
  .founding-banner {
    padding: 35px;
  }
  .founding-banner h2 {
    font-size: 2.1rem;
  }
    .faq-section {
    gap: 40px;
  }
  .public-footer {
    padding-inline: 25px;
  }
  .sidebar {
    width: 195px;
    padding-inline: 15px;
  }
  .sidebar .brand {
    font-size: 1.65rem;
  }
  .sidebar .brand svg {
    width: 27px;
  }
  .sidebar-kicker {
    margin-left: 33px;
    font-size: var(--text-xs);
  }
  .sidebar nav > a {
    font-size: var(--text-xs);
    gap: 8px;
  }
  .sidebar nav .icon {
    width: 18px;
  }
  .member-site {
    padding-left: 195px;
  }
  .member-topbar {
    padding-inline: 24px;
    font-size: var(--text-xs);
  }
  .member-main {
    padding: 30px 24px 60px;
  }
  .profile-grid {
    gap: 17px;
  }
  .profile-photo {
    height: 250px;
  }
  .profile-card-content {
    padding: 16px;
  }
  .card-actions {
    flex-wrap: wrap;
  }
  .card-actions .button {
    padding: 9px 11px;
    font-size: var(--text-xs);
  }
  .card-actions .button:first-child {
    flex: 1;
  }
  .profile-card-content .card-prompt {
    font-size: var(--text-lg);
  }
  .profile-photo .profile-name {
    left: 16px;
    bottom: 15px;
  }
  .profile-name h2 {
    font-size: 1.4rem;
  }
  .sidebar-bottom {
    gap: 7px;
  }
  .sidebar-bottom .avatar-initial {
    width: 29px;
    height: 29px;
  }
  .sidebar-bottom strong {
    font-size: var(--text-xs);
  }
  .sidebar-bottom small {
    font-size: var(--text-xs);
  }
  .founding-promo {
    font-size: var(--text-sm);
    padding: 12px 9px;
    gap: 8px;
  }
  .founding-promo small {
    font-size: var(--text-xs);
  }
  .auth-layout {
    padding-inline: 30px;
    gap: 30px;
  }
  .auth-story h1 {
    font-size: 3.2rem;
  }
  .auth-card {
    padding: 27px;
  }
  .form-grid {
    gap: 16px;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .safety-grid {
    gap: 25px;
  }
  .safety-grid h3 {
    font-size: var(--text-lg);
  }
  .safety-grid p {
    font-size: var(--text-xs);
  }
}
@media (max-width: 680px) {
  .public-header {
    height: 79px;
    padding-inline: 21px;
  }
  .brand {
    font-size: 1.65rem;
  }
  .brand svg {
    width: 30px;
  }
  .public-header nav {
    gap: 16px;
    font-size: var(--text-xs);
  }
  .public-header .button {
    display: none;
  }
  .page-width {
    width: calc(100% - 42px);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 30px;
    padding-bottom: 40px;
    gap: 5px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero .eyebrow {
    max-width: none;
    font-size: var(--text-xs);
    letter-spacing: 0.13em;
  }
  .hero h1 {
    font-size: clamp(3.2rem, 12.4vw, 4.9rem);
  }
  .hero-description {
    max-width: 330px;
    margin: 24px auto 0;
    font-size: var(--text-sm);
  }
  .hero-actions {
    justify-content: center;
    margin-top: 26px;
  }
  .hero-note {
    justify-content: center;
    margin-top: 19px;
    font-size: var(--text-xs);
  }
  .hero-divider,
  .hero-caption,
  .hero-quip {
    display: none;
  }
  .hero-art {
    width: 100%;
    height: 420px;
    min-height: 420px;
    margin: 0;
    transform: scale(0.79);
    transform-origin: center top;
    margin-bottom: -58px;
    margin-top: 70px;
  }
  .story-card {
    width: 315px;
  }
  /* Inline flow keeps the compass with the first word if the line wraps. */
  .hero .hero-audience {
    display: block;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
  }
  .hero-audience .icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: -3px;
  }
  .hero-roles {
    justify-content: center;
    gap: 8px;
    margin-top: 17px;
    font-size: var(--text-sm);
  }
  .hero-roles > span:last-child {
    min-width: 0;
    text-align: left;
  }
  .hero-role-icons {
    gap: 5px;
  }
  .hero-role-icons .icon {
    width: 17px;
    height: 17px;
  }
  .portal-frame {
    top: -86px;
    height: 532px;
  }
  .portal-tank {
    top: 1px;
  }
  .portal-healer {
    top: 166px;
  }
  .portal-damage {
    top: 306px;
  }
  .floating-note {
    display: none;
    left: 0;
    bottom: -18px;
    font-size: var(--text-xs);
    padding: 13px 18px;
  }
  .belief-strip {
    gap: 16px;
    flex-wrap: wrap;
    min-height: 76px;
    font-size: var(--text-md);
    padding: 14px;
  }
  .belief-strip > span:last-child,
  .belief-strip > span:nth-last-child(2) {
    display: none;
  }
  .section {
    padding-block: 57px;
  }
  .section-heading h2 {
    font-size: 2.4rem;
  }
  .section-heading > p:last-child {
    font-size: var(--text-sm);
  }
  .section-heading .eyebrow {
    font-size: var(--text-xs);
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 36px;
  }
  .steps-grid article {
    padding: 0 0 0 59px;
  }
  .steps-grid article > .icon {
    position: absolute;
    left: 7px;
    top: 5px;
    width: 28px;
    height: 28px;
  }
  .steps-grid h3 {
    margin-bottom: 10px;
  }
  .steps-grid p {
    max-width: none;
  }
  .split-section {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .compat-section {
    padding-block: 54px;
  }
  .split-section h2 {
    font-size: 2.5rem;
  }
  .split-section > div > p:not(.eyebrow) {
    font-size: var(--text-sm);
  }
  .compat-preview-head h3 {
    font-size: 1.35rem;
  }
  .compat-line p {
    font-size: var(--text-xs);
  }
  .safety-section h2 {
    font-size: 2.4rem;
  }
  .safety-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 32px;
  }
  .safety-grid > div {
    max-width: 300px;
    margin: auto;
  }
  .safety-grid h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }
  .safety-grid p {
    font-size: var(--text-sm);
  }
  .founding-banner {
    padding: 34px 25px;
  }
  .founding-banner h2 {
    font-size: 2.2rem;
  }
    .faq-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .faq-section h2 br {
    display: none;
  }
  .faq-section h2 {
    font-size: 2.25rem;
  }
  .faq-section .eyebrow {
    margin-bottom: 14px;
  }
  .faq-section details {
    padding-block: 19px;
  }
  .faq-section summary {
    font-size: var(--text-sm);
  }
  .join-section {
    padding-block: 53px;
  }
  .join-section > div > p:not(.eyebrow) {
    font-size: var(--text-sm);
  }
  .inline-form {
    flex-direction: column;
  }
  .inline-form .button {
    min-height: 43px;
  }
  .public-footer {
    padding: 30px 23px;
    justify-content: center;
    text-align: center;
  }
  .public-footer > p {
    flex-basis: 100%;
  }
  .public-footer > div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 17px;
  }
  .public-footer > small {
    font-size: var(--text-xs);
  }
  .member-site {
    padding-left: 0;
    padding-bottom: 76px;
  }
  .sidebar {
    inset: auto 0 0;
    width: 100%;
    height: 73px;
    background: var(--surface-navigation, #faf8f4f5);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    border-right: 0;
    padding: 0 8px;
    display: block;
  }
  .sidebar > .brand,
  .sidebar-kicker,
  .sidebar-bottom,
  .founding-promo {
    display: none;
  }
  .sidebar nav {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 2px;
  }
  .sidebar nav > a {
    flex: 1;
    max-width: 100px;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 10px 3px;
    border-radius: 0;
    color: var(--text-soft, #a28d98);
    font-size: var(--text-xs);
    line-height: 1.25;
  }
  .sidebar nav > a.router-link-active {
    background: transparent;
    color: var(--plum);
    border-top: 2px solid var(--plum);
    padding-top: 8px;
  }
  .sidebar nav .icon {
    width: 22px;
    height: 22px;
  }
  .desktop-label {
    display: none;
  }
  .mobile-label {
    display: inline;
  }
  .sidebar nav > a:last-child span:not(.mobile-label):not(.desktop-label) {
    font-size: var(--text-xs);
  }
  .member-topbar {
    height: 38px;
    padding: 0 21px;
    font-size: var(--text-xs);
    justify-content: center;
  }
  .member-main {
    padding: 28px 20px 32px;
  }
  .page-heading {
    align-items: start;
    gap: 15px;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 2.45rem;
  }
  .page-heading .eyebrow {
    font-size: var(--text-xs);
    margin-bottom: 10px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: var(--text-xs);
  }
  .page-heading > .button {
    font-size: var(--text-xs);
    min-height: 36px;
    padding: 8px 10px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile-photo {
    height: 355px;
  }
  .profile-name h2 {
    font-size: 1.85rem;
  }
  .profile-name p {
    font-size: var(--text-xs);
  }
  .profile-photo .profile-name {
    left: 22px;
    bottom: 22px;
  }
  .profile-card-content {
    padding: 21px;
  }
  .profile-card-content .card-prompt {
    font-size: 1.27rem;
    min-height: 0;
  }
  .card-actions {
    flex-wrap: nowrap;
  }
  .card-actions .button {
    font-size: var(--text-sm);
    padding: 11px 14px;
  }
  .card-actions .button:first-child {
    flex: 0 0 auto;
  }
  .discovery-aside {
    gap: 15px;
  }
  .discovery-aside .panel {
    padding: 17px;
  }
  .discovery-aside .panel:first-child {
    gap: 9px;
  }
  .discovery-aside .panel:first-child h2 {
    font-size: var(--text-lg);
  }
  .daily-count {
    font-size: 1.65rem;
  }
  .discovery-aside .panel:first-child p {
    font-size: var(--text-xs);
  }
  .discovery-aside .panel:first-child p:last-child {
    flex-basis: 100%;
    margin-left: 0;
  }
  .discovery-aside .button {
    margin-top: 0;
  }
  .discovery-aside form {
    gap: 10px;
  }
  .discovery-aside .field {
    font-size: var(--text-xs);
    min-width: 90px;
  }
  .discovery-aside input,
  .discovery-aside select {
    min-height: 38px;
    font-size: var(--text-xs);
    padding: 8px;
  }
  .discovery-aside .panel:last-child h2 {
    margin-bottom: 14px;
  }
  .discover-layout {
    gap: 23px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-inline: 21px;
    margin: 10px auto 45px;
  }
  .auth-story {
    position: static;
    padding-top: 15px;
    text-align: center;
  }
  .auth-story h1 {
    font-size: 2.7rem;
  }
  .auth-story > p:not(.eyebrow) {
    font-size: var(--text-sm);
    margin: 18px auto 0;
  }
  .auth-story .auth-quote {
    display: none;
  }
  .auth-story .eyebrow {
    font-size: var(--text-xs);
    margin-bottom: 17px;
  }
  .auth-card {
    padding: 27px 23px;
  }
  .auth-card h2 {
    font-size: 1.8rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .onboarding-steps {
    gap: 5px;
    margin: 23px 0;
  }
  .onboarding-steps button {
    font-size: var(--text-xs);
    padding: 9px 0;
  }
  .onboarding-steps button span {
    font-size: var(--text-xs);
  }
  .onboarding-panel {
    padding: 24px 20px;
  }
  .onboarding-panel h2 {
    font-size: 1.65rem;
  }
  .onboarding-panel > p {
    font-size: var(--text-xs);
  }
  .panel {
    padding: 24px 20px;
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .photo-controls {
    flex-wrap: wrap;
  }
  .schedule-row {
    grid-template-columns: 1.2fr 1fr 1fr 26px;
    gap: 7px;
  }
  .schedule-row input,
  .schedule-row select {
    font-size: var(--text-xs);
    padding-inline: 6px;
    min-width: 0;
  }
  .schedule-row .field {
    font-size: var(--text-xs);
  }
  .schedule-row .icon-button {
    width: 26px;
    height: 30px;
    border: 0;
  }
  .form-actions {
    gap: 8px;
    flex-wrap: wrap;
  }
  .form-actions .button {
    font-size: var(--text-xs);
    padding-inline: 15px;
  }
  .dialog {
    padding: 23px 20px;
  }
  .dialog-head {
    margin-bottom: 20px;
  }
  .dialog-head h2 {
    font-size: 1.5rem;
  }
  .dialog-head .icon-button {
    width: 32px;
    height: 32px;
  }
  .detail-photos img {
    height: 255px;
  }
  .detail-facts {
    gap: 12px;
  }
  .detail-facts dd {
    font-size: var(--text-xs);
  }
  .compatibility-box {
    padding: 18px;
  }
  .match-row {
    padding: 15px;
    gap: 13px;
  }
  .match-avatar {
    width: 56px;
    height: 66px;
  }
  .match-info h2 {
    font-size: var(--text-md);
  }
  .match-info p {
    font-size: var(--text-xs);
  }
  .match-meta {
    font-size: var(--text-xs);
  }
  .chat-header {
    padding: 15px;
    flex-wrap: wrap;
  }
  .chat-header .chat-menu {
    flex-basis: 100%;
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    padding-top: 6px;
  }
  .chat-header h2 {
    font-size: var(--text-lg);
  }
  .chat-panel {
    margin-inline: -5px;
  }
  .message-list {
    padding: 18px 15px;
    height: 48vh;
    min-height: 270px;
  }
  .message {
    max-width: 90%;
  }
  .message > p {
    font-size: var(--text-sm);
    padding: 11px 14px;
  }
  .chat-composer {
    padding: 15px;
    gap: 9px;
  }
  .chat-composer > .button {
    padding: 11px 14px;
    font-size: var(--text-xs);
    min-height: 43px;
  }
  .chat-composer textarea {
    font-size: var(--text-sm);
  }
  .chat-safety {
    padding: 0 15px 15px;
    font-size: var(--text-xs);
  }
  .settings-row {
    gap: 18px;
  }
  .settings-row h3 {
    font-size: var(--text-sm);
  }
  .settings-row p {
    font-size: var(--text-xs);
  }
  .offer-card {
    padding: 28px;
  }
  .offer-card h2 {
    font-size: 1.8rem;
  }
  .moderation-card .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .policy-page {
    padding: 45px 24px 60px;
  }
  .policy-page h1 {
    font-size: 2.6rem;
  }
  .empty-state {
    padding: 45px 12px;
  }
  .empty-state h2 {
    font-size: 1.8rem;
  }
  .empty-state > p:not(.eyebrow) {
    font-size: var(--text-sm);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.detail-photo {
  flex: none;
  max-width: 100%;
}
.photo-report-button {
  display: block;
  background: transparent;
  border: 0;
  padding: 7px 0;
  font-size: var(--text-xs);
  color: var(--text-accent, #927784);
  text-decoration: underline;
}
.detail-photo img {
  display: block;
}
@media (max-width: 680px) {
  .schedule-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 30px;
    margin-bottom: 20px;
  }
  .schedule-row > .field:first-child {
    grid-column: 1 / -1;
  }
  .schedule-row > .field {
    min-width: 0;
  }
  .schedule-row input,
  .schedule-row select {
    width: 100%;
    max-width: 100%;
  }
}

/* Theme controls stay native for keyboard, touch and assistive technology. */
.theme-control {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 500;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}
.theme-toggle:hover {
  background: var(--surface-hover, var(--paper));
}
.theme-toggle svg {
  width: 21px;
  height: 21px;
}
.theme-system {
  background: transparent;
  border: 0;
  color: var(--plum);
  padding: 10px 4px;
  font-size: var(--text-xs);
  text-decoration: underline;
}
.theme-system:disabled {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}
.theme-toggle .theme-sun {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .theme-sun {
  display: block;
}
:root[data-theme="dark"] .theme-toggle .theme-moon {
  display: none;
}
.appearance-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.appearance-settings h2 {
  margin-bottom: 6px;
}
.example-badge {
  color: #352e31;
}
:root[data-theme="dark"] .brand img {
  filter: brightness(2.5) saturate(0.55);
}
@media (max-width: 1100px) {
  .public-header nav {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .public-header {
    gap: 10px;
  }
  .public-header nav {
    gap: 12px;
  }
  .member-topbar {
    gap: 12px;
    min-height: 66px;
    height: auto;
    padding-block: 8px;
  }
}
@media (max-width: 360px) {
  .public-header {
    padding-inline: 14px;
  }
  .public-header .brand {
    font-size: 1.4rem;
    gap: 6px;
  }
  .public-header .brand svg {
    width: 29px;
    height: 29px;
  }
  .public-header nav {
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    flex-direction: column;
    gap: 14px;
  }
  .hero-roles {
    flex-wrap: wrap;
  }
  .hero-roles > span:last-child {
    text-align: center;
  }
}

/* Give the unified member character sheet room for its portrait and life details. */
.dialog.character-dialog {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  padding: clamp(16px, 3vw, 28px);
}

.profile-view-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.profile-view-actions p {
  color: var(--muted);
}

.sidebar nav a {
  position: relative;
}
.party-mail {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  color: #f6d995;
  background: #493522;
  border: 1px solid #b39254;
  border-radius: 5px;
  padding: 3px 5px;
  font-size: var(--text-xs);
  line-height: 1;
  box-shadow: inset 0 0 0 1px #6b5231;
  animation: mail-glow 2.8s ease-in-out infinite;
}
.party-mail .icon {
  width: 20px;
  height: 20px;
}
@keyframes mail-glow {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 1px #6b5231,
      0 0 0 #d7b66f00;
  }
  50% {
    box-shadow:
      inset 0 0 0 1px #6b5231,
      0 0 10px #d7b66f70;
  }
}
@media (max-width: 680px) {
  .party-mail {
    position: absolute;
    top: 1px;
    right: 4px;
    padding: 2px 3px;
    font-size: var(--text-xs);
  }
  .party-mail .icon {
    width: 16px;
    height: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .party-mail {
    animation: none;
  }
}

.filter-group {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.filter-group summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 12px;
}
.filter-group .field + .field {
  margin-top: 14px;
}
.filter-help {
  font-size: var(--text-xs);
  line-height: 1.6;
}
.filter-help a {
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .filter-group,
  .filter-help {
    flex-basis: 100%;
  }
  .filter-group[open] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .filter-group summary {
    grid-column: 1 / -1;
  }
  .filter-group .field + .field {
    margin-top: 0;
  }
}
@media (max-width: 380px) {
  .filter-group[open] {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pass-undo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.passed-profiles h2 {
  margin-bottom: 12px;
}
.passed-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.passed-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.passed-list li > div {
  min-width: 0;
  flex: 1 1 160px;
  overflow-wrap: anywhere;
}
.passed-list h3 {
  font-size: var(--text-lg);
}
.passed-list p {
  font-size: var(--text-sm);
  margin-top: 5px;
}

.discover-layout.viewing-passed {
  grid-template-columns: minmax(0, 1fr);
  max-width: 960px;
}

.locked-beacons {
  max-width: 700px;
  margin-inline: auto;
}
.locked-mail-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}
.locked-mail-preview > div {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--muted);
  background: var(--surface-soft, var(--white));
}
.locked-mail-preview .icon {
  width: 20px;
  height: 20px;
}

.reveal-allowance p + p {
  margin-top: 12px;
}
.reveal-allowance .text-link {
  display: inline-block;
  margin-top: 12px;
}
.sealed-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
  margin-top: 24px;
}
.sealed-reveal-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft, var(--white));
}
.sealed-reveal-card > .icon {
  width: 40px;
  height: 40px;
  color: var(--muted);
}
.sealed-reveal-card .button {
  white-space: normal;
}

.review-changed {
  outline: 1px dashed #e7ba69;
  outline-offset: 3px;
  background-color: #e7ba6912;
  border-radius: 4px;
}
.inspector-review-note {
  margin: 16px 0;
  padding: 12px 14px;
  border-left: 3px solid #e7ba69;
  background: #e7ba6912;
  color: var(--inspect-ink);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.inspector-review-note strong {
  color: #f3ce8d;
}
.inspector-review-note p {
  color: var(--inspect-muted);
}
.inspector-review-note .review-fields {
  color: var(--inspect-muted);
  margin-top: 5px;
}

.character-inspector {
  container-type: inline-size;
  --inspect-bg: #201e20;
  --inspect-panel: #292729;
  --inspect-ink: #f2e8d9;
  --inspect-muted: #c4b9ac;
  --inspect-brass: #c6a76e;
  --inspect-line: #796749;
  color-scheme: dark;
  color: var(--inspect-ink);
  background: radial-gradient(
    ellipse at 35% 20%,
    #393237,
    var(--inspect-bg) 65%
  );
  border: 2px solid var(--inspect-line);
  border-radius: 10px;
  padding: 18px;
  box-shadow:
    inset 0 0 0 3px #181719,
    inset 0 0 0 4px #625540;
}
.inspector-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 15px;
  border-bottom: 1px solid var(--inspect-line);
}
.inspector-crest {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 2px solid var(--inspect-brass);
  outline: 3px solid #483e36;
  background: #49384a;
  border-radius: 50%;
  color: #edd5e4;
}
.inspector-crest .icon {
  width: 32px;
  height: 32px;
}
.inspector-kicker {
  color: var(--inspect-brass);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.inspector-heading h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  overflow-wrap: anywhere;
  line-height: 1.35;
  color: var(--inspect-ink);
}
.inspector-heading p:last-child {
  font-size: var(--text-xs);
  color: var(--inspect-muted);
}
.inspector-example {
  background: #39332c;
  color: #ebd4ab;
  border: 1px solid #75603f;
  font-size: var(--text-xs);
  padding: 8px 10px;
  margin-top: 14px;
  border-radius: 4px;
}
.inspector-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 14px;
  padding-top: 17px;
  align-items: start;
}
.inspector-portrait-area {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  gap: 7px;
}
.inspector-slots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.inspector-slots li {
  text-align: center;
  overflow-wrap: anywhere;
  font-size: var(--text-xs);
  line-height: 1.35;
  color: var(--inspect-ink);
}
.slot-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin: 0 auto 5px;
  border-radius: 6px;
  border: 1px solid #b49662;
  background: radial-gradient(circle at 35% 25%, #647468, #2a3935);
  box-shadow: inset 0 0 0 2px #25302c;
  color: #e2d2a7;
}
.slots-right .slot-icon {
  background: radial-gradient(circle at 35% 25%, #795168, #3c2c3b);
  box-shadow: inset 0 0 0 2px #342334;
}
.slot-icon .icon {
  width: 28px;
  height: 28px;
}
.inspector-slots small {
  display: block;
  margin-bottom: 2px;
  color: var(--inspect-brass);
  font-size: var(--text-xs);
}
.inspector-portrait {
  position: relative;
  min-height: 350px;
  display: flex;
  border: 1px solid #77674f;
  border-radius: 60px 60px 5px 5px;
  background: linear-gradient(#333c32, #222922);
  overflow: hidden;
}
.inspector-portrait > img,
.inspector-portrait > svg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.inspector-portrait > svg {
  min-width: 100%;
}
.inspector-no-photo {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 10px;
  text-align: center;
  color: var(--inspect-muted);
  font-size: var(--text-xs);
}
.inspector-no-photo > .icon {
  width: 55px;
  height: 55px;
}
.inspector-facts {
  display: grid;
  gap: 13px;
  min-width: 0;
}
.inspector-panel {
  background: #211f22;
  border: 1px solid #62543f;
  border-radius: 5px;
  overflow: hidden;
}
.inspector-panel h4 {
  margin: 0;
  padding: 7px 10px;
  text-align: center;
  font-family: var(--serif);
  font-size: var(--text-md);
  font-weight: normal;
  color: #f2dfb7;
  border-bottom: 1px solid #62543f;
  background: linear-gradient(#3d3530, #292629);
}
.inspector-panel dl {
  margin: 0;
  padding: 7px 10px;
}
.inspector-panel dl > div {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  padding: 6px 0;
  border-bottom: 1px solid #393338;
  font-size: var(--text-sm);
  line-height: 1.5;
}
.inspector-panel dl > div:last-child {
  border-bottom: 0;
}
.inspector-panel dt {
  color: var(--inspect-brass);
  flex: 0 1 42%;
}
.inspector-panel dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
  color: var(--inspect-ink);
}
.inspector-panel p {
  padding: 11px;
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--inspect-muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.inspector-panel .inspector-timezone {
  padding-bottom: 3px;
  font-size: var(--text-sm);
}
.inspector-schedule {
  padding: 0 11px 12px;
  margin: 0;
  list-style: none;
  color: var(--inspect-ink);
  font-size: var(--text-sm);
  line-height: 1.9;
}
.photo-choices button {
  color: var(--inspect-muted);
  background: #272226;
  border: 1px solid #897452;
  border-radius: 4px;
  padding: 8px 13px;
  min-height: 44px;
  font-family: var(--serif);
  font-size: var(--text-xs);
}
.photo-choices button[aria-pressed="true"] {
  color: #fff0cf;
  background: #56452f;
  border-color: #cfb16f;
  box-shadow: inset 0 -3px 0 #cfb16f;
}
.character-inspector button:focus-visible {
  outline: 3px solid #f0d49c;
  outline-offset: 3px;
}
.character-inspector button:hover {
  background: #493c34;
  color: #fff0cf;
}
.inspector-photo-controls {
  grid-column: 1/-1;
  text-align: center;
}
.inspector-photo-approved {
  display: inline-block;
  margin-block: 4px;
  padding: 2px 6px;
  color: #c4d7bb;
  font:
    600 var(--text-xs) / 1.5 var(--sans);
}
.photo-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.photo-choices button {
  min-width: 44px;
}
.inspector-report {
  border: 0;
  padding: 8px;
  min-height: 44px;
  color: var(--inspect-muted);
  background: transparent;
  text-decoration: underline;
  font-size: var(--text-xs);
}
.inspector-heading > div {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.inspector-heading {
  flex-wrap: wrap;
}
.inspector-review {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid var(--inspect-line);
  border-radius: 5px;
  font-size: var(--text-xs);
  color: var(--inspect-brass);
}
.inspector-worlds {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--inspect-muted);
  font-size: var(--text-sm);
  overflow-wrap: anywhere;
}
.inspector-worlds .icon {
  flex-shrink: 0;
  color: var(--inspect-brass);
}
.inspector-stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
  margin-top: 18px;
}
.inspector-stories:empty {
  display: none;
}
.inspector-panel h4 {
  overflow-wrap: anywhere;
}
.inspector-prompt p {
  font-family: var(--serif);
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--inspect-ink);
  padding: 16px;
}
.inspector-compatibility {
  margin-top: 18px;
}
.inspector-compatibility dl > div {
  display: block;
}
.inspector-compatibility dt {
  font-weight: 600;
  margin-bottom: 4px;
}
.inspector-compatibility dd {
  text-align: left;
}
.inspector-compatibility .compatibility-note {
  font-size: var(--text-sm);
}
@container (max-width: 660px) {
  .inspector-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .inspector-portrait-area {
    max-width: 460px;
    width: 100%;
    margin-inline: auto;
  }
}
@container (max-width: 440px) {
  .inspector-stories {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 580px) {
  .character-inspector {
    padding: 14px;
  }
  .inspector-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .inspector-portrait-area {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
  }
  .inspector-portrait {
    min-height: 290px;
  }
  .inspector-slots li {
    font-size: var(--text-xs);
  }
  .inspector-slots small {
    font-size: var(--text-xs);
  }
}
@media (max-width: 380px) {
  .inspector-portrait-area {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .inspector-portrait {
    grid-row: 1;
    min-height: 260px;
  }
  .inspector-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}
@container (max-width: 310px) {
  .inspector-portrait-area {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .inspector-portrait {
    grid-row: 1;
  }
  .inspector-slots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .character-inspector *,
  .character-inspector *::before,
  .character-inspector *::after {
    animation: none;
    transition: none;
  }
}

.review-badge {
  display: inline-block;
  margin: 4px 0 4px 7px;
  padding: 2px 6px;
  border: 1px solid #c69a50;
  border-radius: 4px;
  color: #ffe0a9;
  background: #453621;
  font-family: system-ui, sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.02em;
  vertical-align: middle;
  white-space: normal;
}
.compact {
  margin-left: 0;
  padding-inline: 4px;
  white-space: nowrap;
}

.inspector-dialog {
  width: min(820px, calc(100vw - 32px));
}
.story-footer {
  justify-content: space-between;
  gap: 10px;
}
.inspect-example {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--plum);
  font: inherit;
  font-size: var(--text-xs);
  min-height: 40px;
  padding: 2px 0;
  text-align: left;
}
.inspect-example .icon {
  width: 17px;
  height: 17px;
}
.founder-note {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 88px);
  padding-block: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.founder-note h2 {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  line-height: 1.15;
  max-width: 15ch;
}
.founder-signature {
  margin-top: 24px;
  font-size: var(--text-sm);
}
.founder-note-body {
  max-width: 60ch;
}
.founder-quips {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.founder-quips .founder-quips-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--surface-hover);
  color: var(--plum);
  font: 600 var(--text-xs) / 1.6 var(--sans);
  letter-spacing: 0.04em;
}
.founder-quips-stack {
  display: grid;
  margin-top: 18px;
}
.founder-quips-stack p {
  grid-area: 1 / 1;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.65;
  color: var(--ink);
}
.founder-quips-stack p[aria-hidden="true"] {
  visibility: hidden;
}
.founder-quips-stack p[data-active="true"] {
  animation: founder-note-appear 400ms ease-out;
}
.founder-quips-controls:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}
.founder-quips-count {
  margin-right: auto;
  font-size: var(--text-xs);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.founder-quips-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--plum);
  font-size: var(--text-sm);
}
.founder-quips-controls button:hover {
  background: var(--surface-hover);
}
.founder-quips-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes founder-note-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .founder-quips-stack p[data-active="true"] { animation: none; }
}
.founder-note-body p {
  color: var(--muted);
  font-size: var(--text-md);
  line-height: 1.85;
}
.founder-note-body p + p {
  margin-top: 20px;
}
.founder-note-body .founder-note-closing {
  color: var(--plum);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
}
.founder-note-body .founder-note-signoff {
  color: var(--muted);
  font-size: var(--text-sm);
}
.founder-note-signoff span {
  color: var(--plum);
}
.homecoming {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 76px);
  align-items: center;
  padding-block: 80px 12px;
}
.homecoming img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.homecoming h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.17;
  margin-bottom: 20px;
}
.homecoming p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--text-md);
  margin-bottom: 22px;
  line-height: 1.8;
}
.homecoming .text-link {
  font-size: var(--text-sm);
}
.homecoming .text-link .icon {
  flex-shrink: 0;
}
.how-actions {
  margin-top: 35px;
  text-align: center;
}
.promise-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  font-size: var(--text-sm);
}
@media (min-width: 681px) {
  /* Reserve a separate lane for the note below the rotated profile card. */
  .hero-art {
    padding-bottom: 100px;
  }
  .floating-note {
    bottom: 0;
  }
}
@media (max-width: 680px) {
  .founder-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .founder-note h2 {
    max-width: 20ch;
  }
  .homecoming {
    grid-template-columns: 1fr;
    padding-top: 42px;
    gap: 25px;
  }
  .homecoming img {
    max-height: 270px;
    object-fit: cover;
  }
  .homecoming .eyebrow {
    margin-bottom: 12px;
  }
}

/* The shared adventure artwork is original Guild of Two art. */
.adventure-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding-block: 28px 80px;
  scroll-margin-top: 24px;
}
.adventure-intro img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.adventure-intro h2 {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}
.adventure-intro p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.adventure-intro .adventure-trial {
  padding-left: 16px;
  border-left: 2px solid var(--plum);
  font-size: var(--text-md);
}
@media (max-width: 680px) {
  .adventure-intro { grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; }
}

/* A readable miniature of the member character sheet, with the full view on inspect. */
.hero-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 570px;
  padding: 16px;
  box-shadow: inset 0 0 0 3px #181719, inset 0 0 0 4px #625540, 0 24px 60px #0002;
}
.hero-sheet .inspector-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 12px;
}
.hero-sheet .inspector-portrait-area {
  grid-template-columns: 60px minmax(0, 1fr) 60px;
  gap: 5px;
}
.hero-sheet .inspector-portrait { min-height: 236px; border-radius: 48px 48px 4px 4px; }
.hero-sheet .inspector-slots { display: flex; gap: 12px; }
.hero-sheet .inspector-slots li { overflow-wrap: break-word; }
.hero-sheet .slot-icon { width: 32px; height: 32px; }
.hero-sheet .slot-icon .icon { width: 23px; height: 23px; }
.hero-sheet .inspector-panel h4 { font-size: var(--text-sm); padding: 7px; }
.hero-sheet .inspector-panel p { font-size: var(--text-xs); line-height: 1.55; padding: 9px; }
.hero-sheet .inspector-panel dl { padding: 0 9px 6px; }
.hero-sheet .inspector-panel dl > div { font-size: var(--text-xs); gap: 6px; padding: 5px 0; }
.hero-sheet .inspector-worlds { font-size: var(--text-xs); }
.hero-sheet .inspector-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.hero-sheet .inspector-prompt p { font-size: var(--text-md); }
.hero-sheet .story-footer { margin-top: 14px; padding-top: 12px; border-color: var(--inspect-line); }
.hero-sheet .inspect-example { color: #edd5e4; }
@media (max-width: 1100px) and (min-width: 901px) {
  .hero { grid-template-columns: 1fr 1.1fr; gap: 24px; }
}
@media (max-width: 580px) {
  .hero-art { height: auto; padding: 20px 0 100px; }
  .hero-sheet { padding: 14px; }
  .hero-sheet .inspector-layout { grid-template-columns: 1fr; }
  .hero-sheet .inspector-portrait-area { grid-template-columns: 58px minmax(0, 1fr) 58px; }
  .hero-sheet .inspector-portrait { grid-row: auto; min-height: 240px; }
  .hero-sheet .inspector-panel p { font-size: var(--text-sm); }
  .hero-art .floating-note { bottom: 0; }
}
.hero-art { transform: none; height: auto; }
@media (max-width: 680px) {
  .hero-art { margin: 28px 0 0; padding-bottom: 100px; }
}

@media (max-width: 680px) {
  .hero-art .portal-frame { display: none; }
}
@media (max-width: 900px) and (min-width: 681px) {
  /* Two columns cannot hold the readable sheet here; stack it under the copy. */
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { max-width: 600px; }
  .hero .eyebrow { max-width: none; }
  .hero-art { width: auto; margin-left: 0; }
}

/* Real app screens shown at phone size; every profile in them is fictional. */
.app-shot {
  width: min(100%, 280px);
  margin: 0;
}
.app-shot-center {
  margin: 55px auto 0;
}
.app-shot-frame {
  padding: 8px;
  border-radius: 38px;
  background: #181719;
  box-shadow: inset 0 0 0 1px #625540, 0 24px 60px #0003;
}
.app-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 30px;
}
.app-shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--text-xs);
  text-align: center;
}
.adventure-art .app-shot {
  position: relative;
  z-index: 1;
  width: min(62%, 250px);
  margin: -72px 6% 0 auto;
}
.compat-split > .app-shot {
  margin-inline: auto;
}
@media (min-width: 901px) {
  .compat-split {
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    column-gap: 56px;
    grid-template-areas: "text shot" "list shot";
    row-gap: 40px;
    align-items: center;
  }
  .compat-split > div:first-child {
    grid-area: text;
    align-self: end;
  }
  .compat-split > .compat-preview {
    grid-area: list;
    align-self: start;
    max-width: 480px;
  }
  .compat-split > .app-shot {
    grid-area: shot;
    margin-right: 0;
    justify-self: center;
  }
}
@media (max-width: 900px) {
  .app-shot-center {
    margin-top: 40px;
  }
}
