:root {
  --bg: #07090d;
  --panel: rgba(12, 18, 26, 0.82);
  --panel-strong: rgba(16, 24, 36, 0.94);
  --ink: #f5f8ff;
  --muted: #98a7bb;
  --line: rgba(157, 184, 216, 0.2);
  --line-strong: rgba(99, 232, 255, 0.42);
  --accent: #45f0ff;
  --accent-2: #a6ff6a;
  --accent-3: #ff7a45;
  --soft: rgba(69, 240, 255, 0.1);
  --warn: rgba(255, 122, 69, 0.12);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  font-family:
    ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 18% 8%, rgba(69, 240, 255, 0.2), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(166, 255, 106, 0.13), transparent 24%),
    radial-gradient(circle at 72% 90%, rgba(255, 122, 69, 0.16), transparent 28%),
    linear-gradient(rgba(157, 184, 216, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 184, 216, 0.06) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, auto, 64px 64px, 64px 64px, auto;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(69, 240, 255, 0.08) 42% 42.2%, transparent 42.2%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.54;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.shell {
  position: relative;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.workspace {
  position: relative;
  display: grid;
  grid-template-columns: 312px minmax(0, 1fr);
  min-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 9, 13, 0.68);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.workspace::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(69, 240, 255, 0.16), transparent 24%, transparent 76%, rgba(166, 255, 106, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%);
  mask: linear-gradient(#000, transparent 32%);
}

.sidebar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 27, 40, 0.96), rgba(7, 9, 13, 0.82)),
    radial-gradient(circle at top left, rgba(69, 240, 255, 0.18), transparent 38%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #061013;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  box-shadow: 0 0 32px rgba(69, 240, 255, 0.3);
  font-weight: 800;
  letter-spacing: 0;
}

.brand p,
.brand h1,
.topbar h2,
.question-head h3,
.rank-card h3 {
  margin: 0;
}

.brand p,
.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand h1 {
  margin-top: 5px;
  font-size: 23px;
  letter-spacing: 0;
}

.status-block,
.score-panel,
.radar-panel,
.rank-card,
.leaderboard,
.courses,
.assessment-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.status-block {
  padding: 18px;
}

.status-block strong {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 24px;
}

.status-block small {
  color: var(--muted);
}

