:root {
  --bg: #f1fafd;
  --ink: #12354a;
  --ink-soft: #2b4a5a;
  --muted: #6b8a99;
  --muted-light: #8aa6b3;
  --brand: #0e8a9e;
  --brand-deep: #0b7c8e;
  --aqua: #38bdf8;
  --green: #34d399;
  --green-deep: #10b981;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --orange: #f97316;
  --line: #e0f1f5;
  --card: rgba(255, 255, 255, 0.96);
  --shadow: 0 16px 44px rgba(23, 89, 110, 0.1);
  --shadow-soft: 0 10px 26px rgba(23, 89, 110, 0.06);
  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 720px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 8% -4%, rgba(125, 216, 255, 0.4), rgba(125, 216, 255, 0) 42%),
    radial-gradient(circle at 96% 6%, rgba(134, 242, 198, 0.42), rgba(134, 242, 198, 0) 40%),
    radial-gradient(circle at 50% 108%, rgba(196, 181, 253, 0.22), rgba(196, 181, 253, 0) 46%);
  background-attachment: fixed;
}

a {
  color: var(--brand);
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.hidden {
  display: none !important;
}

.page {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 18px 44px;
}

a.page {
  display: block;
}

/* ---------- 通用组件 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.28);
}

.btn-ghost {
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
}

.btn-violet {
  color: #fff;
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.24);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  min-height: 38px;
  padding: 8px 16px;
  font-size: 14px;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.state {
  margin: 26px 0;
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.state.error {
  color: #b45309;
  border-color: #fde7c2;
  background: #fffaf1;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
  margin-top: 18px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.section-title::before {
  content: "";
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--aqua), var(--green));
}

.muted {
  color: var(--muted);
}

.site-footer {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 20px 34px;
  text-align: center;
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.9;
}

.site-footer span {
  display: block;
}

.site-footer a {
  color: var(--muted-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--brand);
}

/* ---------- 首页 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 12px 18px 10px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #9fe4fb 0%, #7fe8d2 55%, #a5f0c8 100%);
  color: #0b3b4a;
  box-shadow: 0 20px 48px rgba(64, 190, 210, 0.28);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hero::before {
  left: -90px;
  bottom: -120px;
  width: 240px;
  height: 240px;
}

.hero::after {
  right: -80px;
  top: -100px;
  width: 230px;
  height: 230px;
}

.hero-top {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  opacity: 0.62;
}

.hero-title {
  margin-top: 6px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.hero-sub {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(11, 59, 74, 0.72);
}

.hero-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #0b5b63;
  background: rgba(255, 255, 255, 0.6);
}

.continue-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef9ff, #eafaf3);
  border: 1px solid #d4eef4;
  box-shadow: var(--shadow-soft);
}

.continue-card .continue-text {
  flex: 1;
  min-width: 0;
}

.continue-card strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.continue-card p {
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pass-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff4e0, #ffe9c9);
  border: 1px solid #ffdcae;
  box-shadow: 0 12px 28px rgba(214, 158, 84, 0.16);
}

.pass-banner-text {
  flex: 1;
}

.pass-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: #8a4b0f;
}

.pass-banner-desc {
  margin-top: 3px;
  font-size: 12px;
  color: #a97840;
}

.quiz-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.quiz-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 18px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.48) 100%),
    radial-gradient(circle at 10% -10%, rgba(125, 216, 255, 0.5), rgba(125, 216, 255, 0) 60%),
    radial-gradient(circle at 110% 120%, rgba(134, 242, 198, 0.55), rgba(134, 242, 198, 0) 60%);
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.92), inset 0 2px 0 rgba(255, 255, 255, 0.9), 0 16px 40px rgba(23, 89, 110, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  cursor: pointer;
}

.quiz-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(237, 242, 255, 0.92) 100%),
    radial-gradient(circle at 10% -10%, rgba(139, 92, 246, 0.32), rgba(139, 92, 246, 0) 60%),
    radial-gradient(circle at 110% 120%, rgba(6, 182, 212, 0.35), rgba(6, 182, 212, 0) 60%);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.25),
    0 0 0 4px rgba(99, 102, 241, 0.12),
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    0 28px 52px rgba(99, 102, 241, 0.22);
}

.quiz-card:hover .quiz-cta .btn {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.38);
  transform: translateY(-1px);
}

.quiz-card:active {
  transform: scale(0.995);
}

.quiz-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.28);
}

.quiz-tag.tag-mbti {
  color: #7c4a03;
  background: linear-gradient(135deg, #fde68a, #facc15);
  box-shadow: 0 6px 16px rgba(234, 179, 8, 0.3);
}

.quiz-tag.tag-pdp {
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.28);
}

.quiz-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 84px;
}

.quiz-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(23, 89, 110, 0.08);
}

.quiz-icon svg {
  width: 22px;
  height: 22px;
}

.quiz-card[data-code="mbti"] .quiz-icon {
  color: #b45309;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.quiz-card[data-code="disc"] .quiz-icon {
  color: #0e7490;
  background: linear-gradient(135deg, #ecfeff, #a5f3fc);
}

.quiz-card[data-code="pdp"] .quiz-icon {
  color: #047857;
  background: linear-gradient(135deg, #ecfdf5, #a7f3d0);
}

.quiz-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.quiz-sub {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  color: #5f7b8a;
}

.quiz-sub-line {
  display: block;
  white-space: nowrap;
}

.quiz-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-light);
}

.report-meta-text {
  font-size: 12px;
  color: rgba(11, 59, 74, 0.55);
  letter-spacing: 0.2px;
}

.quiz-meta b {
  font-weight: 600;
  color: var(--brand);
}

.quiz-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(230, 243, 245, 0.9);
}

.quiz-price {
  display: none;
}

.quiz-cta .begin-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.page-note {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted-light);
}

/* ---------- 答题页 ---------- */

.quiz-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 18px;
  background: rgba(241, 250, 253, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(224, 241, 245, 0.7);
}

.back-link {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
}

.quiz-top-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quiz-top-meta {
  flex: none;
  font-size: 12px;
  color: var(--muted);
}

.stage-bar {
  margin-top: 6px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #dff0f6;
  box-shadow: var(--shadow-soft);
}

.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stage-name {
  font-size: 13px;
  font-weight: 700;
  color: #0e7490;
}

.stage-dots {
  display: flex;
  gap: 5px;
}

.stage-dot {
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: #d8ecf3;
  transition: background 0.2s ease;
}

.stage-dot.on {
  background: linear-gradient(90deg, var(--aqua), var(--green));
}

.stage-desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.progress-count {
  font-weight: 700;
  color: var(--brand);
}

.progress-index {
  color: var(--muted);
}

.progress {
  position: relative;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: #e2f1f5;
}

.progress-inner {
  position: relative;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--green));
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
  transition: width 0.3s ease;
}

