:root {
  --bg: #050712;
  --bg-2: #080b16;
  --panel: rgba(8, 11, 22, 0.78);
  --panel-strong: rgba(10, 13, 28, 0.94);
  --line: rgba(233, 196, 106, 0.24);
  --line-strong: rgba(246, 227, 168, 0.64);
  --line-soft: rgba(255, 255, 255, 0.1);
  --gold: #e9c46a;
  --gold-2: #a87432;
  --gold-3: #f6e3a8;
  --text: #f7e8bd;
  --body: #d7d2dc;
  --muted: #b9b2c2;
  --muted-2: #7f839a;
  --blue: #152b64;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-support: 14px;
  --fs-md: 15px;
  --fs-body: 16px;
  --fs-lead: 20px;
  --fs-card-title: 20px;
  --fs-title-sm: 28px;
  --fs-section: clamp(34px, 3.2vw, 50px);
  --fs-hero: clamp(46px, 5vw, 78px);
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-section: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --header-h: 70px;
  --container: min(1360px, calc(100vw - 10vw));
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.26);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.34);
  --shadow-lg: 0 26px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 18%, rgba(233, 196, 106, 0.1), transparent 24rem),
    radial-gradient(circle at 18% 88%, rgba(76, 45, 115, 0.13), transparent 26rem),
    linear-gradient(180deg, #050712 0%, #080b16 52%, #050712 100%);
  font-family: var(--sans);
  letter-spacing: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 226, 164, 0.85) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(121, 165, 255, 0.55) 0 1px, transparent 1.4px);
  background-position:
    0 0,
    34px 55px;
  background-size:
    130px 130px,
    190px 190px;
  opacity: 0.11;
}

