:root {
  --bg-primary: #0a0f1e;
  --bg-secondary: #111827;
  --bg-card: #1a2236;
  --bg-card-hover: #1e2a42;
  --accent-blue: #3b82f6;
  --accent-blue-light: #60a5fa;
  --accent-cyan: #22d3ee;
  --accent-gold: #f59e0b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e3a5f;
  --success: #10b981;
  --price-tag: #ef4444;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select,
.manual-steps a,
.success-order-id {
  -webkit-user-select: text;
  user-select: text;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* 导航「套餐剩余」 */
.nav-plan-remain {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  max-width: min(44vw, 300px);
  padding: 6px 12px;
  margin: 0;
  flex-shrink: 0;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 12px;
  background: rgba(30, 58, 95, 0.72);
  color: #bfdbfe;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-plan-remain:hover {
  border-color: rgba(147, 197, 253, 0.65);
  background: rgba(30, 58, 95, 0.92);
}
.nav-plan-remain-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.nav-plan-remain-detail {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: #93c5fd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.nav-plan-remain.plan-tag-trial {
  border-color: rgba(52, 211, 153, 0.5);
}
.nav-plan-remain.plan-tag-trial .nav-plan-remain-detail {
  color: #6ee7b7;
}
.nav-plan-remain.plan-tag-standard {
  border-color: rgba(96, 165, 250, 0.55);
}
.nav-plan-remain.plan-tag-premium {
  border-color: rgba(192, 132, 252, 0.55);
}
.nav-plan-remain.plan-tag-premium .nav-plan-remain-detail {
  color: #d8b4fe;
}
.nav-plan-remain.nav-plan-remain-warn {
  border-color: rgba(251, 191, 36, 0.65);
  background: rgba(120, 53, 15, 0.55);
}
.nav-plan-remain.nav-plan-remain-warn .nav-plan-remain-detail {
  color: #fde68a;
}
.nav-plan-remain.nav-plan-remain-empty .nav-plan-remain-detail {
  color: #94a3b8;
}
.portal-plan-section {
  margin: 0 0 20px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(96, 165, 250, 0.22);
}
.portal-plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.plan-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.plan-tag-trial {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}
.plan-tag-standard {
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #93c5fd;
}
.plan-tag-premium {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(192, 132, 252, 0.45);
  color: #d8b4fe;
}
.plan-tag-none {
  background: rgba(100, 116, 139, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}
.plan-rule-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.plan-rule-tag-rule {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #bfdbfe;
}
.plan-rule-tag-muted {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
}
.plan-rule-tag-warn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fcd34d;
}
.plan-rule-tag-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fca5a5;
}
.portal-plan-meta {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: #94a3b8;
}

.portal-kiosk-brief {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(96, 165, 250, 0.18);
}

.portal-kiosk-line {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #cbd5e1;
}

.portal-kiosk-line code {
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.5);
}

.portal-kiosk-link-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.portal-brief-kiosk-url {
  flex: 1 1 180px;
  font-size: 11px;
  word-break: break-all;
  color: #93c5fd;
}

.portal-kiosk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.portal-kiosk-hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #94a3b8;
}

.btn-portal-copy,
.btn-portal-clear,
.btn-portal-guide,
.btn-order-guide {
  flex: 0 0 auto;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: #bfdbfe;
  cursor: pointer;
}

.btn-portal-clear {
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
}

.btn-portal-copy:hover,
.btn-portal-guide:hover,
.btn-order-guide:hover {
  background: rgba(59, 130, 246, 0.22);
}

.btn-portal-clear:hover {
  background: rgba(245, 158, 11, 0.22);
}

.btn-portal-clear:disabled {
  opacity: 0.55;
  cursor: wait;
}

.btn-portal-guide {
  margin-top: 12px;
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}

.portal-account-modal .my-order-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
  min-width: 96px;
}

.portal-account-modal .btn-order-guide,
.portal-account-modal .btn-order-support {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.3;
  text-align: center;
}

.portal-account-modal .btn-order-guide {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #1d4ed8;
}

.portal-account-modal .btn-order-guide:hover {
  background: #1d4ed8;
}

.portal-account-modal .btn-order-support {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.portal-account-modal .btn-order-support:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.portal-section-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
}

/* 官网套餐用量 / 到期提醒（登录后，可点击订购） */
.portal-subscription-alert {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.45;
  cursor: pointer;
  border-bottom: 1px solid rgba(96, 165, 250, 0.25);
}
.portal-subscription-alert:hover {
  filter: brightness(1.06);
}
.portal-subscription-alert.level-usage_warning,
.portal-subscription-alert.level-expiry_warning {
  background: linear-gradient(90deg, #b45309, #d97706);
  color: #fffbeb;
}
.portal-subscription-alert.level-exceeded,
.portal-subscription-alert.level-expired {
  background: linear-gradient(90deg, #b91c1c, #dc2626);
  color: #fff;
}
body.has-portal-subscription-alert .hero-first {
  padding-top: 108px;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
}

.nav-logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.nav-logo img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.nav-lang-wrap {
  flex-shrink: 0;
}

.nav-lang-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 6px 28px 6px 10px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2393c5fd' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 8px center;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.3;
  cursor: pointer;
  max-width: 140px;
}

.nav-lang-select:hover,
.nav-lang-select:focus {
  border-color: rgba(147, 197, 253, 0.65);
  outline: none;
  background-color: rgba(30, 58, 95, 0.92);
}

.nav-lang-select option {
  background: #1e293b;
  color: #f1f5f9;
}

.nav-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #93c5fd;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 0 1 auto;
  min-width: 0;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-links .nav-consult {
  padding: 7px 16px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.45);
  border-radius: 10px;
  color: var(--text-primary);
  font-weight: 600;
}