.question-block {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 26px 22px 28px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.question-block::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), rgba(56, 189, 248, 0));
  pointer-events: none;
}

.q-num {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted-light);
}

.q-content {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}

.choice-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 15px;
  text-align: left;
  border-radius: 18px;
  border: 2px solid #e1eef4;
  background: #fff;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.choice-card:hover {
  background: #f6fcfd;
}

.choice-card:active {
  transform: scale(0.99);
}

.choice-card.active {
  border-color: var(--green-deep);
  background: #f0fdf8;
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.13);
}

.choice-key {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #0e7490;
  background: #e6f7fb;
  transition: background 0.18s ease, color 0.18s ease;
}

.choice-card.active .choice-key {
  color: #fff;
  background: var(--green-deep);
}

.choice-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.quiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.quiz-foot .btn {
  min-width: 108px;
}

.quiz-foot .prev-placeholder {
  width: 108px;
}

.submit-row {
  margin-top: 14px;
}

.quiz-hint {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted-light);
}

/* ---------- 结果页 ---------- */

.result-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #a8e8ff 0%, #8fe9d5 58%, #a8f0c8 100%);
  color: #0b3b4a;
  box-shadow: 0 22px 52px rgba(64, 190, 210, 0.24);
}

.result-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.result-eyebrow {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 4px;
  opacity: 0.65;
}

.hero-meta {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  max-width: 58%;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 59, 74, 0.08);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
  color: rgba(11, 59, 74, 0.62);
  letter-spacing: 0.2px;
  word-break: break-all;
}

@media (max-width: 640px) {
  .hero-meta {
    top: 12px;
    right: 12px;
    max-width: 62%;
    padding: 3px 8px;
    font-size: 10px;
  }
}

