:root {
  --bg: #f3f6f1;
  --panel: #fffdf7;
  --text: #24302b;
  --muted: #63706b;
  --muted-soft: #89938e;
  --line: #dfe6dc;
  --moss: #557c63;
  --moss-soft: #dceadd;
  --blue: #5e8eaa;
  --coral: #c98274;
  --gold: #c7a35a;
  --shadow: 0 20px 48px rgba(51, 68, 55, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background:
    linear-gradient(135deg, rgba(85, 124, 99, 0.12), transparent 34%),
    linear-gradient(225deg, rgba(94, 142, 170, 0.13), transparent 32%),
    linear-gradient(180deg, #f3f6f1 0%, #eef5f4 52%, #f8f1ed 100%);
}

button,
input {
  font: inherit;
}

.app-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
}

.intro-panel,
.quiz-panel,
.loading-panel,
.result-panel {
  min-height: calc(100vh - 72px);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 28px;
}

.site-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
}

.site-brand-link img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-brand-link:hover {
  color: var(--moss);
}

.intro-visual {
  position: relative;
  width: min(100%, 620px);
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(85, 124, 99, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.9), rgba(232, 244, 249, 0.72)),
    radial-gradient(circle at 14% 18%, rgba(201, 130, 116, 0.18), transparent 34%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.86) inset,
    0 -1px 0 rgba(51, 68, 55, 0.08) inset,
    0 14px 28px rgba(51, 68, 55, 0.13),
    0 4px 10px rgba(51, 68, 55, 0.08);
}

.intro-visual img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(1.01);
}

.brand-block h1 {
  margin: 8px 0 18px;
  font-size: clamp(2.35rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.82;
}

.visitor-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  border: 1px solid rgba(85, 124, 99, 0.22);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--moss);
  background: rgba(220, 234, 221, 0.52);
  font-size: 0.95rem;
  font-weight: 900;
}

.visitor-copy::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--moss);
  content: "";
}

.unlock-visitor-copy {
  margin: 0 0 10px;
  background: rgba(232, 244, 249, 0.72);
  border-color: rgba(94, 142, 170, 0.3);
  color: var(--blue);
}

.unlock-visitor-copy::before {
  background: var(--blue);
}

.recover-entry {
  display: grid;
  gap: 10px;
  max-width: 360px;
  margin-top: 22px;
}

.paid-product-note {
  margin: 0;
  border: 1px solid rgba(85, 124, 99, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(255, 253, 247, 0.74);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.62;
}

.mobile-personality-types {
  display: none;
}

.mobile-core-dimensions {
  display: none;
}

.lost-report-link {
  justify-self: start;
  border: 0;
  padding: 0;
  color: rgba(85, 124, 99, 0.76);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.recover-status,
.pay-status {
  min-height: 20px;
  margin: 0;
  color: var(--moss);
  font-size: 0.86rem;
  font-weight: 800;
}

.recover-status.is-error,
.pay-status.is-error {
  color: #b65f55;
}

.eyebrow {
  margin: 0;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.setup-card,
.question-card,
.chart-card,
.table-card,
.analysis-card,
.loading-card,
.unlock-card {
  border: 1px solid rgba(223, 230, 220, 0.92);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.setup-card {
  padding: 28px;
}

.setup-card h2,
.loading-card h2,
.unlock-card h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.28;
}

.setup-card p,
.unlock-copy {
  color: var(--muted);
  line-height: 1.78;
}

.question-count-field {
  display: grid;
  gap: 12px;
  margin: 20px 0 22px;
  padding: 0;
  border: 0;
}

.gender-field {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: -4px;
}

.gender-field legend {
  grid-column: 1 / -1;
}

.question-count-field legend {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
}

.count-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(85, 124, 99, 0.24);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.count-option:hover {
  transform: translateY(-1px);
  border-color: rgba(85, 124, 99, 0.52);
  background: rgba(255, 255, 255, 0.94);
}

.count-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--moss);
}

.count-option-image {
  display: none;
}

.count-option span {
  display: grid;
  gap: 4px;
}

.count-option strong {
  color: var(--text);
  font-size: 1.02rem;
}

.count-option small {
  color: var(--muted);
  line-height: 1.5;
}

.agreement-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.6;
}

.agreement-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--moss);
}

.agreement-check a {
  color: var(--moss);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-btn {
  width: 100%;
  color: #ffffff;
  background: #557c63;
  box-shadow: 0 12px 22px rgba(85, 124, 99, 0.24);
}

.secondary-btn,
.ghost-btn {
  color: var(--moss);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.ghost-btn {
  min-height: 36px;
  padding: 0 14px;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
}

.primary-btn:disabled,
.secondary-btn:disabled,
.pay-plan-card:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.site-footer {
  grid-column: 1 / -1;
  padding: 8px 0 2px;
  color: var(--muted-soft);
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
}

.quiz-panel,
.loading-panel,
.result-panel {
  padding: 18px 0 34px;
}

.quiz-topbar,
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quiz-topbar h2,
.result-hero h2,
.chart-card h3,
.table-card h3,
.analysis-card h3 {
  margin: 8px 0 0;
}

.progress-copy {
  color: var(--moss);
  font-size: clamp(1.05rem, 2.8vw, 1.36rem);
  font-weight: 900;
  white-space: nowrap;
}

.quiz-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.progress-track {
  height: 10px;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), var(--blue), var(--coral), var(--gold));
  transition: width 0.28s ease;
}

.mobile-quiz-close {
  display: none;
}

.question-card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 4vw, 34px);
  border-color: rgba(85, 124, 99, 0.26);
}

.question-text {
  order: 0;
  margin: 0 0 18px;
  color: #2f6f48;
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  line-height: 1.42;
  font-weight: 900;
}

.choice-pair {
  order: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 0;
}

.choice-pair span {
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #24302b;
  font-size: clamp(0.96rem, 2vw, 1.12rem);
  line-height: 1.48;
  font-weight: 900;
}

.choice-pair span:first-child {
  color: var(--blue);
  text-align: left;
}

.choice-pair span:last-child {
  color: var(--coral);
  text-align: right;
}