.nav-links .nav-auth {
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links .nav-auth-primary {
  color: var(--accent-cyan);
  font-weight: 600;
}

.nav-links .nav-manager {
  color: #fff;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  flex-shrink: 0;
}

.nav-links #navPortalGuest,
.nav-links #navPortalUser {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-links #navPortalGuest.hidden,
.nav-links #navPortalUser.hidden {
  display: none;
}

.nav-links .nav-order {
  color: var(--accent-blue-light);
  font-weight: 600;
}

.nav-toggle,
.nav-backdrop {
  display: none;
}

/* Hero 首屏：文案 + 一体机 + 右侧能力 */
.hero-first {
  position: relative;
  padding: 76px 24px 28px;
  min-height: calc(100dvh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  background: radial-gradient(
    ellipse 90% 60% at 50% 0%,
    rgba(59, 130, 246, 0.12) 0%,
    transparent 65%
  );
}

/* 竖屏：勿整屏垂直居中，避免上下大块留白 */
@media (orientation: portrait) {
  .hero-first {
    min-height: auto;
    justify-content: flex-start;
    gap: clamp(14px, 2.5vh, 22px);
    padding-bottom: 22px;
  }
}

@media (orientation: portrait) and (min-width: 769px) {
  .hero-first {
    padding-top: clamp(56px, 8vh, 72px);
  }

  .hero-head {
    padding-top: 0;
  }

  .hero-desc {
    padding-top: 0;
  }
}

.hero-first-inner {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px minmax(300px, 1fr);
  grid-template-areas:
    "head kiosk side"
    "desc kiosk side";
  gap: 16px 32px;
  align-items: center;
}

.hero-head {
  grid-area: head;
  text-align: left;
}

.hero-desc {
  grid-area: desc;
  text-align: left;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
}

.price-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fb923c;
  letter-spacing: 0.06em;
  line-height: 1;
}

.price-highlight {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: #f97316;
  background: linear-gradient(135deg, #fb923c, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-original {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.price-original del {
  text-decoration: line-through;
  text-decoration-color: rgba(148, 163, 184, 0.8);
  color: var(--text-secondary);
}

.hero-slogan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 16px;
}

.hero-slogan-line {
  display: block;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}

.hero-slogan-hl {
  color: #fb923c;
  font-weight: 800;
}

.capability-block {
  display: none;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
}

.hero-cta:active {
  opacity: 0.88;
}

.hero-kiosk {
  grid-area: kiosk;
  grid-row: 1 / 3;
  display: flex;
  justify-content: center;
  align-self: center;
}

.hero-side {
  grid-area: side;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: center;
}

.capability-block,
.hint-block {
  background: rgba(26, 34, 54, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 18px;
}

.capability-block h3,
.hint-block h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.capability-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.capability-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.3;
}

.capability-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.capability-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.capability-item em {
  color: var(--accent-cyan);
  font-style: normal;
  font-weight: 600;
}

.kiosk {
  position: relative;
  width: 420px;
  flex-shrink: 0;
  /* 底座底边距容器底 = 下方说明文字区域高度 */
  --kiosk-machine-bottom: 32px;
}

.kiosk-foreground-figure {
  position: absolute;
  /* 在原有基础上再向左移一体机屏幕宽度的 20%（% 相对 .kiosk 宽度） */
  left: calc(-58px - 20%);
  bottom: var(--kiosk-machine-bottom);
  height: 87%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left bottom;
  z-index: 12;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.38));
}

.kiosk-foreground-figure.is-loaded {
  opacity: 1;
}

.kiosk-body {
  position: relative;
  z-index: 2;
  border-radius: 38px;
  padding: 4px;
  background: linear-gradient(
    145deg,
    #ececf2 0%,
    #a4a4ac 18%,
    #d8d8e0 38%,
    #787880 52%,
    #b8b8c0 72%,
    #8e8e96 88%,
    #d0d0d8 100%
  );
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48),
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 1px rgba(255, 255, 255, 0.75),
    inset 0 -1px 1px rgba(0, 0, 0, 0.18);
}

.kiosk-screen {
  --iframe-scale: 0.6;
  --mic-btn-size: 50px;
  --mic-btn-right: 35px;
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 2px rgba(0, 0, 0, 0.55),
    inset 0 2px 6px rgba(255, 255, 255, 0.04);
}

.kiosk-screen iframe {
  width: calc(100% / var(--iframe-scale));
  height: calc(100% / var(--iframe-scale));
  transform: scale(var(--iframe-scale));
  transform-origin: top left;
  border: none;
}