.paid-hero {
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(240, 250, 253, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.hero-icon {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 58px;
  line-height: 1;
}

.hero-code {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 6px;
  line-height: 1;
  color: #0b5b63;
}

.hero-type-title {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  font-size: 21px;
  font-weight: 700;
}

.hero-summary {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(11, 59, 74, 0.76);
  text-align: left;
}

.paid-hero .hero-summary {
  text-align: center;
}

.chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #0b5b63;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(11, 59, 74, 0.1);
}

.rarity-chip {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: #475569;
  background: #fff;
  border: 1px solid rgba(14, 116, 144, 0.16);
}

/* 未解锁：候选类型轮播 */
.locked-hero {
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(243, 249, 255, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.cycle-wrap {
  position: relative;
  z-index: 1;
  min-height: 88px;
  margin-top: 14px;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cycle-wrap.with-icon {
  min-height: 126px;
}

.cycle-wrap.fade {
  opacity: 0;
  transform: translateY(6px);
}

.cycle-icon {
  font-size: 40px;
  line-height: 1.1;
}

.cycle-code {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 8px;
  line-height: 1.1;
  color: #6d28d9;
}

.cycle-title {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.locked-hint {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: #5b6b86;
}

.locked-ratio {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: #6d28d9;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.18);
}

.brief-overview {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  text-align: left;
}

.brief-overview p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(11, 59, 74, 0.78);
}

.brief-unlock {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #0b7c8e;
}

.retention-tip {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: #a97840;
  background: #fff8ec;
  border: 1px solid #fde7c2;
  border-radius: 14px;
  padding: 9px 12px;
}

.dim {
  margin-top: 16px;
}

.dim:first-of-type {
  margin-top: 0;
}

.dim-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.dim-label {
  font-weight: 600;
  color: var(--ink-soft);
}

.dim-pct {
  font-weight: 700;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.dim-bar {
  height: 8px;
  margin-top: 7px;
  border-radius: 999px;
  background: #eaf4f7;
  overflow: hidden;
}

.dim-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--green));
}

.dim-insight {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.overview-text {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.overview-text:first-of-type {
  margin-top: 0;
}

.overview-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  cursor: pointer;
}

.pair {
  padding-top: 18px;
}

.pair + .pair {
  margin-top: 18px;
  border-top: 1px dashed var(--line);
}

.pair:first-of-type {
  padding-top: 0;
}

.pair-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.pair-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.pair-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #0b5b63;
  background: #eafaf3;
}

.pair-scale {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.pair-side {
  flex: none;
  max-width: 34%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pair-side.right {
  text-align: right;
}

.pair-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #eef5f8;
  overflow: hidden;
}

.pair-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #a78bfa, var(--aqua));
}

.pair-insight {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}

.paragraph {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  white-space: pre-wrap;
}

.paragraph:first-of-type {
  margin-top: 0;
}

.group {
  margin-top: 16px;
}

.group-title {
  font-size: 14px;
  font-weight: 700;
  color: #0e7490;
}

.item-card {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7fcfe;
  border: 1px solid #e8f4f8;
}

.item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.item-desc {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  white-space: pre-wrap;
}

.bullets {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bullet {
  display: flex;
  gap: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.bullet-dot {
  flex: none;
  color: var(--green-deep);
  font-weight: 700;
}

.trait-group {
  margin-top: 14px;
}

.trait-group:first-of-type {
  margin-top: 0;
}

.trait-name {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* 付费卡片 */
.pay-card {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 24px 20px 20px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(253, 230, 138, 0.5), rgba(253, 230, 138, 0) 55%),
    linear-gradient(150deg, #fffdf6, #fff6e6);
  border: 1px solid #fbe3b4;
  box-shadow: 0 18px 40px rgba(214, 158, 84, 0.14);
}

.pay-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pay-head h3 {
  font-size: 19px;
  font-weight: 800;
  color: #8a4b0f;
}

.pay-price {
  font-size: 26px;
  font-weight: 800;
  color: #c2410c;
}

.pay-price small {
  font-size: 12px;
  font-weight: 400;
  color: #a97840;
}

.pay-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #a97840;
}

.pay-benefits {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pay-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #7c4a03;
}

.pay-benefits li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.pay-card .btn {
  margin-top: 16px;
}

.pass-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px dashed #f0c98a;
  font-size: 13px;
  color: #8a4b0f;
}
.pass-row b {
  color: #c2410c;
}

.mock-hint {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  color: #b18a58;
}

/* 导出 */
.export-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 0;
  text-align: left;
  border-top: 1px dashed var(--line);
}

.export-item:first-of-type {
  border-top: 0;
}

.export-text {
  flex: 1;
}

.export-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.export-desc {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.export-arrow {
  flex: none;
  font-size: 20px;
  color: #c3d6de;
}

/* PC 端保存/导出入口收在右上角下拉菜单 */
@media (min-width: 900px) {
  .export-card {
    display: none;
  }
}

.result-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.result-actions .btn {
  flex: 1;
}

/* ---------- 弹层 / 提示 ---------- */

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 40, 52, 0.42);
  backdrop-filter: blur(3px);
}

.modal-card {
  width: 100%;
  max-width: 380px;
  padding: 24px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(12, 40, 52, 0.26);
  animation: pop-in 0.2s ease;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.modal-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.modal-input {
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 14px;
  border: 1px solid #dbe9ef;
  background: #f8fcfd;
  outline: none;
}

.modal-input:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.modal-actions .btn {
  flex: 1;
}

.code-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.code-row .modal-input {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}

.code-row .btn {
  flex: none;
  min-width: 116px;
  border-radius: 14px;
}

.login-tip {
  min-height: 18px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.login-tip.error {
  color: #d97706;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 48px;
  z-index: 80;
  max-width: 78vw;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  color: #fff;
  text-align: center;
  background: rgba(18, 53, 74, 0.9);
  box-shadow: 0 10px 28px rgba(12, 40, 52, 0.28);
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 600px) {
  .page {
    padding: 26px 28px 52px;
  }
  .hero {
    padding: 42px 38px 34px;
  }
  .hero-title {
    font-size: 34px;
  }
  .quiz-card {
    padding: 26px 26px 20px;
  }
  .question-block {
    padding: 32px 30px 34px;
  }
  .result-hero {
    padding: 34px 32px 30px;
  }
  .hero-code {
    font-size: 62px;
  }
}

/* ================= 站点框架与 PC 布局优化 ================= */

html {
  scroll-padding-top: 24px;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-head {
  position: static;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--maxw);
  margin: 20px auto 0;
  padding: 4px 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
}

.brand-text {
  font-size: 17px;
  letter-spacing: 0.5px;
}

.brand-sm .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.brand-sm .brand-text {
  font-size: 15px;
}

.site-nav {
  display: none;
  gap: 10px;
  margin-left: auto;
  font-size: 14px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 9px;
  color: #43707d;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--aqua), var(--green), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.28s ease;
}

.site-nav a:hover {
  color: var(--brand-deep);
  background: rgba(56, 189, 248, 0.09);
}

.site-nav a:hover::after {
  opacity: 0.6;
  transform: scaleX(0.85);
}

.site-nav a.active {
  color: var(--brand-deep);
  font-weight: 700;
  background: transparent;
  box-shadow: none;
}

.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  display: none;
  margin-left: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  border: 0;
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.28);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.9);
}