.options-grid {
  order: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.option-card {
  --option-size: 44px;
  display: grid;
  place-items: center;
  min-height: 74px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.16s ease;
}

.option-card:hover {
  transform: translateY(-1px);
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card.is-selected {
  transform: translateY(-1px);
}

.option-card span {
  width: var(--option-size);
  height: var(--option-size);
  display: block;
  border: 4px solid rgba(85, 124, 99, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(51, 68, 55, 0.08);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.option-level-1,
.option-level-5 {
  --option-size: 58px;
}

.option-level-2,
.option-level-4 {
  --option-size: 48px;
}

.option-level-3 {
  --option-size: 36px;
}

.option-level-1 span,
.option-level-2 span {
  border-color: rgba(94, 142, 170, 0.72);
}

.option-level-4 span,
.option-level-5 span {
  border-color: rgba(201, 130, 116, 0.76);
}

.option-level-3 span {
  border-color: rgba(137, 147, 142, 0.64);
}

.option-card.is-selected span {
  background: currentColor;
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.9),
    0 12px 24px rgba(51, 68, 55, 0.18);
  transform: scale(1.05);
}

.option-level-1,
.option-level-2 {
  color: var(--blue);
}

.option-level-4,
.option-level-5 {
  color: var(--coral);
}

.option-level-3 {
  color: var(--muted-soft);
}

.nav-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.nav-row .secondary-btn,
.nav-row .primary-btn {
  width: auto;
  min-width: 124px;
}

.nav-row button[hidden] {
  display: none;
}

.quiz-bottom {
  display: grid;
  justify-items: center;
  gap: 38px;
  margin-top: 32px;
}

.quiz-unlock-hint {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 520px);
  max-height: 320px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(137, 147, 142, 0.18);
  border-radius: 8px;
  background: rgba(240, 245, 238, 0.9);
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.45;
  text-align: center;
  transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.45s ease, margin 0.45s ease, padding 0.45s ease, border-width 0.45s ease;
  overflow: hidden;
}

.quiz-unlock-hint.is-fading-out {
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.quiz-unlock-hint strong {
  grid-column: 1 / -1;
  color: var(--moss);
  font-size: 1rem;
}

.quiz-unlock-hint small {
  grid-column: 1 / -1;
  margin: -2px 2px 2px;
  color: rgba(62, 70, 65, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

.quiz-unlock-hint span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-weight: 800;
}

.quiz-restart-actions {
  width: 100%;
  margin-top: 0;
}

.quiz-footer {
  padding: 10px 0 8px;
}

.loading-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-card,
.unlock-card {
  width: min(100%, 460px);
  padding: 36px 28px;
  text-align: center;
}

.loading-card {
  width: min(100%, 520px);
}

.loading-spinner {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 18px;
}

.loading-spinner span {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--moss);
  animation: loadingPulse 1.15s ease-in-out infinite;
}

.loading-spinner span:nth-child(2) {
  animation-delay: 0.16s;
  background: var(--blue);
}

.loading-spinner span:nth-child(3) {
  animation-delay: 0.32s;
  background: var(--coral);
}

.loading-analysis-steps {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  text-align: left;
}

.loading-analysis-step {
  display: grid;
  gap: 8px;
}

.loading-analysis-step span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 900;
}

.loading-analysis-step i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(85, 124, 99, 0.16);
}

.loading-analysis-step i::before {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--moss), var(--blue), var(--coral));
  content: "";
  animation: loadingAnalysisFill 2s ease-in-out forwards;
}

.loading-analysis-step:nth-child(2) i::before {
  animation-delay: 2s;
}

.loading-analysis-step:nth-child(3) i::before {
  animation-delay: 4s;
}

.loading-analysis-step:nth-child(1) span {
  animation: loadingStepActive 2s ease-in-out both;
}

.loading-analysis-step:nth-child(2) span {
  animation: loadingStepActive 2s ease-in-out 2s both;
}

.loading-analysis-step:nth-child(3) span {
  animation: loadingStepActive 2s ease-in-out 4s both;
}

@keyframes loadingPulse {
  0%, 100% { transform: translateY(0) scale(0.9); opacity: 0.45; }
  50% { transform: translateY(-6px) scale(1); opacity: 1; }
}

@keyframes loadingAnalysisFill {
  0% { width: 0; }
  100% { width: 100%; }
}

@keyframes loadingStepActive {
  0%, 100% { color: var(--muted); }
  20%, 80% { color: var(--moss); }
}

.result-hero {
  padding: clamp(8px, 2.4vw, 18px) 0 18px;
}

.result-hero h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
}

.result-hero .eyebrow {
  font-size: clamp(1.08rem, 2.4vw, 1.55rem);
  letter-spacing: 0.08em;
}

.report-completed-time,
.report-bottom-date {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.6;
}

.report-completed-time {
  margin: 10px 0 0;
}

.report-bottom-date {
  color: var(--moss);
}

.result-hero p:last-child {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.8;
}

.result-unlock-card {
  width: min(100%, 1080px);
  margin: 0 0 18px;
  text-align: left;
  backdrop-filter: none;
}

@media (min-width: 781px) {
  .is-report-locked .result-unlock-card {
    position: fixed;
    top: 72px;
    right: 16px;
    bottom: 18px;
    z-index: 12;
    width: min(390px, calc(100vw - 32px));
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
  }

  .is-report-locked .unlock-layout {
    display: block;
  }

  .is-report-locked .unlock-left,
  .is-report-locked .unlock-payment-sheet-backdrop {
    display: none;
  }

  .is-report-locked .unlock-payment-box {
    max-height: 100%;
    overflow: auto;
    pointer-events: auto;
  }
}

.unlock-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}

.unlock-left {
  min-width: 0;
}

.unlock-card .unlock-mobile-trigger {
  display: none;
}

.unlock-payment-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: start;
  border: 1px solid rgba(201, 130, 116, 0.42);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(255, 245, 235, 0.94)),
    radial-gradient(circle at 100% 0, rgba(201, 130, 116, 0.22), transparent 44%);
  box-shadow: 0 20px 44px rgba(104, 58, 42, 0.2);
}

.unlock-payment-box h2 {
  margin: 0 0 8px;
  color: #234b35;
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  line-height: 1.02;
}

.unlock-payment-box .eyebrow {
  display: none;
}

.unlock-payment-box .unlock-copy {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.unlock-report-shell {
  min-height: 100%;
  display: grid;
  gap: 18px;
}

.preview-report-page {
  display: grid;
  gap: 18px;
}

.preview-result-grid {
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 0.72fr);
}

.preview-report-block,
.preview-analysis-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 230, 220, 0.94);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 253, 250, 0.82));
  box-shadow: 0 16px 32px rgba(51, 68, 55, 0.08);
}

.preview-analysis-card {
  margin-top: 0;
}

.preview-analysis-card h3,
.preview-report-block h3 {
  position: relative;
  z-index: 2;
}

.preview-block-mask {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.preview-block-mask::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 12px, rgba(85, 124, 99, 0.12) 12px 24px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 12px, rgba(85, 124, 99, 0.12) 12px 24px);
  backdrop-filter: blur(4px) saturate(0.9);
  content: "";
}

