:root {
  color-scheme: dark;
  --bg: #090a0f;
  --surface: #12131a;
  --surface-2: #1a1b24;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f3f5;
  --muted: #bdb4ba;
  --pink: #e94b73;
  --gold: #d7a857;
  --accent-soft: #ffb2c1;
  --text-muted: #8e8490;
  --danger: #ff6b6b;
  --ok: #7bd88f;
  --brand-icon-image: url("/assets/generated/gpt-image-2-brand-icon.png");
  --hero-image: url("/assets/generated/gpt-image-2-video-hero.png");
  --role-cover-a: url("/assets/generated/gpt-image-2-light-board.png");
  --role-cover-b: url("/assets/generated/gpt-image-2-create-dark.jpg");
  --role-cover-c: url("/assets/generated/gpt-image-2-create-mid.jpg");
  --role-cover-d: url("/assets/generated/gpt-image-2-create-light.jpg");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(233, 75, 115, 0.12), transparent 34%),
    linear-gradient(160deg, transparent 54%, rgba(233, 75, 115, 0.08) 72%, transparent 100%),
    linear-gradient(140deg, #090a0f 0%, #101119 54%, #130d13 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: auto -10vw 0;
  z-index: -1;
  height: 46vh;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 24% 70%, rgba(233, 75, 115, 0.22), transparent 34%),
    radial-gradient(ellipse at 66% 82%, rgba(215, 168, 87, 0.12), transparent 38%),
    linear-gradient(105deg, transparent 0 18%, rgba(233, 75, 115, 0.22) 42%, transparent 78%);
  filter: blur(24px);
  opacity: 0.72;
  transform: rotate(-4deg);
}

a {
  color: inherit;
}

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

.preview-home {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.preview-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.preview-brand,
.preview-nav nav,
.preview-actions,
.preview-proof,
.phone-chip-row,
.phone-bottom-nav,
.boundary-links {
  display: flex;
  align-items: center;
}

.preview-brand {
  gap: 12px;
  text-decoration: none;
}

.preview-brand-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(9, 10, 15, 0.03), rgba(9, 10, 15, 0.28)),
    var(--brand-icon-image) center / cover no-repeat,
    linear-gradient(145deg, var(--pink), #5b142b 72%);
  box-shadow: 0 0 28px rgba(233, 75, 115, 0.38);
}

.preview-brand strong,
.preview-brand em {
  display: block;
  line-height: 1.35;
  white-space: nowrap;
}

.preview-brand strong {
  font-size: 16px;
}

.preview-brand em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.preview-nav nav {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.preview-nav nav a {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.preview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 450px);
  gap: 28px;
  align-items: center;
  min-height: calc(100dvh - 92px);
  padding: 34px 0 22px;
}

.preview-copy {
  display: grid;
  gap: 20px;
}

.preview-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.preview-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: 0;
}

.preview-copy > p:not(.preview-kicker) {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.preview-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.preview-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.preview-proof article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.preview-proof span,
.preview-proof strong,
.preview-proof em {
  display: block;
}

.preview-proof span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.preview-proof strong {
  margin-top: 6px;
  font-size: 19px;
  line-height: 1.2;
}

.preview-proof em {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.preview-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
}

.preview-orbit {
  position: absolute;
  inset: 24px -16px 0;
  border-radius: 40px;
  background:
    radial-gradient(circle at 58% 18%, rgba(255, 210, 225, 0.3), transparent 18%),
    radial-gradient(circle at 24% 44%, rgba(233, 75, 115, 0.22), transparent 26%),
    linear-gradient(155deg, rgba(233, 75, 115, 0.18), rgba(215, 168, 87, 0.1) 38%, transparent 66%);
  filter: blur(3px);
  opacity: 0.88;
}

.preview-phone {
  position: relative;
  z-index: 1;
  width: min(100%, 386px);
  min-height: 640px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 18%),
    #0d0e14;
  padding: 16px;
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.035),
    0 34px 90px rgba(0, 0, 0, 0.46);
}

.preview-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(247, 243, 245, 0.9);
  font-size: 12px;
  padding: 4px 8px 12px;
}

.phone-visual {
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, transparent 35%, rgba(9, 10, 15, 0.78)),
    var(--hero-image) center / cover no-repeat;
  box-shadow: inset 0 -50px 80px rgba(0, 0, 0, 0.3);
}

.phone-search {
  margin-top: 14px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 13px;
}

.phone-chip-row {
  gap: 8px;
  margin-top: 12px;
  overflow: hidden;
}

.phone-chip-row span {
  flex: 0 0 auto;
  min-height: 30px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--muted);
  font-size: 12px;
}

.phone-chip-row .is-active {
  background: var(--pink);
  color: #fff;
  font-weight: 700;
}

.phone-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.phone-role-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #1a1b24, #101119);
  padding: 10px;
}

.role-cover {
  display: block;
  min-height: 126px;
  border-radius: 14px;
  background: center / cover no-repeat;
}

.role-cover-a {
  background-image: var(--role-cover-a);
}

.role-cover-b {
  background-image: var(--role-cover-b);
}

.phone-role-grid strong,
.phone-role-grid em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-role-grid strong {
  margin-top: 9px;
  font-size: 14px;
}

.phone-role-grid em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.phone-bottom-nav {
  justify-content: space-between;
  gap: 6px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(18, 19, 26, 0.9);
  padding: 8px;
}

.phone-bottom-nav a {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 14px;
  padding: 9px 4px;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  font-size: 12px;
}

.phone-bottom-nav .create {
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(233, 75, 115, 0.32);
}

.preview-sections {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 16px;
  margin-top: 20px;
}

.route-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(26, 27, 36, 0.92), rgba(12, 13, 19, 0.92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  padding: 22px;
}

.route-card h2 {
  margin: 6px 0 10px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.18;
}

