:root {
  --bg: #fdfcff;
  --panel: #ffffff;
  --ink: #080a12;
  --muted: #707789;
  --line: #e9eaf1;
  --soft: #f5f3ff;
  --violet: #735cf4;
  --violet-2: #a89bff;
  --gold: #c7821b;
  --shadow: 0 28px 80px rgba(34, 39, 64, .09);
  --radius: 8px;
  --page-bg:
    radial-gradient(circle at 8% 8%, rgba(137,101,255,.13), transparent 25%),
    radial-gradient(circle at 28% 36%, rgba(190,207,255,.20), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfbfe 48%, #fff 100%);
  --app-page-bg:
    radial-gradient(circle at 72% 10%, rgba(137,101,255,.13), transparent 25%),
    radial-gradient(circle at 28% 36%, rgba(190,207,255,.20), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfbfe 48%, #fff 100%);
  --surface-glow-bg:
    radial-gradient(circle at 8% 8%, rgba(137,101,255,.10), transparent 25%),
    radial-gradient(circle at 28% 36%, rgba(190,207,255,.14), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(251,251,254,.94) 48%, rgba(255,255,255,.98) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  overflow-x: hidden;
}
body:has(.create-app) { background: var(--app-page-bg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
.credit-mark { color: #f5a400; }
.serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0; }

.wrap { width: min(1540px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(137,101,255,.10), transparent 36rem),
    rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
}
.topbar:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 184, 207, .45), transparent);
  pointer-events: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: .28em;
  font-size: 20px;
}
.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 22px rgba(115,92,244,.18));
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #111525;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  background: radial-gradient(circle at 34% 24%, #fff, #ece9ff 34%, #a797ff 66%, #8ee5ff);
  box-shadow: 0 14px 35px rgba(123, 97, 255, .23);
}
.nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.nav a { color: #151925; }
.nav a.active, .nav a:hover { color: var(--violet); }
.actions { display: flex; align-items: center; gap: 12px; }
.icon-btn, .btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: none;
}
.icon-btn { width: 42px; padding: 0; border-radius: 50%; }
.lang-btn { font-size: 11px; font-weight: 650; letter-spacing: 0; }
.mobile-menu-btn,
.mobile-account-btn { display: none; overflow: hidden; }
.mobile-account-btn img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.mobile-account-btn .ci { width: 18px; height: 18px; display: inline-grid; place-items: center; }
.mobile-account-btn .ci:before { font-size: 18px; }
.mobile-nav-menu { display: none; }
@media (min-width: 651px) {
  .mobile-menu-btn,
  .mobile-account-btn,
  .mobile-nav-menu { display: none !important; }
}
.btn.primary {
  background: linear-gradient(180deg, #101523, #03060d);
  color: #fff;
  border-color: #03060d;
  box-shadow: 0 16px 34px rgba(5, 8, 18, .2);
}
.btn.violet {
  background: linear-gradient(135deg, #6d50ff, #8d6dff);
  color: #fff;
  border-color: transparent;
}
.btn.ghost { background: transparent; }
.btn.full { width: 100%; }
.eyebrow {
  color: var(--violet);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.7vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
  margin: 14px 0 16px;
}
.title em, .section-title em { color: #9b8ee9; font-style: italic; }
.hero-title-v0 {
  font-family: "Geist", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(44px, 4.7vw, 60px);
  line-height: 1.08;
  letter-spacing: -.015em;
  font-weight: 800;
}
.hero-title-v0 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}
.lead { color: #656c7d; font-size: 17px; line-height: 1.7; }
.section { padding: 44px 0; }
.section-head { text-align: center; margin-bottom: 22px; }
.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.7vw, 42px);
  line-height: 1.1;
  margin: 10px 0;
}
.kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.kicker-row .section-head { text-align: left; margin-bottom: 0; }
.hero {
  height: 610px !important;
  min-height: 0 !important;
  max-height: 610px !important;
  display: grid;
  grid-template-columns: minmax(400px, 580px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 0;
}
.hero-proof {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: end;
  position: absolute;
  left: 28px;
  bottom: 24px;
  width: 360px;
  z-index: 3;
}
.proof-card {
  border: 1px solid rgba(232,234,242,.94);
  background: rgba(255,255,255,.82);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 22px 60px rgba(35, 39, 61, .12);
  backdrop-filter: blur(16px);
}
.proof-card img { width: 100%; aspect-ratio: 1/1.12; object-fit: cover; border-radius: 10px; }
.proof-card span { display: block; padding: 8px 2px 0; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-art {
  position: relative;
  min-width: 0;
  height: 560px !important;
  min-height: 0 !important;
  max-height: 560px !important;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 58% 52%, rgba(246,248,255,.95) 0 17%, rgba(236,241,255,.68) 34%, rgba(255,255,255,.18) 50%, transparent 67%),
    radial-gradient(circle at 76% 44%, rgba(113,137,255,.18), transparent 15rem),
    radial-gradient(circle at 37% 72%, rgba(159,143,255,.14), transparent 12rem);
  box-shadow: none;
}
.hero-art:before {
  content: "";
  position: absolute;
  left: 112px;
  top: 22px;
  width: min(660px, 78%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.58), rgba(255,255,255,.2) 42%, transparent 66%),
    conic-gradient(from 32deg, transparent 0 18%, rgba(152,145,255,.26) 23%, transparent 32%, transparent 51%, rgba(115,185,255,.3) 58%, transparent 66%, transparent 100%);
  filter: blur(.1px);
  opacity: .95;
  z-index: 0;
}
.hero-art:after {
  content: "";
  position: absolute;
  left: 188px;
  top: 58px;
  width: min(545px, 64%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(247,249,255,.92), rgba(224,234,255,.58) 52%, rgba(194,183,255,.34));
  box-shadow: inset 22px 18px 55px rgba(255,255,255,.92), inset -24px -26px 70px rgba(140,142,214,.18), 0 34px 100px rgba(48, 54, 92, .12);
  z-index: 0;
}
.hero-orbit {
  position: absolute;
  left: 74px;
  top: -4px;
  width: min(760px, 88%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(157, 144, 238, .18);
  box-shadow: inset 0 0 70px rgba(255,255,255,.72);
  z-index: 1;
}
.hero-orbit:before, .hero-orbit:after {
  content: "";
  position: absolute;
  inset: 64px;
  border-radius: 50%;
  border: 1px dashed rgba(157, 144, 238, .2);
}
.hero-orbit:after { inset: 126px; border-style: solid; opacity: .42; }
.hero-face {
  position: absolute;
  right: 112px;
  bottom: -34px;
  width: min(560px, 62%);
  height: 650px;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 36px 70px rgba(40, 44, 68, .18));
  z-index: 2;
}
.hero-glow-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
}
.hero-glow-dot:before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  border: 1px solid rgba(210,213,236,.9);
  background: rgba(255,255,255,.6);
  box-shadow: inset 0 0 14px rgba(255,255,255,.95), 0 12px 34px rgba(85, 91, 148, .14);
}
.hero-glow-dot.d1 { left: 86px; top: 96px; width: 42px; height: 42px; background: rgba(255,255,255,.72); }
.hero-glow-dot.d2 { left: 118px; bottom: 84px; width: 26px; height: 26px; background: radial-gradient(circle, #826cff 0 22%, #dce9ff 42%, #fff 70%); }
.hero-glow-dot.d3 { right: 112px; bottom: 90px; width: 34px; height: 34px; background: rgba(255,255,255,.7); }
.float-note {
  position: absolute;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(232,234,242,.92);
  border-radius: 20px;
  padding: 14px 18px;
  box-shadow: 0 22px 58px rgba(41, 45, 76, .1);
  backdrop-filter: blur(18px);
  min-width: 150px;
  z-index: 4;
}
.float-note i {
  float: left;
  width: 34px;
  height: 34px;
  margin: 0 12px 0 0;
  border-radius: 50%;
  background: radial-gradient(circle at 44% 42%, #fff 0 28%, #dfe7ff 42%, #947cff 70%, #fff 100%);
  box-shadow: inset 0 0 12px rgba(255,255,255,.95), 0 12px 34px rgba(112, 98, 255, .18);
}
.float-note strong { display: block; font-size: 13px; margin-bottom: 3px; }
.float-note span { color: var(--muted); font-size: 12px; }
.note-avatars { display: inline-flex; vertical-align: middle; margin-right: 10px; }
.note-avatars img { width: 25px; height: 25px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -7px; }
.note-avatars img:first-child { margin-left: 0; }
.n1 { left: 116px; top: 72px; }
.n2 { right: 22px; top: 150px; min-width: 210px; }
.n3 { display: block; left: 128px; bottom: 80px; }
.avatar-row { display: flex; align-items: center; gap: 6px; margin-top: 26px; }
.avatar-row img { width: 31px; height: 31px; object-fit: cover; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; }
.avatar-row img:first-child { margin-left: 0; }
.stars { color: #f1ab28; margin-left: 16px; letter-spacing: 1px; }

.tool-strip, .compare-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 18px;
}
.product-tools {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.product-tool {
  overflow: hidden;
  min-height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-tool:hover { transform: translateY(-3px); box-shadow: 0 24px 65px rgba(32, 37, 56, .09); }
.product-tool img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #f7f5fb;
}
.product-tool-body { padding: 16px; }
.product-tool small { color: var(--violet); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 10px; }
.product-tool h3 { margin: 8px 0 7px; font-size: 19px; }
.product-tool p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.home-banner-section {
  padding: 12px 0 26px;
}
.home-banner-link {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #f7f5fb;
  border: 1px solid rgba(232, 234, 242, .9);
  box-shadow: 0 18px 55px rgba(32, 37, 56, .07);
}
.home-banner-link img {
  width: 100%;
  height: auto;
  display: block;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.template-card {
  padding: 18px;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(248,247,255,.88)),
    radial-gradient(circle at 100% 0%, rgba(139,118,255,.15), transparent 13rem);
}
.template-card strong { font-size: 17px; }
.template-card span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.template-chip { color: var(--violet); font-size: 12px; font-weight: 800; }
.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.workflow-step { padding: 24px; }
.workflow-step b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #080b16; color: #fff; margin-bottom: 20px; }
.workflow-step h3 { margin: 0 0 8px; }
.workflow-step p { color: var(--muted); margin: 0; line-height: 1.6; }
.tool-card, .compare-card, .gallery-card, .plan-card, .mini-card, .auth-card, .panel {
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(32, 37, 56, .055);
}
.tool-card { overflow: hidden; }
.tool-card img { width: 100%; aspect-ratio: 1/1.28; object-fit: cover; transition: transform .45s ease; }
.tool-card:hover img { transform: scale(1.035); }
.tool-card div { padding: 15px 14px 17px; background: linear-gradient(180deg, rgba(255,255,255,.9), #fff); }
.tool-card strong, .compare-card strong, .gallery-meta strong { display: block; font-size: 14px; margin-bottom: 6px; }
.tool-card span, .compare-card span, .mini-card span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.compare-card { overflow: hidden; text-align: center; }
.compare-card .split { display: grid; grid-template-columns: 1fr 1fr; }
.compare-card img { aspect-ratio: 1/1.18; width: 100%; object-fit: cover; }
.compare-card p { margin: 12px 0 16px; }
.transformation-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.transformation-tile {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(28, 32, 52, .1);
}
.transformation-tile img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform .35s ease;
}
.transformation-tile.realcase-card {
  aspect-ratio: 378 / 732;
  min-height: 0;
  border-radius: 18px;
}
.transformation-tile.realcase-card img {
  min-height: 0;
  object-fit: cover;
}
.transformation-tile.realcase-card:after {
  display: none;
}
.transformation-tile:hover img { transform: scale(1.035); }
.transformation-tile:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 15, .72));
}
.transformation-tile div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: #fff;
}
.transformation-tile span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.transformation-tile strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: 0;
}
.compare-feature {
  display: grid;
  grid-template-columns: minmax(760px, 1.12fr) minmax(460px, .88fr);
  gap: 44px;
  align-items: center;
}
.compare-viewer {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
  aspect-ratio: 16/10;
}
.compare-viewer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare-viewer .after {
  clip-path: inset(0 calc(100% - var(--pos, 70%)) 0 0);
}
.compare-viewer input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 70%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  z-index: 3;
}
.compare-line:after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.compare-label {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
}
.compare-label.before { left: 16px; }
.compare-label.after-label { right: 16px; }
.case-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}
.compare-pricing-hero {
  text-align: center;
  padding: 42px 0 18px;
}
.compare-pricing-hero .lead {
  max-width: 780px;
  margin: 0 auto;
}
.compare-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 860px;
  margin: 28px auto 0;
}
.compare-hero-metrics div {
  border: 1px solid rgba(226, 229, 239, .94);
  background: rgba(255, 255, 255, .82);
  border-radius: 8px;
  padding: 18px 16px;
  box-shadow: 0 18px 50px rgba(32, 37, 56, .055);
}
.compare-hero-metrics span,
.compare-card-top span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.compare-hero-metrics strong {
  display: block;
  margin: 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}
.compare-hero-metrics small,
.source-note,
.compare-disclaimer {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.compare-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.compare-price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.88);
  padding: 30px;
  box-shadow: 0 24px 70px rgba(32, 37, 56, .07);
}
.compare-price-card.aikonv {
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(250,248,255,.92)),
    radial-gradient(circle at 100% 0%, rgba(199,130,27,.14), transparent 18rem);
  border-color: rgba(199, 130, 27, .28);
}
.compare-price-card.competitor {
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,248,252,.9));
}
.compare-card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.compare-card-top b {
  color: #8b621f;
  font-size: 12px;
  font-weight: 800;
}
.compare-price-card h2 {
  max-width: 520px;
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 400;
}
.compare-price-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 22px;
}
.compare-price-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(226,229,239,.9);
}
.compare-price-row strong {
  font-size: 24px;
  font-weight: 750;
}
.compare-price-row span {
  color: var(--muted);
  text-align: right;
  line-height: 1.45;
}
.compare-price-card .btn {
  margin-top: 22px;
}
.pricing-compare-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 60px rgba(32, 37, 56, .055);
}
.pricing-compare-row {
  display: grid;
  grid-template-columns: .8fr 1fr 1.15fr 1.25fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.pricing-compare-row:first-child { border-top: 0; }
.pricing-compare-row span {
  padding: 18px 20px;
  border-left: 1px solid var(--line);
  color: #3d4353;
  line-height: 1.5;
}
.pricing-compare-row span:first-child {
  border-left: 0;
  font-weight: 800;
  color: var(--ink);
}
.pricing-compare-row.head {
  background: #080b16;
}
.pricing-compare-row.head span {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-color: rgba(255,255,255,.12);
}
.pricing-compare-row.featured {
  background: linear-gradient(90deg, rgba(255,255,255,.96), rgba(250,247,239,.9));
}
.compare-disclaimer {
  max-width: 860px;
  margin: 16px auto 0;
  text-align: center;
}
.compare-choice {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
  border-top: 1px solid var(--line);
}
.choice-list {
  display: grid;
  gap: 12px;
}
.choice-list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.84);
  padding: 18px;
}
.choice-list b {
  grid-row: span 2;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}
