:root {
  color-scheme: dark;
  --background: #14131a;
  --surface: #1d1b24;
  --line: #363141;
  --pink: #f9a9bc;
  --ink: #f7eff5;
  --muted: #c2b4c6;
  --subtle: #a99bad;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
a { color: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; object-fit: cover; }
:focus-visible { outline: 2px solid #ffc4d4; outline-offset: 3px; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 6px; left: 6px; z-index: 10; background: var(--ink); color: var(--background); padding: 12px; }
.accent { color: var(--pink); }
.topbar { border-bottom: 1px solid #302a3a; background: #16141c; }
.topbar-inner, .container { max-width: 1280px; margin: 0 auto; padding-inline: clamp(17px, 4.4vw, 65px); }
.topbar-inner { min-height: 72px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; }
.wordmark { display: flex; width: fit-content; align-items: center; gap: 10px; font-weight: 750; font-size: 18px; letter-spacing: -.55px; text-decoration: none; white-space: nowrap; }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav button { border: 0; color: var(--muted); background: transparent; font-size: .89rem; font-weight: 670; min-height: 44px; padding: 0 16px; border-radius: 9px; }
.topnav button:hover, .topnav button[aria-current="page"] { color: #ffdae5; background: #352637; }
.account-actions { display: flex; align-items: center; justify-content: end; gap: 7px; }
.quiet-button { white-space: nowrap; border: 1px solid #494052; background: #211b2a; border-radius: 9px; min-height: 44px; color: #f0d7e2; font-size: .79rem; padding: 7px 10px; }
.quiet-button:hover { background: #3b2b40; }
.quiet-button > span:first-child { color: var(--pink); }
.club-button { border-color: #664457; color: #ffd4e2; }
.container { padding-bottom: 20px; }
.page-intro { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 32px 0 23px; }
.eyebrow { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; font-weight: 750; color: #f3b8cb; }
.eyebrow span { margin-inline: 4px; }
.page-intro h1 { font: 500 clamp(43px, 6vw, 76px)/.99 "Iowan Old Style", Georgia, serif; margin: 6px 0 8px; letter-spacing: -.045em; }
.page-intro h1:focus, .card-copy h2:focus { outline: none; }
.page-intro p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.48; font-size: .91rem; }
.quota { min-width: 172px; display: grid; gap: 4px; padding: 9px 13px; border: 1px solid #5b3d55; border-radius: 11px; background: linear-gradient(145deg, #392439, #261d2d); }
.quota-label, .quota-foot { color: #e7bbce; font-size: .72rem; }
.quota strong { color: #ffe1ea; font-size: .96rem; }
.discover-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.catalog-search { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 7px 12px; margin-bottom: 13px; }
.catalog-search input { flex: 1 1 230px; max-width: 430px; border: 1px solid #5f4a60; color: var(--ink); background: #1d1825; border-radius: 9px; min-height: 44px; padding: 8px 12px; }
.catalog-search p { margin: 0; color: var(--muted); font-size: .75rem; }
.discover-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.discover-filter button { min-height: 44px; border: 1px solid #483e50; border-radius: 10px; padding: 6px 13px; background: #211b29; color: var(--muted); font-size: .81rem; font-weight: 650; }
.discover-filter button:hover, .discover-filter button[aria-pressed="true"] { background: #452d43; color: #ffdae5; border-color: #80526c; }
.discover-filter span, .fiction-note > span { color: var(--pink); }
.fiction-note { color: var(--subtle); font-size: .74rem; text-align: end; }
.discover-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(235px, 1fr); align-items: start; gap: 15px; }
.discovery-card { display: grid; grid-template-columns: minmax(0, 1.21fr) minmax(0, 1fr); min-height: clamp(390px, 37vw, 500px); background: var(--surface); border: 1px solid #47374b; border-radius: 17px; overflow: hidden; }
.portrait-stage { min-height: 100%; position: relative; background: #35243c; }
.portrait-stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(91deg, #19141e0a 70%, #1d1b2440); pointer-events: none; }
.ai-tag { position: absolute; top: 13px; left: 13px; z-index: 1; color: #ffe5ee; border: 1px solid #9a6a82; padding: 7px 9px; border-radius: 999px; background: #2d1d2bef; font-size: .72rem; font-weight: 700; }
.ai-tag span { color: var(--pink); padding-right: 3px; }
.artwork-tag { position: absolute; bottom: 12px; left: 12px; z-index: 1; border-radius: 7px; padding: 5px 7px; color: var(--ink); background: #241a29ec; font-size: .69rem; }
.card-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(14px, 2.2vw, 31px); }
.card-copy h2 { color: var(--ink); font: 500 clamp(31px, 3.8vw, 58px)/.98 "Iowan Old Style", Georgia, serif; margin: 10px 0; letter-spacing: -.055em; }
.card-copy h2 span { white-space: nowrap; color: #ecc4d6; font-size: .67em; }
.distance { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 0; color: #eac2d4; font-size: .73rem; font-weight: 650; line-height: 1.35; }
.distance > span { color: #af91a6; }
.distance svg, .message-form svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.profession { margin: 0 0 10px; color: #efd0e2; font-size: .87rem; font-weight: 670; }
.card-bio { margin: 0 0 14px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.traits { display: flex; gap: 5px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 16px; }
.traits li { color: #f0d0dd; background: #352337; border: 1px solid #5e435c; border-radius: 999px; padding: 5px 8px; font-size: .67rem; white-space: nowrap; }
.card-actions { display: flex; gap: 8px; align-items: stretch; }
.card-actions .primary { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 5px; }
.primary, .secondary { min-height: 44px; border: 1px solid transparent; padding: 8px 12px; border-radius: 9px; font-size: .82rem; font-weight: 750; }
.primary { color: #2a1924; background: var(--pink); }
.primary:hover:not(:disabled) { background: #ffc3d4; }
.secondary { border-color: #5b465d; background: #31243a; color: #efdae9; }
.secondary:hover:not(:disabled) { background: #49324b; }
.text-button { align-self: start; color: #e9c3d5; border: 0; min-height: 44px; padding: 6px 0; background: transparent; font-size: .78rem; font-weight: 650; text-align: left; }
.text-button:hover { color: var(--pink); text-decoration: underline; }
.profile-rail { border: 1px solid var(--line); border-radius: 16px; background: #1b1822; overflow: hidden; }
.rail-title { padding: 13px 13px 9px; }
.rail-title h2 { margin: 0 0 4px; font-size: 1rem; }
.rail-title p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.rail-list { display: grid; gap: 1px; }
.rail-card { position: relative; display: grid; grid-template-columns: 49px minmax(0,1fr) auto; align-items: center; gap: 9px; min-height: 68px; width: 100%; text-align: left; border: 0; border-top: 1px solid #342b3e; padding: 8px 11px; color: var(--ink); background: #211b29; }
.rail-card:hover { background: #352637; }
.rail-card:focus-visible { outline-offset: -3px; }
.rail-card img { border-radius: 8px; width: 49px; height: 49px; }
.rail-card strong, .rail-card small { display: block; }
.rail-card strong { margin-bottom: 2px; font-size: .8rem; }
.rail-card small { color: var(--muted); font-size: .69rem; line-height: 1.25; }
.rail-card .rail-ai { display: block; margin-top: 2px; color: #d9aabe; }
.rail-arrow { color: #e0b8ca; }
.rail-pages { border-top: 1px solid #423248; display: grid; grid-template-columns: 1fr auto 1fr; gap: 7px; align-items: center; padding: 8px; color: var(--muted); font-size: .72rem; text-align: center; }
.rail-pages button { padding-inline: 6px; font-size: .75rem; }
.empty-panel { min-height: 285px; padding: 20px; display: grid; align-content: center; justify-items: center; text-align: center; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.empty-panel h2, .empty-panel p { margin: 0 0 10px; }
.empty-panel p { color: var(--muted); }
.empty-icon { color: var(--pink); font-size: 1.4rem; margin-bottom: 8px; }
.square-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(240px, 1fr); align-items: start; gap: 16px; }
.square-feed { display: grid; gap: 11px; }
.post, .compose-form, .square-aside { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.post-head { display: flex; align-items: center; min-width: 0; gap: 9px; }
.post-head > div { flex: 1; min-width: 0; }
.post-head img, .own-avatar { border-radius: 50%; }
.own-avatar { width: 46px; height: 46px; display: grid; place-items: center; color: #ffd1df; background: #4b3050; font-weight: 750; }
.post-head strong, .post-profile { color: var(--ink); font-weight: 750; text-align: left; font-size: .88rem; }
.post-profile { padding: 0; border: 0; background: none; min-height: 28px; }
.post-profile:hover { color: var(--pink); text-decoration: underline; }
.post-head small { display: block; margin-top: 1px; color: var(--muted); font-size: .7rem; }
.post-ai, .post-topic { border: 1px solid #5f465d; color: #ffd4e4; background: #362635; border-radius: 999px; padding: 5px 8px; font-size: .68rem; white-space: nowrap; }
.post-text { color: #f1e4ed; font-size: .92rem; margin-block: 12px; line-height: 1.62; overflow-wrap: anywhere; }
.post-footer { display: flex; align-items: center; justify-content: space-between; gap: 9px; border-top: 1px solid #382d40; padding-top: 9px; }
.post-topic { border: 0; background: transparent; padding-inline: 0; }
.square-aside { background: linear-gradient(145deg, #3d293d, #231d2b); }
.square-icon { display: grid; width: 34px; height: 34px; place-items: center; background: #59384f; border-radius: 8px; font-size: 1.3rem; color: #ffd1e0; }
.square-aside h2 { margin: 9px 0 5px; font: 500 1.55rem "Iowan Old Style", Georgia, serif; }
.square-aside p { color: var(--muted); margin: 0 0 10px; line-height: 1.5; font-size: .83rem; }
.compose-form { display: grid; gap: 8px; margin-bottom: 11px; }
.compose-form label { font-size: .86rem; font-weight: 680; }
.compose-form textarea, .message-form input { color: var(--ink); background: #16121f; border: 1px solid #5f4a60; border-radius: 9px; padding: 10px; font-size: 16px; }
.compose-form textarea { width: 100%; resize: vertical; }
.compose-form > div { color: var(--muted); font-size: .74rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.history-list { display: grid; gap: 8px; max-width: 775px; min-height: 160px; align-content: start; }
.empty-history { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: var(--surface); }
.history-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 8px; border: 1px solid #45364b; border-radius: 12px; background: #231c2c; }
.history-link { display: flex; align-items: center; gap: 10px; padding: 3px; text-align: left; min-width: 0; border: 0; background: transparent; color: var(--ink); }
.history-link:hover { color: var(--pink); }
.history-link img { border-radius: 8px; width: 48px; height: 48px; flex: 0 0 48px; }
.history-link span { min-width: 0; }
.history-link strong, .history-link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-link strong { font-size: .87rem; }
.history-link small { color: var(--muted); font-size: .7rem; margin-top: 2px; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; color: var(--subtle); font-size: .72rem; margin-top: 20px; }
dialog { width: min(100% - 22px, 535px); max-height: min(91dvh, 700px); color: var(--ink); background: #221c2a; border: 1px solid #584359; border-radius: 16px; padding: 0; box-shadow: 0 12px 50px #0b0716d0; }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #100c19bd; backdrop-filter: blur(5px); }
.dialog-head { display: flex; gap: 9px; align-items: center; border-bottom: 1px solid #49364c; padding: 11px 14px; }
.dialog-identity { min-width: 0; flex: 1; }
.dialog-identity h2 { margin: 0 0 4px; font-size: 1.06rem; }
.dialog-identity p { margin: 0; font-size: .74rem; color: var(--muted); }
.icon-button { width: 44px; height: 44px; border-radius: 9px; font-size: 1.5rem; color: var(--ink); border: 1px solid #67495e; background: #33263b; }
.icon-button:hover { background: #49334e; }
.dialog-body { padding: 15px; overflow: auto; }
.dialog-body p { margin: 0 0 13px; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.dialog-body .membership-context { color: #ffd4e3; }
.dialog-body .balance-total { color: var(--ink); font: 500 2rem "Iowan Old Style", Georgia, serif; }
.gift-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.ledger { display: grid; gap: 2px; padding: 0; list-style: none; margin: 14px 0 0; }
.ledger li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #44354a; font-size: .82rem; }
.ledger li strong { color: #f7bdd2; }
.profile-content { overflow: auto; display: grid; grid-template-columns: minmax(160px,.75fr) minmax(0,1fr); }
.detail-portrait { width: 100%; height: 100%; object-fit: cover; background: #412843; }
.detail-content { padding: 13px; }
.detail-content p { margin: 0 0 9px; color: var(--muted); font-size: .82rem; line-height: 1.47; }
.detail-content .distance, .detail-content .profession, .detail-content .detail-artwork { color: #f1c5d9; }
.detail-interests strong { display: block; color: var(--ink); }
.chat-avatar { border-radius: 50%; width: 44px; height: 44px; }
.chat-notice, .voice-status, .chat-context { margin: 8px 14px 0; color: #edbed5; font-size: .72rem; line-height: 1.35; }
.chat-context { background: #392a40; color: #ead0e2; border-radius: 7px; padding: 6px 8px; }
.chat-allowance { margin: 4px 14px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 8px; color: var(--muted); font-size: .73rem; }
.chat-allowance .text-button { min-height: 44px; }
.memory-panel { margin: 1px 14px 5px; padding: 9px; border: 1px solid #584359; background: #2b2235; border-radius: 9px; color: var(--muted); font-size: .75rem; overflow-y: auto; max-height: 27dvh; }
.memory-panel p { margin: 0 0 5px; }
.memory-panel ul { margin: 5px 0; padding: 0; list-style: none; }
.memory-panel li { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; overflow-wrap: anywhere; }
.memory-panel .secondary { font-size: .7rem; padding-inline: 6px; }
.chat-log { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; overflow-y: auto; min-block-size: min(22dvh, 170px); padding: 11px 14px; }
.chat-log:focus-visible { outline-offset: -3px; }
.chat-line { margin: 0; max-width: 87%; padding: 7px 10px; border: 1px solid #55445c; background: #372b3f; border-radius: 11px 11px 11px 3px; color: var(--ink); font-size: .84rem; line-height: 1.48; overflow-wrap: anywhere; }
.chat-line.user { align-self: flex-end; border-color: #875374; background: #532e46; border-radius: 11px 11px 3px 11px; }
.chat-line small { display: block; color: #f1c3db; font-size: .67rem; margin-bottom: 2px; }
.chat-starters, .chat-tools { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 14px 7px; }
.chat-starters button { min-height: 44px; padding: 5px 8px; border: 1px solid #6a4a65; border-radius: 999px; background: #3d2a3e; color: #f6d0e1; font-size: .73rem; }
.chat-starters button:hover { background: #50344e; }
.chat-tools { border-top: 1px solid #4a3b51; padding-top: 8px; }
.chat-tools .secondary { font-size: .75rem; }
.voice-status { margin-top: 0; margin-bottom: 7px; color: var(--muted); }
.message-form { display: flex; gap: 6px; padding: 8px 14px 12px; border-top: 1px solid #4a3b51; }
.message-form input { min-width: 0; flex: 1; }
.message-form button { min-height: 44px; width: 44px; color: #2a1925; border: 0; border-radius: 9px; display: grid; place-items: center; background: var(--pink); }
.message-form button:hover:not(:disabled) { background: #ffc3d4; }
.message-form svg { width: 20px; height: 20px; stroke-width: 2; }
.noscript { margin: 12px; color: var(--pink); }
@media (max-width: 902px) {
  .topbar-inner { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 9px; padding-block: 8px 6px; }
  .topnav { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; }
  .account-actions { grid-column: 2; grid-row: 1; }
  .discover-grid { grid-template-columns: minmax(0, 2fr) minmax(210px, 1fr); gap: 10px; }
  .discovery-card { grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); }
}
@media (max-width: 670px) {
  .discover-grid, .square-grid { grid-template-columns: minmax(0,1fr); }
  .page-intro { padding-block: 15px 16px; align-items: flex-start; flex-wrap: wrap; }
  .discover-toolbar, .catalog-search { margin-bottom: 8px; }
  .quota { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; padding: 6px 8px; }
  .quota-label, .quota-foot { font-size: .7rem; }
  .quota strong { font-size: .79rem; }
  .discovery-card { min-height: 0; grid-template-columns: minmax(0,1fr); }
  .portrait-stage { min-height: clamp(160px, 49vw, 295px); }
  .portrait-stage img { object-position: center 38% !important; }
  .card-copy { padding: 12px 15px 3px; }
  .card-copy h2 { margin: 6px 0; }
  .card-bio { margin-bottom: 8px; }
  .traits { margin-bottom: 10px; }
  .rail-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rail-card { gap: 6px; grid-template-columns: 37px minmax(0,1fr) auto; padding-inline: 7px; }
  .rail-card img { width: 37px; height: 37px; }
  .rail-card strong { font-size: .72rem; }
  .rail-card small { font-size: .62rem; }
  .fiction-note { line-height: 1.35; }
}
@media (max-width: 480px) {
  .topbar-inner, .container { padding-inline: 12px; }
  .wordmark { font-size: .91rem; gap: 5px; }
  .wordmark img { width: 29px; height: 29px; }
  .wallet-label { display: none; }
  .discover-filter button, .quiet-button { padding-inline: 7px; }
  .discover-filter button { font-size: .72rem; }
  .fiction-note { max-width: 92px; font-size: .67rem; }
  .post, .compose-form, .square-aside { padding: 11px; }
  .profile-content { display: block; }
  .detail-portrait { height: 177px; }
}
@media (prefers-reduced-motion: no-preference) {
  button { transition: color .14s, background-color .14s, border-color .14s; }
}

/* Preference-first discovery: the existing plum and rose palette, photo-led. */
.topbar-inner { max-width: 1600px; display: flex; flex-wrap: wrap; min-height: 76px; gap: 12px 22px; }
.topnav { margin-left: auto; }
.auth-navigation { display: flex; align-items: center; gap: 16px; margin-left: auto; font-size: .82rem; }
.auth-navigation .text-button { white-space: nowrap; }
.auth-navigation .primary { padding-inline: 20px; }
.account-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; font-weight: 650; }
.auth-navigation > span { color: var(--muted); font-size: .75rem; }
.onboarding { max-width: 1440px; min-height: calc(100dvh - 77px); margin-inline: auto; padding: clamp(30px,5vw,76px) clamp(24px,6vw,86px); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px,8vw,120px); align-items: center; }
.onboarding-copy { max-width: 525px; }
.onboarding h1 { margin: 13px 0 19px; font: 500 clamp(58px,6.5vw,94px)/.97 "Iowan Old Style",Georgia,serif; letter-spacing: -.055em; }
.onboarding h1 em { color: var(--pink); font-weight: 450; }
.onboarding-lede { margin: 0 0 12px; color: var(--muted); font-size: .96rem; }
.identity-disclosure { margin: 0 0 27px; color: #dcbdcf; font-size: .76rem; }
.preference-form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.preference-form legend, .preference-grid > label { font-size: .78rem; font-weight: 650; color: #eadbe6; }
.preference-form legend { margin-bottom: 10px; }
.gender-options { display: flex; gap: 8px; flex-wrap: wrap; }
.gender-options label { position: relative; cursor: pointer; }
.gender-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gender-options span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #58445a; border-radius: 999px; padding: 9px 17px; color: var(--muted); font-size: .82rem; }
.gender-options input:checked + span { color: #ffdae4; background: #422b3e; border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }
.gender-options input:checked + span::before { content:"✓"; padding-right: 5px; }
.gender-options input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 4px; }
.preference-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 14px; }
.preference-grid label { display: grid; gap: 8px; min-width: 0; }
.preference-grid select { width: 100%; min-height: 47px; border-radius: 9px; border: 1px solid #514256; background: #211b29; padding: 10px 30px 10px 12px; color: var(--ink); font: 400 .85rem -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-overflow: ellipsis; }
.preference-count { font-size: .77rem; color: var(--muted); margin: 20px 0 12px; min-height: 20px; }
.preference-continue { width: 100%; display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-radius: 10px; padding-inline: 19px; font-size: .9rem; }
.preference-footnote { margin: 12px 0 0; text-align: center; color: var(--subtle); font-size: .7rem; line-height: 1.7; }
.onboarding-art { align-self: stretch; position: relative; min-height: 660px; padding: 12px 0; }
.portrait-collage { position: absolute; inset: 20px -10px 85px 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 17px; transform: rotate(-4deg); }
.portrait-collage img { width: 100%; height: 100%; border-radius: 16px; border: 1px solid #66505b; object-position: center 32%; }
.portrait-collage img:nth-child(2), .portrait-collage img:nth-child(4) { transform: translateY(30px); }
.onboarding-art::after { content: ""; position: absolute; inset: 45% -30px 25px; background: linear-gradient(transparent, #14131a 90%); pointer-events: none; }
.collage-caption { position: absolute; z-index: 1; bottom: 5px; left: 20px; }
.collage-mark { color: var(--pink); font-size: 42px; }
.collage-caption p { margin: 4px 0 14px; font: 500 49px/1.07 "Iowan Old Style",Georgia,serif; letter-spacing: -.04em; }
.collage-caption em { color: var(--pink); }
.collage-note { color: var(--muted); font-size: .8rem; line-height: 1.6; }
.auth-body { padding: 25px; }
.auth-body label { display: grid; gap: 7px; color: var(--ink); font-size: .82rem; font-weight: 600; }
.auth-body input:not([type="checkbox"]) { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #69516a; background: #18131e; border-radius: 8px; padding: 10px 12px; color: var(--ink); font-size: 16px; }
#auth-form { display: grid; gap: 17px; }
.password-control { display: flex; border: 1px solid #69516a; border-radius: 8px; overflow: hidden; }
.password-control input:not([type="checkbox"]) { border: 0; border-radius: 0; }
.password-control button { border: 0; padding: 0 13px; min-width: 55px; background: #302338; color: #e9c5d7; font-size: .77rem; }
.auth-body .account-consent { grid-template-columns: 20px minmax(0,1fr); gap: 9px; align-items: start; font-size: .76rem; color: var(--muted); line-height: 1.6; font-weight: 400; }
.account-consent input { margin: 5px 0; width: 17px; height: 17px; accent-color: var(--pink); }
.auth-body .form-error { color: #ffbfc8; font-size: .8rem; padding: 10px 12px; border: 1px solid #925365; border-radius: 8px; margin: 0; }
.auth-links { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 13px; font-size: .75rem; }
.auth-body .auth-storage-note { margin-top: 12px; font-size: .7rem; color: var(--subtle); }
#auth-submit { min-height: 48px; }
#auth-verification .primary, #auth-verification .text-button { display: block; width: 100%; margin-bottom: 7px; }
body.browsing .container { max-width: 1600px; padding-inline: clamp(20px,4vw,60px); }
body.browsing .page-intro { padding: 27px 0 18px; align-items: center; }
body.browsing .page-intro h1 { font-size: clamp(30px,3vw,43px); letter-spacing: -.04em; margin-block: 5px; }
body.browsing .page-intro p:not(.eyebrow) { font-size: .82rem; }
body.browsing .quota { min-width: 0; background: #241d2b; padding: 9px 14px; }
.discovery-summary { margin: -4px 0 18px; font-size: .73rem; color: #dfb9cd; text-transform: capitalize; }
.gallery-grid { display: block; column-count: 5; column-gap: 17px; }
.gallery-card { min-width: 0; break-inside: avoid; margin-bottom: 24px; }
.gallery-image { display: block; position: relative; width: 100%; border: 0; padding: 0; background: #2d2334; border-radius: 13px; overflow: hidden; text-align: left; color: var(--ink); }
.gallery-image > img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery-card:nth-child(3n + 2) .gallery-image > img { aspect-ratio: 4 / 5.5; }
.gallery-card:nth-child(3n) .gallery-image > img { aspect-ratio: 4 / 4.6; }
.gallery-image::after { content:""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,#17101b85); pointer-events:none; }
.virtual-badge { position: absolute; left: 10px; top: 10px; background: #211724de; border: 1px solid #b38c9a80; color: #fff1f4; padding: 4px 7px; border-radius: 999px; font-size: .62rem; font-weight: 600; z-index: 1; }
.image-prompt { position: absolute; bottom: 12px; left: 13px; right: 13px; z-index: 1; font-size: .74rem; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.image-prompt > span { font-size: 19px; }
.gallery-copy { padding: 10px 2px 0; }
.profile-name { max-width: 100%; border: 0; padding: 0; background: transparent; color: var(--ink); text-align: left; min-height: 30px; font-size: .91rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.profile-name > span { color: #d0b4c7; font-weight: 450; }
.gallery-profession { margin: 1px 0 8px; color: #d3bdce; font-size: .73rem; line-height: 1.35; }
.gallery-line { margin: 0; color: var(--muted); font-size: .74rem; line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.gallery-bottom { display: flex; gap: 5px; align-items: center; justify-content: space-between; margin-top: 7px; }
.gallery-bottom > span { color: #c9a0b7; font-size: .64rem; line-height: 1.4; }
.hello-button { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; padding: 9px; border: 1px solid #67465c; border-radius: 50%; color: var(--pink); background: #322131; }
.hello-button:hover { color: #241723; background: var(--pink); }
.hello-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hello-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.catalog-pagination { display: flex; justify-content: center; align-items: center; gap: 22px; margin: 28px 0 15px; font-size: .8rem; color: var(--muted); }
.mobile-discovery { display: none; }
@media (min-width: 671px) and (max-width: 1150px) {
  .gallery-grid { column-count: 4; }
  .topbar-inner { gap: 8px 12px; padding-inline: 24px; }
  .topnav button { padding-inline: 11px; }
  .wordmark { font-size: 16px; }
  .account-actions { margin-left: auto; }
  .onboarding { gap: 40px; padding-inline: 35px; }
  .onboarding-art { min-height: 590px; }
  .portrait-collage { gap: 10px; }
}
@media (max-width: 900px) {
  .gallery-grid { column-count: 3; }
  .onboarding { grid-template-columns: minmax(0,1fr); max-width: 570px; padding-top: 38px; }
  .onboarding-art { display: none; }
  .onboarding-copy { max-width: none; }
  .onboarding h1 { font-size: 70px; }
  .topbar-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; padding: 9px 17px; gap: 5px 10px; }
  .topnav { grid-row: 2; grid-column: 1 / -1; margin: 0; justify-content: center; }
  .auth-navigation { grid-row: 1; grid-column: 2; gap: 12px; }
  .account-actions { display: none; }
}
@media (max-width: 670px) {
  .wordmark { font-size: 14px; gap: 6px; }
  .wordmark img { width: 28px; height: 28px; }
  .auth-navigation { gap: 10px; }
  .auth-navigation .primary { padding-inline: 12px; min-height: 44px; }
  .auth-navigation .text-button { font-size: .76rem; }
  .account-name { max-width: 95px; font-size: .76rem; }
  .onboarding { padding: 33px 24px 30px; min-height: calc(100dvh - 65px); }
  .onboarding h1 { font-size: clamp(62px,18vw,83px); margin-top: 16px; }
  .onboarding-lede { max-width: 270px; font-size: .88rem; line-height: 1.6; }
  .identity-disclosure { line-height: 1.5; margin-bottom: 25px; }
  .gender-options { gap: 6px; }
  .gender-options span { padding-inline: 12px; font-size: .76rem; }
  .preference-grid { gap: 17px 12px; }
  .preference-grid select { font-size: 16px; padding-left: 9px; }
  .auth-body { padding: 19px; }
  body.browsing .container { padding: 0 12px 15px; }
  body.browsing .topnav { justify-content: space-around; }
  body.browsing .page-intro { padding: 11px 0 9px; }
  body.browsing .page-intro h1 { font-size: 27px; margin: 0; }
  body.browsing .page-intro .eyebrow, body.browsing .page-intro p:not(.eyebrow), body.browsing .quota { display:none; }
  .discover-toolbar { margin-bottom: 7px; }
  .discover-filter button { padding-inline: 9px; font-size: .72rem; }
  #edit-preferences { font-size: .7rem; padding-inline: 9px; }
  .catalog-search { gap: 6px; margin-bottom: 8px; }
  .catalog-search input { min-height: 42px; max-width: 100%; flex-basis: 160px; width: 0; font-size: 16px; }
  .catalog-search p { font-size: .64rem; flex-basis: 90px; text-align: right; }
  .discovery-summary { display: none; }
  .gallery-grid, .catalog-pagination { display:none; }
  .mobile-discovery { display: block; }
  .swipe-deck { height: max(320px,calc(100dvh - 290px)); overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; scrollbar-width: none; border-radius: 15px; touch-action: pan-y; }
  .swipe-deck::-webkit-scrollbar { display:none; }
  .swipe-card { scroll-snap-align: start; scroll-snap-stop: always; height: 100%; position: relative; overflow: hidden; border-radius: 15px; background: #2d2334; }
  .swipe-card .gallery-image { height: 100%; width: 100%; border-radius: 0; }
  .swipe-card .gallery-image > img { height: 100%; width: 100%; object-fit: cover; aspect-ratio: auto; }
  .swipe-card .gallery-image::after { inset: 30% 0 0; background: linear-gradient(transparent,#120c16 98%); }
  .swipe-card .virtual-badge { left: 16px; top: 16px; }
  .swipe-card .image-prompt { display:none; }
  .swipe-card .gallery-copy { position:absolute; left: 22px; bottom: 21px; right: 22px; padding: 0; pointer-events:none; }
  .swipe-card .gallery-copy button { pointer-events:auto; }
  .swipe-card .profile-name { font-size: 28px; color: #fff; letter-spacing: -.04em; }
  .swipe-card .profile-name > span { color: #ffdeeb; font-size: 23px; }
  .swipe-card .gallery-profession { font-size: .85rem; color: #f5d9e8; margin-bottom: 9px; }
  .swipe-card .gallery-line { max-width: 85%; font-size: .83rem; color: #eee0e9; line-height: 1.55; }
  .swipe-card .gallery-bottom { margin-top: 10px; gap: 10px; }
  .swipe-card .gallery-bottom > span { color: #e5b6cc; font-size: .71rem; }
  .swipe-card .hello-button { display:flex; gap: 10px; justify-content:center; width: auto; height: 46px; padding: 11px 17px; border-radius: 999px; background: var(--pink); color: #2b1a26; font-weight: 700; }
  .swipe-card .hello-label { position:static; width: auto; height: auto; clip-path: none; font-size: .78rem; }
  .swipe-controls { min-height: 49px; display:flex; gap: 12px; align-items:center; justify-content:center; color: var(--muted); font-size: .72rem; }
  .swipe-controls button { height: 44px; width: 44px; border: 0; background: transparent; color: var(--pink); font-size: 20px; }
  .swipe-hint { color: #ac93aa; }
  body.browsing footer { font-size: .63rem; margin: 8px 3px; }
  .empty-panel { min-height: 340px; padding-inline: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .gallery-card .gallery-image img { transition: transform .25s ease; }
  .gallery-card .gallery-image:hover img { transform: scale(1.025); }
}

.preview-status {font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:18px}.preview-status a,.public-overview a {color:var(--pink);text-underline-offset:4px}.story-selection {border:1px solid #765665;border-radius:12px;padding:12px 16px;margin:18px 0;background:#241d29}.story-selection p{margin:0;font-size:13px}.story-selection .text-button{min-height:44px}.public-overview {max-width:1300px;margin:0 auto;padding:40px clamp(24px,6vw,70px) 70px;border-top:1px solid var(--line)}.public-overview h2{font:500 clamp(32px,4vw,45px)/1.2 Georgia,serif;margin:16px 0 30px}.public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.public-grid article{border:1px solid var(--line);padding:24px;border-radius:14px;background:#201b27}.public-grid h3{font:500 24px/1.25 Georgia,serif;margin:0 0 16px}.public-grid p,.public-limits{font-size:14px;line-height:1.8;color:var(--muted)}.public-limits{margin-top:28px}.public-links{display:flex;gap:18px 24px;flex-wrap:wrap;margin-top:28px;font-size:13px}.browsing .public-overview{display:none}@media(max-width:900px){.public-grid{grid-template-columns:1fr}.public-overview{max-width:570px}}

.auth-navigation{flex-wrap:wrap;justify-content:flex-end}.auth-service-notice{flex-basis:100%;display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:11px;color:var(--muted)}.auth-service-notice .text-button{min-height:36px;font-size:11px}@media(max-width:670px){.auth-navigation{max-width:210px;gap:6px 12px}.auth-service-notice{font-size:10px;flex-direction:column;align-items:flex-end;gap:0}.auth-service-notice .text-button{font-size:10px;min-height:32px;padding:4px 0}.topbar-inner{align-items:center}}