.hero-visual {
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

/* ---------- 页头组合购买价卡片 ---------- */

.bundle-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bundle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bundle-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #6366f1);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.28);
}

.bundle-tip {
  font-size: 12px;
  color: rgba(11, 59, 74, 0.62);
}

.bundle-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.bundle-price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: #0b3b4a;
}

.bundle-origin {
  font-size: 13px;
  color: rgba(11, 59, 74, 0.5);
  text-decoration: line-through;
}

.price-label {
  margin-right: 4px;
  font-size: 0.56em;
  font-weight: 700;
  letter-spacing: 0;
}

.price-dec {
  font-size: 0.62em;
}

.money-dec {
  font-size: 0.66em;
  font-weight: inherit;
  letter-spacing: 0;
}

.bundle-save {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.bundle-desc {
  font-size: 13px;
  color: rgba(11, 59, 74, 0.7);
}

.bundle-list {
  list-style: none;
  margin: 2px 0 2px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.bundle-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #0b3b4a;
}

.bundle-dot {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  height: 22px;
  padding: 0 6px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.dot-mbti {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.dot-disc {
  background: linear-gradient(135deg, var(--aqua), var(--brand));
}

.dot-pdp {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
}

.bundle-dot-icon {
  min-width: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 0;
  font-size: 15px;
  background: none;
  box-shadow: none;
}

.bundle-card .btn-block {
  margin-top: 2px;
}

/* ---------- Hero 轮播 ---------- */

.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-slide {
  display: none;
  width: 100%;
  flex-shrink: 0;
  animation: heroSlideFade 0.45s ease;
}

.hero-slide.is-active {
  display: block;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 59, 74, 0.28);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, width 0.25s;
}

.hero-dot.is-active {
  width: 22px;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  transform: scale(1.05);
}

.hero-dot:hover {
  background: rgba(11, 59, 74, 0.5);
}

.bundle-badge-alt {
  background: linear-gradient(135deg, var(--green), #0ea5e9);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.28);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.85);
  color: #0e6b7a;
  border: 1px solid rgba(14, 138, 158, 0.35);
}

.btn-outline:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  border-color: rgba(14, 138, 158, 0.6);
  color: #0b3b4a;
}

.btn-hero-slide {
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.32);
  border: 0;
}

.btn-hero-slide:hover {
  background: linear-gradient(135deg, #4f46e5, #0891b2);
  box-shadow: 0 14px 32px rgba(99, 102, 241, 0.42);
  transform: translateY(-1px);
}

@keyframes heroSlideFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 4px;
}

.section-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}

.section-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.section-note {
  flex: none;
  font-size: 12px;
  color: var(--muted-light);
}

.feature-section {
  margin-top: 52px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}