.preview-block-mask > * {
  position: relative;
  z-index: 1;
  filter: blur(2.1px) saturate(0.94);
  transform: scale(1.006);
  user-select: none;
  pointer-events: none;
}

.preview-chart-panel {
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.preview-axis-row {
  display: grid;
  gap: 8px;
}

.preview-axis-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #1f4732;
  font-size: 0.88rem;
  font-weight: 800;
}

.preview-axis-meta span {
  color: #46657f;
}

.preview-axis-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(91, 127, 102, 0.12);
}

.preview-axis-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(85, 124, 99, 0.95), rgba(94, 142, 170, 0.9), rgba(201, 130, 116, 0.86));
}

.preview-score-table {
  margin-top: 8px;
}

.preview-analysis-flow {
  display: grid;
  gap: 18px;
}

.preview-analysis-flow .analysis-overview {
  margin-bottom: 0;
}

.preview-analysis-flow .analysis-slide-grid {
  margin-top: 0;
}

.unlock-mobile-trigger,
.unlock-payment-sheet-backdrop,
.unlock-payment-close {
  display: none;
}

.unlock-payment-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}

.unlock-payment-title span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.unlock-payment-title strong {
  border-radius: 8px;
  padding: 6px 10px;
  color: #ffffff;
  background: #b65f55;
  font-size: 0.92rem;
}

.countdown-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 10px;
  border: 2px solid rgba(205, 73, 62, 0.62);
  border-radius: 8px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(255, 245, 241, 0.96), rgba(255, 230, 222, 0.88));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 10px 22px rgba(205, 73, 62, 0.12);
}

.countdown-card span {
  color: #9f3930;
  font-size: 0.92rem;
  font-weight: 900;
}

.countdown-card strong {
  color: #c7332b;
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 1.52rem;
  line-height: 1;
  letter-spacing: 0;
  animation: urgentCountdownPulse 0.82s ease-in-out infinite;
}

.countdown-card small {
  display: none;
  grid-column: 1 / -1;
  color: var(--muted-soft);
  line-height: 1.55;
}

.countdown-card.is-expired {
  border-color: rgba(182, 95, 85, 0.55);
  background: rgba(182, 95, 85, 0.08);
}

.mobile-preview-countdown-card {
  display: none;
}

@keyframes urgentCountdownPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

.unlock-benefits {
  margin: 10px 0 12px;
  border: 1px solid rgba(94, 142, 170, 0.28);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(232, 244, 249, 0.82), rgba(255, 255, 255, 0.76));
}

.unlock-benefits h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(1.08rem, 2.6vw, 1.34rem);
  line-height: 1.35;
}

.unlock-benefits ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.unlock-benefits li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.42;
}

.unlock-benefits li::before {
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--moss);
  content: "";
}

.pay-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.pay-plan-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 104px;
  border: 2px solid rgba(201, 130, 116, 0.36);
  border-radius: 8px;
  padding: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pay-plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 95, 85, 0.72);
  box-shadow: 0 18px 34px rgba(104, 58, 42, 0.16);
}

.pay-plan-card.is-featured {
  border-color: rgba(182, 95, 85, 0.9);
  background: linear-gradient(180deg, rgba(255, 246, 239, 0.98), rgba(255, 229, 217, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78), 0 14px 28px rgba(182, 95, 85, 0.18);
}

.plan-name {
  font-size: 0.92rem;
  font-weight: 900;
}

.pay-plan-card strong {
  color: #b65f55;
  font-size: 1.42rem;
  line-height: 1;
}

.pay-plan-card small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.32;
}

.plan-badge {
  justify-self: start;
  border-radius: 999px;
  padding: 3px 8px;
  color: #ffffff;
  background: #b65f55;
  font-size: 0.68rem;
  font-weight: 900;
}

.paid-check-btn {
  width: 100%;
  margin-top: 8px;
}

.locked-report-wrap {
  position: relative;
}

.locked-report-wrap.is-locked .result-grid,
.locked-report-wrap.is-locked .analysis-card {
  filter: none;
  opacity: 1;
  transform: none;
  user-select: auto;
  pointer-events: auto;
}

.is-report-locked .result-hero h2 {
  color: var(--moss);
}

.report-lock-overlay {
  display: none;
}

.locked-report-wrap.is-locked .report-lock-overlay {
  position: absolute;
  inset: 10% 50% auto;
  display: none;
  width: min(100% - 32px, 360px);
  transform: translateX(-50%);
  border: 1px solid rgba(223, 230, 220, 0.92);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
}

.report-lock-overlay h3 {
  margin: 8px 0;
  font-size: 1.45rem;
}

.report-lock-overlay p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(280px, 0.72fr);
  gap: 18px;
}

.chart-card,
.table-card,
.analysis-card {
  padding: 20px;
}

.chart-card h3,
.table-card h3 {
  color: var(--text);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 900;
}

canvas {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 14px 8px;
  text-align: left;
  font-size: 1rem;
}

th {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 900;
}

.type-pill {
  display: inline-flex;
  min-width: 58px;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: var(--moss);
  font-weight: 900;
}

.analysis-card {
  margin-top: 18px;
}

.analysis-card p {
  color: var(--muted);
  line-height: 1.85;
}

.analysis-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(170px, 0.48fr) minmax(220px, 0.7fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(94, 142, 170, 0.34);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 26px);
  background:
    linear-gradient(135deg, rgba(232, 244, 249, 0.94), rgba(255, 246, 232, 0.86)),
    linear-gradient(90deg, rgba(85, 124, 99, 0.16), transparent);
}

.overview-copy {
  min-width: 0;
}

.analysis-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.analysis-overview h3 {
  margin: 0 0 12px;
  color: #1f4732;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
  text-shadow: 0 8px 18px rgba(85, 124, 99, 0.14);
}

.analysis-overview p {
  margin: 0;
  color: #35423c;
  font-size: 1.02rem;
  font-weight: 800;
}

.analysis-overview .type-classic-name {
  display: inline-flex;
  margin: 0 0 12px;
  border-radius: 8px;
  padding: 6px 10px;
  color: #ffffff;
  background: var(--blue);
  font-size: 0.92rem;
  font-weight: 900;
}

.type-portrait {
  display: grid;
  place-items: end center;
  align-self: stretch;
  min-height: 230px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  padding: 14px 10px 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(160deg, rgba(220, 234, 221, 0.82), rgba(232, 244, 249, 0.78) 52%, rgba(255, 244, 216, 0.72));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48), 0 16px 28px rgba(51, 68, 55, 0.1);
  overflow: hidden;
}

.type-portrait img {
  display: block;
  width: min(100%, 190px);
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(36, 48, 43, 0.18));
}

.mobile-overview-hero {
  display: none;
}