.route-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.route-chat {
  display: grid;
  grid-template-columns: minmax(160px, 0.64fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  grid-row: span 2;
}

.route-image {
  display: block;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent 42%, rgba(9, 10, 15, 0.82)),
    var(--role-cover-c) center / cover no-repeat;
}

.route-support {
  background:
    linear-gradient(135deg, rgba(233, 75, 115, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(26, 27, 36, 0.94), rgba(12, 13, 19, 0.94));
}

.route-promo {
  background:
    linear-gradient(135deg, rgba(215, 168, 87, 0.13), transparent 42%),
    linear-gradient(180deg, rgba(26, 27, 36, 0.94), rgba(12, 13, 19, 0.94));
}

.route-boundary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.route-boundary h2 {
  min-width: 120px;
}

.route-boundary p {
  max-width: 620px;
  margin: 0;
}

.boundary-links {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.boundary-links a {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
}

.shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 64% 35%, #ffd4de 0 9%, transparent 10%),
    radial-gradient(circle at 48% 50%, var(--pink) 0 42%, #8f315c 43% 100%);
  box-shadow: 0 0 28px rgba(233, 75, 115, 0.36);
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  font-size: 14px;
}

.button.primary {
  border-color: transparent;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(233, 75, 115, 0.28);
}

.static-api-disabled,
.disabled-api-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  cursor: not-allowed;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  padding: 9px 12px;
  text-align: center;
}

.hero,
.grid,
.status-grid {
  display: grid;
  gap: 16px;
}

.hero {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(26, 27, 36, 0.92), rgba(12, 13, 19, 0.92));
  padding: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.panel h1,
.panel h2,
.panel h3 {
  margin: 0 0 12px;
  line-height: 1.2;
}

.panel h1 {
  font-size: clamp(28px, 3.2vw, 44px);
}

.panel p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.api-path {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.preview {
  overflow: hidden;
  padding: 0;
}

.preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.status-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(215, 168, 87, 0.15);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.badge.ok {
  background: rgba(123, 216, 143, 0.14);
  color: var(--ok);
}

.badge.blocked {
  background: rgba(255, 107, 107, 0.14);
  color: var(--danger);
}

.list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
}

.field input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #0d0e14;
  color: var(--text);
}

.notice {
  border-left: 3px solid var(--pink);
  padding: 12px 14px;
  background: rgba(233, 75, 115, 0.09);
  color: var(--muted);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

.mobile-first-note {
  display: none;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hero-kpis strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.hero-kpis span {
  color: var(--muted);
  font-size: 12px;
}

.direction-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.direction-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(233, 75, 115, 0.1), transparent 34%),
    linear-gradient(180deg, #12131a, #090a0f);
  padding: 14px;
}

.direction-card.wide {
  grid-column: 1 / -1;
}

.direction-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #ff9aaa;
  font-weight: 700;
}

.phone-frame {
  width: min(100%, 260px);
  min-height: 430px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 18%),
    #0d0e14;
  padding: 16px 14px 14px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.035), 0 26px 60px rgba(0, 0, 0, 0.32);
}

.phone-head,
.phone-tabs,
.bottom-nav,
.quick-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-head {
  justify-content: space-between;
  margin-bottom: 14px;
}

.phone-title {
  font-size: 18px;
  font-weight: 700;
}

.icon-dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(233, 75, 115, 0.14);
  color: #ff9aaa;
}

.search-line {
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  margin-bottom: 12px;
}

.phone-tabs {
  overflow: hidden;
  margin-bottom: 12px;
}

.chip {
  flex: 0 0 auto;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
}

.chip.active {
  background: var(--pink);
  color: #fff;
}

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.role-card {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(247, 187, 197, 0.28), transparent 42%),
    linear-gradient(180deg, #1a1b24, #0f1017);
  padding: 10px;
}