.feature-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.feature-icon {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 0;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .site-head {
    max-width: 1120px;
    padding: 6px 40px;
  }

  .site-head--narrow {
    max-width: 880px;
  }

  .page {
    max-width: 1120px;
    padding: 34px 40px 64px;
  }

  .page-narrow {
    max-width: 880px;
  }

  .quiz-topbar {
    max-width: 1120px;
    padding: 14px 40px;
  }

  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
    padding: 22px 32px;
  }

  .hero-title {
    font-size: 46px;
    line-height: 1.18;
    margin-top: 12px;
  }

  .hero-sub {
    font-size: 15px;
    max-width: 460px;
    margin-top: 14px;
  }

  .hero-visual {
    display: block;
    position: relative;
    z-index: 1;
    margin-top: 0;
  }

  .bundle-price {
    font-size: 42px;
  }

  .visual-card {
    padding: 20px 20px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 50px rgba(23, 89, 110, 0.16);
    overflow: hidden;
    background-clip: padding-box;
  }

  .visual-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: #0b5b63;
    opacity: 0.72;
    margin-bottom: 16px;
  }

  .visual-rows {
    display: grid;
    gap: 16px;
  }

  .visual-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    grid-template-areas:
      "badge name"
      "badge bar";
    gap: 4px 12px;
    align-items: center;
  }

  .visual-badge {
    grid-area: badge;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
  }

  .badge-mbti {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
  }

  .badge-disc {
    background: linear-gradient(135deg, var(--aqua), var(--brand));
  }

  .badge-pdp {
    background: linear-gradient(135deg, var(--green), var(--green-deep));
  }

  .visual-name {
    grid-area: name;
    font-size: 13px;
    font-weight: 600;
    color: #0b3b4a;
  }

  .visual-bar {
    grid-area: bar;
    height: 6px;
    border-radius: 999px;
    background: rgba(11, 59, 74, 0.1);
    overflow: hidden;
  }

  .visual-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--aqua), var(--green));
  }

  .visual-foot {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed rgba(11, 59, 74, 0.18);
    font-size: 12px;
    color: rgba(11, 59, 74, 0.62);
  }

  .quiz-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 22px;
  }

  .quiz-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 26px 24px 22px;
  }

  .quiz-head {
    min-height: 48px;
    align-items: center;
    padding-right: 40px;
  }

  .quiz-title {
    font-size: 15px;
    min-height: 0;
  }

  .quiz-sub {
    min-height: 22px;
  }

  .quiz-cta {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .quiz-cta .btn {
    flex: none;
    white-space: nowrap;
  }

  .quiz-meta {
    min-height: 20px;
    white-space: nowrap;
  }

  .quiz-points {
    min-height: 80px;
  }

  .quiz-fit {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .quiz-cta {
    margin-top: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .site-footer {
    max-width: 1120px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 20px;
    padding: 10px 40px 40px;
  }

  .site-footer span {
    display: inline;
  }
}

@media (min-width: 1100px) {
  .quiz-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 52px;
  }

  .hero {
    padding: 28px 40px;
  }
}

/* ---------- 测评卡片补充信息 ---------- */

.quiz-points {
  list-style: disc;
  margin: 12px auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 240px;
  color: #5f7b8a;
}

.quiz-points li {
  padding: 0 0 0 18px;
  font-size: 12px;
  line-height: 1.65;
  color: #3d6273;
  list-style: disc;
}

.quiz-points li::marker {
  color: rgba(14, 138, 158, 0.6);
  font-size: 10px;
}

.quiz-code {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  color: #b45309;
  font-weight: 600;
}

.quiz-fit {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  color: #0b5b63;
  background: rgba(56, 189, 248, 0.09);
}

/* ---------- 为什么选择：数据条 ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.stat-item b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--brand-deep);
}

.stat-item span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 为什么选择：特性卡补充 ---------- */

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.feature-tags span {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--brand-deep);
  background: rgba(56, 189, 248, 0.12);
}

/* ---------- 三步流程 ---------- */

.steps {
  margin-top: 26px;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.steps-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.step-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-no {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  box-shadow: 0 8px 18px rgba(56, 189, 248, 0.22);
}

.step-list h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.step-list p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

@media (min-width: 900px) {
  .quiz-points li {
    font-size: 13px;
  }

  .stat-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 24px 20px;
  }

  .stat-item + .stat-item {
    border-left: 1px solid var(--line);
  }

  .stat-item b {
    font-size: 28px;
  }

  .step-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .steps {
    padding: 30px 28px;
  }
}

.quiz-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
}

.quiz-status .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 18px;
  color: var(--brand-deep);
  background: rgba(56, 189, 248, 0.1);
}

.quiz-status .quiz-top-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quiz-status .quiz-top-meta {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted-light);
}

.report-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

.report-state.locked {
  color: #8a9aa8;
  background: rgba(138, 154, 168, 0.14);
}

.report-state.unlocked {
  color: #0fa47f;
  background: rgba(15, 164, 127, 0.14);
}

.report-state.badge-text {
  width: auto;
  min-width: 0;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.quiz-status .report-save {
  flex: none;
  min-height: 32px;
  padding: 6px 14px;
  font-size: 13px;
}

/* ---------- 套餐卡片：报告样本与动效 ---------- */

.sample-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 4px 0 2px;
}

.sample-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 74px;
  padding: 8px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 59, 74, 0.08);
  box-shadow: 0 6px 14px rgba(23, 89, 110, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sample-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(23, 89, 110, 0.12);
}