.overview-metrics {
  display: grid;
  gap: 10px;
}

.overview-metrics span {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 20px rgba(51, 68, 55, 0.08);
}

.overview-metrics span:nth-child(1) {
  background: linear-gradient(135deg, rgba(220, 234, 221, 0.9), rgba(255, 255, 255, 0.76));
}

.overview-metrics span:nth-child(2) {
  background: linear-gradient(135deg, rgba(232, 244, 249, 0.95), rgba(255, 255, 255, 0.76));
}

.overview-metrics span:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 244, 216, 0.95), rgba(255, 255, 255, 0.76));
}

.overview-metrics strong {
  display: inline-block;
  justify-self: start;
  border-radius: 8px;
  padding: 4px 8px;
  color: #ffffff;
  background: var(--moss);
  font-size: 1.35rem;
  line-height: 1;
}

.overview-metrics span:nth-child(2) strong {
  background: var(--blue);
}

.overview-metrics span:nth-child(3) strong {
  background: var(--gold);
}

.overview-metrics small {
  color: var(--muted);
  font-weight: 900;
}

.analysis-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.analysis-item {
  border-left: 4px solid var(--moss);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.66);
}

.analysis-item strong,
.analysis-item span {
  display: block;
}

.analysis-item strong {
  margin-bottom: 4px;
}

.analysis-item span {
  color: var(--muted);
  line-height: 1.78;
}

.analysis-item.is-wide {
  border-left-color: var(--blue);
  background: rgba(255, 255, 255, 0.52);
}

.analysis-slide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.analysis-slide {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 230, 220, 0.94);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 253, 250, 0.78));
  box-shadow: 0 16px 32px rgba(51, 68, 55, 0.08);
}

.analysis-slide::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--moss);
  content: "";
}

.analysis-slide.is-hero,
.analysis-slide.is-featured {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(220, 234, 221, 0.76)),
    linear-gradient(90deg, rgba(94, 142, 170, 0.12), transparent);
  border-color: rgba(85, 124, 99, 0.24);
}

.analysis-slide.is-hero {
  margin-top: 18px;
}

.analysis-slide.is-warning::before {
  background: var(--coral);
}

.analysis-slide.is-warning {
  background: linear-gradient(135deg, rgba(255, 239, 233, 0.84), rgba(255, 255, 255, 0.76));
  border-color: rgba(201, 130, 116, 0.28);
}

.analysis-slide-head {
  display: grid;
  gap: 5px;
  margin-bottom: 12px;
  padding-left: 4px;
}

.analysis-slide-head span {
  display: inline-flex;
  justify-self: start;
  border-radius: 8px;
  padding: 5px 8px;
  color: var(--moss);
  background: rgba(220, 234, 221, 0.95);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.analysis-slide.is-warning .analysis-slide-head span {
  color: #b65f55;
  background: rgba(255, 231, 224, 0.98);
}

.analysis-slide:nth-child(3n + 1):not(.is-warning) .analysis-slide-head span {
  color: #3f7697;
  background: rgba(232, 244, 249, 0.98);
}

.analysis-slide:nth-child(3n + 2):not(.is-warning) .analysis-slide-head span {
  color: #9a7430;
  background: rgba(255, 244, 216, 0.98);
}

.analysis-slide-head h4 {
  margin: 0;
  color: #22342b;
  font-size: clamp(1.26rem, 3vw, 1.72rem);
  line-height: 1.2;
}

.analysis-slide.is-featured .analysis-slide-head h4,
.analysis-slide.is-hero .analysis-slide-head h4 {
  color: #1f6a3c;
}

.analysis-slide.is-warning .analysis-slide-head h4 {
  color: #9a463f;
}

.analysis-slide-body {
  display: grid;
  gap: 10px;
}

.analysis-slide-body p {
  margin: 0;
  color: #4e5e56;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.88;
}

.analysis-slide-body p:first-child::first-letter {
  color: var(--moss);
  font-size: 1.55em;
  font-weight: 900;
}

.analysis-slide.is-warning .analysis-slide-body p:first-child::first-letter {
  color: var(--coral);
}

.analysis-slide.is-hero .analysis-slide-body p,
.analysis-slide.is-featured .analysis-slide-body p {
  color: #33463b;
  font-size: 1.04rem;
}

.analysis-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.analysis-highlight-row span {
  border: 1px solid rgba(85, 124, 99, 0.2);
  border-radius: 8px;
  padding: 7px 10px;
  color: #ffffff;
  background: var(--moss);
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(85, 124, 99, 0.14);
}

.analysis-highlight-row span:nth-child(2n) {
  background: var(--blue);
  box-shadow: 0 8px 16px rgba(94, 142, 170, 0.14);
}

.analysis-highlight-row span:nth-child(3n) {
  background: var(--gold);
  box-shadow: 0 8px 16px rgba(199, 163, 90, 0.16);
}

.analysis-slide.is-warning .analysis-highlight-row span {
  background: var(--coral);
  box-shadow: 0 8px 16px rgba(201, 130, 116, 0.14);
}

.analysis-slide.is-warning .analysis-highlight-row span:nth-child(2n) {
  background: #b65f55;
}

.analysis-slide.is-warning .analysis-highlight-row span:nth-child(3n) {
  background: #c78f5a;
}

.analysis-reference {
  margin-top: 18px;
  border: 1px solid rgba(94, 142, 170, 0.22);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(232, 244, 249, 0.58);
  font-size: 0.92rem;
  line-height: 1.75;
}

.result-actions {
  justify-content: center;
  margin-top: 24px;
}

.result-actions .secondary-btn {
  min-width: 180px;
}

.is-hidden {
  display: none;
}

.has-modal {
  overflow: hidden;
}

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 22px;
}

.pay-modal.is-hidden {
  display: none;
}

.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 48, 43, 0.42);
  backdrop-filter: blur(10px);
}

.pay-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}

.pay-modal-card h2 {
  margin: 8px 0 18px;
}

.pay-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(85, 124, 99, 0.1);
  color: var(--moss);
  font-size: 1.4rem;
  cursor: pointer;
}

.qr-frame {
  display: grid;
  place-items: center;
  min-height: 292px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.qr-frame img {
  width: min(260px, 92%);
  height: auto;
}

.pay-modal-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.agreement-modal {
  position: fixed;
  inset: 0;
  z-index: 38;
  display: grid;
  place-items: center;
  padding: 22px;
}

.agreement-modal.is-hidden {
  display: none;
}

.agreement-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 48, 43, 0.42);
  backdrop-filter: blur(10px);
}