.role-card:nth-child(2),
.role-card:nth-child(4) {
  background:
    linear-gradient(145deg, rgba(233, 75, 115, 0.24), transparent 44%),
    linear-gradient(180deg, #21161d, #0f1017);
}

.role-avatar {
  display: grid;
  height: 76px;
  place-items: center;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 154, 170, 0.24), transparent 48%),
    linear-gradient(90deg, #222631, #101118);
  color: #ffd7df;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.role-card-name,
.role-card-meta {
  min-width: 0;
  overflow-wrap: anywhere;
}

.role-card-name {
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.role-card-meta {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  margin-top: 4px;
}

.warm-role-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(233, 75, 115, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(233, 75, 115, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.045);
  padding: 12px;
}

.warm-role-card h3,
.warm-role-card p {
  margin: 0;
}

.warm-role-card h3 {
  font-size: 16px;
}

.warm-role-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tags span {
  min-height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffb2c1;
  padding: 4px 8px;
  font-size: 11px;
}

.role-detail-lines {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.role-detail-lines span {
  min-width: 0;
  border-left: 2px solid rgba(233, 75, 115, 0.52);
  border-radius: 8px;
  background: rgba(9, 10, 15, 0.42);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  padding: 6px 8px;
}

.role-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.role-detail-actions span {
  display: grid;
  min-height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.role-detail-actions span:first-child {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.repository-note {
  border-radius: 10px;
  background: rgba(9, 10, 15, 0.38);
  color: #c9c0c8;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  padding: 7px 8px;
}

.payment-result-shell {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
}

.payment-result-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pay-state-card {
  display: grid;
  align-content: start;
  min-height: 164px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.pay-state-card.is-current {
  border-color: rgba(215, 168, 87, 0.36);
  background: rgba(215, 168, 87, 0.08);
}

.pay-state-card.blocked {
  border-color: rgba(255, 107, 107, 0.28);
  background: rgba(255, 107, 107, 0.07);
}

.pay-state-card h2 {
  margin: 10px 0 8px;
  font-size: 18px;
}

.pay-state-card p,
.direction-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  overflow-wrap: anywhere;
}

.gate-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.gate-list span {
  border-radius: 10px;
  background: rgba(9, 10, 15, 0.48);
  color: #ffb2c1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  padding: 8px;
}

.payment-result-summary {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.payment-result-summary span {
  display: grid;
  grid-template-columns: minmax(74px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(9, 10, 15, 0.42);
  color: #f0dce5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  padding: 7px 8px;
}

.payment-result-summary strong {
  color: #ffb2c1;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.skeleton-line {
  height: 8px;
  width: 72%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.skeleton-line.short {
  width: 44%;
  margin-top: 7px;
}

.bottom-nav {
  justify-content: space-around;
  min-height: 48px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.bottom-nav .create {
  display: grid;
  place-items: center;
  width: 48px;
  height: 34px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
}

.chat-hero {
  display: grid;
  gap: 12px;
  padding-top: 14px;
}

.avatar-glow {
  width: 78px;
  height: 78px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 36%, #ffd7df 0 8%, transparent 9%),
    linear-gradient(145deg, #332a35, #0f1017);
  box-shadow: 0 0 36px rgba(233, 75, 115, 0.42);
}

.chat-context-preview {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(233, 75, 115, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  padding: 11px;
}

.chat-context-preview h3 {
  margin: 0;
  font-size: 15px;
}

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

.context-grid span {
  min-width: 0;
  border-radius: 8px;
  background: rgba(9, 10, 15, 0.42);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  padding: 6px 7px;
}

.memory-control-preview {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(215, 168, 87, 0.22);
  border-radius: 14px;
  background: rgba(215, 168, 87, 0.07);
  padding: 11px;
}

.memory-control-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.memory-control-preview div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.memory-control-preview div span {
  display: grid;
  min-height: 28px;
  place-items: center;
  border-radius: 8px;
  background: rgba(9, 10, 15, 0.44);
  color: #f5d08a;
  font-size: 11px;
  font-weight: 700;
}

.novel-dialogue-preview {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(233, 75, 115, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 247, 250, 0.98), rgba(255, 242, 247, 0.96));
  color: #30282e;
  padding: 10px;
}

.novel-chat-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: #3b3037;
  font-size: 12px;
}

.novel-chat-head strong,
.novel-chat-head span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.avatar-mini {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #e94b73, #7d2d50);
  color: #fff;
  font-weight: 800;
}

.novel-user-bubble {
  justify-self: end;
  max-width: 78%;
  border: 1px solid rgba(150, 92, 112, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: #4a3d45;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  padding: 8px 10px;
}

.novel-dialogue-card {
  border: 1px solid rgba(150, 92, 112, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  padding: 12px;
}

.novel-dialogue-card p {
  margin: 0 0 10px;
  color: #312a30;
  font-size: 13px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.novel-dialogue-card p:last-of-type {
  margin-bottom: 0;
}

.novel-state-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.novel-state-strip span {
  min-width: 0;
  border-radius: 8px;
  background: rgba(233, 75, 115, 0.08);
  color: #76505d;
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  padding: 6px 7px;
}

.story-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.story-action-row button {
  min-width: 0;
  min-height: 34px;
  border: 1px solid rgba(233, 75, 115, 0.18);
  border-radius: 10px;
  background: rgba(233, 75, 115, 0.08);
  color: #6f4050;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  padding: 7px 6px;
}

.inline-flow-status {
  margin: 10px 2px 0;
  border: 1px solid rgba(215, 168, 87, 0.22);
  border-radius: 12px;
  background: rgba(215, 168, 87, 0.08);
  color: #f2cf8e;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  padding: 8px 10px;
}

.high-freedom-note {
  margin: 10px 2px 0;
  border: 1px solid rgba(233, 75, 115, 0.2);
  border-radius: 12px;
  background: rgba(233, 75, 115, 0.075);
  color: #ffb2c1;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  padding: 8px 10px;
}

.relationship-strip {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  border: 1px solid rgba(215, 168, 87, 0.22);
  border-radius: 13px;
  background: rgba(215, 168, 87, 0.08);
  padding: 9px;
}

.relationship-strip span,
.relationship-strip strong,
.relationship-strip em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.relationship-strip span {
  color: #8a5d68;
  font-size: 11px;
  font-weight: 850;
}

.relationship-strip strong {
  color: #4e2f3a;
  font-size: 13px;
}

.relationship-strip em {
  color: #76505d;
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.preference-preview-section {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.preference-preview-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.settings-phone-surface {
  border: 1px solid rgba(233, 75, 115, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 252, 0.98), rgba(255, 241, 247, 0.97)),
    #fff8fb;
  color: #2f2930;
  padding: 18px;
  box-shadow: 0 22px 52px rgba(233, 75, 115, 0.14);
}

.settings-preview-head {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 20px;
  color: #2d2730;
  font-size: 24px;
  font-weight: 800;
}

.settings-preview-head span {
  font-size: 30px;
  line-height: 1;
}

.settings-card {
  border: 1px solid rgba(137, 87, 105, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  padding: 18px;
}

.settings-card h3,
.settings-card p {
  margin: 0;
}

.settings-card h3 {
  color: #2b252c;
  font-size: 22px;
  line-height: 1.25;
}

.settings-card p {
  margin-top: 8px;
  color: #756b72;
  font-size: 14px;
  line-height: 1.6;
}

.settings-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  border: 1px solid rgba(137, 87, 105, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 13px 14px;
}

.setting-row span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.setting-row strong {
  color: #272129;
  font-size: 17px;
  line-height: 1.25;
}

.setting-row small {
  color: #70676f;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.toggle {
  position: relative;
  width: 56px;
  height: 32px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: #efd3df;
  cursor: default;
}

.toggle::after {
  position: absolute;
  top: 5px;
  left: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #be5a86;
  content: "";
  transition: transform 0.16s ease;
}

.toggle.is-on::after {
  transform: translateX(22px);
}

.setting-link em {
  color: #6d6168;
  font-style: normal;
  font-size: 15px;
  white-space: nowrap;
}

.preference-boundary {
  align-self: stretch;
}

.entitlement-preview {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 107, 107, 0.24);
  border-radius: 14px;
  background: rgba(255, 107, 107, 0.07);
  padding: 11px;
}

.entitlement-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.bubble {
  max-width: 82%;
  border-radius: 18px;
  padding: 13px 14px;
  background: var(--surface-2);
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.bubble.me {
  justify-self: end;
  background: linear-gradient(135deg, #e94b73, #b83d62);
  color: #fff;
}

.composer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  padding: 6px 8px 6px 14px;
  color: var(--muted);
}

.composer input {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.composer input::placeholder {
  color: var(--muted);
}

.send {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  margin-left: auto;
  cursor: pointer;
}

.member-stack {
  display: grid;
  gap: 12px;
}

.member-card {
  min-height: 94px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(215, 168, 87, 0.28), transparent 62%),
    #151219;
  padding: 14px;
}

.member-card.pink {
  background:
    linear-gradient(120deg, rgba(233, 75, 115, 0.3), transparent 62%),
    #171018;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.benefits span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #ffb2c1;
}

.admin-preview {
  min-height: 430px;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0e1117;
  padding: 14px;
}

.direction-card.wide .admin-preview {
  min-height: 260px;
}

.admin-side {
  display: grid;
  align-content: start;
  gap: 10px;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.admin-side span {
  min-height: 28px;
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--muted);
  font-size: 12px;
}

.admin-side span.active {
  background: rgba(233, 75, 115, 0.2);
  color: #ff9aaa;
}

.admin-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.filter-row,
.table-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.6fr;
  gap: 10px;
}

.filter-row span,
.table-row span {
  min-height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.table-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.role-workshop-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  min-width: 0;
}

.role-workshop-row strong,
.role-workshop-row span,
.role-workshop-row em {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.role-workshop-row span {
  color: var(--muted);
}

.role-workshop-row em {
  justify-self: start;
  border-radius: 999px;
  background: rgba(215, 168, 87, 0.14);
  color: var(--gold);
  padding: 5px 8px;
  font-style: normal;
}

.drawer {
  align-self: end;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #151922;
  padding: 14px;
}

.drawer .button {
  width: 100%;
  margin-top: 12px;
}

.launch-flow,
.delivery-gate {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.flow-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.flow-step {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(140deg, rgba(215, 168, 87, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(20, 22, 31, 0.96), rgba(10, 11, 17, 0.96));
  padding: 16px;
}

.flow-step.is-current {
  border-color: rgba(123, 216, 143, 0.32);
  background:
    linear-gradient(140deg, rgba(123, 216, 143, 0.13), transparent 45%),
    linear-gradient(180deg, rgba(20, 22, 31, 0.96), rgba(10, 11, 17, 0.96));
}

.flow-step.blocked {
  border-color: rgba(255, 107, 107, 0.24);
  background:
    linear-gradient(140deg, rgba(255, 107, 107, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(20, 22, 31, 0.96), rgba(10, 11, 17, 0.96));
}

.flow-step > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffb2c1;
  font-size: 12px;
  font-weight: 800;
}

.flow-step h3,
.flow-step p {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.flow-step h3 {
  font-size: 16px;
  line-height: 1.25;
}

.flow-step p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.flow-step a {
  align-self: end;
  min-width: 0;
  color: #ffb2c1;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.review-workbench {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.2fr) minmax(260px, 0.9fr);
  gap: 14px;
}

.review-queue,
.review-detail,
.publish-gate {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 22, 31, 0.96), rgba(10, 11, 17, 0.96));
  padding: 16px;
}

.review-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
  margin-bottom: 12px;
}

.review-toolbar strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.review-toolbar span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 12px;
  padding: 5px 8px;
}

.review-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  padding: 10px 0;
}

.review-row.is-selected {
  border-color: rgba(233, 75, 115, 0.3);
  border-radius: 10px;
  background: rgba(233, 75, 115, 0.08);
  padding: 10px;
}

.review-row strong,
.review-row p,
.review-row em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.review-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.review-row em {
  border-radius: 999px;
  background: rgba(215, 168, 87, 0.14);
  color: var(--gold);
  font-size: 12px;
  font-style: normal;
  padding: 5px 8px;
}

.review-row em.warning {
  background: rgba(255, 107, 107, 0.14);
  color: var(--danger);
}

.review-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.review-meta div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.review-meta dt,
.review-meta dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.review-meta dt {
  color: #ff9aaa;
  font-size: 12px;
  font-weight: 700;
}

.review-meta dd {
  color: var(--muted);
  font-size: 12px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.action-pill {
  display: grid;
  min-height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 6px;
}

.action-pill.approve {
  background: rgba(123, 216, 143, 0.14);
  color: var(--ok);
}

.action-pill.reject {
  background: rgba(255, 107, 107, 0.14);
  color: var(--danger);
}

.gate-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
}

.gate-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.gate-list span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(233, 75, 115, 0.18);
  color: #ff9aaa;
  font-size: 12px;
  font-weight: 800;
}

.gate-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .topbar,
  .hero {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .direction-board {
    order: 1;
    grid-template-columns: 1fr;
  }

  .direction-card.wide {
    grid-column: auto;
  }

  .hero-copy {
    order: 2;
    min-height: auto;
  }

  .hero-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-copy h1 {
    font-size: 28px;
    line-height: 1.16;
  }

  .hero-copy > div:first-child > p:not(.mobile-first-note) {
    display: none;
  }

  .hero-copy .notice {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.55;
  }

  .mobile-first-note {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
  }

  .direction-card {
    padding: 12px;
  }

  .phone-frame {
    width: min(100%, 286px);
  }

  .warm-role-card,
  .repository-note {
    font-size: 10px;
  }

  .admin-preview {
    grid-template-columns: 1fr;
  }

  .admin-side {
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
  }

  .role-workshop-row {
    grid-template-columns: 1fr;
  }

  .flow-board,
  .preference-preview-board,
  .payment-result-board,
  .review-layout,
  .review-meta div,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .review-row {
    grid-template-columns: 1fr;
  }

  .preview img {
    min-height: 260px;
  }

  .settings-phone-surface {
    padding: 14px;
  }

  .settings-card {
    padding: 14px;
  }

  .setting-row {
    gap: 10px;
    padding: 12px;
  }

  .novel-state-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .preview-home {
    width: min(100% - 24px, 520px);
    padding-bottom: 34px;
  }

  .preview-nav {
    align-items: center;
    min-height: 0;
    padding-top: 8px;
  }

  .preview-nav nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .preview-nav nav::-webkit-scrollbar {
    display: none;
  }

  .preview-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
    padding: 16px 0 12px;
  }

  .preview-copy {
    gap: 13px;
  }

  .preview-copy h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.06;
  }

  .preview-copy > p:not(.preview-kicker) {
    font-size: 14px;
    line-height: 1.62;
  }

  .preview-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .preview-actions::-webkit-scrollbar {
    display: none;
  }

  .preview-actions .button {
    flex: 0 0 auto;
    min-height: 42px;
  }

  .preview-proof {
    display: none;
  }

  .preview-stage {
    min-height: auto;
  }

  .preview-orbit {
    inset: 0 -10px;
  }

  .preview-phone {
    width: min(100%, 390px);
    min-height: 560px;
  }

  .preview-sections,
  .route-chat {
    grid-template-columns: 1fr;
  }

  .route-chat {
    grid-row: auto;
  }

  .route-image {
    min-height: 260px;
  }

  .route-boundary {
    align-items: flex-start;
    flex-direction: column;
  }

  .boundary-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .preview-home {
    width: calc(100% - 20px);
    padding-top: 8px;
  }

  .preview-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .preview-brand {
    gap: 9px;
  }

  .preview-brand strong {
    font-size: 15px;
  }

  .preview-brand em {
    font-size: 11px;
  }

  .preview-nav nav a {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .preview-copy {
    gap: 12px;
  }

  .preview-copy h1 {
    font-size: clamp(28px, 9vw, 36px);
  }

  .preview-kicker {
    font-size: 12px;
  }

  .preview-actions .button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 13px;
  }

  .preview-phone {
    border-radius: 28px;
    padding: 13px;
    min-height: 520px;
  }

  .phone-visual {
    min-height: 138px;
    border-radius: 20px;
  }

  .phone-role-grid {
    gap: 10px;
  }

  .role-cover {
    min-height: 92px;
  }

  .phone-bottom-nav {
    gap: 4px;
    padding: 7px;
  }

  .phone-bottom-nav a {
    padding: 8px 2px;
    font-size: 11px;
  }

  .route-card {
    padding: 18px;
    border-radius: 18px;
  }
}

.delivery-app-home {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 16px 0 56px;
}

.delivery-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}

.delivery-brand,
.delivery-topbar nav,
.delivery-actions,
.delivery-paths,
.delivery-chip-row,
.delivery-bottom-nav,
.delivery-link-row {
  display: flex;
  align-items: center;
}

.delivery-brand {
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.delivery-brand-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(9, 10, 15, 0.03), rgba(9, 10, 15, 0.28)),
    var(--brand-icon-image) center / cover no-repeat,
    linear-gradient(145deg, var(--pink), #5b142b 72%);
  box-shadow: 0 0 28px rgba(233, 75, 115, 0.36);
}

.delivery-brand strong,
.delivery-brand em {
  display: block;
  overflow: hidden;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-brand strong {
  font-size: 16px;
}

.delivery-brand em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.delivery-topbar nav {
  gap: 8px;
  justify-content: flex-end;
  min-width: 0;
}

.delivery-topbar nav a,
.delivery-link-row a {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.delivery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 34px;
  align-items: center;
  min-height: calc(100dvh - 88px);
  padding: 24px 0 26px;
}

.delivery-copy {
  display: grid;
  gap: 18px;
}

.delivery-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 750;
}

.delivery-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6.2vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.delivery-copy > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.delivery-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.delivery-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.delivery-button.primary {
  border-color: rgba(233, 75, 115, 0.78);
  background: var(--pink);
  color: #fff;
  box-shadow: 0 18px 42px rgba(233, 75, 115, 0.3);
}

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

.delivery-paths article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 18%, rgba(233, 75, 115, 0.14), transparent 40px),
    rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.delivery-paths span,
.delivery-paths strong,
.delivery-paths em {
  display: block;
}

.delivery-paths span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.delivery-paths strong {
  margin-top: 6px;
  font-size: 18px;
  line-height: 1.25;
}

.delivery-paths em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.delivery-phone {
  position: relative;
  width: min(100%, 408px);
  min-height: 782px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 6%, rgba(233, 75, 115, 0.28), transparent 170px),
    radial-gradient(circle at 18% 40%, rgba(233, 75, 115, 0.16), transparent 150px),
    #090a0f;
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.035),
    0 34px 96px rgba(0, 0, 0, 0.48);
  padding: 18px;
}

.delivery-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(9, 10, 15, 0.9), rgba(9, 10, 15, 0.66)),
    var(--role-cover-a) center top / 178% auto no-repeat,
    radial-gradient(circle at 84% 7%, rgba(255, 255, 255, 0.72) 0 5px, transparent 6px),
    radial-gradient(circle at 78% 9%, rgba(233, 75, 115, 0.66) 0 34px, transparent 35px),
    linear-gradient(145deg, transparent 0 58%, rgba(233, 75, 115, 0.11) 82%, transparent 100%);
  opacity: 0.84;
}

.delivery-phone > * {
  position: relative;
}

.delivery-phone-status,
.delivery-screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.delivery-phone-status {
  padding: 2px 10px 18px;
  color: rgba(247, 243, 245, 0.94);
  font-size: 12px;
  font-weight: 800;
}

.delivery-screen-head p,
.delivery-screen-head h2 {
  margin: 0;
}

.delivery-screen-head p {
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
}

.delivery-screen-head h2 {
  max-width: 280px;
  font-size: 25px;
  line-height: 1.22;
}

.delivery-orb {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 36%, #ffe3ed 0 18%, transparent 20%),
    radial-gradient(circle at 43% 54%, var(--pink) 0 42%, transparent 44%),
    #381523;
  box-shadow: 0 0 24px rgba(233, 75, 115, 0.36);
}

.delivery-story-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 10px;
  margin-top: 18px;
}

.delivery-story-row article {
  min-height: 96px;
  border: 1px solid rgba(233, 75, 115, 0.5);
  border-radius: 16px;
  background:
    radial-gradient(circle at 84% 18%, rgba(233, 75, 115, 0.35), transparent 42px),
    rgba(26, 27, 36, 0.86);
  padding: 12px;
}

.delivery-story-row article.gold {
  border-color: rgba(215, 168, 87, 0.52);
  background:
    radial-gradient(circle at 82% 20%, rgba(215, 168, 87, 0.34), transparent 42px),
    rgba(26, 27, 36, 0.86);
}

.delivery-story-row span,
.delivery-story-row strong,
.delivery-story-row em {
  display: block;
}

.delivery-story-row span,
.delivery-story-row em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  line-height: 1.45;
}

.delivery-story-row strong {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.35;
}

.delivery-search {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.delivery-search span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.delivery-search input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.delivery-chip-row {
  gap: 8px;
  margin: 14px 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.delivery-chip-row::-webkit-scrollbar {
  display: none;
}

.delivery-chip-row span,
.delivery-chip-row button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
}

.delivery-chip-row span.active,
.delivery-chip-row button.active {
  background: var(--pink);
  color: #fff;
  font-weight: 800;
}

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

.delivery-role-grid article {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%),
    rgba(18, 19, 26, 0.94);
  padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.delivery-role-media {
  height: 126px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(13, 14, 20, 0.08), rgba(13, 14, 20, 0.58)),
    var(--role-cover-a) center 18% / cover no-repeat,
    #161720;
  box-shadow: inset 0 -38px 48px rgba(0, 0, 0, 0.32);
}

.delivery-role-media.media-b {
  background:
    linear-gradient(180deg, rgba(13, 14, 20, 0.12), rgba(13, 14, 20, 0.64)),
    var(--role-cover-b) center 14% / cover no-repeat,
    #11131a;
}

.delivery-role-media.media-c {
  background:
    linear-gradient(180deg, rgba(13, 14, 20, 0.1), rgba(13, 14, 20, 0.62)),
    var(--role-cover-c) center 16% / cover no-repeat,
    #12151b;
}

.delivery-role-media.media-d {
  background:
    linear-gradient(180deg, rgba(13, 14, 20, 0.1), rgba(13, 14, 20, 0.62)),
    var(--role-cover-d) center 15% / cover no-repeat,
    #171018;
}

.embedded-role-grid {
  margin-top: 12px;
}

.delivery-role-grid article > span {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  overflow: hidden;
  border: 1px solid rgba(233, 75, 115, 0.62);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(8, 9, 14, 0.66);
  color: #ffd9e2;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delivery-role-grid strong,
.delivery-role-grid p,
.delivery-role-grid em,
.delivery-role-grid a {
  display: block;
}

.delivery-role-grid strong {
  margin: 10px 2px 4px;
  font-size: 15px;
}

.delivery-role-grid p {
  min-height: 38px;
  margin: 0 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.delivery-role-grid em {
  margin: 9px 2px 0;
  color: var(--text-muted, #7d7480);
  font-size: 11px;
  font-style: normal;
}

.delivery-role-grid a {
  margin-top: 10px;
  border: 1px solid rgba(233, 75, 115, 0.72);
  border-radius: 12px;
  padding: 9px 8px;
  background: rgba(233, 75, 115, 0.26);
  color: #ffdce6;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.delivery-bottom-nav {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(13, 14, 20, 0.94);
  padding: 8px;
  box-shadow: 0 -18px 36px rgba(0, 0, 0, 0.32);
}

.delivery-bottom-nav a {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 14px;
  padding: 9px 3px;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}

.delivery-bottom-nav a.create {
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(233, 75, 115, 0.34);
}

.delivery-feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 16px;
  margin-top: 18px;
}

.delivery-feature-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 14%, rgba(233, 75, 115, 0.14), transparent 120px),
    linear-gradient(180deg, rgba(26, 27, 36, 0.94), rgba(12, 13, 19, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  padding: 22px;
}

.delivery-feature-card h2 {
  margin: 6px 0 10px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.18;
}

.delivery-feature-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.delivery-feature-card.novel {
  display: grid;
  grid-row: span 2;
  grid-template-columns: minmax(160px, 0.64fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.delivery-feature-image {
  display: block;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent 42%, rgba(9, 10, 15, 0.82)),
    var(--role-cover-c) center / cover no-repeat;
}

.delivery-feature-card.boundary {
  grid-column: 1 / -1;
}

.delivery-link-row {
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .delivery-app-home {
    width: min(100% - 20px, 520px);
    padding-top: 10px;
  }

  .delivery-topbar {
    align-items: center;
  }

  .delivery-topbar nav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .delivery-topbar nav::-webkit-scrollbar {
    display: none;
  }

  .delivery-hero,
  .delivery-feature-band,
  .delivery-feature-card.novel {
    grid-template-columns: 1fr;
  }

  .delivery-hero {
    gap: 18px;
    min-height: auto;
    padding-top: 12px;
  }

  .delivery-copy {
    gap: 13px;
  }

  .delivery-copy h1 {
    font-size: clamp(31px, 9.5vw, 42px);
  }

  .delivery-copy > p {
    font-size: 14px;
    line-height: 1.62;
  }

  .delivery-actions {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .delivery-actions::-webkit-scrollbar {
    display: none;
  }

  .delivery-actions .delivery-button {
    flex: 0 0 auto;
  }

  .delivery-paths {
    display: none;
  }

  .delivery-phone {
    order: -1;
    width: min(100%, 390px);
    min-height: 748px;
    margin: 0 auto;
  }

  .delivery-copy {
    order: 1;
  }
}

@media (max-width: 430px) {
  .delivery-brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .delivery-brand {
    gap: 9px;
  }

  .delivery-brand strong {
    font-size: 15px;
  }

  .delivery-brand em {
    font-size: 11px;
  }

  .delivery-topbar nav a {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 12px;
  }

  .delivery-screen-head h2 {
    font-size: 23px;
  }

  .delivery-phone {
    min-height: 724px;
    border-radius: 30px;
    padding: 14px;
  }

  .delivery-role-media {
    height: 112px;
  }

  .delivery-bottom-nav {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 7px;
  }
}

.mobile-product-page {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 16px 0 64px;
}

.mobile-product-topbar {
  margin-bottom: 18px;
}

.mobile-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 410px);
  gap: 34px;
  align-items: center;
  min-height: calc(100dvh - 94px);
}

.mobile-hero-copy {
  display: grid;
  gap: 18px;
}

.mobile-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5.5vw, 70px);
  line-height: 1.05;
  letter-spacing: 0;
}

.mobile-hero-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.app-showcase,
.screen-phone {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 6%, rgba(233, 75, 115, 0.3), transparent 170px),
    radial-gradient(circle at 14% 40%, rgba(215, 168, 87, 0.13), transparent 180px),
    #090a0f;
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.035),
    0 34px 96px rgba(0, 0, 0, 0.42);
}