.choice-list strong {
  font-size: 17px;
}
.choice-list span {
  color: var(--muted);
  line-height: 1.55;
}
.compare-list-hero {
  text-align: center;
  padding: 42px 0 20px;
}
.compare-list-hero .lead {
  max-width: 760px;
  margin: 0 auto;
}
.compare-tldr {
  display: grid;
  grid-template-columns: minmax(260px, .62fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(199, 130, 27, .28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(251,249,244,.9)),
    radial-gradient(circle at 100% 0%, rgba(199,130,27,.12), transparent 22rem);
  box-shadow: 0 24px 70px rgba(32, 37, 56, .06);
  padding: 24px 28px;
}
.compare-tldr span,
.alt-title span {
  display: block;
  color: var(--violet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.compare-tldr strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 400;
}
.compare-tldr p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.compare-list-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}
.alternative-list {
  display: grid;
  gap: 12px;
}
.alternative-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(190px, .28fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 54px rgba(32, 37, 56, .055);
  padding: 18px;
}
.alternative-card.best {
  border-color: rgba(199, 130, 27, .35);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(250,248,255,.92)),
    radial-gradient(circle at 100% 0%, rgba(199,130,27,.12), transparent 18rem);
}
.rank {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #080b16;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}
.alternative-card.best .rank {
  background: linear-gradient(135deg, #1a1308, #8b621f);
}
.alt-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.alt-title h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 400;
}
.alt-main p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}
.alt-price {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}
.alt-price strong {
  font-size: 26px;
}
.alt-price span {
  color: #3d4353;
  font-weight: 750;
}
.alt-price small {
  color: var(--muted);
  line-height: 1.45;
}
.alt-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 750;
  background: #fff;
  white-space: nowrap;
}
.alternative-card.best .alt-action {
  background: #080b16;
  border-color: #080b16;
  color: #fff;
}
.compare-summary {
  border-top: 1px solid var(--line);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.summary-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  padding: 20px;
}
.summary-grid strong {
  display: block;
  margin-bottom: 8px;
}
.summary-grid span {
  color: var(--muted);
  line-height: 1.55;
}
.pro-position {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}
.pro-benefits {
  display: grid;
  gap: 12px;
}
.pro-benefits div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  padding: 18px;
  box-shadow: 0 16px 45px rgba(32, 37, 56, .045);
}
.pro-benefits b {
  grid-row: span 2;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}