.agreement-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(82vh, 720px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.agreement-modal-card h2 {
  margin: 8px 0 14px;
  color: var(--text);
}

.agreement-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(85, 124, 99, 0.1);
  color: var(--moss);
  font-size: 1.4rem;
  cursor: pointer;
}

.agreement-modal-body {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.78;
}

.agreement-modal-body p {
  margin: 0;
}

.agreement-modal-body a {
  color: var(--moss);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz-exit-modal {
  position: fixed;
  inset: 0;
  z-index: 44;
  display: grid;
  place-items: center;
  padding: 22px;
}

.quiz-exit-modal.is-hidden {
  display: none;
}

.quiz-exit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 48, 43, 0.44);
  backdrop-filter: blur(10px);
}

.quiz-exit-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  border: 1px solid rgba(201, 130, 116, 0.28);
  border-radius: 10px;
  padding: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quiz-exit-modal-card h2 {
  margin: 8px 0 12px;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1.24;
}

.quiz-exit-modal-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.quiz-exit-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(182, 95, 85, 0.1);
  color: #b65f55;
  font-size: 1.4rem;
  cursor: pointer;
}

.quiz-exit-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.danger-btn {
  background: #b65f55;
  box-shadow: 0 14px 28px rgba(182, 95, 85, 0.18);
}

.payment-agreement-note {
  margin: 8px 0 12px;
  color: var(--muted-soft);
  font-size: 0.76rem;
  line-height: 1.55;
  text-align: center;
}

.payment-agreement-note a {
  color: #1f7f48;
  font-weight: 900;
  text-decoration: none;
}

.payment-agreement-note a:hover {
  text-decoration: underline;
}

.compliance-notes {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  border: 1px solid rgba(223, 230, 220, 0.9);
  border-radius: 8px;
  padding: 12px;
  color: #5e6b62;
  background: rgba(255, 253, 247, 0.84);
  font-size: 0.78rem;
  line-height: 1.6;
}

.compliance-notes p {
  margin: 0;
}

.compliance-notes strong {
  color: #2d4a38;
}

.compliance-notes a {
  color: #1f7f48;
  font-weight: 900;
  text-decoration: none;
}

.compliance-notes a:hover {
  text-decoration: underline;
}

.pay-modal-agreement {
  margin: 10px 0 0;
}

body.has-unlock-sheet {
  overflow: hidden;
}