.app-showcase {
  width: min(100%, 410px);
  min-height: 812px;
  padding: 18px;
}

.app-showcase::before,
.screen-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(9, 10, 15, 0.86), rgba(9, 10, 15, 0.64)),
    var(--role-cover-a) center top / 172% auto no-repeat;
  opacity: 0.72;
}

.app-showcase > *,
.screen-phone > * {
  position: relative;
}

.app-statusbar,
.app-profile-row,
.phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-statusbar {
  padding: 2px 10px 18px;
  color: rgba(247, 243, 245, 0.94);
  font-size: 12px;
  font-weight: 800;
}

.app-profile-row span,
.app-story-card span,
.screen-pill {
  display: inline-flex;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 850;
}

.app-profile-row h2,
.app-story-card strong,
.screen-section h2,
.chat-cover-strip h2,
.settings-card h2 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

.app-profile-row h2 {
  max-width: 280px;
  margin-top: 6px;
  font-size: 26px;
}

.app-avatar-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(9, 10, 15, 0.03), rgba(9, 10, 15, 0.28)),
    var(--brand-icon-image) center / cover no-repeat,
    var(--pink);
  box-shadow: 0 0 28px rgba(233, 75, 115, 0.34);
}

.app-story-card {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  border: 1px solid rgba(233, 75, 115, 0.52);
  border-radius: 20px;
  background:
    linear-gradient(180deg, transparent 18%, rgba(8, 9, 14, 0.8)),
    var(--role-cover-c) center 23% / cover no-repeat;
  min-height: 178px;
  align-content: end;
  padding: 16px;
}