.kiosk-wake-anchor {
  position: absolute;
  top: 3%;
  right: 5%;
  width: 6px;
  height: 6px;
  pointer-events: none;
  z-index: 5;
}

.hero-wake-callout {
  display: none;
}

.kiosk-mic-guide {
  position: absolute;
  top: 50%;
  right: var(--mic-btn-right);
  width: var(--mic-btn-size);
  height: var(--mic-btn-size);
  transform: translate(50%, -50%);
  pointer-events: none;
  z-index: 4;
}

.kiosk-mic-ring {
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(103, 232, 249, 0.85);
  border-radius: 50%;
  animation: kiosk-mic-pulse 2s ease-out infinite;
}

.kiosk-mic-ring-delay {
  animation-delay: 1s;
}

.kiosk-mic-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.45);
  border: 2px solid rgba(103, 232, 249, 0.75);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.45);
  animation: kiosk-mic-glow 1.6s ease-in-out infinite;
}

.kiosk-mic-icon {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.kiosk-mic-label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ecfeff;
  white-space: nowrap;
  background: rgba(59, 130, 246, 0.82);
  border: 1px solid rgba(103, 232, 249, 0.55);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

@keyframes kiosk-mic-pulse {
  0% {
    transform: scale(0.82);
    opacity: 0.95;
  }
  70%,
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@keyframes kiosk-mic-glow {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
  }
  50% {
    box-shadow: 0 0 22px rgba(103, 232, 249, 0.65);
  }
}

.hero-mic-guide-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero-mic-guide-svg.is-visible {
  opacity: 1;
}

#heroMicGuidePath {
  animation: hero-guide-dash 1.1s linear infinite;
}

.hero-guide-dot-start,
.hero-guide-dot-end {
  animation: hero-guide-dot 1.1s ease-in-out infinite;
}

#heroWakeGuidePath {
  animation: hero-guide-dash 1.1s linear infinite;
}

@keyframes hero-guide-dash {
  to {
    stroke-dashoffset: -24;
  }
}

@keyframes hero-guide-dot {
  0%,
  100% {
    opacity: 0.55;
    r: 4;
  }
  50% {
    opacity: 1;
    r: 5.5;
  }
}

.kiosk-stand {
  width: 54px;
  height: 54px;
  background: linear-gradient(
    90deg,
    #7a7a82 0%,
    #b4b4bc 35%,
    #909098 65%,
    #a8a8b0 100%
  );
  margin: 0 auto;
  border-radius: 0 0 9px 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.25);
}

.kiosk-base {
  width: 150px;
  height: 15px;
  background: linear-gradient(180deg, #b0b0b8 0%, #6e6e76 55%, #8a8a92 100%);
  margin: 0 auto;
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.kiosk-label {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.hint-block .hint-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.hint-num {
  width: 24px;
  height: 24px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent-blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.hint-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.hint-text strong {
  color: var(--text-primary);
}

.try-it-tag {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 14px;
  padding: 8px 16px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 8px;
  font-size: 13px;
  color: var(--accent-cyan);
}

.try-it-line {
  line-height: 1.45;
}

.try-it-line-press {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  color: #ecfeff;
}

.try-it-line-wake {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(236, 254, 255, 0.88);
}

.try-it-finger {
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  filter: saturate(1.15) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
}

.try-it-finger-left {
  display: none;
}

.try-it-finger-up {
  animation: try-it-finger-point-up 1.1s ease-in-out infinite;
}

.try-it-mouth {
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}

@keyframes try-it-finger-point-up {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes try-it-finger-point-left {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-4px);
  }
}

/* PC 端：左侧文案区 + 试试这样问 */
@media (min-width: 769px) {
  .hero-first-inner {
    align-items: start;
  }

  .hero-head {
    padding-top: clamp(64px, 9vh, 96px);
  }

  .hero-desc {
    padding-top: 20px;
  }

  .hero-slogan {
    gap: 8px;
    margin-bottom: 28px;
  }

  .hero-slogan-line {
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: 0.02em;
  }

  .hero-cta {
    padding: 18px 48px;
    font-size: 19px;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
  }

  .hero-side {
    align-self: start;
    padding-top: clamp(80px, 11vh, 118px);
  }

  .hero-wake-callout {
    display: block;
    margin-bottom: 22px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(26, 34, 54, 0.82);
    border: 1px solid rgba(52, 211, 153, 0.45);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .hero-wake-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    color: #fde68a;
    letter-spacing: 0.02em;
  }

  .hero-wake-sub {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-secondary);
  }

  .hint-block {
    background: linear-gradient(
      155deg,
      rgba(59, 130, 246, 0.22) 0%,
      rgba(34, 211, 238, 0.12) 100%
    );
    border: 1px solid rgba(34, 211, 238, 0.5);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 10px 36px rgba(59, 130, 246, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .hint-block h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: #67e8f9;
    letter-spacing: 0.03em;
  }

  .hint-block .hint-item {
    margin-bottom: 12px;
    padding: 14px 16px;
    background: rgba(30, 58, 95, 0.55);
    border: 1px solid rgba(96, 165, 250, 0.45);
    border-radius: 12px;
    gap: 14px;
    align-items: center;
  }

  .hint-block .hint-item:last-of-type {
    margin-bottom: 0;
  }

  .hint-num {
    width: 32px;
    height: 32px;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border: none;
    color: #fff;
    margin-top: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  }

  .hint-text {
    font-size: 14px;
    line-height: 1.55;
    color: #cbd5e1;
  }

  .hint-text strong {
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    display: block;
    margin-bottom: 5px;
    line-height: 1.4;
  }

  .try-it-tag {
    display: flex;
    width: 100%;
    margin-top: 0;
    margin-bottom: 14px;
    padding: 14px 18px;
    font-size: 15px;
    background: linear-gradient(
      135deg,
      rgba(34, 211, 238, 0.28),
      rgba(59, 130, 246, 0.28)
    );
    border: 1px solid rgba(103, 232, 249, 0.6);
    color: #ecfeff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.2);
    letter-spacing: 0.02em;
    gap: 10px;
  }

  .try-it-line-press {
    font-size: 16px;
  }

  .try-it-finger-up {
    display: none;
    animation: none;
  }

  .try-it-finger-left {
    display: inline;
    animation: try-it-finger-point-left 1.1s ease-in-out infinite;
  }

  .try-it-line-wake {
    font-size: 14px;
    font-weight: 600;
  }

  .kiosk {
    --kiosk-machine-bottom: 16px;
  }

  .kiosk-foreground-figure {
    height: 66%;
    left: calc(-48px - 20%);
  }
}

@media (min-width: 1025px) {
  .kiosk-foreground-figure {
    height: 68%;
    left: calc(-56px - 22%);
  }
}

@media (max-width: 768px) {
  .hero-mic-guide-svg {
    display: none;
  }

  .kiosk-mic-label {
    font-size: 9px;
    padding: 2px 6px;
  }
}

/* 横向设备适配海报 */
.screen-poster {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.screen-poster-inner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 18px;
  padding: 32px 28px 28px;
  min-height: 300px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.screen-poster-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://cdn.dhwj.chat/orderaihuman/32_792f812331d25ac3a41509879d9c89.jpg");
  background-size: cover;
  background-position: center 40%;
  opacity: 1;
  z-index: 0;
}

.screen-poster-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 15, 30, 0.82) 0%,
    rgba(15, 23, 42, 0.78) 45%,
    rgba(10, 15, 30, 0.88) 100%
  );
  z-index: 1;
}