.progress {
  height: 10px;
  margin: 16px 0 8px;
  overflow: hidden;
  border: 1px solid rgba(69, 240, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px rgba(69, 240, 255, 0.72);
  transition: width 180ms ease;
}

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

.metric-grid div {
  position: relative;
  min-height: 88px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.metric-grid div::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 60px;
  height: 60px;
  content: "";
  border: 1px solid rgba(69, 240, 255, 0.18);
  border-radius: 999px;
}

.metric-grid span,
.persona-box span,
.weakness-box span,
.rank-card p,
.score-row small,
.dimension-card span,
.course-card p {
  color: var(--muted);
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.section-nav {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.section-nav a {
  position: relative;
  padding: 12px 13px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
}

.section-nav a:hover {
  border-color: var(--line-strong);
  background: var(--soft);
  box-shadow: inset 3px 0 0 var(--accent);
}

.main-panel {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 28px;
  overflow: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.topbar-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.topbar-actions .ghost-button {
  min-width: 0;
  max-width: 180px;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.topbar h2 {
  max-width: 820px;
  margin-top: 8px;
  font-size: clamp(32px, 4.2vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.stage-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.stage-card {
  position: relative;
  min-height: 118px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at top right, rgba(69, 240, 255, 0.11), transparent 44%);
}

.stage-card::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  content: "";
  border-right: 1px solid rgba(69, 240, 255, 0.24);
  border-bottom: 1px solid rgba(69, 240, 255, 0.24);
}

.stage-card span,
.stage-card small,
.stage-card em {
  display: block;
}

.stage-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.stage-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.stage-card small {
  margin-top: 6px;
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.stage-card p {
  min-height: 40px;
  margin: 10px 0 0;
  color: #c2cfdd;
  font-size: 13px;
  line-height: 1.45;
}

.stage-card em {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.stage-card button {
  position: relative;
  z-index: 1;
  min-height: 34px;
  margin-top: 12px;
  padding: 0 13px;
  border: 1px solid rgba(69, 240, 255, 0.34);
  border-radius: 999px;
  background: rgba(69, 240, 255, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.stage-card button:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #031012;
}

.unlock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-card.active {
  border-color: rgba(69, 240, 255, 0.54);
  background:
    linear-gradient(145deg, rgba(69, 240, 255, 0.16), rgba(166, 255, 106, 0.06)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 28px rgba(69, 240, 255, 0.11);
}

.stage-card.active em {
  color: var(--accent);
}

.stage-card.done {
  border-color: rgba(166, 255, 106, 0.46);
}

.stage-card.done span,
.stage-card.done em {
  color: var(--accent-2);
}

.stage-card.recommended {
  border-color: rgba(255, 122, 69, 0.74);
  background:
    linear-gradient(145deg, rgba(255, 122, 69, 0.18), rgba(69, 240, 255, 0.07)),
    rgba(255, 255, 255, 0.04);
}

.stage-card.recommended::before {
  position: absolute;
  top: 12px;
  right: 12px;
  content: attr(data-recommend-label);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 122, 69, 0.16);
  color: var(--accent-3);
  font-size: 11px;
  font-weight: 700;
}

.stage-card.recommended button,
.stage-card.pro-pack button {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-3), #ffd36b);
  color: #140905;
}

.stage-card.pro-pack {
  border-color: rgba(166, 255, 106, 0.52);
  background:
    linear-gradient(145deg, rgba(166, 255, 106, 0.14), rgba(69, 240, 255, 0.07)),
    rgba(255, 255, 255, 0.04);
}

.stage-card.locked {
  opacity: 0.45;
  filter: grayscale(0.8);
}

.stage-card.locked.recommended,
.stage-card.pro-pack {
  opacity: 1;
  filter: none;
}

.home-result {
  margin: 0 0 16px;
}

.home-result-card {
  position: relative;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(69, 240, 255, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(69, 240, 255, 0.15), rgba(166, 255, 106, 0.08)),
    radial-gradient(circle at right top, rgba(255, 122, 69, 0.15), transparent 38%),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 56px rgba(0, 0, 0, 0.26);
}

.home-result-card::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  content: "";
  border-right: 1px solid rgba(69, 240, 255, 0.26);
  border-bottom: 1px solid rgba(69, 240, 255, 0.26);
}

.home-result-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

.home-result-main strong {
  color: var(--accent);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
}

.home-result-main b {
  color: var(--accent-2);
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.9;
  text-shadow: 0 0 28px rgba(166, 255, 106, 0.24);
}

.home-result-card p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 12px 0 0;
  color: #dbe7f6;
  line-height: 1.65;
}

.home-result-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.home-result-meta span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(69, 240, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.38);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.home-result-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.home-result-actions button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(69, 240, 255, 0.34);
  border-radius: 999px;
  background: rgba(69, 240, 255, 0.1);
  color: var(--accent);
  font-weight: 800;
}

.home-result-actions button:first-child {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #031012;
}

.ghost-button,
.primary-button {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-weight: 800;
}

.ghost-button:hover {
  border-color: var(--line-strong);
  background: rgba(69, 240, 255, 0.1);
}

.primary-button {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #031012;
  box-shadow: 0 0 28px rgba(69, 240, 255, 0.26);
}

.primary-button:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: 0.42;
  box-shadow: none;
}

.assessment-panel {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.assessment-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, rgba(69, 240, 255, 0.14), transparent 24%),
    linear-gradient(300deg, rgba(255, 122, 69, 0.08), transparent 24%);
}

.question-head,
.question-text,
.options,
.actions {
  position: relative;
  z-index: 1;
}

.question-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.tag,
.question-count,
.course-level,
.rank-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(69, 240, 255, 0.24);
  border-radius: 999px;
  background: rgba(69, 240, 255, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.question-count {
  min-width: 70px;
  justify-content: center;
  background: rgba(166, 255, 106, 0.12);
  color: var(--accent-2);
}

.question-head h3 {
  margin-top: 12px;
  font-size: 27px;
}

.question-text {
  max-width: 920px;
  margin: 16px 0 0;
  color: #dbe7f6;
  font-size: 18px;
  line-height: 1.72;
}

.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.option-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 116px;
  gap: 13px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
  cursor: pointer;
}

.option-card:hover {
  transform: translateY(-2px);
  border-color: rgba(69, 240, 255, 0.36);
  background: rgba(69, 240, 255, 0.075);
}

.option-card:has(input:checked) {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(69, 240, 255, 0.16), rgba(166, 255, 106, 0.08));
  box-shadow: inset 0 0 0 1px rgba(69, 240, 255, 0.28), 0 0 26px rgba(69, 240, 255, 0.12);
}

.option-card input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.option-card strong {
  display: block;
  margin-bottom: 0;
  color: #edf7ff;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.option-card span {
  min-width: 0;
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.options.written-mode {
  grid-template-columns: 1fr;
}

.written-question {
  display: grid;
  gap: 14px;
}

.written-question img {
  width: min(100%, 360px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.written-question textarea {
  width: 100%;
  min-height: 168px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  outline: none;
  line-height: 1.7;
}

.written-question textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(69, 240, 255, 0.1);
}

.written-question small {
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

body[data-view="home"] #homeButton,
body[data-view="home"] #resetButton,
body[data-view="home"] .assessment-panel,
body[data-view="home"] .report-grid,
body[data-view="home"] .dimension-list,
body[data-view="home"] .ranking-grid,
body[data-view="home"] .courses {
  display: none;
}

body[data-view="home"] .progress span {
  width: 0% !important;
  transition: none;
}

body[data-view="testing"] .sidebar,
body[data-view="testing"] .topbar,
body[data-view="testing"] .stage-track,
body[data-view="testing"] .home-result,
body[data-view="testing"] .report-grid,
body[data-view="testing"] .dimension-list,
body[data-view="testing"] .ranking-grid,
body[data-view="testing"] .courses,
body[data-view="testing"] .mobile-conversion {
  display: none;
}

body[data-view="testing"] .workspace,
body[data-view="result"] .workspace {
  grid-template-columns: 1fr;
}

body[data-view="testing"] .main-panel {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: 28px;
  overflow: visible;
}

body[data-view="testing"] .assessment-panel {
  min-height: calc(100vh - 104px);
  padding: clamp(22px, 4vw, 42px);
}

body[data-view="testing"] #startButton {
  display: none;
}

body[data-view="home"] #prevButton,
body[data-view="result"] #prevButton {
  display: none;
}

body[data-view="testing"] .actions {
  justify-content: space-between;
}

body[data-view="result"] .sidebar,
body[data-view="result"] .stage-track,
body[data-view="result"] .home-result,
body[data-view="result"] .assessment-panel {
  display: none;
}

body[data-view="result"] .main-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.report-grid,
.ranking-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 16px;
  margin-top: 16px;
}

.score-panel,
.radar-panel,
.rank-card,
.leaderboard,
.courses {
  padding: 22px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.score-row > strong {
  color: var(--accent-2);
  font-size: 76px;
  line-height: 0.9;
  text-shadow: 0 0 32px rgba(166, 255, 106, 0.28);
}

.score-row span {
  display: block;
  margin-bottom: 7px;
  font-size: 22px;
  font-weight: 800;
}

.persona-box,
.weakness-box {
  margin-top: 24px;
  padding: 16px;
  border-radius: 14px;
}

.persona-box {
  border: 1px solid rgba(69, 240, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(69, 240, 255, 0.13), rgba(166, 255, 106, 0.08)),
    rgba(255, 255, 255, 0.035);
}

.persona-box strong {
  display: block;
  margin-top: 7px;
  color: var(--accent);
  font-size: 22px;
}

.persona-box small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.55;
}

.weakness-box {
  border: 1px solid rgba(255, 122, 69, 0.32);
  background: var(--warn);
}

.weakness-box strong {
  display: block;
  margin-top: 6px;
  color: #ffd7c7;
  font-size: 20px;
}

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

canvas {
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 0 22px rgba(69, 240, 255, 0.12));
}