@media (max-width: 780px) {
  .site-brand-link {
    display: none;
  }

  .paid-product-note {
    max-width: none;
    padding: 9px 10px;
    font-size: 0.76rem;
    line-height: 1.58;
  }

  .app-shell {
    width: min(100% - 24px, 640px);
    padding: 18px 0 28px;
  }

  .intro-panel {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "setup"
      "visitor"
      "dimensions"
      "types"
      "recover"
      "footer";
    align-items: start;
    padding-top: 24px;
  }

  .brand-block {
    display: grid;
    grid-area: brand;
  }

  .brand-block .visitor-copy {
    grid-area: visitor;
    align-self: stretch;
    justify-content: center;
    margin: 14px 0 0;
  }

  .brand-block .recover-entry {
    grid-area: recover;
    align-self: stretch;
    max-width: none;
    margin: 18px 0 0;
    text-align: center;
  }

  .brand-block .lost-report-link {
    justify-self: center;
  }

  .intro-panel > .site-footer {
    grid-area: footer;
    align-self: stretch;
    margin-top: 10px;
  }

  .mobile-personality-types {
    grid-area: types;
    display: grid;
    gap: 14px;
    align-self: stretch;
    margin-top: 18px;
  }

  .mobile-core-dimensions {
    grid-area: dimensions;
    display: grid;
    gap: 12px;
    align-self: stretch;
    margin-top: 18px;
  }

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

  .core-dimension-card {
    display: grid;
    gap: 5px;
    min-height: 168px;
    border: 1px solid rgba(85, 124, 99, 0.2);
    border-radius: 8px;
    padding: 12px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 248, 244, 0.86));
    box-shadow: 0 10px 22px rgba(51, 68, 55, 0.08);
  }

  .core-dimension-card strong {
    display: none;
  }

  .core-dimension-card span {
    color: var(--moss);
    font-size: 0.82rem;
    font-weight: 950;
    line-height: 1.35;
  }

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

  .dimension-pair span {
    display: grid;
    gap: 4px;
    justify-items: center;
    color: var(--moss);
    text-align: center;
  }

  .dimension-pair img {
    width: 100%;
    height: 76px;
    display: block;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.72);
  }

  .dimension-pair b {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .core-dimension-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.48;
  }

  .type-section-head {
    display: grid;
    gap: 4px;
    text-align: left;
  }

  .type-section-head span {
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0.06em;
  }

  .type-section-head h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.42rem;
    line-height: 1.2;
  }

  .type-family {
    border: 1px solid rgba(85, 124, 99, 0.16);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 28px rgba(51, 68, 55, 0.08);
  }

  .type-family.is-purple {
    --family-color: #7d5bd6;
    background: linear-gradient(180deg, rgba(250, 247, 255, 0.96), rgba(244, 239, 255, 0.82));
  }

  .type-family.is-green {
    --family-color: #29a76d;
    background: linear-gradient(180deg, rgba(246, 255, 250, 0.96), rgba(229, 249, 238, 0.82));
  }

  .type-family.is-blue {
    --family-color: #397fc6;
    background: linear-gradient(180deg, rgba(246, 251, 255, 0.96), rgba(227, 241, 252, 0.82));
  }

  .type-family.is-yellow {
    --family-color: #d59a17;
    background: linear-gradient(180deg, rgba(255, 251, 238, 0.96), rgba(255, 242, 201, 0.82));
  }

  .type-family-head {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
  }

  .type-family-head h3 {
    margin: 0;
    color: var(--family-color);
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .type-family-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.55;
  }

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

  .type-mini-card {
    display: grid;
    gap: 3px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 18px rgba(51, 68, 55, 0.08);
    text-align: center;
  }

  .type-mini-card img {
    width: 100%;
    height: 112px;
    display: block;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.68);
  }

  .type-mini-card strong {
    margin-top: 4px;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .type-mini-card span {
    color: var(--family-color);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.04em;
  }

  .type-mini-card small {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .mobile-test-notice {
    border: 1px solid rgba(201, 130, 116, 0.24);
    border-radius: 8px;
    padding: 14px;
    background:
      linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(255, 246, 235, 0.9)),
      radial-gradient(circle at 100% 0, rgba(201, 130, 116, 0.16), transparent 42%);
    box-shadow: 0 12px 28px rgba(104, 58, 42, 0.08);
  }

  .mobile-test-notice h3 {
    margin: 0 0 10px;
    color: #b65f55;
    font-size: 1.08rem;
    line-height: 1.25;
  }

  .mobile-test-notice ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-test-notice li {
    position: relative;
    padding-left: 16px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.62;
  }

  .mobile-test-notice li::before {
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f05b4f;
    content: "";
  }

  .setup-card {
    grid-area: setup;
    padding: 18px;
  }

  .desktop-intro-visual {
    display: none;
  }

  .setup-card > .eyebrow,
  .setup-card > h2,
  .setup-card > p {
    display: none;
  }

  .question-count-field {
    gap: 12px;
    margin: 18px 0 18px;
  }

  .question-count-field:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .question-count-field:first-of-type legend {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }

  .question-count-field:first-of-type .count-option {
    position: relative;
    min-height: 232px;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 10px;
    overflow: hidden;
    border: 2px solid rgba(85, 124, 99, 0.18);
    padding: 10px;
    color: #8b918d;
    background: #f0f1ef;
  }

  .question-count-field:first-of-type .count-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .question-count-field:first-of-type .count-option::after {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: transparent;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0 0 2px rgba(137, 147, 142, 0.22) inset;
    font-size: 1rem;
    font-weight: 950;
    content: "✓";
  }

  .question-count-field:first-of-type .count-option:nth-of-type(2)::before {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    border-radius: 999px;
    padding: 4px 9px;
    color: #ffffff;
    background: linear-gradient(135deg, #ff4d3d, #ff9f1c);
    box-shadow: 0 8px 18px rgba(255, 77, 61, 0.28);
    font-size: 0.72rem;
    font-weight: 950;
    line-height: 1;
    content: "更多人选择";
  }

  .question-count-field:first-of-type .count-option:has(input:checked) {
    border-color: rgba(85, 124, 99, 0.78);
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 237, 0.95));
    box-shadow: 0 14px 30px rgba(51, 68, 55, 0.13);
  }

  .question-count-field:first-of-type .count-option:has(input:checked)::after {
    color: #ffffff;
    background: var(--moss);
    box-shadow: 0 8px 18px rgba(85, 124, 99, 0.28);
  }

  .question-count-field:first-of-type .count-option:not(:has(input:checked)) .count-option-image {
    filter: grayscale(1);
    opacity: 0.58;
  }

  .count-option-image {
    width: 100%;
    height: 126px;
    display: block;
    border-radius: 8px;
    object-fit: contain;
    object-position: center;
    background: #e6e9e6;
    transform: scale(0.9);
  }

  .question-count-field:first-of-type .count-option span {
    gap: 2px;
    padding: 0 26px 2px 2px;
  }

  .question-count-field:first-of-type .count-option strong {
    font-size: 1.08rem;
    line-height: 1.25;
  }

  .question-count-field:first-of-type .count-option small {
    color: currentColor;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .gender-field {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 12px;
    margin: 2px 0 14px;
  }

  .gender-field legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .gender-field::before {
    content: none;
  }

  .gender-field .count-option {
    position: relative;
    grid-template-columns: auto 1fr;
    justify-self: stretch;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border: 0;
    border-radius: 0;
    padding: 0 8px;
    background: transparent;
  }

  .gender-field .count-option span {
    display: block;
  }

  .gender-field .count-option strong {
    font-size: 0.98rem;
    line-height: 1;
  }

  .gender-field .count-option input {
    appearance: auto;
    width: 20px;
    height: 20px;
    accent-color: var(--moss);
  }

  .gender-field .count-option small {
    display: none;
  }

  .agreement-check {
    justify-content: center;
    margin: 8px 0 16px;
    font-size: 0.92rem;
  }

  .agreement-modal {
    align-items: center;
    justify-items: center;
    padding: 12px;
  }

  .agreement-modal-card {
    width: min(100%, 380px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    overflow: hidden;
    padding: 18px;
  }

  .agreement-modal-card .eyebrow {
    margin: 0 34px 4px 0;
    font-size: 0.72rem;
  }

  .agreement-modal-card h2 {
    margin: 0 34px 10px 0;
    font-size: 1.28rem;
    line-height: 1.24;
  }

  .agreement-modal-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .agreement-modal-body {
    max-height: 38vh;
    min-height: 0;
    overflow: auto;
    gap: 8px;
    margin-bottom: 12px;
    padding-right: 2px;
    font-size: 0.9rem;
    line-height: 1.58;
    -webkit-overflow-scrolling: touch;
  }

  #agreementConfirmStartBtn {
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .quiz-topbar {
    align-items: flex-start;
  }

  .quiz-panel {
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .quiz-panel .quiz-topbar {
    display: contents;
  }

  .quiz-topbar > div:first-child {
    display: none;
  }

  .progress-track {
    order: 1;
    width: calc(100% - 116px);
    height: 14px;
    margin: 4px 0 18px;
    border: 0;
    background: rgba(85, 124, 99, 0.16);
    box-shadow: inset 0 0 0 1px rgba(85, 124, 99, 0.12);
  }

  .progress-fill {
    min-width: 10px;
    background: linear-gradient(90deg, #20b15a, #0b8f48);
    box-shadow: 0 0 14px rgba(32, 177, 90, 0.42);
  }

  .question-card {
    order: 2;
  }

  .quiz-panel > .nav-row {
    order: 3;
  }

  .quiz-bottom {
    order: 4;
  }

  .quiz-unlock-hint {
    width: 100%;
    max-width: 100%;
    gap: 7px;
    padding: 10px;
    font-size: 0.9rem;
  }

  .quiz-restart-actions {
    display: none;
  }

  .quiz-footer {
    display: none;
  }

  .quiz-tools {
    order: 5;
    margin-top: 18px;
    border: 1px dashed rgba(137, 147, 142, 0.38);
    border-radius: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.58);
  }

  .progress-copy {
    position: absolute;
    top: 22px;
    right: 42px;
    z-index: 2;
    min-width: 62px;
    min-height: 18px;
    color: var(--moss);
    font-size: 0.92rem;
    font-weight: 950;
    line-height: 14px;
    text-align: right;
    opacity: 1;
    transform: none;
  }

  .mobile-quiz-close {
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 30;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(182, 95, 85, 0.32);
    border-radius: 999px;
    color: #b65f55;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(51, 68, 55, 0.1);
    font-size: 1.24rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .quiz-tools {
    flex-wrap: wrap;
    justify-content: center;
  }

  .unlock-layout {
    grid-template-columns: 1fr;
  }

  .unlock-left {
    position: relative;
  }

  .unlock-card .unlock-mobile-trigger {
    position: sticky;
    bottom: 12px;
    z-index: 6;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 16px;
    box-shadow: 0 18px 32px rgba(51, 68, 55, 0.18);
  }

  .unlock-card.is-payment-sheet-open .unlock-mobile-trigger {
    opacity: 0;
    pointer-events: none;
  }

  .unlock-payment-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 34;
    display: block;
    background: rgba(24, 31, 27, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
  }

  .unlock-card.is-payment-sheet-open .unlock-payment-sheet-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .unlock-payment-box {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: 0;
    z-index: 35;
    max-height: min(80vh, 720px);
    overflow: auto;
    justify-content: start;
    padding: 56px 18px calc(22px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    transform: translateY(calc(100% + 18px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
    box-shadow: 0 -18px 40px rgba(20, 29, 24, 0.24);
  }

  .unlock-card.is-payment-sheet-open .unlock-payment-box {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .unlock-payment-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    color: #274d39;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 18px rgba(51, 68, 55, 0.12);
    font-size: 1.4rem;
    line-height: 1;
  }

  .preview-result-grid,
  .preview-analysis-flow .analysis-slide-grid,
  .preview-analysis-flow .analysis-overview {
    grid-template-columns: 1fr;
  }

  .result-grid,
  .pay-plan-grid,
  .analysis-overview,
  .analysis-slide-grid {
    grid-template-columns: 1fr;
  }

  .result-grid .table-card {
    display: none;
  }

  .analysis-overview {
    align-items: start;
  }

  .analysis-overview .type-portrait {
    display: none;
  }

  .mobile-overview-hero {
    display: grid;
    grid-template-columns: minmax(108px, 122px) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin: 2px 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 20px rgba(51, 68, 55, 0.08);
  }

  .mobile-overview-hero h3 {
    margin: 0 0 6px;
    color: #1f4732;
    font-size: 1.35rem;
    line-height: 1.1;
  }

  .mobile-type-nickname {
    margin: 0;
    color: var(--blue);
    font-size: 0.95rem;
    font-weight: 900;
  }

  .mobile-type-summary {
    margin: 0 0 12px;
    color: #35423c;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.7;
  }

  .mobile-type-portrait {
    display: grid;
    place-items: end center;
    width: 100%;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 8px;
    padding: 8px 6px 0;
    background:
      radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.92), transparent 34%),
      linear-gradient(160deg, rgba(220, 234, 221, 0.82), rgba(232, 244, 249, 0.78) 52%, rgba(255, 244, 216, 0.72));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48), 0 12px 22px rgba(51, 68, 55, 0.08);
    overflow: hidden;
  }

  .mobile-type-portrait img {
    width: 100%;
    height: 118px;
    max-height: 118px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.68);
    filter: none;
  }

  .overview-copy > h3,
  .overview-copy > .type-classic-name,
  .overview-copy > p:not(.analysis-kicker):not(.mobile-type-nickname):not(.mobile-type-summary) {
    display: none;
  }

  .overview-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .overview-metrics span {
    justify-items: center;
    text-align: center;
    padding: 12px 10px;
  }

  .overview-metrics span:last-child {
    grid-column: 1 / -1;
  }

  .overview-metrics small {
    order: -1;
    color: var(--muted);
    font-size: 0.76rem;
  }

  .overview-metrics strong {
    justify-self: center;
    font-size: 1rem;
    padding: 4px 8px;
  }

  .options-grid {
    order: 2;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .option-card {
    min-height: 64px;
  }

  .choice-pair {
    order: 1;
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .choice-pair span {
    font-size: 0.88rem;
  }

  .nav-row {
    position: sticky;
    bottom: 10px;
    z-index: 3;
    padding: 10px;
    border: 1px solid rgba(223, 230, 220, 0.82);
    border-radius: 8px;
    background: rgba(243, 246, 241, 0.86);
    backdrop-filter: blur(14px);
  }

  .nav-row .secondary-btn,
  .nav-row .primary-btn {
    flex: 1;
    min-width: 0;
  }

  .quiz-panel {
    padding-bottom: 96px;
  }

  .quiz-panel > .nav-row {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 18;
    width: auto;
    max-width: calc(100vw - 24px);
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 0;
    padding: 8px;
    border: 1px solid rgba(223, 230, 220, 0.82);
    border-radius: 8px;
    background: rgba(243, 246, 241, 0.92);
    box-shadow: 0 12px 26px rgba(51, 68, 55, 0.14);
    backdrop-filter: blur(14px);
  }

  .quiz-panel > .nav-row .secondary-btn,
  .quiz-panel > .nav-row .primary-btn {
    flex: 0 0 auto;
    min-width: 86px;
    min-height: 38px;
    padding: 0 12px;
  }

  .result-actions {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  th,
  td {
    padding: 12px 6px;
  }

  .intro-panel.is-hidden,
  .quiz-panel.is-hidden,
  .loading-panel.is-hidden,
  .result-panel.is-hidden {
    display: none;
  }
}

.is-content-masked #scoreChart,
.is-content-masked #scoreTable td,
.is-content-masked #analysisContent .analysis-overview > *,
.is-content-masked #analysisContent .analysis-slide-body > *,
.is-content-masked #analysisContent .analysis-highlight-row > *,
.is-content-masked #analysisContent .analysis-reference {
  filter: blur(7px);
  opacity: 0.58;
  user-select: none;
  pointer-events: none;
}

.is-content-masked .chart-card h3,
.is-content-masked .table-card h3,
.is-content-masked .analysis-card > h3,
.is-content-masked .analysis-slide-head,
.is-content-masked #scoreTable,
.is-content-masked #scoreTable th {
  filter: none;
  opacity: 1;
}

.masked-report-content {
  filter: blur(7px) !important;
  opacity: 0.58 !important;
  user-select: none !important;
  pointer-events: none !important;
}

td.masked-report-content,
.masked-report-content.result-title,
.masked-report-content.result-summary,
.masked-report-content p,
.masked-report-content span,
.masked-report-content strong,
.masked-report-content small {
  color: transparent !important;
  text-shadow: 0 0 10px rgba(36, 48, 43, 0.72) !important;
}

.masked-report-content.result-title {
  filter: blur(12px) !important;
  opacity: 0.46 !important;
  text-shadow: 0 0 16px rgba(36, 48, 43, 0.9) !important;
}

@media (max-width: 780px) {
  .result-panel.is-mobile-paid-preview .mobile-preview-countdown-card {
    display: grid;
    position: sticky;
    top: 8px;
    z-index: 8;
    margin: 8px 0 16px;
    box-shadow: 0 12px 26px rgba(205, 73, 62, 0.16);
  }

  .result-panel.is-mobile-paid-preview .result-hero h2,
  .result-panel.is-mobile-paid-preview .result-hero p:last-child,
  .locked-report-wrap.is-mobile-paid-preview #scoreChart,
  .locked-report-wrap.is-mobile-paid-preview #scoreTable td,
  .locked-report-wrap.is-mobile-paid-preview #analysisContent .analysis-overview > *,
  .locked-report-wrap.is-mobile-paid-preview #analysisContent .analysis-slide-body > *,
  .locked-report-wrap.is-mobile-paid-preview #analysisContent .analysis-highlight-row > *,
  .locked-report-wrap.is-mobile-paid-preview #analysisContent .analysis-reference {
    filter: blur(6px);
    opacity: 0.46;
    user-select: none;
    pointer-events: none;
  }

  .locked-report-wrap.is-mobile-paid-preview #scoreChart,
  .locked-report-wrap.is-mobile-paid-preview #analysisContent .analysis-slide-body > * {
    filter: blur(2.4px);
    opacity: 0.76;
  }

  .result-panel.is-mobile-paid-preview .result-hero .eyebrow,
  .locked-report-wrap.is-mobile-paid-preview .chart-card h3,
  .locked-report-wrap.is-mobile-paid-preview .table-card h3,
  .locked-report-wrap.is-mobile-paid-preview .analysis-card > h3,
  .locked-report-wrap.is-mobile-paid-preview .analysis-slide-head,
  .locked-report-wrap.is-mobile-paid-preview #scoreTable,
  .locked-report-wrap.is-mobile-paid-preview #scoreTable th {
    filter: none;
    opacity: 1;
  }
}