body::after {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

main,
section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

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

h1,
h2 {
  font-family: var(--serif);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: var(--header-h);
  padding: 0 4vw;
  color: var(--text);
  background: rgba(5, 7, 18, 0.7);
  border-bottom: 1px solid rgba(242, 197, 107, 0.16);
  backdrop-filter: blur(10px);
  transition:
    transform 280ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.site-header.scrolled,
.site-header.nav-active {
  background: rgba(5, 7, 18, 0.94);
  border-color: rgba(242, 197, 107, 0.24);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.site-header.hide {
  transform: translateY(calc(var(--header-h) * -1));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gold-3);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 39px;
  height: 39px;
  border: 1px solid var(--gold-2);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  inset: 7px;
  content: "";
  border: 1px solid rgba(242, 197, 107, 0.82);
  transform: rotate(45deg);
}

.brand-mark::after {
  border-radius: 50%;
  transform: rotate(0deg) scale(0.62);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 58px);
  color: #d7c9b1;
  font-size: var(--fs-md);
  font-weight: 800;
}

.nav-links a {
  position: relative;
  padding: 24px 0;
}

.nav-links a::after {
  position: absolute;
  right: 20%;
  bottom: 0;
  left: 20%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.language-button,
.login-button,
.menu-button,
.btn,
.choice-card,
.option-button,
.option-chip,
.segmented-control button,
.place-suggestions button,
.download-card,
.price-card button,
.mini-actions button {
  border: 1px solid var(--line);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.language-button,
.login-button,
.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 40px;
  color: var(--gold-3);
  background: rgba(8, 15, 36, 0.7);
  border-radius: var(--radius-pill);
  font-weight: 800;
}

.login-button {
  min-width: 108px;
  padding: 0 16px;
}

.menu-button {
  position: relative;
  display: none;
  min-width: 42px;
  width: 42px;
  padding: 0;
  border-radius: 50%;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -1px 0 0 -9px;
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button::before {
  position: absolute;
  transform: translateY(-6px);
}

.menu-button::after {
  position: absolute;
  transform: translateY(6px);
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(540px, 1.14fr);
  gap: 36px;
  align-items: center;
  min-height: min(820px, 94svh);
  padding: calc(var(--header-h) + 54px) 5vw 44px;
  overflow: clip;
}

.cosmic-orbit {
  display: none;
  position: absolute;
  width: 360px;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 197, 107, 0.22);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.65;
}

.cosmic-orbit::before,
.cosmic-orbit::after {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid rgba(242, 197, 107, 0.16);
  border-radius: 50%;
}

.cosmic-orbit::after {
  inset: 34%;
}

.orbit-left {
  top: 70px;
  left: -170px;
}

.orbit-right {
  right: -140px;
  bottom: 150px;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-copy {
  max-width: 640px;
}

.gold-kicker {
  margin: 0 0 var(--space-md);
  color: var(--gold);
  font-size: var(--fs-support);
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: var(--space-lg);
  color: var(--gold-3);
  font-size: var(--fs-hero);
  line-height: 1.13;
}

h1 span {
  display: block;
  margin-top: 8px;
  color: #fff7df;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.18;
}

.hero-text {
  max-width: 590px;
  margin-bottom: var(--space-xl);
  color: var(--body);
  font-size: var(--fs-lead);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: var(--radius-pill);
  font-weight: 900;
}

.btn.gold {
  color: #1d1423;
  background: linear-gradient(135deg, #fff1bc, #e8ae4f 48%, #b7792e);
  border-color: rgba(255, 232, 170, 0.8);
  box-shadow: 0 16px 42px rgba(231, 169, 75, 0.26);
}

.btn.outline {
  color: var(--gold-3);
  background: rgba(6, 14, 34, 0.55);
}

.btn:hover,
.choice-card:hover,
.option-button:hover,
.option-chip:hover,
.segmented-control button:hover,
.place-suggestions button:hover,
.download-card:hover,
.price-card button:hover,
.mini-actions button:hover,
.login-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-visual::before {
  position: absolute;
  inset: 10% 12%;
  z-index: -1;
  content: "";
  background: radial-gradient(circle, rgba(242, 197, 107, 0.22), transparent 62%);
  filter: blur(8px);
}

.hero-visual img {
  width: min(920px, 100%);
  margin-left: auto;
  filter: drop-shadow(0 30px 54px rgba(0, 0, 0, 0.46));
}

.feature-band,
.control-panel,
.result-panel,
.wallpaper-panel,
.pricing-panel,
.faq-grid article,
.trust-bar,
.site-footer {
  background: linear-gradient(180deg, rgba(10, 22, 52, 0.9), rgba(7, 17, 42, 0.76));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.feature-band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--space-xl);
  border-radius: var(--radius-lg);
}

.feature-band article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-items: center;
  min-height: 94px;
  padding: 20px 28px;
  border-right: 1px solid rgba(242, 197, 107, 0.24);
}

.feature-band article:last-child {
  border-right: 0;
}

.feature-icon,
.input-icon {
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(242, 197, 107, 0.08);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 900;
}

.feature-icon {
  width: 46px;
  height: 46px;
}

.steps-band .feature-icon {
  color: #1d1423;
  background: linear-gradient(135deg, #fff1bc, #d99a42);
  border-color: rgba(255, 232, 170, 0.78);
}

.feature-band h2 {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 18px;
}

.feature-band p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.example-marquee {
  display: grid;
  gap: 18px;
  padding: 44px 5vw 28px;
  overflow: visible;
  pointer-events: none;
  border-top: 1px solid rgba(242, 197, 107, 0.12);
  border-bottom: 1px solid rgba(242, 197, 107, 0.12);
}

.marquee-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  padding: 0 5vw;
  color: var(--muted);
  font-size: var(--fs-support);
}

.marquee-title span {
  color: var(--gold);
  font-weight: 900;
}

.marquee-title strong {
  color: var(--gold-3);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 34px);
}

.marquee-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(820px, 92vw);
  padding: 0;
  margin: 0 auto;
  animation: none;
}

.marquee-track img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid rgba(242, 197, 107, 0.28);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

@keyframes wallpaper-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.section {
  padding: var(--space-section) 5vw;
}

.section-heading,
.flow-title {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.flow-title h2,
.result h2 {
  margin-bottom: var(--space-sm);
  color: var(--gold-3);
  font-size: var(--fs-section);
  line-height: 1.14;
}

.section-heading p,
.flow-title p,
.result-phone > p:not(.gold-kicker) {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.8;
}

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

.choice-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: 390px;
  padding: 14px;
  color: var(--text);
  text-align: left;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 197, 107, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(12, 26, 60, 0.88), rgba(6, 14, 34, 0.82));
  border-radius: var(--radius-md);
  overflow: clip;
}

.choice-card img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  background: rgba(4, 10, 28, 0.55);
  border: 1px solid rgba(242, 197, 107, 0.22);
  border-radius: calc(var(--radius-md) - 5px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    var(--shadow-sm);
  filter: saturate(1.12) contrast(1.05);
}

.choice-card span {
  color: var(--gold-3);
  font-size: var(--fs-card-title);
  font-weight: 900;
}

.choice-card small {
  min-height: 48px;
  color: var(--muted);
  line-height: 1.7;
}

.choice-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  color: var(--gold-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 900;
}