.screen-poster-head,
.screen-poster-marquee {
  position: relative;
  z-index: 2;
}

.screen-poster-head {
  text-align: center;
  margin-bottom: 28px;
}

.screen-poster-badge {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 14px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fb923c;
  letter-spacing: 0.05em;
}

.screen-poster-head h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0;
  color: var(--text-primary);
  line-height: 1.45;
}

.screen-poster-slogan-hl {
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 1.05em;
}

.screen-poster-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.screen-poster-track {
  display: flex;
  width: max-content;
  animation: poster-marquee 36s linear infinite;
}

.screen-poster-group {
  display: flex;
  gap: 20px;
  padding: 12px 16px 16px;
  align-items: flex-end;
}

@keyframes poster-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen-poster-track {
    animation: none;
  }

  .screen-poster-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.device-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 108px;
}

.device-frame {
  position: relative;
  background: linear-gradient(160deg, #1e293b, #0f172a);
  border: 2px solid #334155;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4),
    inset 0 0 12px rgba(59, 130, 246, 0.08);
  overflow: hidden;
}

.device-glow {
  position: absolute;
  inset: 15%;
  background: radial-gradient(
    ellipse at center,
    rgba(59, 130, 246, 0.35) 0%,
    transparent 70%
  );
  border-radius: 4px;
}

.device-frame::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20%;
  height: 3px;
  background: #475569;
  border-radius: 2px;
}

.portrait-kiosk {
  width: 64px;
  height: 108px;
  border-radius: 8px;
}

.landscape-screen {
  width: 118px;
  height: 66px;
  border-radius: 5px;
}

.column-screen {
  width: 40px;
  height: 118px;
  border-radius: 6px;
}

.tablet {
  width: 84px;
  height: 64px;
  border-radius: 8px;
}

.wall-screen {
  width: 136px;
  height: 76px;
  border-radius: 4px;
  border-width: 3px;
}

.window-screen {
  width: 88px;
  height: 88px;
  border-radius: 10px;
}

.dual-screen {
  width: 112px;
  height: 72px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    #1e293b 0%,
    #1e293b 48%,
    #334155 48%,
    #334155 52%,
    #1e293b 52%,
    #1e293b 100%
  );
}

.dual-screen::after {
  display: none;
}

.device-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.device-size {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Anchor */
.anchor-section {
  padding: 60px 40px;
  text-align: center;
}

.anchor-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.anchor-section .subtitle {
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto 36px;
}

.anchor-section .subtitle-hl {
  color: var(--accent-cyan);
  font-weight: 800;
  font-size: 1.08em;
}

.anchor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.anchor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
}

