/* 光遇 Light Encounter · H5 高保真原型设计令牌 */
:root {
  --bg-deep: #07080c;
  --bg-surface: #0e1018;
  --bg-elevated: #151824;
  --bg-glass: rgba(18, 22, 34, 0.72);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 245, 212, 0.35);

  --text-primary: #f4f6fb;
  --text-secondary: #9aa3b5;
  --text-muted: #5c6578;

  --accent-cyan: #00f5d4;
  --accent-magenta: #ff2d95;
  --accent-violet: #9d4edd;
  --accent-amber: #ffc857;

  --gradient-hero: linear-gradient(135deg, #00f5d4 0%, #7b61ff 48%, #ff2d95 100%);
  --gradient-card: linear-gradient(145deg, rgba(0, 245, 212, 0.12), rgba(157, 78, 221, 0.08));
  --gradient-pill: linear-gradient(90deg, rgba(0, 245, 212, 0.2), rgba(255, 45, 149, 0.15));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(0, 245, 212, 0.15);

  --font-sans: ui-sans-serif, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;

  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tab-h: 56px;
  --nav-h: 52px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(0, 245, 212, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(157, 78, 221, 0.08), transparent 45%),
    linear-gradient(180deg, #0a0c12 0%, var(--bg-deep) 40%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04'%3E%3Cpath d='M0 40h80M40 0v80'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: calc(var(--tab-h) + var(--safe-bottom) + 12px);
}

.app-shell--no-tab {
  padding-bottom: calc(20px + var(--safe-bottom));
}

/* 状态栏模拟 */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 18px 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.status-bar__dots {
  display: flex;
  gap: 4px;
}

.status-bar__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* 顶栏 */
.top-nav {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  min-height: var(--nav-h);
  padding: 0 12px;
}

.top-nav__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-glass);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.top-nav__back:hover {
  border-color: var(--border-glow);
}

.top-nav__title {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.top-nav__action {
  display: flex;
  justify-content: flex-end;
}

.top-nav__link {
  font-size: 13px;
  color: var(--accent-cyan);
  text-decoration: none;
}

/* Hero */
.hero {
  margin: 8px 16px 20px;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 45, 149, 0.35), transparent 70%);
  pointer-events: none;
}

.hero__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-pill);
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.hero__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero__desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.hero__cta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-links {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

.hero-links a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
}

.hero-links a:hover {
  text-decoration: underline;
}

.hero-links .sep {
  margin: 0 8px;
  color: var(--text-muted);
  opacity: 0.5;
}

.proto-footnote {
  padding: 8px 20px 4px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.proto-footnote a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 首页轮播 */
.home-banner {
  margin: 0 16px 18px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.home-banner__viewport {
  overflow: hidden;
  border-radius: inherit;
}

.home-banner__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.home-banner__track::-webkit-scrollbar {
  display: none;
}

.home-banner__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  min-height: 148px;
  padding: 20px 18px 36px;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
}

.home-banner__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
}

.home-banner__slide--a::before {
  background: linear-gradient(135deg, #0d3d38 0%, #1a0f2e 55%, #2a1040 100%);
}

.home-banner__slide--b::before {
  background: linear-gradient(135deg, #1a1530 0%, #0f2438 50%, #152a20 100%);
}

.home-banner__slide--c::before {
  background: linear-gradient(135deg, #301818 0%, #2d1f40 45%, #0f2a28 100%);
}

.home-banner__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 8, 12, 0.65) 100%);
  pointer-events: none;
}

.home-banner__kicker {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.home-banner__slide-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.home-banner__slide-desc {
  position: relative;
  z-index: 2;
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.45;
}

.home-banner__hint {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.home-banner__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 6px;
  align-items: center;
}

.home-banner__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-banner__dot.is-active {
  background: var(--accent-cyan);
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .home-banner__track {
    scroll-behavior: auto;
  }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--gradient-hero);
  color: #0a0c12;
  box-shadow: 0 4px 24px rgba(0, 245, 212, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 6px 28px rgba(0, 245, 212, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* 区块标题 */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 16px 10px;
}

.section-head__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.section-head__more {
  font-size: 12px;
  color: var(--accent-cyan);
  text-decoration: none;
}

/* 金刚区 */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 16px 20px;
}

.quick-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s, transform 0.15s;
}