.choice-card.active,
.option-button.active,
.option-chip.active,
.segmented-control button.active,
.place-suggestions button.active {
  background: linear-gradient(145deg, rgba(242, 197, 107, 0.18), rgba(9, 20, 49, 0.9));
  border-color: var(--line-strong);
  box-shadow:
    inset 0 0 24px rgba(242, 197, 107, 0.12),
    var(--shadow-sm);
}

.choice-card.active img {
  border-color: rgba(255, 232, 170, 0.46);
  box-shadow:
    0 0 0 1px rgba(255, 232, 170, 0.14),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.flow {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 20px);
  background:
    radial-gradient(circle at 5% 52%, rgba(31, 83, 161, 0.18), transparent 28rem),
    radial-gradient(circle at 95% 18%, rgba(31, 83, 161, 0.22), transparent 25rem);
}

.flow-privacy {
  max-width: 760px;
  margin: 8px auto 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 860px;
  padding: 0;
  margin: 0 auto 30px;
  list-style: none;
}

.progress-steps li {
  position: relative;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: var(--muted);
  font-weight: 800;
}

.progress-steps li::before {
  position: absolute;
  top: 19px;
  right: 50%;
  left: -50%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(242, 197, 107, 0.46));
}

.progress-steps li:first-child::before {
  display: none;
}

.progress-steps span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--gold-3);
  background: rgba(6, 14, 34, 0.9);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
}

.progress-steps .active span {
  color: #1d1423;
  background: var(--gold);
  box-shadow: 0 0 32px rgba(242, 197, 107, 0.5);
}

.progress-steps .done span {
  color: var(--gold-3);
  border-color: rgba(242, 197, 107, 0.48);
}

.creator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.control-panel,
.result-panel,
.wallpaper-panel,
.pricing-panel {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}

.panel-title,
.input-card-head {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.panel-title {
  margin-bottom: var(--space-lg);
}

.flow-step-kicker {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 900;
}

.flow-panel {
  display: none;
}

.flow-panel.active {
  display: block;
}

.flow-panel + .flow-panel {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.spark {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  background: conic-gradient(from 45deg, transparent, var(--gold), transparent, var(--gold), transparent);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.panel-title h3,
.input-card h4 {
  margin-bottom: 4px;
  color: var(--gold-3);
  font-size: 22px;
}

.input-card h4 {
  font-size: var(--fs-card-title);
}

.panel-title p,
.input-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-support);
  line-height: 1.7;
}

.input-system {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.input-card {
  display: grid;
  align-content: start;
  gap: var(--space-md);
  min-width: 0;
  padding: var(--space-md);
  background: rgba(5, 12, 31, 0.64);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}

.input-card:focus-within {
  border-color: var(--line-strong);
  box-shadow: inset 0 0 24px rgba(242, 197, 107, 0.08);
}

.input-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  font-size: var(--fs-sm);
}

.date-fields,
.time-fields,
.location-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
}

.time-fields {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 118px;
}

.location-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.combo-field {
  position: relative;
}

.location-combobox {
  position: relative;
  min-width: 0;
}

.location-combobox input[type="search"] {
  padding-right: 34px;
  font-weight: 900;
}

.location-combobox::after {
  position: absolute;
  top: 18px;
  right: 15px;
  width: 8px;
  height: 8px;
  content: "";
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  pointer-events: none;
  transform: rotate(45deg);
}