.anchor-card.highlight {
  border-color: #38bdf8;
  background: linear-gradient(
    160deg,
    rgba(59, 130, 246, 0.24) 0%,
    rgba(34, 211, 238, 0.14) 100%
  );
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.anchor-card .label {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.cost-sparkline {
  height: 44px;
  margin: 0 4px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.cost-sparkline svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cost-sparkline .spark-grid {
  stroke: rgba(148, 163, 184, 0.1);
  stroke-width: 0.5;
  stroke-dasharray: 3 4;
}

.cost-sparkline .spark-line {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.cost-sparkline .spark-area {
  opacity: 0.35;
}

.cost-sparkline--rise .spark-line {
  stroke: #ef4444;
  filter: drop-shadow(0 0 3px rgba(239, 68, 68, 0.35));
}

.cost-sparkline--rise .spark-area {
  fill: #ef4444;
}

.cost-sparkline--fall .spark-line {
  stroke: #4ade80;
  filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.55));
}

.cost-sparkline--fall .spark-area {
  fill: #4ade80;
}

.anchor-card .price {
  font-size: 26px;
  font-weight: 800;
}

.anchor-card .price .unit {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}

.anchor-card .period {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.anchor-card.highlight .label {
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(103, 232, 249, 0.5);
}

.anchor-card.highlight .price {
  color: #67e8f9;
  text-shadow: 0 0 18px rgba(103, 232, 249, 0.45);
}

.anchor-card.highlight .price .unit {
  color: #a5f3fc;
  font-weight: 500;
}

.anchor-card.highlight .period {
  color: #7dd3fc;
  font-weight: 600;
}

/* Pricing */
.pricing-section {
  padding: 80px 40px;
  background: linear-gradient(
      180deg,
      rgba(17, 24, 39, 0.65) 0%,
      var(--bg-primary) 100%
    ),
    radial-gradient(
      ellipse 70% 50% at 50% 0%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 55%
    );
}

.pricing-section h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-promo {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.pricing-promo .plan-promo-tag {
  padding: 5px 14px;
  font-size: 13px;
}

.pricing-section .subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(165deg, #243352 0%, #1a2740 55%, #152238 100%);
  border: 1.5px solid rgba(96, 165, 250, 0.28);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.price-card.recommended {
  border: 2px solid var(--accent-blue-light);
  background: linear-gradient(
    165deg,
    rgba(59, 130, 246, 0.22) 0%,
    #1e3050 40%,
    #152238 100%
  );
  box-shadow: 0 12px 48px rgba(59, 130, 246, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-section .price-card.recommended {
  transform: scale(1.03);
}

.badge-recommended {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 12px;
  white-space: nowrap;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
  letter-spacing: 0.02em;
}

.plan-badge-hot {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.55);
  color: #fca5a5;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.plan-promo-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.promo-new {
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: #fb923c;
}

.promo-rise {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.plan-price {
  margin-bottom: 22px;
  padding: 16px 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
}

.price-card.recommended .plan-price {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.3);
}

.plan-price .monthly {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}

.plan-origin {
  font-size: 15px;
  font-weight: 500;
  color: #94a3b8;
}

.plan-origin del {
  text-decoration: line-through;
  text-decoration-color: rgba(248, 113, 113, 0.75);
  color: #94a3b8;
}

.plan-origin-sm {
  font-size: 12px;
  color: #94a3b8;
  margin: 0 2px;
}

.plan-origin-sm del {
  text-decoration: line-through;
  text-decoration-color: rgba(248, 113, 113, 0.6);
  color: #94a3b8;
}

.plan-price .monthly .currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold);
  vertical-align: super;
}

.plan-price .monthly .per {
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
}

.plan-price .yearly {
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 6px;
  line-height: 1.55;
}

.plan-price .yearly .amount {
  color: var(--accent-cyan);
  font-weight: 700;
}

.plan-price .yearly .save {
  color: #fca5a5;
  font-size: 12px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.15);
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: 2px;
}

.features-title {
  font-size: 12px;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.feature-list {
  list-style: none;
  flex: 1 1 auto;
  margin-bottom: 26px;
}

.feature-list li {
  font-size: 14px;
  color: #e2e8f0;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.feature-list li::before {
  content: "✓";
  color: #34d399;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list li .hl {
  color: var(--accent-cyan);
  font-weight: 700;
}

.btn-order {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 14px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.45);
}

.btn-primary:active {
  opacity: 0.9;
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.14);
  border: 1.5px solid rgba(96, 165, 250, 0.5);
  color: #f1f5f9;
}

.btn-secondary:active {
  opacity: 0.9;
}

/* Addon */
.addon-section {
  padding: 40px 40px 60px;
  max-width: 1080px;
  margin: 0 auto;
}

.addon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: 14px;
  padding: 24px 32px;
}

.addon-info {
  flex: 1;
}

.addon-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.addon-name .hot {
  padding: 2px 8px;
  font-size: 11px;
  background: var(--accent-gold);
  color: #000;
  border-radius: 6px;
  font-weight: 600;
}

.addon-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.addon-price {
  text-align: right;
}

.addon-price .price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-gold);
}

