:root {
  --bg: #fdf6f9;
  --bg-soft: #fff8fa;
  --elevated: #ffffff;
  --stroke: rgba(210, 170, 190, 0.35);
  --stroke-soft: rgba(210, 170, 190, 0.2);
  --text: #3a3238;
  --muted: #8a7d85;
  --muted-light: #a898a3;
  --accent-rose: #e891a8;
  --accent-blush: #fce4ec;
  --accent-lilac: #ede7f6;
  --accent-cream: #fff9f5;
  --accent-sky: #e8f4fc;
  --shadow: 0 12px 40px rgba(180, 130, 150, 0.1);
  --shadow-sm: 0 4px 24px rgba(180, 130, 150, 0.07);
  --radius-xl: 24px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --font: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

/* 确保 hidden 属性永远生效（避免被 .image-placeholder 等 display 样式覆盖） */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: linear-gradient(165deg, #fff8fb 0%, #fdf6f9 38%, #f5f0fc 100%);
}

/* 去掉深色网格，保持干净 */
body::before {
  display: none;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.mobile-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg-soft);
  box-shadow: 0 0 0 1px var(--stroke-soft);
}

.app-screen {
  padding: max(20px, env(safe-area-inset-top)) 18px calc(102px + env(safe-area-inset-bottom));
}

.ai-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255, 240, 245, 0.9);
  border: 1px solid rgba(232, 145, 168, 0.35);
  box-shadow: var(--shadow-sm);
}

.ai-disclaimer strong {
  font-weight: 800;
  color: #5c3d4a;
}

.ai-disclaimer p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.app-header,
.sub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.text-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-rose);
  padding: 8px 4px;
}

.app-header h1,
.sub-header h1 {
  margin: 6px 0 0;
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.mini-label,
.section-kicker,
.status-chip,
.hero-badge,
.tag,
.step-chip,
.list-badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.mini-label,
.step-chip,
.list-badge,
.pill {
  background: var(--elevated);
  color: var(--muted);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-sm);
}