.quick-grid__item:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.quick-grid__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
}

.quick-grid__label {
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
}

.quick-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* 卡片 */
.card {
  margin: 0 16px 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.card--highlight {
  background: linear-gradient(160deg, rgba(0, 245, 212, 0.08), rgba(157, 78, 221, 0.05));
}

.card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.card__text {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 标签 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.tag--active {
  border-color: rgba(0, 245, 212, 0.45);
  color: var(--accent-cyan);
}

.tag--zodiac {
  border-color: rgba(0, 245, 212, 0.45);
  color: #00f5d4;
  background: rgba(0, 245, 212, 0.09);
}

.tag--animal {
  border-color: rgba(112, 214, 255, 0.45);
  color: #70d6ff;
  background: rgba(112, 214, 255, 0.09);
}

.tag--age {
  border-color: rgba(255, 200, 87, 0.42);
  color: #ffc857;
  background: rgba(255, 200, 87, 0.1);
}

.tag--gender {
  border-color: rgba(255, 45, 149, 0.42);
  color: #ff5ca8;
  background: rgba(255, 45, 149, 0.1);
}

.tag--region {
  border-color: rgba(157, 78, 221, 0.45);
  color: #b185ff;
  background: rgba(157, 78, 221, 0.1);
}

.tag--signature {
  border-color: rgba(90, 103, 127, 0.5);
  color: #b7c2d9;
  background: rgba(90, 103, 127, 0.14);
}

.tag--phone {
  border-color: rgba(156, 163, 175, 0.45);
  color: #c5cedf;
  background: rgba(156, 163, 175, 0.1);
}

/* 灯光模式网格 */
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 16px 20px;
}

.mode-card {
  position: relative;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mode-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.mode-card--on {
  border-color: rgba(0, 245, 212, 0.55);
  box-shadow: 0 0 24px rgba(0, 245, 212, 0.12);
}

.mode-card__name {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
}

.mode-card__hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.mode-card__preview {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  opacity: 0.9;
}

/* 商城 */
.product-row {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: inherit;
}

.product-row:last-child {
  border-bottom: none;
}

.product-row__img {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.product-row__body {
  flex: 1;
  min-width: 0;
}

.product-row__name {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.product-row__meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.product-row__price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-amber);
  font-family: var(--font-mono);
}

/* 列表行 */
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.list-row:last-child {
  border-bottom: none;
}

.list-row__left {
  color: var(--text-secondary);
}

.list-row__right {
  font-weight: 600;
  color: var(--text-primary);
}

/* 表单 */
.field {
  margin-bottom: 14px;
}

.field__label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-deep);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
}

.field__input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.15);
}

.field__input[type="date"] {
  min-height: 46px;
  color-scheme: dark;
  cursor: pointer;
}

.field__input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.9;
  filter: invert(1);
}

/* 底部 Tab */
.tab-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 420px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 10px calc(8px + var(--safe-bottom));
  background: rgba(10, 12, 18, 0.92);
  border-top: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  z-index: 100;
}

.tab-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px;
  font-size: 10px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s;
}

.tab-bar__item:hover,
.tab-bar__item.active {
  color: var(--accent-cyan);
}

.tab-bar__icon {
  font-size: 20px;
  line-height: 1;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: rgba(30, 36, 48, 0.96);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(4px);
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  padding: 18px 16px;
}