.location-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 30;
  display: none;
  max-height: 238px;
  padding: 6px;
  overflow-y: auto;
  background: rgba(4, 10, 28, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.location-combobox.open .location-options {
  display: grid;
  gap: 4px;
}

.location-option {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.location-option:hover,
.location-option:focus-visible {
  color: #1d1423;
  background: var(--gold);
  box-shadow: none;
  transform: none;
}

.location-option strong {
  font-size: var(--fs-support);
}

.location-option span {
  color: currentColor;
  opacity: 0.74;
  font-size: var(--fs-xs);
}

.location-option.empty {
  justify-content: flex-start;
  color: var(--muted);
  cursor: default;
}

.single-field {
  align-self: end;
}

.date-select-group,
.time-select-group {
  display: grid;
  gap: var(--space-xs);
  min-width: 0;
}

.date-select-group {
  grid-template-columns: 1.12fr 0.86fr 0.86fr;
}

.time-select-group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.date-select-group select,
.time-select-group select {
  min-width: 0;
  padding-right: 28px;
}

label {
  display: grid;
  gap: var(--space-xs);
  min-width: 0;
  color: var(--gold);
  font-size: var(--fs-support);
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(4, 10, 28, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 19px,
    calc(100% - 11px) 19px;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}

input:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(242, 197, 107, 0.12);
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-self: end;
  min-height: 44px;
  padding: 3px;
  background: rgba(4, 10, 28, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.segmented-control button {
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-weight: 900;
}

.place-card {
  grid-column: 1 / -1;
  gap: var(--space-sm);
}

.place-card {
  grid-template-columns: 1fr;
  align-items: start;
}

.place-card .input-card-head {
  align-self: start;
}

.place-field {
  margin-top: 2px;
}

.place-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.place-suggestions button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--muted);
  background: rgba(8, 17, 40, 0.72);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 900;
}

.option-group {
  margin-top: 0;
}

.option-group p {
  margin-bottom: var(--space-sm);
  color: var(--gold);
  font-size: 19px;
  font-weight: 900;
}

.option-group small {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
}

.option-button,
.option-chip,
.preference-button {
  min-height: 56px;
  padding: 0 var(--space-md);
  color: var(--text);
  background: rgba(8, 17, 40, 0.72);
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.option-button {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  justify-items: start;
  text-align: left;
}

.option-button svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  stroke-width: 2.2;
}

.preference-card {
  grid-column: 1 / -1;
}

.preference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
}

.preference-button {
  min-height: 48px;
  border: 1px solid rgba(246, 197, 111, 0.32);
  text-align: center;
}

.preference-button.active {
  border-color: rgba(246, 197, 111, 0.82);
  background: linear-gradient(135deg, rgba(246, 197, 111, 0.22), rgba(255, 255, 255, 0.05));
  box-shadow: 0 12px 30px rgba(246, 197, 111, 0.12);
}

.compact-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.compact-options p {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.route-recommendations {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 14px;
  margin: 0 0 8px;
  padding: 0;
  background: transparent;
  border: 0;
}

.route-recommendations > span {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.route-recommendation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-content: stretch;
  min-height: 300px;
  padding: 0;
  color: var(--body);
  text-align: left;
  background: rgba(5, 12, 31, 0.62);
  border: 1px solid rgba(242, 197, 107, 0.16);
  border-radius: var(--radius-md);
  overflow: clip;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.route-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 15.2;
  background-image:
    linear-gradient(180deg, rgba(3, 8, 23, 0), rgba(3, 8, 23, 0.08) 50%, rgba(3, 8, 23, 0.78)),
    var(--style-image);
  background-position: center top;
  background-size: cover;
  filter: saturate(1.08) contrast(1.03);
}

.route-recommendation strong {
  margin-top: -62px;
  padding: 0 12px;
  color: var(--gold-3);
  font-size: var(--fs-sm);
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58);
  z-index: 1;
}

.route-recommendation small {
  padding: 4px 12px 12px;
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.55;
  z-index: 1;
}

.route-recommendation.active {
  color: var(--text);
  background: rgba(242, 197, 107, 0.08);
  border-color: rgba(242, 197, 107, 0.34);
  box-shadow: inset 0 0 0 1px rgba(242, 197, 107, 0.12);
}

.option-chip {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 138px;
  padding: 12px;
  color: var(--text);
  text-align: left;
  background-image:
    linear-gradient(180deg, rgba(3, 8, 23, 0), rgba(3, 8, 23, 0.08) 46%, rgba(3, 8, 23, 0.82)),
    var(--style-image);
  background-position: center top;
  background-size: cover;
  border-color: rgba(242, 197, 107, 0.18);
  border-radius: var(--radius-md);
  font-size: var(--fs-support);
  box-shadow:
    inset 0 -54px 50px rgba(0, 0, 0, 0.26),
    0 14px 34px rgba(0, 0, 0, 0.2);
  filter: saturate(1.06) contrast(1.02);
}

.option-chip.active {
  background-image:
    linear-gradient(180deg, rgba(242, 197, 107, 0.04), rgba(3, 8, 23, 0.12) 42%, rgba(3, 8, 23, 0.84)),
    var(--style-image);
  border-color: var(--line-strong);
  box-shadow:
    inset 0 0 0 1px rgba(242, 197, 107, 0.2),
    inset 0 -58px 56px rgba(0, 0, 0, 0.3),
    var(--shadow-sm);
}

.style-step {
  display: grid;
  gap: var(--space-lg);
}

.style-step-intro {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: var(--fs-support);
  line-height: 1.75;
  text-align: center;
}

.style-step .route-recommendations {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.style-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.pricing-grid > .price-card:only-child {
  grid-column: 1 / -1;
  max-width: 460px;
  margin: var(--space-md) auto 0;
}

.confirm-panel .pricing-grid {
  margin-top: var(--space-md);
}

.privacy-note {
  margin-top: var(--space-md);
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.7;
}

.confirm-panel {
  display: grid;
  gap: var(--space-sm);
}

.confirm-panel h4 {
  margin: 0;
  color: var(--gold-3);
  font-family: var(--serif);
  font-size: 24px;
}

.confirm-panel > p {
  margin: 0;
  color: var(--body);
  line-height: 1.8;
}

.auto-visual-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.auto-visual-preview figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: rgba(5, 12, 31, 0.74);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}

.auto-visual-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 15.8;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03) contrast(1.02);
}