.hero-badge,
.tag,
.pill.active {
  color: #8b4a62;
  background: linear-gradient(135deg, #ffeef5 0%, #fce8dc 100%);
  border: 1px solid rgba(232, 145, 168, 0.35);
  box-shadow: none;
}

.section-kicker {
  color: #b56584;
  background: rgba(232, 145, 168, 0.12);
  border: 0;
}

.icon-button,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 16px;
  background: var(--elevated);
  border: 1px solid var(--stroke-soft);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

.hero-card,
.card,
.gallery-card,
.service-card,
.upload-card,
.result-card,
.price-card,
.order-card,
.profile-card,
.timeline-item,
.payment-method,
.benefit-row,
.promo-card,
.option-card,
.summary-card,
.info-card {
  border: 1px solid var(--stroke-soft);
  background: var(--elevated);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.hero-card,
.card,
.gallery-card,
.upload-card,
.result-card,
.price-card,
.order-card,
.profile-card,
.payment-method,
.benefit-row,
.promo-card,
.option-card,
.summary-card,
.info-card {
  border-radius: var(--radius-lg);
}

.hero-home,
.hero-card,
.card,
.upload-card,
.result-card,
.price-card,
.order-card,
.profile-card,
.promo-card,
.summary-card,
.info-card {
  padding: 22px;
}

.hero-home {
  margin-bottom: 0;
  background: var(--elevated);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow);
}

.hero-stats-strip {
  margin-top: 18px;
  margin-bottom: 8px;
}

.hero-stats-strip .hero-stats {
  margin-top: 0;
}

.hero-home h2,
.content-section h2,
.result-title,
.price-card h3,
.order-card h3,
.profile-card h3,
.gallery-card h3,
.summary-card h3,
.option-card h3,
.info-card h3 {
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
}

.hero-home h2 {
  margin-top: 14px;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 600;
}

.hero-home p,
.content-section p,
.gallery-card p,
.timeline-item p,
.service-card span,
.price-card p,
.order-card p,
.profile-card p,
.summary-row span:last-child,
.field-note,
.small-text,
.upload-card p,
.info-card p,
.promo-text {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions,
.inline-actions,
.dual-actions {
  display: flex;
  gap: 12px;
}

.dual-actions > * {
  flex: 1 1 0;
}

.hero-actions.compact {
  margin-top: 22px;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.wide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
}

.primary-btn,
.wide-btn {
  color: #5c3d4a;
  background: linear-gradient(135deg, #ffd6e4 0%, #ffc8d8 45%, #fdd5c0 100%);
  box-shadow: 0 4px 16px rgba(232, 145, 168, 0.35);
}

.secondary-btn,
.ghost-btn {
  border-color: var(--stroke);
  background: var(--elevated);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.wide-btn {
  width: 100%;
}

.hero-stats,
.service-grid,
.mini-gallery,
.info-grid,
.stats-grid,
.result-grid,
.package-grid,
.order-list,
.menu-list {
  display: grid;
  gap: 14px;
}

.hero-stats,
.result-grid {
  grid-template-columns: repeat(3, 1fr);
}

.hero-stats div,
.stats-grid article {
  padding: 14px 10px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--stroke-soft);
  text-align: center;
}

.hero-stats strong,
.stats-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #6b4b5a;
}

.hero-stats span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.content-section {
  margin-bottom: 28px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-title-row h2 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.section-title-row a {
  color: var(--accent-rose);
  font-size: 0.88rem;
  font-weight: 500;
}

.service-card,
.gallery-card {
  padding: 18px;
}

.order-card,
.profile-card,
.payment-method,
.benefit-row,
.menu-link {
  padding: 16px;
}

.service-card strong,
.gallery-card h3,
.timeline-item strong,
.payment-method strong,
.summary-row strong,
.menu-link strong {
  display: block;
}

.service-card strong {
  font-size: 1rem;
  line-height: 1.35;
  margin-top: 6px;
  color: var(--text);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.88rem;
}

.pink {
  background: linear-gradient(145deg, #fff5f8 0%, #fff 100%);
  border-color: rgba(232, 145, 168, 0.25);
}

.ink {
  background: linear-gradient(145deg, #f5f7ff 0%, #fff 100%);
  border-color: rgba(159, 168, 218, 0.3);
}

.gold {
  background: linear-gradient(145deg, #fffbf5 0%, #fff 100%);
  border-color: rgba(230, 200, 160, 0.35);
}

.lilac {
  background: linear-gradient(145deg, #faf7ff 0%, #fff 100%);
  border-color: rgba(200, 180, 230, 0.35);
}

.service-card {
  display: grid;
  gap: 6px;
  min-height: 120px;
  box-shadow: var(--shadow-sm);
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.service-card-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.service-card-head b {
  color: var(--muted-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.chip-row,
.toggle-row,
.thumbnail-row,
.style-row,
.filter-row,
.method-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke-soft);
  background: var(--elevated);
  box-shadow: var(--shadow-sm);
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-blush);
  color: #a85a72;
  font-weight: 700;
  font-size: 0.85rem;
}

.promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #fff 0%, #fff8fb 100%);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-sm);
}

.promo-title {
  margin: 0 0 6px;
  font-weight: 600;
  color: var(--text);
}

.sub-header {
  align-items: center;
}

.sub-header p,
.header-note,
.step-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.step-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.upload-card {
  margin-bottom: 16px;
}

.upload-zone {
  display: grid;
  place-items: center;
  min-height: 172px;
  margin-top: 14px;
  border: 2px dashed var(--stroke);
  border-radius: var(--radius-md);
  background: var(--bg);
  text-align: center;
  cursor: pointer;
}

.upload-zone strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.upload-preview {
  width: min(280px, 100%);
  margin: 12px auto 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-sm);
  background: #fff;
  aspect-ratio: 4 / 5;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* 自动“裁切”到指定比例，避免占满页面 */
  object-position: center;
}

.toggle-button,
.choice-chip,
.thumb-card,
.payment-method,
.option-card {
  border: 1px solid var(--stroke-soft);
  background: var(--elevated);
}

.toggle-button,
.choice-chip {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 500;
}

.toggle-button.active,
.choice-chip.active,
.thumb-card.active,
.payment-method.active,
.option-card.active {
  border-color: rgba(232, 145, 168, 0.5);
  background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.field-group {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.field-label {
  font-weight: 600;
  color: var(--text);
}

.text-input,
.text-area {
  width: 100%;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: var(--elevated);
  color: var(--text);
  padding: 14px 16px;
}

.text-area {
  min-height: 110px;
  resize: vertical;
}

.option-list,
.price-list,
.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-row {
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--stroke-soft);
}

.option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
}

.option-card p,
.price-card ul,
.summary-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.price-card.featured {
  border-color: rgba(232, 145, 168, 0.45);
  background: linear-gradient(180deg, #fff8fb 0%, #fff 55%);
  box-shadow: var(--shadow);
}

.price-top,
.summary-row,
.order-head,
.profile-head,
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #6b4b5a;
}

.muted-line {
  color: var(--muted);
}

.summary-card,
.info-card {
  margin-bottom: 14px;
}

.summary-row {
  padding: 10px 0;
}

.summary-row + .summary-row {
  border-top: 1px solid var(--stroke-soft);
}

.result-stage {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--stroke-soft);
  /* 支持拖拽左右滑动对比（微信内 WebView 也尽量兼容） */
  --bf-slider: 50%;
  touch-action: none;
  user-select: none;
}

.stage-labels {
  position: absolute;
  inset: 14px 14px auto;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.mock-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}

.mock-half .image-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mock-half.before {
  left: 0;
  width: var(--bf-slider);
}

.mock-half.after {
  left: 0;
  right: auto;
  width: 100%;
}

.mock-half img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.mock-half img[hidden],
.thumb-preview.has-photo img[hidden] {
  display: none !important;
}

.video-card .section-title-row {
  align-items: center;
}

.video-stage {
  position: relative;
  width: 100%;
  margin-top: 14px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke-soft);
  background: linear-gradient(160deg, #fff7fb 0%, #f7f2ff 100%);
  box-shadow: var(--shadow-sm);
}

.video-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.image-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 88px;
  padding: 16px;
  text-align: center;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(252, 236, 243, 0.9));
}

.image-placeholder-small {
  min-height: 220px;
}

.image-placeholder-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-rose);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.image-placeholder-text {
  font-size: 0.86rem;
  line-height: 1.4;
}

.slider-line {
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: calc(var(--bf-slider) - 1px);
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  z-index: 1;
  pointer-events: none;
}

.slider-dot {
  position: absolute;
  left: calc(var(--bf-slider) - 22px);
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--stroke);
  color: var(--accent-rose);
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  cursor: ew-resize;
  touch-action: none;
}