.inline-unlock-card {
  width: min(100%, 560px);
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px auto 30px;
  border: 2px solid rgba(205, 73, 62, 0.78);
  border-radius: 8px;
  padding: 18px 20px;
  color: #7e2e28;
  background:
    linear-gradient(135deg, rgba(255, 245, 241, 0.98), rgba(255, 221, 212, 0.96)),
    radial-gradient(circle at 100% 0, rgba(205, 73, 62, 0.18), transparent 42%);
  box-shadow: 0 16px 30px rgba(159, 57, 47, 0.18);
  text-align: left;
  cursor: pointer;
  animation: inlineUnlockPulse 1.8s ease-in-out infinite;
}

.inline-unlock-card:hover {
  border-color: rgba(182, 55, 45, 0.96);
  box-shadow: 0 20px 38px rgba(159, 57, 47, 0.24);
}

.inline-unlock-copy {
  display: grid;
  gap: 4px;
}

.inline-unlock-copy strong {
  color: #a43d34;
  font-size: 1.34rem;
  font-weight: 900;
}

.inline-unlock-copy small {
  color: #8d514b;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.wechat-pay-mark {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #17b55b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 8px 18px rgba(23, 181, 91, 0.24);
}

.wechat-pay-mark i,
.wechat-pay-mark b {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: #ffffff;
  content: "";
}