.app-story-card strong {
  font-size: 20px;
}

.app-story-card p {
  margin: 0;
  color: rgba(247, 243, 245, 0.76);
  font-size: 13px;
  line-height: 1.6;
}

.app-story-card a {
  width: max-content;
  border-radius: 12px;
  background: var(--pink);
  color: #fff;
  padding: 9px 13px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.quick-scale-card {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  border: 1px solid rgba(215, 168, 87, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(215, 168, 87, 0.2), transparent 86px),
    rgba(18, 19, 26, 0.86);
  padding: 12px;
}

.quick-scale-card span,
.quick-scale-card strong,
.quick-scale-card p,
.quick-scale-card a {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.quick-scale-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.quick-scale-card strong {
  font-size: 15px;
  line-height: 1.3;
}

.quick-scale-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.quick-scale-card a {
  width: max-content;
  border-radius: 11px;
  background: rgba(233, 75, 115, 0.24);
  color: #ffdce6;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  padding: 8px 10px;
}

.app-search {
  margin-top: 16px;
}

.mobile-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.customer-test-console {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.customer-test-console article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 12%, rgba(233, 75, 115, 0.16), transparent 108px),
    linear-gradient(180deg, rgba(26, 27, 36, 0.94), rgba(12, 13, 19, 0.94));
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
  padding: 18px;
}

.customer-test-console span,
.customer-test-console h2,
.customer-test-console p,
.customer-test-console a,
.customer-test-console em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.customer-test-console span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.customer-test-console h2 {
  margin: 8px 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.customer-test-console p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.customer-test-console a {
  width: max-content;
  max-width: 100%;
  margin-top: 13px;
  border-radius: 12px;
  background: rgba(233, 75, 115, 0.22);
  color: #ffdce6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  padding: 9px 11px;
}

.customer-test-console em {
  margin-top: 12px;
  border: 1px solid rgba(215, 168, 87, 0.24);
  border-radius: 12px;
  background: rgba(215, 168, 87, 0.08);
  color: #f2cf8e;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
  padding: 8px 10px;
}

.mobile-screen-card {
  min-width: 0;
}

.screen-phone {
  min-height: 620px;
  padding: 16px;
}

.phone-head {
  min-height: 38px;
  color: rgba(247, 243, 245, 0.92);
  font-size: 13px;
}

.phone-head strong {
  font-size: 15px;
}

.role-detail-cover,
.create-preview-hero {
  min-height: 218px;
  margin: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, transparent 28%, rgba(8, 9, 14, 0.82)),
    var(--role-cover-a) center 12% / cover no-repeat;
}

.create-preview-hero {
  background:
    linear-gradient(180deg, transparent 24%, rgba(8, 9, 14, 0.82)),
    var(--role-cover-d) center 18% / cover no-repeat;
}

.screen-section,
.chat-cover-strip,
.member-balance {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(18, 19, 26, 0.9);
  padding: 16px;
}

.screen-section h2,
.chat-cover-strip h2,
.settings-card h2 {
  margin-top: 8px;
  font-size: 24px;
}

.screen-section p,
.chat-cover-strip p,
.settings-card p,
.screen-note {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.role-facts,
.review-steps,
.reward-timeline,
.support-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.role-facts span,
.review-steps span,
.reward-timeline span,
.support-list a {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 243, 245, 0.88);
  padding: 10px;
  font-size: 12px;
  line-height: 1.55;
  text-decoration: none;
}

.screen-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.screen-actions a,
.screen-link-button,
.create-toggle-row button,
.price-grid button {
  border: 1px solid rgba(233, 75, 115, 0.65);
  border-radius: 14px;
  background: rgba(233, 75, 115, 0.23);
  color: #ffe1e9;
  padding: 11px 8px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.screen-link-button {
  display: block;
  margin-top: 10px;
}

.safety-simulation-panel {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  border: 1px solid rgba(255, 107, 107, 0.22);
  border-radius: 16px;
  background: rgba(255, 107, 107, 0.07);
  padding: 12px;
}

.safety-simulation-panel > span {
  color: #ffb2c1;
  font-size: 12px;
  font-weight: 850;
}

.safety-simulation-panel div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.safety-simulation-panel button {
  min-height: 34px;
  border: 1px solid rgba(255, 107, 107, 0.32);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffe1e9;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  padding: 7px;
}

.safety-simulation-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.chat-cover-strip {
  min-height: 170px;
  display: grid;
  align-content: end;
  margin: 12px 0;
  background:
    linear-gradient(180deg, rgba(9, 10, 15, 0.18), rgba(9, 10, 15, 0.84)),
    var(--role-cover-c) center / cover no-repeat;
}

.tone-test-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  border: 1px solid rgba(233, 75, 115, 0.28);
  border-radius: 18px;
  background: rgba(233, 75, 115, 0.09);
  padding: 12px;
  margin-bottom: 12px;
}

.tone-test-panel div {
  display: grid;
  gap: 4px;
}

.tone-test-panel span {
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 850;
}

.tone-test-panel strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.tone-test-panel button {
  min-height: 34px;
  border: 1px solid rgba(233, 75, 115, 0.46);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffe1e9;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.novel-user-bubble {
  width: fit-content;
  max-width: 88%;
  margin-left: auto !important;
  border-radius: 18px 18px 4px 18px;
  background: var(--pink);
  color: #fff;
  padding: 10px 12px;
}

.create-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(233, 75, 115, 0.5);
  border-radius: 16px;
  background: rgba(233, 75, 115, 0.14);
  padding: 12px;
}

.create-toggle-row span {
  color: var(--text);
  font-weight: 850;
}

.settings-phone-surface.screen-phone {
  background:
    radial-gradient(circle at 88% 6%, rgba(233, 75, 115, 0.23), transparent 170px),
    #0b0c12;
}

.member-balance {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  background:
    radial-gradient(circle at 84% 12%, rgba(215, 168, 87, 0.25), transparent 110px),
    rgba(18, 19, 26, 0.92);
}

.member-balance span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

.member-balance strong {
  font-size: 48px;
  line-height: 1;
}

.member-balance p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.price-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.price-grid button {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
  cursor: pointer;
}

.support-list a strong,
.support-list a span {
  display: block;
}

.support-list a strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.support-list a span {
  color: var(--muted);
}

.promotion-copy-box {
  margin-top: 14px;
  border: 1px solid rgba(215, 168, 87, 0.45);
  border-radius: 18px;
  background: rgba(215, 168, 87, 0.12);
  color: rgba(247, 243, 245, 0.92);
  padding: 14px;
  line-height: 1.72;
}

.support-mini-form,
.promotion-link-form {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.support-mini-form label,
.promotion-link-form label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.support-mini-form textarea,
.promotion-link-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  outline: 0;
  padding: 10px 11px;
}

.support-mini-form textarea {
  resize: vertical;
}

.support-mini-form button,
.promotion-link-form button {
  min-height: 38px;
  border: 1px solid rgba(233, 75, 115, 0.58);
  border-radius: 12px;
  background: rgba(233, 75, 115, 0.2);
  color: #ffe1e9;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

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

.mobile-boundary-note {
  margin-top: 22px;
}

.link-flow-check {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border: 1px solid rgba(215, 168, 87, 0.24);
  border-radius: 16px;
  background: rgba(215, 168, 87, 0.075);
  padding: 14px;
}

.link-flow-check > span {
  color: #f2cf8e;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.link-flow-check div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-flow-check em {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  padding: 7px 9px;
}

@media (max-width: 980px) {
  .mobile-product-page {
    width: min(100% - 20px, 520px);
    padding-top: 10px;
  }

  .mobile-product-hero,
  .mobile-screen-grid,
  .customer-test-console {
    grid-template-columns: 1fr;
  }

  .mobile-product-hero {
    min-height: auto;
    gap: 18px;
  }

  .app-showcase {
    order: -1;
    width: min(100%, 390px);
    min-height: 748px;
    margin: 0 auto;
  }

  .mobile-hero-copy {
    gap: 13px;
  }

  .mobile-hero-copy h1 {
    font-size: clamp(31px, 9.5vw, 42px);
  }

  .mobile-hero-copy p {
    font-size: 14px;
    line-height: 1.62;
  }

  .screen-phone {
    width: min(100%, 390px);
    margin: 0 auto;
  }
}

@media (max-width: 430px) {
  .app-showcase,
  .screen-phone {
    border-radius: 30px;
    padding: 14px;
  }

  .app-showcase {
    min-height: 724px;
  }

  .app-profile-row h2 {
    font-size: 23px;
  }

  .app-story-card {
    min-height: 150px;
  }

  .screen-phone {
    min-height: 590px;
  }
}