.thumb-card {
  flex: 1 1 calc(50% - 8px);
  min-height: 104px;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid var(--stroke-soft);
  background: var(--elevated);
}

.thumb-preview,
.mock-image {
  border-radius: 14px;
  min-height: 88px;
  margin-bottom: 10px;
}

.mock-image {
  min-height: 124px;
}

.mock-image.has-photo,
.thumb-preview.has-photo,
.profile-thumb.has-photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--bg);
}

.thumb-preview.has-photo {
  min-height: 164px;
}

.thumb-preview.has-photo .image-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mock-image.has-photo img,
.thumb-preview.has-photo img,
.profile-thumb.has-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 88px;
  object-fit: cover;
  z-index: 1;
}

.mock-image.has-photo img {
  min-height: 124px;
}

.profile-thumb.has-photo {
  border-radius: 16px;
  margin-bottom: 12px;
  max-height: 160px;
}

.profile-thumb.has-photo img {
  min-height: 120px;
  max-height: 160px;
}

.nail-bg {
  background: linear-gradient(135deg, #ffe8f0 0%, #ffd6e8 100%);
}

.tattoo-bg {
  background: linear-gradient(135deg, #e8ecff 0%, #dde4ff 100%);
}

.beauty-bg {
  background: linear-gradient(135deg, #fff5e8 0%, #ffe8f0 100%);
}

.payment-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 18px;
  cursor: pointer;
}

.method-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-blush);
  color: #8b4a62;
  font-weight: 600;
}

.method-row {
  align-items: center;
}

.status-chip {
  background: rgba(129, 199, 132, 0.2);
  color: #2e7d32;
  border: 0;
}