.pro-benefits strong {
  font-size: 17px;
}
.pro-benefits span {
  color: var(--muted);
  line-height: 1.55;
}
.compare-subscribe-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(199, 130, 27, .32);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(249,247,242,.9)),
    radial-gradient(circle at 100% 0%, rgba(199,130,27,.14), transparent 20rem);
  box-shadow: 0 24px 70px rgba(32, 37, 56, .07);
  padding: 28px;
  margin: 10px 0 44px;
}
.compare-subscribe-cta span {
  color: var(--violet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.compare-subscribe-cta strong {
  display: block;
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 400;
}
.compare-subscribe-cta p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.simple-compare-hero {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 0 20px;
}
.simple-compare-hero .lead {
  max-width: 720px;
  margin: 0 auto;
}
.simple-hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.simple-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 30px;
}
.simple-proof div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  padding: 18px;
  box-shadow: 0 16px 45px rgba(32, 37, 56, .045);
}
.simple-proof strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}
.simple-proof span,
.simple-section-head p,
.simple-verdict p {
  color: var(--muted);
  line-height: 1.6;
}
.simple-section-head {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: end;
  margin-bottom: 18px;
}
.simple-section-head p {
  max-width: 560px;
  margin: 0 0 8px;
}
.simple-compare-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.9);
  box-shadow: 0 20px 60px rgba(32, 37, 56, .055);
}
.simple-row {
  display: grid;
  grid-template-columns: .72fr 1.35fr .72fr 1.1fr;
  border-top: 1px solid var(--line);
}
.simple-row:first-child { border-top: 0; }
.simple-row span {
  padding: 18px 20px;
  border-left: 1px solid var(--line);
  line-height: 1.5;
  color: #3d4353;
}
.simple-row span:first-child {
  border-left: 0;
  color: var(--ink);
}
.simple-row b {
  display: block;
  font-size: 17px;
}
.simple-row small {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.simple-row.head {
  background: #080b16;
}
.simple-row.head span {
  color: #fff;
  border-color: rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.simple-row.highlight {
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(251,249,244,.9)),
    radial-gradient(circle at 100% 0%, rgba(199,130,27,.12), transparent 18rem);
}
.simple-verdict {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(199, 130, 27, .28);
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  padding: 26px;
  margin: 0 0 44px;
}
.simple-verdict .section-title {
  max-width: 760px;
}
.simple-verdict p {
  max-width: 820px;
  margin: 0;
}

/* Compare v2 */
.compare-v2 { width: min(1540px, calc(100% - 40px)); margin: 0 auto 28px; }
.compare-v2-hero { text-align: center; padding: 22px 0 32px; }
.compare-v2-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 13px; border-radius: 999px; background: rgba(111,67,255,.09); color: #6d43ff; font-size: 12px; }
.compare-v2-hero h1 { margin: 12px 0 10px; color: #0d1329; font-size: clamp(34px, 4.2vw, 42px); line-height: 1.08; letter-spacing: 0; }
.compare-v2-hero h1 span { color: #6d43ff; }
.compare-v2-hero p { margin: 0; color: #424b70; font-size: 16px; }
.compare-v2-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; padding: 0; border-radius: 14px; }
.compare-v2-side { min-height: 332px; padding: 32px 32px; text-align: center; }
.compare-v2-side.aikonv { background: var(--surface-glow-bg); }
.compare-v2-side.others {
  background: var(--surface-glow-bg);
  border-left: 1px solid #eceef7;
}
.compare-v2-side h2 { margin: 0 0 12px; font-size: 17px; }
.compare-v2-side h2 span { margin-right: 8px; color: #6d43ff; }
.compare-v2-side p { max-width: 380px; margin: 0 auto 28px; color: #59647c; font-size: 13px; line-height: 1.45; }
.compare-v2-uses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.compare-v2-uses figure, .compare-v2-others figure { margin: 0; display: grid; justify-items: center; gap: 9px; }
.compare-v2-uses img { width: min(100%, 118px); height: 152px; object-fit: cover; border-radius: 8px; box-shadow: 0 12px 30px rgba(50,44,93,.12); }
.compare-v2-uses figcaption { display: grid; gap: 5px; font-size: 12px; font-weight: 500; }
.compare-v2-uses figcaption span { width: 21px; height: 21px; display: grid; place-items: center; justify-self: center; border-radius: 50%; background: #fff; color: #6d43ff; box-shadow: 0 8px 18px rgba(50,44,93,.12); }
.compare-v2-vs { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); z-index: 2; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #7835ff, #682af4); color: #fff; font-weight: 600; box-shadow: 0 18px 36px rgba(104,42,244,.28); }
.compare-v2-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.compare-v2-others img, .coin-stack { width: min(100%, 156px); height: 152px; object-fit: cover; border-radius: 8px; background: #f1f2f6; }
.coin-stack { display: grid; place-items: center; color: #777; font-size: 72px; }
.compare-v2-others figcaption { display: grid; gap: 3px; text-align: center; }
.compare-v2-others figcaption > span { font-size: 12px; font-weight: 500; }
.compare-v2-others small { color: #59647c; font-size: 12px; }
.compare-v2-section { padding-top: 28px; }
.compare-v2-label { margin: 0 0 14px; font-size: 15px; }
.compare-v2-table { display: grid; grid-template-columns: 220px 250px repeat(4, minmax(0, 1fr)); min-height: 316px; padding: 0; overflow: visible; }
.compare-v2-features, .compare-v2-col { display: grid; grid-template-rows: 58px repeat(7, 38px); }
.compare-v2-features span, .compare-v2-col span { display: grid; place-items: center; padding: 0 10px; border-bottom: 1px solid #eceef7; color: #11152b; text-align: center; font-size: 12px; line-height: 1.25; }
.compare-v2-features span { justify-items: start; text-align: left; font-weight: 500; }
.compare-v2-col { border-left: 1px solid #eceef7; }
.compare-v2-col h3 { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; border-bottom: 1px solid #eceef7; font-size: 13px; }
.compare-v2-col h3 img { width: 28px; height: 28px; }
.compare-v2-col h3 b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #111; color: #fff; }
.compare-v2-col h3 b.ring, .compare-v2-col h3 b.camera { background: #6d43ff; }
.compare-v2-col h3 b.red { background: #d71927; }
.compare-v2-col.featured { position: relative; margin: -8px 0 0; border: 2px solid #6d43ff; border-radius: 10px; background: linear-gradient(180deg, rgba(252,249,255,.98), #fff); box-shadow: 0 18px 42px rgba(111,67,255,.12); overflow: visible; }
.compare-v2-col.featured em { position: absolute; top: -1px; left: 50%; transform: translate(-50%, -50%); min-width: 160px; height: 24px; display: grid; place-items: center; border-radius: 999px; background: #6d43ff; color: #fff; font-size: 10px; font-style: normal; }
.compare-v2-col.featured span { color: #5d37eb; font-weight: 500; }
.compare-v2-choose { padding: 30px 0 20px; text-align: center; }
.compare-v2-choose h2 { margin: 0 0 14px; font-size: 16px; }
.compare-v2-choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.compare-v2-choice-grid article { position: relative; min-height: 150px; display: grid; justify-items: center; align-content: center; padding: 22px; border-radius: 10px; text-align: center; }
.compare-v2-choice-grid span { color: #6d43ff; font-size: 30px; }
.compare-v2-choice-grid span img { width: 42px; height: 42px; }
.compare-v2-choice-grid h3 { margin: 12px 0; font-size: 13px; }
.compare-v2-choice-grid p { margin: 0; color: #11152b; font-size: 12px; line-height: 1.45; }
.compare-v2-choice-grid .best { border-color: rgba(111,67,255,.8); box-shadow: 0 18px 42px rgba(111,67,255,.12); }
.compare-v2-choice-grid .best em { position: absolute; right: -10px; top: -10px; padding: 6px 12px; border-radius: 999px; background: #6d43ff; color: #fff; font-size: 11px; font-style: normal; }
.compare-v2-note { margin-top: 12px; padding: 9px 14px; border: 1px solid #6d43ff; border-radius: 7px; color: #6d43ff; font-size: 12px; font-weight: 500; }
.compare-v2-verdict {
  display: grid;
  grid-template-columns: 470px 1fr 260px;
  align-items: center;
  gap: 42px;
  padding: 0 36px 0 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-glow-bg);
  box-shadow: 0 24px 60px rgba(111,67,255,.14);
}
.compare-v2-verdict-image { position: relative; }
.compare-v2-verdict-image img { width: 100%; height: 280px; object-fit: cover; }
.compare-v2-verdict-image div { position: absolute; right: 20px; bottom: 18px; width: 130px; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.9); text-align: center; box-shadow: 0 10px 28px rgba(44,38,88,.14); }
.compare-v2-verdict-image b { display: block; font-size: 12px; }
.compare-v2-verdict-image small { color: #59647c; font-size: 10px; line-height: 1.3; }
.compare-v2-verdict-copy span { color: #11152b; font-weight: 500; }
.compare-v2-verdict-copy h2 { margin: 12px 0 18px; font-size: 28px; line-height: 1.18; color: #14104a; }
.compare-v2-verdict-copy ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.compare-v2-verdict-copy li:before { content: "✓"; margin-right: 9px; color: #2f7d4a; }
.compare-v2-verdict-actions { display: grid; justify-items: stretch; gap: 16px; text-align: center; }
.compare-v2-verdict-actions .btn { min-height: 48px; border-radius: 8px; }
.compare-v2-verdict-actions a:last-child { color: #14104a; font-weight: 500; font-size: 13px; }
.compare-v2-trust { padding: 26px 0 0; text-align: center; color: #59647c; font-size: 12px; }
.compare-v2-trust div { display: flex; justify-content: center; gap: 58px; margin-top: 20px; font-size: 11px; }
@media (max-width: 900px) {
  .compare-v2 { width: min(100% - 28px, 960px); }
  .compare-v2-hero h1 { font-size: 34px; }
  .compare-v2-split { grid-template-columns: 1fr; }
  .compare-v2-side.others { border-left: 0; border-top: 1px solid #eceef7; }
  .compare-v2-vs { top: 286px; }
  .compare-v2-uses { grid-template-columns: repeat(5, minmax(86px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .compare-v2-others { grid-template-columns: repeat(3, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .compare-v2-table { grid-template-columns: 150px 190px repeat(4, 150px); overflow-x: auto; }
  .compare-v2-choice-grid { grid-template-columns: 1fr 1fr; }
  .compare-v2-verdict { grid-template-columns: 1fr; gap: 0; padding: 0 20px 22px; }
  .compare-v2-verdict-image { margin: 0 -20px; }
  .compare-v2-verdict-actions { justify-items: stretch; }
  .compare-v2-trust div { flex-wrap: wrap; gap: 16px 28px; }
}
@media (max-width: 560px) {
  .compare-v2-hero h1 { font-size: 30px; }
  .compare-v2-uses { grid-template-columns: repeat(5, 88px); }
  .compare-v2-others { grid-template-columns: repeat(3, 120px); }
  .compare-v2-choice-grid { grid-template-columns: 1fr; }
}
.band {
  border: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(255,255,255,.92), rgba(246,244,255,.86)),
    radial-gradient(circle at 100% 100%, rgba(153,135,255,.22), transparent 28rem);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.2fr repeat(5, minmax(120px, 1fr));
  gap: 18px;
  align-items: center;
}
.mini-card { border: 0; box-shadow: none; background: transparent; }
.mini-card strong { display: block; margin-bottom: 4px; line-height: 1.2; }
.mini-card span { display: block; }
.mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--violet);
  margin-bottom: 8px;
}
.why-simple {
  display: grid;
  grid-template-columns: minmax(320px, .84fr) 1.16fr;
  gap: 48px;
  align-items: center;
  padding: 14px 0 26px;
}
.why-simple-copy .section-title {
  max-width: 430px;
  margin-bottom: 14px;
  font-family: "Geist", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 2.7vw, 36px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
}
.learn-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.why-simple-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.why-simple-item {
  text-align: center;
}
.why-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 13px;
  color: var(--violet);
  background: rgba(115,92,244,.1);
  font-size: 19px;
  font-weight: 800;
}
.why-simple-item strong {
  display: block;
  min-height: 34px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.25;
}
.why-simple-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.metrics-simple {
  display: grid;
  gap: 22px;
  padding: 28px 0 26px;
  border-top: 1px solid var(--line);
}
.metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: center; }
.stat strong { font-size: 27px; display: block; }
.stat span, .logos { color: var(--muted); font-size: 12px; }
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; font-weight: 800; }
.logos span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #73798a;
  white-space: nowrap;
}
.cta-band {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  align-items: center;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(255,255,255,.9), rgba(248,246,255,.88)),
    radial-gradient(circle at 100% 70%, rgba(151, 132, 255, .18), transparent 22rem);
  padding: 26px;
}
.polaroids { display: flex; transform: rotate(-8deg); }
.polaroids img { width: 84px; height: 104px; object-fit: cover; border: 8px solid #fff; box-shadow: 0 16px 30px rgba(0,0,0,.12); margin-left: -18px; }
.polaroids img:first-child { margin-left: 0; }

.footer { border-top: 1px solid var(--line); padding: 34px 0 18px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 42px; color: var(--muted); font-size: 14px; }
.footer h4 { color: var(--ink); margin: 0 0 14px; }
.footer a { display: block; margin: 9px 0; }
.copyright { color: var(--muted); text-align: center; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 18px; font-size: 13px; }

.gallery-hero, .pricing-hero { text-align: center; padding: 34px 0 18px; }
.tools-hero { text-align: center; padding: 34px 0 18px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 12px 20px; }
.tab.active { background: #060a14; color: #fff; border-color: #060a14; }
.gallery-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters { padding: 24px; position: sticky; top: 20px; }
.filters h3 { margin-top: 0; }
.filter-list { display: grid; gap: 7px; margin: 16px 0 28px; }
.filter-list button { text-align: left; border: 0; background: transparent; padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.filter-list button.active { background: var(--soft); color: var(--violet); }
.swatches { display: grid; grid-template-columns: repeat(6, 22px); gap: 10px; }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-card { overflow: hidden; }
.gallery-card img { width: 100%; aspect-ratio: 1/1.16; object-fit: cover; transition: transform .45s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-meta { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 12px; font-size: 13px; }
.pager { display: flex; justify-content: center; gap: 8px; margin: 24px 0; }
.pager a { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: #fff; }
.pager a.active { background: #060a14; color: #fff; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan-card { padding: 28px; position: relative; }
.plan-card.featured { border-color: var(--violet); box-shadow: 0 22px 60px rgba(123, 97, 255, .14); }
.ribbon { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--violet); color: #fff; border-radius: 0 0 8px 8px; padding: 8px 22px; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.price { font-size: 38px; margin: 18px 0; }
.price small { font-size: 14px; color: var(--muted); }
.features-list { display: grid; gap: 12px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); color: #3b4050; font-size: 14px; }
.feature-row:before { content: "✓"; margin-right: 10px; color: var(--violet); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); line-height: 1.6; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 284px 1fr 430px; }
.sidebar { border-right: 1px solid var(--line); background: rgba(255,255,255,.7); padding: 30px 22px; display: flex; flex-direction: column; gap: 34px; }
.side-nav { display: grid; gap: 10px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 8px; color: var(--muted); }
.side-nav a.active { background: #f1f2f7; color: var(--ink); }
.side-plan { margin-top: auto; padding: 20px; }
.studio-main { padding: 0 44px 42px; border-right: 1px solid var(--line); }
.studio-top { height: 88px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); margin: 0 -44px 34px; padding: 0 44px; }
.steps { display: flex; align-items: center; gap: 18px; color: #a5abbb; }
.step.on { color: var(--ink); font-weight: 700; }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: #edf0f6; margin-right: 8px; }
.step.on .step-num { background: #060a14; color: #fff; }
.upload-row { display: grid; grid-template-columns: 1fr minmax(260px, 360px); gap: 24px; padding: 26px; }
.drop {
  min-height: 250px;
  border: 1px dashed #d7dbe7;
  border-radius: 8px;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255,255,255,.7);
}
.drop.has-image { padding: 0; overflow: hidden; }
.drop.has-image .drop-empty { display: none; }
.drop img { width: 100%; height: 100%; object-fit: cover; display: none; }
.drop.has-image img { display: block; }
.preview-photo { border-radius: 8px; width: 100%; aspect-ratio: 1.1/1; object-fit: cover; }
.style-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.style-card { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 8px; overflow: hidden; cursor: pointer; }
.style-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.style-card img { width: 100%; aspect-ratio: 1/1.12; object-fit: cover; }
.style-card div { padding: 12px; }
.style-card:has(input:checked) { border-color: #080b16; box-shadow: inset 0 0 0 1px #080b16; }
.advanced { margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.advanced textarea { width: 100%; resize: vertical; min-height: 86px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-top: 12px; }
.result-pane { padding: 120px 32px 42px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.result-card { aspect-ratio: 1/1.22; border-radius: 8px; background: #eef0f5; overflow: hidden; display: grid; place-items: center; color: var(--muted); }
.result-card img { width: 100%; height: 100%; object-fit: cover; }
.status { min-height: 22px; color: var(--muted); font-size: 14px; margin: 12px 0; }

.create-app { min-height: 100vh; display: grid; grid-template-columns: 214px minmax(0, 1fr); background: transparent; color: #11152b; }
.create1-app { background: transparent; }
.app-sidebar { position: sticky; top: 0; height: 100vh; padding: 26px 14px 24px; border-right: 1px solid #ebeef7; background: rgba(255,255,255,.72); display: grid; grid-template-rows: auto 1fr auto auto; gap: 28px; }
.sidebar-brand { margin: 0 6px 22px; color: #11152b; }
.sidebar-brand .brand-logo { width: 34px; height: 34px; }
.app-sidebar-nav { display: grid; align-content: start; gap: 9px; }
.app-sidebar-nav a,
.app-sidebar-nav button { position: relative; display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: #65709a; text-decoration: none; font-size: 13px; font-weight: 800; text-align: left; }
.app-sidebar-nav a.active, .app-sidebar-nav a:hover, .app-sidebar-nav button:hover { background: linear-gradient(90deg, rgba(124,86,255,.12), rgba(124,86,255,.04)); color: #6f43ff; }
.app-sidebar-nav button[data-logout] { margin-top: 18px; cursor: pointer; }
.app-sidebar-nav button[data-logout]:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 1px;
  background: #e6e9f3;
}
.app-sidebar-credit { display: block; margin: 0 2px; min-height: 96px; padding: 16px 16px; border-radius: 9px; background: linear-gradient(180deg, #fff, #f8f7ff); border: 1px solid #eceef7; box-shadow: 0 16px 40px rgba(44,50,86,.045); position: relative; text-decoration: none; }
.app-sidebar-credit:after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: #60709b; font-size: 20px; }
.app-sidebar-credit strong { display: block; color: #536183; margin-bottom: 12px; font-size: 13px; }
.app-sidebar-credit small { display: block; max-width: 128px; color: #7b84a2; line-height: 1.55; font-size: 11px; }
.app-sidebar-theme { display: flex; align-items: center; gap: 10px; padding: 10px 4px; color: #65709a; font-size: 13px; font-weight: 800; }
.create-main { min-width: 0; padding: 22px 28px 24px; }
.create1-main { padding-top: 22px; }
.create1-topbar { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin: 0 10px 20px; }
.create1-title { margin: 0 0 8px; font-size: 30px; line-height: 1.05; letter-spacing: 0; color: #11152b; }
.create1-subtitle { margin: 0; color: #5f6a91; font-size: 15px; font-weight: 650; }
.create-account { display: flex; align-items: center; gap: 18px; }
.create-account > span,
.create-credit-link { height: 44px; display: inline-flex; align-items: center; gap: 5px; padding: 0 20px; border: 1px solid #e8ebf5; border-radius: 999px; background: rgba(255,255,255,.9); color: #172038; font-weight: 900; font-size: 13px; box-shadow: 0 10px 25px rgba(42,48,83,.04); text-decoration: none; }
.create-account-link { display: inline-flex; border-radius: 50%; box-shadow: 0 8px 18px rgba(19,24,43,.12); }
.create-account img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.create-bell { width: 40px; height: 40px; border: 0; background: transparent; color: #51608f; box-shadow: none; display: inline-grid; place-items: center; font-size: 22px; }
.create-phase[hidden] { display: none !important; }
.create-workspace-stage { display: block; }
.create1-shell { display: grid; gap: 20px; }
.create1-grid, .create1-workspace { display: grid; gap: 14px; }
.create1-row { display: grid; gap: 14px; }
.create1-row-body { grid-template-columns: minmax(0, 1fr) 520px; }
.create1-panel { padding: 20px 24px; border: 1px solid #eceef7; border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 18px 48px rgba(33,39,75,.035); }
.create1-panel-head { margin-bottom: 12px; }
.create1-panel-head h2 { margin: 0 0 6px; font-size: 15px; line-height: 1.2; letter-spacing: 0; color: #11152b; font-weight: 900; }
.create1-panel-head p { margin: 0; color: #6f789b; font-size: 13px; line-height: 1.5; font-weight: 650; }
.create1-top-card { display: grid; grid-template-columns: minmax(310px, .86fr) minmax(360px, .96fr) minmax(420px, 1.22fr); gap: 26px; padding: 20px 28px; min-height: 150px; align-items: start; }
.create1-step { min-width: 0; }
.create1-step + .create1-step { border-left: 1px solid #eceef7; padding-left: 26px; }
.create1-custom-panel { padding: 20px 24px; }
.create1-custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.create1-custom-content { min-width: 0; }
.create1-count-inline { min-height: 110px; padding-left: 24px; border-left: 1px solid #eceef7; }
.create1-controls-panel .style-options.create-config { margin: 0; }
.create1-side-stack { display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.create1-side-block { display: grid; gap: 14px; }
.create1-footer-bar { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(520px, auto); align-items: center; gap: 18px; padding: 22px 24px; }
.create1-generate-bar { display: flex; align-items: center; justify-content: end; gap: 18px; }
.tool-picker { position: relative; display: grid; gap: 8px; }
.portrait-select { width: 100%; min-height: 58px; display: grid; grid-template-columns: 38px 1fr 24px; align-items: center; gap: 12px; padding: 0 14px; border: 1px solid rgba(124,86,255,.38); border-radius: 9px; background: #fff; color: #11152b; text-align: left; box-shadow: 0 0 0 3px rgba(124,86,255,.05); }
.portrait-select strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 900; }
.portrait-select em { padding: 5px 9px; border-radius: 999px; background: rgba(239,89,255,.11); color: #d34cff; font-style: normal; font-size: 11px; font-weight: 900; white-space: nowrap; }
.portrait-select i { color: #6f789b; font-style: normal; font-weight: 900; }
.portrait-menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; display: grid; gap: 6px; padding: 8px; border: 1px solid #e5e8f2; border-radius: 10px; background: #fff; box-shadow: 0 22px 50px rgba(28,34,68,.12); }
.portrait-menu[hidden] { display: none !important; }
.tool-picker .case-card { width: 100%; display: grid; grid-template-columns: 1fr; align-items: center; gap: 8px; padding: 12px 13px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; box-shadow: none; transition: background .18s ease; }
.tool-picker .case-card:hover, .tool-picker .case-card.active { background: #f7f5ff; transform: none; box-shadow: none; }
.tool-picker .case-card img { display: none; }
.tool-picker .case-card span { min-width: 0; display: block; }
.tool-picker .case-card em { display: inline-block; margin-bottom: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(115,76,255,.1); color: #744cff; font-style: normal; font-size: 10px; font-weight: 900; }
.tool-picker .case-card strong { display: block; margin-bottom: 4px; color: #11152b; font-size: 13px; }
.tool-picker .case-card small { display: block; color: #66728d; font-size: 11px; line-height: 1.4; }
.tool-picker .case-card:after { content: none; }
.mode-summary { display: flex; align-items: center; min-height: 72px; }
.mode-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(116,76,255,.08); color: #5e3cf0; font-weight: 800; }
.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.mode-card { min-height: 58px; padding: 10px 14px; border: 1px solid #e7eaf4; background: #fff; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; align-items: center; align-content: center; }
.mode-card:first-child { border-radius: 9px 0 0 9px; }
.mode-card:last-child { border-left: 0; border-radius: 0 9px 9px 0; }
.mode-card strong { color: #16203a; font-size: 13px; line-height: 1.2; font-weight: 400; white-space: nowrap; }
.mode-card small { color: #7a849d; font-size: 11px; line-height: 1.25; white-space: nowrap; }
.mode-card .mode-icon { grid-row: 1 / span 2; width: 28px; height: 28px; box-shadow: none; background: transparent; border: 0; }
.mode-card.active { position: relative; z-index: 1; border-color: rgba(111,72,255,.76); box-shadow: 0 0 0 2px rgba(111,72,255,.07); }
.mode-card.active strong { color: #6d43ff; font-weight: 400; }
.count-picker-group { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: flex-start; flex-wrap: nowrap; gap: 8px; padding: 0; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.count-picker-group label { min-width: 0; height: 44px; justify-content: center; border: 1px solid #e6e9f3; border-radius: 9px; background: #fff; color: #516080; padding: 0; }
.count-picker-group label:has(input:checked) { color: #6d43ff; border-color: rgba(111,72,255,.55); box-shadow: 0 0 0 3px rgba(111,72,255,.07); }
.advanced-box { width: min(420px, 100%); border: 1px solid rgba(232,235,245,.96); border-radius: 9px; padding: 0; background: #fafbff; }
.advanced-box summary { min-height: 56px; display: flex; align-items: center; padding: 0 18px; cursor: pointer; font-weight: 800; color: #59647c; list-style: none; }
.advanced-box summary::-webkit-details-marker { display: none; }
.advanced-content { margin-top: 16px; display: grid; gap: 16px; }
.status-wrap { min-width: 220px; }
.generate-meta { min-width: 260px; display: grid; justify-items: end; gap: 5px; }
.estimate-box { min-width: 250px; min-height: 52px; padding: 0 18px; border: 1px solid #e6e9f3; border-radius: 9px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #6d7893; font-size: 13px; font-weight: 800; }
.estimate-box strong { color: #151927; }
.upload-brief { display: grid; gap: 6px; margin: 0; max-width: 520px; }
.upload-brief strong { font-size: 15px; color: #151927; }
.upload-brief span { color: #6d7893; font-size: 14px; line-height: 1.55; }
.upload-points { display: grid; gap: 14px; margin: 0; }
.upload-points span { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; align-items: center; }
.upload-points i { width: 34px; height: 34px; display: grid; place-items: center; grid-row: 1 / span 2; border-radius: 50%; color: #744cff; background: rgba(116,76,255,.1); font-style: normal; }
.upload-points strong { font-size: 14px; }
.upload-points small { color: #6d7893; font-size: 12px; }
.upload-slots { display: grid; gap: 12px; margin-top: 8px; max-width: none; }
.upload-slot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upload-single-wrap[hidden],
.upload-slot-pair[hidden] { display: none !important; }
.upload-slot {
  min-height: 104px;
  padding: 14px 16px;
  border: 1px dashed rgba(153,121,255,.42);
  border-radius: 9px;
  background: rgba(255,255,255,.82);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
}
.upload-slot:hover { border-color: rgba(116,76,255,.42); box-shadow: 0 20px 48px rgba(39,45,76,.08); }
.upload-slot b { font-size: 13px; color: #172038; font-weight: 700; }
.upload-slot span { color: #66728d; font-size: 12px; }
.upload-slot small { color: #959fb4; font-size: 12px; }
.upload-preview-thumb {
  width: 72px;
  height: 88px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(226,229,239,.98);
  box-shadow: 0 12px 26px rgba(32,37,56,.1);
}
.upload-slot.has-preview {
  border-style: solid;
  border-color: rgba(116,76,255,.34);
  background: rgba(255,255,255,.92);
}
.upload-slot.has-preview .upload-glyph { display: none; }
.upload-slot.has-preview b { color: #6d43ff; }
.upload-glyph {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #6d43ff;
}
.upload-note { display: block; margin: 4px 0 0; color: #7a849d; }
.style-preview, .generation-details { border: 1px solid rgba(226,229,239,.92); border-radius: 14px; background: rgba(255,255,255,.86); box-shadow: 0 20px 60px rgba(39,45,76,.055); }
.generated-head h1 { margin: 0 0 8px; font-size: 26px; letter-spacing: 0; }
.generated-head p, .style-preview > p { margin: 0; color: #7a849d; }
.style-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.style-tabs button { height: 36px; padding: 0 17px; border: 0; border-radius: 999px; background: #f1f3f9; color: #65708a; font-weight: 750; cursor: pointer; }
.style-tabs button.active { color: #fff; background: linear-gradient(135deg, #6d50ff, #8d6dff); }
.style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.style-card { position: relative; overflow: hidden; border: 1px solid rgba(226,229,239,.92); border-radius: 9px; background: #fff; cursor: pointer; }
.style-card input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.style-card:has(input:checked) { border-color: #744cff; box-shadow: 0 0 0 3px rgba(116,76,255,.12); }
.style-card:has(input:checked):after { content: "✓"; position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #744cff; font-weight: 900; }
.style-card img { width: 100%; height: 132px; object-fit: cover; display: block; }
.style-card strong { display: block; padding: 12px 12px 4px; font-size: 13px; }
.style-card small { display: block; padding: 0 12px 14px; color: #68738c; line-height: 1.45; font-size: 12px; }
.style-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: center; margin: 24px 0; }
.style-options label { display: grid; gap: 8px; color: #9aa3b6; font-size: 12px; }
.style-options select { height: 46px; border: 1px solid rgba(226,229,239,.92); border-radius: 10px; background: #fafbff; padding: 0 12px; color: #59647c; font: inherit; }
.style-options.create-config { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; margin: 0; }
.create-control-group { display: grid; gap: 10px; }
.create-control-head { display: flex; align-items: center; justify-content: flex-start; gap: 12px; }
.create-control-head strong { color: #151927; font-size: 14px; font-weight: 900; }
.create-control-head span { display: none; color: #7a849d; font-size: 12px; }
.enhance-toggle { display: grid; grid-template-columns: 1fr auto; align-items: center; color: #151927 !important; }
.enhance-toggle small { display: block; color: #7a849d; margin-top: 4px; }
.generate-wide { width: 380px; height: 52px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #7835ff, #682af4); font-weight: 900; cursor: pointer; box-shadow: 0 14px 32px rgba(104,42,244,.22); }
.generate-wide:disabled { opacity: .55; cursor: not-allowed; }
.status { margin: 12px 0 0; color: #68738c; font-size: 13px; }
.style-preview { padding: 24px; }
.style-preview h2 { margin: 0 0 8px; font-size: 22px; }
.preview-frame { position: relative; margin-top: 10px; overflow: hidden; border-radius: 9px; background: #f6f7fb; aspect-ratio: 1.5 / 1; }
.preview-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; display: block; }
.why-box { margin-top: 0; padding: 0; border-radius: 0; background: transparent; border: 0; }
.why-box h3 { margin: 0 0 12px; }
.why-box p { margin: 13px 0; color: #64708f; font-size: 13px; font-weight: 700; }
.tips-title-icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #6d43ff;
}
.tips-title-icon:before { font-size: 17px; }
.tips-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tips-list li {
  position: relative;
  padding-left: 30px;
  color: #64708f;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}
.tips-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #6d43ff;
  font-size: 13px;
  font-weight: 950;
}
.generated-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 28px; }
.generated-head > button { width: 40px; height: 40px; border: 0; border-radius: 9px; background: rgba(116,76,255,.1); color: #744cff; font-size: 22px; cursor: pointer; }
.generated-actions { display: flex; gap: 14px; }
.generated-actions button, .generation-details button { height: 44px; padding: 0 22px; border: 1px solid rgba(226,229,239,.92); border-radius: 8px; background: #fff; color: #141825; font: inherit; font-weight: 800; cursor: pointer; }
.generated-actions button:last-child, .generation-details button { color: #fff; border: 0; background: linear-gradient(135deg, #6d50ff, #8d6dff); }
.generated-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.generated-main { display: grid; gap: 22px; }
.generated-stage-card, .feedback-card { padding: 22px; }
.generated-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.generated-meta { display: flex; flex-wrap: wrap; gap: 10px; color: #6d7893; font-size: 13px; font-weight: 700; }
.generated-viewer[hidden] { display: none !important; }
.generated-viewer { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; gap: 14px; align-items: center; }
.viewer-arrow { width: 46px; height: 46px; border: 1px solid rgba(226,229,239,.92); border-radius: 50%; background: #fff; color: #141825; font-size: 28px; cursor: pointer; }
.generated-primary { border-radius: 14px; overflow: hidden; background: #eef0f5; }
.generated-primary-hit { width: 100%; aspect-ratio: 3 / 4; border: 0; padding: 0; background: #f2f4fa; cursor: zoom-in; display: grid; place-items: center; }
.generated-primary-hit img { width: 100%; height: 100%; object-fit: contain; display: block; }
.generated-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.result-thumb { border: 1px solid rgba(226,229,239,.92); border-radius: 12px; padding: 0; overflow: hidden; background: #fff; cursor: pointer; }
.result-thumb.active { border-color: rgba(111,72,255,.74); box-shadow: 0 0 0 3px rgba(111,72,255,.08); }
.result-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; display: block; background: #f2f4fa; }
.rating-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.rating-option { min-height: 54px; border: 1px solid rgba(226,229,239,.92); border-radius: 12px; background: #fff; color: #59647c; font: inherit; font-weight: 800; cursor: pointer; }
.rating-option.active { border-color: rgba(111,72,255,.74); color: #744cff; box-shadow: 0 0 0 3px rgba(111,72,255,.08); }
.suggestion-box { display: grid; gap: 12px; margin-top: 18px; }
.suggestion-box label { color: #151927; font-size: 13px; font-weight: 700; }
.suggestion-box textarea { width: 100%; border: 1px solid #dfe2ec; border-radius: 12px; padding: 14px; font: inherit; resize: vertical; min-height: 112px; }
.feedback-status {
  display: block;
  min-height: 18px;
  margin-top: 8px;
  color: #8a6470;
  font-size: 12px;
}
.feedback-status.ok { color: #2f7d4a; }
.generation-details { padding: 26px; }
.generation-details h2 { margin: 0 0 24px; font-size: 19px; }
.generation-details dl { display: grid; grid-template-columns: 1fr 1fr; row-gap: 20px; margin: 0; color: #68738c; }
.generation-details dd { margin: 0; color: #151927; }
.generation-details hr { border: 0; border-top: 1px solid rgba(226,229,239,.9); margin: 28px 0; }
.generation-details h3 { margin: 0 0 16px; }
.source-small { width: 170px; height: 170px; object-fit: cover; border-radius: 8px; }
.original-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.generation-details p { color: #68738c; font-size: 13px; }
.generation-details button { width: 100%; margin-top: 18px; }
.create1-app .generated-stage { display: grid; gap: 16px; }
.create1-app .generated-head {
  margin-bottom: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 78px;
  padding: 18px 24px;
}
.create1-app .generated-actions button:first-child {
  color: #59628a;
  border: 1px solid #e6e9f3;
  background: #fff;
}
.create1-app .generated-layout {
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 20px;
}
.create1-app .generated-stage-card {
  padding: 26px 28px;
  border-radius: 10px;
}
.create1-app .generated-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
}
.create1-app .generated-tabs span {
  margin-right: 18px;
  color: #11152b;
  font-size: 13px;
  font-weight: 800;
}
.create1-app .generated-tabs button {
  min-width: 70px;
  height: 38px;
  border: 1px solid #e6e9f3;
  background: #fff;
  color: #59628a;
  border-radius: 8px;
}
.create1-app .generated-tabs button.active {
  color: #6d43ff;
  border-color: #6d43ff;
  box-shadow: 0 0 0 3px rgba(109,67,255,.08);
}
.create1-app .generated-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 0;
}
.create1-app .generated-strip.single-result {
  grid-template-columns: minmax(280px, min(560px, 70%));
  justify-content: center;
}
.create1-app .result-thumb {
  position: relative;
  border: 0;
  border-radius: 8px;
  background: #f2f4fa;
  box-shadow: none;
  overflow: hidden;
  margin: 0;
  cursor: default;
}
.create1-app .result-thumb:before {
  content: attr(data-generated-number);
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #11152b;
  font-size: 13px;
  font-weight: 800;
}
.create1-app .generated-result-card:after {
  content: "Expires in 1h";
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 1;
  height: 28px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #6d43ff;
  font-size: 11px;
  box-shadow: 0 10px 24px rgba(20,24,45,.12);
}
.create1-app .result-thumb.active { box-shadow: 0 0 0 2px rgba(109,67,255,.5); }
.create1-app .result-thumb img { width: 100%; aspect-ratio: 3 / 4; border-radius: 8px; object-fit: contain; display: block; background: #f2f4fa; }
.create1-app .result-card-actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 18px;
  pointer-events: auto;
}
.create1-app .result-card-actions button {
  width: 46px;
  height: 46px;
  border: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: #071029;
  box-shadow: 0 14px 34px rgba(11,16,35,.18);
  cursor: pointer;
  font-size: 18px;
}
.create1-app .result-card-actions button:hover {
  color: #6d43ff;
  transform: translateY(-1px);
}
.create1-app .loading-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  border: 1px solid rgba(225,218,244,.98);
  background:
    radial-gradient(circle at 50% 42%, rgba(132,92,255,.18), transparent 23%),
    radial-gradient(circle at 38% 30%, rgba(238,202,142,.18), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(250,248,255,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 22px 70px rgba(45,38,83,.08);
  cursor: default;
}
.create1-app .loading-card:before,
.create1-app .loading-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.create1-app .loading-card:before {
  display: block;
  inset: -34%;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(111,72,255,.34), transparent 28%),
    radial-gradient(ellipse at 78% 18%, rgba(181,153,255,.28), transparent 30%),
    radial-gradient(ellipse at 28% 82%, rgba(136,95,255,.26), transparent 32%),
    radial-gradient(ellipse at 84% 76%, rgba(216,181,107,.16), transparent 29%),
    radial-gradient(ellipse at 52% 50%, rgba(109,67,255,.20), transparent 42%);
  filter: blur(22px);
  opacity: .9;
  transform-origin: 50% 50%;
  animation: purpleField 15s linear infinite;
}
.create1-app .loading-card:after {
  inset: -26%;
  background:
    radial-gradient(ellipse at 34% 34%, rgba(255,255,255,.34), transparent 24%),
    radial-gradient(ellipse at 68% 62%, rgba(109,67,255,.20), transparent 30%),
    conic-gradient(from 90deg at 50% 50%, transparent 0deg, rgba(109,67,255,.10) 54deg, transparent 118deg, rgba(179,146,255,.13) 196deg, transparent 282deg, rgba(216,181,107,.08) 330deg, transparent 360deg);
  mix-blend-mode: multiply;
  filter: blur(16px);
  transform-origin: 48% 52%;
  animation: purpleFieldReverse 22s linear infinite;
}
.create1-app .loading-card strong {
  position: relative;
  z-index: 1;
  color: #11152b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}
.create1-app .loading-card small {
  position: relative;
  z-index: 1;
  color: #6f6a8b;
  font-size: 13px;
}
.create1-app .result-error-card {
  min-height: 240px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  border: 1px solid rgba(229,232,243,.96);
  background: rgba(255,255,255,.94);
  cursor: default;
}
.create1-app .result-error-card:before { display: none; }
.create1-app .result-error-card strong {
  color: #11152b;
  font-size: 15px;
  font-weight: 700;
}
.create1-app .result-error-card small {
  max-width: 320px;
  color: #7a5360;
  font-size: 13px;
  line-height: 1.45;
}
.generating-orb {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, rgba(111,72,255,.12), rgba(111,72,255,.86), rgba(216,181,107,.45), rgba(111,72,255,.12));
  box-shadow: 0 18px 48px rgba(111,72,255,.16);
  animation: refinedSpin 1.9s linear infinite;
}
.generating-orb:after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.98), rgba(252,250,255,.96));
  box-shadow: inset 0 0 0 1px rgba(232,226,248,.9);
}
.generating-orb span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  z-index: 1;
  border-radius: 50%;
  background: #6d43ff;
  box-shadow: -12px 0 0 rgba(109,67,255,.36), 12px 0 0 rgba(109,67,255,.36);
  animation: loadingDots 1.6s ease-in-out infinite;
}
@keyframes purpleField { to { transform: rotate(360deg) scale(1.04); } }
@keyframes purpleFieldReverse { to { transform: rotate(-360deg) scale(1.06); } }
@keyframes refinedSpin { to { transform: rotate(360deg); } }
@keyframes loadingDots {
  0%, 100% { box-shadow: -12px 0 0 rgba(109,67,255,.28), 12px 0 0 rgba(109,67,255,.28); opacity: .72; }
  50% { box-shadow: -12px 0 0 rgba(109,67,255,.72), 12px 0 0 rgba(109,67,255,.72); opacity: 1; }
}
.create1-app .result-thumb.image-load-error {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: #7a5360;
  font-size: 13px;
}
.create1-app .feedback-card { text-align: center; padding: 24px 28px; border-radius: 10px; }
.create1-app .feedback-card h2 { margin: 0 0 18px; font-size: 20px; }
.create1-app .feedback-card p { margin: 12px 0 0; color: #6d7893; font-size: 13px; }
.create1-app .rating-option {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 78px;
  border-radius: 8px;
  font-weight: 400;
}
.create1-app .rating-option span { font-size: 24px; }
.generated-side-stack { display: grid; gap: 14px; }
.generation-side-card { padding: 20px; border-radius: 10px; }
.generation-side-card h3 { margin: 0 0 18px; font-size: 16px; }
.original-photos .original-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}
.original-photos .original-grid.is-single {
  grid-template-columns: 1fr;
}
.original-photos .original-grid figure { position: relative; margin: 0; }
.original-photos .original-grid figure[hidden] { display: none !important; }
.original-photos .source-small {
  width: 100%;
  height: auto;
  max-height: 220px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  background: #f7f5ff;
}
.original-photos .original-grid.is-single .source-small { max-height: 260px; }
.original-photos figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  color: #fff;
  text-align: center;
  font-size: 12px;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.generation-side-card button {
  width: 100%;
  height: 42px;
  margin-top: 16px;
  border: 1px solid #6d43ff;
  border-radius: 8px;
  background: #fff;
  color: #6d43ff;
  font-weight: 800;
}
.create1-app .generation-details { box-shadow: 0 18px 48px rgba(33,39,75,.035); }
.create1-app .generation-details dl { grid-template-columns: 1fr 1fr; row-gap: 16px; font-size: 12px; }
.create1-app .generation-details dt { color: #11152b; font-weight: 800; }
.create1-app .generation-details dd { color: #5d6591; text-align: right; }
.suggestion-card .suggestion-box {
  grid-template-columns: 1fr 36px;
  align-items: center;
  margin-top: 0;
  padding: 12px;
  border-radius: 8px;
  background: #f5f2ff;
}
.suggestion-card textarea {
  min-height: 66px;
  padding: 0;
  border: 0;
  background: transparent;
}
.suggestion-card button {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 1px solid #6d43ff;
  border-radius: 8px;
  background: #fff;
  color: #6d43ff;
}
.suggestion-card p { margin: 14px 0 0; color: #6d7893; font-size: 12px; }
.lightbox[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10,12,22,.92); display: grid; place-items: center; padding: 28px; }
.lightbox img { max-width: min(88vw, 1200px); max-height: 88vh; border-radius: 14px; object-fit: contain; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; font-size: 28px; }
.lightbox-nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 32px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.create-shell { min-height: 100vh; display: grid; grid-template-columns: 280px minmax(720px, 1fr) 390px; background: linear-gradient(180deg, #fbfbff, #f7f8fd); color: var(--ink); }
.create-side { position: sticky; top: 0; height: 100vh; padding: 30px 22px; border-right: 1px solid rgba(226,229,239,.86); background: rgba(255,255,255,.78); display: flex; flex-direction: column; gap: 26px; }
.create-side-card { padding: 24px 18px; border-radius: 14px; background: radial-gradient(circle at 20% 0, rgba(134,112,255,.16), transparent 58%), rgba(255,255,255,.78); border: 1px solid rgba(226,229,239,.88); box-shadow: 0 20px 50px rgba(45,51,84,.06); }
.create-kicker, .create-section-label { display: inline-block; margin-bottom: 10px; color: #7256ff; font-size: 11px; font-weight: 850; letter-spacing: .22em; text-transform: uppercase; }
.create-side-card h1 { margin: 0; font-size: 31px; line-height: 1.08; letter-spacing: 0; }
.create-side-card p { margin: 16px 0 0; color: #64708b; line-height: 1.62; font-size: 14px; }
.create-nav { display: grid; gap: 8px; }
.create-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 10px; color: #68718a; font-weight: 750; }
.create-nav a.active, .create-nav a:hover { color: #141825; background: rgba(244,245,251,.96); }
.create-credit { margin-top: auto; padding: 20px; }
.create-workspace { padding: 0 34px 42px; }
.create-topline { position: sticky; top: 0; z-index: 5; height: 82px; display: flex; justify-content: space-between; align-items: center; margin: 0 -34px 28px; padding: 0 34px; border-bottom: 1px solid rgba(226,229,239,.86); background: rgba(250,251,255,.86); backdrop-filter: blur(16px); }
.create-steps { display: flex; align-items: center; gap: 10px; color: #9199ad; font-size: 13px; font-weight: 750; }
.create-steps span { padding: 8px 12px; border: 1px solid rgba(226,229,239,.86); border-radius: 999px; background: rgba(255,255,255,.62); }
.create-steps span.on { color: #111525; border-color: rgba(117,86,255,.25); background: rgba(246,243,255,.9); }
.create-panel { margin-bottom: 18px; padding: 24px; border: 1px solid rgba(226,229,239,.9); border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: 0 18px 55px rgba(38,44,76,.055); }
.create-panel-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 18px; }
.create-panel h2 { margin: 0; font-size: 22px; letter-spacing: 0; }
.create-upload-panel { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
.create-drop { min-height: 270px; border: 1px dashed #cfd5e6; border-radius: 12px; display: grid; place-items: center; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(247,248,253,.72)); cursor: pointer; overflow: hidden; }
.create-drop .drop-empty { display: grid; justify-items: center; gap: 10px; color: #65708a; }
.create-drop .drop-empty strong { color: #151927; font-size: 18px; }
.create-drop .drop-empty small { font-size: 13px; }
.create-drop img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; display: none; }
.create-drop.has-image img { display: block; }
.create-drop.has-image .drop-empty { display: none; }
.create-reference img { width: 100%; height: 270px; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 52px rgba(33,38,70,.12); }
.segmented { display: inline-flex; gap: 0; padding: 0; border-radius: 9px; background: #fff; border: 1px solid #e6e9f3; overflow: hidden; }
.segmented button, .segmented label { min-height: 42px; min-width: 150px; padding: 0 18px; border: 0; border-radius: 0; background: transparent; color: #69728a; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 900; cursor: pointer; }
.segmented label + label { border-left: 1px solid #e6e9f3; }
.segmented button.active, .segmented label:has(input:checked) { background: #fff; color: #6d43ff; box-shadow: inset 0 0 0 1px rgba(111,72,255,.72); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.create-option-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.create-option-grid.col-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.create-option-grid.col-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.create-option-grid.col-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.create-option { position: relative; min-height: 104px; padding: 16px; border: 1px solid rgba(220,224,236,.92); border-radius: 9px; background: #fff; display: grid; align-content: center; justify-items: center; gap: 8px; text-align: center; cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.create-option:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(40,46,78,.08); }
.create-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.create-option:has(input:checked) { border-color: rgba(111,72,255,.82); box-shadow: 0 0 0 2px rgba(111,72,255,.08); }
.create-option:has(input:checked):after { content: "✓"; position: absolute; right: -8px; top: -8px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #6d43ff; font-size: 12px; font-weight: 900; }
.create-option strong { font-size: 13px; line-height: 1.25; }
.create-option.image { padding: 0; min-height: 0; align-content: start; border: 0; background: transparent; gap: 6px; }
.create-option.image:has(input:checked) { box-shadow: none; }
.create-option.image img { width: 100%; height: 74px; object-fit: cover; border: 1px solid transparent; border-radius: 8px; background: #f8f9fd; margin: 0 auto; box-shadow: 0 10px 24px rgba(49,55,88,.06); display: block; }
.create-option.image:has(input:checked) img { border-color: rgba(111,72,255,.86); box-shadow: 0 0 0 2px rgba(111,72,255,.1); }
.create-option.image strong { color: #59628a; font-size: 13px; line-height: 1.18; font-weight: 400; }
.create-final-panel { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }
.create-final-panel textarea { width: 100%; min-height: 112px; resize: vertical; padding: 14px; border: 1px solid rgba(220,224,236,.92); border-radius: 10px; background: rgba(255,255,255,.86); font: inherit; }
.create-toggles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.create-toggles label { display: inline-flex; gap: 8px; align-items: center; padding: 9px 12px; border-radius: 999px; background: #f4f6fb; color: #59647c; font-size: 13px; }
.create-counts { width: 100%; margin-bottom: 16px; justify-content: center; }
.create-counts label { flex: 1; justify-content: center; }
.create-results { position: sticky; top: 0; height: 100vh; padding: 110px 26px 34px; border-left: 1px solid rgba(226,229,239,.86); background: rgba(255,255,255,.7); overflow: auto; }
.result-head { margin-bottom: 18px; }

.ci { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex: 0 0 auto; color: #6d46ff; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(238,234,255,.9)); border: 1px solid rgba(128,105,255,.13); box-shadow: 0 14px 30px rgba(86,72,155,.12), inset 0 0 0 4px rgba(255,255,255,.52); }
.ci:before { font-size: 17px; line-height: 1; }
.ci-studio:before { content: "✣"; }
.ci-compare:before { content: "◐"; }
.ci-gallery:before { content: "▦"; }
.ci-profile:before { content: "◎"; }
.ci-upload { width: 58px; height: 58px; }
.ci-upload:before { content: "↑"; font-size: 26px; }
.ci-male:before { content: "M"; font-weight: 900; font-size: 13px; }
.ci-female:before { content: "F"; font-weight: 900; font-size: 13px; }
.create1-app [data-gender-tabs] .ci-male:before { content: "♂"; font-size: 23px; }
.create1-app [data-gender-tabs] .ci-female:before { content: "♀"; font-size: 23px; color: #ff2aa2; }
.ci-spark:before { content: "✦"; }
.ci-neutral:before { content: "─"; font-weight: 900; }
.ci-smile:before { content: "⌣"; font-size: 22px; }
.ci-intense:before { content: "◇"; }
.ci-none:before { content: "×"; }
.ci-outside:before { content: "☼"; }
.ci-office:before { content: "⌂"; }
.app-sidebar-nav .ci,
.app-sidebar-theme .ci {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: currentColor;
}
.app-sidebar-nav .ci:before,
.app-sidebar-theme .ci:before { font-size: 20px; font-weight: 400; }
.ci-home:before { content: "⌂"; }
.ci-usecases:before { content: "▱"; }
.ci-history:before { content: "◷"; }
.ci-settings:before { content: "⚙"; }
.ci-moon:before { content: "☾"; }
.ci-logout:before { content: "↪"; }

.auth-page {
  min-height: 100vh;
  height: 100vh;
  padding: 0;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(166,155,255,.12), transparent 34rem),
    linear-gradient(180deg, #fbfbff, #f8f8fc);
}
.auth-frame {
  width: 100%;
  height: 100vh;
  min-height: 0;
  border-radius: 0;
  border: 0;
  background:
    radial-gradient(circle at 88% 47%, rgba(255,255,255,.9), transparent 19rem),
    radial-gradient(circle at 42% 46%, rgba(255,255,255,.75), transparent 22rem);
  box-shadow: none;
  padding: 28px 34px;
  position: relative;
  overflow: hidden;
}
.auth-frame:before {
  content: "";
  position: absolute;
  left: -220px;
  right: -60px;
  bottom: -245px;
  width: auto;
  height: 500px;
  border-radius: 58% 58% 0 0;
  background:
    radial-gradient(ellipse at 22% 68%, rgba(255,255,255,.98) 0 7%, transparent 8%),
    conic-gradient(from 250deg at 44% 88%,
      transparent 0 5%,
      rgba(128,105,255,.18) 7%,
      rgba(255,255,255,.96) 10%,
      rgba(142,226,255,.24) 13%,
      rgba(255,255,255,.9) 16%,
      rgba(157,126,255,.24) 20%,
      transparent 27% 100%);
  filter: blur(.15px);
  transform: rotate(-4deg);
  pointer-events: none;
  opacity: .98;
}
.auth-frame:after {
  content: "";
  position: absolute;
  left: -260px;
  right: -90px;
  bottom: -205px;
  width: auto;
  height: 430px;
  border-radius: 58% 58% 0 0;
  border-top: 2px solid rgba(255,255,255,.92);
  border-right: 0;
  border-left: 0;
  border-bottom: 0;
  box-shadow:
    0 -12px 32px rgba(132,112,255,.13),
    inset 0 16px 24px rgba(255,255,255,.78),
    inset 0 24px 0 rgba(152,210,255,.08);
  transform: rotate(-5deg);
  pointer-events: none;
  opacity: .9;
}
.auth-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.auth-grid {
  min-height: calc(100vh - 72px);
  height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 600px 630px;
  gap: 100px;
  justify-content: center;
  align-items: start;
  position: relative;
  z-index: 1;
}
.auth-card {
  min-height: 724px;
  margin-top: 66px;
  padding: 46px 64px;
  border-radius: 22px;
  text-align: center;
  display: grid;
  align-content: center;
  border: 1px solid rgba(255,255,255,.74);
  background:
    radial-gradient(circle at 50% -6%, rgba(151,127,255,.16), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.88));
  box-shadow: 0 32px 90px rgba(33,38,70,.12), 0 1px 0 rgba(255,255,255,.92) inset;
}
.auth-orb {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: #111525;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  background: radial-gradient(circle at 34% 24%, #fff, #ece9ff 34%, #a797ff 66%, #8ee5ff);
  box-shadow: 0 20px 45px rgba(123, 97, 255, .2);
}
.auth-orb img { width: 40px; height: 40px; object-fit: contain; }
.auth-orb span { font-size: 28px; }
.auth-copy { max-width: 540px; margin-top: 106px; padding-left: 0; transform: none; }
.auth-copy .title { font-size: clamp(42px, 4.35vw, 56px); line-height: 1.12; margin-top: 22px; }
.auth-copy .lead { max-width: 390px; font-size: 17px; line-height: 1.65; margin-top: 24px; }
.auth-copy-signup { display: none; }
.auth-benefits { display: grid; gap: 28px; margin-top: 44px; max-width: 430px; }
.auth-benefits div { display: grid; grid-template-columns: 64px 1fr; column-gap: 24px; align-items: start; }
.auth-benefits span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6d46ff;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(238,234,255,.9));
  border: 1px solid rgba(128,105,255,.13);
  box-shadow: 0 18px 38px rgba(86,72,155,.14), inset 0 0 0 5px rgba(255,255,255,.56);
  grid-row: 1 / span 2;
}
.auth-benefits strong { display: block; margin-bottom: 8px; font-size: 16px; }
.auth-benefits p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.auth-visual { display: none; }
.auth-review { position: absolute; left: 34px; bottom: 34px; width: 220px; padding: 22px; border-radius: 14px; background: rgba(255,255,255,.86); box-shadow: 0 22px 60px rgba(35,40,66,.12); }
.auth-review span { color: #f1ab28; letter-spacing: 2px; }
.auth-review p { color: #34394a; font-size: 13px; line-height: 1.5; }
.auth-review strong { font-size: 12px; }
body:has([data-mode="signup"].active) .auth-grid { grid-template-columns: 560px 650px; gap: 118px; align-items: start; }
body:has([data-mode="signup"].active) .auth-copy-signin,
body:has([data-mode="signup"].active) .auth-visual { display: none; }
body:has([data-mode="signup"].active) .auth-copy-signup { display: block; margin-top: 106px; transform: none; }
body:has([data-mode="signup"].active) .auth-copy .title { font-size: clamp(44px, 4vw, 58px); line-height: 1.08; letter-spacing: 0; }
body:has([data-mode="signup"].active) .auth-copy .lead { max-width: 455px; margin-top: 24px; font-size: 17px; color: #53607d; }
body:has([data-mode="signup"].active) .auth-card {
  grid-column: 2;
  padding: 38px 52px 34px;
}
body:has([data-mode="signup"].active) .auth-card h2 { margin: 0 0 8px; font-size: 32px; line-height: 1.1; }
body:has([data-mode="signup"].active) .auth-card .form-note { margin: 0 0 24px; }
body:has([data-mode="signup"].active) .google-btn { min-height: 56px; border-color: rgba(190,196,214,.7); background: rgba(255,255,255,.74); box-shadow: 0 10px 24px rgba(36,44,75,.04); }
body:has([data-mode="signup"].active) .divider { margin: 22px 0 20px; }
body:has([data-mode="signup"].active) .form { gap: 14px; }
body:has([data-mode="signup"].active) .form label { gap: 9px; color: #111525; }
body:has([data-mode="signup"].active) .form input { min-height: 54px; border-color: rgba(194,199,217,.76); border-radius: 11px; background: rgba(255,255,255,.78); box-shadow: 0 1px 0 rgba(255,255,255,.84) inset; }
body:has([data-mode="signup"].active) .form input:focus { border-color: rgba(111,72,255,.58); box-shadow: 0 0 0 4px rgba(111,72,255,.09); outline: 0; }
body:has([data-mode="signup"].active) .code-row .btn { min-height: 54px; border-color: rgba(111,72,255,.22); color: #5f39e8; background: rgba(246,243,255,.88); }
body:has([data-mode="signup"].active) .password-rules span { min-height: 34px; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; background: rgba(247,248,252,.88); color: #68718c; white-space: normal; }
body:has([data-mode="signup"].active) .terms-row { margin-top: 2px; justify-content: flex-start; }
body:has([data-mode="signup"].active) .btn.violet { min-height: 56px; margin-top: 4px; border: 0; color: #fff; background: linear-gradient(135deg, #7d39ff, #5b36f4 48%, #713cff); box-shadow: 0 18px 36px rgba(93,55,238,.24); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; text-align: left; }
.form input { border: 1px solid #dfe2ec; border-radius: 9px; min-height: 46px; padding: 0 14px; background: #fff; }
.form-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.mode { display: none; }
.mode.active { display: block; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.divider:before, .divider:after { content: ""; height: 1px; background: var(--line); flex: 1; }
.google-btn { gap: 18px; }
.google-btn img { width: 22px; height: 22px; }
.auth-row, .terms-row { display: flex !important; grid-template-columns: none !important; align-items: center !important; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px !important; font-weight: 400 !important; }
.auth-row label, .terms-row { display: flex !important; }
.auth-row input, .terms-row input { min-height: auto; }
.auth-row a, .terms-row a { color: var(--violet); }
.terms-copy { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.terms-copy a { color: var(--violet); }
.code-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.signup-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.password-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; color: #8a91a4; font-size: 12px; text-align: left; }
.confirm-field { display: none !important; }
.reset-grid .auth-card { align-content: center; }
.reset-card h1, .auth-card h2, .reset-card .form-note { text-align: center; }
.reset-card .serif { margin: 0 0 8px; font-size: 32px; line-height: 1.1; }
.reset-card .form { margin-top: 24px; }
.center-link { display: block; text-align: center; }
.notice { display: none; padding: 12px 14px; border-radius: 8px; background: var(--soft); color: #4e43a0; font-size: 14px; margin-bottom: 14px; }
.notice.show { display: block; }
.legal-page { padding: 30px 0 72px; }
.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 38px;
  padding: 28px 0 22px;
}
.legal-hero .title {
  margin: 10px 0 12px;
  max-width: 850px;
  font-size: clamp(42px, 5vw, 66px);
}
.legal-hero .lead {
  color: #59647c;
  font-size: 17px;
}
.legal-summary {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 85% 8%, rgba(137,101,255,.20), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(250,248,255,.92));
  box-shadow: 0 24px 70px rgba(44,38,86,.09);
}
.legal-summary:after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -58px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(111,67,255,.16);
  box-shadow: inset 0 0 50px rgba(255,255,255,.72);
}
.legal-summary span {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(111,67,255,.08);
  color: #6d43ff;
  font-size: 12px;
  font-weight: 700;
}
.legal-summary strong {
  display: block;
  margin: 18px 0 10px;
  color: #11152b;
  font-size: 20px;
  line-height: 1.22;
}
.legal-summary p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #59647c;
  font-size: 13px;
  line-height: 1.65;
}
.legal-jump {
  position: sticky;
  top: 12px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid rgba(232,235,245,.9);
  border-radius: 14px;
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 45px rgba(32,37,56,.045);
}
.legal-jump a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #59647c;
  background: #fff;
  border: 1px solid #eceef7;
  font-size: 13px;
}
.legal-jump a:hover { color: #6d43ff; border-color: rgba(109,67,255,.28); }
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  counter-reset: legal-section;
}
.legal-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 26px 26px 24px;
  border-color: rgba(232,235,245,.95);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  box-shadow: 0 18px 54px rgba(33,39,75,.045);
  counter-increment: legal-section;
}
.legal-card:before {
  content: counter(legal-section, decimal-leading-zero);
  position: absolute;
  right: 22px;
  top: 18px;
  color: rgba(109,67,255,.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
  pointer-events: none;
}
.legal-card-wide { grid-column: 1 / -1; }
.legal-card h2 {
  max-width: calc(100% - 62px);
  margin: 0 0 14px;
  color: #11152b;
  font-size: 18px;
  line-height: 1.25;
}
.legal-card p,
.legal-card li {
  color: #59647c;
  font-size: 14px;
  line-height: 1.75;
}
.legal-card p { margin: 0; }
.legal-card p + p,
.legal-card .legal-note,
.legal-card ul { margin-top: 12px; }
.legal-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.legal-card li {
  position: relative;
  padding-left: 24px;
}
.legal-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #6d43ff;
}
.legal-warning {
  margin-top: 14px !important;
  padding: 14px 16px;
  border: 1px solid rgba(111,67,255,.16);
  border-left: 4px solid #6d43ff;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(111,67,255,.09), rgba(255,255,255,.72));
  color: #3f356f !important;
}
.legal-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid #eceef7;
  border-radius: 12px;
  background:
    radial-gradient(circle at 90% 12%, rgba(109,67,255,.08), transparent 28%),
    #fafbff;
}
.legal-note p {
  padding: 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.82);
}
.profile-page { padding-top: 36px; padding-bottom: 54px; }
.profile-hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; text-align: left; }
.profile-actions { display: flex; gap: 12px; }
.profile-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; padding: 28px; margin-bottom: 24px; }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.profile-card { padding: 26px; }
.profile-card-wide { grid-column: 1 / -1; }
.profile-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.profile-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(116,76,255,.08); color: #744cff; font-size: 12px; font-weight: 800; }
.profile-list { display: grid; gap: 14px; margin: 0; }
.profile-list div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(226,229,239,.86); }
.profile-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.profile-list dt { color: #6c7690; }
.profile-list dd { margin: 0; color: #141825; font-weight: 700; text-align: right; }
.profile-password-form { margin-top: 20px; }
.profile-modal[hidden] { display: none !important; }
.profile-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.profile-modal-backdrop { position: absolute; inset: 0; background: rgba(17,21,37,.44); backdrop-filter: blur(6px); }
.profile-modal-card { position: relative; z-index: 1; width: min(520px, calc(100vw - 32px)); padding: 24px; }
.profile-table-wrap { overflow-x: auto; }
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table th, .profile-table td { padding: 14px 12px; border-bottom: 1px solid rgba(226,229,239,.86); text-align: left; font-size: 13px; }
.profile-table th { color: #6c7690; font-weight: 700; }
.profile-activity { display: grid; gap: 12px; }
.profile-activity-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(226,229,239,.86); }
.profile-activity-row:last-child { border-bottom: 0; }
.profile-activity-row small { color: #8690a8; }
.profile-app .app-sidebar { grid-template-rows: auto 1fr auto auto auto; }
.app-sidebar-upgrade {
  display: grid;
  gap: 10px;
  margin: 0 2px;
  padding: 18px 16px;
  border: 1px solid #eceef7;
  border-radius: 9px;
  background: linear-gradient(180deg, #fff, #f8f5ff);
  color: #5f42ed;
  text-decoration: none;
}
.app-sidebar-upgrade strong { font-size: 13px; }
.app-sidebar-upgrade small { color: #6f789b; font-size: 11px; line-height: 1.45; }
.app-sidebar-upgrade span {
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #7835ff, #682af4);
  color: #fff;
  font-size: 11px;
}
.profile-dashboard-main { padding-top: 24px; }
.profile-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(360px, 1.08fr) minmax(400px, 1.28fr);
  gap: 16px;
}
.profile-app .profile-card {
  padding: 22px;
  border: 1px solid #eceef7;
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 48px rgba(33,39,75,.035);
}
.profile-app .profile-card-head h2,
.profile-help-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  color: #11152b;
}
.profile-app .profile-card-head .ci,
.profile-help-card .ci {
  width: 24px;
  height: 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.profile-person-card {
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  gap: 10px;
  min-height: 312px;
}
.profile-avatar-wrap { position: relative; width: 120px; height: 120px; }
.profile-avatar-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-avatar-wrap button {
  position: absolute;
  right: 6px;
  bottom: 4px;
  width: 34px;
  height: 34px;
  border: 1px solid #e6e9f3;
  border-radius: 50%;
  background: #fff;
  color: #11152b;
}
.profile-person-card h2 { margin: 2px 0 0; font-size: 18px; }
.profile-person-card p { margin: 0; color: #6d7893; font-size: 13px; }
.profile-person-card small { margin-top: 8px; color: #6d7893; line-height: 1.55; }
.profile-person-card small b { color: #3d4664; font-weight: 400; }
.profile-subscription-card { min-height: 312px; }
.profile-subscription-card h3 {
  margin: 0 0 8px;
  color: #6d43ff;
  font-size: 21px;
}
.profile-subscription-card > p { margin: 0 0 20px; color: #6d7893; font-size: 13px; }
.profile-list-box {
  padding: 14px 16px;
  border: 1px solid #eceef7;
  border-radius: 8px;
  background: #fff;
  gap: 10px;
}
.profile-list-box div { padding-bottom: 10px; }
.profile-primary-action {
  display: grid;
  place-items: center;
  min-height: 44px;
  margin-top: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7835ff, #682af4);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}
.profile-security-card { min-height: 312px; }
.profile-security-row {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #eceef7;
  background: transparent;
  text-align: left;
  color: #11152b;
}
.profile-security-row:last-child { border-bottom: 0; }
.profile-security-row b { display: block; margin-bottom: 5px; font-size: 13px; }
.profile-security-row small { color: #7a849d; font-size: 11px; }
.profile-security-row em { color: #6d43ff; font-style: normal; font-size: 12px; }
.profile-security-row em.success,
.profile-chip.success { color: #17a353; background: #e8f8ef; }
.profile-login-card {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.profile-login-card strong { font-size: 18px; }
.profile-login-card p,
.profile-login-card small { margin: 0; color: #6d7893; font-size: 13px; }
.profile-history-card { min-height: 260px; }
.profile-generated-card { min-height: 260px; }
.profile-text-btn {
  min-width: 68px;
  height: 32px;
  border: 1px solid #eceef7;
  border-radius: 999px;
  background: #fff;
  color: #6d43ff;
  font-size: 12px;
}
.profile-generated-table td:first-child { max-width: 270px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-panel { padding: 26px; }
.history-list { display: grid; gap: 12px; }
.history-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.history-pager button {
  min-width: 84px;
  height: 34px;
  border: 1px solid #e2e5f0;
  border-radius: 999px;
  background: #fff;
  color: #252b45;
  font-size: 12px;
  cursor: pointer;
}
.history-pager button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.history-pager span {
  color: #747d95;
  font-size: 12px;
}
.history-item {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 160px 80px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  min-height: 126px;
  border: 1px solid #e8ebf5;
  border-radius: 10px;
  background: rgba(255,255,255,.82);
}
.history-thumbs {
  display: grid;
  grid-template-columns: repeat(var(--history-count, 1), minmax(48px, 1fr));
  gap: 8px;
  width: 220px;
  height: 98px;
  align-items: center;
  justify-items: center;
}
.history-thumb {
  width: min(100%, 74px);
  height: 98px;
  border: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f5f2ff;
  color: #6d43ff;
  overflow: hidden;
  text-decoration: none;
  cursor: default;
}
.history-thumb.image { background: #f7f5fb; border: 1px solid rgba(109,67,255,.12); cursor: zoom-in; padding: 0; }
.history-thumb.load {
  border: 1px solid rgba(109,67,255,.16);
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(245,241,255,.9));
  color: #6d43ff;
  cursor: pointer;
  font-size: 12px;
}
.history-thumb.load:disabled { cursor: wait; opacity: .72; }
.history-thumbs[style*="--history-count:2"] .history-thumb { width: min(100%, 74px); }
.history-thumbs[style*="--history-count:3"] .history-thumb,
.history-thumbs[style*="--history-count:4"] .history-thumb { width: 100%; }
.history-thumb.empty { border: 1px dashed #e1e5f0; color: #a0a7ba; font-size: 12px; }
.history-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: #f7f5fb; }
.history-item strong { display: block; color: #11152b; font-size: 14px; }
.history-item small, .history-meta { display: block; color: #7a849d; font-size: 12px; line-height: 1.6; }
.history-chip {
  height: 28px;
  padding: 0 10px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 11px;
}
.history-chip.active { color: #4c2fd0; background: rgba(109,67,255,.1); }
.history-chip.expired { color: #8a6470; background: #f7edf1; }
.history-lightbox[hidden] { display: none !important; }
.history-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8,10,18,.72);
}
.history-lightbox img {
  max-width: min(92vw, 760px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  background: #f7f5fb;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.history-lightbox-close {
  position: fixed;
  right: 28px;
  top: 24px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #11152b;
  font-size: 24px;
  cursor: pointer;
}
.profile-payment-card { grid-column: 1 / span 2; min-height: 270px; }
.profile-help-card {
  min-height: 270px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,243,255,.96));
}
.profile-help-card p { color: #6d7893; font-size: 13px; line-height: 1.55; }
.profile-help-link {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 0;
  margin-top: 16px;
  border-top: 1px solid #eceef7;
  color: #59647c;
  font-size: 13px;
}

/* Final create1 pass: keep the studio layout close to the provided mockup. */
.create1-app .create-main { padding: 20px 28px 24px; }
.create1-app .create1-topbar { margin-bottom: 18px; }
.create1-app .create1-workspace { gap: 12px; }
.create1-app .create1-top-card { min-height: 140px; padding: 18px 28px; }
.create1-app .mode-cards { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
.create1-app .mode-card { grid-template-columns: 34px minmax(0, 1fr); min-height: 58px; padding: 10px 16px; }
.create1-app .mode-card strong,
.create1-app .mode-card small { white-space: nowrap; }
.create1-app .mode-card .mode-icon { width: 30px; height: 30px; }
.create1-app .upload-slot { min-height: 112px; gap: 7px; }
.create1-app .upload-slot b { font-weight: 700; }
.create1-app .upload-glyph {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #6d43ff;
}
.create1-app .upload-glyph:before { font-size: 30px; font-weight: 400; }
.create1-app .upload-glyph.ci-male:before { content: "♂"; color: #6d43ff; }
.create1-app .upload-glyph.ci-female:before { content: "♀"; color: #ff2aa2; }
.create1-app .create1-row { gap: 12px; }
.create1-app .create1-row-body { grid-template-columns: minmax(0, 1.72fr) minmax(400px, .82fr); }
.create1-app .create1-custom-panel { padding: 20px 24px; }
.create1-app .create1-custom-panel { min-height: 560px; }
.create1-app .create1-custom-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; margin-bottom: 18px; }
.create1-app .create1-style-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
}
.create1-app .style-options.create-config { gap: 16px; }
.create1-app .create-control-group { gap: 9px; }
.create1-app .create-control-head strong { font-size: 13px; }
.create1-app .create1-panel-head p,
.create1-app .create-control-head span {
  font-weight: 400;
}
.create1-app [data-gender-tabs] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 380px;
  height: 44px;
  padding: 0;
  border: 1px solid #e6e9f3;
  border-radius: 9px;
  background: #fff;
  overflow: visible;
}
.create1-app [data-gender-tabs] label {
  position: relative;
  min-width: 0;
  min-height: 42px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  color: #65708f;
  font-size: 14px;
  font-weight: 400;
}
.create1-app [data-gender-tabs] label + label { border-left: 1px solid #e6e9f3; }
.create1-app [data-gender-tabs] label:has(input:checked) + label { border-left-color: transparent; }
.create1-app [data-gender-tabs] label:has(input:checked) {
  color: #6d43ff;
  border: 1px solid rgba(111,72,255,.92);
  border-radius: 9px;
  box-shadow: none;
  z-index: 1;
}
.create1-app [data-gender-tabs] .ci {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: currentColor;
}
.create1-app .segmented.count-picker-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  overflow: visible;
  border: 0;
  background: transparent;
}
.create1-app .segmented.count-picker-group label {
  min-width: 0;
  width: auto;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid #e6e9f3;
  border-radius: 9px;
  font-weight: 400;
  color: #56617f;
}
.create1-app .segmented.count-picker-group label span { font-weight: 400; }
.create1-app .segmented.count-picker-group label:has(input:checked) { font-weight: 400; color: #6d43ff; }
.create1-app .create-option-grid { gap: 16px; }
.create1-app .create-option-grid.col-7 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  justify-content: stretch;
  gap: 16px;
}
.create1-app .create-option.image { gap: 7px; }
.create1-app .create-option.image img {
  width: 100%;
  height: auto;
  min-height: 110px;
  aspect-ratio: auto;
  object-fit: contain;
}
.create1-app .create-option.image.scene-option img {
  min-height: 0;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}
.create1-app .create-option.image strong {
  max-width: 100%;
  min-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.18;
}
.create1-app .create-control-group.is-disabled {
  opacity: .48;
}
.create1-app .create-control-group.is-disabled .create-control-head span:after {
  content: " Fixed for AI ID Photo";
  color: #8b91a7;
}
.create1-app .create-control-group.is-disabled .create-option {
  cursor: not-allowed;
}
.create1-app .create-control-group.is-disabled .create-option:hover {
  transform: none;
  box-shadow: none;
}
.create1-app .create-control-group.is-disabled input {
  cursor: not-allowed;
}
.create1-app .create-option:has(input:checked):after {
  right: -5px;
  top: -5px;
  width: 22px;
  height: 22px;
}
.create1-app .create1-tips-panel { padding: 22px 24px; }
.create1-app .create1-tips-panel .create1-panel-head { margin-bottom: 18px; }
.create1-app .create1-tips-panel .create1-panel-head h2 {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.create1-app .tips-list li {
  font-weight: 400;
}
.create1-app .why-box p { margin: 10px 0; }
.create1-app .create1-preview-panel { padding: 20px 24px; }
.create1-app .create1-footer-bar {
  position: static;
  min-height: 102px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(610px, auto);
  align-items: center;
  gap: 18px;
  box-shadow: 0 18px 48px rgba(33,39,75,.035);
}
.create1-app .advanced-box {
  width: 100%;
  max-width: 100%;
  background: #fafbff;
  border-color: #e8ebf5;
  border-radius: 8px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(210px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.create1-app .advanced-title {
  margin-bottom: 0;
  color: #59647c;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.create1-app .advanced-content {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  gap: 8px;
  justify-self: end;
  width: min(100%, 500px);
}
.create1-app .enhance-toggle {
  min-height: 44px;
  padding: 7px 9px;
  grid-template-columns: auto 1fr;
  gap: 8px;
  border: 1px solid #e6e9f3;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.create1-app .enhance-toggle input { width: 16px; height: 16px; accent-color: #6d43ff; }
.create1-app .enhance-toggle span { color: #252d46; font-size: 12px; font-weight: 400; line-height: 1.2; }
.create1-app .enhance-toggle small { display: none; color: #7a849d; font-size: 10px; line-height: 1.2; }
.create1-app .create1-generate-bar {
  display: grid;
  grid-template-columns: 240px 360px;
  grid-template-rows: 50px 22px;
  align-items: center;
  justify-content: end;
  column-gap: 18px;
  row-gap: 6px;
}
.create1-app .generate-meta {
  min-width: 0;
  display: contents;
}
.create1-app .estimate-box {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  height: 50px;
  border-radius: 8px;
  padding: 0 18px;
  white-space: nowrap;
}
.create1-app .estimate-box strong:before {
  content: "ϟ";
  margin-right: 12px;
  color: #ff9d1c;
  font-size: 18px;
}
.create1-app .generate-meta small,
.create1-app .generate-meta .status {
  text-align: center;
  margin: 0;
  font-size: 12px;
  color: #6f789b;
}
.create1-app .generate-meta small {
  grid-column: 2;
  grid-row: 2;
}
.create1-app .generate-meta .status { display: none; }
.create1-app .generate-wide {
  grid-column: 2;
  grid-row: 1;
  width: 360px;
  height: 50px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 18px 38px rgba(104,42,244,.2);
}
.create1-app .generate-wide.is-loading {
  opacity: 1;
  cursor: wait;
  background: linear-gradient(135deg, #6f48ff, #8f73ff 48%, #5d37ee);
  background-size: 180% 180%;
  animation: generateButtonPulse 1.25s ease-in-out infinite;
}
.create1-app .generate-wide.is-loading:before {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: -2px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  animation: generateButtonSpin .8s linear infinite;
}
@keyframes generateButtonPulse {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes generateButtonSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1050px) {
  .wrap { width: min(100% - 40px, 1180px); }
  .nav { display: none; }
  .hero, .auth-grid, .gallery-layout, .compare-feature, .compare-pricing-grid, .compare-choice, .compare-tldr, .pro-position, .simple-proof { grid-template-columns: 1fr; }
  .hero { height: auto !important; min-height: 0 !important; max-height: none !important; padding-top: 28px; }
  .hero-art { height: 480px !important; max-height: 480px !important; }
  .tool-strip, .compare-strip, .plans, .gallery-grid, .product-tools, .template-grid, .transformation-showcase { grid-template-columns: repeat(2, 1fr); }
  .pricing-compare-row { grid-template-columns: .75fr 1fr 1fr; }
  .pricing-compare-row span:nth-child(4) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); background: rgba(248,249,253,.72); }
  .pricing-compare-row.head span:nth-child(4) { background: transparent; border-color: rgba(255,255,255,.12); }
  .alternative-card { grid-template-columns: 62px minmax(0, 1fr) minmax(170px, .32fr); }
  .alt-action { grid-column: 2 / -1; justify-self: start; }
  .summary-grid { grid-template-columns: 1fr; }
  .simple-section-head, .simple-verdict { display: grid; align-items: start; }
  .simple-row { grid-template-columns: .75fr 1fr 1fr; }
  .simple-row span:nth-child(4) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); background: rgba(248,249,253,.72); }
  .simple-row.head span:nth-child(4) { background: transparent; border-color: rgba(255,255,255,.12); }
  .band, .cta-band, .footer-grid, .workflow, .metrics-row { grid-template-columns: 1fr 1fr; }
  .why-simple { grid-template-columns: 1fr; gap: 30px; }
  .why-simple-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar, .result-pane { display: none; }
  .studio-main { border-right: 0; padding: 0 22px 34px; }
  .studio-top { margin: 0 -22px 28px; padding: 0 22px; }
  .create-app { grid-template-columns: 1fr; }
  .create-cases { position: relative; height: auto; display: block; border-right: 0; padding: 20px; }
  .case-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .create-app { grid-template-columns: 1fr; }
  .app-sidebar { position: relative; height: auto; grid-template-rows: auto; }
  .app-sidebar-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .create-main { padding: 20px; }
  .create1-row-top, .create1-row-body, .generated-layout { grid-template-columns: 1fr; }
  .create1-app .advanced-box { grid-template-columns: 1fr; }
  .create1-app .advanced-content { justify-self: stretch; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .upload-slot-pair { grid-template-columns: 1fr; }
  .style-preview { display: block; }
  .generated-head { grid-template-columns: auto 1fr; }
  .generated-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .create-option-grid.col-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .generated-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rating-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .topbar { position: sticky; height: 72px; padding: 12px 0; align-items: center; flex-wrap: nowrap; row-gap: 0; }
  .topbar .brand-logo { width: 37px; height: 37px; }
  .brand { font-size: 15px; gap: 10px; letter-spacing: .2em; }
  .nav { display: none; }
  .topbar .actions { gap: 8px; }
  .topbar .actions .btn.primary { display: none; }
  .actions .btn.ghost { display: none; }
  .icon-btn.mobile-menu-btn,
  .icon-btn.mobile-account-btn,
  .topbar .actions .icon-btn.lang-btn { display: inline-flex; width: 38px; height: 38px; min-height: 38px; padding: 0; }
  .mobile-nav-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 80;
    min-width: 196px;
    display: none;
    padding: 8px;
    border: 1px solid rgba(226,229,240,.95);
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 22px 55px rgba(30,35,63,.14);
    backdrop-filter: blur(16px);
  }
  .mobile-nav-menu.open { display: grid; gap: 4px; }
  .mobile-nav-menu a {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 10px;
    color: #151925;
    font-size: 13px;
  }
  .mobile-nav-menu a:hover,
  .mobile-nav-menu a.active { background: rgba(111,67,255,.08); color: #6f43ff; }
  .title { font-size: 36px; line-height: 1.05; letter-spacing: 0; }
  .lead { font-size: 18px; line-height: 1.55; }
  .section { padding: 34px 0; }
  .kicker-row { display: block; }
  .kicker-row .btn { margin-top: 12px; }
  .hero { height: auto !important; min-height: 0 !important; max-height: none !important; padding: 26px 0 0; display: block; }
  .hero-copy .eyebrow { font-size: 12px; letter-spacing: .14em; margin-bottom: 14px; }
  .hero-copy .title { font-size: clamp(41px, 13vw, 54px); line-height: .98; }
  .hero-copy .title em { display: block; margin-top: 8px; font-size: .82em; }
  .hero-copy .lead { margin-top: 22px; font-size: 18px; line-height: 1.58; }
  .hero .actions { display: grid !important; grid-template-columns: 1fr; gap: 11px; margin-top: 24px !important; }
  .hero .actions .btn { width: 100%; min-height: 52px; justify-content: center; border-radius: 13px; font-size: 16px; }
  .trust-row { grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
  .hero-art { height: 390px !important; max-height: 390px !important; margin-top: 24px; overflow: hidden; border-radius: 22px; background: rgba(255,255,255,.36); }
  .hero-orbit { left: 50%; top: 8px; width: min(340px, 86vw); transform: translateX(-50%); }
  .hero-face { right: 50%; transform: translateX(50%); width: min(310px, 82vw); height: 390px; bottom: -20px; }
  .hero-proof { position: absolute; left: 16px; bottom: 14px; width: 230px; grid-template-columns: 1fr 1fr; }
  .proof-card { padding: 6px; border-radius: 10px; }
  .proof-card span { display: none; }
  .float-note { display: none; }
  .hero-proof { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 18px; }
  .tool-strip, .compare-strip, .plans, .gallery-grid, .faq, .band, .cta-band, .footer-grid, .upload-row, .product-tools, .template-grid, .workflow, .transformation-showcase, .why-simple, .why-simple-grid, .metrics-row, .logos, .compare-hero-metrics { grid-template-columns: 1fr; }
  .pricing-hero + .plans + .section .band { grid-template-columns: 1fr !important; }
  .legal-page { padding: 24px 0 44px; }
  .legal-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 0 12px;
  }
  .legal-hero .title { font-size: 38px; line-height: 1.08; }
  .legal-summary { padding: 18px; border-radius: 12px; }
  .legal-summary strong { font-size: 18px; }
  .legal-jump {
    position: static;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 14px;
    border-radius: 12px;
    scrollbar-width: none;
  }
  .legal-jump::-webkit-scrollbar { display: none; }
  .legal-jump a { flex: 0 0 auto; }
  .legal-grid { grid-template-columns: 1fr; gap: 12px; }
  .legal-card,
  .legal-card-wide { grid-column: auto; }
  .legal-card {
    min-height: 0;
    padding: 20px;
    border-radius: 12px;
  }
  .legal-card:before { right: 16px; top: 16px; font-size: 38px; }
  .legal-card h2 { max-width: calc(100% - 48px); font-size: 16px; }
  .legal-note { grid-template-columns: 1fr; }
  .compare-price-card { padding: 22px; }
  .compare-price-card h2 { font-size: 28px; }
  .compare-card-top, .compare-price-row { display: grid; }
  .compare-price-row span { text-align: left; }
  .pricing-compare-table { border-radius: 8px; }
  .pricing-compare-row { grid-template-columns: 1fr; }
  .pricing-compare-row span, .pricing-compare-row span:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); padding: 14px 16px; }
  .pricing-compare-row span:first-child { border-top: 0; background: rgba(248,249,253,.9); }
  .gallery-hero, .pricing-hero { padding: 28px 0 20px; }
  .gallery-hero .eyebrow, .pricing-hero .eyebrow { font-size: 12px; letter-spacing: .14em; }
  .gallery-hero .title, .pricing-hero .title { font-size: 38px; line-height: 1.08; }
  .pricing-hero .lead, .gallery-hero .lead { font-size: 17px; line-height: 1.55; }
  .plan-card, .mini-card, .tool-card, .compare-card, .gallery-card { border-radius: 12px; }
  .plan-card { padding: 24px; }
  .plan-card .price { font-size: 54px; }
  .features-list { gap: 10px; padding-top: 16px; }
  .pricing-compare-row.head span:first-child { background: transparent; }
  .choice-list div { grid-template-columns: 1fr; }
  .pro-benefits div { grid-template-columns: 1fr; }
  .compare-subscribe-cta { display: grid; }
  .simple-hero-actions { display: grid; }
  .simple-row { grid-template-columns: 1fr; }
  .simple-row span, .simple-row span:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); padding: 14px 16px; }
  .simple-row span:first-child { border-top: 0; background: rgba(248,249,253,.9); }
  .simple-row.head span:first-child { background: transparent; }
  .compare-list-head { display: grid; align-items: start; }
  .alternative-card { grid-template-columns: 1fr; gap: 14px; }
  .rank { width: 46px; height: 46px; }
  .alt-price { justify-items: start; text-align: left; }
  .alt-action { grid-column: auto; justify-self: stretch; }
  .why-simple { padding: 8px 0 24px; }
  .create-app { display: block; min-height: 100vh; }
  .app-sidebar {
    position: relative;
    top: auto;
    height: auto;
    padding: 14px 16px 12px;
    border-right: 0;
    border-bottom: 1px solid #ebeef7;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(14px);
    display: grid;
    grid-template-rows: auto auto;
    gap: 12px;
    overflow: hidden;
  }
  .sidebar-brand { margin: 0; }
  .sidebar-brand .brand-logo { width: 32px; height: 32px; }
  .app-sidebar-nav {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 4px;
    scrollbar-width: none;
  }
  .app-sidebar-nav::-webkit-scrollbar { display: none; }
  .app-sidebar-nav a,
  .app-sidebar-nav button {
    flex: 0 0 auto;
    width: 74px;
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
  }
  .app-sidebar-nav button[data-logout] { margin-top: 0; }
  .app-sidebar-nav button[data-logout]:before { display: none; }
  .app-sidebar-nav .ci { width: 20px; height: 20px; }
  .app-sidebar-nav .ci:before { font-size: 17px; }
  .app-sidebar-credit,
  .app-sidebar-theme { display: none; }
  .create-main,
  .create1-app .create-main { padding: 16px; }
  .create1-topbar,
  .create1-app .create1-topbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 0 14px;
  }
  .create1-title { font-size: 30px; line-height: 1.06; }
  .create1-subtitle { font-size: 13px; line-height: 1.45; font-weight: 400; }
  .create-account { justify-content: space-between; gap: 10px; }
  .create-account > span,
  .create-credit-link { height: 38px; padding: 0 12px; font-size: 12px; font-weight: 700; }
  .create-account img { width: 38px; height: 38px; }
  .create-bell { width: 36px; height: 36px; }
  .create1-shell,
  .create1-grid,
  .create1-row,
  .create1-row-body,
  .create1-app .create1-row-body,
  .create1-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
  }
  .create1-panel,
  .create1-app .create1-panel,
  .create1-app .panel,
  .create1-app .create1-custom-panel {
    min-width: 0;
    width: auto;
    max-width: 100%;
    justify-self: stretch;
    padding: 16px;
    border-radius: 12px;
  }
  .create1-app .create1-custom-panel { min-height: 0; }
  .create1-top-card,
  .create1-app .create1-top-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
    gap: 16px;
  }
  .create1-step + .create1-step {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid #eceef7;
    padding-top: 16px;
  }
  .create1-step,
  .create1-custom-content,
  .create1-side-stack,
  .create1-side-block,
  .create-control-group,
  .upload-slots,
  .upload-single-wrap,
  .tool-picker,
  .mode-cards {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .create1-app .create1-side-stack,
  .create1-app .create1-side-block,
  .create1-app .create1-tips-panel,
  .create1-app .create1-preview-panel {
    min-width: 0;
    width: auto;
    max-width: 100%;
    justify-self: stretch;
  }
  .portrait-select {
    min-height: 52px;
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 9px;
    padding: 0 12px;
  }
  .portrait-select em { display: none; }
  .mode-cards,
  .create1-app .mode-cards { grid-template-columns: 1fr; gap: 8px; }
  .mode-card,
  .create1-app .mode-card {
    border-radius: 9px;
    border: 1px solid #e7eaf4;
  }
  .mode-card:last-child { border-left: 1px solid #e7eaf4; }
  .upload-slot,
  .create1-app .upload-slot { min-height: 106px; }
  .create1-custom-grid,
  .create1-app .create1-custom-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 14px;
  }
  .create1-count-inline {
    min-height: 0;
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid #eceef7;
  }
  .create1-app [data-gender-tabs] { width: 100%; }
  .create1-app .create-option-grid { gap: 12px; }
  .create1-app .create-option-grid.col-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .create1-app .create-option.image img { min-height: 92px; max-height: 124px; }
  .create1-app .create-option.image.scene-option img { min-height: 0; max-height: none; }
  .create1-app .create-option.image strong { font-size: 12px; white-space: normal; min-height: 28px; }
  .create1-app .create1-footer-bar {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px;
    gap: 14px;
  }
  .create1-app .advanced-box {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }
  .create1-app .advanced-title { white-space: normal; }
  .create1-app .advanced-content {
    grid-template-columns: 1fr;
    justify-self: stretch;
    width: 100%;
  }
  .create1-app .create1-generate-bar {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    justify-content: stretch;
    gap: 10px;
  }
  .create1-app .generate-meta { display: grid; justify-items: stretch; gap: 8px; }
  .create1-app .estimate-box {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 46px;
  }
  .create1-app .generate-meta small {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
  }
  .create1-app .generate-wide {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }
  .generated-head,
  .create1-app .generated-head {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 12px;
    padding: 16px;
  }
  .generated-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
  }
  .generated-actions button { width: 100%; padding: 0 10px; }
  .generated-layout,
  .create1-app .generated-layout { grid-template-columns: 1fr; gap: 14px; }
  .generated-stage-card,
  .create1-app .generated-stage-card { padding: 16px; border-radius: 12px; }
  .create1-app .generated-tabs { overflow-x: auto; padding-bottom: 4px; }
  .generated-viewer { grid-template-columns: 1fr; }
  .viewer-arrow { display: none; }
  .generated-primary-hit { max-height: 72vh; }
  .generated-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rating-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .generation-details,
  .generation-side-card { padding: 18px; }
  .create1-app .generation-details dl { grid-template-columns: 1fr; row-gap: 8px; }
  .create1-app .generation-details dd { text-align: left; }
  .original-photos .source-small,
  .original-photos .original-grid.is-single .source-small { max-height: 320px; }
  .profile-dashboard-main { padding: 16px; }
  .profile-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .profile-app .profile-card,
  .history-panel {
    min-width: 0;
    width: auto;
    max-width: 100%;
    padding: 16px;
    border-radius: 12px;
    justify-self: stretch;
  }
  .app-sidebar-upgrade { display: none; }
  .profile-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }
  .profile-app .profile-card-head h2,
  .profile-help-card h2 { min-width: 0; font-size: 14px; }
  .profile-person-card {
    min-height: 0;
    padding-top: 20px;
  }
  .profile-avatar-wrap { width: 96px; height: 96px; }
  .profile-subscription-card,
  .profile-security-card,
  .profile-login-card,
  .profile-history-card,
  .profile-generated-card,
  .profile-payment-card,
  .profile-help-card {
    min-height: 0;
    grid-column: auto;
  }
  .profile-list-box { padding: 12px; }
  .profile-list div {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    align-items: start;
  }
  .profile-list dd { text-align: left; }
  .profile-security-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .profile-security-row i { display: none; }
  .profile-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .profile-table { min-width: 620px; }
  .profile-generated-table { min-width: 540px; }
  .history-list { gap: 10px; }
  .history-item {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }
  .history-thumbs {
    width: 100%;
    height: auto;
    min-height: 124px;
    grid-template-columns: repeat(var(--history-count, 1), minmax(0, 1fr));
    align-items: stretch;
  }
  .history-thumb,
  .history-thumbs[style*="--history-count:2"] .history-thumb,
  .history-thumbs[style*="--history-count:3"] .history-thumb,
  .history-thumbs[style*="--history-count:4"] .history-thumb {
    width: 100%;
    height: auto;
    min-height: 124px;
    aspect-ratio: 3 / 4;
  }
  .history-item strong { font-size: 13px; }
  .history-chip { justify-self: start; }
  .history-lightbox { padding: 16px; }
  .history-lightbox-close {
    right: 14px;
    top: 14px;
  }
  .style-grid, .style-options { grid-template-columns: 1fr; }
  .mode-cards { grid-template-columns: 1fr; }
  .create-option-grid.col-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-picker .case-card { grid-template-columns: 1fr; }
  .create1-topbar { display: grid; gap: 16px; }
  .create1-generate-bar { display: grid; grid-template-columns: 1fr; }
  .generate-meta { min-width: 0; }
  .create1-title { font-size: 34px; }
  .auth-page { min-height: 100vh; padding: 16px; }
  .auth-frame { min-height: auto; padding: 0; background: transparent; box-shadow: none; }
  .auth-frame:before, .auth-frame:after { display: none; }
  .auth-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 18px; }
  .auth-top .brand-logo { width: 38px; height: 38px; }
  .auth-top .form-note { display: none; }
  .auth-top .btn { min-height: 42px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
  .auth-grid, body:has([data-mode="signup"].active) .auth-grid { min-height: auto; height: auto; gap: 20px; grid-template-columns: 1fr; }
  .auth-copy, body:has([data-mode="signup"].active) .auth-copy-signup { display: none; }
  body:has([data-mode="signup"].active) .auth-visual { display: none; }
  body:has([data-mode="signup"].active) .auth-card { grid-column: auto; }
  .auth-card, body:has([data-mode="signup"].active) .auth-card { min-height: 0; margin-top: 0; padding: 26px 22px 24px; border-radius: 18px; align-content: start; }
  .auth-card h2 { font-size: 30px; margin: 0 0 8px; }
  .auth-card .form-note { margin: 0 0 18px; font-size: 14px; }
  .google-btn { min-height: 50px; gap: 12px; font-size: 15px; }
  .divider { margin: 17px 0; font-size: 12px; }
  .form { gap: 13px; }
  .form input { min-height: 50px; border-radius: 12px; font-size: 15px; }
  .auth-row { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; align-items: center !important; gap: 8px; }
  .auth-row label { display: inline-flex !important; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
  .auth-row label input { flex: 0 0 auto; }
  .auth-row a { white-space: nowrap; }
  .form .btn.violet { min-height: 52px; border-radius: 13px; font-size: 16px; }
  .terms-copy { font-size: 12px; line-height: 1.55; }
  .signup-pair, .code-row, .password-rules { grid-template-columns: 1fr; }
  .reset-card { width: 100%; }
  .reset-card .serif { font-size: 30px; }
  .steps { display: none; }
  .generated-viewer { grid-template-columns: 1fr; }
  .viewer-arrow { display: none; }
  .generated-strip, .rating-row, .original-grid { grid-template-columns: 1fr; }
  .profile-hero { display: grid; gap: 16px; }
  .profile-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px; }
  .profile-card { padding: 20px; }
  .profile-modal { padding: 16px; }
  .profile-modal-card { width: min(100%, 520px); padding: 20px; }
  .profile-list div, .profile-activity-row { display: grid; gap: 6px; }
  .profile-list dd { text-align: left; }
}