.sample-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: rgba(11, 59, 74, 0.5);
}

.sample-type {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #0b3b4a;
}

.sample-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.sample-bars i {
  display: block;
  width: 5px;
  border-radius: 2px;
  background: linear-gradient(180deg, #fbbf24, #f59e0b);
  transform-origin: bottom;
  animation: barGrow 0.9s ease-out backwards;
}

.sample-bars i:nth-child(1) { height: 60%; animation-delay: 0.1s; }
.sample-bars i:nth-child(2) { height: 90%; animation-delay: 0.2s; }
.sample-bars i:nth-child(3) { height: 45%; animation-delay: 0.3s; }
.sample-bars i:nth-child(4) { height: 75%; animation-delay: 0.4s; }

.sample-quad {
  display: grid;
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  gap: 3px;
}

.sample-quad i {
  border-radius: 4px;
  animation: quadPulse 3s ease-in-out infinite;
}

.sample-quad i:nth-child(1) { background: #ef4444; }
.sample-quad i:nth-child(2) { background: #f59e0b; animation-delay: 0.3s; }
.sample-quad i:nth-child(3) { background: #34d399; animation-delay: 0.6s; }
.sample-quad i:nth-child(4) { background: #38bdf8; animation-delay: 0.9s; }

.sample-radar {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(56, 189, 248, 0.5),
    rgba(52, 211, 153, 0.7),
    rgba(139, 92, 246, 0.5),
    rgba(56, 189, 248, 0.5)
  );
  animation: radarSpin 8s linear infinite;
}

.sample-radar i {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.sample-radar i:nth-child(2) {
  inset: 11px;
  background: rgba(255, 255, 255, 0.6);
}

.sample-radar i:nth-child(3) {
  inset: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.bundle-badge {
  position: relative;
  overflow: hidden;
}

.bundle-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: badgeSheen 4s ease-in-out infinite;
}

.bundle-save {
  animation: savePulse 2.6s ease-in-out infinite;
}

.bundle-price {
  display: inline-block;
  animation: priceIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes barGrow {
  from {
    transform: scaleY(0.15);
    opacity: 0.4;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes quadPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes badgeSheen {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}

@keyframes savePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes priceIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .bundle-card,
  .bundle-save,
  .bundle-price,
  .bundle-badge::after,
  .sample-bars i,
  .sample-quad i,
  .sample-radar {
    animation: none;
  }
}

/* ---------- 三层视角 ---------- */

.layer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.layer-card {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.layer-no {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--brand-deep);
  background: rgba(56, 189, 248, 0.12);
}

.layer-card h3 {
  margin: 10px 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.layer-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.layer-card ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.layer-card li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #2f6b78;
}

.layer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--green));
}

.layer-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed rgba(11, 59, 74, 0.12);
}

@media (min-width: 900px) {
  .layer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}


/* ---------- 消息 / 分享 / 保存菜单 ---------- */

.site-nav a.nav-msg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  color: #fff;
  background: #ef4444;
}

.save-wrap {
  position: relative;
  flex: none;
}

.save-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 168px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.save-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13px;
  text-align: left;
  color: var(--ink-soft);
}

.btn-icon {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.save-menu button:hover {
  color: var(--brand-deep);
  background: rgba(56, 189, 248, 0.1);
}

.share-card .share-desc {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.share-card .share-state {
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--brand-deep);
}

.share-card .btn {
  margin-top: 4px;
}

.share-link-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.share-link-row .modal-input {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}

.share-link-row .btn {
  flex: none;
  border-radius: 14px;
}

.share-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 30px 34px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(240, 250, 253, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.share-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--muted-light);
}

.share-title {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}

.share-quiz {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.share-price {
  margin-top: 18px;
  font-size: 34px;
  font-weight: 800;
  color: var(--brand-deep);
}

.share-benefits {
  max-width: 380px;
  margin: 20px auto 22px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.share-benefits li {
  position: relative;
  margin-top: 8px;
  padding-left: 22px;
  font-size: 13px;
  color: var(--ink-soft);
}

.share-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-deep);
  font-weight: 700;
}

.share-hero .btn + .btn {
  margin-top: 10px;
}

.msg-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg-item {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.msg-item:hover {
  border-color: rgba(56, 189, 248, 0.5);
}

.msg-dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: transparent;
}

.msg-item.unread .msg-dot {
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16);
}

.msg-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.msg-item:not(.unread) .msg-title {
  font-weight: 600;
  color: var(--ink-soft);
}

.msg-text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.msg-time {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted-light);
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 我的 ---------- */

.me-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(238, 250, 253, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.me-avatar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--green));
}

.me-info {
  flex: 1;
  min-width: 0;
}