.auto-visual-preview figcaption {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.auto-visual-preview strong {
  color: var(--gold-3);
  font-size: var(--fs-support);
}

.auto-visual-preview span {
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.55;
}

.confirm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
}

.confirm-grid article,
.generation-note {
  padding: 14px;
  background: rgba(5, 12, 31, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
}

.confirm-grid span,
.generation-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 900;
}

.confirm-grid strong {
  color: #e7dfcf;
  font-size: var(--fs-md);
  line-height: 1.55;
}

.generation-note span {
  color: var(--body);
  font-size: var(--fs-support);
  line-height: 1.75;
}

.panel-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr) auto;
  gap: var(--space-md);
  align-items: center;
  margin-top: var(--space-lg);
}

.control-panel:not([data-step="3"]) .cta-price,
.control-panel:not([data-step="3"]) .redeem-inline,
.control-panel:not([data-step="3"]) #inlineCheckoutBtn {
  display: none;
}

.control-panel:not([data-step="3"]) .panel-actions {
  grid-template-columns: 1fr;
  justify-items: end;
}

#prevStepBtn {
  grid-column: 1 / -1;
  justify-self: start;
}

.control-panel[data-step="1"] #prevStepBtn {
  display: none;
}

.cta-price {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.cta-price strong {
  color: var(--gold-3);
  font-size: 22px;
}

.redeem-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-width: 0;
}

.redeem-inline input {
  min-height: 48px;
  min-width: 0;
  padding: 0 14px;
  color: var(--gold-3);
  background: rgba(5, 12, 31, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.redeem-inline input::placeholder {
  color: rgba(231, 218, 190, 0.52);
  letter-spacing: 0;
  text-transform: none;
}

.redeem-inline .btn {
  min-height: 48px;
  padding-inline: 20px;
  white-space: nowrap;
}

#generateBtn {
  min-width: 220px;
  min-height: 62px;
  padding-inline: 36px;
  font-size: 18px;
}

.result.is-generating .result-phone img {
  opacity: 0.56;
  filter: saturate(0.75) blur(1px);
}

.result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 30px;
  align-items: start;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.mobile-flow-actions {
  display: none;
}

.result-phone img {
  width: min(300px, 100%);
  margin: 22px auto 0;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.56));
}

.wallpaper-showcase {
  display: grid;
  gap: 10px;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 197, 107, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(9, 20, 48, 0.86), rgba(5, 12, 31, 0.74));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.wallpaper-showcase span {
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 900;
}

.wallpaper-showcase p {
  margin: 0;
  color: var(--body);
  font-size: var(--fs-support);
  line-height: 1.75;
}

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

.variant-choices[hidden] {
  display: none;
}

.variant-choice {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 8px;
  color: var(--body);
  text-align: left;
  background: rgba(5, 12, 31, 0.74);
  border: 1px solid rgba(233, 196, 106, 0.2);
  border-radius: var(--radius-sm);
}

.variant-choice img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  margin: 0;
  border-radius: 6px;
  filter: none;
}

.variant-choice span {
  color: var(--gold-3);
  font-size: var(--fs-xs);
  line-height: 1.3;
}

