:root {
  --bg: #05070a;
  --bg-soft: #0a0d12;
  --bg-elevated: rgba(15, 18, 24, 0.9);
  --panel: rgba(12, 15, 21, 0.84);
  --panel-strong: rgba(16, 20, 28, 0.94);
  --panel-muted: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f7fb;
  --text-secondary: rgba(244, 247, 251, 0.78);
  --text-muted: rgba(244, 247, 251, 0.5);
  --accent: #d8ff36;
  --accent-soft: rgba(216, 255, 54, 0.14);
  --accent-line: rgba(216, 255, 54, 0.38);
  --cool: #9db1d9;
  --cool-soft: rgba(157, 177, 217, 0.14);
  --danger: #ff8e84;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --radius-xl: 48px;
  --content-width: 1240px;
  --transition: 180ms ease;
}

@keyframes orbSweepPremium {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.98);
    opacity: 0.88;
  }
  50% {
    transform: translate3d(12px, -16px, 0) scale(1.04);
    opacity: 1;
  }
}

@keyframes logoFloatPremium {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes flowAdvanceIn {
  from {
    opacity: 0;
    transform: translate3d(18px, 0, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes flowReturnIn {
  from {
    opacity: 0;
    transform: translate3d(-18px, 0, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes modalOverlayFadePremium {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalPanelEnterPremium {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes badgeSettlePremium {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.9);
  }
  70% {
    opacity: 1;
    transform: translate3d(0, -2px, 0) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.ambient-bg {
  transform: translate3d(0, calc(var(--scroll-depth, 0px) * -0.12), 0);
  transition: transform 220ms ease-out;
}

.gradient-orb {
  animation: orbSweepPremium 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.orb-2 {
  animation-duration: 22s;
  animation-delay: -5s;
}

.orb-3 {
  animation-duration: 26s;
  animation-delay: -11s;
}

.logo-badge {
  animation: logoFloatPremium 7.8s ease-in-out infinite;
}

.hero-note,
.hero-summary-item,
.submit-outcome,
.other-item {
  transform: translateZ(0);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.hero-note:hover,
.hero-summary-item:hover,
.submit-outcome:hover,
.other-item:hover {
  transform: translate3d(0, -2px, 0);
}

.modal.active.modal-entering .modal-overlay {
  animation: modalOverlayFadePremium 360ms ease both;
}

.modal.active.modal-entering .modal-content {
  animation: modalPanelEnterPremium 520ms cubic-bezier(.22,.7,.2,1) both;
  transform-origin: center 84%;
}

.modal.report-ready .result-image-stage > .result-score-panel,
.modal.report-ready .result-score-panel {
  animation: badgeSettlePremium 460ms cubic-bezier(.22,.7,.2,1) both;
}

@media (max-width: 920px) {
  body.single-step-flow.flow-transitioning .flow-stage-panel,
  body.single-step-flow.flow-transitioning .flow-nav-bar,
  body.single-step-flow.flow-transitioning .bento-card.flow-card-active {
    animation: flowAdvanceIn 360ms cubic-bezier(.22,.7,.2,1) both;
  }

  body.single-step-flow.flow-transitioning[data-flow-direction="backward"] .flow-stage-panel,
  body.single-step-flow.flow-transitioning[data-flow-direction="backward"] .flow-nav-bar,
  body.single-step-flow.flow-transitioning[data-flow-direction="backward"] .bento-card.flow-card-active {
    animation-name: flowReturnIn;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-bg,
  .gradient-orb,
  .logo-badge,
  .modal.active.modal-entering .modal-overlay,
  .modal.active.modal-entering .modal-content,
  .modal.report-ready .result-image-stage > .result-score-panel,
  .modal.report-ready .result-score-panel,
  body.single-step-flow.flow-transitioning .flow-stage-panel,
  body.single-step-flow.flow-transitioning .flow-nav-bar,
  body.single-step-flow.flow-transitioning .bento-card.flow-card-active {
    animation: none !important;
    transition: none !important;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 255, 54, 0.08), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(157, 177, 217, 0.14), transparent 26%),
    linear-gradient(180deg, #06080b 0%, #090c11 44%, #05070a 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 88%);
  opacity: 0.38;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(130deg, transparent 0%, rgba(255, 255, 255, 0.02) 47%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.9;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

[hidden],
.internal-only[hidden] {
  display: none !important;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
}

.orb-1 {
  top: -120px;
  left: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(216, 255, 54, 0.16), transparent 72%);
}

.orb-2 {
  top: 18%;
  right: 8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(127, 150, 193, 0.18), transparent 72%);
}

.orb-3 {
  bottom: -140px;
  left: 42%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.5;
}

.header,
.main {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

.header {
  padding: 28px 0 26px;
}

.header-content {
  position: relative;
  display: grid;
  gap: 26px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, rgba(11, 14, 19, 0.98), rgba(11, 14, 19, 0.82));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.header-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(216, 255, 54, 0.12), transparent 22%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

.hero-utility,
.hero-topline,
.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-utility-pill,
.brand-eyebrow,
.hero-note-label,
.hero-summary-kicker,
.section-kicker,
.progress-kicker,
.card-step,
.submit-kicker,
.result-label,
.result-meaning-kicker,
.result-visual-kicker,
.result-report-tag,
.result-report-code,
.result-section-heading,
.string-report-kicker,
.decision-card-label,
.spec-label,
.result-report-field-label {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.4;
}

.hero-utility-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.hero-utility-copy {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

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

.logo-badge {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px solid rgba(66, 76, 45, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 239, 231, 0.9)),
    rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -6px 18px rgba(206, 201, 186, 0.12),
    0 10px 24px rgba(143, 128, 96, 0.08);
}

.logo-mark {
  width: 42px;
  height: 42px;
}

.brand-copy {
  display: grid;
  gap: 6px;
}

.brand-eyebrow {
  color: var(--accent);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.2em;
  font-weight: 600;
  text-transform: uppercase;
}

.logo-text {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.logo-subtitle {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 26px;
  align-items: stretch;
}

.hero-copy-block,
.hero-summary {
  position: relative;
  min-height: 100%;
  padding: 34px;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(9, 12, 17, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.hero-copy-block::before,
.hero-summary::before {
  content: "";
  position: absolute;
  inset: auto -10% 0 auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 54, 0.12), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-copy-block {
  display: grid;
  align-content: space-between;
  gap: 26px;
}

.hero-slogan {
  max-width: 460px;
  color: color-mix(in srgb, var(--accent) 86%, #6b735f 14%);
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.hero-intent {
  max-width: 740px;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 0.97;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero-support,
.header-desc,
.card-intro,
.submit-copy,
.result-section-copy,
.result-meaning-copy,
.result-visual-copy,
.string-report-summary,
.string-report-helper,
.string-report-note,
.reason-copy,
.other-intro,
.other-compare-note,
.other-desc,
.zodiac-bridge,
.zodiac-fit-summary,
.zodiac-playstyle-desc,
.zodiac-playstyle-inner p,
.field-helper,
.age-guidance,
.disclaimer,
.loading-subtext {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.hero-microfacts,
.hero-notes,
.submit-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-microfact,
.submit-rail span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

.hero-note {
  min-width: 220px;
  flex: 1 1 220px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.hero-note strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.hero-note-label {
  color: var(--text-muted);
}

.hero-start-link,
.btn-primary,
.btn-secondary,
.remeasure-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.hero-start-link {
  align-self: start;
  color: #08110b;
  background: linear-gradient(180deg, #efffb3 0%, var(--accent) 100%);
  font-size: 14px;
  font-weight: 700;
  box-shadow:
    0 18px 34px rgba(216, 255, 54, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-start-link:hover,
.btn-primary:hover,
.btn-secondary:hover,
.remeasure-btn:hover {
  transform: translateY(-2px);
}

.hero-summary {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-summary-lead {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-summary-kicker {
  color: var(--text-muted);
}

.hero-summary-headline {
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.hero-summary-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-summary-item:last-of-type {
  border-bottom: 0;
  padding-bottom: 8px;
}

.hero-summary-index {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent);
  background: rgba(216, 255, 54, 0.06);
  font-size: 18px;
  font-weight: 700;
}

.hero-summary-body {
  display: grid;
  gap: 7px;
}

.hero-summary-title {
  font-size: 16px;
  line-height: 1.4;
}

.hero-summary-copy {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.hero-summary-surface {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-surface-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-surface-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-surface-row span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-surface-row strong {
  text-align: right;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.main {
  padding: 8px 0 56px;
}

.section-intro {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 20px;
}

.section-kicker {
  color: var(--accent);
}

.section-title {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-copy {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.progress-section,
.bento-card,
.modal-content,
.loading-container {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--panel);
  box-shadow: var(--shadow-soft);
}

.progress-section {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  gap: 20px;
  margin-bottom: 22px;
  padding: 24px 26px 22px;
  border-radius: 30px;
  backdrop-filter: blur(22px);
}

.progress-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.progress-kicker {
  color: var(--text-muted);
}

.progress-copy {
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  text-align: right;
}

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

.progress-label {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-secondary);
}

.progress-label.active,
.progress-label.done {
  border-color: rgba(216, 255, 54, 0.24);
  background: rgba(216, 255, 54, 0.08);
  color: var(--text);
}

.progress-step-badge {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress-step-number,
.progress-step-check {
  grid-area: 1 / 1;
}

.progress-step-check {
  width: 18px;
  height: 18px;
  opacity: 0;
}

.progress-label.done .progress-step-number {
  opacity: 0;
}

.progress-label.done .progress-step-check {
  opacity: 1;
}

.progress-step-copy {
  display: grid;
  gap: 4px;
  text-align: left;
}

.progress-step-kicker {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress-step-text {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

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

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(216, 255, 54, 0.45), var(--accent));
  box-shadow: 0 0 18px rgba(216, 255, 54, 0.36);
  transition: width 320ms ease;
}

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

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
}

.bento-medium {
  min-height: 100%;
}

.bento-full {
  grid-column: 1 / -1;
}

.card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(216, 255, 54, 0.12), transparent 24%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
  opacity: 0.9;
}

.card-content,
.submit-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  padding: 28px;
}

.card-header,
.result-meaning-head,
.submit-intro,
.result-header {
  display: grid;
  gap: 10px;
}

.card-header.compact {
  gap: 8px;
}

.card-header {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
}

.card-icon.small {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}

.card-icon svg,
.state-icon svg,
.spec-icon svg,
.btn-arrow,
.modal-close svg,
.result-disclosure-summary svg {
  width: 20px;
  height: 20px;
}

.card-meta {
  display: grid;
  gap: 6px;
}

.card-step {
  color: var(--text-muted);
}

.card-title,
.submit-title,
.result-name,
.result-meaning-title {
  letter-spacing: -0.04em;
}

.card-title {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.card-intro {
  margin-top: -4px;
}

.form-group,
.energy-section,
.stat-row,
.state-grid,
.style-grid,
.toggle-group,
.grip-selector,
.zodiac-grid,
.submit-outcomes,
.result-support-grid,
.result-specs,
.other-list {
  display: grid;
  gap: 14px;
}

.form-group.compact,
.form-group-dense {
  gap: 12px;
}

.form-label,
.stat-label,
.form-label-small {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
}

.label-hint {
  color: var(--text-muted);
  font-weight: 400;
}

.ntrp-display,
.power-header,
.power-bar-wrap,
.energy-meta,
.result-report-bar,
.result-visual-caption,
.zodiac-insight-header,
.zodiac-match-header,
.modal-actions,
.result-status-row,
.result-report-grid,
.result-report-field,
.result-report-code {
  display: flex;
  align-items: center;
}

.ntrp-display,
.power-header,
.energy-meta {
  justify-content: space-between;
  gap: 16px;
}

.ntrp-value,
.result-score,
.spec-value,
.stat-number {
  letter-spacing: -0.05em;
  font-weight: 800;
}

.ntrp-value {
  font-size: 48px;
  line-height: 1;
}

.ntrp-level,
.power-score,
.energy-score,
.result-brand,
.match-percent,
.result-report-field-value,
.other-score {
  color: var(--text);
  font-weight: 600;
}

.ntrp-level {
  font-size: 14px;
  line-height: 1.6;
}

.ntrp-hint,
.power-display span:last-child,
.power-side-label,
.slider-scale,
.result-market-context,
.result-pro-user,
.result-advice-note,
.result-report-field-label,
.result-visual-copy,
.other-brand,
.other-pro-user,
.other-image-note,
.player-title,
.zodiac-pro-title,
.zodiac-pro-bday,
.measure-label,
.measure-value,
.image-status {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

.ntrp-scale,
.slider-scale {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ntrp-scale span,
.slider-scale span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(216, 255, 54, 0.95) 0%, rgba(216, 255, 54, 0.65) var(--range-percent, 50%), rgba(255, 255, 255, 0.08) var(--range-percent, 50%), rgba(255, 255, 255, 0.08) 100%);
}

input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle, #ffffff 0%, #d7dbdf 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.36);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.36);
}

.power-bar,
.energy-bar {
  position: relative;
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.power-fill,
.energy-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(216, 255, 54, 0.55), var(--accent));
}

.energy-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  animation: barShine 3s linear infinite;
}

@keyframes barShine {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

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

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

.style-card,
.state-card,
.toggle-btn,
.grip-btn,
.zodiac-btn,
.other-item {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.style-card,
.state-card,
.toggle-btn {
  position: relative;
  width: 100%;
  display: grid;
  gap: 10px;
  text-align: left;
  padding: 18px;
}

.style-card:hover,
.state-card:hover,
.toggle-btn:hover,
.grip-btn:hover,
.zodiac-btn:hover,
.progress-label:hover,
.other-item:hover,
.result-support-card:hover,
.submit-outcome:hover,
.result-disclosure:hover,
.disclosure-block:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-2px);
}

.style-card.active,
.state-card.active,
.toggle-btn.active,
.grip-btn.active,
.zodiac-btn.active {
  border-color: rgba(216, 255, 54, 0.3);
  background:
    linear-gradient(180deg, rgba(216, 255, 54, 0.12), rgba(216, 255, 54, 0.04)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.style-badge {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(216, 255, 54, 0.14);
  color: var(--accent);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
}

.style-icon,
.state-icon,
.spec-icon,
.measure-item,
.result-hero,
.match-badge,
.zodiac-match-icon,
.zodiac-icon-lg,
.zodiac-pro-flag,
.reason-check {
  display: grid;
  place-items: center;
}

.style-icon,
.state-icon,
.spec-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
}

.style-name,
.state-name,
.toggle-title,
.other-name,
.player-name,
.zodiac-pro-name {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.style-desc,
.state-desc,
.toggle-desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

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

.stat-item {
  display: grid;
  gap: 10px;
}

.stat-input-wrap,
.result-description,
.result-meaning-bridge,
.result-disclosure,
.disclosure-block,
.submit-outcome,
.result-support-card,
.other-item,
.zodiac-insight,
.zodiac-player-tag,
.zodiac-pro-card,
.reason-item,
.string-report,
.measure-item,
.hand-measure-card,
.submit-rail {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.stat-input-wrap {
  padding: 2px;
}

.stat-input,
.age-select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  outline: none;
}

.stat-input:focus,
.age-select:focus {
  box-shadow: 0 0 0 1px rgba(216, 255, 54, 0.38);
}

.age-select {
  appearance: none;
  -webkit-appearance: none;
}

.age-guidance,
.field-helper {
  margin-top: -2px;
}

.state-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grip-selector,
.zodiac-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.grip-btn,
.zodiac-btn {
  min-height: 74px;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.03);
}

.grip-btn {
  font-weight: 700;
}

.grip-btn small {
  color: var(--text-muted);
  font-size: 11px;
}

.zodiac-btn {
  display: grid;
  gap: 4px;
  place-items: center;
  font-size: 24px;
}

.zodiac-btn span {
  font-size: 12px;
  font-weight: 600;
}

.hand-measure-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.hand-measure-preview,
.hand-measure-result {
  min-height: 210px;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

.hand-icon {
  width: 56px;
  height: 56px;
  color: var(--cool);
}

.hand-measure-text {
  font-size: 15px;
  font-weight: 700;
}

.hand-measure-subtext {
  max-width: 280px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.hand-measure-workspace {
  display: grid;
  gap: 12px;
}

.measure-guide {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(66, 76, 45, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.measure-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.measure-step-badge,
.measure-guide-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.measure-step-badge {
  color: #1d290b;
  background: linear-gradient(180deg, rgba(239, 255, 159, 0.98), rgba(197, 237, 57, 0.76));
}

.measure-guide-tag {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(66, 76, 45, 0.1);
}

.measure-instruction {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.measure-helper {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.65;
}

.measure-helper-error {
  color: #8a4a26;
}

.measure-canvas-shell {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(66, 76, 45, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

#measure-canvas {
  display: block;
  width: 100%;
  height: auto;
  touch-action: none;
}

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

.measure-action-btn {
  min-height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(66, 76, 45, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .measure-guide {
    padding: 12px 14px;
  }

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

.measure-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.measure-item {
  gap: 4px;
  padding: 18px 12px;
}

.measure-value {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.grip-recommendation {
  display: grid;
  gap: 4px;
}

.grip-label {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grip-size {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.measure-result-note {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.remeasure-btn {
  min-height: 48px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.disclosure-block,
.result-disclosure {
  overflow: hidden;
}

.disclosure-summary,
.result-disclosure-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
}

.disclosure-static .disclosure-summary {
  cursor: default;
}

.disclosure-summary::-webkit-details-marker,
.result-disclosure-summary::-webkit-details-marker {
  display: none;
}

.disclosure-title,
.result-disclosure-summary span:first-child {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.disclosure-copy,
.result-disclosure-summary span:last-child {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.disclosure-content {
  display: grid;
  gap: 18px;
  padding: 0 20px 20px;
}

.disclosure-static .disclosure-content {
  padding-top: 2px;
}

.optional-summary,
.disclaimer {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.submit-card .submit-content {
  gap: 20px;
}

.submit-intro {
  max-width: 760px;
}

.submit-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.submit-rail {
  display: flex;
  flex-wrap: wrap;
  padding: 16px;
}

.submit-outcomes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.submit-outcome {
  padding: 20px;
}

.submit-outcome-title {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.submit-outcome-copy {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

.submit-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  display: grid;
  gap: 6px;
}

.stat-kicker,
.stat-label {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stat-number {
  font-size: 26px;
  line-height: 1.1;
}

.btn-primary {
  justify-self: start;
  padding-inline: 26px;
  color: #071008;
  background: linear-gradient(180deg, #efffb3 0%, var(--accent) 100%);
  box-shadow:
    0 16px 32px rgba(216, 255, 54, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.btn-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
  transform: translateX(-160%);
  animation: shine 4.2s ease infinite;
}

@keyframes shine {
  0%,
  56% {
    transform: translateX(-160%);
  }
  74% {
    transform: translateX(140%);
  }
  100% {
    transform: translateX(140%);
  }
}

.btn-text,
.btn-arrow {
  position: relative;
  z-index: 1;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 8, 0.7);
  backdrop-filter: blur(14px);
}

.modal-content {
  position: relative;
  width: min(calc(100% - 32px), 1180px);
  max-height: calc(100vh - 36px);
  margin: 18px auto;
  padding: 28px;
  border-radius: 36px;
  overflow: auto;
}

.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(216, 255, 54, 0.08), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(157, 177, 217, 0.12), transparent 22%),
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.04) 48%, transparent 100%);
}

.modal-close {
  position: sticky;
  top: 0;
  z-index: 3;
  margin-left: auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 10, 0.72);
  color: var(--text);
  backdrop-filter: blur(16px);
}

.result-block + .result-block {
  margin-top: 22px;
}

.result-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
}

.result-copy-panel,
.result-visual-panel,
.result-meaning-block,
.result-support-card,
.other-recommendations,
.result-disclosure {
  position: relative;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.result-copy-panel::before,
.result-visual-panel::before,
.result-meaning-block::before,
.result-support-card::before,
.other-recommendations::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(216, 255, 54, 0.08), transparent 28%);
}

.result-report-bar {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.result-report-tag {
  color: var(--accent);
}

.result-report-code {
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-report-grid {
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 18px;
  gap: 12px;
}

.result-report-field {
  flex: 1 1 180px;
  align-items: start;
  gap: 8px;
  padding: 18px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  flex-direction: column;
}

.result-report-field-value {
  font-size: 14px;
  line-height: 1.6;
}

.result-label {
  color: var(--accent);
}

.result-name {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.92;
  max-width: 10ch;
}

.result-brand {
  color: var(--cool);
  font-size: 16px;
  line-height: 1.6;
}

.result-pro-user,
.result-market-context {
  margin-top: -2px;
}

.result-status-row {
  flex-wrap: wrap;
  gap: 10px;
}

.result-status-pill,
.rank-badge,
.other-rank {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.result-advice-note {
  margin-top: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.result-description,
.result-meaning-bridge {
  padding: 20px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.result-visual-panel {
  display: grid;
  gap: 16px;
}

.result-visual-panel::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -96px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 54, 0.14), transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}

.result-hero {
  position: relative;
  min-height: 148px;
  padding: 18px;
  justify-items: start;
  align-items: start;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
}

.match-badge {
  width: 124px;
  height: 124px;
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.04);
}

.match-score,
.match-percent {
  grid-area: 1 / 1;
  z-index: 1;
}

.match-score {
  font-size: 40px;
  line-height: 1;
}

.match-percent {
  margin-top: 50px;
  font-size: 13px;
}

.match-ring {
  position: absolute;
  inset: 0;
}

.match-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
}

.rank-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--accent);
  background: rgba(216, 255, 54, 0.08);
}

.result-image {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 42px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 8%, rgba(216, 255, 54, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.result-image::before {
  content: "";
  position: absolute;
  inset: auto -10% -24% -10%;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.result-image::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.result-image img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
}

.result-image img.transparent-source {
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.32));
}

.result-image.is-loading::after {
  content: "Loading image";
  position: absolute;
  inset: auto 16px 16px auto;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-image.is-error {
  border-color: rgba(255, 142, 132, 0.2);
}

.image-status {
  display: none;
}

.result-meaning-head {
  margin-bottom: 18px;
}

.result-decision-strip,
.result-specs,
.result-support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.decision-card,
.spec-item {
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.decision-card-value {
  display: block;
  margin: 12px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.decision-card-note,
.spec-note {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
}

.spec-item {
  display: grid;
  gap: 12px;
  align-content: start;
}

.spec-value {
  font-size: 30px;
  line-height: 1;
}

.reason-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
}

.reason-check {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(216, 255, 54, 0.18);
  background: rgba(216, 255, 54, 0.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.string-report,
.other-recommendations {
  padding: 20px;
}

.result-support-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.string-report {
  display: grid;
  gap: 18px;
}

.string-report-lead {
  display: grid;
  gap: 8px;
}

.string-report-rows {
  display: grid;
  gap: 8px;
}

.string-report-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.string-report-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.string-report-label,
.string-report-combo-label {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.string-report-body {
  display: grid;
  gap: 8px;
}

.string-report-primary,
.string-report-combo-value,
.string-report-reference {
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
}

.string-report-combo {
  display: grid;
  gap: 10px;
}

.string-report-combo-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.other-title {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 8px;
  padding-left: 14px;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.other-item {
  display: grid;
  grid-template-columns: 86px 164px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
}

.other-rank {
  justify-self: start;
  color: var(--accent);
}

.other-img-wrap {
  min-height: 154px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(216, 255, 54, 0.08), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.other-img {
  max-width: 92%;
  max-height: 132px;
  object-fit: contain;
}

.other-info {
  display: grid;
  gap: 8px;
}

.other-angle {
  color: var(--cool);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.other-score {
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}

.other-name {
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.zodiac-match-header,
.zodiac-insight-header {
  gap: 14px;
  margin-bottom: 16px;
}

.zodiac-match-icon,
.zodiac-icon-lg,
.zodiac-pro-flag {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 26px;
}

.zodiac-playstyle-inner,
.zodiac-player-tag,
.zodiac-pro-card {
  padding: 16px 18px;
}

.zodiac-racquet-affinity,
.zodiac-players,
.zodiac-pro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.affinity-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(216, 255, 54, 0.08);
  border: 1px solid rgba(216, 255, 54, 0.18);
  color: var(--accent);
  font-size: 12px;
  line-height: 1.4;
}

.zodiac-pro-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zodiac-pro-info {
  display: grid;
  gap: 4px;
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.loading {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 120;
  background: rgba(4, 6, 9, 0.8);
  backdrop-filter: blur(18px);
}

.loading.active {
  display: grid;
  place-items: center;
}

.loading-container {
  width: min(calc(100% - 32px), 520px);
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 34px 28px;
  border-radius: 34px;
  text-align: center;
}

.loading-lab {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 239, 231, 0.9)),
    rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(66, 76, 45, 0.12);
  box-shadow: 0 10px 20px rgba(143, 128, 96, 0.08);
}

.loading-logo {
  width: 50px;
  height: 50px;
}

.loading-dots {
  display: flex;
  gap: 8px;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.2s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

.loading-text {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.loading-spinner {
  width: 22px;
  height: 22px;
  animation: spin 1s linear infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

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

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-grid,
  .result-overview,
  .result-support-grid {
    grid-template-columns: 1fr;
  }

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

  .submit-outcomes,
  .result-decision-strip,
  .result-specs,
  .state-grid,
  .toggle-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .other-item {
    grid-template-columns: 72px 132px 1fr;
  }

  .other-score {
    grid-column: 2 / -1;
    justify-self: end;
  }
}

@media (max-width: 820px) {
  .header,
  .main {
    width: min(calc(100% - 20px), var(--content-width));
  }

  .header-content,
  .progress-section,
  .card-content,
  .submit-content,
  .modal-content,
  .result-copy-panel,
  .result-visual-panel,
  .result-meaning-block,
  .result-support-card,
  .other-recommendations,
  .result-disclosure {
    padding: 22px;
  }

  .hero-utility,
  .progress-head {
    flex-direction: column;
    align-items: start;
  }

  .hero-utility-copy,
  .progress-copy {
    text-align: left;
  }

  .hero-copy-block,
  .hero-summary {
    padding: 26px;
  }

  .progress-labels,
  .submit-outcomes,
  .result-decision-strip,
  .result-specs,
  .style-grid,
  .style-grid-refined,
  .state-grid,
  .toggle-group,
  .grip-selector,
  .zodiac-grid,
  .measure-data {
    grid-template-columns: 1fr 1fr;
  }

  .string-report-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-content {
    gap: 16px;
    padding: 18px 16px 16px;
    border-radius: 28px;
  }

  .logo-badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .logo-mark {
    width: 26px;
    height: 26px;
  }

  .hero-utility {
    gap: 10px;
    padding-bottom: 12px;
  }

  .hero-utility-copy,
  .hero-summary-lead,
  .hero-summary-surface,
  .hero-notes,
  .header-desc {
    display: none;
  }

  .brand-row {
    gap: 12px;
  }

  .brand-copy {
    gap: 4px;
  }

  .brand-eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .logo-text {
    font-size: 36px;
    line-height: 0.95;
  }

  .logo-subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-grid {
    gap: 12px;
  }

  .hero-copy-block,
  .hero-summary {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .hero-copy-block {
    gap: 14px;
  }

  .hero-slogan {
    font-size: 12px;
    line-height: 1.5;
  }

  .hero-intent,
  .submit-title,
  .result-name,
  .section-title {
    line-height: 1.02;
  }

  .hero-intent {
    font-size: 34px;
    letter-spacing: -0.05em;
    max-width: 9ch;
  }

  .hero-support {
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-microfacts {
    gap: 8px;
  }

  .hero-microfact {
    padding: 8px 10px;
    font-size: 11px;
  }

  .hero-start-link {
    min-height: 52px;
    margin-top: 4px;
  }

  .hero-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-summary-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
  }

  .hero-summary-item:last-of-type {
    padding-bottom: 12px;
  }

  .hero-summary-index {
    width: 36px;
    height: 36px;
    font-size: 14px;
    border-radius: 12px;
  }

  .hero-summary-title {
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-summary-copy {
    font-size: 11px;
    line-height: 1.5;
  }

  .main {
    padding-top: 0;
  }

  .section-intro {
    gap: 6px;
    margin-bottom: 12px;
  }

  .section-kicker {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .section-title {
    font-size: 28px;
  }

  .section-copy {
    font-size: 13px;
    line-height: 1.6;
  }

  .progress-section {
    top: 8px;
    gap: 10px;
    padding: 12px;
    border-radius: 20px;
  }

  .progress-head {
    gap: 4px;
  }

  .progress-copy {
    display: none;
  }

  .progress-labels {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .progress-labels::-webkit-scrollbar {
    display: none;
  }

  .progress-label {
    min-width: 132px;
    flex: 0 0 auto;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .progress-step-badge {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 10px;
  }

  .progress-step-kicker {
    display: none;
  }

  .progress-step-text {
    font-size: 13px;
  }

  .progress-labels,
  .result-report-grid,
  .submit-outcomes,
  .state-grid,
  .toggle-group,
  .grip-selector,
  .zodiac-grid,
  .stat-row,
  .measure-data,
  .result-decision-strip,
  .result-specs,
  .result-support-grid {
    grid-template-columns: 1fr;
  }

  .progress-label {
    padding: 12px 14px;
  }

  .card-content,
  .submit-content {
    gap: 16px;
    padding: 18px 16px;
  }

  .card-header {
    gap: 10px;
  }

  .card-icon,
  .card-icon.small {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .card-title {
    font-size: 22px;
  }

  .card-intro {
    font-size: 13px;
    line-height: 1.6;
  }

  .style-card,
  .state-card,
  .toggle-btn {
    padding: 16px;
    border-radius: 18px;
  }

  .style-icon,
  .state-icon,
  .spec-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .style-name,
  .state-name,
  .toggle-title {
    font-size: 14px;
  }

  .style-desc,
  .state-desc,
  .toggle-desc {
    font-size: 12px;
    line-height: 1.55;
  }

  .result-copy-panel,
  .result-visual-panel,
  .result-meaning-block,
  .result-support-card,
  .other-recommendations,
  .result-disclosure {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .result-name {
    font-size: 30px;
    max-width: none;
  }

  .result-report-bar {
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .result-report-field {
    padding: 14px 14px;
    border-radius: 16px;
  }

  .result-description,
  .result-meaning-bridge {
    padding: 16px;
    border-radius: 18px;
  }

  .result-hero {
    min-height: 112px;
    padding: 14px;
    border-radius: 18px;
  }

  .match-badge {
    width: 88px;
    height: 88px;
  }

  .match-score {
    font-size: 28px;
  }

  .match-percent {
    margin-top: 34px;
    font-size: 12px;
  }

  .rank-badge {
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .other-item {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
  }

  .other-img-wrap {
    width: 100%;
    min-height: 124px;
    border-radius: 18px;
  }

  .other-score {
    grid-column: auto;
    justify-self: start;
    font-size: 24px;
  }

  .other-name {
    font-size: 20px;
  }

  .hero-start-link,
  .btn-primary,
  .btn-secondary,
  .remeasure-btn {
    width: 100%;
  }

  .result-image {
    min-height: 220px;
    padding: 18px;
    border-radius: 22px;
  }

  .result-image img {
    max-height: 180px;
  }

  .modal-content {
    width: calc(100% - 8px);
    max-height: calc(100vh - 8px);
    margin: 4px auto;
    padding: 14px;
    border-radius: 20px;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

:root {
  --bg: #f5f1e8;
  --bg-soft: #eeeadf;
  --bg-elevated: rgba(255, 252, 246, 0.9);
  --panel: rgba(255, 253, 249, 0.92);
  --panel-strong: rgba(255, 255, 252, 0.98);
  --panel-muted: rgba(79, 89, 63, 0.05);
  --line: rgba(73, 84, 53, 0.1);
  --line-strong: rgba(73, 84, 53, 0.18);
  --text: #1d251b;
  --text-secondary: rgba(29, 37, 27, 0.76);
  --text-muted: rgba(29, 37, 27, 0.52);
  --accent: #c8f03d;
  --accent-soft: rgba(200, 240, 61, 0.18);
  --accent-line: rgba(123, 151, 18, 0.26);
  --cool: #5f6f56;
  --cool-soft: rgba(95, 111, 86, 0.12);
  --danger: #d76a57;
  --shadow: 0 24px 60px rgba(157, 140, 108, 0.16);
  --shadow-soft: 0 12px 30px rgba(157, 140, 108, 0.12);
}

body {
  background:
    radial-gradient(circle at top left, rgba(200, 240, 61, 0.22), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(214, 226, 198, 0.75), transparent 20%),
    linear-gradient(180deg, #faf7f1 0%, #f3efe5 42%, #eeeadf 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(88, 98, 69, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 98, 69, 0.05) 1px, transparent 1px);
  opacity: 0.4;
}

body::after {
  background: linear-gradient(140deg, transparent 0%, rgba(255, 255, 255, 0.45) 46%, transparent 100%);
  opacity: 0.55;
}

.orb-1 {
  background: radial-gradient(circle, rgba(200, 240, 61, 0.24), transparent 72%);
}

.orb-2 {
  background: radial-gradient(circle, rgba(203, 214, 189, 0.78), transparent 72%);
}

.orb-3 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.78), transparent 68%);
}

.grid-pattern {
  opacity: 0.28;
}

.header-content,
.progress-section,
.bento-card,
.modal-content,
.loading-container {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 247, 240, 0.92)),
    var(--panel);
  box-shadow: var(--shadow);
}

.header-content::before {
  background:
    radial-gradient(circle at 78% 24%, rgba(200, 240, 61, 0.22), transparent 20%),
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.55) 48%, transparent 100%);
}

.hero-copy-block,
.hero-summary,
.progress-label,
.style-card,
.state-card,
.toggle-btn,
.grip-btn,
.zodiac-btn,
.result-copy-panel,
.result-visual-panel,
.result-meaning-block,
.result-support-card,
.other-recommendations,
.result-disclosure,
.result-report-field,
.result-hero,
.decision-card,
.spec-item,
.string-report,
.stat-input,
.age-select,
.stat-input-wrap,
.submit-rail,
.submit-outcome,
.reason-item,
.zodiac-playstyle-inner,
.zodiac-player-tag,
.zodiac-pro-card,
.measure-item,
.hand-measure-card,
.other-item,
.other-img-wrap,
.result-image,
.result-description,
.result-meaning-bridge,
.disclosure-block {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 242, 234, 0.88)),
    rgba(255, 255, 255, 0.82);
  border-color: rgba(73, 84, 53, 0.1);
  box-shadow: 0 8px 20px rgba(157, 140, 108, 0.08);
}

.logo-badge,
.hero-summary-index,
.card-icon,
.card-icon.small,
.style-icon,
.state-icon,
.spec-icon,
.progress-step-badge,
.zodiac-match-icon,
.zodiac-icon-lg,
.zodiac-pro-flag,
.reason-check,
.loading-lab {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 241, 232, 0.9)),
    rgba(255, 255, 255, 0.8);
  border-color: rgba(73, 84, 53, 0.12);
  color: #6f8c0f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.header-content,
.hero-copy-block,
.hero-summary,
.progress-section,
.modal-content {
  border-color: rgba(73, 84, 53, 0.1);
}

.hero-utility {
  border-bottom-color: rgba(73, 84, 53, 0.08);
}

.hero-utility-pill,
.hero-start-link,
.btn-primary {
  color: #223108;
  background: linear-gradient(180deg, #efff9f 0%, #c8f03d 100%);
  border-color: rgba(123, 151, 18, 0.24);
  box-shadow:
    0 14px 24px rgba(200, 240, 61, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.hero-start-link,
.btn-primary {
  overflow: hidden;
}

.hero-start-link::before,
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(200, 240, 61, 0.22), transparent 65%);
  filter: blur(10px);
  animation: lightPulse 3s ease-in-out infinite;
}

.hero-start-link > *,
.btn-primary > * {
  position: relative;
  z-index: 1;
}

.hero-start-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.hero-utility-pill {
  color: #5e7a12;
}

.hero-slogan,
.result-brand,
.other-angle,
.result-label,
.section-kicker,
.progress-kicker,
.hero-summary-kicker,
.brand-eyebrow,
.result-report-tag,
.submit-kicker {
  color: #738d1f;
}

.progress-section {
  backdrop-filter: blur(18px);
}

.progress-label.active,
.progress-label.done,
.style-card.active,
.state-card.active,
.toggle-btn.active,
.grip-btn.active,
.zodiac-btn.active {
  background:
    linear-gradient(180deg, rgba(200, 240, 61, 0.18), rgba(200, 240, 61, 0.06)),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(123, 151, 18, 0.24);
}

.result-image {
  background:
    radial-gradient(circle at 50% 10%, rgba(200, 240, 61, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 240, 231, 0.92));
}

.result-image::before {
  background: radial-gradient(circle, rgba(186, 197, 162, 0.3), transparent 70%);
}

.result-visual-panel::after {
  background: radial-gradient(circle, rgba(200, 240, 61, 0.2), transparent 66%);
}

.match-badge {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), transparent 35%),
    rgba(244, 240, 231, 0.95);
}

.ring-bg {
  stroke: rgba(73, 84, 53, 0.12);
}

.ring-fill {
  stroke: #a5cf12;
}

.other-score,
.match-score,
.spec-value,
.ntrp-value {
  color: #233116;
}

.hero-note,
.hero-summary-surface,
.hero-microfact,
.submit-rail span,
.result-status-pill,
.rank-badge,
.other-rank,
.affinity-chip {
  background: rgba(243, 240, 230, 0.9);
  border-color: rgba(73, 84, 53, 0.1);
  color: var(--text-secondary);
}

.rank-badge,
.other-rank,
.affinity-chip,
.hero-summary-index {
  color: #68840f;
}

.modal-overlay {
  background: rgba(245, 241, 232, 0.5);
  backdrop-filter: blur(12px);
}

.modal-close,
.btn-secondary,
.remeasure-btn {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(73, 84, 53, 0.12);
  color: var(--text);
}

.loading {
  background: rgba(244, 240, 231, 0.72);
}

.loading-dots span {
  background: #a5cf12;
}

@keyframes lightPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.02);
  }
}

@media (hover: hover) {
  .bento-card:hover,
  .result-support-card:hover,
  .other-item:hover,
  .submit-outcome:hover,
  .disclosure-block:hover,
  .result-disclosure:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(157, 140, 108, 0.14);
  }
}

@media (hover: none) {
  .hero-start-link:active,
  .btn-primary:active,
  .progress-label:active,
  .style-card:active,
  .state-card:active,
  .toggle-btn:active,
  .other-item:active {
    transform: scale(0.985);
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at top, rgba(200, 240, 61, 0.24), transparent 26%),
      linear-gradient(180deg, #faf7f1 0%, #f1ede3 100%);
  }

  .header,
  .main {
    width: min(calc(100% - 14px), var(--content-width));
  }

  .header-content {
    box-shadow: 0 14px 30px rgba(157, 140, 108, 0.12);
  }

  .hero-copy-block {
    position: relative;
    overflow: hidden;
  }

  .hero-copy-block::after {
    content: "";
    position: absolute;
    right: -22px;
    top: 54%;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 240, 61, 0.24), transparent 68%);
    pointer-events: none;
  }

  .hero-summary {
    gap: 6px;
  }

  .hero-summary-item {
    min-height: 96px;
  }

  .style-grid,
  .style-grid-refined {
    grid-template-columns: 1fr;
  }

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

  .toggle-group {
    grid-template-columns: 1fr;
  }

  .grip-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zodiac-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-content,
  .submit-content {
    box-shadow: none;
  }

  .result-overview {
    gap: 14px;
  }

  .result-report-field {
    box-shadow: none;
  }

  .other-item {
    box-shadow: none;
  }
}

:root {
  --text-secondary: rgba(29, 37, 27, 0.84);
  --text-muted: rgba(29, 37, 27, 0.66);
  --line: rgba(73, 84, 53, 0.16);
  --line-strong: rgba(73, 84, 53, 0.26);
  --shadow: 0 24px 56px rgba(157, 140, 108, 0.14);
  --shadow-soft: 0 12px 24px rgba(157, 140, 108, 0.1);
}

.flow-stage-panel,
.flow-nav-bar {
  display: none;
}

.tap-ripple {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(200, 240, 61, 0.28), rgba(200, 240, 61, 0.08) 55%, transparent 72%);
  transform: translate(-50%, -50%) scale(0.2);
  animation: rippleOut 650ms ease-out forwards;
  pointer-events: none;
  z-index: 0;
}

@keyframes rippleOut {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.2);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

.progress-label,
.style-card,
.state-card,
.toggle-btn,
.grip-btn,
.zodiac-btn,
.other-item,
.btn-secondary,
.remeasure-btn {
  position: relative;
  overflow: hidden;
}

.hero-summary-copy,
.submit-outcome-copy,
.result-section-copy,
.decision-card-note,
.spec-note,
.other-desc,
.other-compare-note {
  color: rgba(29, 37, 27, 0.74);
}

.hero-microfact,
.submit-rail span,
.result-status-pill,
.rank-badge,
.other-rank {
  background: rgba(255, 255, 255, 0.92);
}

.stat-input,
.age-select,
.result-description,
.result-meaning-bridge,
.reason-item,
.string-report,
.other-item,
.result-report-field,
.disclosure-block,
.zodiac-insight,
.zodiac-player-tag,
.zodiac-pro-card {
  border-color: rgba(73, 84, 53, 0.12);
}

.result-description,
.result-meaning-bridge,
.string-report,
.reason-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 234, 0.95)),
    rgba(255, 255, 255, 0.9);
}

.result-section-heading,
.string-report-kicker,
.decision-card-label,
.spec-label {
  color: #5d731a;
}

@media (max-width: 920px) {
  body.single-step-flow .section-intro {
    margin-bottom: 10px;
  }

  body.single-step-flow .progress-section {
    margin-bottom: 12px;
  }

  body.single-step-flow .flow-stage-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    padding: 16px 16px 14px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 234, 0.94)),
      rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
  }

  body.single-step-flow .flow-stage-meta {
    display: grid;
    gap: 6px;
    min-width: 0;
  }

  body.single-step-flow .flow-stage-kicker,
  body.single-step-flow .flow-nav-step {
    color: #738d1f;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  body.single-step-flow .flow-stage-title,
  body.single-step-flow .flow-nav-title {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.04em;
  }

  body.single-step-flow .flow-stage-copy {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
  }

  body.single-step-flow .flow-stage-pulse {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
    align-items: center;
  }

  body.single-step-flow .flow-stage-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(73, 84, 53, 0.18);
    transition: transform 180ms ease, background 180ms ease, width 180ms ease;
  }

  body.single-step-flow .flow-stage-dot.active {
    width: 24px;
    background: linear-gradient(90deg, #b7df24, #d9f25b);
  }

  body.single-step-flow .flow-stage-dot.done {
    background: rgba(115, 141, 31, 0.46);
  }

  body.single-step-flow .bento-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 88px;
  }

  body.single-step-flow .bento-card[data-step] {
    animation: flowCardIn 260ms ease;
  }

  body.single-step-flow .submit-card {
    display: none !important;
  }

  body.single-step-flow .flow-nav-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 60;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
    border: 1px solid rgba(73, 84, 53, 0.14);
    background: rgba(255, 251, 244, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 28px rgba(157, 140, 108, 0.18);
  }

  body.single-step-flow .flow-nav-summary {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 0 4px;
  }

  body.single-step-flow .flow-nav-btn {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(73, 84, 53, 0.14);
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  }

  body.single-step-flow .flow-nav-btn:disabled {
    opacity: 0.42;
  }

  body.single-step-flow .flow-nav-btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
  }

  body.single-step-flow .flow-nav-btn-primary {
    color: #223108;
    background: linear-gradient(180deg, #efff9f 0%, #c8f03d 100%);
    box-shadow:
      0 10px 18px rgba(200, 240, 61, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
}

@media (max-width: 640px) {
  body.single-step-flow .flow-stage-panel {
    padding: 14px;
    border-radius: 18px;
  }

  body.single-step-flow .flow-stage-title,
  body.single-step-flow .flow-nav-title {
    font-size: 18px;
  }

  body.single-step-flow .flow-stage-copy {
    font-size: 12px;
  }

  body.single-step-flow .flow-nav-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    grid-template-columns: 84px 1fr 108px;
    padding: 8px;
    border-radius: 18px;
  }

  body.single-step-flow .flow-nav-btn {
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 14px;
  }

  body.single-step-flow .bento-grid {
    margin-bottom: 84px;
  }

  body.single-step-flow .bento-card[data-step] .card-content {
    padding-bottom: 18px;
  }
}

@keyframes flowCardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:root {
  --bg: #f6f2e9;
  --bg-soft: #ece5d8;
  --bg-elevated: rgba(255, 253, 248, 0.96);
  --panel: rgba(255, 252, 247, 0.94);
  --panel-strong: rgba(255, 255, 252, 0.99);
  --panel-muted: rgba(80, 89, 63, 0.07);
  --line: rgba(66, 76, 45, 0.18);
  --line-strong: rgba(66, 76, 45, 0.3);
  --text: #1b2216;
  --text-secondary: rgba(27, 34, 22, 0.82);
  --text-muted: rgba(27, 34, 22, 0.62);
  --accent: #c5ed39;
  --accent-soft: rgba(197, 237, 57, 0.18);
  --accent-line: rgba(122, 146, 25, 0.32);
  --cool: #5d6d4c;
  --cool-soft: rgba(93, 109, 76, 0.12);
  --shadow: 0 28px 68px rgba(143, 128, 96, 0.14);
  --shadow-soft: 0 16px 34px rgba(143, 128, 96, 0.1);
}

body {
  background:
    radial-gradient(circle at 8% 2%, rgba(197, 237, 57, 0.18), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(214, 220, 203, 0.56), transparent 20%),
    linear-gradient(180deg, #fbf8f2 0%, #f3eee3 42%, #ece5d8 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(83, 94, 61, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 94, 61, 0.042) 1px, transparent 1px);
  opacity: 0.26;
}

body::after {
  background: linear-gradient(150deg, transparent 0%, rgba(255, 255, 255, 0.38) 46%, transparent 100%);
  opacity: 0.4;
}

.grid-pattern {
  opacity: 0.18;
}

.header-content,
.progress-section,
.bento-card,
.modal-content,
.loading-container {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 242, 234, 0.95)),
    var(--panel);
  border-color: rgba(66, 76, 45, 0.12);
  box-shadow: var(--shadow);
}

.hero-copy-block,
.hero-summary,
.hero-note,
.hero-summary-surface,
.progress-label,
.style-card,
.state-card,
.toggle-btn,
.grip-btn,
.zodiac-btn,
.stat-input-wrap,
.result-report-field,
.submit-outcome,
.result-copy-panel,
.result-visual-panel,
.result-meaning-block,
.result-support-card,
.other-recommendations,
.result-disclosure,
.disclosure-block,
.reason-item,
.string-report,
.other-item,
.result-image,
.result-description,
.result-meaning-bridge,
.zodiac-insight,
.zodiac-player-tag,
.zodiac-pro-card,
.measure-item,
.hand-measure-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 240, 232, 0.94)),
    rgba(255, 255, 255, 0.92);
  border-color: rgba(66, 76, 45, 0.12);
  box-shadow: 0 10px 24px rgba(143, 128, 96, 0.08);
}

.hero-copy-block::before,
.hero-summary::before,
.result-copy-panel::before,
.result-visual-panel::before,
.result-meaning-block::before,
.result-support-card::before,
.other-recommendations::before,
.modal-content::before {
  opacity: 0.72;
}

.hero-utility-copy,
.hero-support,
.header-desc,
.section-copy,
.progress-copy,
.hero-summary-copy,
.submit-outcome-copy,
.result-section-copy,
.decision-card-note,
.spec-note,
.other-desc,
.other-compare-note,
.other-intro,
.disclaimer,
.field-helper,
.age-guidance,
.zodiac-bridge,
.zodiac-fit-summary,
.zodiac-playstyle-desc,
.zodiac-playstyle-inner p,
.loading-subtext {
  color: var(--text-secondary);
}

.hero-summary-headline,
.section-title,
.submit-title,
.result-name,
.other-title {
  color: var(--text);
}

.hero-note-label,
.hero-utility-copy,
.progress-copy,
.hero-summary-copy,
.other-angle,
.result-report-code,
.result-report-field-label,
.result-disclosure-summary span:last-child {
  color: var(--text-muted);
}

.hero-microfact,
.submit-rail span,
.result-status-pill,
.rank-badge,
.other-rank,
.affinity-chip {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(66, 76, 45, 0.12);
  color: var(--text-secondary);
}

.hero-summary-index,
.card-icon,
.card-icon.small,
.style-icon,
.state-icon,
.spec-icon,
.progress-step-badge,
.zodiac-match-icon,
.zodiac-icon-lg,
.zodiac-pro-flag,
.reason-check,
.loading-lab {
  color: #67840e;
  border-color: rgba(122, 146, 25, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 240, 230, 0.94)),
    rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.hero-start-link,
.btn-primary,
body.single-step-flow .flow-nav-btn-primary {
  color: #1d290b;
  background: linear-gradient(180deg, #efff9f 0%, #c5ed39 100%);
  border-color: rgba(122, 146, 25, 0.28);
  box-shadow:
    0 12px 24px rgba(197, 237, 57, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.progress-label,
.style-card,
.state-card,
.toggle-btn,
.grip-btn,
.zodiac-btn,
.other-item,
.btn-secondary,
.remeasure-btn,
body.single-step-flow .flow-nav-btn-secondary {
  border-color: rgba(66, 76, 45, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.progress-label.active,
.progress-label.done,
.style-card.active,
.state-card.active,
.toggle-btn.active,
.grip-btn.active,
.zodiac-btn.active {
  border-color: rgba(122, 146, 25, 0.28);
  background:
    linear-gradient(180deg, rgba(197, 237, 57, 0.18), rgba(197, 237, 57, 0.08)),
    rgba(255, 255, 255, 0.98);
  box-shadow:
    0 8px 20px rgba(197, 237, 57, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.style-card.active .style-name,
.state-card.active .state-name,
.toggle-btn.active .toggle-title,
.grip-btn.active,
.zodiac-btn.active span,
.progress-label.active .progress-step-text {
  color: #1d290b;
}

.stat-input,
.age-select {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.stat-input::placeholder {
  color: rgba(27, 34, 22, 0.4);
}

.stat-input:focus,
.age-select:focus {
  box-shadow:
    0 0 0 1px rgba(122, 146, 25, 0.42),
    0 0 0 6px rgba(197, 237, 57, 0.12);
}

.result-overview {
  gap: 18px;
}

.result-copy-panel,
.result-visual-panel,
.result-meaning-block,
.result-support-card,
.other-recommendations,
.result-disclosure {
  border-radius: 30px;
}

.result-copy-panel,
.result-support-card,
.other-recommendations,
.result-disclosure {
  border-top: 1px solid rgba(122, 146, 25, 0.18);
}

.result-report-bar {
  border-bottom-color: rgba(66, 76, 45, 0.1);
}

.result-report-field {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 230, 0.92)),
    rgba(255, 255, 255, 0.96);
}

.result-status-pill,
.rank-badge,
.other-rank,
.result-section-heading {
  letter-spacing: 0.12em;
}

.result-section-heading,
.string-report-kicker,
.decision-card-label,
.spec-label {
  color: #5d731a;
}

.result-advice-note,
.spec-value,
.other-score,
.match-score,
.match-percent {
  color: #202a12;
}

.result-hero,
.result-image,
.other-img-wrap {
  background:
    radial-gradient(circle at 50% 10%, rgba(197, 237, 57, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 238, 229, 0.93));
  border-color: rgba(66, 76, 45, 0.12);
}

.result-image::after {
  border-color: rgba(66, 76, 45, 0.08);
}

.other-item {
  position: relative;
  overflow: hidden;
}

.other-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(197, 237, 57, 0.84), rgba(197, 237, 57, 0));
  opacity: 0.85;
}

.result-disclosure-summary,
.disclosure-summary {
  color: var(--text);
}

.modal-overlay {
  background: rgba(244, 240, 231, 0.56);
  backdrop-filter: blur(12px);
}

@media (hover: hover) {
  .progress-label:hover,
  .style-card:hover,
  .state-card:hover,
  .toggle-btn:hover,
  .grip-btn:hover,
  .zodiac-btn:hover,
  .other-item:hover,
  .result-support-card:hover,
  .submit-outcome:hover,
  .result-disclosure:hover,
  .disclosure-block:hover {
    transform: translateY(-3px);
    border-color: rgba(122, 146, 25, 0.22);
    box-shadow: 0 16px 28px rgba(143, 128, 96, 0.12);
  }

.result-image:hover img,
.other-item:hover .other-img {
  transform: translateY(-2px);
}
}

.result-image img,
.other-img {
  transition: transform 240ms ease;
}

@media (max-width: 920px) {
  .header {
    padding: 14px 0 14px;
  }

  .header-content {
    gap: 16px;
    padding: 18px;
    border-radius: 30px;
  }

  .hero-utility {
    gap: 10px;
    padding-bottom: 12px;
  }

  .hero-utility-copy {
    font-size: 12px;
    line-height: 1.55;
  }

  .brand-row {
    gap: 12px;
  }

  .logo-badge {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .brand-copy {
    gap: 4px;
  }

  .logo-subtitle {
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-grid {
    gap: 12px;
  }

  .hero-copy-block,
  .hero-summary {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-copy-block {
    gap: 18px;
  }

  .hero-slogan {
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-intent {
    font-size: 38px;
    max-width: 8.5ch;
  }

  .hero-support,
  .header-desc {
    font-size: 13px;
    line-height: 1.65;
  }

  .hero-notes {
    display: none;
  }

  .hero-start-link {
    width: 100%;
    justify-content: space-between;
    min-height: 62px;
    border-radius: 24px;
  }

  .hero-summary {
    gap: 8px;
  }

  .hero-summary-lead {
    gap: 6px;
    margin-bottom: 2px;
  }

  .hero-summary-headline {
    font-size: 20px;
    line-height: 1.18;
  }

  .hero-summary-item {
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(66, 76, 45, 0.1);
  }

  .hero-summary-copy {
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-summary-surface {
    padding: 12px;
    gap: 10px;
    border-radius: 20px;
  }

  .hero-surface-row {
    gap: 10px;
    padding: 10px 0;
  }

  .section-intro {
    margin-bottom: 10px;
    padding: 0 4px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.12;
  }

  .section-copy {
    font-size: 13px;
    line-height: 1.6;
  }

  .progress-section {
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
    box-shadow: 0 12px 26px rgba(143, 128, 96, 0.1);
  }

  .progress-label {
    background: rgba(255, 255, 255, 0.96);
  }

  body.single-step-flow .flow-stage-panel {
    padding: 15px;
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 240, 232, 0.94)),
      rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(143, 128, 96, 0.1);
  }

  body.single-step-flow .flow-stage-copy {
    color: var(--text-secondary);
  }

  body.single-step-flow .flow-nav-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255, 252, 247, 0.98);
    border-color: rgba(66, 76, 45, 0.12);
    box-shadow: 0 14px 26px rgba(143, 128, 96, 0.14);
  }

  body.single-step-flow .flow-nav-summary {
    padding: 0 2px;
  }

  body.single-step-flow .flow-nav-title {
    font-size: 16px;
    line-height: 1.1;
  }

  .card-content,
  .submit-content {
    padding: 18px;
  }

  .style-card,
  .state-card,
  .toggle-btn {
    padding: 16px;
  }

  .style-desc,
  .state-desc,
  .toggle-desc,
  .spec-note,
  .decision-card-note {
    font-size: 12px;
    line-height: 1.6;
  }

  .stat-input,
  .age-select {
    min-height: 52px;
    padding: 0 16px;
  }

  .modal-content {
    width: calc(100% - 12px);
    max-height: calc(100vh - 12px);
    margin: 6px auto;
    padding: 16px;
    border-radius: 28px;
  }

  .result-overview,
  .result-decision-strip,
  .result-specs,
  .result-support-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .result-copy-panel,
  .result-visual-panel,
  .result-meaning-block,
  .result-support-card,
  .other-recommendations,
  .result-disclosure {
    padding: 18px;
    border-radius: 24px;
  }

  .result-name {
    font-size: 32px;
    max-width: none;
  }

  .result-report-grid {
    gap: 10px;
  }

  .result-report-field {
    padding: 14px;
    border-radius: 18px;
  }

  .result-hero {
    min-height: 0;
    gap: 14px;
    border-radius: 22px;
  }

  .match-badge {
    width: 110px;
    height: 110px;
  }

  .match-score {
    font-size: 34px;
  }

  .match-percent {
    margin-top: 44px;
  }

  .result-image {
    min-height: 260px;
    padding: 24px;
    border-radius: 24px;
  }

  .result-image img {
    max-height: 220px;
  }

  .decision-card,
  .spec-item {
    padding: 18px;
    border-radius: 20px;
  }

  .other-list {
    gap: 12px;
  }

  .other-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 18px 18px 22px;
    border-radius: 22px;
  }

  .other-img-wrap {
    min-height: 132px;
    border-radius: 20px;
  }

  .other-name {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at top, rgba(197, 237, 57, 0.18), transparent 22%),
      linear-gradient(180deg, #fbf8f2 0%, #f0eadf 100%);
  }

  .header,
  .main {
    width: min(calc(100% - 12px), var(--content-width));
  }

  .header-content {
    padding: 16px;
    gap: 14px;
    border-radius: 26px;
  }

  .hero-utility {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 10px;
  }

  .hero-utility-pill {
    padding: 8px 12px;
    font-size: 10px;
  }

  .brand-eyebrow {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .logo-text {
    font-size: 34px;
  }

  .hero-intent {
    font-size: 34px;
    max-width: 8ch;
  }

  .hero-microfacts {
    gap: 8px;
  }

  .hero-microfact {
    padding: 8px 10px;
    font-size: 11px;
  }

  .hero-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-summary-item {
    gap: 8px;
    padding: 10px;
  }

  .hero-summary-title {
    font-size: 12px;
    line-height: 1.45;
  }

  .hero-summary-copy {
    font-size: 10px;
    line-height: 1.45;
  }

  .hero-summary-surface {
    grid-column: 1 / -1;
  }

  .section-title {
    font-size: 22px;
  }

  .progress-label {
    min-width: 124px;
    padding: 10px;
  }

  body.single-step-flow .flow-stage-panel {
    padding: 14px;
    border-radius: 18px;
  }

  body.single-step-flow .flow-nav-bar {
    grid-template-columns: 78px 1fr 102px;
    padding: 8px;
    border-radius: 18px;
  }

  body.single-step-flow .flow-nav-btn {
    min-height: 42px;
    padding: 0 10px;
    border-radius: 14px;
  }

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

  .toggle-group,
  .style-grid,
  .style-grid-refined {
    grid-template-columns: 1fr;
  }

  .result-copy-panel,
  .result-visual-panel,
  .result-meaning-block,
  .result-support-card,
  .other-recommendations,
  .result-disclosure {
    padding: 16px;
    border-radius: 22px;
  }

  .result-name {
    font-size: 28px;
    line-height: 0.96;
  }

  .result-section-heading {
    font-size: 10px;
  }

  .other-item {
    padding: 16px 16px 16px 20px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.single-step-flow .flow-stage-panel,
  body.single-step-flow .flow-nav-bar {
    animation: surfaceRise 320ms ease both;
  }

  .modal.report-ready .result-block {
    animation: reportRise 420ms ease both;
  }

  .modal.report-ready .result-block:nth-of-type(2) {
    animation-delay: 50ms;
  }

  .modal.report-ready .result-block:nth-of-type(3) {
    animation-delay: 100ms;
  }

  .modal.report-ready .result-block:nth-of-type(4) {
    animation-delay: 150ms;
  }

  .modal.report-ready .result-quickfact,
  .modal.report-ready .result-support-card,
  .modal.report-ready .other-item,
  .modal.report-ready .result-disclosure,
  .modal.report-ready .modal-actions,
  .modal.report-ready .reason-item,
  .modal.report-ready .spec-item,
  .modal.report-ready .string-report-row {
    animation: reportCascade 480ms cubic-bezier(.22,.7,.2,1) both;
  }

  .modal.report-ready .result-quickfact:nth-child(1) {
    animation-delay: 110ms;
  }

  .modal.report-ready .result-quickfact:nth-child(2) {
    animation-delay: 170ms;
  }

  .modal.report-ready .result-quickfact:nth-child(3) {
    animation-delay: 230ms;
  }

  .modal.report-ready .result-support-grid .result-support-card:nth-child(1) {
    animation-delay: 190ms;
  }

  .modal.report-ready .result-support-grid .result-support-card:nth-child(2) {
    animation-delay: 270ms;
  }

  .modal.report-ready .result-support-grid .result-support-card:nth-child(3) {
    animation-delay: 350ms;
  }

  .modal.report-ready .result-support-grid .reason-item:nth-child(1),
  .modal.report-ready .result-support-grid .spec-item:nth-child(1),
  .modal.report-ready .result-support-grid .string-report-row:nth-child(1) {
    animation-delay: 250ms;
  }

  .modal.report-ready .result-support-grid .reason-item:nth-child(2),
  .modal.report-ready .result-support-grid .spec-item:nth-child(2),
  .modal.report-ready .result-support-grid .string-report-row:nth-child(2) {
    animation-delay: 310ms;
  }

  .modal.report-ready .result-support-grid .reason-item:nth-child(3),
  .modal.report-ready .result-support-grid .spec-item:nth-child(3),
  .modal.report-ready .result-support-grid .string-report-row:nth-child(3) {
    animation-delay: 370ms;
  }

  .modal.report-ready .result-support-grid .reason-item:nth-child(4),
  .modal.report-ready .result-support-grid .spec-item:nth-child(4),
  .modal.report-ready .result-support-grid .string-report-row:nth-child(4) {
    animation-delay: 430ms;
  }

  .modal.report-ready .result-support-grid .spec-item:nth-child(5) {
    animation-delay: 490ms;
  }

  .modal.report-ready .result-support-grid .spec-item:nth-child(6) {
    animation-delay: 550ms;
  }

  .modal.report-ready .other-list .other-item:nth-child(1) {
    animation-delay: 410ms;
  }

  .modal.report-ready .other-list .other-item:nth-child(2) {
    animation-delay: 490ms;
  }

  .modal.report-ready .result-disclosure {
    animation-delay: 560ms;
  }

  .modal.report-ready .modal-actions {
    animation-delay: 620ms;
  }
}

@keyframes surfaceRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reportRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reportCascade {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.988);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

.modal-content {
  padding: 20px;
}

.result-block + .result-block {
  margin-top: 24px;
}

.result-overview {
  grid-template-columns: 1fr;
  gap: 0;
}

.result-hero-card {
  display: grid;
  gap: 22px;
}

.result-summary-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-summary-pill {
  flex: 1 1 220px;
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(66, 76, 45, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.result-headline-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.result-header {
  display: grid;
  gap: 6px;
}

.result-label {
  color: #70871b;
}

.result-name {
  max-width: none;
  font-size: clamp(34px, 4.4vw, 54px);
}

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

.result-pro-user,
.result-market-context {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.result-score-panel {
  display: grid;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  justify-items: center;
  gap: 5px;
  padding: 7px 8px 8px;
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid rgba(24, 32, 23, 0.06);
  box-shadow: 0 10px 24px rgba(109, 93, 57, 0.08);
  backdrop-filter: blur(10px);
}

.result-score-label {
  display: inline-block;
  padding: 0;
  color: #79826d;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-score-group {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.match-badge {
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
}

.result-score-panel .rank-badge {
  position: static;
  color: #1f290d;
  background: rgba(197, 237, 57, 0.18);
  border-color: rgba(122, 146, 25, 0.18);
}

.result-advice-note {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

.result-description {
  padding: 16px 18px;
  border-radius: 20px;
}

.result-quickfacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(24, 32, 23, 0.08);
}

.result-quickfact {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(66, 76, 45, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.result-quickfact .decision-card-value {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.result-quickfact .decision-card-note {
  font-size: 12px;
  line-height: 1.6;
}

.result-image-stage {
  position: relative;
  display: grid;
  gap: 10px;
}

.result-image {
  min-height: 320px;
  padding: 28px;
  border-radius: 26px;
}

.result-image img {
  max-height: 280px;
}

.result-status-row {
  display: none !important;
}

.result-support-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.95fr;
  gap: 18px;
  margin-top: 2px;
}

.result-support-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  box-shadow: none;
}

.result-section-heading {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  width: fit-content;
  padding-left: 14px;
  font-size: 11px;
  font-weight: 700;
}

.result-detail-title {
  margin-top: -2px;
  font-size: 26px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.result-section-copy {
  max-width: 34ch;
  margin-top: -6px;
  font-size: 13px;
  line-height: 1.72;
}

.result-support-specs .result-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.spec-item {
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  box-shadow: none;
}

.spec-value {
  font-size: 26px;
}

.spec-note {
  font-size: 12px;
  line-height: 1.6;
}

.result-reasons,
.pro-string-section {
  margin-top: 4px;
}

.reason-item {
  padding: 14px 16px;
  border-radius: 18px;
}

.reason-check {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.string-report {
  gap: 16px;
}

.string-report-row {
  grid-template-columns: 114px 1fr;
  gap: 14px;
  padding: 12px 0;
}

.string-report-primary,
.string-report-combo-value,
.string-report-reference {
  font-size: 16px;
}

.other-recommendations,
.result-disclosure,
.modal-actions {
  padding: 18px 20px;
}

.other-item {
  grid-template-columns: 64px 116px 1fr auto;
  gap: 14px;
  padding: 18px;
}

.other-img-wrap {
  min-height: 124px;
  border-radius: 20px;
}

.other-img {
  max-height: 108px;
}

.other-name {
  font-size: 22px;
}

.result-disclosure-summary {
  min-height: 0;
  padding: 0;
}

.result-disclosure-summary span:last-child {
  font-size: 13px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 920px) {
  .modal-content {
    padding: 16px;
  }

  .result-hero-card {
    gap: 16px;
  }

  .result-summary-rail {
    gap: 8px;
  }

  .result-summary-pill {
    flex: 1 1 calc(50% - 4px);
    padding: 12px 14px;
    border-radius: 16px;
  }

  .result-headline-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .result-score-panel {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    gap: 4px;
    padding: 6px 7px 7px;
  }

  .result-score-group {
    gap: 6px;
    padding: 0;
  }

  .match-badge {
    width: 108px;
    height: 108px;
  }

  .match-score {
    font-size: 34px;
  }

  .match-percent {
    margin-top: 44px;
  }

  .result-advice-note {
    font-size: 17px;
  }

  .result-description {
    padding: 14px 16px;
  }

  .result-quickfacts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .result-quickfact {
    padding: 14px;
    border-radius: 16px;
  }

  .result-image {
    min-height: 274px;
    padding: 20px 20px 18px;
    border-radius: 22px;
  }

  .result-image img {
    max-height: 230px;
  }

  .result-support-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .result-support-card {
    padding: 18px;
    border-radius: 20px;
  }

  .result-detail-title {
    font-size: 22px;
  }

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

  .other-recommendations,
  .result-disclosure,
  .modal-actions {
    padding: 16px;
    border-radius: 20px;
  }

  .other-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .other-rank {
    order: -2;
  }

  .other-score {
    order: -1;
    justify-self: start;
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .result-overview,
  .result-support-grid,
  .other-recommendations,
  .result-disclosure,
  .modal-actions {
    box-shadow: none;
  }

  .result-summary-pill {
    flex-basis: 100%;
  }

  .result-name {
    font-size: 28px;
    line-height: 0.96;
  }

  .result-brand {
    font-size: 16px;
  }

  .result-advice-note {
    font-size: 16px;
  }

  .result-description,
  .result-quickfact,
  .spec-item {
    padding: 14px;
  }

  .result-image {
    min-height: 240px;
    padding: 18px;
  }

  .result-image img {
    max-height: 198px;
  }

  .result-support-specs .result-specs {
    grid-template-columns: 1fr 1fr;
  }

  .spec-value {
    font-size: 24px;
  }

  .string-report-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.logo-badge {
  border-radius: 22px;
  border: 1px solid rgba(34, 42, 53, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 240, 230, 0.9)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(121, 109, 81, 0.08);
}

.logo-mark {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 12px rgba(25, 34, 43, 0.08));
}

.hero-utility {
  border-bottom-color: rgba(34, 42, 53, 0.08);
}

.hero-utility-copy,
.hero-support,
.header-desc,
.hero-summary-copy,
.other-desc,
.result-market-context,
.result-advice-note {
  color: #586170;
}

.hero-summary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 243, 234, 0.92)),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(34, 42, 53, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.hero-summary-title,
.hero-summary-headline,
.result-section-heading,
.other-angle {
  color: #141b24;
}

.hero-summary-item {
  border-color: rgba(34, 42, 53, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.result-hero-card {
  gap: 14px;
}

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

.result-summary-pill,
.result-quickfact,
.spec-item,
.reason-item,
.string-report,
.other-item {
  border-color: rgba(34, 42, 53, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.result-headline-row {
  gap: 22px;
}

.result-score-panel {
  align-self: stretch;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(34, 42, 53, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.result-description {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.result-quickfacts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.result-support-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 14px;
  align-items: start;
}

.result-support-primary {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.result-support-specs {
  grid-column: 2;
  grid-row: 1;
}

.result-support-secondary {
  grid-column: 2;
  grid-row: 2;
}

.result-support-card,
.other-recommendations,
.result-disclosure,
.modal-actions {
  border-radius: 22px;
  border: 1px solid rgba(34, 42, 53, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.result-section-heading {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.result-detail-title {
  margin-bottom: 8px;
}

.reason-item {
  align-items: start;
}

.reason-check {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(182, 217, 29, 0.12);
  color: #627313;
}

.other-item {
  grid-template-columns: 60px 104px 1fr auto;
  gap: 12px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.other-item:hover {
  border-color: rgba(116, 134, 27, 0.22);
  box-shadow: 0 12px 28px rgba(56, 67, 23, 0.08);
}

.other-name {
  font-size: 20px;
  line-height: 1.06;
}

.other-brand {
  color: #707887;
}

.result-disclosure-summary span:last-child {
  color: #707887;
}

@media (max-width: 920px) {
  .result-score-panel {
    padding: 12px 14px;
    justify-items: start;
    grid-auto-flow: column;
    justify-content: space-between;
  }

  .result-summary-rail,
  .result-support-grid {
    grid-template-columns: 1fr;
  }

  .result-support-primary,
  .result-support-specs,
  .result-support-secondary {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .logo-badge {
    border-radius: 18px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .hero-summary {
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero-summary-item,
  .result-summary-pill,
  .result-quickfact,
  .spec-item,
  .reason-item,
  .other-item {
    background: rgba(255, 255, 255, 0.94);
  }

  .result-score-panel {
    border-radius: 20px;
  }
}

.result-headline-row {
  gap: 16px;
  align-items: stretch;
}

.result-score-panel {
  gap: 8px;
  padding: 12px;
  border-radius: 20px;
}

.match-badge {
  width: 112px;
  height: 112px;
}

.match-score {
  font-size: 32px;
}

.match-percent {
  margin-top: 39px;
}

.result-summary-pill {
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
}

.result-advice-note {
  font-size: 16px;
  line-height: 1.55;
}

.result-description {
  font-size: 14px;
  line-height: 1.7;
}

.result-quickfact {
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
}

.result-quickfact .decision-card-value {
  font-size: 17px;
  line-height: 1.3;
}

.result-quickfact .decision-card-note {
  font-size: 11px;
  line-height: 1.55;
}

.reason-item {
  gap: 12px;
  padding: 12px 14px;
}

.reason-check {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 11px;
}

.result-image {
  min-height: 356px;
  padding: 20px 20px 16px;
  border-radius: 24px;
}

.result-image::after {
  inset: 16px;
  border-radius: 20px;
}

.result-image img {
  width: auto;
  height: auto;
  max-width: min(100%, 280px);
  max-height: min(54vh, 340px);
  object-fit: contain;
  object-position: center center;
}

.other-item {
  align-items: center;
  grid-template-columns: 56px 112px 1fr auto;
  gap: 12px;
  padding: 16px;
}

.other-img-wrap {
  min-height: 138px;
  padding: 10px;
  border-radius: 18px;
}

.other-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 132px;
  object-fit: contain;
  object-position: center center;
}

.modal-actions {
  padding-top: 12px;
}

.modal-actions .btn-secondary {
  min-height: 44px;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14px;
}

.modal-actions .btn-secondary svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 920px) {
  .result-score-panel {
    padding: 10px 12px;
  }

  .match-badge {
    width: 98px;
    height: 98px;
  }

  .match-score {
    font-size: 28px;
  }

  .match-percent {
    margin-top: 33px;
  }

  .result-image {
    min-height: 312px;
    padding: 18px 18px 14px;
  }

  .result-image img {
    max-width: min(100%, 250px);
    max-height: min(48vh, 300px);
  }
}

@media (max-width: 640px) {
  .result-headline-row {
    gap: 12px;
  }

  .result-score-panel {
    padding: 10px 12px;
  }

  .match-badge {
    width: 88px;
    height: 88px;
  }

  .match-score {
    font-size: 25px;
  }

  .match-percent {
    margin-top: 28px;
    font-size: 11px;
  }

  .result-summary-pill {
    padding: 11px 12px;
  }

  .result-image {
    min-height: 270px;
    padding: 14px 14px 10px;
  }

  .result-image::after {
    inset: 12px;
    border-radius: 18px;
  }

  .result-image img {
    max-width: min(100%, 210px);
    max-height: min(38vh, 238px);
  }

  .other-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .other-img-wrap {
    min-height: 126px;
  }

  .other-img {
    max-height: 118px;
  }

  .modal-actions .btn-secondary {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }
}

@media (max-width: 920px) {
  .header,
  .main {
    width: min(calc(100% - 10px), var(--content-width));
  }

  .header {
    padding: 8px 0 10px;
  }

  .header-content {
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(157, 140, 108, 0.12);
  }

  .hero-utility {
    display: none;
  }

  .brand-row {
    gap: 12px;
    align-items: center;
  }

  .brand-eyebrow {
    display: none;
  }

  .logo-badge {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .brand-copy {
    gap: 3px;
  }

  .logo-text {
    font-size: 30px;
    letter-spacing: -0.06em;
  }

  .logo-subtitle {
    font-size: 12px;
    line-height: 1.5;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-copy-block,
  .hero-summary {
    padding: 16px;
    border-radius: 20px;
    min-height: auto;
  }

  .hero-copy-block {
    gap: 12px;
  }

  .hero-summary {
    display: none;
  }

  .hero-slogan {
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-intent {
    max-width: 7.2ch;
    font-size: 30px;
    line-height: 0.98;
    letter-spacing: -0.05em;
  }

  .hero-support,
  .header-desc {
    font-size: 13px;
    line-height: 1.65;
  }

  .hero-notes,
  .hero-summary-surface {
    display: none;
  }

  .hero-summary {
    gap: 8px;
  }

  .hero-summary-lead {
    padding-bottom: 8px;
    border-bottom: 0;
  }

  .hero-summary-headline {
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-summary-item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .hero-summary-index {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 14px;
  }

  .hero-summary-title {
    font-size: 14px;
  }

  .hero-summary-copy {
    font-size: 12px;
    line-height: 1.55;
  }

  .hero-start-link {
    min-height: 50px;
    width: 100%;
  }

  .section-intro {
    display: none;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.06;
  }

  .section-copy {
    font-size: 12px;
    line-height: 1.55;
  }

  .progress-section {
    position: static;
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(157, 140, 108, 0.08);
  }

  .progress-head {
    align-items: start;
  }

  .progress-copy {
    display: none;
  }

  .progress-labels {
    display: grid;
    grid-template-columns: repeat(4, minmax(72px, 1fr));
    gap: 8px;
  }

  .progress-label {
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }

  .progress-step-badge {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 10px;
  }

  .progress-step-kicker {
    display: none;
  }

  .progress-step-text {
    font-size: 12px;
    line-height: 1.35;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento-card {
    border-radius: 22px;
  }

  .card-content,
  .submit-content {
    gap: 16px;
    padding: 18px 16px;
  }

  .card-header {
    gap: 12px;
  }

  .card-title {
    font-size: 22px;
  }

  .card-intro {
    font-size: 13px;
    line-height: 1.6;
  }

  .style-grid,
  .style-grid-refined,
  .toggle-group {
    grid-template-columns: 1fr;
  }

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

  .style-card,
  .state-card,
  .toggle-btn {
    padding: 14px;
    border-radius: 18px;
  }

  body.single-step-flow .progress-section {
    display: none;
  }

  body.single-step-flow .flow-stage-panel {
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  body.single-step-flow .flow-stage-title,
  body.single-step-flow .flow-nav-title {
    font-size: 17px;
  }

  body.single-step-flow .flow-nav-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px;
    gap: 8px;
    border-radius: 18px;
    grid-template-columns: 84px 1fr 104px;
  }

  body.single-step-flow .flow-nav-btn {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 13px;
  }

  .modal {
    align-items: stretch;
  }

  .modal-overlay {
    background: rgba(244, 240, 231, 0.62);
    backdrop-filter: blur(10px);
  }

  .modal-content {
    width: 100%;
    max-height: 100svh;
    min-height: 100svh;
    margin: 0;
    padding: 12px 12px calc(18px + env(safe-area-inset-bottom));
    border-radius: 0;
    box-shadow: none;
  }

  .modal-close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .result-block + .result-block {
    margin-top: 12px;
  }

  .result-support-card,
  .other-recommendations,
  .result-disclosure,
  .modal-actions {
    padding: 14px;
    border-radius: 18px;
  }

.modal-actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    background:
      linear-gradient(180deg, rgba(255, 252, 247, 0.9), rgba(255, 252, 247, 0.98)),
      rgba(255, 252, 247, 0.98);
    backdrop-filter: blur(12px);
  }

  .modal-actions .btn-secondary {
    width: 100%;
  }

  .result-hero-card {
    gap: 10px;
  }

  .result-summary-rail {
    order: 1;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .result-headline-row {
    order: 2;
  }

  .result-image-stage {
    order: 3;
  }

  .result-advice-note {
    order: 4;
  }

  .result-description {
    order: 5;
  }

  .result-quickfacts {
    order: 6;
  }

  .result-image {
    min-height: 250px;
    padding: 16px 16px 12px;
  }

  .result-image img {
    max-width: min(100%, 220px);
    max-height: min(34vh, 240px);
  }

  .result-summary-pill {
    align-content: start;
    min-height: 68px;
  }
}

.step-support-cluster {
  display: grid;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(24, 32, 23, 0.08);
}

.inline-support-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(24, 32, 23, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 243, 235, 0.88));
}

.inline-support-head {
  display: grid;
  gap: 3px;
}

.inline-support-kicker {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  color: #1d241e;
}

.inline-support-copy {
  font-size: 12px;
  line-height: 1.55;
  color: #757d71;
}

.disclosure-inline {
  margin-top: 0;
}

@media (max-width: 920px) {
  body.single-step-flow .step-support-cluster {
    gap: 10px;
    padding-top: 10px;
  }

  body.single-step-flow .inline-support-card {
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    border-color: rgba(34, 42, 53, 0.07);
    background: rgba(255, 255, 255, 0.84);
  }

  body.single-step-flow .inline-support-kicker {
    font-size: 14px;
  }

  body.single-step-flow .inline-support-copy {
    font-size: 11px;
    line-height: 1.5;
  }

  body.single-step-flow .body-support-cluster .toggle-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  body.single-step-flow .body-support-cluster .toggle-btn {
    min-height: 104px;
    align-content: start;
  }
}

@media (max-width: 640px) {
  body.single-step-flow .step-support-cluster {
    gap: 8px;
    padding-top: 8px;
  }

  body.single-step-flow .inline-support-card {
    padding: 10px;
    border-radius: 14px;
  }

  body.single-step-flow .inline-support-kicker {
    font-size: 13px;
  }

  body.single-step-flow .inline-support-copy {
    font-size: 10px;
  }

  body.single-step-flow .body-support-cluster .toggle-btn {
    min-height: 96px;
  }
}

@media (max-width: 640px) {
  .header,
  .main {
    width: calc(100% - 8px);
  }

  .header-content {
    padding: 14px;
    border-radius: 20px;
  }

  .logo-text {
    font-size: 28px;
  }

  .logo-subtitle {
    font-size: 11px;
  }

  .hero-copy-block,
  .hero-summary {
    padding: 14px;
    border-radius: 18px;
  }

  .hero-intent {
    font-size: 28px;
  }

  .hero-microfacts {
    gap: 5px;
  }

  .hero-microfact {
    padding: 6px 8px;
    font-size: 10px;
  }

  .hero-support,
  .header-desc {
    font-size: 12px;
    line-height: 1.6;
  }

  .section-title {
    font-size: 22px;
  }

  .progress-section {
    padding: 10px;
    border-radius: 18px;
  }

  .progress-labels {
    grid-template-columns: repeat(4, minmax(64px, 1fr));
    gap: 6px;
  }

  .progress-label {
    padding: 8px;
    gap: 6px;
    border-radius: 14px;
  }

  .progress-step-badge {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .progress-step-text {
    font-size: 11px;
  }

  .bento-card {
    border-radius: 20px;
  }

  .card-content,
  .submit-content {
    padding: 16px 14px;
    gap: 14px;
  }

  .card-title {
    font-size: 20px;
  }

  .style-card,
  .state-card,
  .toggle-btn {
    padding: 12px;
    border-radius: 16px;
  }

  .state-grid {
    gap: 8px;
  }

  body.single-step-flow .flow-stage-panel {
    padding: 11px 12px;
  }

  body.single-step-flow .flow-nav-bar {
    grid-template-columns: 74px 1fr 96px;
    padding: 7px;
    border-radius: 16px;
  }

  body.single-step-flow .flow-nav-btn {
    min-height: 42px;
    padding: 0 10px;
    font-size: 12px;
  }

  .modal-content {
    padding: 10px 10px calc(16px + env(safe-area-inset-bottom));
  }

  .modal-close {
    width: 36px;
    height: 36px;
  }

  .result-support-card,
  .other-recommendations,
  .result-disclosure,
  .modal-actions {
    padding: 12px;
    border-radius: 16px;
  }

  .result-summary-rail {
    grid-template-columns: 1fr;
  }

  .result-summary-pill {
    min-height: 0;
    padding: 10px 12px;
    gap: 4px;
  }

  .result-image {
    min-height: 224px;
    padding: 14px 14px 10px;
  }

  .result-image img {
    max-width: min(100%, 188px);
    max-height: min(30vh, 210px);
  }
}

/* Final mobile-first cleanup */
.result-image,
.other-img-wrap {
  background:
    radial-gradient(circle at 50% 14%, rgba(201, 229, 76, 0.12), transparent 34%),
    radial-gradient(circle at 50% 92%, rgba(31, 40, 50, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 232, 0.94));
  border: 1px solid rgba(34, 42, 53, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 14px 30px rgba(115, 103, 79, 0.08);
  isolation: isolate;
}

.result-image::before,
.other-img-wrap::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 10%;
  height: 18%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(41, 52, 64, 0.16), transparent 72%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

.result-image img,
.other-img {
  position: relative;
  z-index: 1;
  transition: transform 220ms ease, filter 220ms ease;
}

.result-image img.transparent-source,
.other-img.transparent-source {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 18px 24px rgba(42, 50, 59, 0.2));
}

.result-image img.opaque-source,
.other-img.opaque-source {
  filter: drop-shadow(0 16px 20px rgba(42, 50, 59, 0.16));
}

@media (max-width: 920px) {
  .header-content {
    gap: 12px;
    padding: 14px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 240, 228, 0.94)),
      rgba(255, 255, 255, 0.94);
  }

  .hero-copy-block {
    gap: 10px;
    padding: 2px 0 0;
    align-content: start;
    justify-items: start;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero-topline {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(34, 42, 53, 0.06);
  }

  .hero-intent {
    max-width: 9.6ch;
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -0.06em;
  }

  .hero-support {
    max-width: none;
    font-size: 13px;
    line-height: 1.58;
  }

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

  .hero-microfact {
    justify-content: center;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 14px;
    border-color: rgba(34, 42, 53, 0.08);
    background: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
  }

  .hero-notes {
    display: none;
  }

  .hero-start-link {
    margin-top: 0;
    min-height: 46px;
    border-radius: 16px;
    font-size: 16px;
    box-shadow:
      0 10px 18px rgba(200, 240, 61, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .progress-section,
  body.single-step-flow .flow-stage-panel {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 237, 0.9)),
      rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(34, 42, 53, 0.07);
    box-shadow: 0 10px 24px rgba(115, 103, 79, 0.08);
  }

  .modal-content {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 242, 234, 0.98)),
      rgba(255, 255, 255, 0.98);
  }

  .result-overview {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .result-hero-card {
    gap: 12px;
  }

  .result-summary-rail {
    grid-template-columns: 1fr;
  }

  .result-summary-pill {
    min-height: 0;
    padding: 10px 12px;
    gap: 4px;
    border-radius: 14px;
  }

  .result-headline-row {
    gap: 10px;
  }

  .result-header {
    display: grid;
    gap: 4px;
  }

  .result-name {
    font-size: 30px;
    line-height: 0.98;
  }

  .result-brand,
  .result-market-context {
    font-size: 13px;
    line-height: 1.5;
  }

  .result-score-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .match-badge {
    width: 82px;
    height: 82px;
  }

  .match-score {
    font-size: 24px;
  }

  .match-percent {
    margin-top: 26px;
  }

  .rank-badge {
    position: static;
    margin-left: auto;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .result-image-stage {
    gap: 8px;
  }

  .result-image {
    min-height: 248px;
    padding: 14px 12px 10px;
    border-radius: 22px;
  }

  .result-image::after {
    inset: 12px;
    border-radius: 18px;
  }

  .result-image img {
    max-width: min(100%, 236px);
    max-height: min(36vh, 246px);
  }

  .result-advice-note {
    padding-left: 10px;
    border-left: 3px solid rgba(181, 214, 42, 0.9);
    font-size: 15px;
    line-height: 1.6;
  }

  .result-description {
    padding: 0;
    font-size: 14px;
    line-height: 1.72;
    color: #3d4652;
  }

  .result-quickfacts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .result-quickfact {
    padding: 13px 14px;
    border-radius: 16px;
    gap: 5px;
  }

  .result-support-grid {
    display: block;
    gap: 0;
  }

  .result-support-card,
  .other-recommendations,
  .result-disclosure {
    padding: 16px 0;
    border: 0;
    border-top: 1px solid rgba(34, 42, 53, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .result-support-card:first-child {
    padding-top: 6px;
    border-top: 0;
  }

  .result-section-heading {
    margin-bottom: 6px;
  }

  .result-section-copy {
    color: #586170;
    font-size: 13px;
    line-height: 1.6;
  }

  .reason-item,
  .spec-item,
  .other-item {
    box-shadow: none;
  }

  .other-item {
    grid-template-columns: 52px 88px 1fr auto;
    gap: 10px;
    padding: 14px 0;
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
  }

  .other-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .other-img-wrap {
    min-height: 120px;
    padding: 8px;
    border-radius: 16px;
  }

  .other-img {
    max-height: 116px;
  }

  .modal-actions {
    margin-top: 8px;
    padding: 12px 0 calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(34, 42, 53, 0.08);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(255, 252, 247, 0.98)),
      rgba(255, 252, 247, 0.96);
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .header-content {
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .hero-topline {
    padding-bottom: 2px;
  }

  .logo-text {
    font-size: 26px;
  }

  .hero-intent {
    max-width: 10.2ch;
    font-size: 24px;
  }

  .hero-support {
    font-size: 12px;
    line-height: 1.55;
  }

  .header-desc {
    display: block;
    font-size: 12px;
    line-height: 1.55;
    color: #586170;
  }

  .hero-microfacts {
    gap: 6px;
  }

  .hero-microfact {
    min-height: 34px;
    padding: 7px 8px;
    border-radius: 12px;
    font-size: 10px;
  }

  .hero-start-link {
    min-height: 44px;
    border-radius: 14px;
    font-size: 15px;
  }

  .progress-section {
    padding: 9px;
  }

  .progress-labels {
    gap: 5px;
  }

  .progress-label {
    padding: 8px 6px;
  }

  .result-name {
    font-size: 27px;
  }

  .result-score-panel {
    padding: 9px 10px;
  }

  .match-badge {
    width: 76px;
    height: 76px;
  }

  .match-score {
    font-size: 22px;
  }

  .match-percent {
    margin-top: 24px;
    font-size: 10px;
  }

  .result-image {
    min-height: 226px;
    padding: 12px 10px 8px;
  }

  .result-image img {
    max-width: min(100%, 212px);
    max-height: min(31vh, 220px);
  }

  .result-image img.transparent-source,
  .other-img.transparent-source {
    transform: translateY(-3px) scale(1.06);
  }

  .result-advice-note {
    font-size: 14px;
  }

  .other-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }

  .other-img-wrap {
    min-height: 114px;
  }

  .other-img {
    max-height: 108px;
  }
}

@media (max-width: 920px) {
  body.flow-immersed .header {
    padding: 6px 0 4px;
  }

  body.flow-immersed .header-content {
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  body.flow-immersed .hero-copy-block {
    gap: 8px;
  }

  body.flow-immersed .hero-slogan {
    font-size: 11px;
    line-height: 1.5;
  }

  body.flow-immersed .hero-intent {
    max-width: 8.4ch;
    font-size: 24px;
    line-height: 1;
  }

  body.flow-immersed .hero-support,
  body.flow-immersed .hero-microfacts,
  body.flow-immersed .hero-start-link {
    display: none;
  }

  body.single-step-flow .flow-stage-panel {
    gap: 10px;
    margin-bottom: 8px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  body.single-step-flow .flow-stage-meta {
    gap: 3px;
  }

  body.single-step-flow .flow-stage-kicker {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  body.single-step-flow .flow-stage-title {
    font-size: 16px;
    line-height: 1.08;
  }

  body.single-step-flow .flow-stage-copy {
    display: none;
  }

  body.single-step-flow .flow-stage-pulse {
    gap: 6px;
  }

  body.single-step-flow .flow-stage-dot {
    width: 7px;
    height: 7px;
  }

  body.single-step-flow .flow-stage-dot.active {
    width: 18px;
  }

  body.single-step-flow .bento-grid {
    gap: 10px;
    margin-bottom: 76px;
  }

  body.single-step-flow .optional-card .card-header,
  body.single-step-flow .optional-card .optional-summary {
    display: none;
  }

  body.single-step-flow .optional-card .card-content {
    gap: 10px;
  }

  body.single-step-flow .disclosure-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 14px 16px;
  }

  body.single-step-flow .disclosure-title {
    font-size: 15px;
    line-height: 1.35;
  }

  body.single-step-flow .disclosure-copy {
    font-size: 12px;
    line-height: 1.55;
  }

  body.single-step-flow .disclosure-content {
    gap: 14px;
    padding: 0 16px 16px;
  }

  body.single-step-flow .flow-nav-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
    grid-template-columns: 78px 1fr 102px;
  }

  body.single-step-flow .flow-nav-summary {
    gap: 1px;
    padding: 0 2px;
  }

  body.single-step-flow .flow-nav-step {
    font-size: 10px;
    line-height: 1.3;
  }

  body.single-step-flow .flow-nav-title {
    font-size: 14px;
    line-height: 1.1;
  }

  body.single-step-flow .flow-nav-btn {
    min-height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  body.flow-immersed .header-content {
    padding: 10px;
    border-radius: 16px;
  }

  body.flow-immersed .brand-row {
    gap: 10px;
  }

  body.flow-immersed .logo-badge {
    width: 44px;
    height: 44px;
  }

  body.flow-immersed .logo-mark {
    width: 26px;
    height: 26px;
  }

  body.flow-immersed .logo-text {
    font-size: 24px;
  }

  body.flow-immersed .logo-subtitle {
    font-size: 10px;
    line-height: 1.45;
  }

  body.flow-immersed .hero-intent {
    max-width: 8.8ch;
    font-size: 22px;
  }

  body.single-step-flow .flow-stage-panel {
    padding: 9px 10px;
    border-radius: 14px;
  }

  body.single-step-flow .flow-stage-title {
    font-size: 15px;
  }

  body.single-step-flow .bento-grid {
    margin-bottom: 72px;
  }

  body.single-step-flow .disclosure-summary {
    padding: 13px 14px;
  }

  body.single-step-flow .disclosure-content {
    padding: 0 14px 14px;
  }

  body.single-step-flow .flow-nav-bar {
    grid-template-columns: 72px 1fr 94px;
    padding: 5px;
    border-radius: 14px;
  }

  body.single-step-flow .flow-nav-title {
    display: none;
  }

  body.single-step-flow .flow-nav-btn {
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }
}

@media (max-width: 920px) {
  .header {
    padding: 6px 0 8px;
  }

  .header-content {
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .brand-copy {
    gap: 2px;
  }

  .logo-subtitle {
    font-size: 11px;
    line-height: 1.42;
  }

  .hero-copy-block {
    gap: 8px;
  }

  .hero-slogan {
    font-size: 11px;
    line-height: 1.45;
  }

  .hero-intent {
    max-width: 8.8ch;
    font-size: 26px;
  }

  .hero-support {
    font-size: 12px;
    line-height: 1.55;
  }

  .header-desc {
    display: none;
  }

  .hero-microfacts {
    gap: 6px;
  }

  .hero-microfact {
    min-height: 32px;
    padding: 6px 8px;
    border-radius: 12px;
    font-size: 10px;
  }

  body.single-step-flow .bento-card[data-step] .card-content {
    gap: 12px;
    padding: 14px 14px 16px;
  }

  body.single-step-flow .bento-card[data-step] .card-header,
  body.single-step-flow .bento-card[data-step] .card-intro {
    display: none;
  }

  body.single-step-flow .flow-stage-panel {
    margin-bottom: 6px;
    padding: 9px 10px;
    border-radius: 14px;
  }

  body.single-step-flow .flow-stage-title {
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .header-content {
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }

  .logo-text {
    font-size: 24px;
  }

  .logo-subtitle {
    font-size: 10px;
  }

  .hero-copy-block {
    gap: 7px;
  }

  .hero-intent {
    max-width: 9.1ch;
    font-size: 22px;
  }

  .hero-support {
    font-size: 11px;
    line-height: 1.5;
  }

  .hero-microfact {
    min-height: 30px;
    padding: 5px 7px;
    font-size: 9px;
  }

  body.single-step-flow .bento-card[data-step] .card-content {
    gap: 10px;
    padding: 13px 12px 14px;
  }

  body.single-step-flow .flow-stage-panel {
    padding: 8px 9px;
  }

  body.single-step-flow .flow-stage-kicker {
    font-size: 9px;
  }

  body.single-step-flow .flow-stage-title {
    font-size: 14px;
  }
}

@media (max-width: 920px) {
  body.single-step-flow .form-group,
  body.single-step-flow .energy-section,
  body.single-step-flow .stat-row,
  body.single-step-flow .state-grid,
  body.single-step-flow .style-grid,
  body.single-step-flow .style-grid-refined,
  body.single-step-flow .toggle-group,
  body.single-step-flow .grip-selector,
  body.single-step-flow .zodiac-grid {
    gap: 10px;
  }

  body.single-step-flow .form-group.compact,
  body.single-step-flow .form-group-dense,
  body.single-step-flow .stat-item,
  body.single-step-flow .measure-data {
    gap: 8px;
  }

  body.single-step-flow .form-label,
  body.single-step-flow .stat-label,
  body.single-step-flow .form-label-small {
    font-size: 12px;
    line-height: 1.45;
  }

  body.single-step-flow .label-hint,
  body.single-step-flow .field-helper,
  body.single-step-flow .age-guidance,
  body.single-step-flow .ntrp-hint,
  body.single-step-flow .power-side-label,
  body.single-step-flow .style-desc,
  body.single-step-flow .state-desc,
  body.single-step-flow .toggle-desc {
    font-size: 11px;
    line-height: 1.55;
  }

  body.single-step-flow .ntrp-display,
  body.single-step-flow .power-header,
  body.single-step-flow .energy-meta {
    gap: 10px;
  }

  body.single-step-flow .ntrp-value {
    font-size: 38px;
  }

  body.single-step-flow .ntrp-level,
  body.single-step-flow .power-score,
  body.single-step-flow .energy-score {
    font-size: 13px;
    line-height: 1.45;
  }

  body.single-step-flow .ntrp-scale span,
  body.single-step-flow .slider-scale span {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  body.single-step-flow input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
  }

  body.single-step-flow input[type="range"]::-moz-range-track {
    height: 6px;
  }

  body.single-step-flow input[type="range"]::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -7px;
  }

  body.single-step-flow input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
  }

  body.single-step-flow .power-bar,
  body.single-step-flow .energy-bar {
    height: 8px;
  }

  body.single-step-flow .style-card,
  body.single-step-flow .state-card,
  body.single-step-flow .toggle-btn {
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
  }

  body.single-step-flow .style-icon,
  body.single-step-flow .state-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  body.single-step-flow .style-name,
  body.single-step-flow .state-name,
  body.single-step-flow .toggle-title {
    font-size: 14px;
    line-height: 1.4;
  }

  body.single-step-flow .stat-input-wrap {
    border-radius: 18px;
  }

  body.single-step-flow .stat-input,
  body.single-step-flow .age-select {
    min-height: 50px;
    padding: 0 14px;
    border-radius: 17px;
    font-size: 15px;
  }

  body.single-step-flow .grip-btn,
  body.single-step-flow .zodiac-btn {
    min-height: 62px;
    border-radius: 16px;
  }

  body.single-step-flow .hand-measure-card {
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  body.single-step-flow .hand-measure-preview,
  body.single-step-flow .hand-measure-result {
    min-height: 170px;
    gap: 8px;
    border-radius: 18px;
  }

  body.single-step-flow .measure-guide {
    padding: 12px 14px;
    border-radius: 16px;
  }

  body.single-step-flow .measure-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.single-step-flow .form-group,
  body.single-step-flow .energy-section,
  body.single-step-flow .stat-row,
  body.single-step-flow .state-grid,
  body.single-step-flow .style-grid,
  body.single-step-flow .style-grid-refined,
  body.single-step-flow .toggle-group,
  body.single-step-flow .grip-selector,
  body.single-step-flow .zodiac-grid {
    gap: 8px;
  }

  body.single-step-flow .ntrp-value {
    font-size: 32px;
  }

  body.single-step-flow .ntrp-level,
  body.single-step-flow .power-score,
  body.single-step-flow .energy-score {
    font-size: 12px;
  }

  body.single-step-flow .ntrp-hint,
  body.single-step-flow .power-side-label,
  body.single-step-flow .field-helper,
  body.single-step-flow .age-guidance,
  body.single-step-flow .style-desc,
  body.single-step-flow .state-desc,
  body.single-step-flow .toggle-desc {
    font-size: 10px;
    line-height: 1.5;
  }

  body.single-step-flow .style-card,
  body.single-step-flow .state-card,
  body.single-step-flow .toggle-btn {
    padding: 10px;
    border-radius: 14px;
  }

  body.single-step-flow .style-icon,
  body.single-step-flow .state-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  body.single-step-flow .style-name,
  body.single-step-flow .state-name,
  body.single-step-flow .toggle-title {
    font-size: 13px;
  }

  body.single-step-flow .stat-input,
  body.single-step-flow .age-select {
    min-height: 46px;
    padding: 0 12px;
    border-radius: 15px;
    font-size: 15px;
  }

  body.single-step-flow .grip-btn,
  body.single-step-flow .zodiac-btn {
    min-height: 56px;
  }

  body.single-step-flow .hand-measure-card {
    padding: 12px;
  }

  body.single-step-flow .hand-measure-preview,
  body.single-step-flow .hand-measure-result {
    min-height: 150px;
  }
}

@media (max-width: 920px) {
  body.flow-immersed .hero-grid {
    display: none;
  }

  body.flow-immersed .header-content {
    gap: 0;
    padding: 10px 12px;
    border-radius: 16px;
  }

  body.flow-immersed .hero-topline {
    padding-bottom: 0;
    border-bottom: 0;
  }

  body.flow-immersed .brand-row {
    gap: 10px;
  }

  body.flow-immersed .logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  body.flow-immersed .logo-mark {
    width: 24px;
    height: 24px;
  }

  body.flow-immersed .logo-text {
    font-size: 22px;
    letter-spacing: -0.05em;
  }

  body.flow-immersed .logo-subtitle {
    display: none;
  }

  body.single-step-flow .bento-card[data-step] {
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 235, 0.96)),
      rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 20px rgba(125, 114, 88, 0.08);
  }

  body.single-step-flow .bento-card[data-step] .card-glow {
    display: none;
  }

  body.single-step-flow .form-group + .form-group,
  body.single-step-flow .energy-section + .form-group,
  body.single-step-flow .form-group + .energy-section {
    padding-top: 10px;
    border-top: 1px solid rgba(34, 42, 53, 0.06);
  }

  body.single-step-flow .stat-input-wrap {
    padding: 1px;
    border-color: rgba(34, 42, 53, 0.08);
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.94),
      0 4px 10px rgba(132, 120, 91, 0.04);
  }

  body.single-step-flow .stat-input,
  body.single-step-flow .age-select {
    background: rgba(255, 255, 255, 0.96);
    color: #1d232d;
  }

  body.single-step-flow .style-card,
  body.single-step-flow .state-card,
  body.single-step-flow .toggle-btn,
  body.single-step-flow .grip-btn,
  body.single-step-flow .zodiac-btn {
    border-color: rgba(34, 42, 53, 0.07);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: none;
  }

  body.single-step-flow .style-card.active,
  body.single-step-flow .state-card.active,
  body.single-step-flow .toggle-btn.active,
  body.single-step-flow .grip-btn.active,
  body.single-step-flow .zodiac-btn.active {
    border-color: rgba(167, 203, 35, 0.34);
    background:
      linear-gradient(180deg, rgba(227, 247, 148, 0.28), rgba(255, 255, 255, 0.92)),
      rgba(255, 255, 255, 0.92);
  }

  body.single-step-flow .style-desc,
  body.single-step-flow .state-desc,
  body.single-step-flow .toggle-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  body.single-step-flow .ntrp-scale,
  body.single-step-flow .slider-scale {
    gap: 6px;
  }

  body.single-step-flow .ntrp-scale span,
  body.single-step-flow .slider-scale span {
    flex: 1 1 0;
    text-align: center;
  }

  body.single-step-flow .power-bar-wrap {
    gap: 8px;
  }

  body.single-step-flow .power-side-label {
    min-width: 30px;
  }

  body.single-step-flow .disclosure-block {
    border-radius: 18px;
    border-color: rgba(34, 42, 53, 0.07);
    background: rgba(255, 255, 255, 0.82);
  }
}

@media (max-width: 640px) {
  body.flow-immersed .header {
    padding: 4px 0 6px;
  }

  body.flow-immersed .header-content {
    padding: 8px 10px;
    border-radius: 14px;
  }

  body.flow-immersed .logo-text {
    font-size: 20px;
  }

  body.single-step-flow .bento-card[data-step] {
    border-radius: 18px;
  }

  body.single-step-flow .form-group + .form-group,
  body.single-step-flow .energy-section + .form-group,
  body.single-step-flow .form-group + .energy-section {
    padding-top: 8px;
  }

  body.single-step-flow .style-desc,
  body.single-step-flow .state-desc,
  body.single-step-flow .toggle-desc,
  body.single-step-flow .field-helper,
  body.single-step-flow .age-guidance {
    -webkit-line-clamp: 2;
  }

  body.single-step-flow .disclosure-block {
    border-radius: 16px;
  }
}

@media (max-width: 920px) {
  body.single-step-flow .bento-core-card,
  body.single-step-flow .bento-style-card {
    min-height: auto;
  }

  body.single-step-flow .bento-core-card .card-content,
  body.single-step-flow .bento-style-card .card-content {
    gap: 10px;
  }

  body.single-step-flow .bento-core-card .form-group {
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(34, 42, 53, 0.06);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
  }

  body.single-step-flow .bento-core-card .form-group + .form-group {
    padding-top: 12px;
    border-top: 0;
  }

  body.single-step-flow .bento-core-card .form-label,
  body.single-step-flow .bento-style-card .form-label {
    margin-bottom: 0;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #70786d;
  }

  body.single-step-flow .bento-core-card .ntrp-display,
  body.single-step-flow .bento-core-card .power-header {
    align-items: flex-end;
    gap: 8px;
  }

  body.single-step-flow .bento-core-card .ntrp-value {
    font-size: 34px;
    line-height: 0.92;
  }

  body.single-step-flow .bento-core-card .ntrp-level,
  body.single-step-flow .bento-core-card .power-score {
    font-size: 12px;
    line-height: 1.3;
  }

  body.single-step-flow .bento-core-card .ntrp-hint,
  body.single-step-flow .bento-core-card #power-text,
  body.single-step-flow .bento-core-card .power-side-label {
    font-size: 10px;
    line-height: 1.45;
    color: #757d72;
  }

  body.single-step-flow .bento-core-card .ntrp-scale,
  body.single-step-flow .bento-core-card .slider-scale {
    gap: 4px;
  }

  body.single-step-flow .bento-core-card .ntrp-scale span,
  body.single-step-flow .bento-core-card .slider-scale span {
    font-size: 9px;
    letter-spacing: 0;
  }

  body.single-step-flow .bento-core-card .power-bar,
  body.single-step-flow .bento-core-card .energy-bar {
    height: 6px;
  }

  body.single-step-flow .bento-core-card input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
  }

  body.single-step-flow .bento-core-card input[type="range"]::-moz-range-track {
    height: 6px;
  }

  body.single-step-flow .bento-core-card input[type="range"]::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -6px;
  }

  body.single-step-flow .bento-core-card input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
  }

  body.single-step-flow .bento-style-card .form-group-dense {
    gap: 8px;
  }

  body.single-step-flow .bento-style-card .style-grid-refined {
    gap: 8px;
  }

  body.single-step-flow .bento-style-card .style-card {
    gap: 6px;
    min-height: 112px;
    padding: 10px;
    border-radius: 16px;
  }

  body.single-step-flow .bento-style-card .style-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  body.single-step-flow .bento-style-card .style-name {
    font-size: 13px;
    line-height: 1.3;
  }

  body.single-step-flow .bento-style-card .style-desc {
    font-size: 10px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 640px) {
  body.single-step-flow .bento-core-card .form-group {
    padding: 10px;
    border-radius: 16px;
  }

  body.single-step-flow .bento-core-card .ntrp-value {
    font-size: 30px;
  }

  body.single-step-flow .bento-style-card .style-card {
    min-height: 102px;
    padding: 9px;
  }

  body.single-step-flow .bento-style-card .style-name {
    font-size: 12px;
  }

  body.single-step-flow .bento-style-card .style-desc {
    font-size: 9px;
  }
}

@media (max-width: 920px) {
  body.flow-started .header {
    padding: 6px 0 4px;
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
  }

  body.flow-started .header-content {
    gap: 0;
    padding: 10px 12px;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(94, 81, 52, 0.06);
  }

  body.flow-started .hero-grid,
  body.flow-started .hero-utility {
    display: none;
  }

  body.flow-started .hero-topline {
    padding-bottom: 0;
    border-bottom: 0;
  }

  body.flow-started .brand-row {
    gap: 10px;
  }

  body.flow-started .logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  body.flow-started .logo-mark {
    width: 24px;
    height: 24px;
  }

  body.flow-started .logo-text {
    font-size: 22px;
    letter-spacing: -0.05em;
  }

  body.flow-started .logo-subtitle {
    display: none;
  }

  body.flow-started .main {
    margin-top: 2px;
  }

  body.flow-started .progress-section {
    display: none;
  }

  body.flow-started.single-step-flow .flow-stage-panel,
  body.flow-started.single-step-flow .bento-card[data-step="1"],
  body.flow-started.single-step-flow .flow-nav-bar {
    transition:
      transform 320ms cubic-bezier(.2,.75,.2,1),
      opacity 320ms ease,
      box-shadow 320ms ease;
  }

  body.flow-entering.single-step-flow .flow-stage-panel,
  body.flow-entering.single-step-flow .bento-card[data-step="1"],
  body.flow-entering.single-step-flow .flow-nav-bar {
    opacity: 0;
    transform: translateY(14px);
  }

  body.flow-started.single-step-flow .flow-stage-panel {
    box-shadow: 0 10px 18px rgba(125, 114, 88, 0.06);
  }
}

@media (max-width: 640px) {
  body.flow-started .header {
    padding: 4px 0 6px;
  }

  body.flow-started .header-content {
    padding: 8px 10px;
    border-radius: 14px;
  }

  body.flow-started .logo-text {
    font-size: 20px;
  }

  body.flow-entering.single-step-flow .flow-stage-panel,
  body.flow-entering.single-step-flow .bento-card[data-step="1"],
  body.flow-entering.single-step-flow .flow-nav-bar {
    transform: translateY(12px);
  }
}

/* Mobile visual reset: move from glossy webpage to calmer app surface */
@media (max-width: 920px) {
  body {
    background:
      linear-gradient(180deg, #f7f4ee 0%, #f3efe7 52%, #f6f3ed 100%);
  }

  body::before,
  body::after,
  .ambient-bg,
  .card-glow {
    opacity: 0 !important;
  }

  .header,
  .main {
    width: min(calc(100% - 12px), var(--content-width));
  }

  .header {
    padding: 8px 0 6px;
  }

  .header-content,
  .progress-section,
  body.single-step-flow .flow-stage-panel,
  body.single-step-flow .bento-card[data-step],
  body.single-step-flow .flow-nav-bar {
    border: 1px solid rgba(23, 31, 42, 0.08);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 242, 0.96)),
      rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 16px rgba(80, 66, 38, 0.06);
  }

  .header-content {
    border-radius: 18px;
  }

  .hero-topline {
    border-bottom-color: rgba(23, 31, 42, 0.06);
  }

  .logo-badge,
  .hero-microfact,
  .style-icon,
  .state-icon,
  .card-icon,
  .card-icon.small {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(23, 31, 42, 0.07);
    box-shadow: none;
  }

  .hero-slogan,
  .hero-support,
  .header-desc,
  .flow-stage-kicker,
  .flow-nav-step,
  .form-label,
  .stat-label,
  .form-label-small,
  .disclosure-copy,
  .ntrp-hint,
  .field-helper,
  .age-guidance {
    color: #6d7563;
  }

  .hero-intent,
  .logo-text,
  .flow-stage-title,
  .flow-nav-title,
  .disclosure-title,
  .style-name,
  .state-name,
  .toggle-title,
  .card-title {
    color: #1b241d;
  }

  .hero-start-link,
  .btn-primary,
  body.single-step-flow .flow-nav-btn-primary {
    background: linear-gradient(180deg, #e8ff8d 0%, #d8f557 100%);
    border-color: rgba(142, 171, 33, 0.28);
    box-shadow:
      0 8px 16px rgba(195, 235, 66, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  body.single-step-flow .flow-nav-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(23, 31, 42, 0.08);
  }

  body.flow-immersed .header-content {
    box-shadow: 0 4px 12px rgba(80, 66, 38, 0.04);
  }

  body.single-step-flow .flow-stage-panel {
    margin-bottom: 6px;
  }

  body.single-step-flow .bento-grid {
    gap: 8px;
    margin-bottom: 78px;
  }

  body.single-step-flow .bento-card[data-step] {
    min-height: calc(100svh - 188px);
    border-radius: 20px;
  }

  body.single-step-flow .bento-core-card,
  body.single-step-flow .bento-style-card {
    min-height: auto;
  }

  body.single-step-flow .bento-card[data-step] .card-content {
    min-height: 100%;
    align-content: start;
    padding-bottom: 86px !important;
  }

  body.single-step-flow .form-group + .form-group,
  body.single-step-flow .energy-section + .form-group,
  body.single-step-flow .form-group + .energy-section {
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid rgba(23, 31, 42, 0.05);
  }

  body.single-step-flow .stat-input-wrap,
  body.single-step-flow .disclosure-block,
  body.single-step-flow .style-card,
  body.single-step-flow .state-card,
  body.single-step-flow .toggle-btn,
  body.single-step-flow .grip-btn,
  body.single-step-flow .zodiac-btn,
  body.single-step-flow .hand-measure-card {
    border-color: rgba(23, 31, 42, 0.07);
    background: rgba(255, 255, 255, 0.94);
  }

  body.single-step-flow .style-card,
  body.single-step-flow .state-card,
  body.single-step-flow .toggle-btn {
    border-radius: 15px;
  }

  body.single-step-flow .style-card.active,
  body.single-step-flow .state-card.active,
  body.single-step-flow .toggle-btn.active,
  body.single-step-flow .grip-btn.active,
  body.single-step-flow .zodiac-btn.active {
    background:
      linear-gradient(180deg, rgba(231, 247, 165, 0.48), rgba(255, 255, 255, 0.98)),
      rgba(255, 255, 255, 0.98);
    border-color: rgba(149, 179, 39, 0.32);
    box-shadow: none;
  }

  body.single-step-flow .style-badge {
    padding: 4px 8px;
    font-size: 10px;
    background: rgba(220, 242, 121, 0.22);
    color: #799318;
  }

  body.single-step-flow .stat-input,
  body.single-step-flow .age-select {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  body.single-step-flow .flow-nav-bar {
    gap: 6px;
    padding: 6px;
    border-radius: 18px;
    backdrop-filter: blur(14px);
  }
}

@media (max-width: 640px) {
  .header,
  .main {
    width: calc(100% - 10px);
  }

  .header {
    padding: 6px 0 4px;
  }

  .header-content {
    border-radius: 16px;
  }

  body.single-step-flow .bento-card[data-step] {
    min-height: calc(100svh - 176px);
    border-radius: 18px;
  }

  body.single-step-flow .flow-nav-bar {
    border-radius: 16px;
  }
}

/* Premium mobile language for the homepage entry and result conclusion */
@media (max-width: 920px) {
  .header-content {
    gap: 12px;
    padding: 14px 14px 16px;
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 247, 241, 0.97)),
      rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px rgba(74, 59, 31, 0.05);
  }

  .hero-topline {
    padding-bottom: 10px;
    border-bottom: 0;
  }

  .brand-row {
    gap: 12px;
  }

  .logo-badge {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(24, 32, 23, 0.08);
  }

  .logo-mark {
    width: 28px;
    height: 28px;
    filter: none;
  }

  .brand-copy {
    gap: 2px;
  }

  .brand-eyebrow,
  .header-desc {
    display: none;
  }

  .logo-text {
    font-size: 28px;
    line-height: 0.95;
    letter-spacing: -0.06em;
    color: #18201a;
  }

  .logo-subtitle {
    font-size: 11px;
    line-height: 1.4;
    color: #707769;
  }

  .hero-copy-block {
    gap: 12px;
    padding-top: 4px;
  }

  .hero-slogan {
    color: #7b856c;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero-intent {
    max-width: 8.2ch;
    font-size: 30px;
    line-height: 0.97;
    letter-spacing: -0.07em;
    color: #19221b;
  }

  .hero-support {
    max-width: 24ch;
    font-size: 13px;
    line-height: 1.6;
    color: #5f665a;
  }

  .hero-microfacts {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    align-items: center;
  }

  .hero-microfact {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #747d70;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
  }

  .hero-microfact + .hero-microfact {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid rgba(24, 32, 23, 0.08);
  }

  .hero-start-link {
    min-height: 48px;
    padding: 0 16px 0 18px;
    border-radius: 16px;
    justify-content: space-between;
    background: linear-gradient(180deg, #e8f98d 0%, #d7ef62 100%);
    border-color: rgba(132, 155, 34, 0.2);
    box-shadow:
      0 8px 16px rgba(177, 205, 59, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .hero-start-link::before {
    display: none;
  }

  .hero-start-text {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .hero-summary {
    display: none;
  }

  .result-overview {
    padding: 0;
  }

  .result-hero-card {
    gap: 14px;
  }

  .result-summary-rail {
    gap: 6px;
  }

  .result-summary-pill {
    padding: 0 0 10px;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(24, 32, 23, 0.08);
    background: none;
  }

  .result-report-field-label {
    color: #7a846f;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .result-report-field-value {
    color: #19221b;
    font-size: 16px;
    line-height: 1.4;
  }

  .result-headline-row {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 12px;
    align-items: start;
  }

  .result-label {
    color: #7d9026;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .result-name {
    font-size: 34px;
    line-height: 0.94;
    color: #18211b;
  }

  .result-brand {
    color: #617016;
    font-size: 15px;
    line-height: 1.4;
  }

  .result-pro-user,
  .result-market-context {
    color: #6b7367;
    font-size: 13px;
    line-height: 1.6;
  }

  .result-score-panel {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    justify-items: end;
  }

  .match-badge {
    width: 88px;
    height: 88px;
  }

  .rank-badge {
    margin-left: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(233, 243, 180, 0.62);
    border-color: rgba(122, 146, 25, 0.16);
    color: #4e5f15;
  }

  .result-image-stage {
    gap: 0;
  }

  .result-image {
    min-height: 214px;
    padding: 12px;
    border-radius: 20px;
    background:
      radial-gradient(circle at 50% 16%, rgba(218, 235, 131, 0.16), transparent 32%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 234, 0.94));
    border: 1px solid rgba(24, 32, 23, 0.08);
    box-shadow: none;
  }

  .result-image::after {
    inset: 10px;
    border-radius: 16px;
    border-color: rgba(24, 32, 23, 0.05);
  }

  .result-image img {
    max-width: min(100%, 244px);
    max-height: min(34vh, 238px);
  }

  .result-advice-note {
    padding: 0;
    border: 0;
    color: #1f271f;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
  }

  .result-description {
    color: #626a5e;
    font-size: 13px;
    line-height: 1.68;
  }

  .result-quickfacts {
    gap: 0;
  }

  .result-quickfact {
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid rgba(24, 32, 23, 0.08);
    border-radius: 0;
    background: none;
  }

  .result-quickfact:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .result-quickfact .decision-card-value {
    font-size: 18px;
    color: #1b241d;
  }

  .result-quickfact .decision-card-note {
    color: #747d70;
    font-size: 12px;
  }

  .result-support-card,
  .other-recommendations,
  .result-disclosure {
    padding: 18px 0 0;
    border-top: 1px solid rgba(24, 32, 23, 0.08);
  }

  .result-section-heading {
    color: #79816f;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .result-detail-title {
    font-size: 24px;
    line-height: 1;
  }

  .other-item {
    gap: 12px;
  }

  .modal-actions {
    margin-top: 10px;
    padding-top: 10px;
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.72), rgba(247, 244, 238, 0.96));
  }
}

@media (max-width: 640px) {
  .header-content {
    padding: 12px 12px 14px;
    border-radius: 18px;
  }

  .logo-text {
    font-size: 26px;
  }

  .hero-intent {
    max-width: 8.6ch;
    font-size: 26px;
  }

  .hero-support {
    max-width: 22ch;
    font-size: 12px;
  }

  .hero-microfact {
    font-size: 10px;
  }

  .hero-start-link {
    min-height: 46px;
    border-radius: 15px;
  }

  .result-name {
    font-size: 31px;
  }

  .result-headline-row {
    grid-template-columns: minmax(0, 1fr) 84px;
  }

  .match-badge {
    width: 80px;
    height: 80px;
  }

  .result-image {
    min-height: 206px;
    padding: 10px;
  }

  .result-image img {
    max-width: min(100%, 228px);
    max-height: min(31vh, 220px);
  }
}

@media (max-width: 640px) {
  .ambient-bg {
    opacity: 0.72;
  }

  .gradient-orb {
    filter: blur(74px);
  }

  .header {
    padding: 10px 0 8px;
  }

  .header-content {
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
    background:
      radial-gradient(circle at 85% 10%, rgba(224, 241, 138, 0.22), transparent 28%),
      linear-gradient(180deg, rgba(255, 254, 249, 0.98), rgba(248, 244, 236, 0.95));
    border: 1px solid rgba(24, 32, 23, 0.08);
    box-shadow: 0 14px 34px rgba(121, 108, 82, 0.11);
  }

  .hero-utility,
  .hero-notes,
  .hero-summary,
  .header-desc,
  .section-intro {
    display: none;
  }

  .hero-topline {
    padding-bottom: 0;
  }

  .brand-row {
    gap: 12px;
    align-items: center;
  }

  .logo-badge {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    border: 1px solid rgba(24, 32, 23, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 243, 234, 0.92));
    box-shadow: 0 10px 20px rgba(109, 99, 77, 0.07);
  }

  .logo-mark {
    width: 24px;
    height: 24px;
  }

  .logo-text {
    font-size: 27px;
    line-height: 0.96;
    letter-spacing: -0.065em;
  }

  .logo-subtitle {
    font-size: 11px;
    line-height: 1.35;
    color: #6d7568;
  }

  .hero-copy-block {
    gap: 10px;
    padding-top: 0;
  }

  .hero-slogan {
    font-size: 9px;
    letter-spacing: 0.12em;
    color: #7f886f;
  }

  .hero-intent {
    max-width: 8.1ch;
    font-size: 28px;
    line-height: 0.93;
    letter-spacing: -0.072em;
  }

  .hero-support {
    max-width: 20ch;
    font-size: 13px;
    line-height: 1.58;
    color: #565d52;
  }

  .hero-microfacts {
    gap: 0;
    padding-top: 2px;
  }

  .hero-microfact {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #727b6e;
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-microfact + .hero-microfact {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid rgba(24, 32, 23, 0.08);
  }

  .hero-start-link {
    min-height: 50px;
    padding: 0 17px 0 18px;
    border-radius: 17px;
    background: linear-gradient(180deg, #e8f98d 0%, #dff367 100%);
    border: 1px solid rgba(133, 154, 36, 0.22);
    box-shadow:
      0 12px 24px rgba(180, 207, 64, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .hero-start-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.1;
    color: #4b5a12;
  }

  .main {
    gap: 10px;
  }

  .progress-section {
    padding: 9px 10px;
    border-radius: 16px;
  }

  .modal-content {
    padding: 12px 14px calc(18px + env(safe-area-inset-bottom));
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.985), rgba(248, 244, 236, 0.985)),
      rgba(255, 255, 255, 0.98);
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.92);
    border: 1px solid rgba(24, 32, 23, 0.08);
    box-shadow: none;
  }

  .modal-close svg {
    width: 15px;
    height: 15px;
  }

  .result-overview {
    padding-top: 2px;
  }

  .result-hero-card {
    gap: 10px;
  }

  .result-summary-rail {
    gap: 0;
  }

  .result-summary-pill {
    padding: 8px 0 10px;
    border: 0;
    border-bottom: 1px solid rgba(24, 32, 23, 0.08);
    border-radius: 0;
    background: none;
  }

  .result-headline-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .result-header {
    gap: 3px;
  }

  .result-name {
    max-width: none;
    font-size: 30px;
    line-height: 0.93;
    letter-spacing: -0.07em;
  }

  .result-brand {
    font-size: 15px;
    line-height: 1.45;
    color: #5e6d15;
  }

  .result-pro-user,
  .result-market-context {
    font-size: 13px;
    line-height: 1.58;
    color: #646d61;
  }

  .result-score-panel {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 6px 6px;
    gap: 3px;
  }

  .result-score-label {
    padding: 0;
    font-size: 8px;
    letter-spacing: 0.11em;
  }

  .result-score-group {
    gap: 5px;
    padding: 0;
  }

  .match-badge {
    width: 60px;
    height: 60px;
  }

  .match-score {
    font-size: 18px;
  }

  .match-percent {
    margin-top: 20px;
    font-size: 9px;
  }

  .rank-badge {
    padding: 5px 8px;
    font-size: 9px;
    letter-spacing: 0.12em;
    flex: 0 0 auto;
  }

  .result-advice-note {
    padding: 0;
    border: 0;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 700;
    color: #1a221c;
  }

  .result-description {
    font-size: 13px;
    line-height: 1.7;
    color: #596156;
  }

  .result-image-stage {
    margin-top: 4px;
    gap: 6px;
  }

  .result-image {
    min-height: 214px;
    padding: 16px 10px 12px;
    border-radius: 24px;
    background:
      radial-gradient(circle at 50% 18%, rgba(223, 239, 126, 0.14), transparent 32%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 232, 0.96));
    border: 1px solid rgba(24, 32, 23, 0.08);
  }

  .result-image::after {
    inset: 12px;
    border-radius: 18px;
    border-color: rgba(24, 32, 23, 0.05);
  }

  .result-image img {
    max-width: min(100%, 228px);
    max-height: min(33vh, 232px);
    object-position: center 58%;
  }

  .result-quickfacts {
    gap: 0;
    margin-top: 8px;
    padding-top: 4px;
    border-top: 1px solid rgba(24, 32, 23, 0.08);
  }

  .result-quickfact {
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid rgba(24, 32, 23, 0.08);
    border-radius: 0;
    background: none;
  }

  .result-quickfact:last-child {
    border-bottom: 0;
  }

  .decision-card-label {
    color: #7a826f;
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .result-quickfact .decision-card-value {
    font-size: 17px;
    color: #1b241d;
  }

  .result-quickfact .decision-card-note {
    font-size: 12px;
    line-height: 1.55;
    color: #70796e;
  }

  .result-support-grid {
    margin-top: 10px;
  }

  .result-support-card,
  .other-recommendations,
  .result-disclosure {
    padding: 20px 0 0;
    border-top: 1px solid rgba(24, 32, 23, 0.08);
  }

  .result-section-heading {
    margin-bottom: 2px;
    padding-left: 10px;
    font-size: 10px;
  }

  .result-detail-title {
    font-size: 23px;
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .result-section-copy {
    max-width: none;
    margin-top: -2px;
    font-size: 12px;
    line-height: 1.68;
  }

  .result-support-card:first-child {
    padding-top: 8px;
    border-top: 0;
  }

  .result-section-heading {
    margin-bottom: 6px;
    color: #78806d;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .result-section-copy {
    max-width: 26ch;
    font-size: 13px;
    line-height: 1.6;
    color: #59636e;
  }

  .modal-actions {
    position: sticky;
    bottom: 0;
    margin: 12px -14px 0;
    padding: 12px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(24, 32, 23, 0.08);
    background:
      linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(255, 252, 247, 0.98)),
      rgba(255, 252, 247, 0.98);
  }
}

@keyframes heroSpotlightDrift {
  0% {
    transform: translate3d(-6px, -4px, 0) scale(0.96);
    opacity: 0.68;
  }
  50% {
    transform: translate3d(10px, 6px, 0) scale(1.05);
    opacity: 1;
  }
  100% {
    transform: translate3d(-2px, 10px, 0) scale(0.98);
    opacity: 0.74;
  }
}

@keyframes ctaArrowGlide {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

@keyframes flowPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(213, 238, 94, 0.12);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(213, 238, 94, 0);
  }
}

@keyframes imageStageFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes imageStageShimmer {
  0% {
    transform: translateX(-115%);
  }
  100% {
    transform: translateX(150%);
  }
}

@media (max-width: 920px) {
  body.single-step-flow .bento-card[data-step] {
    min-height: auto;
  }

  body {
    background:
      radial-gradient(circle at 88% 0%, rgba(223, 241, 120, 0.18), transparent 28%),
      radial-gradient(circle at 10% 100%, rgba(255, 255, 255, 0.62), transparent 30%),
      linear-gradient(180deg, #f8f4ec 0%, #f3eee5 54%, #f7f3ec 100%);
  }

  .header-content {
    position: relative;
    overflow: hidden;
    gap: 14px;
    padding: 16px 15px 18px;
    border-radius: 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.992), rgba(248, 244, 235, 0.97)),
      rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(24, 32, 23, 0.08);
    box-shadow:
      0 16px 40px rgba(102, 88, 56, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .header-content::before {
    background:
      radial-gradient(circle at 82% 18%, rgba(225, 241, 128, 0.22), transparent 26%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 54%);
    opacity: 1;
  }

  .header-content::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(circle at 78% 20%, rgba(230, 245, 144, 0.52), transparent 18%),
      radial-gradient(circle at 22% 112%, rgba(255, 255, 255, 0.72), transparent 20%);
    animation: heroSpotlightDrift 11s ease-in-out infinite alternate;
    mix-blend-mode: screen;
  }

  .hero-topline,
  .hero-grid {
    position: relative;
    z-index: 1;
  }

  .brand-row {
    align-items: center;
    gap: 12px;
  }

  .brand-copy {
    gap: 3px;
  }

  .logo-text {
    font-size: 28px;
    letter-spacing: -0.068em;
    color: #151d16;
  }

  .logo-subtitle {
    color: #5c6558;
    font-size: 11px;
    line-height: 1.45;
  }

  .hero-copy-block {
    position: relative;
    gap: 14px;
    padding-top: 4px;
  }

  .hero-copy-block::before {
    content: "";
    position: absolute;
    right: -28px;
    top: 10px;
    width: 164px;
    height: 164px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(223, 241, 120, 0.24), transparent 72%);
    filter: blur(8px);
    pointer-events: none;
    animation: heroSpotlightDrift 12s ease-in-out infinite alternate;
  }

  .hero-copy-block::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 64px;
    height: 1px;
    background: linear-gradient(90deg, rgba(24, 32, 23, 0.11), rgba(24, 32, 23, 0.03) 72%, transparent);
    pointer-events: none;
  }

  .hero-slogan {
    color: #77816d;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero-intent {
    max-width: 9.4ch;
    font-size: 29px;
    line-height: 1.02;
    letter-spacing: -0.072em;
    padding-top: 2px;
    color: #172018;
  }

  .hero-support {
    max-width: 23ch;
    font-size: 13px;
    line-height: 1.58;
    color: #50584e;
  }

  .hero-microfacts {
    padding-top: 2px;
  }

  .hero-microfact {
    color: #697265;
    font-size: 10px;
    letter-spacing: 0.01em;
  }

  .hero-start-link {
    position: relative;
    min-height: 52px;
    padding: 0 18px 0 20px;
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #eaff92 0%, #dff15a 100%);
    box-shadow:
      0 14px 28px rgba(187, 214, 74, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  .hero-start-link::before {
    display: block;
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -30%;
    width: 42%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent);
    transform: skewX(-18deg);
    animation: imageStageShimmer 2.8s ease-in-out infinite;
    opacity: 0.7;
  }

  .hero-start-link > * {
    position: relative;
    z-index: 1;
  }

  .hero-start-link svg {
    width: 18px;
    height: 18px;
    animation: ctaArrowGlide 2.2s ease-in-out infinite;
  }

  body.flow-started .header-content {
    padding: 9px 10px;
    border-radius: 18px;
    box-shadow:
      0 10px 28px rgba(101, 87, 55, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  body.flow-started .header-content::after {
    opacity: 0.66;
  }

  body.single-step-flow .flow-stage-panel {
    position: relative;
    overflow: hidden;
    padding: 14px 14px 18px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 237, 0.95)),
      rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 26px rgba(100, 86, 55, 0.06);
  }

  body.single-step-flow .flow-stage-panel::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 10px;
    height: 3px;
    border-radius: 999px;
    background: rgba(24, 32, 23, 0.08);
  }

  body.single-step-flow .flow-stage-panel::after {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 10px;
    height: 3px;
    width: calc((100% - 28px) * var(--flow-progress, 0));
    border-radius: 999px;
    background: linear-gradient(90deg, #d9ef58 0%, #edf8b1 100%);
    transition: width 320ms cubic-bezier(.22,.7,.2,1);
  }

  .flow-stage-meta {
    display: grid;
    gap: 4px;
  }

  .flow-stage-kicker {
    color: #79826d;
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .flow-stage-title {
    color: #172019;
    font-size: 25px;
    line-height: 0.98;
    letter-spacing: -0.055em;
  }

  .flow-stage-copy {
    max-width: 24ch;
    color: #596257;
    font-size: 13px;
    line-height: 1.56;
  }

  .flow-stage-pulse {
    gap: 7px;
    align-self: start;
    padding-top: 4px;
  }

  .flow-stage-dot {
    width: 8px;
    height: 8px;
    background: rgba(24, 32, 23, 0.14);
  }

  .flow-stage-dot.active {
    width: 22px;
    background: linear-gradient(90deg, #dcef58, #ecf8b4);
    box-shadow: 0 0 0 1px rgba(139, 163, 33, 0.08);
    animation: flowPulse 1.9s ease-in-out infinite;
  }

  body.single-step-flow .bento-card[data-step] {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(248, 245, 239, 0.98)),
      rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 36px rgba(102, 88, 56, 0.07);
  }

  body.single-step-flow .bento-card[data-step]::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(217, 239, 88, 0.88), rgba(217, 239, 88, 0.08) 68%, transparent);
  }

  body.single-step-flow .bento-card[data-step] .card-content {
    gap: 14px;
  }

  body.single-step-flow .flow-nav-bar {
    padding: 7px;
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 247, 240, 0.96)),
      rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px) saturate(1.15);
    box-shadow: 0 10px 28px rgba(102, 88, 56, 0.09);
  }

  .flow-nav-summary {
    gap: 2px;
  }

  .flow-nav-step {
    color: #7b846f;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .flow-nav-title {
    color: #172018;
    font-size: 14px;
    letter-spacing: -0.03em;
  }

  .modal-content {
    position: relative;
    overflow-x: hidden;
    padding-top: 14px;
    background:
      radial-gradient(circle at 86% 2%, rgba(223, 241, 120, 0.12), transparent 20%),
      linear-gradient(180deg, rgba(255, 253, 248, 0.992), rgba(246, 242, 233, 0.985)),
      rgba(255, 255, 255, 0.98);
  }

  .modal-content::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(24, 32, 23, 0.12), rgba(24, 32, 23, 0.03) 72%, transparent);
    pointer-events: none;
  }

  .result-hero-card {
    gap: 12px;
  }

  .result-summary-rail {
    gap: 0;
  }

  .result-summary-pill {
    padding: 8px 0 11px;
    border: 0;
    border-bottom: 1px solid rgba(24, 32, 23, 0.08);
    background: none;
  }

  .result-headline-row {
    gap: 12px;
  }

  .result-name {
    color: #172018;
    font-size: 31px;
    line-height: 0.93;
    letter-spacing: -0.075em;
  }

  .result-brand {
    color: #5d6918;
  }

  .result-market-context {
    color: #5c665b;
  }

  .result-score-panel {
    position: absolute;
  }

  .match-badge {
    filter: drop-shadow(0 10px 18px rgba(164, 184, 53, 0.12));
  }

  .result-image-stage {
    gap: 8px;
  }

  .result-image {
    position: relative;
    min-height: 224px;
    padding: 18px 10px 12px;
    border-radius: 24px;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 18%, rgba(226, 240, 129, 0.14), transparent 29%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 232, 0.97));
    border: 1px solid rgba(24, 32, 23, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }

  .result-image::before {
    content: "";
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: 22px;
    height: 24px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(66, 66, 56, 0.16), rgba(66, 66, 56, 0.02) 68%, transparent 80%);
    filter: blur(8px);
  }

  .result-image::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 18px;
    border: 1px solid rgba(24, 32, 23, 0.05);
    pointer-events: none;
  }

  .result-image.is-loading::after {
    content: "";
    inset: auto auto 20px -28%;
    width: 44%;
    height: 14px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: imageStageShimmer 1.5s ease-in-out infinite;
  }

  .result-image img {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: transform 520ms cubic-bezier(.22,.7,.2,1), opacity 220ms ease;
  }

  .result-image img.transparent-source {
    max-width: min(100%, 218px);
    max-height: min(36vh, 238px);
    transform: translateY(8px) scale(1.01);
    transform-origin: center center;
  }

  .result-image.is-ready img.transparent-source {
    animation: imageStageFloat 4.8s ease-in-out infinite;
  }

  .result-image.is-ready img,
  .result-image.is-error img {
    opacity: 1;
  }

  .result-advice-note {
    color: #1a221c;
    font-size: 18px;
    line-height: 1.42;
  }

  .result-description {
    color: #5a6257;
    font-size: 13px;
    line-height: 1.72;
  }

  .result-quickfacts {
    margin-top: 4px;
  }

  .result-quickfact .decision-card-value {
    color: #18211b;
    font-size: 18px;
    line-height: 1.36;
  }

  .result-quickfact .decision-card-note {
    color: #6d756a;
  }

  .result-support-card,
  .other-recommendations,
  .result-disclosure {
    padding-top: 20px;
  }
}

@media (max-width: 640px) {
  .header-content {
    padding: 15px 14px 17px;
    border-radius: 22px;
  }

  .logo-text {
    font-size: 26px;
  }

  .hero-intent {
    max-width: 8.6ch;
    font-size: 27px;
  }

  .hero-support {
    max-width: 21ch;
  }

  .hero-start-link {
    min-height: 50px;
    border-radius: 17px;
  }

  body.flow-started .header-content {
    border-radius: 16px;
  }

  body.single-step-flow .flow-stage-panel {
    padding: 13px 13px 17px;
    border-radius: 17px;
  }

  .flow-stage-title {
    font-size: 23px;
  }

  body.single-step-flow .bento-card[data-step] {
    border-radius: 20px;
  }

  body.single-step-flow .flow-nav-bar {
    border-radius: 18px;
  }

  .modal-content {
    padding-top: 12px;
  }

  .result-name {
    font-size: 29px;
  }

  .result-image {
    min-height: 228px;
    padding: 14px 10px;
  }
}

@media (max-width: 920px) {
  .result-image-stage > .result-score-panel {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    width: 88px !important;
    padding: 10px 8px 10px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(24, 32, 23, 0.08) !important;
    background: linear-gradient(180deg, rgba(255, 254, 249, 0.96), rgba(247, 243, 233, 0.92)) !important;
    box-shadow: 0 14px 28px rgba(91, 83, 52, 0.1) !important;
    backdrop-filter: blur(14px) !important;
    display: grid !important;
    justify-items: center !important;
    gap: 7px !important;
    z-index: 5 !important;
  }

  .result-score-label {
    padding: 0 !important;
    color: #616956 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
  }

  .result-score-group {
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
  }

  .match-badge {
    width: 58px !important;
    height: 58px !important;
  }

  .match-score {
    font-size: 18px !important;
  }

  .match-percent {
    margin-top: 20px !important;
    font-size: 9px !important;
  }

  .result-score-panel .rank-badge {
    position: static !important;
    min-height: 24px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    letter-spacing: 0.08em !important;
  }

  .result-name {
    font-size: 28px !important;
    line-height: 0.95 !important;
    letter-spacing: -0.06em !important;
  }

  .result-advice-note {
    font-size: 17px !important;
    line-height: 1.38 !important;
  }

  .result-image-stage {
    margin-top: 8px !important;
  }

  .result-image {
    min-height: 252px !important;
    padding: 18px 14px 14px !important;
    border-radius: 26px !important;
  }

  .result-image::after {
    inset: 10px !important;
    border-radius: 20px !important;
  }

  .result-image img {
    max-width: min(100%, 214px) !important;
    max-height: 238px !important;
    object-position: center 61% !important;
    transform: translateX(-8px) !important;
  }
}

@media (max-width: 640px) {
  .result-image-stage > .result-score-panel {
    top: 14px !important;
    right: 14px !important;
    width: 86px !important;
    padding: 9px 7px 9px !important;
    gap: 6px !important;
  }

  .result-name {
    font-size: 27px !important;
  }

  .result-image {
    min-height: 244px !important;
    padding: 16px 12px 12px !important;
  }

  .result-image img {
    max-width: min(100%, 206px) !important;
    max-height: 230px !important;
    transform: translateX(-9px) !important;
  }
}

/* 2026-03-28: muted premium palette refinement for mobile-first UI */
:root {
  --accent: #a9bb6b;
  --accent-soft: rgba(169, 187, 107, 0.14);
  --accent-line: rgba(112, 126, 62, 0.24);
}

body {
  background:
    radial-gradient(circle at 8% 2%, rgba(169, 187, 107, 0.1), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(219, 223, 208, 0.52), transparent 19%),
    linear-gradient(180deg, #fcfaf5 0%, #f4efe5 42%, #ece5d8 100%);
}

body::after {
  opacity: 0.24;
}

.hero-start-link,
.btn-primary,
body.single-step-flow .flow-nav-btn-primary {
  color: #263111;
  background: linear-gradient(180deg, #dfe7be 0%, #b5c77a 100%);
  border-color: rgba(111, 124, 63, 0.2);
  box-shadow:
    0 10px 22px rgba(132, 145, 82, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hero-start-link::before,
.btn-primary::before {
  opacity: 0.38;
}

.progress-label.active,
.progress-label.done,
.style-card.active,
.state-card.active,
.toggle-btn.active,
.grip-btn.active,
.zodiac-btn.active,
body.single-step-flow .style-card.active,
body.single-step-flow .state-card.active,
body.single-step-flow .toggle-btn.active,
body.single-step-flow .grip-btn.active,
body.single-step-flow .zodiac-btn.active {
  border-color: rgba(112, 126, 62, 0.24);
  background:
    linear-gradient(180deg, rgba(217, 227, 184, 0.42), rgba(255, 255, 255, 0.94)),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 8px 18px rgba(126, 118, 91, 0.05);
}

.progress-label.active .progress-step-text,
.style-card.active .style-name,
.state-card.active .state-name,
.toggle-btn.active .toggle-title,
.grip-btn.active,
.zodiac-btn.active span {
  color: #5f6d2f;
}

.hero-summary-index,
.card-icon,
.card-icon.small,
.style-icon,
.state-icon,
.spec-icon,
.progress-step-badge,
.zodiac-match-icon,
.zodiac-icon-lg,
.zodiac-pro-flag,
.reason-check,
.loading-lab {
  color: #6e7f31;
  border-color: rgba(112, 126, 62, 0.12);
}

input[type="range"]::-webkit-slider-runnable-track,
body.single-step-flow input[type="range"]::-webkit-slider-runnable-track,
body.single-step-flow .bento-core-card input[type="range"]::-webkit-slider-runnable-track {
  background:
    linear-gradient(90deg, rgba(173, 190, 115, 0.7) 0%, rgba(173, 190, 115, 0.52) var(--range-percent, 50%), rgba(90, 101, 74, 0.1) var(--range-percent, 50%), rgba(90, 101, 74, 0.1) 100%);
}

input[type="range"]::-moz-range-track,
body.single-step-flow input[type="range"]::-moz-range-track,
body.single-step-flow .bento-core-card input[type="range"]::-moz-range-track {
  background: rgba(90, 101, 74, 0.12);
}

input[type="range"]::-webkit-slider-thumb,
body.single-step-flow input[type="range"]::-webkit-slider-thumb,
body.single-step-flow .bento-core-card input[type="range"]::-webkit-slider-thumb {
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: radial-gradient(circle, #ffffff 0%, #e7ebdc 100%);
  box-shadow: 0 5px 14px rgba(108, 117, 86, 0.18);
}

input[type="range"]::-moz-range-thumb,
body.single-step-flow input[type="range"]::-moz-range-thumb,
body.single-step-flow .bento-core-card input[type="range"]::-moz-range-thumb {
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(108, 117, 86, 0.18);
}

.power-fill,
.energy-fill {
  background: linear-gradient(90deg, rgba(184, 198, 130, 0.82), #a9bb6b);
}

body.single-step-flow .flow-stage-panel::after {
  background: linear-gradient(90deg, #b9ca80 0%, #dde7bf 100%);
}

.flow-stage-dot.active {
  background: linear-gradient(90deg, #bccb87, #e4ebc7);
  box-shadow: 0 0 0 1px rgba(112, 126, 62, 0.06);
}

body.single-step-flow .bento-card[data-step]::before {
  background: linear-gradient(90deg, rgba(185, 202, 128, 0.64), rgba(185, 202, 128, 0.08) 68%, transparent);
}

.modal-content {
  background:
    radial-gradient(circle at 86% 2%, rgba(210, 223, 151, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.992), rgba(246, 242, 233, 0.985)),
    rgba(255, 255, 255, 0.98);
}

.result-brand {
  color: #6a7740;
}

.result-score-panel {
  background: linear-gradient(180deg, rgba(255, 254, 249, 0.98), rgba(245, 240, 230, 0.94)) !important;
  border-color: rgba(24, 32, 23, 0.06) !important;
  box-shadow: 0 12px 24px rgba(108, 98, 72, 0.08) !important;
}

.match-badge {
  filter: drop-shadow(0 8px 18px rgba(139, 151, 93, 0.1));
}

.ring-fill {
  stroke: #98ad52;
}

.result-score-panel .rank-badge,
.rank-badge {
  color: #566327;
  background: rgba(169, 187, 107, 0.16);
  border-color: rgba(112, 126, 62, 0.14);
}

.result-image {
  background:
    radial-gradient(circle at 50% 18%, rgba(210, 223, 151, 0.1), transparent 29%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 242, 232, 0.97));
}

.result-image img.transparent-source {
  filter: drop-shadow(0 18px 28px rgba(73, 77, 62, 0.16));
}

@media (max-width: 920px) {
  .hero-start-link {
    background: linear-gradient(180deg, #e3e9c6 0%, #bccb87 100%);
    box-shadow:
      0 12px 24px rgba(132, 145, 82, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }

  body.single-step-flow .flow-nav-bar,
  body.single-step-flow .flow-stage-panel,
  body.single-step-flow .bento-card[data-step] {
    box-shadow: 0 10px 24px rgba(112, 101, 74, 0.06);
  }

  body.single-step-flow .style-card.active,
  body.single-step-flow .state-card.active,
  body.single-step-flow .toggle-btn.active,
  body.single-step-flow .grip-btn.active,
  body.single-step-flow .zodiac-btn.active {
    background:
      linear-gradient(180deg, rgba(219, 229, 189, 0.5), rgba(255, 255, 255, 0.94)),
      rgba(255, 255, 255, 0.95);
  }

  .modal-content {
    background:
      radial-gradient(circle at 86% 2%, rgba(205, 218, 145, 0.07), transparent 18%),
      linear-gradient(180deg, rgba(255, 253, 248, 0.992), rgba(246, 242, 233, 0.985)),
      rgba(255, 255, 255, 0.98);
  }

  .result-image {
    background:
      radial-gradient(circle at 50% 16%, rgba(205, 218, 145, 0.09), transparent 28%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 242, 232, 0.97));
  }
}

/* 2026-03-28: premium contrast refinement after muted pass */
:root {
  --accent: #7f8c63;
  --accent-soft: rgba(127, 140, 99, 0.1);
  --accent-line: rgba(102, 112, 79, 0.2);
}

body {
  background:
    radial-gradient(circle at 88% 4%, rgba(214, 219, 203, 0.26), transparent 18%),
    linear-gradient(180deg, #fcfbf8 0%, #f4efe7 44%, #ece5da 100%);
}

body::before {
  opacity: 0.18;
}

body::after {
  opacity: 0.16;
}

.hero-start-link,
.btn-primary,
body.single-step-flow .flow-nav-btn-primary {
  color: #f7f4ec;
  background: linear-gradient(180deg, #4f5644 0%, #373d2f 100%);
  border-color: rgba(52, 57, 45, 0.26);
  box-shadow:
    0 14px 26px rgba(79, 86, 68, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-start-link svg,
.btn-primary svg,
body.single-step-flow .flow-nav-btn-primary {
  color: #f7f4ec;
}

.hero-start-link::before,
.btn-primary::before {
  opacity: 0.2;
}

.progress-label.active,
.progress-label.done,
.style-card.active,
.state-card.active,
.toggle-btn.active,
.grip-btn.active,
.zodiac-btn.active,
body.single-step-flow .style-card.active,
body.single-step-flow .state-card.active,
body.single-step-flow .toggle-btn.active,
body.single-step-flow .grip-btn.active,
body.single-step-flow .zodiac-btn.active {
  border-color: rgba(90, 98, 74, 0.16);
  background:
    linear-gradient(180deg, rgba(252, 251, 247, 0.98), rgba(246, 242, 234, 0.96)),
    rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(127, 140, 99, 0.08),
    0 10px 20px rgba(117, 109, 84, 0.05);
}

.progress-label.active .progress-step-text,
.style-card.active .style-name,
.state-card.active .state-name,
.toggle-btn.active .toggle-title,
.grip-btn.active,
.zodiac-btn.active span {
  color: #27301f;
}

.hero-summary-index,
.card-icon,
.card-icon.small,
.style-icon,
.state-icon,
.spec-icon,
.progress-step-badge,
.zodiac-match-icon,
.zodiac-icon-lg,
.zodiac-pro-flag,
.reason-check,
.loading-lab {
  color: #697553;
  border-color: rgba(99, 110, 74, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 241, 234, 0.94)),
    rgba(255, 255, 255, 0.94);
}

input[type="range"]::-webkit-slider-runnable-track,
body.single-step-flow input[type="range"]::-webkit-slider-runnable-track,
body.single-step-flow .bento-core-card input[type="range"]::-webkit-slider-runnable-track {
  background:
    linear-gradient(90deg, rgba(128, 141, 100, 0.56) 0%, rgba(128, 141, 100, 0.42) var(--range-percent, 50%), rgba(66, 74, 55, 0.08) var(--range-percent, 50%), rgba(66, 74, 55, 0.08) 100%);
}

input[type="range"]::-moz-range-track,
body.single-step-flow input[type="range"]::-moz-range-track,
body.single-step-flow .bento-core-card input[type="range"]::-moz-range-track {
  background: rgba(66, 74, 55, 0.1);
}

input[type="range"]::-webkit-slider-thumb,
body.single-step-flow input[type="range"]::-webkit-slider-thumb,
body.single-step-flow .bento-core-card input[type="range"]::-webkit-slider-thumb {
  background: radial-gradient(circle, #ffffff 0%, #ece9e0 100%);
  box-shadow: 0 5px 14px rgba(77, 84, 68, 0.16);
}

input[type="range"]::-moz-range-thumb,
body.single-step-flow input[type="range"]::-moz-range-thumb,
body.single-step-flow .bento-core-card input[type="range"]::-moz-range-thumb {
  box-shadow: 0 5px 14px rgba(77, 84, 68, 0.16);
}

.power-fill,
.energy-fill {
  background: linear-gradient(90deg, rgba(145, 156, 117, 0.75), #7f8c63);
}

body.single-step-flow .flow-stage-panel::after {
  background: linear-gradient(90deg, #97a579 0%, #d8dec9 100%);
}

.flow-stage-dot.active {
  background: linear-gradient(90deg, #8d9b70, #d9decb);
}

body.single-step-flow .bento-card[data-step]::before {
  background: linear-gradient(90deg, rgba(151, 165, 121, 0.44), rgba(151, 165, 121, 0.06) 68%, transparent);
}

.modal-content {
  background:
    radial-gradient(circle at 86% 2%, rgba(212, 217, 201, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(255, 254, 250, 0.992), rgba(246, 242, 235, 0.985)),
    rgba(255, 255, 255, 0.985);
}

.result-brand {
  color: #424a36;
}

.result-score-panel {
  background: linear-gradient(180deg, rgba(255, 255, 252, 0.98), rgba(244, 240, 232, 0.96)) !important;
  box-shadow: 0 14px 28px rgba(91, 84, 65, 0.08) !important;
}

.match-badge {
  filter: drop-shadow(0 8px 18px rgba(109, 118, 86, 0.1));
}

.ring-fill {
  stroke: #7f8c63;
}

.result-score-panel .rank-badge,
.rank-badge {
  color: #495236;
  background: rgba(127, 140, 99, 0.1);
  border-color: rgba(102, 112, 79, 0.12);
}

.result-image {
  background:
    radial-gradient(circle at 50% 18%, rgba(211, 217, 199, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 242, 234, 0.975));
}

@media (max-width: 920px) {
  .hero-start-link {
    background: linear-gradient(180deg, #535b47 0%, #383f31 100%);
    box-shadow:
      0 12px 24px rgba(80, 87, 69, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  body.single-step-flow .style-card.active,
  body.single-step-flow .state-card.active,
  body.single-step-flow .toggle-btn.active,
  body.single-step-flow .grip-btn.active,
  body.single-step-flow .zodiac-btn.active {
    background:
      linear-gradient(180deg, rgba(252, 251, 247, 0.985), rgba(246, 242, 235, 0.965)),
      rgba(255, 255, 255, 0.96);
  }
}

/* 2026-03-28: desktop typography, spacing, and selective lime refinement */
@media (min-width: 921px) {
  .section-intro {
    gap: 12px;
    max-width: 760px;
    margin-bottom: 18px;
  }

  .section-kicker {
    color: #8fa441;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
  }

  .section-title {
    font-size: clamp(56px, 5vw, 76px);
    line-height: 0.94;
    letter-spacing: -0.065em;
    font-weight: 760;
  }

  .section-copy {
    max-width: 38ch;
    font-size: 17px;
    line-height: 1.68;
    color: #5c6355;
  }

  .hero-intent {
    max-width: 8.2ch;
    font-size: clamp(48px, 5.6vw, 76px);
    line-height: 0.92;
    letter-spacing: -0.07em;
    font-weight: 760;
  }

  .hero-start-link,
  .btn-primary,
  .btn-secondary,
  .remeasure-btn,
  body.single-step-flow .flow-nav-btn {
    min-height: 54px;
    padding: 0 24px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 700;
  }

  .hero-start-link,
  .btn-primary,
  body.single-step-flow .flow-nav-btn-primary {
    box-shadow:
      0 12px 24px rgba(67, 74, 58, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .progress-section {
    gap: 18px;
    margin-bottom: 20px;
    padding: 22px 24px 20px;
    border-radius: 26px;
  }

  .progress-head {
    align-items: center;
  }

  .progress-kicker {
    color: #8fa441;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
  }

  .progress-copy {
    max-width: 420px;
    font-size: 15px;
    line-height: 1.6;
    color: #66705f;
  }

  .progress-labels {
    gap: 10px;
  }

  .progress-label {
    min-height: 96px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(69, 77, 58, 0.09);
  }

  .progress-label.active,
  .progress-label.done {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.96)),
      rgba(255, 255, 255, 0.96);
    border-color: rgba(143, 164, 65, 0.22);
    box-shadow:
      inset 0 0 0 1px rgba(202, 225, 108, 0.1),
      0 10px 18px rgba(124, 116, 90, 0.05);
  }

  .progress-step-badge {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 16px;
  }

  .progress-step-kicker {
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: 0.14em;
    color: #7b826f;
  }

  .progress-step-text {
    font-size: 15px;
    line-height: 1.38;
    font-weight: 700;
    color: #2a3224;
  }

  .progress-fill {
    height: 4px;
    background: linear-gradient(90deg, #d7ff3d 0%, #8fa441 58%, #6e7a58 100%);
    box-shadow: 0 0 14px rgba(215, 255, 61, 0.22);
  }

  .bento-grid {
    gap: 18px;
  }

  .bento-card {
    border-radius: 28px;
  }

  .card-glow {
    background:
      radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(215, 255, 61, 0.08), transparent 22%),
      linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    opacity: 0.78;
  }

  .card-content,
  .submit-content {
    gap: 18px;
    padding: 24px;
  }

  .card-header {
    gap: 8px 14px;
  }

  .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .card-step {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #7b826f;
  }

  .card-title {
    font-size: clamp(38px, 3.2vw, 52px);
    line-height: 0.96;
    letter-spacing: -0.06em;
    font-weight: 760;
  }

  .card-intro {
    margin-top: 0;
    font-size: 16px;
    line-height: 1.66;
    color: #5b6257;
  }

  .form-label,
  .stat-label,
  .form-label-small {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
  }

  .ntrp-display,
  .power-header,
  .energy-meta {
    gap: 12px;
  }

  .style-grid,
  .style-grid-refined,
  .state-grid,
  .toggle-group {
    gap: 12px;
  }

  .style-card,
  .state-card,
  .toggle-btn {
    gap: 10px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(69, 77, 58, 0.08);
  }

  .style-card.active,
  .state-card.active,
  .toggle-btn.active,
  .grip-btn.active,
  .zodiac-btn.active {
    background:
      radial-gradient(circle at 14% 12%, rgba(215, 255, 61, 0.12), transparent 20%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 242, 234, 0.965)),
      rgba(255, 255, 255, 0.96);
    border-color: rgba(143, 164, 65, 0.2);
  }

  .style-name,
  .state-name,
  .toggle-title {
    font-size: 17px;
    line-height: 1.34;
    font-weight: 700;
  }

  .style-desc,
  .state-desc,
  .toggle-desc {
    font-size: 14px;
    line-height: 1.62;
    color: #62685e;
  }

  .result-block + .result-block {
    margin-top: 26px;
  }

  .modal-content {
    padding: 18px 18px 24px;
  }

  .modal-close {
    width: 44px;
    height: 44px;
  }

  .result-overview {
    gap: 26px;
  }

  .result-copy-panel,
  .result-visual-panel,
  .result-meaning-block,
  .result-support-card,
  .other-recommendations,
  .result-disclosure {
    padding: 28px;
    border-radius: 30px;
  }

  .result-report-grid {
    margin-bottom: 22px;
    gap: 14px;
  }

  .result-report-field {
    padding: 16px 18px;
    border-radius: 18px;
  }

  .result-report-field-label {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .result-report-field-value {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;
  }

  .result-header {
    display: grid;
    gap: 3px;
  }

  .result-name {
    max-width: 8.8ch;
    font-size: clamp(42px, 4vw, 58px);
    line-height: 0.92;
    letter-spacing: -0.065em;
    font-weight: 760;
  }

  .result-name.is-long {
    max-width: 9.8ch;
    font-size: clamp(38px, 3.5vw, 50px);
    line-height: 0.94;
  }

  .result-name.is-very-long {
    max-width: 10.8ch;
    font-size: clamp(34px, 3.1vw, 44px);
    line-height: 0.97;
    letter-spacing: -0.055em;
  }

  .result-brand {
    font-size: 18px;
    line-height: 1.32;
    font-weight: 700;
  }

  .result-advice-note {
    margin-top: 10px;
    max-width: 28ch;
    font-size: 19px;
    line-height: 1.38;
    font-weight: 680;
    color: #22281f;
  }

  .result-description {
    padding: 0;
    background: none;
    border: 0;
    max-width: 48ch;
    font-size: 14px;
    line-height: 1.68;
    color: #5d6459;
  }

  .result-image-stage {
    margin-top: 8px;
    gap: 14px;
  }

  .result-support-grid,
  .other-recommendations,
  .result-disclosure {
    content-visibility: auto;
    contain-intrinsic-size: 560px;
  }

  .result-image {
    min-height: 340px;
    padding: 24px;
    border-radius: 28px;
  }

  .result-image::after {
    inset: 16px;
    border-radius: 22px;
  }

  .result-image img {
    max-height: 286px;
  }

  .result-quickfacts {
    gap: 12px;
  }

  .result-quickfact {
    padding: 18px;
    border-radius: 20px;
  }

  .result-quickfact .decision-card-value {
    font-size: 20px;
    line-height: 1.28;
    font-weight: 720;
  }

  .result-quickfact .decision-card-note {
    font-size: 13px;
    line-height: 1.62;
  }
}

@media (max-width: 920px) {
  .header-content {
    gap: 12px;
  }

  .header-content::before {
    background:
      radial-gradient(circle at 84% 16%, rgba(225, 241, 128, 0.14), transparent 18%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 48%);
  }

  .header-content::after {
    background:
      radial-gradient(circle at 84% 18%, rgba(225, 241, 128, 0.22), transparent 14%);
    opacity: 0.42;
    animation: none;
    mix-blend-mode: normal;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .hero-copy-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 2px 0 0 !important;
    gap: 12px !important;
  }

  .hero-copy-block::before,
  .hero-copy-block::after {
    display: none !important;
  }

  .hero-slogan,
  .hero-support,
  .header-desc {
    max-width: none !important;
  }

  .hero-slogan {
    display: none;
  }

  .hero-intent {
    width: 100% !important;
    max-width: 11.4ch !important;
    font-size: clamp(32px, 8.1vw, 38px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.056em !important;
    padding-top: 2px !important;
    text-wrap: balance;
  }

  .hero-support {
    width: 100%;
    max-width: none !important;
    font-size: 13px !important;
    line-height: 1.68 !important;
    color: #5f665a !important;
  }

  .header-desc {
    display: none;
  }

  .hero-microfacts {
    width: 100% !important;
    gap: 8px !important;
    padding-top: 0 !important;
  }

  .hero-microfact {
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    color: #6e7568 !important;
  }

  .hero-start-link {
    margin-top: 4px !important;
    width: 100% !important;
  }
}

@media (max-width: 640px) {
  .brand-row {
    align-items: flex-start;
  }

  .logo-badge {
    flex: 0 0 56px;
  }

  .brand-copy {
    min-width: 0;
  }

  .hero-intent {
    width: 100% !important;
    max-width: 11.2ch !important;
    font-size: 29px !important;
  }
}

@media (max-width: 920px) {
  .result-image-stage > .result-score-panel {
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    display: grid !important;
    justify-items: end !important;
    gap: 6px !important;
    top: 12px !important;
    right: 12px !important;
  }

  .result-score-label {
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 252, 0.92) !important;
    border: 1px solid rgba(24, 32, 23, 0.06) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    color: #66705e !important;
    box-shadow: 0 8px 16px rgba(104, 95, 70, 0.06) !important;
  }

  .result-score-group {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 8px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 252, 0.92) !important;
    border: 1px solid rgba(24, 32, 23, 0.06) !important;
    box-shadow: 0 10px 20px rgba(104, 95, 70, 0.07) !important;
  }

  .match-badge {
    width: 54px !important;
    height: 54px !important;
  }

  .match-score {
    font-size: 17px !important;
  }

  .match-percent {
    margin-top: 18px !important;
    font-size: 8px !important;
  }

  .result-score-panel .rank-badge {
    margin-left: 0 !important;
    padding: 5px 8px !important;
    font-size: 9px !important;
    letter-spacing: 0.08em !important;
    background: rgba(127, 140, 99, 0.1) !important;
    border-color: rgba(102, 112, 79, 0.12) !important;
  }

  .other-item {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 14px 0 !important;
  }

  .other-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .other-rank {
    justify-self: auto !important;
  }

  .other-score {
    margin-left: auto;
    font-size: 28px !important;
    line-height: 1 !important;
  }

  .other-img-wrap {
    min-height: 124px !important;
  }

  .other-info {
    gap: 6px !important;
  }
}

@media (max-width: 640px) {
  .result-image-stage > .result-score-panel {
    top: 10px !important;
    right: 10px !important;
    gap: 5px !important;
  }

  .result-score-label {
    padding: 4px 8px !important;
    font-size: 9px !important;
  }

  .result-score-group {
    padding: 6px 7px !important;
    gap: 5px !important;
    border-radius: 16px !important;
  }

  .match-badge {
    width: 50px !important;
    height: 50px !important;
  }

  .match-score {
    font-size: 16px !important;
  }

  .match-percent {
    margin-top: 17px !important;
    font-size: 8px !important;
  }

  .result-score-panel .rank-badge {
    padding: 4px 7px !important;
    font-size: 8px !important;
  }

  .other-score {
    font-size: 24px !important;
  }
}

@media (max-width: 640px) {
  .header-content {
    padding: 12px 12px 14px !important;
    gap: 10px !important;
    border-radius: 18px !important;
  }

  .brand-row {
    gap: 10px !important;
  }

  .logo-badge {
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
  }

  .logo-text {
    font-size: 24px !important;
    line-height: 0.96 !important;
  }

  .logo-subtitle {
    font-size: 10px !important;
  }

  .hero-copy-block {
    gap: 10px !important;
  }

  .hero-intent {
    width: 100% !important;
    max-width: 11ch !important;
    font-size: 26px !important;
    line-height: 1.07 !important;
    letter-spacing: -0.05em !important;
    padding-top: 2px !important;
  }

  .hero-support {
    width: 100% !important;
    max-width: none !important;
    font-size: 12px !important;
    line-height: 1.62 !important;
  }

  .hero-microfacts {
    gap: 6px !important;
  }

  .hero-microfact {
    font-size: 11px !important;
  }

  .hero-start-link {
    min-height: 50px !important;
    margin-top: 6px !important;
    border-radius: 17px !important;
  }

  .main {
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
  }

  .progress-section {
    margin-bottom: 14px !important;
    padding: 14px 14px 12px !important;
    border-radius: 18px !important;
  }

  .progress-label {
    min-height: 62px !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
  }

  .progress-step-badge {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
    border-radius: 12px !important;
  }

  .progress-step-kicker {
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
  }

  .progress-step-text {
    font-size: 13px !important;
  }

  body.single-step-flow .bento-grid {
    margin-bottom: 92px !important;
  }

  body.single-step-flow .bento-card[data-step] {
    min-height: auto !important;
  }

  body.single-step-flow .card-content,
  body.single-step-flow .submit-content {
    padding: 16px 14px !important;
    gap: 14px !important;
  }

  body.single-step-flow .card-header {
    gap: 8px 12px !important;
  }

  body.single-step-flow .card-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
  }

  body.single-step-flow .card-title {
    font-size: 30px !important;
    line-height: 0.98 !important;
    letter-spacing: -0.05em !important;
  }

  body.single-step-flow .card-intro {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  body.single-step-flow .body-support-cluster .toggle-group {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.single-step-flow .body-support-cluster .toggle-btn {
    min-height: 74px !important;
    padding: 12px !important;
    gap: 6px !important;
    justify-content: flex-start !important;
  }

  body.single-step-flow .body-support-cluster .toggle-desc {
    display: none !important;
  }

  body.single-step-flow .body-support-cluster .toggle-title {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body.single-step-flow .body-support-cluster .field-helper,
  body.single-step-flow #identity-copy {
    font-size: 11px !important;
    line-height: 1.5 !important;
  }

  body.single-step-flow .state-card {
    min-height: 84px !important;
    padding: 12px !important;
  }

  body.single-step-flow .state-desc {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }

  body.single-step-flow .flow-nav-bar {
    bottom: 8px !important;
    padding: 8px !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 22px rgba(49, 57, 44, 0.1) !important;
  }

  body.single-step-flow .flow-nav-summary {
    gap: 1px !important;
  }

  body.single-step-flow .flow-nav-step {
    font-size: 10px !important;
  }

  body.single-step-flow .flow-nav-title {
    font-size: 15px !important;
    line-height: 1.15 !important;
  }

  body.single-step-flow .flow-nav-btn {
    min-height: 42px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    border-radius: 14px !important;
  }

  .modal-content {
    padding: 12px 12px calc(128px + env(safe-area-inset-bottom)) !important;
    scroll-padding-bottom: calc(124px + env(safe-area-inset-bottom)) !important;
  }

  .result-summary-rail {
    gap: 8px !important;
  }

  .result-summary-pill {
    padding: 9px 12px !important;
    border-radius: 14px !important;
  }

  .result-report-field-label {
    font-size: 9px !important;
    line-height: 1.28 !important;
    letter-spacing: 0.11em !important;
  }

  .result-report-field-value {
    font-size: 14px !important;
    line-height: 1.34 !important;
  }

  .result-name {
    max-width: 10.1ch !important;
    font-size: 27px !important;
    line-height: 0.92 !important;
    letter-spacing: -0.062em !important;
  }

  .result-name.is-long {
    max-width: 11ch !important;
    font-size: 24px !important;
    line-height: 0.95 !important;
  }

  .result-name.is-very-long {
    max-width: 11.4ch !important;
    font-size: 22px !important;
    line-height: 0.98 !important;
    letter-spacing: -0.05em !important;
  }

  .result-brand {
    font-size: 14px !important;
    line-height: 1.34 !important;
  }

  .result-advice-note {
    margin-top: 6px !important;
    max-width: 22ch !important;
    font-size: 14px !important;
    line-height: 1.42 !important;
    font-weight: 620 !important;
  }

  .result-description {
    max-width: 31ch !important;
    font-size: 12px !important;
    line-height: 1.58 !important;
  }

  .result-image-stage {
    margin-top: 8px !important;
    gap: 8px !important;
  }

  .result-image {
    min-height: 230px !important;
    padding: 16px 14px 14px !important;
    border-radius: 22px !important;
  }

  .result-image::after {
    inset: 10px !important;
    border-radius: 18px !important;
  }

  .result-image img {
    max-height: 194px !important;
  }

  .result-image-stage > .result-score-panel {
    top: 12px !important;
    right: 12px !important;
  }

  .result-quickfacts {
    gap: 0 !important;
    margin-top: 10px !important;
    padding-top: 4px !important;
  }

  .result-quickfact {
    padding: 12px 0 !important;
    border-radius: 0 !important;
  }

  .result-quickfact:last-child {
    padding-bottom: 4px !important;
  }

  .result-quickfact .decision-card-value {
    font-size: 18px !important;
  }

  .result-quickfact .decision-card-note {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .result-support-card,
  .other-recommendations,
  .result-disclosure {
    padding-top: 20px !important;
  }

  .result-section-heading {
    margin-bottom: 2px !important;
    padding-left: 10px !important;
    font-size: 10px !important;
  }

  .result-detail-title {
    font-size: 22px !important;
    line-height: 1.08 !important;
  }

  .result-section-copy {
    margin-top: -1px !important;
    font-size: 12px !important;
    line-height: 1.66 !important;
  }

  .reason-item {
    padding: 12px 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border-top: 1px solid rgba(24, 32, 23, 0.08) !important;
  }

  .reason-item:first-child {
    border-top: 0 !important;
    padding-top: 0 !important;
  }

  .reason-check {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
  }

  .reason-copy {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .result-section-copy {
    max-width: none !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .spec-item {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .spec-value {
    font-size: 24px !important;
  }

  .spec-note {
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  .other-item {
    gap: 8px !important;
  }

  .other-name {
    font-size: 15px !important;
    line-height: 1.24 !important;
  }

  .other-desc {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  .modal-actions {
    position: static !important;
    margin: 18px 0 0 !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(24, 32, 23, 0.08) !important;
    background: none !important;
    backdrop-filter: none !important;
  }

  .modal-actions .btn-secondary {
    min-height: 44px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 640px) {
  body.single-step-flow .bento-grid {
    margin-bottom: 108px !important;
  }

  body.single-step-flow .bento-card[data-step] .card-content {
    padding-bottom: 122px !important;
  }

  body.single-step-flow .flow-nav-bar {
    left: 6px !important;
    right: 6px !important;
    bottom: 6px !important;
    grid-template-columns: 78px 1fr 94px !important;
    padding: 6px !important;
    gap: 6px !important;
    box-shadow:
      0 10px 20px rgba(77, 66, 38, 0.08),
      0 0 0 1px rgba(146, 176, 40, 0.08) !important;
  }

  body.single-step-flow .flow-nav-title {
    min-width: 0;
    font-size: 15px !important;
  }

  body.single-step-flow .flow-nav-step {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    color: #89a321 !important;
  }

  body.single-step-flow .flow-nav-btn {
    min-height: 42px !important;
  }

  .hero-utility-pill,
  .hero-microfact:first-child,
  .progress-fill,
  .flow-stage-dot.active,
  .style-badge {
    background: linear-gradient(180deg, #eaff87 0%, #d7f44d 100%) !important;
    color: #556118 !important;
    border-color: rgba(145, 171, 34, 0.22) !important;
  }

  .hero-microfact {
    position: relative;
    border-color: rgba(145, 171, 34, 0.14) !important;
  }

  .hero-microfact + .hero-microfact {
    background: rgba(247, 249, 241, 0.92) !important;
  }

  .progress-label.active,
  .progress-label.done,
  .toggle-btn.active,
  .zodiac-btn.active,
  .grip-btn.active,
  .style-card.active,
  .state-card.active {
    box-shadow:
      inset 0 0 0 1px rgba(153, 184, 39, 0.22),
      0 8px 18px rgba(208, 235, 86, 0.08) !important;
  }

  .result-image-stage > .result-score-panel {
    top: 8px !important;
    right: 8px !important;
    gap: 4px !important;
  }

  .result-score-label {
    padding: 4px 7px !important;
    font-size: 8px !important;
    color: #738228 !important;
  }

  .result-score-group {
    padding: 5px 6px !important;
    gap: 4px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 18px rgba(103, 92, 61, 0.06) !important;
  }

  .match-badge {
    width: 46px !important;
    height: 46px !important;
  }

  .match-score {
    font-size: 15px !important;
  }

  .match-percent {
    margin-top: 15px !important;
    font-size: 7px !important;
  }

  .result-score-panel .rank-badge {
    padding: 4px 6px !important;
    font-size: 7px !important;
  }

  .result-quickfact {
    position: relative;
    padding-left: 10px !important;
  }

  .result-quickfact::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    bottom: 13px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(216, 245, 87, 0.95), rgba(174, 203, 42, 0.8));
  }

  .reason-check {
    background: linear-gradient(180deg, rgba(232, 255, 143, 0.9), rgba(247, 250, 236, 0.96)) !important;
    border-color: rgba(150, 181, 41, 0.2) !important;
    color: #6f841c !important;
  }

  .other-meta {
    align-items: center !important;
    gap: 8px !important;
  }

  .other-rank {
    background: rgba(232, 255, 143, 0.36) !important;
    border-color: rgba(145, 171, 34, 0.18) !important;
    color: #66761f !important;
  }

  .other-score {
    font-size: 22px !important;
  }

  .other-angle {
    display: inline-flex !important;
    align-items: center;
    width: fit-content;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: rgba(232, 255, 143, 0.28) !important;
    color: #6b7b20 !important;
  }
}

@media (max-width: 640px) {
  body.flow-entering.single-step-flow .flow-stage-panel,
  body.flow-entering.single-step-flow .bento-card[data-step="1"],
  body.flow-entering.single-step-flow .flow-nav-bar {
    opacity: 1 !important;
    transform: none !important;
  }

  .result-label {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #7b921b !important;
  }

  .result-label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #eaff87 0%, #d7f44d 100%);
    box-shadow: 0 0 0 4px rgba(215, 244, 77, 0.16);
  }

  .result-section-heading,
  .other-title {
    position: relative;
    padding-left: 12px !important;
  }

  .result-section-heading::before,
  .other-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 4px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #eaff87 0%, #d7f44d 100%);
  }

  .result-image-stage {
    --mobile-score-space: 74px;
  }

  .result-headline-row {
    gap: 9px !important;
  }

  .result-header {
    gap: 2px !important;
  }

  .result-image {
    min-height: 228px !important;
    padding: 16px calc(14px + var(--mobile-score-space)) 14px 14px !important;
  }

  .result-image img {
    max-width: calc(100% - var(--mobile-score-space) + 12px) !important;
    max-height: 186px !important;
    transform: translateX(-8px);
  }

  .result-image-stage > .result-score-panel {
    top: 10px !important;
    right: 10px !important;
    width: auto !important;
    justify-items: end !important;
    gap: 4px !important;
  }

  .result-score-label {
    align-self: auto !important;
    white-space: nowrap !important;
    text-align: center !important;
    padding: 4px 8px !important;
    font-size: 8px !important;
  }

  .result-score-group {
    display: grid !important;
    justify-items: center !important;
    gap: 4px !important;
    padding: 6px 6px 7px !important;
    border-radius: 16px !important;
  }

  .match-badge {
    width: 42px !important;
    height: 42px !important;
  }

  .match-score {
    font-size: 14px !important;
  }

  .match-percent {
    margin-top: 14px !important;
    font-size: 7px !important;
  }

  .result-score-panel .rank-badge {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    font-size: 7px !important;
    letter-spacing: 0.08em !important;
  }

  .result-quickfact::before {
    width: 4px !important;
  }

  .other-item {
    gap: 10px !important;
    padding: 15px 0 18px !important;
  }

  .other-meta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .other-topline {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex-wrap: wrap;
  }

  .other-rank {
    padding: 5px 9px !important;
  }

  .other-angle {
    font-size: 11px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .other-score {
    font-size: 20px !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
  }

  .other-img-wrap {
    min-height: 112px !important;
    border-radius: 18px !important;
  }

  .other-img {
    max-height: 98px !important;
  }

  .other-brand {
    font-size: 11px !important;
    line-height: 1.5 !important;
  }

  .other-compare-note {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .other-desc {
    font-size: 12px !important;
    line-height: 1.65 !important;
  }
}