.me-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.me-account {
  margin-top: 2px;
  overflow: hidden;
  font-size: 12px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tabs {
  display: flex;
  gap: 4px;
  margin: 22px 0 14px;
  border-bottom: 1px solid var(--line);
}

.tab-btn {
  margin-bottom: -1px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-btn.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.me-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.me-item {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(240, 250, 253, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.me-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.me-item-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.me-status {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(148, 163, 184, 0.14);
}

.me-status.ok {
  color: #047857;
  background: rgba(52, 211, 153, 0.16);
}

.me-status.doing {
  color: #b45309;
  background: rgba(245, 158, 11, 0.16);
}

.me-tag {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #6d28d9;
  background: rgba(139, 92, 246, 0.12);
}

.me-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted-light);
}

.me-type {
  font-weight: 700;
  color: var(--brand-deep);
}

.me-amount {
  font-weight: 700;
  color: var(--ink);
}

.me-hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted-light);
}

.me-item-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

/* ---------- 价格页 ---------- */

.price-head {
  margin-top: -8px;
  padding: 0 0 18px;
}

.price-title {
  margin-top: 8px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.price-sub {
  max-width: 820px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.plan-carousel {
  position: relative;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 24px;
}

.plan-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.plan-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.plan-slide .pass-plan {
  height: 100%;
}

.plan-slide:nth-child(n + 2) .pass-plan {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(16, 185, 129, 0.1));
  border-color: rgba(56, 189, 248, 0.18);
}

.plan-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.plan-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 59, 74, 0.18);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.plan-dot.active {
  width: 26px;
  background: linear-gradient(90deg, var(--violet), var(--aqua));
}

.pass-plan {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(139, 92, 246, 0.18);
  box-shadow: var(--shadow-soft);
}

.pass-plan-main {
  flex: 1 1 300px;
  min-width: 0;
}

.pass-plan-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #6366f1);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.28);
}

.pass-plan-badge.is-mbti {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.24);
}

.pass-plan-badge.is-disc {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.24);
}

.pass-plan-badge.is-pdp {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.24);
}

.pass-plan-title {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.pass-plan-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(11, 59, 74, 0.72);
}

.pass-plan-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
}

.pass-plan-points li::before {
  content: "✓";
  margin-right: 5px;
  font-weight: 700;
  color: var(--green-deep);
}

.pass-plan-side {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  min-width: 200px;
}

.pass-plan-save {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.pass-plan-price {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--brand-deep);
}

.pass-plan-side .btn {
  width: 100%;
  margin-top: 4px;
}

.group-section {
  margin-top: 40px;
}

.group-desc {
  max-width: none;
  margin: 10px 0 24px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 团购管理：订单摘要 / 名单导入 ---------- */

.card .group-desc {
  margin-bottom: 16px;
}

.group-summary {
  margin-top: 4px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(238, 250, 253, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.group-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.group-summary-title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.group-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--brand-deep);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
}

.group-summary .me-item-meta {
  margin-top: 12px;
  gap: 14px;
  font-size: 13px;
}

.group-textarea {
  display: block;
  width: 100%;
  min-height: 132px;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.group-textarea::placeholder {
  color: var(--muted-light);
}

.group-textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.import-drop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1.5px dashed rgba(56, 189, 248, 0.45);
  background: linear-gradient(160deg, rgba(240, 250, 255, 0.95), rgba(238, 250, 246, 0.9));
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.import-drop:hover {
  border-color: rgba(14, 138, 158, 0.75);
  background: linear-gradient(160deg, rgba(232, 247, 255, 0.98), rgba(232, 249, 243, 0.95));
  transform: translateY(-1px);
}

.import-drop-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #0e7490;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(23, 89, 110, 0.1);
}

.import-drop-icon svg {
  width: 22px;
  height: 22px;
}

.import-drop-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.import-drop-text b {
  font-size: 14px;
  color: var(--ink);
}

.import-drop-text small {
  font-size: 12px;
  color: var(--muted);
}

.import-file-tip {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.import-file-tip.error {
  color: #d97706;
}

.group-textarea + .btn-block {
  margin-top: 14px;
}

.invite-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.invite-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
}

.invite-info {
  flex: 1;
  min-width: 0;
}

.invite-email {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-name {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted-light);
}

.invite-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.invite-chip {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.6;
  color: #94a3b8;
  background: #f1f5f9;
}

.invite-chip.done {
  color: #0f9f6e;
  background: #e7f8f0;
}

.invite-copy {
  flex: none;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.order-item:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 138, 158, 0.45);
  box-shadow: 0 14px 30px rgba(23, 89, 110, 0.14);
}

.order-item-main {
  flex: 1;
  min-width: 0;
}

.order-list .btn-block {
  margin-top: 12px;
}

.group-builder {
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(240, 250, 253, 0.93));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.group-modal-card {
  max-width: 520px;
}