.dimension-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.dimension-card {
  min-height: 138px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.dimension-card strong {
  display: block;
  margin: 10px 0;
  color: var(--ink);
  font-size: 32px;
}

.mini-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-bar i {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(69, 240, 255, 0.58);
}

.rank-card h3 {
  margin-top: 9px;
  font-size: 30px;
}

.rank-card p {
  line-height: 1.65;
}

.leaderboard ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.leaderboard li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.leaderboard li strong {
  color: var(--accent);
}

.leaderboard .current-user {
  border-color: rgba(255, 122, 69, 0.55);
  background: rgba(255, 122, 69, 0.12);
}

.courses {
  margin-top: 16px;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 12, 0.7);
  backdrop-filter: blur(12px);
}

.contact-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  padding: 18px;
  border: 1px solid rgba(69, 240, 255, 0.32);
  border-radius: 20px;
  background:
    radial-gradient(circle at right top, rgba(166, 255, 106, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(20, 31, 45, 0.98), rgba(9, 14, 21, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58), 0 0 32px rgba(69, 240, 255, 0.12);
}

.contact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-head h3 {
  margin: 4px 0 0;
  font-size: 26px;
  line-height: 1.08;
}

.contact-dialog > p {
  margin: 0 0 14px;
  color: #dbe7f6;
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.contact-form input {
  min-height: 48px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #031012;
  font-weight: 800;
}

.contact-form button:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
}

.contact-form small {
  color: var(--muted);
  line-height: 1.5;
}

.contact-form small[data-status="success"] {
  color: var(--accent-2);
}

.contact-form small[data-status="error"] {
  color: var(--accent-3);
}

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

.course-waitlist {
  grid-column: 1 / -1;
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(69, 240, 255, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at right top, rgba(69, 240, 255, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.course-waitlist h4 {
  margin: 10px 0;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.1;
}

.course-waitlist p {
  max-width: 820px;
  color: #dbe7f6;
  line-height: 1.7;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.focus-tags span {
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(69, 240, 255, 0.24);
  border-radius: 999px;
  background: rgba(69, 240, 255, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.lead-form {
  display: flex;
  gap: 10px;
  max-width: 680px;
}

.lead-form input {
  min-width: 0;
  flex: 1;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}

.lead-form button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #031012;
  font-weight: 800;
}

.lead-form button:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
}

.course-waitlist small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.course-card {
  position: relative;
  min-height: 202px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at top right, rgba(69, 240, 255, 0.12), transparent 42%);
}

.course-card::after {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  content: "";
  border-right: 1px solid rgba(69, 240, 255, 0.28);
  border-bottom: 1px solid rgba(69, 240, 255, 0.28);
}

.course-card h4 {
  margin: 13px 0 9px;
  font-size: 19px;
}

.course-card p {
  line-height: 1.58;
}

.course-card small {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 6px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 122, 69, 0.14);
  color: var(--accent-3);
  font-weight: 700;
}

.mobile-conversion {
  display: none;
}

.modal-open {
  overflow: hidden;
}

.share-modal[hidden] {
  display: none;
}

.share-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 11, 0.78);
  backdrop-filter: blur(18px);
}

.share-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(860px, calc(100vh - 28px));
  overflow: auto;
  border: 1px solid rgba(69, 240, 255, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(69, 240, 255, 0.18), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(255, 122, 69, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(16, 24, 36, 0.98), rgba(7, 9, 13, 0.96));
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.share-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 0;
}

.share-head h3 {
  margin: 6px 0 0;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.05;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
}

.share-body {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
}

.poster-frame {
  padding: 12px;
  border: 1px solid rgba(69, 240, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.poster-frame img {
  display: block;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.46);
}

.share-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.share-copy > strong {
  color: var(--accent);
  font-size: clamp(25px, 4vw, 44px);
  line-height: 1.08;
}

.share-copy p {
  max-width: 520px;
  color: #dbe7f6;
  line-height: 1.7;
}

.share-steps {
  display: grid;
  gap: 8px;
  margin: 6px 0 16px;
}

.share-steps span {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(69, 240, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-weight: 800;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.unlock-confirm {
  min-height: 54px;
  margin-top: 14px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-3), #ffd36b);
  color: #160803;
  font-weight: 800;
  box-shadow: 0 18px 54px rgba(255, 122, 69, 0.22);
}

.share-copy small {
  margin-top: 10px;
  color: var(--muted);
}

.admin-page {
  min-height: 100vh;
  padding: 24px;
}

.admin-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.admin-hero,
.admin-login,
.admin-grid article,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.admin-hero {
  padding: 28px;
}

.admin-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 7vw, 72px);
  line-height: 0.96;
}

.admin-hero p,
.admin-login small {
  color: var(--muted);
}

.admin-login {
  margin-top: 14px;
  padding: 18px;
}

.admin-login label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.admin-login div {
  display: flex;
  gap: 10px;
}

.admin-login input {
  min-width: 0;
  flex: 1;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.admin-login small {
  display: block;
  margin-top: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.admin-grid article {
  padding: 18px;
}

.admin-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: 36px;
  line-height: 1;
}

.admin-panel {
  margin-top: 14px;
  padding: 18px;
  overflow: auto;
}

.admin-table table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-table th {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}

.admin-table td {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 0;
  }

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

@media (max-width: 760px) {
  body {
    padding-bottom: 92px;
  }

  .shell {
    padding: 8px;
  }

  .workspace {
    display: block;
    min-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .brand p {
    font-size: 9px;
  }

  .brand h1 {
    font-size: 18px;
  }

  .status-block {
    padding: 12px;
  }

  .status-block strong {
    margin-top: 4px;
    font-size: 20px;
  }

  .progress {
    margin: 10px 0 6px;
  }

  .metric-grid,
  .section-nav {
    display: none;
  }

  .main-panel,
  .assessment-panel,
  .score-panel,
  .radar-panel,
  .rank-card,
  .leaderboard,
  .courses {
    padding: 14px;
  }

  .topbar,
  .question-head,
  .score-row,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 8px;
  }

  .topbar-actions .ghost-button {
    max-width: none;
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  #aliasButton {
    display: none;
  }

  .topbar h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .stage-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: -4px 0 12px;
    overflow: visible;
    padding: 0;
  }

  .stage-card {
    min-height: 0;
    padding: 13px;
  }

  .stage-card strong {
    font-size: 16px;
  }

  .home-result-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-result-card {
    padding: 16px;
  }

  .home-result-main strong {
    font-size: 28px;
  }

  .home-result-main b {
    font-size: 52px;
  }

  .home-result-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .options,
  .report-grid,
  .ranking-grid,
  .course-grid,
  .dimension-list,
  .section-nav {
    grid-template-columns: 1fr;
  }

  .question-text {
    font-size: 16px;
  }

  .question-head h3 {
    font-size: 24px;
  }

  .option-card {
    min-height: auto;
    gap: 10px;
    padding: 14px;
  }

  .option-card strong {
    font-size: 15px;
    line-height: 1.48;
  }

  .option-card input {
    margin-top: 2px;
  }

  .written-question img {
    width: 100%;
  }

  .score-row > strong {
    font-size: 60px;
  }

  .course-card {
    min-height: 176px;
  }

  .course-waitlist {
    padding: 16px;
  }

  .lead-form {
    display: grid;
  }

  .mobile-conversion {
    position: fixed;
    z-index: 20;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(69, 240, 255, 0.35);
    border-radius: 18px;
    background: rgba(9, 14, 21, 0.94);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.52), 0 0 28px rgba(69, 240, 255, 0.16);
    backdrop-filter: blur(18px);
  }

  .mobile-conversion strong,
  .mobile-conversion span {
    display: block;
  }

  .mobile-conversion strong {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.2;
  }

  .mobile-conversion span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-conversion a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: #031012;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
  }

  .share-modal {
    align-items: start;
    padding: 8px;
  }

  .share-dialog {
    max-height: calc(100vh - 16px);
    border-radius: 16px;
  }

  .share-head {
    padding: 16px 16px 0;
  }

  .share-body {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .poster-frame {
    width: min(310px, 100%);
    margin: 0 auto;
  }

  .share-actions,
  .share-actions button {
    width: 100%;
  }

  .share-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-page {
    padding: 10px;
  }

  .admin-hero,
  .admin-login,
  .admin-panel {
    padding: 14px;
  }

  .admin-login div {
    display: grid;
  }

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

  .admin-grid strong {
    font-size: 28px;
  }

  body[data-view="testing"],
  body[data-view="result"] {
    padding-bottom: 8px;
  }

  body[data-view="testing"] .shell,
  body[data-view="result"] .shell {
    padding: 8px;
  }

  body[data-view="testing"] .workspace,
  body[data-view="result"] .workspace {
    min-height: calc(100vh - 16px);
  }

  body[data-view="testing"] .main-panel {
    padding: 0;
  }

  body[data-view="testing"] .assessment-panel {
    min-height: calc(100vh - 16px);
    padding: 18px;
  }

  body[data-view="testing"] .actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-view="testing"] .actions button {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  body[data-view="testing"] .question-head {
    gap: 10px;
  }

  body[data-view="testing"] .question-count {
    align-self: flex-start;
  }

  body[data-view="result"] .main-panel {
    padding: 14px;
  }
}