.status-chip.pending {
  background: rgba(255, 183, 177, 0.35);
  color: #c62828;
}

.menu-list {
  gap: 10px;
}

.menu-link {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--elevated);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-sm);
}

.menu-link span:last-child {
  color: var(--muted-light);
}

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

.feed-card {
  display: block;
  border-radius: 18px;
  background: var(--elevated);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.feed-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
}

.feed-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feed-meta {
  padding: 10px 12px 12px;
  display: grid;
  gap: 6px;
}

.feed-meta strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.feed-meta .small-text {
  margin: 0;
  color: var(--muted);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 252, 253, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--stroke-soft);
  box-shadow: 0 -8px 32px rgba(180, 130, 150, 0.08);
}

.nav-item {
  display: grid;
  place-items: center;
  min-height: 50px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.nav-item.active {
  color: #8b4a62;
  background: linear-gradient(180deg, #fff0f5 0%, #ffe8f0 100%);
  border: 1px solid rgba(232, 145, 168, 0.25);
}

/* 中间主入口（发帖 +） */
.nav-item.nav-center {
  color: #5c3d4a;
  background: linear-gradient(135deg, #ffd6e4 0%, #ffc8d8 45%, #fdd5c0 100%);
  border: 1px solid rgba(232, 145, 168, 0.35);
  box-shadow: 0 10px 26px rgba(232, 145, 168, 0.22);
  min-height: 58px;
  margin-top: -18px;
}

.nav-item.nav-center span {
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
}

.nav-item.nav-center.active {
  border-color: rgba(232, 145, 168, 0.55);
  box-shadow: 0 12px 30px rgba(232, 145, 168, 0.28);
}

/* 尺码表/长图预览：更宽、图片用 contain 方便看文字 */
.upload-preview.upload-preview-wide {
  aspect-ratio: 16 / 9;
}

.preview-contain img {
  object-fit: contain;
  background: #fff;
}

/* --- Modal (login) --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 15, 0.45);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 2147483647;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  background: var(--elevated);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow);
  padding: 18px;
  pointer-events: auto;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--stroke-soft);
  background: var(--bg-soft);
  font-size: 1.2rem;
  color: var(--muted);
  cursor: pointer;
}

.text-input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke-soft);
  background: var(--bg-soft);
  outline: none;
}

#authModal[hidden] {
  display: none !important;
}

@media (min-width: 431px) {
  body {
    padding: 20px 0;
  }

  .mobile-shell {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 0 1px var(--stroke-soft);
  }

  .bottom-nav {
    bottom: 20px;
    border-radius: 22px;
    border: 1px solid var(--stroke-soft);
  }
}

@media (max-width: 360px) {
  .hero-actions,
  .dual-actions {
    flex-direction: column;
  }
}

/* 灵感入口条 */
.inspiration-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff8fb 0%, #fff 50%, #f8f0fc 100%);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-sm);
}

.inspiration-cta-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.inspiration-cta-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.inspiration-cta-arrow {
  font-size: 1.5rem;
  color: var(--accent-rose);
  font-weight: 300;
  line-height: 1;
}

/* 创作页快捷入口 */
.create-quick-links {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.create-quick-links .secondary-btn {
  flex: 1 1 auto;
  min-height: 44px;
  font-size: 0.88rem;
}

/* 风格指南页 */
.style-guide-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text);
}

.style-guide-list li + li {
  margin-top: 0.55rem;
}

.style-guide-list.numbered {
  list-style: decimal;
  padding-left: 1.35rem;
}

.inline-code {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  font-size: 0.84em;
  padding: 0.12em 0.35em;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--stroke-soft);
  color: var(--accent-rose);
}

.style-guide-note {
  margin: 12px 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

.inspiration-lead {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.55;
}

.inspiration-lead a {
  color: var(--accent-rose);
  font-weight: 600;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.insp-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-sm);
  background: var(--elevated);
}

.insp-card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  aspect-ratio: 1;
  object-fit: cover;
}

/* 素材位说明页 */
.prompt-page .info-card {
  margin-bottom: 12px;
}

.prompt-block h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--text);
}