.variant-choice small {
  display: -webkit-box;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.variant-choice.active {
  border-color: var(--line-strong);
  box-shadow: inset 0 0 0 1px rgba(233, 196, 106, 0.18);
}

.variant-choice.loading {
  cursor: wait;
  opacity: 0.9;
}

.variant-choice-skeleton {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background:
    linear-gradient(105deg, transparent 0%, rgba(255, 230, 170, 0.18) 42%, transparent 72%),
    radial-gradient(circle at 50% 20%, rgba(242, 197, 107, 0.18), transparent 42%),
    rgba(9, 20, 48, 0.78);
  background-size: 220% 100%, 100% 100%, 100% 100%;
  animation: variant-loading 1.6s ease-in-out infinite;
}

@keyframes variant-loading {
  0% {
    background-position: 160% 0, 0 0, 0 0;
  }
  100% {
    background-position: -60% 0, 0 0, 0 0;
  }
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -10px -10px 18px;
  border-bottom: 1px solid var(--line);
}

.tabs button {
  min-height: 54px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

.tabs .active {
  color: var(--gold-3);
  border-bottom: 2px solid var(--gold);
}

.reading-box {
  padding: 26px;
  background: rgba(5, 12, 31, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.reading-box h3 {
  color: var(--gold-3);
}

dl {
  display: grid;
  gap: 0;
  margin: 0 0 var(--space-md);
}

dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--line-soft);
}

dt {
  color: var(--gold);
  font-weight: 900;
}

dd {
  margin: 0;
  color: #e7dfcf;
}

.reading-box p {
  margin-bottom: 0;
  color: #d7c9b1;
  line-height: 1.8;
}

.explanation-grid,
.why-list {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.why-list article,
.explanation-grid article {
  position: relative;
  padding: 16px 16px 16px 46px;
  background: linear-gradient(135deg, rgba(11, 21, 48, 0.84), rgba(9, 14, 32, 0.68));
  border: 1px solid rgba(217, 173, 94, 0.22);
  border-radius: var(--radius-sm);
}

.why-list article::before {
  position: absolute;
  top: 16px;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--gold);
  background: rgba(242, 197, 107, 0.12);
  border: 1px solid rgba(242, 197, 107, 0.4);
  border-radius: 50%;
  content: counter(why-item);
  counter-increment: why-item;
  font-size: 11px;
  font-weight: 900;
  line-height: 16px;
  text-align: center;
}

.why-list {
  counter-reset: why-item;
}

.why-list span,
.explanation-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 900;
}

.why-list p,
.explanation-grid p,
.timing-note {
  margin: 0;
  color: var(--body);
  font-size: var(--fs-support);
  line-height: 1.75;
}

.timing-note {
  margin-top: var(--space-sm);
  color: var(--muted);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.download-card {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: var(--space-sm) 18px;
  color: var(--gold-3);
  background: rgba(8, 17, 40, 0.8);
  border-radius: var(--radius-md);
  font-weight: 900;
}

.download-card small {
  color: var(--muted);
  font-weight: 700;
}

.download-card.primary {
  color: #1d1423;
  background: linear-gradient(135deg, #fff1bc, #d99a42);
}

.download-card.primary small {
  color: rgba(29, 20, 35, 0.72);
}

.gallery-pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}

.gallery-pricing > *,
.wallpaper-strip,
.pricing-grid {
  min-width: 0;
  max-width: 100%;
}

.wallpaper-panel h2,
.pricing-panel h2 {
  margin-bottom: var(--space-lg);
  color: var(--gold-3);
  font-family: var(--serif);
  text-align: center;
}

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

.wallpaper-strip img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.mini-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.mini-actions button,
.price-card button {
  min-height: 46px;
  padding: 0 18px;
  color: var(--gold-3);
  background: rgba(8, 17, 40, 0.85);
  border-radius: var(--radius-pill);
  font-weight: 900;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
}

.price-card {
  position: relative;
  min-height: 300px;
  padding: 22px;
  background: rgba(5, 12, 31, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(242, 197, 107, 0.18), rgba(5, 12, 31, 0.8));
  border-color: var(--line-strong);
  box-shadow: inset 0 0 28px rgba(242, 197, 107, 0.14);
}

.popular {
  position: absolute;
  top: -1px;
  right: -1px;
  padding: 7px 13px;
  color: #1d1423;
  background: var(--gold);
  border-radius: 0 var(--radius-md) 0 var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 900;
}

.price-card h3 {
  color: var(--gold-3);
  text-align: center;
}

.price {
  color: #fff0bf;
  font-size: 34px;
  font-weight: 900;
  text-align: center;
}

.price span {
  color: var(--muted);
  font-size: var(--fs-support);
}

.price-card ul {
  display: grid;
  gap: 9px;
  padding-left: 18px;
  color: #dfd5c0;
  line-height: 1.8;
}

.price-note {
  margin: 12px 0 0;
  color: var(--gold-3);
  font-size: var(--fs-support);
  line-height: 1.7;
  text-align: center;
}

.price-card button {
  width: 100%;
  margin-top: 10px;
}

.price-card.selected button,
.price-card.featured button {
  color: #1d1423;
  background: linear-gradient(135deg, #fff1bc, #d99a42);
}

.payment-trust {
  display: grid;
  gap: 4px;
  max-width: 540px;
  margin: var(--space-md) auto 0;
  padding: 14px 18px;
  color: var(--muted);
  text-align: center;
  background: rgba(5, 12, 31, 0.62);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  font-size: var(--fs-support);
  line-height: 1.65;
}

.payment-trust span:first-child {
  color: var(--gold-3);
  font-weight: 900;
}

.faq {
  padding-top: 30px;
}

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

.faq-grid article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.faq-grid h3 {
  margin-bottom: 10px;
  color: var(--gold-3);
  font-size: var(--fs-card-title);
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 5vw 50px;
  padding: 28px 36px;
  border-radius: var(--radius-lg);
}

.trust-bar article {
  display: grid;
  gap: 6px;
}

.trust-bar strong {
  color: var(--gold-3);
  font-family: var(--serif);
  font-size: 24px;
}

.trust-bar span {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 5vw;
  border-width: 1px 0 0;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  text-align: right;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 40px));
  padding: 13px 16px;
  color: var(--gold-3);
  background: rgba(5, 12, 31, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 5, 16, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.auth-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.auth-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  background: linear-gradient(180deg, rgba(10, 22, 52, 0.98), rgba(5, 12, 31, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--gold-3);
  background: rgba(8, 17, 40, 0.86);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.auth-form {
  display: grid;
  gap: var(--space-md);
}


.auth-form [hidden] {
  display: none !important;
}






.auth-state {
  margin-top: var(--space-md);
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(4, 10, 28, 0.72);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  font-size: var(--fs-support);
  line-height: 1.6;
}

.auth-logout {
  display: none;
  width: 100%;
  min-height: 42px;
  margin-top: var(--space-sm);
  color: #ffc4a8;
  background: rgba(255, 120, 90, 0.08);
  border: 1px solid rgba(255, 170, 120, 0.34);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 900;
}

.auth-modal.logged-in .auth-logout {
  display: block;
}

.auth-modal.logged-in .auth-form {
  display: none;
}


[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1100px) {
  .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
    --container: calc(100vw - 40px);
    --space-section: 54px;
    --mobile-action-h: 88px;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 12px);
  }

  body {
    padding-bottom: calc(var(--mobile-action-h) + env(safe-area-inset-bottom));
  }

  .site-header {
    grid-template-columns: auto auto;
    padding: 0 20px;
  }

  .header-tools {
    margin-left: auto;
  }

  .brand {
    font-size: 21px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 24px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    background: rgba(2, 6, 20, 0.96);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .language-button {
    min-width: 58px;
    min-height: 44px;
    padding: 0 12px;
    font-size: var(--fs-sm);
  }

  .login-button {
    min-width: 68px;
    min-height: 44px;
    padding: 0 12px;
    font-size: var(--fs-sm);
  }

  .menu-button {
    position: relative;
    display: inline-flex;
    min-width: 44px;
    width: 44px;
    height: 44px;
  }

  .hero,
  .creator-grid,
  .result,
  .gallery-pricing,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .result-panel {
    order: 1;
  }

  .result-phone {
    order: 2;
  }

  .result-phone img {
    width: min(260px, 82vw);
  }

  .wallpaper-showcase {
    padding: 16px;
  }

  .hero {
    gap: 22px;
    min-height: auto;
    padding: calc(var(--header-h) + 42px) 20px 26px;
  }

  h1 {
    font-size: clamp(40px, 11vw, 54px);
    line-height: 1.16;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions,
  .mini-actions {
    display: grid;
  }

  .feature-band,
  .theme-grid,
  .input-system,
  .place-card,
  .location-fields,
  .date-fields,
  .time-fields,
  .goal-grid,
  .download-grid,
  .pricing-grid,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .theme-grid {
    grid-template-columns: 1fr;
  }

  .marquee-title {
    display: grid;
    justify-items: center;
    gap: 4px;
    text-align: center;
  }

  .marquee-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(420px, 86vw);
    animation: none;
  }

  .marquee-track img {
    width: 100%;
    border-radius: 14px;
  }

  .choice-card {
    min-height: auto;
  }

  .choice-card img {
    aspect-ratio: 1.55;
  }

  .compact-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-recommendations {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .route-recommendation {
    min-height: 260px;
    scroll-snap-align: unset;
  }

  .option-chip {
    min-height: 132px;
  }

  .feature-band article {
    border-right: 0;
    border-bottom: 1px solid rgba(242, 197, 107, 0.18);
  }

  .feature-band article:last-child {
    border-bottom: 0;
  }

  .place-card .input-card-head {
    grid-row: auto;
  }

  .section {
    padding: var(--space-section) 20px;
  }

  .flow {
    padding-top: 26px;
  }

  .flow-title {
    margin-bottom: 18px;
  }

  .flow-title h2 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .flow-title p {
    font-size: 16px;
    line-height: 1.65;
  }

  .flow-privacy {
    margin-top: 6px;
    font-size: 13px;
  }

  .progress-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    padding-bottom: 0;
    margin-bottom: 18px;
  }

  .progress-steps li {
    min-width: 0;
    gap: 5px;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
  }

  .progress-steps li::before {
    display: none;
  }

  .progress-steps span {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .mobile-flow-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 70;
    display: none;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: var(--mobile-action-h);
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: rgba(2, 6, 20, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -18px 46px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }

  body.mobile-flow-active .mobile-flow-actions {
    display: grid;
  }

  .control-panel .panel-actions {
    display: none;
  }

  .control-panel[data-step="3"] .panel-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: stretch;
    margin-bottom: calc(var(--mobile-action-h) + 14px);
  }

  .control-panel[data-step="3"] #generateBtn {
    display: none;
  }

  .auto-visual-preview {
    display: grid;
    grid-auto-columns: minmax(168px, 63vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .auto-visual-preview figure {
    scroll-snap-align: start;
  }

  .redeem-inline {
    grid-template-columns: 1fr;
  }

  .mobile-flow-actions span {
    display: block;
    color: var(--muted);
    font-size: var(--fs-xs);
    font-weight: 900;
  }

  .mobile-flow-actions strong {
    display: block;
    color: var(--gold-3);
    font-size: var(--fs-md);
  }

  .mobile-flow-buttons {
    display: flex;
    gap: 8px;
  }

  #mobilePrevStepBtn {
    display: inline-flex;
  }

  .mobile-flow-buttons .btn {
    min-height: 46px;
    padding: 0 18px;
    white-space: nowrap;
  }

  .control-panel,
  .result-panel,
  .wallpaper-panel,
  .pricing-panel,
  .faq-grid article {
    padding: 20px;
  }

  .control-panel {
    padding-bottom: calc(var(--mobile-action-h) + 16px);
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .wallpaper-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: var(--space-xs);
  }

  .wallpaper-strip img {
    flex: 0 0 132px;
  }

  .trust-bar {
    margin: 0 20px 42px;
    padding: var(--space-lg);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }

  .toast {
    right: 20px;
    bottom: calc(var(--mobile-action-h) + 16px + env(safe-area-inset-bottom));
  }

  .auth-dialog {
    padding: 22px;
  }
}

/* ---------------------------------------------------------------------------
   排盘确认（两段式第一段）与每张候选图的解析
   --------------------------------------------------------------------------- */

.chart-panel {
  margin-bottom: var(--space-md);
  padding: 16px;
  background: rgba(6, 12, 30, 0.62);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}

.chart-head h4 {
  margin: 0 0 4px;
  color: var(--gold-2);
  font-size: 1.02rem;
}

.chart-head p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: var(--fs-support);
  line-height: 1.6;
}

.chart-grid {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.chart-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius-sm);
  font-size: var(--fs-support);
}

.chart-row span {
  flex: 0 0 86px;
  color: var(--muted);
}

.chart-row strong {
  color: #ffeec6;
  font-weight: 700;
}

.friendly-reading {
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
}

.friendly-reading h5 {
  margin: 0 0 10px;
  color: var(--gold-2);
  font-size: 1rem;
}

.friendly-sections {
  display: grid;
  gap: 10px;
}

.friendly-sections article span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-2);
  font-size: var(--fs-support);
  font-weight: 700;
}