/* ============================================================
   付费墙 / 锁定报告预览 / 价格锚（付费意愿改造）
   ============================================================ */

/* —— 题库卡：会员价格锚 —— */
.pro-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 2px;
}
.pro-price b {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}
.pro-price del {
  color: var(--muted);
  font-size: 15px;
}
.pro-price i {
  flex-basis: 100%;
  font-style: normal;
  font-size: 12px;
  color: #ff9a6b;
}
.unlock-actions button.primary {
  background: linear-gradient(120deg, #45f0ff, #6df0c2);
  color: #05222a;
  font-weight: 800;
  border-color: transparent;
}

/* —— 报告锁定预览 —— */
.dimension-list.locked-report {
  display: block;
  position: relative;
  min-height: 220px;
}
.locked-report .locked-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  filter: blur(7px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 22px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(69, 240, 255, 0.16), transparent 60%),
    rgba(7, 9, 13, 0.5);
}
.locked-overlay .lock-emoji {
  font-size: 30px;
}
.locked-overlay strong {
  font-size: clamp(18px, 3.5vw, 24px);
}
.locked-overlay p {
  margin: 0;
  max-width: 460px;
  color: var(--muted);
  font-size: 14px;
}
.locked-overlay p b {
  color: var(--ink);
}
.locked-cta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(120deg, #45f0ff, #6df0c2);
  color: #05222a;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(69, 240, 255, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.locked-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(69, 240, 255, 0.44);
}
.locked-cta small {
  font-size: 11px;
  font-weight: 600;
  color: rgba(5, 34, 42, 0.78);
}
.locked-alt {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.locked-alt a {
  color: var(--accent);
}

/* —— 付费墙弹窗 —— */
.paywall-modal[hidden] {
  display: none;
}
.paywall-modal {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
}
.paywall-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 11, 0.8);
  backdrop-filter: blur(16px);
}
.paywall-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(69, 240, 255, 0.34);
  border-radius: 18px;
  background: radial-gradient(circle at 18% 0%, rgba(69, 240, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(16, 24, 36, 0.98), rgba(7, 9, 13, 0.97));
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pw-head h3 {
  margin: 6px 0 6px;
  font-size: clamp(22px, 4.5vw, 30px);
  line-height: 1.1;
}
.pw-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.pw-sub strong {
  color: var(--ink);
}
.pw-price {
  margin: 16px 0 12px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--soft);
}
.pw-price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pw-price-main strong {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.pw-price-main del {
  color: var(--muted);
  font-size: 18px;
}
.pw-badge {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ff7a45;
  color: #1a0a02;
  font-size: 12px;
  font-weight: 800;
}
.pw-scarcity {
  display: block;
  margin-top: 6px;
  color: #ff9a6b;
  font-size: 12px;
}
.pw-benefits {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pw-benefits li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}
.pw-check {
  flex-shrink: 0;
  color: #05222a;
  background: var(--accent);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px;
}
.pw-compare-details {
  margin-bottom: 16px;
}
.pw-compare-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.pw-compare-details summary::-webkit-details-marker {
  display: none;
}
.pw-compare-details summary::after {
  content: "+";
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}
.pw-compare-details[open] summary::after {
  content: "-";
}
.pw-compare {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.pw-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pw-compare th,
.pw-compare td {
  padding: 9px 10px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.pw-compare th:first-child,
.pw-compare td:first-child {
  text-align: left;
  color: var(--muted);
}
.pw-compare th.pro,
.pw-compare td.pro {
  background: var(--soft);
  color: var(--accent);
  font-weight: 700;
}
.pw-compare td.yes {
  color: var(--accent);
  font-weight: 700;
}
.pw-compare td.no {
  color: var(--muted);
}
.pw-compare tr:last-child td {
  border-bottom: none;
}
.pw-actions {
  display: grid;
  gap: 10px;
}
.paypal-box {
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
}
.paypal-box small {
  display: block;
  margin-top: 6px;
  color: #44515f;
  text-align: center;
  font-size: 12px;
}
.pw-buy {
  display: block;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(120deg, #45f0ff, #6df0c2);
  color: #05222a;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(69, 240, 255, 0.3);
}
.pw-share {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.pw-guarantee {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.pw-pay {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.pw-pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pw-pay-grid figure {
  margin: 0;
  text-align: center;
}
.pw-pay-grid img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
}
.pw-pay-grid img.pw-img-missing {
  background: repeating-linear-gradient(45deg, rgba(157, 184, 216, 0.12), rgba(157, 184, 216, 0.12) 8px, transparent 8px, transparent 16px);
}
.pw-pay-grid figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.pw-redeem {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.pw-redeem input {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(7, 9, 13, 0.6);
  color: var(--ink);
  font-size: 15px;
}
.pw-redeem button {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: var(--accent);
  color: #05222a;
  font-weight: 800;
}
.pw-redeem-msg {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .pw-pay-grid {
    grid-template-columns: 1fr;
  }
}

/* —— 海外刷卡按钮（USD / Stripe）—— */
.pw-buy-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #fff;
  color: #0a0e14;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.18);
}
.pw-buy-card small {
  font-size: 11px;
  font-weight: 600;
  color: #5a6472;
}