.addon-price .price .unit {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.addon-price .note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Features */
.features-section {
  padding: 60px 40px;
}

.features-section h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.45;
  max-width: 640px;
  margin: 0 auto 44px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
}

.feature-card .icon {
  font-size: 26px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 0.02em;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Partner */
.partner-section {
  padding: 72px 40px 88px;
  text-align: center;
  background: linear-gradient(
      180deg,
      var(--bg-primary) 0%,
      rgba(17, 24, 39, 0.75) 50%,
      var(--bg-primary) 100%
    ),
    radial-gradient(
      ellipse 60% 50% at 50% 50%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 60%
    );
  border-top: 1px solid rgba(96, 165, 250, 0.12);
}

.partner-section h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 40px;
  letter-spacing: 0.03em;
}

.partner-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.partner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.partner-btn.primary {
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.partner-btn.primary:active {
  opacity: 0.9;
}

.partner-btn.outline {
  background: rgba(59, 130, 246, 0.1);
  border: 1.5px solid rgba(96, 165, 250, 0.5);
  color: var(--text-primary);
}

.partner-btn.outline:active {
  opacity: 0.9;
}

/* Footer */
.footer {
  padding: 36px;
  text-align: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 12px;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

/* 叠在「套餐剩余」等已有浮层之上（如售后客服二维码） */
.modal-overlay.modal-front {
  z-index: 300;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px;
  width: 520px;
  max-width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.modal h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal .modal-subtitle {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 24px;
}

.modal-qr {
  width: 360px;
  padding: 28px 32px 32px;
  text-align: center;
}

.modal-qr h3 {
  margin-bottom: 8px;
}

.trial-upgrade-modal .trial-upgrade-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 12px;
}
.trial-upgrade-modal .trial-upgrade-actions .btn-order {
  width: 100%;
  margin: 0;
}
.trial-upgrade-hint {
  margin: 8px 0 12px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

.modal-qr .modal-subtitle {
  margin-bottom: 20px;
}

.partner-qr-wrap {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  padding: 14px;
}

.partner-qr-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* Form */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-secondary);
}

.form-group label .req {
  color: var(--price-tag);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-blue);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group select option {
  background: var(--bg-card);
}

.order-summary {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 22px;
}

.order-summary .row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
}

.order-summary .row.total {
  border-top: 1px solid var(--border-color);
  margin-top: 6px;
  padding-top: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.order-summary .row.total .amount {
  color: var(--accent-cyan);
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.btn-submit:active:not(:disabled) {
  opacity: 0.9;
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Success */
.success-content {
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
}

.success-content h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.success-content > p {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 20px;
}

.manual-panel {
  text-align: left;
  margin-top: 20px;
}

.manual-panel h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--accent-cyan);
}

.manual-steps {
  list-style: none;
  counter-reset: step;
}

.manual-steps li {
  counter-increment: step;
  padding: 10px 0;
  padding-left: 36px;
  position: relative;
  font-size: 13px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(30, 58, 95, 0.4);
  line-height: 1.55;
}

.manual-steps li:last-child {
  border-bottom: none;
}

.manual-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--accent-blue-light);
  font-weight: 700;
}

.manual-steps li a {
  color: var(--accent-cyan);
  text-decoration: underline;
  word-break: break-all;
}

.manual-steps li strong {
  color: var(--text-primary);
}

.qr-area {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.qr-area .qr-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.qr-box {
  display: inline-block;
  background: #fff;
  padding: 12px;
  border-radius: 14px;
}

.qr-box img {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 180px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.qr-placeholder {
  width: 180px;
  min-height: 180px;
  aspect-ratio: 1 / 1;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 12px;
  border-radius: 8px;
  text-align: center;
  padding: 8px;
}

.success-tip {
  font-size: 12px;
  color: var(--accent-gold);
  margin-top: 10px;
}

.success-order-id {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 14px;
}

.success-kiosk-panel {
  margin: 16px 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.22);
  text-align: left;
}

.success-kiosk-panel h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #f8fafc;
}

.success-kiosk-hint {
  margin: 0 0 10px;
  font-size: 13px;
  color: #e2e8f0;
  line-height: 1.5;
}

.success-kiosk-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.success-kiosk-url {
  flex: 1 1 200px;
  font-size: 12px;
  word-break: break-all;
  color: #2563eb;
}

.success-kiosk-code {
  margin: 0;
  font-size: 13px;
  color: #e2e8f0;
}

.success-kiosk-code code {
  font-size: 12px;
  padding: 2px 6px;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 4px;
  word-break: break-all;
}

.success-kiosk-pending {
  margin: 8px 0 0;
  font-size: 12px;
  color: #fcd34d;
  line-height: 1.5;
}

.btn-retry-provision {
  margin-top: 10px;
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
  cursor: pointer;
}

.btn-retry-provision:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.28);
}

.btn-retry-provision:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* 套餐剩余弹窗：订单表浅色底，避免深色字看不清 */
.portal-account-modal .modal-title {
  color: #f1f5f9;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.portal-account-modal .modal-sub {
  color: #94a3b8;
  font-size: 13px;
  margin-bottom: 16px;
}

.portal-account-modal .table-wrap {
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 4px 8px;
}