.group-modal-card .group-builder {
  margin-top: 14px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.builder-label {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.builder-label:first-child {
  margin-top: 0;
}

.builder-quizzes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quiz-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  font-size: 12px;
  cursor: pointer;
}

.quiz-check input {
  accent-color: var(--brand);
}

.quiz-check-name {
  font-weight: 600;
  color: var(--ink);
}

.quiz-check-price {
  color: var(--muted-light);
}

.quiz-check.is-bundle {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.06);
}

.quiz-check.is-bundle .quiz-check-price {
  color: #6d28d9;
}

.group-builder .modal-input {
  width: 100%;
}

.quote {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.08);
  font-size: 13px;
}

.quote-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  color: var(--muted);
}

.quote-row b {
  font-weight: 700;
  color: var(--ink);
}

.quote-row.total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed rgba(11, 59, 74, 0.16);
  font-size: 14px;
}

.quote-row.total b {
  font-size: 18px;
  color: var(--brand-deep);
}

.quote-total-dec {
  font-size: 0.66em;
}

.bundle-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 2px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  color: #6d28d9;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(139, 92, 246, 0.28);
}

.bundle-note-label {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.bundle-note-name {
  font-weight: 600;
}

.bundle-note b {
  font-size: 15px;
  color: #6d28d9;
}

.bundle-note em {
  font-style: normal;
  font-size: 12px;
  color: rgba(11, 59, 74, 0.45);
  text-decoration: line-through;
}

.group-modal-card .modal-actions .btn-ghost:hover,
.group-modal-card .modal-actions .btn-ghost:focus-visible {
  color: #0e7490;
  border-color: rgba(6, 182, 212, 0.55);
  background: rgba(6, 182, 212, 0.12);
}

.group-modal-card .modal-actions {
  margin-top: 18px;
}

@media (max-width: 719px) {
  .pass-plan {
    align-items: stretch;
    padding: 22px 20px;
  }

  .pass-plan-side {
    align-items: stretch;
    min-width: 0;
  }

  .pass-plan-price {
    font-size: 34px;
  }
}

/* ---------- 阶梯折扣卡片 ---------- */

.tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.tier-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 138, 158, 0.4);
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.08), rgba(16, 185, 129, 0.08)),
    var(--card);
  box-shadow: var(--shadow);
}

.tier-card-range {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted-light);
}

.tier-card-amount {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--violet), var(--aqua));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tier-card-types {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.06);
  font-size: 12px;
}

.tier-type {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tier-type i {
  flex: 1;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
}

.tier-type b {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted-light);
  text-decoration: line-through;
}

.tier-type em {
  font-style: normal;
  font-weight: 700;
  color: var(--green-deep);
}

.tier-type.combo {
  margin-top: 2px;
  padding-top: 7px;
  border-top: 1px dashed rgba(11, 59, 74, 0.14);
}

.tier-type.combo i {
  color: var(--ink);
}

.tier-type.combo em {
  color: var(--green-deep);
}

.tier-features {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.tier-features li {
  position: relative;
  margin-top: 8px;
  padding-left: 20px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-deep);
  font-weight: 700;
}

.tier-card .btn {
  margin-top: auto;
}

.tier-card:hover .btn {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--aqua), var(--green));
}

.group-builder.pulse {
  animation: builderPulse 1.2s ease;
}

@keyframes builderPulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(56, 189, 248, 0); }
  100% { box-shadow: var(--shadow-soft); }
}

/* ---------- 套票引导 ---------- */

.pass-upsell {
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.24);
  box-shadow: var(--shadow-soft);
}

.pass-upsell-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pass-upsell-badge {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.pass-upsell-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.pass-upsell-sub {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.pass-upsell-list {
  margin: 12px 0 14px;
  padding: 0;
  list-style: none;
}

.pass-upsell-list li {
  position: relative;
  margin-top: 6px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.pass-upsell-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--violet);
}

.pass-upsell-tip {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-light);
}

.group-tabs {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.group-tab {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.group-tab.active {
  background: linear-gradient(135deg, #38bdf8, #34d399);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(56, 189, 248, 0.24);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--brand-deep);
  cursor: pointer;
}

.fold-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.18s ease;
}

.fold-btn.open svg {
  transform: rotate(180deg);
}

.collapsed {
  display: none;
}

.list-count {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.invite-list {
  gap: 0;
}

.invite-row + .invite-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.answer-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.answer-row:last-child {
  border-bottom: none;
}

.answer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.answer-user {
  flex: 1;
  min-width: 0;
}

.answer-total {
  flex: none;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
}

.answer-total.done {
  background: #e7f8f0;
  color: #0f9f6e;
}

.answer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fbfc;
  font-size: 13px;
  color: #5b7f8c;
}

.answer-quiz {
  flex: 1;
  min-width: 0;
}

.answer-status {
  flex: none;
  color: #94a3b8;
}

.answer-status.done {
  color: #0f9f6e;
  font-weight: 600;
}