.wechat-pay-mark i {
  left: 10px;
  top: 14px;
  width: 22px;
  height: 15px;
}

.wechat-pay-mark b {
  right: 9px;
  bottom: 11px;
  width: 18px;
  height: 13px;
  opacity: 0.9;
}

.wechat-pay-mark i::before,
.wechat-pay-mark i::after,
.wechat-pay-mark b::before,
.wechat-pay-mark b::after {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #17b55b;
  content: "";
}

.wechat-pay-mark i::before { left: 4px; top: 4px; }
.wechat-pay-mark i::after { right: 4px; top: 4px; }
.wechat-pay-mark b::before { left: 3px; top: 3px; }
.wechat-pay-mark b::after { right: 3px; top: 3px; }

.wechat-pay-mark.is-large {
  width: 48px;
  height: 48px;
}

@keyframes inlineUnlockPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}

.inline-unlock-modal {
  position: fixed;
  inset: 0;
  z-index: 42;
  display: grid;
  place-items: center;
  padding: 22px;
}

.inline-unlock-modal.is-hidden {
  display: none;
}

.inline-unlock-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 48, 43, 0.46);
  backdrop-filter: blur(8px);
}

.inline-unlock-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  border: 1px solid rgba(23, 181, 91, 0.36);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(248, 255, 250, 0.98), rgba(233, 250, 239, 0.96));
  box-shadow: 0 24px 60px rgba(22, 75, 47, 0.22);
}

.inline-unlock-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #137c3f;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.35rem;
  cursor: pointer;
}

.inline-unlock-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.inline-unlock-modal-head p {
  margin: 0 0 2px;
  color: #17a455;
  font-size: 1rem;
  font-weight: 900;
}

.inline-unlock-modal-head h3 {
  margin: 0;
  color: #184d32;
  font-size: 1.62rem;
}

.inline-pay-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.inline-pay-option {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 138px;
  border: 2px solid rgba(23, 181, 91, 0.28);
  border-radius: 8px;
  padding: 14px 12px;
  color: #1f4732;
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
  cursor: pointer;
}

.inline-pay-option.is-featured {
  border-color: rgba(23, 181, 91, 0.86);
  background: linear-gradient(180deg, rgba(246, 255, 249, 0.98), rgba(218, 247, 228, 0.92));
  box-shadow: 0 12px 28px rgba(23, 181, 91, 0.18);
}

.inline-pay-option em {
  justify-self: start;
  border-radius: 999px;
  padding: 3px 8px;
  color: #ffffff;
  background: #17b55b;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 900;
}

.inline-pay-option span {
  font-size: 1.04rem;
  font-weight: 900;
}

.inline-pay-option strong {
  color: #0f9f4c;
  font-size: 1.8rem;
  line-height: 1;
}

.inline-pay-option small {
  color: #52705f;
  font-size: 0.92rem;
  line-height: 1.45;
}

.inline-modal-agreement {
  margin: -2px 0 12px;
  color: #65806f;
}

.inline-modal-countdown {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  border: 2px solid rgba(23, 181, 91, 0.26);
  border-radius: 8px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(245, 255, 249, 0.98), rgba(222, 249, 232, 0.92));
}

.inline-modal-countdown span {
  color: #9f3930;
  font-size: 1.05rem;
  font-weight: 900;
}

.inline-modal-countdown strong {
  color: #c7332b;
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 1.58rem;
  line-height: 1;
  animation: urgentCountdownPulse 0.82s ease-in-out infinite;
}

.inline-modal-benefits {
  border: 1px solid rgba(23, 181, 91, 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
}

.inline-modal-benefits h4 {
  margin: 0 0 8px;
  color: #184d32;
  font-size: 1.18rem;
}

.inline-modal-benefits ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inline-modal-benefits li {
  position: relative;
  padding-left: 18px;
  color: #52705f;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.42;
}

.inline-modal-benefits li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #17b55b;
  content: "";
}