.friendly-sections article p {
  margin: 0;
  color: rgba(255, 245, 225, 0.86);
  font-size: var(--fs-support);
  line-height: 1.7;
}

.friendly-takeaway {
  margin: 12px 0 0;
  padding: 10px 12px;
  color: #ffe1a8;
  background: rgba(255, 205, 100, 0.08);
  border-left: 3px solid var(--gold-2);
  border-radius: var(--radius-sm);
  font-size: var(--fs-support);
  line-height: 1.6;
}

.friendly-takeaway:empty {
  display: none;
}

.chart-status {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

#refreshChartBtn {
  margin-top: 10px;
}

.variant-readings {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.variant-reading {
  padding: 14px;
  text-align: left;
  background: rgba(6, 12, 30, 0.62);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}

.variant-reading header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.variant-reading header strong {
  color: var(--gold-2);
  font-size: var(--fs-support);
}

.variant-reading h6 {
  margin: 0 0 8px;
  color: #ffeec6;
  font-size: 0.98rem;
}

.variant-reading p {
  margin: 0 0 8px;
  color: rgba(255, 245, 225, 0.84);
  font-size: var(--fs-support);
  line-height: 1.7;
}

.variant-reading p b {
  margin-right: 6px;
  color: var(--gold-2);
}

.variant-reading .takeaway {
  color: #ffe1a8;
}

.reading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btn.small {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.8rem;
}

.price-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}
