/* ==========================================================================
   AI Girlfriend — en-aigirlfriends.com
   Shared stylesheet. Original design inspired by the visual language of
   premium AI companion products, not a copy of any existing site.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e090b;
  --bg-soft: #140c0f;
  --bg-elevated: #191013;
  --surface: #1d1316;
  --card: #25171c;
  --card-2: #2c1c21;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #fdf7f9;
  --muted: #c6b1b8;
  --dim: #9b848b;
  --pink: #e36990;
  --pink-bright: #ea8fac;
  --pink-deep: #b83a62;
  --purple: #e888a6;
  --purple-deep: #a84262;
  --gold: #e99ab3;
  --green: #72d6a6;
  --danger: #ec9eb7;
  --grad-pink: linear-gradient(135deg, #e67a9c 0%, #d84775 100%);
  --grad-lilac: linear-gradient(135deg, #ea91ad 0%, #e888a6 100%);
  --grad-text: linear-gradient(100deg, #f8dbe4 0%, #ea8fac 42%, #efaac0 100%);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 22px 60px rgba(0, 0, 0, 0.38);
  --shadow-glow: 0 18px 60px rgba(227, 105, 144, 0.18);
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: var(--sans);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --container: 1180px;
  --container-wide: 1320px;
  --header-height: 78px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 60% 38% at 78% -4%, rgba(232, 136, 166, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 28% at 12% 2%, rgba(227, 105, 144, 0.09), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

::selection { background: rgba(227, 105, 144, 0.35); color: #ffffff; }

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

img { height: auto; }

a { color: inherit; text-decoration: none; }

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

button { color: inherit; }

h1, h2, h3, h4, p, figure, blockquote { margin-top: 0; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; line-height: 1.25; }

p { margin-bottom: 0; }
ul, ol { margin-top: 0; }

strong { color: #ffffff; font-weight: 650; }

:focus-visible {
  outline: 2px solid var(--pink-bright);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--pink);
  color: #140d0f;
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.container-wide {
  width: min(var(--container-wide), calc(100% - 48px));
  margin-inline: auto;
}

.section { position: relative; padding: clamp(64px, 8.5vw, 112px) 0; }
.section-sm { padding: clamp(46px, 6vw, 76px) 0; }
.section-flush-top { padding-top: 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head > div { max-width: 760px; }
.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head.center > div { max-width: 780px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); max-width: 640px; }
.section-head.center p { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #f1b6c9;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), transparent);
}
.eyebrow--center::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink));
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.8;
}
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 0.82rem; line-height: 1.65; }
.tiny { font-size: 0.72rem; line-height: 1.55; }
.serif { font-family: var(--display); }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nowrap { white-space: nowrap; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 48px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(34px, 6vw, 84px); align-items: center; }
.split.wide-left { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
.split.top { align-items: start; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.badge-adult {
  border-color: rgba(236, 158, 183, 0.4);
  background: rgba(236, 158, 183, 0.1);
  color: #f5ccd9;
}
.badge-demo {
  border-color: rgba(232, 136, 166, 0.35);
  background: rgba(232, 136, 166, 0.11);
  color: #f7d6e0;
}
.badge-live {
  border-color: rgba(114, 214, 166, 0.28);
  background: rgba(114, 214, 166, 0.08);
  color: #a6f0c9;
}
.badge .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--dim);
  font-size: 0.76rem;
  line-height: 1.6;
}
.note svg { flex: 0 0 auto; margin-top: 2px; }
.note strong { color: var(--muted); font-weight: 650; }

.rule { height: 1px; margin: 0; border: 0; background: var(--line); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}
.btn svg { flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--grad-pink);
  box-shadow: 0 12px 30px rgba(221, 77, 123, 0.24), inset 0 1px rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ea91ad 0%, #de517e 100%);
  box-shadow: 0 16px 38px rgba(221, 77, 123, 0.34), inset 0 1px rgba(255, 255, 255, 0.25);
}
.btn-outline {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.075); }
.btn-ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn-ghost:hover { color: #ffffff; background: rgba(255, 255, 255, 0.05); }
.btn-sm { min-height: 38px; padding: 0 15px; font-size: 0.75rem; }
.btn-lg { min-height: 54px; padding: 0 27px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn .ext { font-size: 0.66rem; opacity: 0.65; font-weight: 600; letter-spacing: 0.02em; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4e8ec;
  font-size: 0.82rem;
  font-weight: 750;
  transition: color 0.2s ease, gap 0.2s ease;
}
.link-arrow svg { transition: transform 0.2s ease; color: var(--pink-bright); }
.link-arrow:hover { color: var(--pink-bright); gap: 11px; }
.link-arrow:hover svg { transform: translateX(2px); }

.action-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.action-row.center { justify-content: center; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(14, 9, 11, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(14, 9, 11, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.22), transparent 42%), var(--grad-pink);
  box-shadow: 0 6px 20px rgba(227, 105, 144, 0.28);
  color: #ffffff;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  color: #ffffff;
}
.brand-sub {
  margin-top: 3px;
  color: var(--dim);
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 11px 10px;
  border-radius: 9px;
  color: #cfbdc3;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: #ffffff; background: rgba(255, 255, 255, 0.045); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 16px;
  height: 1px;
  background: var(--pink-bright);
  transform: translateX(-50%);
}
.nav-drop-toggle { border: 0; background: transparent; cursor: pointer; }
.nav-drop-toggle svg { transition: transform 0.2s ease; }
.nav-item.is-open .nav-drop-toggle svg,
.nav-dropdown:hover .nav-drop-toggle svg { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: 246px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(29, 19, 22, 0.98);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.nav-item.is-open .dropdown-panel,
.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease;
}
.dropdown-link:hover { background: rgba(255, 255, 255, 0.055); color: #ffffff; }
.dropdown-link svg { flex: 0 0 auto; margin-top: 2px; color: var(--pink-bright); }
.dropdown-link span { display: block; }
.dropdown-link small { display: block; margin-top: 2px; color: var(--dim); font-size: 0.64rem; line-height: 1.35; }
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header-actions .btn { min-height: 39px; padding-inline: 15px; font-size: 0.73rem; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav-extra { display: none; }

/* Homepage hero ------------------------------------------------------------ */
.hero-home {
  position: relative;
  padding: clamp(40px, 6vw, 70px) 0 clamp(62px, 8vw, 100px);
  isolation: isolate;
}
.hero-home::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -10%;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 136, 166, 0.13), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; padding: 12px 0; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero-kicker .badge-adult { letter-spacing: 0.06em; }
.hero-title {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 4.7vw, 4.25rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.hero-title .line { display: block; }
.hero-title .soft { color: #f4e6ea; }
.hero-title .accent {
  display: inline;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 485px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.25vw, 1.04rem);
  line-height: 1.78;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 26px;
  color: var(--dim);
  font-size: 0.7rem;
  line-height: 1.5;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: #d3a1b1; }
.hero-stage {
  position: relative;
  min-height: 600px;
  isolation: isolate;
}
.stage-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 540px;
  height: 540px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 105, 144, 0.22), rgba(232, 136, 166, 0.1) 43%, transparent 68%);
  filter: blur(12px);
  transform: translate(-46%, -50%);
}
.stage-orbit {
  position: absolute;
  inset: 3% 2% 4%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  transform: rotate(-12deg);
}
.stage-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--card);
  box-shadow: var(--shadow-md);
}
.stage-card img { width: 100%; height: 100%; object-fit: cover; }
.stage-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 7, 8, 0.82) 100%);
}
.stage-main {
  top: 18px;
  right: 6%;
  z-index: 4;
  width: min(60%, 348px);
  aspect-ratio: 0.7;
  border-radius: 170px 170px 24px 24px;
  transform: rotate(1.6deg);
  animation: float-slow 8s ease-in-out infinite;
}
.stage-left {
  top: 130px;
  left: 0;
  z-index: 2;
  width: 39%;
  aspect-ratio: 0.72;
  border-radius: 22px;
  transform: rotate(-7deg);
  opacity: 0.88;
}
.stage-right {
  right: 0;
  bottom: 20px;
  z-index: 3;
  width: 35%;
  aspect-ratio: 0.72;
  border-radius: 22px;
  transform: rotate(6deg);
  opacity: 0.9;
}
.stage-tag {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  color: #ffffff;
}
.stage-tag strong {
  display: block;
  color: #ffffff;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.1;
}
.stage-tag small { color: rgba(255, 255, 255, 0.7); font-size: 0.65rem; line-height: 1.4; }
.online-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(114, 214, 166, 0.15);
}
.floating-bubble {
  position: absolute;
  z-index: 7;
  max-width: 228px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px 14px 14px 4px;
  background: rgba(37, 23, 28, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  color: #f7eef1;
  font-size: 0.72rem;
  line-height: 1.5;
  backdrop-filter: blur(12px);
  animation: float-bubble 7s ease-in-out infinite;
}
.floating-bubble .who {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  color: var(--pink-bright);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.bubble-a { top: 82px; left: -8px; }
.bubble-b {
  right: -8px;
  bottom: 118px;
  max-width: 205px;
  border-radius: 14px 14px 4px 14px;
  background: rgba(53, 34, 40, 0.88);
  animation-delay: -3s;
}
.hero-floating-badge {
  position: absolute;
  top: 46%;
  right: -12px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(20, 13, 15, 0.9);
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}
.hero-floating-badge svg { color: var(--pink-bright); }
@keyframes float-slow { 0%, 100% { transform: translateY(0) rotate(1.6deg); } 50% { transform: translateY(-8px) rotate(1.6deg); } }
@keyframes float-bubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Character cards ---------------------------------------------------------- */
.character-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 14px;
}
.character-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  isolation: isolate;
}
.character-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.character-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 6, 7, 0.02) 30%, rgba(10, 6, 7, 0.88) 100%);
  transition: background 0.35s ease;
}
.character-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.character-card:hover img { transform: scale(1.045); }
.character-card:hover::before { background: linear-gradient(180deg, rgba(10, 6, 7, 0.02) 20%, rgba(10, 6, 7, 0.92) 100%); }
.character-card--feature { grid-column: span 2; grid-row: span 2; }
.character-card--wide { grid-column: span 2; }
.char-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.char-style {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(12, 8, 9, 0.52);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.54rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.char-heart {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(12, 8, 9, 0.42);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}
.char-content {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 14px;
  z-index: 2;
}
.char-name {
  margin-bottom: 3px;
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.1;
}
.char-persona {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  line-height: 1.4;
  text-transform: uppercase;
}
.char-desc { margin-bottom: 10px; color: rgba(255, 255, 255, 0.72); font-size: 0.73rem; line-height: 1.55; }
.char-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.54rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  line-height: 1.4;
  white-space: nowrap;
}
.char-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  color: #fbe7ee;
  font-size: 0.66rem;
  font-weight: 750;
}
.char-cta svg { transition: transform 0.2s ease; }
.character-card:hover .char-cta svg { transform: translateX(3px); }
.character-card--feature .char-name { font-size: 2.3rem; }
.character-card--feature .char-content { left: 22px; right: 22px; bottom: 20px; }
.character-card--feature .char-desc { max-width: 340px; font-size: 0.82rem; }
.character-card--wide .char-content { right: 44%; }
.mosaic-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}
.mosaic-footnote p { color: var(--dim); font-size: 0.7rem; max-width: 660px; }

/* Section: chat ------------------------------------------------------------ */
.chat-feature-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.chat-feature-copy { max-width: 440px; }
.chat-feature-copy h2 { margin-bottom: 16px; }
.chat-feature-copy p { color: var(--muted); }
.chat-feature-list { display: grid; gap: 12px; margin: 24px 0 26px; padding: 0; list-style: none; }
.chat-feature-list li {
  display: flex;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}
.chat-feature-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.chat-feature-list strong { display: block; margin-bottom: 2px; color: #ffffff; font-size: 0.8rem; }
.list-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(227, 105, 144, 0.2);
  border-radius: 50%;
  background: rgba(227, 105, 144, 0.08);
  color: var(--pink-bright);
}