.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.modal-desc {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

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

/* 统计条 */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.stat-bar__cell {
  text-align: center;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
}

.stat-bar__num {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.stat-bar__lbl {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 动画：灯带呼吸（示例） */
@keyframes breathe {
  0%,
  100% {
    opacity: 0.55;
    filter: brightness(0.9);
  }
  50% {
    opacity: 1;
    filter: brightness(1.15);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.anim-breathe {
  animation: breathe 2.4s ease-in-out infinite;
}

.anim-spin {
  animation: spin-slow 8s linear infinite;
}

/* 迷你柱状图（演示数据） */
.mini-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  height: 100px;
  padding: 12px 8px 8px;
  margin-top: 8px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
}

.mini-chart__bar {
  flex: 1;
  min-width: 0;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent-cyan), rgba(0, 245, 212, 0.25));
  transition: height 0.4s ease;
}

.mini-chart__label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 6px;
  padding: 0 4px;
}

/* 时间线 */
.timeline {
  padding: 0 16px 8px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet));
  opacity: 0.35;
  border-radius: 1px;
}

.timeline__item {
  position: relative;
  padding-left: 44px;
  padding-bottom: 18px;
}

.timeline__dot {
  position: absolute;
  left: 16px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.35);
}

.timeline__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.timeline__desc {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* 开关行 */
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.switch-row:last-of-type {
  border-bottom: none;
}

.switch {
  width: 48px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-subtle);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-secondary);
  transition: transform 0.2s ease, background 0.2s;
}

.switch.on {
  background: rgba(0, 245, 212, 0.25);
  border-color: rgba(0, 245, 212, 0.45);
}

.switch.on::after {
  transform: translateX(20px);
  background: var(--accent-cyan);
}

/* DIY 预览手机框 */
.diy-stage {
  margin: 12px 16px 16px;
  aspect-ratio: 9 / 18;
  max-height: 320px;
  border-radius: 28px;
  border: 3px solid var(--border-subtle);
  background: linear-gradient(165deg, #1a1d2e 0%, #0e1018 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.diy-stage__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  background-size: cover;
  background-position: center;
}

.diy-stage__glow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 10%;
  height: 8px;
  border-radius: var(--radius-full);
  filter: blur(6px);
  opacity: 0.9;
}

/* 官网下载页 · 二维码区 */
.dl-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  margin: 0 16px 16px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: #0a0c12;
  box-shadow: var(--shadow-soft);
}

.dl-qr-wrap svg {
  display: block;
  border-radius: 8px;
}

.dl-qr-caption {
  font-size: 12px;
  color: #5c6578;
  text-align: center;
}

/* 步骤列表 */
.step-list {
  counter-reset: step;
  padding: 0 16px 8px;
}

.step-list__item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 18px;
}

.step-list__item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: #0a0c12;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.step-list__desc {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* FAQ */
.faq {
  padding: 0 16px 16px;
}

.faq details {
  margin-bottom: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  overflow: hidden;
}

.faq summary {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "＋";
  float: right;
  color: var(--accent-cyan);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "－";
}

.faq__body {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 简易表格 */
.simple-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.simple-table th,
.simple-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.simple-table th {
  color: var(--text-muted);
  font-weight: 500;
}

.simple-table td strong {
  color: var(--accent-cyan);
}

/* 勾选清单 */
.check-section {
  margin: 0 16px 18px;
}

.check-section__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.check-row:has(input:checked) {
  border-color: rgba(0, 245, 212, 0.35);
  background: rgba(0, 245, 212, 0.06);
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-cyan);
  flex-shrink: 0;
}

.check-row__text {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.45;
}

.check-row input:checked + .check-row__text {
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.85;
}

.check-actions {
  display: flex;
  gap: 10px;
  padding: 0 16px 16px;
  flex-wrap: wrap;
}

/* 工单列表 */
.ticket {
  padding: 14px 16px;
  margin: 0 16px 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
  width: calc(100% - 32px);
  box-sizing: border-box;
}

.ticket:hover {
  border-color: var(--border-glow);
}

.ticket__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.ticket__id {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.ticket__badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.ticket__badge--open {
  background: rgba(255, 200, 87, 0.15);
  color: var(--accent-amber);
}

.ticket__badge--progress {
  background: rgba(0, 245, 212, 0.12);
  color: var(--accent-cyan);
}

.ticket__badge--done {
  background: rgba(157, 78, 221, 0.15);
  color: var(--accent-violet);
}

.ticket__subject {
  margin: 8px 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.ticket__meta {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