.portal-account-modal .my-orders-table td {
  color: #1e293b;
  background: #fff;
}

.portal-account-modal .my-orders-table tbody tr:hover td {
  background: #f1f5f9;
}

.btn-copy-kiosk {
  flex: 0 0 auto;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: #fff;
  color: #2563eb;
  cursor: pointer;
}

.btn-copy-kiosk:hover {
  background: rgba(59, 130, 246, 0.08);
}

.btn-copy-kiosk-inline {
  margin-left: 6px;
  padding: 4px 10px;
  vertical-align: middle;
}

.my-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #1e293b;
}
.my-orders-table th,
.my-orders-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}
.my-orders-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
}
.my-orders-table code {
  font-size: 11px;
  word-break: break-all;
}

/* 导航：宽屏登录态仍可能挤爆，逐级压缩后折叠为汉堡菜单 */
@media (max-width: 1480px) {
  .nav {
    padding: 0 24px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-badge {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    padding: 5px 12px;
  }

  .nav-plan-remain {
    max-width: 240px;
  }
}

@media (max-width: 1320px) {
  .nav-badge {
    display: none;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .nav-links .nav-consult {
    padding: 6px 12px;
  }

  .nav-links .nav-manager {
    padding: 6px 12px;
  }

  .nav-plan-remain {
    max-width: 200px;
    padding: 5px 10px;
  }

  .nav-plan-remain-detail {
    font-size: 10px;
  }

  .nav-links > a[href="#partner"] {
    display: none;
  }
}

@media (max-width: 1280px) {
  .nav {
    height: 64px;
    align-items: center;
    padding: 0 12px 0 16px;
    gap: 8px;
  }

  .nav-brand {
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding-right: 0;
  }

  .nav-logo {
    flex-shrink: 0;
  }

  .nav-logo img {
    height: 28px;
    max-width: 96px;
  }

  .nav-lang-select {
    max-width: 108px;
    font-size: 12px;
    padding: 5px 24px 5px 8px;
  }

  .nav-badge {
    display: block;
    flex: 1;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: clamp(13px, 3.85vw, 15px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    color: #93c5fd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: 0;
    margin-top: 0;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.14);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-backdrop {
    display: none;
  }

  .nav-backdrop.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.45);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 101;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px 16px 20px;
    max-height: min(78dvh, 560px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a:not(.nav-consult):not(.nav-order) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    margin: 0;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-secondary);
    background: transparent;
    white-space: normal;
    text-align: center;
  }

  .nav-links > a:not(.nav-consult):not(.nav-order):active {
    background: rgba(59, 130, 246, 0.12);
    color: var(--text-primary);
  }

  .nav-links #navPortalGuest,
  .nav-links #navPortalUser {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }

  .nav-links #navPortalGuest {
    flex-direction: row;
    gap: 10px;
  }

  .nav-links #navPortalGuest.hidden,
  .nav-links #navPortalUser.hidden {
    display: none;
  }

  .nav-links .nav-consult,
  .nav-links .nav-manager,
  .nav-links .nav-order,
  .nav-links .nav-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    margin: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-links .nav-consult {
    margin-top: 8px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: var(--text-primary);
  }

  .nav-links .nav-plan-remain {
    width: 100%;
    max-width: none;
    min-height: 52px;
    margin: 0;
    padding: 10px 14px;
    align-items: center;
    text-align: center;
    border-radius: 12px;
  }

  .nav-links .nav-plan-remain-detail {
    white-space: normal;
    text-align: center;
  }

  .nav-links .nav-manager {
    background: linear-gradient(135deg, var(--accent-blue), #2563eb);
    border: none;
    color: #fff;
  }

  .nav-links #navPortalUser .nav-auth {
    background: rgba(51, 65, 85, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #cbd5e1;
  }

  .nav-links #navPortalGuest .nav-auth {
    flex: 1;
    min-width: 0;
    background: rgba(51, 65, 85, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #cbd5e1;
  }

  .nav-links #navPortalGuest .nav-auth-primary {
    flex: 1;
    min-width: 0;
    background: linear-gradient(135deg, var(--accent-blue), #2563eb);
    border: none;
    color: #fff;
  }

  .nav-links .nav-order {
    margin-top: 4px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.5);
    color: var(--accent-blue-light);
  }

  body.nav-menu-open {
    overflow: hidden;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-first-inner {
    grid-template-columns: 1fr 360px;
    grid-template-areas:
      "head head"
      "kiosk side"
      "desc desc";
    gap: 16px 20px;
  }

  .kiosk {
    width: 360px;
  }

  .kiosk-body {
    border-radius: 32px;
    padding: 4px;
  }

  .kiosk-screen {
    border-radius: 28px;
  }

  .kiosk-stand {
    width: 46px;
    height: 46px;
  }

  .kiosk-base {
    width: 128px;
    height: 13px;
  }

  .hero-kiosk,
  .hero-side {
    grid-row: auto;
  }

  .hero-head,
  .hero-desc {
    text-align: center;
  }

  .price-line {
    justify-content: center;
  }

  .hero-slogan {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-first {
    padding: 64px 16px 16px;
    min-height: auto;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
  }

  .screen-poster-inner {
    padding: 18px 14px 16px;
    min-height: auto;
    border-radius: 14px;
  }

  .screen-poster-head {
    margin-bottom: 14px;
  }

  .screen-poster-badge {
    font-size: 12px;
    padding: 5px 12px;
    margin-bottom: 8px;
  }

  .screen-poster-head h2 {
    font-size: 19px;
    line-height: 1.5;
    padding: 0 4px;
  }

  .screen-poster-group {
    gap: 12px;
    padding-bottom: 4px;
  }

  .device-card {
    min-width: 76px;
  }

  .hero-first-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "desc"
      "kiosk"
      "side";
    gap: 16px;
  }

  .hero-kiosk {
    align-self: center;
  }

  .hero-head,
  .hero-desc {
    text-align: center;
  }

  .hero-head {
    padding: 0 4px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
  }

  .price-line {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .price-highlight {
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0.01em;
  }

  .price-original {
    font-size: 14px;
    line-height: 1.4;
  }

  .price-tag {
    font-size: 12px;
    padding: 5px 12px;
  }

  .hero-desc {
    padding: 18px 14px 20px;
    margin: 0 2px;
    background: linear-gradient(
      180deg,
      rgba(59, 130, 246, 0.1) 0%,
      rgba(59, 130, 246, 0.04) 100%
    );
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 16px;
  }

  .hero-slogan {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0;
    margin-bottom: 0;
    text-align: center;
  }

  .hero-slogan-line {
    display: inline;
    font-size: 18px;
    line-height: 1.6;
    white-space: normal;
    text-align: center;
    max-width: none;
    margin: 0;
  }

  .hero-slogan-hl {
    font-size: 18px;
    line-height: 1.6;
    max-width: none;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    margin-top: 26px;
    padding: 15px 24px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(59, 130, 246, 0.4);
  }

  .hero-kiosk {
    margin-top: 0;
  }

  .kiosk {
    width: 330px;
    --kiosk-machine-bottom: 23px;
  }

  .kiosk-foreground-figure {
    left: calc(-34px - 20%);
    height: 73%;
  }

  .kiosk-body {
    padding: 3px;
    border-radius: 28px;
  }

  .kiosk-screen {
    border-radius: 25px;
  }

  .kiosk-stand {
    width: 42px;
    height: 42px;
  }

  .kiosk-base {
    width: 120px;
    height: 12px;
  }

  .kiosk-label {
    font-size: 11px;
    margin-top: 8px;
  }

  .hero-side {
    gap: 12px;
  }

  .capability-block,
  .hint-block {
    padding: 14px 16px;
  }

  .capability-block h3,
  .hint-block h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .hint-block .hint-item:last-of-type {
    margin-bottom: 0;
  }

  .anchor-section .subtitle {
    font-size: 18px;
    padding: 0 8px;
  }

  .anchor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-section .price-card.recommended {
    transform: none;
  }

  .feature-card h3 {
    font-size: 19px;
  }

  .partner-section {
    padding: 56px 20px 64px;
  }

  .partner-section h2 {
    font-size: 26px;
    margin-bottom: 28px;
    padding: 0 8px;
  }

  .partner-actions {
    flex-direction: column;
    align-items: stretch;
    padding: 0 8px;
  }

  .partner-btn {
    width: 100%;
  }

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

  .addon-card {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .addon-price {
    text-align: center;
  }

}

/* Portal auth modal（与管理后台同一套 API） */
.auth-modal {
  max-width: 440px;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.auth-tab {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
}
.auth-tab.active {
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.auth-panel.hidden {
  display: none;
}
.auth-code-row {
  display: flex;
  gap: 10px;
}
.auth-code-row input {
  flex: 1;
  min-width: 0;
}
.btn-auth-code {
  flex-shrink: 0;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  white-space: nowrap;
}
.btn-auth-code:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.auth-err {
  min-height: 1.2em;
  margin: 0 0 10px;
  color: #f87171;
  font-size: 13px;
}
.auth-ok {
  min-height: 1.2em;
  margin: 0 0 10px;
  color: var(--success);
  font-size: 13px;
}
.auth-invite-hint,
.form-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}
.auth-order-hint {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
}
input.input-readonly {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
  cursor: not-allowed;
}
.auth-coupon-banner {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  line-height: 1.5;
}

.pay-modal {
  max-width: 400px;
  text-align: center;
}
.pay-qr-wrap {
  margin: 16px auto;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  display: inline-block;
}
.pay-qr-image {
  display: block;
  width: 220px;
  height: 220px;
}
.pay-amount {
  margin: 12px 0 4px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f97316;
}
.pay-order-no {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  word-break: break-all;
}
.pay-status {
  min-height: 1.4em;
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--accent-cyan);
}
.btn-auth-secondary {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.auth-success-dl {
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px 12px;
  align-items: baseline;
}
.auth-success-dl dt {
  color: var(--text-muted);
  font-size: 13px;
}
.auth-success-dl dd {
  margin: 0;
  color: var(--text-primary);
  word-break: break-all;
}
.auth-success-dl code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 15px;
  color: var(--accent-cyan);
}