.chat-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: linear-gradient(160deg, #25181c 0%, #181012 100%);
  box-shadow: var(--shadow-md), 0 0 0 6px rgba(255, 255, 255, 0.015);
}
.chat-window::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 136, 166, 0.12), transparent 70%);
  pointer-events: none;
}
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.chat-person { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-avatar {
  width: 37px;
  height: 37px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--card-2);
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-person strong { display: block; color: #ffffff; font-size: 0.78rem; font-weight: 750; line-height: 1.3; }
.chat-status { display: flex; align-items: center; gap: 5px; color: var(--dim); font-size: 0.61rem; line-height: 1.3; }
.chat-status .online-dot { width: 5px; height: 5px; }
.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(232, 136, 166, 0.3);
  border-radius: 999px;
  background: rgba(232, 136, 166, 0.08);
  color: #f3c3d2;
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
}
.chat-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 330px;
  padding: 18px 16px 16px;
}
.chat-date {
  align-self: center;
  margin-bottom: 2px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--dim);
  font-size: 0.55rem;
  letter-spacing: 0.03em;
}
.msg {
  max-width: 83%;
  width: fit-content;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 0.76rem;
  line-height: 1.55;
}
.msg.them {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 4px;
  background: #2f2025;
  color: #efe3e7;
}
.msg.me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: linear-gradient(135deg, #e05b85, #b93962);
  color: #ffffff;
  box-shadow: 0 7px 20px rgba(190, 55, 98, 0.16);
}
.msg-meta {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.53rem;
  text-align: right;
}
.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px 14px 14px 4px;
  background: #2f2025;
}
.typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9a9b3;
  animation: typing 1.2s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 70%, 100% { opacity: 0.35; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }
.chat-context {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 16px 12px;
  padding: 7px 10px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: var(--dim);
  font-size: 0.58rem;
  line-height: 1.45;
}
.chat-context strong { color: var(--muted); font-weight: 650; }
.chat-footer { padding: 10px 14px 13px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.09); }
.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}
.chat-input input {
  width: 100%;
  min-width: 0;
  padding: 4px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  cursor: default;
}
.chat-input input::placeholder { color: #9a8189; }
.send-btn {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--grad-pink);
  color: #ffffff;
  cursor: pointer;
}
.chat-safety {
  margin: 8px 2px 0;
  color: var(--dim);
  font-size: 0.55rem;
  line-height: 1.45;
  text-align: center;
}
.chat-safety a { color: #eaaec1; text-decoration: underline; text-underline-offset: 2px; }

/* Phone mockups ------------------------------------------------------------ */
.phone-stage { position: relative; display: flex; justify-content: center; padding: 14px 0; }
.phone {
  position: relative;
  width: min(100%, 300px);
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 42px;
  background: linear-gradient(150deg, #312529, #0f0a0b 45%, #27191d);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.phone::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 3;
  width: 88px;
  height: 20px;
  border-radius: 99px;
  background: #0c0809;
  transform: translateX(-50%);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  min-height: 565px;
  border-radius: 34px;
  background: #170f11;
}
.phone-screen::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 105, 144, 0.16), transparent 70%);
  pointer-events: none;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 19px 4px;
  color: #dfcfd4;
  font-size: 0.54rem;
  font-weight: 650;
}
.phone-header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 13px 11px;
  border-bottom: 1px solid var(--line);
}
.phone-header .chat-avatar { width: 31px; height: 31px; }
.phone-header strong { display: block; font-size: 0.68rem; font-weight: 700; line-height: 1.3; }
.phone-header span { display: block; color: var(--dim); font-size: 0.52rem; }
.phone-messages { display: flex; flex-direction: column; gap: 8px; padding: 15px 12px; }
.phone-messages .msg { font-size: 0.66rem; padding: 8px 10px; max-width: 88%; }
.phone-messages .msg-meta { font-size: 0.48rem; }
.phone-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin: 60px 12px 13px;
  padding: 7px 8px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #9a8189;
  font-size: 0.58rem;
}
.phone-input span { display: block; width: auto; height: auto; border-radius: 0; background: none; color: inherit; }
.phone-input span:last-child { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-pink); color: #ffffff; }
.phone-glow {
  position: absolute;
  inset: 18% 10% 3%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 136, 166, 0.2), transparent 70%);
  filter: blur(30px);
}
.device-caption {
  position: absolute;
  z-index: 4;
  max-width: 155px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(29, 19, 22, 0.92);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.45;
  backdrop-filter: blur(10px);
}
.device-caption strong { display: block; color: #ffffff; font-size: 0.65rem; font-weight: 700; }
.device-caption--left { left: 0; top: 165px; }
.device-caption--right { right: 0; bottom: 130px; }
.device-caption .mini-label { display: block; margin-bottom: 2px; color: var(--pink-bright); font-size: 0.49rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

/* Builder / controls ------------------------------------------------------- */
.builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #1e1417, #150d10);
  box-shadow: var(--shadow-md);
}
.builder-controls { padding: clamp(20px, 3vw, 32px); }
.builder-preview { position: relative; min-height: 480px; border-left: 1px solid var(--line); background: #110b0d; }
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}
.panel-top h3 { margin: 0; font-size: 1.65rem; }
.builder-group { margin-bottom: 21px; }
.builder-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.field-label {
  display: block;
  margin-bottom: 8px;
  color: #dfcfd4;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.field-value { color: var(--pink-bright); font-size: 0.65rem; font-weight: 700; }
.choice-row { display: flex; flex-wrap: wrap; gap: 7px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.choice:hover { border-color: rgba(255, 255, 255, 0.2); color: #ffffff; }
.choice[aria-pressed="true"], .choice.is-selected {
  border-color: rgba(227, 105, 144, 0.55);
  background: rgba(227, 105, 144, 0.12);
  color: #f8dce5;
  box-shadow: inset 0 0 0 1px rgba(227, 105, 144, 0.13);
}
.choice svg { color: currentColor; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.62rem;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.swatch[aria-pressed="true"] { border-color: rgba(227, 105, 144, 0.6); color: #ffffff; }
.swatch-dot { width: 17px; height: 17px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); }
.swatch-dot.auburn { background: linear-gradient(135deg, #8b4825, #cd7b4a); }
.swatch-dot.blonde { background: linear-gradient(135deg, #d9bc8d, #f1e3bd); }
.swatch-dot.dark { background: linear-gradient(135deg, #1e1720, #4b3544); }
.swatch-dot.silver { background: linear-gradient(135deg, #adadba, #e7e2ec); }
.builder-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.builder-summary p { color: var(--dim); font-size: 0.65rem; line-height: 1.5; }
.builder-summary p strong { color: var(--muted); }
.builder-preview .preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.preview-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 7, 8, 0.02) 35%, rgba(11, 7, 8, 0.92) 100%);
}
.preview-topline {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.preview-bottom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
}
.preview-name {
  margin: 0 0 5px;
  font-family: var(--display);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1;
}
.preview-persona { margin-bottom: 11px; color: rgba(255, 255, 255, 0.65); font-size: 0.63rem; letter-spacing: 0.06em; text-transform: uppercase; }
.preview-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.preview-caption {
  position: absolute;
  right: 16px;
  bottom: 18px;
  left: 16px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
}
.preview-caption .caption-note { max-width: 210px; color: rgba(255, 255, 255, 0.55); font-size: 0.57rem; line-height: 1.5; text-align: right; }

/* Realistic vs anime ------------------------------------------------------- */
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  isolation: isolate;
}
.compare-media { position: absolute; inset: 0; }
.compare-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.compare-card:hover .compare-media img { transform: scale(1.035); }
.compare-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 7, 8, 0.04) 28%, rgba(11, 7, 8, 0.88) 100%);
}
.compare-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(22px, 3vw, 30px);
}
.compare-body h3 { margin-bottom: 8px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.compare-body p { max-width: 420px; margin-bottom: 16px; color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; line-height: 1.65; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 6px; }

/* Editorial profile / virtual section ------------------------------------- */
.editorial-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.profile-stack { position: relative; min-height: 590px; }
.profile-back {
  position: absolute;
  top: 20px;
  left: 4%;
  width: 72%;
  height: 420px;
  border-radius: 26px;
  background: linear-gradient(145deg, #38242a, #26181c);
  transform: rotate(-5deg);
  opacity: 0.7;
}
.profile-main {
  position: absolute;
  top: 0;
  right: 5%;
  width: 77%;
  height: 460px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}
.profile-main img { width: 100%; height: 100%; object-fit: cover; }
.profile-info {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: min(90%, 390px);
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(26, 17, 20, 0.94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(14px);
}
.profile-info-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.profile-info h3 { margin: 0 0 2px; font-size: 1.85rem; }
.profile-info .persona-line { color: var(--muted); font-size: 0.67rem; }
.profile-stats { display: flex; gap: 18px; margin: 14px 0; }
.profile-stats div { flex: 1; }
.profile-stats span { display: block; color: var(--dim); font-size: 0.52rem; letter-spacing: 0.08em; text-transform: uppercase; }
.profile-stats strong { display: block; margin-top: 2px; color: #ffffff; font-size: 0.67rem; font-weight: 650; }
.settings-panel { width: 100%; }
.settings-panel .panel-top { margin-bottom: 18px; }
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.setting-row:last-child { border-bottom: 0; }
.setting-row label, .setting-row .setting-name { color: var(--muted); font-size: 0.72rem; }
.setting-value { color: #ffffff; font-size: 0.7rem; font-weight: 650; }
.setting-meter { width: 102px; height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.setting-meter span { display: block; width: 72%; height: 100%; border-radius: inherit; background: var(--grad-pink); }
.setting-meter.purple span { width: 58%; background: var(--grad-lilac); }

/* Scenarios ---------------------------------------------------------------- */
.scenario-scroller { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.scenario-scroller::-webkit-scrollbar { display: none; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 12px;
}
.scenario-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 355px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  isolation: isolate;
  scroll-snap-align: start;
}
.scenario-img { position: absolute; inset: 0; }
.scenario-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s ease; }
.scenario-card:hover .scenario-img img { transform: scale(1.05); }
.scenario-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 6, 7, 0.03) 22%, rgba(9, 6, 7, 0.9) 100%);
}
.scenario-body { position: absolute; right: 16px; bottom: 16px; left: 16px; z-index: 2; }
.scenario-num { margin-bottom: 8px; color: rgba(255, 255, 255, 0.6); font-size: 0.59rem; font-weight: 750; letter-spacing: 0.12em; }
.scenario-body h3 { margin-bottom: 6px; font-size: 1.5rem; }
.scenario-body p { color: rgba(255, 255, 255, 0.63); font-size: 0.66rem; line-height: 1.55; }
.scenario-tags { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.scenario-tags .tag { font-size: 0.49rem; background: rgba(255, 255, 255, 0.07); }

.rail-wrap { position: relative; }
.rail-controls { display: flex; align-items: center; gap: 7px; }
.rail-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.rail-btn:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.08); color: #ffffff; }

/* Adult topics ------------------------------------------------------------- */
.adult-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(227, 105, 144, 0.16), transparent 38%),
    linear-gradient(140deg, #1e1417 0%, #130c0e 70%);
}
.adult-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(24px, 4vw, 38px);
  border-bottom: 1px solid var(--line);
}
.adult-panel-head h2 { margin-bottom: 8px; }
.adult-panel-head p { max-width: 560px; color: var(--muted); font-size: 0.83rem; }
.adult-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.adult-row {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.adult-row:nth-child(odd) { border-right: 1px solid var(--line); }
.adult-row:nth-last-child(-n+2) { border-bottom: 0; }
.adult-row:hover { background: rgba(255, 255, 255, 0.025); }
.adult-num { color: #db8da6; font-family: var(--display); font-size: 1.2rem; }
.adult-info h3 { margin: 0 0 4px; font-family: var(--sans); font-size: 0.82rem; font-weight: 700; line-height: 1.35; }
.adult-info p { color: var(--dim); font-size: 0.68rem; line-height: 1.55; }
.adult-link {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.adult-row:hover .adult-link { border-color: rgba(227, 105, 144, 0.4); background: rgba(227, 105, 144, 0.1); color: var(--pink-bright); }

/* Steps -------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 8px;
}
.step {
  position: relative;
  padding: 26px clamp(20px, 3vw, 34px) 12px 0;
}
.step + .step { padding-left: clamp(20px, 3vw, 34px); border-left: 1px solid var(--line); }
.step-no {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 35px;
  color: #cf91a5;
  font-family: var(--display);
  font-size: 1.45rem;
}
.step-no::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 105, 144, 0.3), transparent);
}
.step h3 { margin-bottom: 8px; font-size: 1.4rem; }
.step p { max-width: 290px; color: var(--muted); font-size: 0.78rem; line-height: 1.65; }
.step-cta { margin-top: 20px; }

/* FAQ ---------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  color: #f6edf0;
  font-size: 0.9rem;
  font-weight: 550;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #ffffff; }
.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { border-color: rgba(227, 105, 144, 0.5); background: rgba(227, 105, 144, 0.1); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--pink-bright); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { max-width: 760px; padding: 0 0 22px; color: var(--muted); font-size: 0.82rem; line-height: 1.75; }
.faq-answer p + p { margin-top: 10px; }
.faq-answer a { color: #efacc1; text-decoration: underline; text-decoration-color: rgba(239, 172, 193, 0.35); text-underline-offset: 3px; }
.faq-answer a:hover { color: #ffffff; }
.faq-columns { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: clamp(30px, 6vw, 88px); align-items: start; }
.faq-columns .faq-intro { position: sticky; top: 110px; }
.faq-columns .faq-intro h2 { margin-bottom: 14px; }
.faq-columns .faq-intro p { color: var(--muted); font-size: 0.86rem; }
.faq-category { margin-bottom: 8px; color: var(--dim); font-size: 0.61rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.faq-category + .faq-list { margin-bottom: 34px; }

/* Final CTA ---------------------------------------------------------------- */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 92px) clamp(24px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 55% 80% at 86% 10%, rgba(242, 186, 204, 0.18), transparent 65%),
    radial-gradient(ellipse 60% 70% at 4% 100%, rgba(232, 136, 166, 0.2), transparent 65%),
    linear-gradient(120deg, #26181c, #1f1417 52%, #2a1b20);
  text-align: center;
  isolation: isolate;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -110px;
  left: 50%;
  width: 460px;
  height: 460px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  transform: translateX(-50%);
}
.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at center, #000000 0%, transparent 70%);
}
.final-cta-inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.final-cta h2 { margin-bottom: 13px; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.final-cta p { max-width: 520px; margin: 0 auto 26px; color: rgba(255, 255, 255, 0.68); font-size: 0.87rem; }
.final-cta .action-row { justify-content: center; }
.final-cta .note { margin: 20px auto 0; width: fit-content; background: rgba(0, 0, 0, 0.16); color: rgba(255, 255, 255, 0.45); }
.cta-avatars { display: flex; justify-content: center; margin-bottom: 20px; }
.cta-avatars img {
  width: 40px;
  height: 40px;
  border: 2px solid #27191d;
  border-radius: 50%;
  object-fit: cover;
}
.cta-avatars img + img { margin-left: -9px; }
.cta-avatars span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: -9px;
  border: 2px solid #27191d;
  border-radius: 50%;
  background: #322126;
  color: #f7d4df;
  font-size: 0.59rem;
  font-weight: 750;
}

/* Footer ------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 70%);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 0.8fr 0.8fr;
  gap: clamp(26px, 5vw, 64px);
  padding: clamp(42px, 6vw, 68px) 0 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 280px; color: var(--dim); font-size: 0.74rem; line-height: 1.7; }
.footer-age { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--dim); font-size: 0.64rem; }
.footer-age .age-badge {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(236, 158, 183, 0.3);
  border-radius: 50%;
  color: #f5ccd9;
  font-size: 0.55rem;
  font-weight: 800;
}
.footer-col h3 { margin: 3px 0 13px; color: #ffffff; font-family: var(--sans); font-size: 0.63rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--dim); font-size: 0.72rem; line-height: 1.45; transition: color 0.2s ease; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-affiliate { max-width: 720px; color: #9b828a; font-size: 0.7rem; line-height: 1.7; }
.footer-affiliate a { color: #c5a3ae; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 8px; color: #7e748c; font-size: 0.61rem; }
.footer-legal a:hover { color: #e5d4d9; }
.footer-copy { flex: 0 0 auto; color: #7e748c; font-size: 0.62rem; line-height: 1.6; text-align: right; }

/* Page hero ---------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: clamp(38px, 5vw, 58px) 0 clamp(48px, 6vw, 78px);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 24px;
  color: var(--dim);
  font-size: 0.62rem;
  line-height: 1.4;
}
.breadcrumbs a:hover { color: #ffffff; }
.breadcrumbs span { color: #68545a; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.page-hero-copy { position: relative; z-index: 2; }
.page-title {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 4.3vw, 3.8rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.page-sub { max-width: 560px; margin-bottom: 23px; color: var(--muted); font-size: 0.97rem; line-height: 1.78; }
.page-hero-visual { position: relative; }
.hero-portrait-pair { position: relative; min-height: 460px; }
.hero-portrait-pair .pair-main {
  position: absolute;
  top: 0;
  right: 3%;
  width: 68%;
  height: 430px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 130px 130px 22px 22px;
  box-shadow: var(--shadow-md);
}
.hero-portrait-pair .pair-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait-pair .pair-small {
  position: absolute;
  bottom: 5px;
  left: 0;
  z-index: 2;
  width: 41%;
  height: 250px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transform: rotate(-5deg);
}
.hero-portrait-pair .pair-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
  position: absolute;
  z-index: 4;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(29, 19, 22, 0.9);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 650;
  backdrop-filter: blur(10px);
}
.hero-chip--top { top: 50px; left: 8px; }
.hero-chip--bottom { right: 0; bottom: 38px; }
.page-hero-note { margin-top: 18px; }
.page-hero .badge-adult { margin-bottom: 15px; }
.page-hero-aside { display: grid; gap: 11px; max-width: 435px; }

/* Homepage-specific small components -------------------------------------- */
.authority-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.65rem;
}
.authority-strip span { display: inline-flex; align-items: center; gap: 7px; }
.authority-strip svg { color: #c3889b; }

/* Chat page ----------------------------------------------------------------- */
.chat-hero-stage { position: relative; }
.chat-hero-stage .chat-window { transform: rotate(0.7deg); }
.chat-floating-note {
  position: absolute;
  left: -20px;
  bottom: 24px;
  z-index: 5;
  max-width: 195px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(31, 20, 23, 0.94);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.5;
  backdrop-filter: blur(10px);
}
.chat-floating-note strong { display: block; color: #ffffff; font-size: 0.68rem; }
.chat-persona-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}
.persona-picker { display: grid; gap: 7px; }
.persona-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.persona-btn:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.05); }
.persona-btn[aria-pressed="true"] { border-color: rgba(227, 105, 144, 0.46); background: rgba(227, 105, 144, 0.09); }
.persona-btn img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.persona-btn strong { display: block; color: #ffffff; font-size: 0.72rem; line-height: 1.3; }
.persona-btn span { display: block; margin-top: 2px; color: var(--dim); font-size: 0.58rem; line-height: 1.4; }
.chat-styles-table { width: 100%; border-collapse: collapse; font-size: 0.76rem; }
.chat-styles-table th {
  padding: 0 16px 11px 0;
  color: var(--dim);
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}
.chat-styles-table td { padding: 14px 16px 14px 0; border-top: 1px solid var(--line); color: var(--muted); vertical-align: top; line-height: 1.55; }
.chat-styles-table td:first-child { color: #ffffff; font-weight: 650; }
.chat-styles-table .tone { color: #e1b8c5; }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 620px; }
.example-chat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.example-chat-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(160deg, #22161a, #170e11);
}
.example-chat-head { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.example-chat-head img { width: 31px; height: 31px; border-radius: 50%; object-fit: cover; }
.example-chat-head strong { display: block; color: #ffffff; font-size: 0.67rem; line-height: 1.3; }
.example-chat-head span { display: block; color: var(--dim); font-size: 0.54rem; }
.example-chat-card .msg { font-size: 0.67rem; padding: 8px 10px; }
.example-chat-card .mini-bubbles { display: flex; flex-direction: column; gap: 6px; min-height: 130px; }
.context-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--dim);
  font-size: 0.62rem;
  line-height: 1.5;
}
.context-strip svg { flex: 0 0 auto; color: var(--pink-bright); }
.context-strip strong { color: var(--muted); }

/* Creator page -------------------------------------------------------------- */
.creator-hero { padding-bottom: 40px; }
.creator-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 310px;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #140d0f;
  box-shadow: var(--shadow-md);
}
.creator-side { padding: 20px 17px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.creator-side h3 { margin-bottom: 4px; font-family: var(--sans); font-size: 0.67rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.creator-side p { margin-bottom: 16px; color: var(--dim); font-size: 0.59rem; line-height: 1.5; }
.creator-nav { display: grid; gap: 5px; }
.creator-nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 0.65rem;
  text-align: left;
  cursor: pointer;
}
.creator-nav button[aria-pressed="true"] { border-color: var(--line); background: rgba(255, 255, 255, 0.05); color: #ffffff; }
.creator-nav .num { color: var(--pink-bright); font-family: var(--display); font-size: 0.92rem; }
.creator-canvas { position: relative; min-height: 460px; background: radial-gradient(circle at 50% 38%, rgba(232, 136, 166, 0.12), transparent 65%); }
.creator-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.creator-canvas::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(11, 7, 8, 0.85)); }
.creator-canvas .canvas-label { position: absolute; left: 22px; bottom: 20px; z-index: 2; }
.canvas-label span { display: block; color: var(--pink-bright); font-size: 0.55rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }
.canvas-label strong { display: block; margin-top: 4px; font-family: var(--display); font-size: 2rem; font-weight: 400; line-height: 1; }
.creator-options { padding: 20px 18px; border-left: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.creator-options .field-label { margin-top: 14px; }
.creator-options .field-label:first-of-type { margin-top: 0; }
.creator-options .choice { font-size: 0.59rem; padding: 7px 9px; }
.creator-options .swatch { font-size: 0.56rem; padding: 5px 8px 5px 5px; }
.creator-options .builder-summary { margin-top: 18px; padding-top: 14px; }
.appearance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.appearance-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.appearance-card img { aspect-ratio: 0.84; width: 100%; object-fit: cover; }
.appearance-card div { padding: 11px 12px 13px; }
.appearance-card strong { display: block; font-size: 0.72rem; color: #ffffff; }
.appearance-card span { color: var(--dim); font-size: 0.58rem; line-height: 1.5; }
.style-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.style-choice {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.style-choice img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.style-choice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 7, 8, 0.9)); }
.style-choice div { position: absolute; right: 16px; bottom: 16px; left: 16px; z-index: 2; }
.style-choice h3 { margin-bottom: 4px; font-size: 1.5rem; }
.style-choice p { color: rgba(255, 255, 255, 0.65); font-size: 0.67rem; line-height: 1.55; }
.personality-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.personality-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.026);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.personality-card:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.045); }
.personality-card .p-icon { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%; background: rgba(227, 105, 144, 0.1); color: var(--pink-bright); }
.personality-card h3 { margin: 0 0 5px; font-family: var(--sans); font-size: 0.77rem; font-weight: 700; line-height: 1.35; }
.personality-card p { color: var(--dim); font-size: 0.65rem; line-height: 1.55; }
.relationship-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.relationship-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}
.relationship-card .rel-label { color: var(--pink-bright); font-size: 0.55rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.relationship-card h3 { margin: 13px 0 6px; font-family: var(--sans); font-size: 0.83rem; font-weight: 700; }
.relationship-card p { color: var(--dim); font-size: 0.66rem; line-height: 1.55; }

/* Virtual girlfriend page --------------------------------------------------- */
.virtual-hero .page-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.magazine-title {
  position: relative;
  max-width: 660px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 6.3vw, 5.6rem);
  line-height: 0.95;
}
.magazine-title .outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.65);
}
.mag-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--dim); font-size: 0.59rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.mag-label::before { content: ""; width: 22px; height: 1px; background: var(--pink); }
.virtual-portrait {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px 26px 26px 120px;
}
.virtual-portrait img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }
.virtual-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 7, 8, 0.8)); }
.virtual-portrait .vp-caption { position: absolute; right: 18px; bottom: 18px; left: 18px; z-index: 2; }
.vp-caption span { display: block; color: var(--pink-bright); font-size: 0.56rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.vp-caption strong { display: block; margin-top: 3px; font-family: var(--display); font-size: 1.6rem; font-weight: 400; line-height: 1.1; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.77rem; }
.compare-table th { padding: 0 16px 12px 0; color: var(--dim); font-size: 0.56rem; font-weight: 750; letter-spacing: 0.1em; text-align: left; text-transform: uppercase; }
.compare-table td { padding: 14px 16px 14px 0; border-top: 1px solid var(--line); color: var(--muted); vertical-align: top; line-height: 1.6; }
.compare-table td:first-child { color: #ffffff; font-weight: 650; }
.compare-table .yes { color: #a7e4c3; }
.compare-table .no { color: #c98da0; }
.relationship-bands { display: grid; gap: 10px; }
.relationship-band {
  position: relative;
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  min-height: 120px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--card);
}
.relationship-band img { width: 85px; height: 90px; border-radius: 10px; object-fit: cover; }
.relationship-band h3 { margin: 0 0 4px; font-size: 1.32rem; }
.relationship-band p { color: var(--dim); font-size: 0.68rem; line-height: 1.55; }
.relationship-band .band-index { color: var(--pink-bright); font-family: var(--display); font-size: 1.1rem; }
.relationship-band .tag { background: rgba(227, 105, 144, 0.07); border-color: rgba(227, 105, 144, 0.2); color: #eab6c6; }

/* Anime page ---------------------------------------------------------------- */
.anime-theme { background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(150, 42, 76, 0.2), transparent 70%); }
.anime-hero { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 76px) 0 clamp(60px, 8vw, 92px); }
.anime-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, 0.18) 50%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(255, 255, 255, 0.12) 50%, transparent 50.3%);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent, #000000 65%);
}
.anime-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.28;
}
.anime-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.anime-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0e090b 8%, rgba(14, 9, 11, 0.6) 52%, rgba(14, 9, 11, 0.3)); }
.anime-hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; }
.anime-hero h1 { font-size: clamp(2.5rem, 4.7vw, 4.25rem); }
.anime-hero h1 .anime-grad {
  display: inline-block;
  background: linear-gradient(100deg, #f8dae4, #ea8fac 45%, #ed9fb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 50px rgba(227, 105, 144, 0.14);
}
.anime-stage { position: relative; min-height: 500px; }
.anime-stage .anime-card { position: absolute; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 17px; box-shadow: var(--shadow-md); }
.anime-stage .anime-card img { width: 100%; height: 100%; object-fit: cover; }
.anime-stage .anime-card:nth-child(1) { top: 0; right: 4%; width: 53%; height: 410px; border-radius: 130px 130px 17px 17px; z-index: 3; }
.anime-stage .anime-card:nth-child(2) { bottom: 0; left: 0; width: 40%; height: 300px; transform: rotate(-6deg); z-index: 2; }
.anime-stage .anime-card:nth-child(3) { right: 0; bottom: 0; width: 27%; height: 190px; transform: rotate(7deg); z-index: 4; }
.anime-sticker {
  position: absolute;
  top: 46%;
  left: 2%;
  z-index: 5;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(29, 19, 22, 0.88);
  color: #f9dee7;
  font-size: 0.53rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-4deg);
  backdrop-filter: blur(8px);
}
.anime-gallery { display: grid; grid-template-columns: repeat(6, minmax(155px, 1fr)); gap: 10px; }
.anime-gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  scroll-snap-align: start;
}
.anime-gallery-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.anime-gallery-card:hover img { transform: scale(1.05); }
.anime-gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(9, 6, 7, 0.9)); }
.anime-gallery-card div { position: absolute; right: 11px; bottom: 11px; left: 11px; z-index: 2; }
.anime-gallery-card strong { display: block; font-family: var(--display); font-size: 1.22rem; font-weight: 400; line-height: 1.1; }
.anime-gallery-card span { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.58); font-size: 0.54rem; line-height: 1.4; }
.anime-tag { display: inline-flex; margin-bottom: 5px; padding: 2px 6px; border-radius: 999px; background: rgba(227, 105, 144, 0.16); color: #f2bacc; font-size: 0.46rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.anime-persona-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.anime-persona {
  padding: 17px;
  border: 1px solid rgba(232, 136, 166, 0.2);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(232, 136, 166, 0.09), rgba(255, 255, 255, 0.018));
}
.anime-persona .kanji { color: #f1b6c9; font-family: var(--display); font-size: 1.25rem; }
.anime-persona h3 { margin: 13px 0 5px; font-family: var(--sans); font-size: 0.77rem; font-weight: 700; }
.anime-persona p { color: var(--dim); font-size: 0.64rem; line-height: 1.55; }
.anime-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.anime-chat { position: relative; }
.anime-chat .chat-window { border-color: rgba(232, 136, 166, 0.24); background: linear-gradient(160deg, #26181c, #170e11); }
.anime-chat .msg.me { background: linear-gradient(135deg, #e888a6, #d84b78); }
.anime-chat .chat-avatar { border-color: rgba(232, 136, 166, 0.5); }
.anime-scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.anime-scene {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.anime-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.anime-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9, 6, 7, 0.9)); }
.anime-scene div { position: absolute; right: 14px; bottom: 14px; left: 14px; z-index: 2; }
.anime-scene strong { display: block; font-family: var(--display); font-size: 1.35rem; font-weight: 400; }
.anime-scene span { color: rgba(255, 255, 255, 0.6); font-size: 0.62rem; }

/* Roleplay page ------------------------------------------------------------- */
.rp-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(58px, 8vw, 94px); }
.rp-hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.rp-board { position: relative; min-height: 540px; }
.rp-board .chat-window { position: absolute; right: -2%; bottom: -4px; width: 62%; z-index: 3; transform: rotate(1.2deg); }
.rp-board .scenario-card { position: absolute; top: 10px; left: 0; width: 44%; height: 430px; z-index: 2; transform: rotate(-4deg); }
.rp-board .scenario-body { right: 62px; }
.rp-board .rp-float { position: absolute; top: 12%; right: 2%; z-index: 4; width: 150px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(30, 19, 23, 0.93); font-size: 0.58rem; color: var(--dim); backdrop-filter: blur(10px); }
.rp-float strong { display: block; color: #ffffff; font-size: 0.62rem; margin-bottom: 2px; }
.rp-float span { color: var(--pink-bright); font-size: 0.49rem; letter-spacing: 0.08em; text-transform: uppercase; }
.rp-hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 17px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.story-card { padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255, 255, 255, 0.025); }
.story-card .story-num { color: var(--pink-bright); font-family: var(--display); font-size: 1.2rem; }
.story-card h3 { margin: 19px 0 7px; font-family: var(--sans); font-size: 0.83rem; font-weight: 700; }
.story-card p { color: var(--dim); font-size: 0.68rem; line-height: 1.6; }
.story-card .story-line { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); color: #dfc5cd; font-family: var(--display); font-size: 1rem; line-height: 1.35; }
.rp-setting-layout { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: 24px; align-items: start; }
.rp-setting-panel { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(155deg, #23161a, #150e10); }
.rp-setting-panel h3 { margin-bottom: 4px; font-size: 1.65rem; }
.rp-setting-panel > p { margin-bottom: 18px; color: var(--dim); font-size: 0.7rem; line-height: 1.6; }
.range-row { display: grid; grid-template-columns: 105px minmax(0, 1fr) 48px; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.range-row:last-child { border-bottom: 0; }
.range-row label { color: var(--muted); font-size: 0.68rem; }
.range-row output { color: #f4c6d5; font-size: 0.62rem; text-align: right; }
input[type="range"] {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink) 0%, var(--purple) 60%, rgba(255, 255, 255, 0.12) 60%);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border: 2px solid #26191d;
  border-radius: 50%;
  background: #efaac0;
  box-shadow: 0 0 0 3px rgba(227, 105, 144, 0.15);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; border: 2px solid #26191d; border-radius: 50%; background: #efaac0; cursor: pointer; }
.rp-stage-preview {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.rp-stage-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-stage-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 6, 7, 0.02) 35%, rgba(9, 6, 7, 0.94)); }
.rp-preview-copy { position: absolute; right: 22px; bottom: 22px; left: 22px; z-index: 2; }
.rp-preview-copy .badge { margin-bottom: 10px; }
.rp-preview-copy h3 { margin-bottom: 7px; font-size: 1.9rem; }
.rp-preview-copy p { max-width: 400px; color: rgba(255, 255, 255, 0.65); font-size: 0.7rem; line-height: 1.55; }
.timeline { display: grid; gap: 0; margin-top: 26px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 18px; padding-bottom: 25px; }
.timeline-item::before { content: ""; position: absolute; top: 27px; bottom: 0; left: 26px; width: 1px; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(227, 105, 144, 0.24); border-radius: 50%; background: rgba(227, 105, 144, 0.07); color: #f0b2c6; font-family: var(--display); font-size: 1.2rem; }
.timeline-item h3 { margin: 7px 0 4px; font-family: var(--sans); font-size: 0.79rem; font-weight: 700; }
.timeline-item p { color: var(--dim); font-size: 0.67rem; line-height: 1.55; }
.roleplay-quote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 2px solid var(--pink);
  background: linear-gradient(90deg, rgba(227, 105, 144, 0.07), transparent);
  color: #eddfe3;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.35;
}
.roleplay-quote cite { display: block; margin-top: 10px; color: var(--dim); font-family: var(--sans); font-size: 0.58rem; font-style: normal; letter-spacing: 0.09em; text-transform: uppercase; }

/* Characters directory ------------------------------------------------------ */
.directory-hero {
  position: relative;
  padding: clamp(36px, 5vw, 56px) 0 32px;
}
.directory-hero .page-title { max-width: 760px; }
.directory-hero p { max-width: 620px; color: var(--muted); font-size: 0.92rem; }
.directory-toolbar {
  position: sticky;
  top: calc(var(--header-height) + 1px);
  z-index: 40;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 9, 11, 0.86);
  backdrop-filter: blur(15px);
}
.toolbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-btn {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.filter-btn:hover { border-color: var(--line-strong); color: #ffffff; }
.filter-btn[aria-pressed="true"] { border-color: rgba(227, 105, 144, 0.5); background: rgba(227, 105, 144, 0.12); color: #f8dbe4; }
.character-count { flex: 0 0 auto; color: var(--dim); font-size: 0.62rem; }
.character-count strong { color: var(--muted); }
.characters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.directory-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  isolation: isolate;
  transition: border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.directory-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.directory-card.is-hidden { display: none; }
.directory-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s ease; }
.directory-card:hover img { transform: scale(1.04); }
.directory-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 6, 7, 0.02) 35%, rgba(9, 6, 7, 0.93) 100%); }
.directory-card .dir-style { position: absolute; top: 11px; left: 11px; z-index: 2; padding: 4px 7px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(12, 8, 9, 0.5); color: #f3e3e8; font-size: 0.48rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; backdrop-filter: blur(8px); }
.dir-content { position: absolute; right: 14px; bottom: 14px; left: 14px; z-index: 2; }
.dir-content h3 { margin: 0 0 3px; font-size: 1.5rem; line-height: 1.05; }
.dir-persona { margin-bottom: 7px; color: rgba(255, 255, 255, 0.63); font-size: 0.57rem; letter-spacing: 0.055em; text-transform: uppercase; }
.dir-content p { margin-bottom: 9px; color: rgba(255, 255, 255, 0.7); font-size: 0.66rem; line-height: 1.5; }
.dir-link { display: inline-flex; align-items: center; gap: 5px; color: #f7d6e0; font-size: 0.6rem; font-weight: 750; }
.dir-link svg { color: var(--pink-bright); }
.dir-hidden-note { display: none; padding: 40px 0; text-align: center; color: var(--dim); font-size: 0.8rem; }
.directory-content-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.directory-content-grid h2 { margin-bottom: 16px; }
.directory-content-grid p { color: var(--muted); font-size: 0.8rem; line-height: 1.7; margin-bottom: 13px; }
.char-type-list { display: grid; gap: 8px; margin: 20px 0; padding: 0; list-style: none; }
.char-type-list li { display: flex; gap: 9px; color: var(--muted); font-size: 0.72rem; line-height: 1.55; }
.char-type-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--pink-bright); }

/* Adult pages shared -------------------------------------------------------- */
.adult-hero-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 20px;
  padding: 10px 13px;
  border: 1px solid rgba(236, 158, 183, 0.2);
  border-radius: 11px;
  background: rgba(236, 158, 183, 0.055);
  color: #d7bbc4;
  font-size: 0.64rem;
  line-height: 1.5;
}
.adult-hero-band strong { color: #f6cfdb; font-weight: 750; }
.adult-hero { padding: clamp(36px, 5vw, 58px) 0 clamp(52px, 7vw, 82px); }
.adult-hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 72px); align-items: center; }
.adult-hero-visual { position: relative; }
.adult-hero-visual .chat-window { transform: rotate(0.8deg); }
.adult-hero-visual .portrait-float {
  position: absolute;
  width: 150px;
  height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.adult-hero-visual .portrait-float img { width: 100%; height: 100%; object-fit: cover; }
.adult-hero-visual .portrait-float--one { left: -12px; bottom: -20px; transform: rotate(-5deg); z-index: 4; }
.adult-hero-visual .portrait-float--two { right: -8px; top: -20px; transform: rotate(5deg); z-index: 4; }
.type-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.type-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.type-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.type-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(9, 6, 7, 0.93)); }
.type-card div { position: absolute; right: 14px; bottom: 14px; left: 14px; z-index: 2; }
.type-card h3 { margin: 0 0 4px; font-size: 1.4rem; }
.type-card p { color: rgba(255, 255, 255, 0.63); font-size: 0.64rem; line-height: 1.5; }
.type-card .tag { margin-top: 8px; font-size: 0.48rem; }
.adult-style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.adult-style {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(227, 105, 144, 0.055), rgba(255, 255, 255, 0.015));
}
.adult-style .as-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 16px; border: 1px solid rgba(227, 105, 144, 0.22); border-radius: 50%; color: var(--pink-bright); }
.adult-style h3 { margin: 0 0 6px; font-family: var(--sans); font-size: 0.82rem; font-weight: 700; }
.adult-style p { color: var(--dim); font-size: 0.67rem; line-height: 1.6; }
.adult-style .as-line { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: #e4c3cd; font-family: var(--display); font-size: 1.02rem; line-height: 1.35; }
.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(232, 136, 166, 0.08), rgba(255, 255, 255, 0.018));
}
.privacy-panel h2 { margin-bottom: 12px; }
.privacy-panel p { color: var(--muted); font-size: 0.8rem; line-height: 1.7; }
.privacy-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.privacy-point { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, 0.025); }
.privacy-point strong { display: block; margin-bottom: 3px; color: #f6edf0; font-size: 0.69rem; }
.privacy-point span { color: var(--dim); font-size: 0.61rem; line-height: 1.5; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.rules-col h3 { margin-bottom: 10px; font-family: var(--sans); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.rules-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.rules-col li { display: flex; gap: 8px; color: var(--muted); font-size: 0.7rem; line-height: 1.55; }
.rules-col svg { flex: 0 0 auto; margin-top: 3px; color: #e9a6bb; }
.sexting-hero { position: relative; }
.sexting-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 78px); align-items: center; }
.sexting-phone-wrap { position: relative; min-height: 600px; }
.sexting-phone-wrap .phone { position: absolute; right: 6%; top: 0; z-index: 2; }
.sexting-phone-wrap .phone--back { right: auto; left: 2%; top: 62px; z-index: 1; transform: rotate(-9deg); opacity: 0.45; }
.flirty-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flirty-card { padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(160deg, #23161a, #170e11); }
.flirty-card .flirty-label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 13px; color: var(--dim); font-size: 0.53rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; }
.flirty-card .flirty-label span:last-child { color: #e5a8bb; }
.flirty-card .mini-bubbles { display: grid; gap: 6px; }
.flirty-card .msg { font-size: 0.67rem; }
.tone-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.tone-card { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.022); }
.tone-card strong { display: block; margin-bottom: 4px; color: #f6ecef; font-size: 0.7rem; }
.tone-card span { color: var(--dim); font-size: 0.6rem; line-height: 1.5; }

/* Image generation pages ---------------------------------------------------- */
.gen-hero { padding: clamp(34px, 5vw, 54px) 0 clamp(50px, 7vw, 82px); }
.gen-hero-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.gen-shell {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #140d0f;
  box-shadow: var(--shadow-md);
}
.gen-controls { padding: 19px 17px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); }
.gen-controls-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }
.gen-controls-head strong { font-size: 0.63rem; letter-spacing: 0.09em; text-transform: uppercase; }
.gen-controls-head span { color: var(--pink-bright); font-size: 0.53rem; }
.gen-control-block { margin-bottom: 17px; }
.gen-control-block .field-label { margin-bottom: 7px; font-size: 0.57rem; }
.gen-control-block .choice { font-size: 0.59rem; padding: 7px 9px; }
.gen-control-block .choice-row { gap: 5px; }
.gen-range { margin-bottom: 16px; }
.gen-range .range-label { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font-size: 0.59rem; }
.gen-range output { color: #efb6c8; }
.gen-range input[type="range"] { height: 3px; }
.gen-preview { position: relative; min-height: 560px; background: #0f090b; }
.gen-preview canvas, .gen-preview .gen-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gen-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 6, 7, 0.02) 48%, rgba(9, 6, 7, 0.84)); pointer-events: none; }
.gen-preview-top { position: absolute; top: 13px; left: 13px; right: 13px; z-index: 2; display: flex; justify-content: space-between; gap: 8px; }
.gen-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border: 1px solid rgba(232, 136, 166, 0.3); border-radius: 999px; background: rgba(12, 8, 9, 0.55); color: #f5c9d7; font-size: 0.49rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.gen-status .gen-dot { width: 4px; height: 4px; border-radius: 50%; background: #efabc1; }
.gen-preview-bottom { position: absolute; right: 18px; bottom: 18px; left: 18px; z-index: 2; }
.gen-preview-bottom h3 { margin-bottom: 4px; font-size: 1.55rem; }
.gen-preview-bottom p { color: rgba(255, 255, 255, 0.6); font-size: 0.61rem; line-height: 1.5; }
.gen-preview-bottom .preview-actions { display: flex; gap: 6px; margin-top: 12px; }
.gen-preview-bottom .preview-actions a { padding: 6px 9px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 999px; background: rgba(12, 8, 9, 0.5); color: #f2e2e7; font-size: 0.53rem; font-weight: 650; backdrop-filter: blur(8px); }
.gen-preview-bottom .preview-actions a:hover { border-color: rgba(227, 105, 144, 0.4); }
.gen-preview-note { position: absolute; top: 50%; left: 50%; z-index: 3; transform: translate(-50%, -50%); width: 64%; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 10px; background: rgba(16, 10, 12, 0.72); color: rgba(255, 255, 255, 0.55); font-size: 0.55rem; line-height: 1.5; text-align: center; backdrop-filter: blur(8px); opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.gen-preview.show-note .gen-preview-note { opacity: 1; }
.gen-outputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gen-output { position: relative; overflow: hidden; min-height: 260px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.gen-output img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.gen-output span { position: absolute; right: 10px; bottom: 10px; left: 10px; z-index: 2; color: rgba(255, 255, 255, 0.7); font-size: 0.54rem; }
.gen-output::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(9, 6, 7, 0.8)); }
.style-option-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.style-option { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.style-option img { width: 100%; height: 180px; object-fit: cover; opacity: 0.86; }
.style-option div { padding: 8px 9px 10px; }
.style-option strong { display: block; color: #f6edf0; font-size: 0.62rem; }
.style-option span { color: var(--dim); font-size: 0.53rem; line-height: 1.4; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; }
.before-after div { position: relative; min-height: 370px; }
.before-after img { width: 100%; height: 100%; min-height: 370px; object-fit: cover; }
.before-after div + div { border-left: 1px solid var(--line); }
.before-after div + div img { filter: saturate(1.16) contrast(1.06) brightness(1.03); }
.before-after span { position: absolute; left: 13px; bottom: 13px; padding: 5px 8px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(12, 8, 9, 0.6); color: #f3e5e9; font-size: 0.52rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.image-guide-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(26px, 5vw, 64px); align-items: start; }
.image-guide-grid h2 { margin-bottom: 14px; }
.image-guide-grid p { color: var(--muted); font-size: 0.8rem; line-height: 1.7; margin-bottom: 13px; }
.limits-list { display: grid; gap: 9px; margin: 16px 0 0; padding: 0; list-style: none; }
.limits-list li { display: flex; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; line-height: 1.55; }
.limits-list li:last-child { border-bottom: 0; }
.limits-list strong { display: block; color: #f6edf0; font-size: 0.69rem; }
.limits-list .limit-icon { flex: 0 0 auto; display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid var(--line); border-radius: 50%; color: #e5a8bb; margin-top: 2px; }

/* Blog / editorial --------------------------------------------------------- */
.blog-hero { padding: clamp(38px, 5vw, 58px) 0 38px; }
.blog-hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
.blog-hero h1 { max-width: 800px; margin-bottom: 0; }
.blog-hero p { max-width: 370px; color: var(--muted); font-size: 0.82rem; line-height: 1.7; }
.blog-category-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.blog-cat { display: inline-flex; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.55rem; font-weight: 650; letter-spacing: 0.03em; }
.blog-cat.active { border-color: rgba(227, 105, 144, 0.35); background: rgba(227, 105, 144, 0.1); color: #f7d8e2; }
.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #181013;
}
.featured-media { position: relative; min-height: 380px; overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 0.7s ease; }
.featured-post:hover .featured-media img { transform: scale(1.03); }
.featured-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 9, 10, 0.1), rgba(24, 16, 19, 0.3)); }
.featured-label { position: absolute; top: 16px; left: 16px; z-index: 2; }
@media (min-width: 1021px) {
  /* Keep the featured portrait a head-and-shoulders crop rather than a full-length column. */
  .featured-post { height: 480px; }
  .featured-media { min-height: 0; }
}
.featured-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 46px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-bottom: 16px; color: var(--dim); font-size: 0.58rem; letter-spacing: 0.03em; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.featured-body h2 { margin-bottom: 14px; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.08; }
.featured-body p { margin-bottom: 20px; color: var(--muted); font-size: 0.8rem; line-height: 1.7; }
.featured-body .link-arrow { margin-top: auto; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.post-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.023);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.post-card:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.035); }
.post-media { position: relative; min-height: 190px; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { padding: 18px; }
.post-body h3 { margin: 8px 0 7px; font-size: 1.36rem; line-height: 1.1; }
.post-body p { color: var(--dim); font-size: 0.65rem; line-height: 1.55; margin-bottom: 12px; }
.post-body .post-meta { margin-bottom: 0; font-size: 0.52rem; }
.topic-links { display: flex; flex-wrap: wrap; gap: 7px; }
.topic-link { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.58rem; transition: border-color 0.2s ease, color 0.2s ease; }
.topic-link:hover { border-color: var(--line-strong); color: #ffffff; }

/* Articles ----------------------------------------------------------------- */
.article-hero { padding: clamp(38px, 5vw, 56px) 0 0; }
.article-hero .breadcrumbs { margin-bottom: 21px; }
.article-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; margin-bottom: 17px; color: var(--dim); font-size: 0.6rem; }
.article-kicker span { display: inline-flex; align-items: center; gap: 5px; }
.article-title { max-width: 940px; margin-bottom: 20px; font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: 0.99; }
.article-dek { max-width: 720px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.article-hero-image { position: relative; max-height: 430px; margin-top: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; }
.article-hero-image img { width: 100%; height: 430px; object-fit: cover; object-position: center 35%; }
.article-hero-image--portrait img { object-position: center 20%; }
.article-hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 9, 11, 0.55)); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(32px, 6vw, 80px); align-items: start; padding-top: clamp(38px, 6vw, 62px); }
.article-body { max-width: 760px; }
.article-body > p { margin-bottom: 18px; color: #d2c1c6; font-size: 0.9rem; line-height: 1.85; }
.article-body > h2 { margin: 38px 0 13px; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.1; scroll-margin-top: 110px; }
.article-body > h3 { margin: 26px 0 9px; font-family: var(--sans); font-size: 0.9rem; font-weight: 700; line-height: 1.4; scroll-margin-top: 110px; }
.article-body strong { color: #ffffff; }
.article-body a { color: #efaec2; text-decoration: underline; text-decoration-color: rgba(239, 174, 194, 0.32); text-underline-offset: 3px; }
.article-body a:hover { color: #ffffff; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 21px; color: #d2c1c6; font-size: 0.86rem; line-height: 1.8; }
.article-body li { margin-bottom: 6px; }
.article-body li::marker { color: #d28aa1; }
.article-body blockquote {
  margin: 26px 0;
  padding: 20px 23px;
  border-left: 2px solid var(--pink);
  background: linear-gradient(90deg, rgba(227, 105, 144, 0.07), transparent);
  color: #f0e6e9;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.4;
}
.article-body blockquote p { margin: 0; }
.article-aside { position: sticky; top: 105px; }
.toc { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.022); }
.toc h2 { margin: 0 0 10px; font-family: var(--sans); font-size: 0.58rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.toc ol { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 7px; color: var(--dim); font-size: 0.63rem; line-height: 1.4; transition: color 0.2s ease; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: #926976; font-size: 0.55rem; }
.toc a:hover { color: #ffffff; }
.aside-cta { margin-top: 12px; padding: 16px; border: 1px solid rgba(227, 105, 144, 0.24); border-radius: 14px; background: linear-gradient(150deg, rgba(227, 105, 144, 0.11), rgba(232, 136, 166, 0.06)); }
.aside-cta p { margin-bottom: 11px; color: #ddc6cd; font-size: 0.66rem; line-height: 1.55; }
.aside-cta .btn { width: 100%; min-height: 38px; font-size: 0.65rem; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 38px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.article-tags .tag { color: var(--muted); }
.article-faq { margin-top: 40px; }
.article-faq h2 { margin-bottom: 5px; }
.article-faq .faq-item summary { font-size: 0.82rem; padding: 16px 0; }
.article-faq .faq-answer { font-size: 0.78rem; }
.pull-quote { margin: 27px 0; padding: 22px 24px; border: 1px solid rgba(227, 105, 144, 0.2); border-radius: 14px; background: linear-gradient(140deg, rgba(227, 105, 144, 0.07), rgba(232, 136, 166, 0.04)); }
.pull-quote p { margin: 0; color: #f1e8eb; font-family: var(--display); font-size: 1.35rem; line-height: 1.4; }
.pull-quote cite { display: block; margin-top: 8px; color: var(--dim); font-family: var(--sans); font-size: 0.57rem; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; }
.checklist { display: grid; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, 0.022); color: var(--muted); font-size: 0.76rem; line-height: 1.55; }
.checklist svg { flex: 0 0 auto; margin-top: 3px; color: #b6e3ca; }
.compare-dialogue { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 26px; }
.dialogue-card { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #191013; }
.dialogue-card.bad { border-color: rgba(201, 131, 153, 0.22); }
.dialogue-card.good { border-color: rgba(114, 214, 166, 0.2); }
.dialogue-label { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; color: #d294a8; font-size: 0.54rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.dialogue-card.good .dialogue-label { color: #a7dfc2; }
.dialogue-card .msg { max-width: 95%; font-size: 0.64rem; padding: 7px 9px; margin-bottom: 6px; }
.dialogue-card .msg.them { background: #2d1e23; }
.dialogue-card .msg.me { background: linear-gradient(135deg, #b84d6f, #8f3551); }
.article-author { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.author-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: rgba(227, 105, 144, 0.1); color: #f1b3c7; font-family: var(--display); font-size: 1rem; }
.article-author p { color: var(--dim); font-size: 0.6rem; line-height: 1.5; }
.article-author strong { display: block; color: var(--muted); font-size: 0.65rem; }
.related-reads { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.related-reads h2 { margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.related-link { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; transition: border-color 0.2s ease, background 0.2s ease; }
.related-link:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.related-link span { color: var(--dim); font-size: 0.53rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.related-link strong { color: #f4eaed; font-size: 0.72rem; line-height: 1.45; }

/* About / legal / FAQ page ------------------------------------------------ */
.about-hero { padding: clamp(40px, 6vw, 70px) 0 clamp(50px, 7vw, 82px); }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.about-hero h1 { max-width: 680px; }
.about-hero p { max-width: 560px; color: var(--muted); font-size: 0.94rem; line-height: 1.8; }
.about-visual { position: relative; min-height: 400px; }
.about-visual .about-img { position: absolute; top: 0; right: 5%; width: 65%; height: 340px; overflow: hidden; border: 1px solid var(--line); border-radius: 150px 150px 20px 20px; }
.about-visual .about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .about-card { position: absolute; bottom: 0; left: 0; z-index: 2; width: 70%; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(26, 17, 20, 0.95); box-shadow: var(--shadow-md); backdrop-filter: blur(12px); }
.about-card .mini-label { color: var(--pink-bright); font-size: 0.52rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.about-card p { margin-top: 5px; margin-bottom: 0; color: var(--muted); font-size: 0.7rem; line-height: 1.6; }
.about-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; margin: 28px 0; }
.flow-node { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.025); text-align: center; }
.flow-node strong { display: block; color: #f6edf0; font-size: 0.7rem; }
.flow-node span { display: block; margin-top: 2px; color: var(--dim); font-size: 0.58rem; }
.flow-arrow { color: #c28095; }
.about-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; }
.principle { padding-top: 15px; border-top: 1px solid var(--line); }
.principle .p-num { color: var(--pink-bright); font-family: var(--display); font-size: 1.1rem; }
.principle h3 { margin: 8px 0 5px; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; }
.principle p { color: var(--dim); font-size: 0.68rem; line-height: 1.6; }
.transparency-card { padding: 24px; border: 1px solid rgba(227, 105, 144, 0.22); border-radius: 18px; background: linear-gradient(150deg, rgba(227, 105, 144, 0.08), rgba(255, 255, 255, 0.015)); }
.transparency-card h2 { margin-bottom: 10px; font-size: 1.9rem; }
.transparency-card p { color: var(--muted); font-size: 0.78rem; line-height: 1.7; }
.transparency-card .note { margin-top: 17px; background: rgba(0, 0, 0, 0.14); }
.legal-hero { padding: clamp(35px, 5vw, 52px) 0 26px; }
.legal-hero h1 { margin-bottom: 11px; font-size: clamp(2.7rem, 5vw, 4.2rem); }
.legal-hero p { color: var(--muted); font-size: 0.84rem; }
.legal-hero .legal-updated { margin-top: 12px; color: var(--dim); font-size: 0.62rem; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: start; padding-top: 30px; }
.legal-nav { position: sticky; top: 104px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, 0.02); }
.legal-nav h2 { margin: 0 0 9px; font-family: var(--sans); font-size: 0.57rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-nav ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: legal; }
.legal-nav li { counter-increment: legal; }
.legal-nav a { display: flex; gap: 6px; color: var(--dim); font-size: 0.62rem; line-height: 1.4; }
.legal-nav a::before { content: counter(legal) "."; color: #8c626f; }
.legal-nav a:hover { color: #ffffff; }
.legal-body { max-width: 760px; }
.legal-body h2 { margin: 34px 0 11px; font-size: 1.65rem; scroll-margin-top: 105px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 13px; color: #cfbdc3; font-size: 0.82rem; line-height: 1.8; }
.legal-body ul { margin: 0 0 16px; padding-left: 20px; color: #cfbdc3; font-size: 0.8rem; line-height: 1.75; }
.legal-body li { margin-bottom: 5px; }
.legal-body a { color: #efabc1; text-decoration: underline; text-decoration-color: rgba(239, 171, 193, 0.3); text-underline-offset: 3px; }
.legal-body strong { color: #f6edf0; }
.legal-body .placeholder { padding: 1px 5px; border: 1px dashed rgba(255, 255, 255, 0.28); border-radius: 4px; background: rgba(255, 255, 255, 0.04); color: #e8b5c5; font-size: 0.94em; }
.legal-note { margin: 18px 0; padding: 14px 16px; border-left: 2px solid #d985a0; background: rgba(227, 105, 144, 0.055); color: var(--muted); font-size: 0.75rem; line-height: 1.65; }
.legal-body h3 { margin: 22px 0 8px; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; }
.faq-page-hero { padding: clamp(38px, 5vw, 58px) 0 28px; }
.faq-page-hero h1 { margin-bottom: 12px; }
.faq-page-hero p { max-width: 590px; color: var(--muted); font-size: 0.86rem; }
.faq-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.faq-jump a { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.56rem; }
.faq-jump a:hover { border-color: var(--line-strong); color: #ffffff; }
.faq-page-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; padding-top: 24px; }
.faq-page-nav { position: sticky; top: 105px; display: grid; gap: 2px; }
.faq-page-nav a { padding: 6px 8px; border-radius: 7px; color: var(--dim); font-size: 0.62rem; line-height: 1.4; }
.faq-page-nav a:hover { background: rgba(255, 255, 255, 0.04); color: #ffffff; }
.faq-page-content { max-width: 820px; }
.faq-section { scroll-margin-top: 105px; margin-bottom: 34px; }
.faq-section h2 { margin-bottom: 4px; font-size: 1.85rem; }
.faq-section .faq-list { margin-top: 6px; }

/* Misc layout helpers ------------------------------------------------------ */
.media-split { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.media-split.reverse { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); }
.image-panel { position: relative; overflow: hidden; min-height: 440px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.image-panel img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.image-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(9, 6, 7, 0.7)); }
.image-panel .panel-caption { position: absolute; bottom: 16px; left: 16px; right: 16px; z-index: 2; color: rgba(255, 255, 255, 0.7); font-size: 0.6rem; }
.copy-block h2 { margin-bottom: 13px; }
.copy-block p { color: var(--muted); font-size: 0.82rem; line-height: 1.75; margin-bottom: 12px; }
.copy-block .action-row { margin-top: 22px; }
.two-col-text { columns: 2; column-gap: 36px; }
.two-col-text p { break-inside: avoid; }
.soft-card { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(155deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.013)); }
.soft-card h3 { margin-bottom: 8px; font-size: 1.6rem; }
.soft-card p { color: var(--muted); font-size: 0.76rem; line-height: 1.65; }
.accent-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(227, 105, 144, 0.24);
  border-radius: 20px;
  background: radial-gradient(circle at 95% 5%, rgba(227, 105, 144, 0.14), transparent 40%), rgba(255, 255, 255, 0.02);
}
.accent-card h3 { margin-bottom: 8px; font-size: 1.7rem; }
.accent-card p { color: var(--muted); font-size: 0.78rem; line-height: 1.7; }
.stat-line { display: flex; flex-wrap: wrap; gap: 15px 30px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-line div { display: flex; align-items: center; gap: 7px; color: var(--dim); font-size: 0.65rem; }
.stat-line svg { color: #d89aae; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.kbd {
  padding: 1px 5px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--sans);
  font-size: 0.9em;
}
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.demo-toast {
  display: none;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid rgba(232, 136, 166, 0.25);
  border-radius: 8px;
  background: rgba(232, 136, 166, 0.08);
  color: #f4c5d4;
  font-size: 0.57rem;
  line-height: 1.45;
}
.demo-toast.is-visible { display: block; }
.demo-toast a { color: #f0b5c8; text-decoration: underline; text-underline-offset: 2px; }

/* Reveal effects ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(14px);
  }
  [data-reveal] {
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.75, 0.2, 1);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1180px) {
  .header-inner { gap: 12px; }
  .nav-link { padding-inline: 7px; font-size: 0.68rem; }
  .brand-sub { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: 30px; }
  .hero-stage { min-height: 545px; }
  .stage-main { width: 58%; }
  .hero-floating-badge { right: 0; }
  .bubble-a { left: -4px; }
  .creator-shell { grid-template-columns: 210px minmax(0, 1fr) 270px; }
  .characters-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr; gap: 30px; }
}

@media (max-width: 1020px) {
  :root { --header-height: 70px; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    z-index: 99;
    display: none;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 14px 24px 26px;
    border-bottom: 1px solid var(--line);
    background: #0f0a0b;
    box-shadow: 0 26px 40px rgba(0, 0, 0, 0.35);
  }
  .menu-open .main-nav { display: block; }
  .menu-open { overflow: hidden; }
  .nav-list { display: grid; gap: 3px; width: 100%; }
  .nav-item { width: 100%; }
  .nav-link { display: flex; justify-content: space-between; width: 100%; padding: 12px 11px; font-size: 0.82rem; }
  .nav-link.active::after { display: none; }
  .nav-dropdown { width: 100%; }
  .nav-drop-toggle { width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; }
  .dropdown-panel {
    position: static;
    display: none;
    width: 100%;
    margin: 0 0 4px;
    padding: 3px 0 5px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-item.is-open .dropdown-panel { display: block; transform: none; }
  .dropdown-link { padding: 9px 10px; font-size: 0.73rem; }
  .mobile-nav-extra { display: block; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
  .mobile-nav-extra .btn { width: 100%; min-height: 44px; }
  .mobile-nav-extra p { margin-top: 10px; color: var(--dim); font-size: 0.61rem; text-align: center; }
  .nav-toggle { display: block; }
  .header-actions .nav-cta { display: none; }

  /* No-JavaScript fallback: keep every primary page reachable without the menu. */
  html:not(.js) .site-header { position: relative; height: auto; }
  html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 8px 12px; }
  html:not(.js) .main-nav { display: block; position: static; order: 3; flex: 1 0 100%; width: 100%; max-height: none; padding: 4px 0 8px; border: 0; background: transparent; box-shadow: none; overflow: visible; }
  html:not(.js) .nav-list { display: flex; flex-wrap: wrap; gap: 2px 4px; width: 100%; }
  html:not(.js) .nav-item { width: auto; }
  html:not(.js) .nav-link { width: auto; padding: 8px 10px; }
  html:not(.js) .nav-toggle,
  html:not(.js) .nav-dropdown { display: none; }
  .header-actions { gap: 7px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { max-width: 700px; }
  .hero-title { max-width: 760px; }
  .hero-stage { width: min(100%, 610px); margin-inline: auto; min-height: 580px; }
  .stage-main { width: 54%; }
  .chat-feature-wrap { grid-template-columns: 1fr; gap: 28px; }
  .chat-feature-copy { max-width: 700px; }
  .hero-stage .bubble-a { left: 2%; }
  .hero-stage .bubble-b { right: 0; }
  .editorial-profile { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; }
  .profile-stack { min-height: 520px; }
  .profile-main { height: 400px; }
  .profile-info { width: 95%; }
  .creator-shell { grid-template-columns: 190px minmax(0, 1fr); }
  .creator-options { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; }
  .characters-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-hero-grid, .virtual-hero .page-hero-grid, .anime-hero-grid, .rp-hero-grid, .about-hero-grid, .adult-hero-grid, .sexting-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-copy { max-width: 760px; }
  .page-hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .anime-stage { max-width: 610px; width: 100%; margin-inline: auto; }
  .gen-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 38px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / 4; }
  .footer-bottom { flex-direction: column; gap: 15px; }
  .footer-copy { text-align: left; }
  .anime-gallery { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .anime-gallery::-webkit-scrollbar { display: none; }
  .anime-gallery-card { flex: 0 0 190px; }
  .scenario-grid { grid-template-columns: repeat(5, 220px); }
}

@media (max-width: 820px) {
  .container, .container-wide { width: min(100% - 36px, var(--container)); }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head.center { align-items: center; }
  .section-head .action-row { padding-top: 3px; }
  .grid-2, .split, .split.wide-left { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero-home { padding-top: 32px; }
  .hero-title { font-size: clamp(2.5rem, 6.5vw, 3.6rem); }
  .hero-stage { min-height: 510px; width: 100%; max-width: 540px; }
  .stage-main { width: 57%; }
  .stage-left { top: 105px; width: 40%; }
  .stage-right { width: 36%; }
  .character-mosaic { grid-auto-rows: 225px; }
  .character-card--feature { grid-column: span 2; grid-row: span 2; }
  .character-card--wide { grid-column: span 2; }
  .character-card--wide .char-content { right: 34%; }
  .builder-shell { grid-template-columns: 1fr; }
  .builder-preview { min-height: 420px; border-top: 1px solid var(--line); border-left: 0; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-card { min-height: 400px; }
  .editorial-profile { grid-template-columns: 1fr; }
  .profile-stack { max-width: 510px; width: 100%; margin-inline: auto; min-height: 580px; }
  .profile-main { height: 430px; }
  .profile-info { width: min(92%, 380px); }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 20px 0; }
  .step + .step { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .step-no { margin-bottom: 15px; }
  .step h3 { font-size: 1.55rem; }
  .step p { max-width: 600px; }
  .step-cta { margin-top: 10px; }
  .faq-columns { grid-template-columns: 1fr; gap: 28px; }
  .faq-columns .faq-intro { position: static; }
  .adult-topics { grid-template-columns: 1fr; }
  .adult-row:nth-child(odd) { border-right: 0; }
  .adult-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .adult-row:last-child { border-bottom: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-brand p { max-width: 420px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; max-width: 100%; }
  .toc { display: none; }
  .article-body { max-width: 760px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 160px minmax(0, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
  .featured-media { min-height: 300px; max-height: 340px; }
  .blog-hero-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .blog-hero p { max-width: 620px; }
  .characters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .character-hero .page-title { font-size: clamp(2.7rem, 7vw, 4rem); }
  .directory-toolbar { top: var(--header-height); }
  .toolbar-inner { align-items: flex-start; flex-direction: column; gap: 9px; }
  .character-count { align-self: flex-end; }
  .directory-content-grid { grid-template-columns: 1fr; }
  .gen-shell { grid-template-columns: 230px minmax(0, 1fr); }
  .gen-preview { min-height: 460px; }
  .style-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-guide-grid { grid-template-columns: 1fr; }
  .adult-hero-visual { max-width: 580px; margin-inline: auto; }
  .adult-hero-visual .portrait-float { display: none; }
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type-card { min-height: 280px; }
  .adult-style-grid { grid-template-columns: 1fr; }
  .privacy-panel { grid-template-columns: 1fr; gap: 22px; }
  .flirty-examples { grid-template-columns: 1fr; }
  .tone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sexting-phone-wrap { min-height: 590px; max-width: 480px; margin-inline: auto; width: 100%; }
  .anime-persona-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anime-split { grid-template-columns: 1fr; }
  .anime-scene-grid { grid-template-columns: 1fr; }
  .anime-scene { min-height: 250px; }
  .rp-setting-layout { grid-template-columns: 1fr; }
  .rp-board { max-width: 580px; width: 100%; margin-inline: auto; min-height: 520px; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .relationship-band { grid-template-columns: 76px minmax(0, 1fr); }
  .relationship-band .band-index { display: none; }
  .relationship-band img { width: 76px; height: 82px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .legal-nav ol { grid-template-columns: 1fr 1fr; }
  .faq-page-layout { grid-template-columns: 1fr; }
  .faq-page-nav { position: static; display: flex; flex-wrap: wrap; gap: 3px; padding-bottom: 8px; }
  .faq-page-nav a { padding: 4px 7px; background: rgba(255, 255, 255, 0.03); }
  .about-flow { grid-template-columns: 1fr; }
  .flow-arrow { display: none; }
  .about-principles { grid-template-columns: 1fr; }
  .about-visual { max-width: 530px; width: 100%; margin-inline: auto; }
  .creator-shell { grid-template-columns: 1fr; }
  .creator-side { display: none; }
  .creator-canvas { min-height: 430px; }
  .appearance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personality-grid { grid-template-columns: 1fr 1fr; }
  .relationship-row { grid-template-columns: 1fr; }
  .hero-portrait-pair { min-height: 410px; }
  .hero-portrait-pair .pair-main { height: 380px; }
  .hero-portrait-pair .pair-small { height: 210px; }
  .testimonial-none { display: none; }
  .two-col-text { columns: 1; }
  .example-chat-grid { grid-template-columns: 1fr; }
  .example-chat-card .mini-bubbles { min-height: auto; }
  .chat-persona-lab { grid-template-columns: 1fr; }
  .persona-picker { grid-template-columns: 1fr 1fr; }
  .phone-stage { max-width: 380px; margin-inline: auto; }
}

@media (max-width: 600px) {
  .container, .container-wide { width: min(100% - 28px, var(--container)); }
  body { font-size: 16px; }
  h1 { font-size: clamp(2.1rem, 8.5vw, 2.8rem); }
  h2 { font-size: clamp(1.65rem, 6.5vw, 2.15rem); }
  .section { padding: 54px 0; }
  .section-sm { padding: 40px 0; }
  .brand-name { font-size: 1.1rem; }
  .brand-mark { width: 31px; height: 31px; }
  .header-actions .btn { min-height: 37px; padding-inline: 12px; font-size: 0.68rem; }
  .main-nav { padding-inline: 16px; }
  .hero-home { padding-top: 25px; padding-bottom: 54px; }
  .hero-title { font-size: clamp(2.1rem, 8.6vw, 3rem); margin-bottom: 18px; }
  .hero-kicker { flex-wrap: wrap; gap: 7px; margin-bottom: 17px; font-size: 0.6rem; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 22px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { flex: 1 1 auto; min-height: 47px; font-size: 0.77rem; padding-inline: 14px; }
  .hero-meta { margin-top: 20px; gap: 7px 13px; font-size: 0.62rem; }
  .hero-stage { min-height: 410px; }
  .stage-main { top: 8px; right: 4%; width: 60%; border-radius: 110px 110px 18px 18px; }
  .stage-left { top: 80px; width: 38%; border-radius: 15px; }
  .stage-right { bottom: 5px; width: 34%; border-radius: 15px; }
  .stage-tag { left: 11px; right: 11px; bottom: 11px; }
  .stage-tag strong { font-size: 1.05rem; }
  .stage-tag small { font-size: 0.55rem; }
  .floating-bubble { max-width: 170px; padding: 8px 10px; font-size: 0.61rem; }
  .floating-bubble .who { font-size: 0.48rem; }
  .bubble-a { top: 62px; left: 0; }
  .bubble-b { right: 0; bottom: 82px; max-width: 158px; }
  .hero-floating-badge { display: none; }
  .character-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; gap: 9px; }
  .character-card--feature { grid-column: span 2; grid-row: span 2; }
  .character-card--wide { grid-column: span 2; }
  .character-card--wide .char-content { right: 15px; }
  .character-card--feature .char-name { font-size: 1.95rem; }
  .character-card--feature .char-desc { font-size: 0.7rem; max-width: 280px; }
  .character-card--feature .char-content { left: 15px; right: 15px; bottom: 14px; }
  .char-name { font-size: 1.2rem; }
  .char-persona { font-size: 0.54rem; }
  .char-desc { display: none; }
  .character-card--feature .char-desc { display: block; }
  .char-tags .tag:nth-child(n+3) { display: none; }
  .character-card--feature .char-tags .tag:nth-child(n+3) { display: inline-flex; }
  .mosaic-footnote { flex-direction: column; align-items: flex-start; gap: 10px; }
  .chat-window { border-radius: 17px; }
  .chat-body { min-height: 285px; padding: 14px 13px; }
  .msg { font-size: 0.72rem; }
  .chat-header { padding: 10px 12px; }
  .preview-pill { display: none; }
  .chat-context { margin-inline: 12px; }
  .chat-footer { padding-inline: 11px; }
  .chat-safety { font-size: 0.52rem; }
  .phone { width: min(100%, 278px); }
  .phone-screen { min-height: 530px; }
  .device-caption { max-width: 124px; padding: 7px 9px; font-size: 0.56rem; }
  .device-caption--left { left: -2px; top: 115px; }
  .device-caption--right { right: -2px; bottom: 95px; }
  .builder-controls { padding: 17px 15px; }
  .builder-preview { min-height: 380px; }
  .panel-top h3 { font-size: 1.4rem; }
  .choice { padding: 8px 9px; font-size: 0.62rem; }
  .swatch { font-size: 0.57rem; }
  .preview-name { font-size: 1.9rem; }
  .preview-caption { display: none; }
  .compare-card { min-height: 360px; }
  .compare-body { padding: 18px; }
  .compare-body h3 { font-size: 1.95rem; }
  .profile-stack { min-height: 470px; }
  .profile-main { height: 350px; }
  .profile-back { height: 330px; }
  .profile-info { width: 100%; padding: 15px; }
  .profile-info h3 { font-size: 1.6rem; }
  .adult-panel-head { flex-direction: column; align-items: flex-start; padding: 20px 17px; gap: 12px; }
  .adult-row { grid-template-columns: 27px minmax(0, 1fr) auto; gap: 11px; padding: 17px; }
  .adult-info h3 { font-size: 0.77rem; }
  .adult-info p { font-size: 0.63rem; }
  .adult-num { font-size: 1rem; }
  .faq-item summary { padding: 16px 0; font-size: 0.82rem; gap: 12px; }
  .faq-answer { font-size: 0.77rem; padding-bottom: 18px; }
  .final-cta { padding: 40px 18px 38px; border-radius: 22px; }
  .final-cta h2 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .final-cta p { font-size: 0.8rem; }
  .final-cta .action-row { flex-direction: column; }
  .final-cta .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px 18px; padding: 34px 0 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links a { font-size: 0.67rem; }
  .footer-bottom { padding-bottom: 24px; }
  .footer-affiliate { font-size: 0.68rem; }
  .page-hero { padding-top: 28px; }
  .page-title, .anime-hero h1 { font-size: clamp(2.1rem, 8.5vw, 2.8rem); }
  .page-sub { font-size: 0.88rem; }
  .breadcrumbs { margin-bottom: 17px; font-size: 0.57rem; }
  .hero-portrait-pair { min-height: 330px; }
  .hero-portrait-pair .pair-main { height: 310px; border-radius: 95px 95px 17px 17px; }
  .hero-portrait-pair .pair-small { height: 175px; }
  .hero-chip { font-size: 0.52rem; padding: 6px 9px; }
  .hero-chip--top { top: 25px; left: 0; }
  .hero-chip--bottom { bottom: 20px; }
  .character-hero .page-title { font-size: clamp(2.4rem, 10vw, 3.2rem); }
  .characters-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .directory-card { min-height: 330px; border-radius: 13px; }
  .dir-content { left: 10px; right: 10px; bottom: 10px; }
  .dir-content h3 { font-size: 1.32rem; }
  .dir-content p { display: none; }
  .dir-content .tag { display: none; }
  .dir-link { font-size: 0.53rem; }
  .dir-style { top: 8px; left: 8px; font-size: 0.43rem; }
  .filter-group { gap: 4px; }
  .filter-btn { padding: 6px 9px; font-size: 0.58rem; }
  .directory-toolbar { padding: 10px 0; }
  .blog-hero { padding-top: 28px; }
  .blog-hero h1 { font-size: clamp(2.5rem, 10vw, 3.4rem); }
  .featured-media { min-height: 230px; }
  .featured-body { padding: 20px; }
  .featured-body h2 { font-size: 1.85rem; }
  .post-card { grid-template-columns: 116px minmax(0, 1fr); }
  .post-media { min-height: 170px; }
  .post-body { padding: 13px; }
  .post-body h3 { font-size: 1.1rem; }
  .post-body p { font-size: 0.6rem; }
  .article-title { font-size: clamp(2.3rem, 9vw, 3.25rem); }
  .article-dek { font-size: 0.88rem; }
  .article-hero-image { max-height: 260px; margin-top: 24px; }
  .article-hero-image img { height: 260px; }
  .article-layout { padding-top: 30px; gap: 28px; }
  .article-body > p { font-size: 0.84rem; line-height: 1.8; }
  .article-body > h2 { font-size: 1.7rem; margin-top: 32px; }
  .article-body ul, .article-body ol { font-size: 0.81rem; }
  .article-body blockquote { font-size: 1.2rem; padding: 16px 17px; }
  .compare-dialogue { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .gen-shell { grid-template-columns: 1fr; }
  .gen-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .gen-preview { min-height: 410px; }
  .gen-controls .choice-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .gen-controls .choice { white-space: nowrap; }
  .type-grid { gap: 8px; }
  .type-card { min-height: 240px; }
  .type-card h3 { font-size: 1.22rem; }
  .type-card p { font-size: 0.58rem; }
  .tone-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .tone-card { padding: 12px; }
  .privacy-points { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .before-after div, .before-after img { min-height: 250px; }
  .anime-stage { min-height: 390px; }
  .anime-stage .anime-card:nth-child(1) { width: 58%; height: 330px; }
  .anime-stage .anime-card:nth-child(2) { width: 44%; height: 220px; }
  .anime-stage .anime-card:nth-child(3) { width: 30%; height: 140px; }
  .anime-sticker { top: 45%; font-size: 0.46rem; }
  .anime-gallery-card { flex-basis: 165px; min-height: 240px; }
  .anime-persona-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .rp-board { min-height: 460px; }
  .rp-board .chat-window { width: 85%; }
  .rp-board .scenario-card { width: 61%; height: 350px; }
  .rp-board .scenario-body { right: 20px; }
  .rp-board .rp-float { width: 120px; font-size: 0.5rem; }
  .range-row { grid-template-columns: 88px minmax(0, 1fr) 40px; gap: 9px; }
  .range-row label { font-size: 0.61rem; }
  .relationship-band { grid-template-columns: 1fr; gap: 10px; }
  .relationship-band img { width: 100%; height: 160px; }
  .personality-grid { grid-template-columns: 1fr; }
  .appearance-grid { gap: 7px; }
  .style-choice-grid { gap: 7px; }
  .style-choice, .style-choice img { min-height: 230px; }
  .sexting-phone-wrap { min-height: 540px; }
  .sexting-phone-wrap .phone { right: 50%; transform: translateX(50%) scale(0.88); transform-origin: top center; }
  .sexting-phone-wrap .phone--back { display: none; }
  .persona-picker { grid-template-columns: 1fr; }
  .example-chat-card .msg { font-size: 0.63rem; }
  .two-col-text { columns: 1; }
  .legal-nav ol { grid-template-columns: 1fr; }
  .legal-body h2 { font-size: 1.5rem; }
  .faq-page-nav { max-height: 135px; overflow-y: auto; }
  .about-flow { gap: 7px; }
  .about-visual { min-height: 340px; }
  .about-visual .about-img { height: 290px; }
  .about-visual .about-card { width: 84%; padding: 14px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .footer-col:nth-child(4) .footer-links { grid-template-columns: 1fr 1fr; display: grid; }
  .hero-stage .bubble-b { display: none; }
  .gen-preview-bottom h3 { font-size: 1.3rem; }
  .gen-preview-bottom p { font-size: 0.55rem; }
  .gen-preview-top .gen-status { font-size: 0.43rem; }
  .adult-hero-visual .chat-window { transform: none; }
  .creator-canvas { min-height: 370px; }
  .creator-canvas .canvas-label strong { font-size: 1.7rem; }
  .article-author { align-items: flex-start; }
}

@media (max-width: 380px) {
  .character-mosaic { grid-auto-rows: 215px; }
  .char-persona { font-size: 0.5rem; }
  .hero-actions .btn { width: 100%; flex-basis: 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-col:nth-child(4) { grid-column: auto; }
  .footer-col:nth-child(4) .footer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Additional components: directory tools, article builder and misc fixes
   -------------------------------------------------------------------------- */
.gen-preview-note.is-visible { opacity: 1; }
.gen-controls .choice[disabled],
.gen-controls .swatch[disabled] { cursor: not-allowed; opacity: 0.7; }
.gen-preview .gen-preview-note.is-visible { pointer-events: none; }

.creator-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 0.65rem;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.creator-nav a:hover { border-color: var(--line); background: rgba(255, 255, 255, 0.04); color: #ffffff; }

.directory-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.character-search { position: relative; display: block; }
.character-search input {
  width: 192px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.61rem;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.character-search input::placeholder { color: var(--dim); }
.character-search input:focus { border-color: rgba(227, 105, 144, 0.55); background: rgba(255, 255, 255, 0.05); }
.directory-card .char-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 9px; }
.directory-card .char-tags .tag { padding: 3px 6px; font-size: 0.46rem; }
.dir-hidden-note button { font: inherit; background: none; border: 0; cursor: pointer; }

.post-card--wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.post-card--wide .post-media { min-height: 300px; }
.post-card--wide .post-body { padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; justify-content: center; }
.post-card--wide .post-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.post-card--wide .post-body p { font-size: 0.74rem; line-height: 1.7; }
.blog-cat { display: inline-flex; align-self: flex-start; }

/* Personality builder */
.personality-builder {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  overflow: hidden;
  margin: 22px 0 28px;
  border: 1px solid rgba(232, 136, 166, 0.24);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(232, 136, 166, 0.07), rgba(255, 255, 255, 0.016));
}
.pb-controls { padding: clamp(18px, 3vw, 26px); border-right: 1px solid var(--line); }
.pb-field { margin-bottom: 14px; }
.pb-field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.62rem; }
.pb-field input {
  width: 100%;
  height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.76rem;
  outline: none;
}
.pb-field input:focus { border-color: rgba(227, 105, 144, 0.5); }
.pb-controls .range-row { grid-template-columns: 76px minmax(0, 1fr) 74px; }
.pb-controls .range-row output { text-align: right; color: #efb6c8; font-size: 0.57rem; }
.pb-preview { padding: clamp(18px, 3vw, 26px); background: radial-gradient(circle at 30% 10%, rgba(227, 105, 144, 0.12), transparent 60%); }
.pb-preview h3 { margin: 10px 0 6px; font-size: 1.9rem; }
.pb-summary { color: var(--muted); font-size: 0.71rem; line-height: 1.65; }
.pb-traits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pb-traits div { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(0, 0, 0, 0.16); }
.pb-traits span { display: block; color: var(--dim); font-size: 0.49rem; letter-spacing: 0.07em; text-transform: uppercase; }
.pb-traits strong { display: block; margin-top: 2px; color: #f6edf0; font-size: 0.64rem; font-weight: 650; }

/* Conversation diagnosis table */
.diagnose-table { margin: 20px 0 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; }
.diagnose-row { display: grid; grid-template-columns: 0.65fr 1.55fr 1.1fr; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); color: #d2c1c6; font-size: 0.71rem; line-height: 1.55; }
.diagnose-row:last-child { border-bottom: 0; }
.diagnose-row span:first-child { color: #f2dbe2; font-weight: 700; }
.diagnose-head { background: rgba(255, 255, 255, 0.035); color: var(--dim); font-size: 0.55rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.diagnose-head span:first-child { color: var(--dim); }
.diagnose-row:nth-child(even) { background: rgba(255, 255, 255, 0.012); }

/* Prompt template */
.prompt-template {
  margin: 18px 0 22px;
  padding: 18px 20px;
  border: 1px solid rgba(232, 136, 166, 0.28);
  border-radius: 13px;
  background: rgba(232, 136, 166, 0.06);
  color: #e4d0d6;
  font-size: 0.77rem;
  line-height: 1.8;
}
.prompt-template p { margin: 0; }
.prompt-template strong { color: #f3c2d1; font-weight: 700; }

/* Minor helpers */
.small.center { text-align: center; }
code { padding: 1px 4px; border: 1px solid var(--line); border-radius: 4px; background: rgba(255, 255, 255, 0.04); color: #f0c3d1; font-size: 0.92em; }
.legal-body code { font-size: 0.9em; }
.transparency-card .action-row { margin-top: 16px; }
.adult-panel .action-row { flex-wrap: wrap; }

@media (max-width: 1020px) {
  .directory-tools { flex-wrap: wrap; }
  .character-search input { width: 180px; }
  .personality-builder { grid-template-columns: 1fr; }
  .pb-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .post-card--wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

@media (max-width: 760px) {
  .toolbar-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .directory-tools { width: 100%; justify-content: space-between; }
  .character-search { flex: 1 1 auto; }
  .character-search input { width: 100%; }
  .character-count { white-space: nowrap; }
  .post-card--wide { grid-template-columns: 1fr; }
  .post-card--wide .post-media { min-height: 220px; }
  .pb-controls .range-row { grid-template-columns: 70px minmax(0, 1fr) 70px; }
  .diagnose-row { grid-template-columns: 0.8fr 1.2fr; }
  .diagnose-row span:last-child { display: none; }
  .diagnose-head span:last-child { display: none; }
}

@media (max-width: 480px) {
  .filter-group { width: 100%; }
  .directory-tools { flex-direction: column; align-items: stretch; }
  .character-count { text-align: right; }
  .pb-traits { grid-template-columns: 1fr; }
  .diagnose-row { grid-template-columns: 1fr; gap: 4px; }
  .diagnose-head { display: none; }
}
