* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  background: linear-gradient(180deg, #0f1115 0%, #141a22 100%);
  color: #f5f5f5;
}
.container { max-width: 960px; margin: 24px auto; padding: 16px; }
.locale-switch {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 0 2px 10px;
}

.locale-label {
  font-size: 12px;
  color: #9fb3d9;
}

.locale-buttons {
  display: inline-flex;
  gap: 6px;
}

.locale-btn {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #3a455b;
  background: #1b2230;
  color: #bfd0ee;
  font-size: 12px;
  font-weight: 700;
}

.locale-btn.active {
  border-color: #ff9a4a;
  background: #3a2615;
  color: #ffd5b3;
}

.card {
  background: #1a1d22;
  border: 1px solid #2c3139;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
h1, h2 { margin-top: 0; line-height: 1.44; letter-spacing: -0.01em; }
#quiz h2 { margin: 10px 0 10px; font-size: 32px; line-height: 1.5; letter-spacing: -0.01em; }
p { line-height: 1.75; }

.step-kicker {
  display: inline-flex;
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #9fb3d9;
}

#landing h1 { margin-bottom: 12px; line-height: 1.26; max-width: 18ch; letter-spacing: -0.015em; }
#landing p { color: #d9e2f3; line-height: 1.72; max-width: 58ch; }

#landing .illustration-note,
#landing .info-grid,
#landing .flow-strip,
#landing .quick-check,
#landing #startBtn {
  margin-top: 16px;
}
.chip {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #2a313d;
  color: #d7dff0;
}
button {
  background: #ff7a18;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 44px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}
button:hover { opacity: 0.92; }
button:focus-visible {
  outline: 2px solid #7ec0ff;
  outline-offset: 2px;
}
button:disabled { background: #4b4f58; cursor: not-allowed; }
.hidden { display: none; }
.options { display: grid; gap: 10px; margin-top: 14px; }
.option-btn {
  border-radius: 12px;
  text-align: left;
  background: #242a33;
  border: 1px solid #303744;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  padding: 14px;
}
.option-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #364055;
  color: #d8e4ff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.option-btn:hover { background: #2b3340; }
.shortcut-hint {
  margin: 10px 0 0;
  color: #9aa7c2;
  font-size: 13px;
}
.progress-wrap { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.progress { flex: 1; height: 10px; background: #2d333d; border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; width: 0; background: #ff7a18; transition: width 180ms ease; }
.ad-slot {
  margin-top: 16px;
  padding: 10px;
  border: 1px dashed #666;
  border-radius: 10px;
  color: #bbb;
  text-align: center;
}

.unlock-panel {
  margin: 16px 0;
  padding: 22px;
  border: 1px solid #ff9a4a;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 122, 24, 0.16), rgba(31, 41, 55, 0.52));
}

.unlock-panel h3 {
  margin: 6px 0 6px;
}

.unlock-panel p {
  margin: 0 0 12px;
  color: #d9e2f3;
}

.unlock-panel.unlocked {
  border-color: #3f8cff;
  background: rgba(63, 140, 255, 0.12);
}

.premium-content.locked {
  position: relative;
  max-height: 260px;
  overflow: hidden;
  filter: blur(1.5px);
  opacity: 0.48;
  pointer-events: none;
  user-select: none;
}

.premium-content.locked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 29, 34, 0), #1a1d22 76%);
}

.premium-content.unlocked {
  max-height: none;
  overflow: visible;
  filter: none;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

.bar { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.bar .label {
  width: 24px;
  color: #b7c1d6;
  font-weight: 700;
}
.bar .track { flex: 1; height: 10px; background: #2d333d; border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; background: #4ea1ff; }
.actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.actions.muted button { background: #2c3542; }
.result-block {
  margin: 12px 0;
  padding: 24px;
  border: 1px solid #2c3139;
  border-radius: 10px;
  background: #171a1f;
}

#result {
  scroll-margin-top: 20px;
}

#resultTitle {
  margin-bottom: 6px;
  line-height: 1.38;
}

#resultDesc {
  margin: 0 0 4px;
  color: #d6dfef;
  max-width: 56ch;
  line-height: 1.68;
}
.result-block h3 { margin: 0 0 8px 0; font-size: 17px; }
.result-block ul { margin: 0; padding-left: 18px; line-height: 1.6; }
.section-lead {
  margin: 0 0 10px;
  font-size: 14px;
  color: #afc0de;
}

#quiz .section-lead {
  margin-top: 4px;
  max-width: 56ch;
}

#questionText {
  max-width: 34ch;
}
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meta { color: #c3cee6; margin-top: -4px; max-width: 62ch; line-height: 1.65; }
.mix { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 10px; }
.mix-chip {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid #384254;
  background: #202733;
  color: #d0dbf3;
}
.mix-chip.primary {
  border-color: #ff9a4a;
  background: #3a2615;
  color: #ffd5b3;
}
.narrative { margin: 0; color: #d6dfef; line-height: 1.6; }
#result h3 { margin-bottom: 8px; }

.result-snapshot {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 10px;
}

.result-section-title {
  margin: 12px 0 8px;
  font-size: 14px;
  color: #d5e3ff;
}

#result .result-section-title:first-of-type {
  margin-top: 6px;
}

.result-map {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.map-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #3a455b;
  background: #1b2230;
  color: #bfd0ee;
  font-size: 12px;
}

.snapshot-item {
  border: 1px solid #334056;
  background: #161d29;
  border-radius: 10px;
  padding: 10px;
}

.snapshot-label {
  display: block;
  font-size: 12px;
  color: #9eb2d6;
  margin-bottom: 4px;
}

.snapshot-item strong {
  font-size: 14px;
  color: #e4edff;
}

.hero-illustration {
  margin: 14px 0 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed #4a5568;
  background: linear-gradient(180deg, #202634 0%, #1b202b 100%);
  color: #c6d2ea;
  text-align: center;
  font-size: 14px;
}

.illustration-note {
  border: 1px solid #35435e;
  background: #141c29;
  border-radius: 10px;
  padding: 10px 12px;
}

.illustration-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #dce8ff;
}

.illustration-note p {
  margin: 0;
  font-size: 13px;
  color: #b7c6e3;
  line-height: 1.55;
  max-width: 62ch;
}

.removed-result-illustration { margin-top: 8px; }

.illustration-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #3d4a66;
  background: linear-gradient(180deg, rgba(88, 112, 156, 0.22) 0%, rgba(58, 70, 93, 0.28) 100%);
}

.illo-stage {
  position: relative;
  height: 82px;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(88, 112, 156, 0.22) 0%, rgba(58, 70, 93, 0.28) 100%);
}

.hold,
.climber-dot,
.ridge {
  position: absolute;
  display: block;
}

.hold {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #9ac5ff;
  box-shadow: 0 0 0 3px rgba(154, 197, 255, 0.2);
}

.hold-a { top: 20px; left: 18%; }
.hold-b { top: 44px; left: 44%; background: #b5f5c2; box-shadow: 0 0 0 3px rgba(181, 245, 194, 0.2); }
.hold-c { top: 16px; right: 18%; background: #ffd9a3; box-shadow: 0 0 0 3px rgba(255, 217, 163, 0.2); }

.climber-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  left: 34%;
  bottom: 14px;
  background: #f7fafc;
}

.ridge {
  height: 16px;
  border-radius: 8px;
  background: rgba(141, 168, 214, 0.55);
}

.ridge-1 { top: 16px; left: 10%; width: 36%; }
.ridge-2 { top: 40px; left: 30%; width: 52%; }
.ridge-3 { top: 62px; left: 54%; width: 28%; }

#removedResultIllustration[data-type="L"] .ridge { background: rgba(132, 209, 255, 0.7); }
#removedResultIllustration[data-type="A"] .ridge { background: rgba(181, 193, 255, 0.7); }
#removedResultIllustration[data-type="C"] .ridge { background: rgba(153, 233, 193, 0.7); }
#removedResultIllustration[data-type="P"] .ridge { background: rgba(255, 188, 146, 0.75); }
#removedResultIllustration[data-type="T"] .ridge { background: rgba(166, 231, 255, 0.72); }
#removedResultIllustration[data-type="S"] .ridge { background: rgba(226, 188, 255, 0.72); }

.illo-caption {
  margin: 0;
  font-size: 13px;
  color: #d7e6ff;
  line-height: 1.45;
}

.info-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 14px;
}

.info-item {
  border: 1px solid #2f3746;
  border-radius: 10px;
  background: #171c26;
  padding: 10px 12px;
}

.info-item h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #dce8ff;
}

.info-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #b7c6e3;
}

.microcopy {
  margin: 10px 0 0;
  font-size: 13px;
  color: #9fb0cf;
}

.quick-check {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #324059;
  border-radius: 10px;
  background: #141c2a;
}

.quick-check h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #dce8ff;
}

.quick-check ul {
  margin: 0;
  padding-left: 18px;
}

.quick-check li {
  color: #bfd0ee;
  font-size: 13px;
  line-height: 1.55;
}

.flow-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 14px;
}

.flow-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid #3a455b;
  background: #1b2230;
  color: #bfd0ee;
}

.license-note {
  margin-top: 14px;
  font-size: 12px;
  color: #9aa7c2;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .container { margin: 10px auto; padding: 12px; }
  .card { padding: 18px 16px; }
  #quiz h2 { font-size: 28px; line-height: 1.42; }
  .result-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .result-snapshot { grid-template-columns: 1fr; }
  .actions button { width: 100%; }
}

@media (max-width: 390px) {
  #landing h1 {
    max-width: 14ch;
    line-height: 1.22;
    font-size: 29px;
  }

  #landing p,
  .meta,
  #resultDesc,
  #questionText {
    max-width: 100%;
  }

  #quiz h2 {
    font-size: 25px;
    line-height: 1.4;
  }

  .option-btn {
    padding: 12px;
    gap: 8px;
  }

  .illo-stage {
    height: 74px;
  }

  .hero-illustration,
  .removed-result-illustration {
    margin-top: 10px;
  }
}

.policy-links {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9fb3d9;
}

.policy-links a {
  color: #bfd0ee;
  text-decoration: none;
}

.policy-links a:hover {
  text-decoration: underline;
}

/* === ClimbBTI v2 visual direction: chalk-dark route map === */
:root {
  --wall: #080b0f;
  --wall-2: #0f151d;
  --panel: rgba(14, 19, 27, 0.82);
  --panel-solid: #111821;
  --panel-raised: #16202c;
  --chalk: #f4f0e7;
  --muted-text: #aeb8c8;
  --dim-text: #7f8da4;
  --line: rgba(218, 226, 239, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --orange: #ff6b2b;
  --orange-2: #ff9f45;
  --blue: #69d2ff;
  --mint: #8cffc5;
  --violet: #c99cff;
  --danger: #ff6b6b;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-hard: 0 28px 80px rgba(0, 0, 0, 0.48);
  --shadow-glow: 0 0 42px rgba(255, 107, 43, 0.20);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  font-family: ui-rounded, "Avenir Next", "SF Pro Rounded", "Apple SD Gothic Neo", "Pretendard", system-ui, sans-serif;
  color: var(--chalk);
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 107, 43, 0.22), transparent 24rem),
    radial-gradient(circle at 82% 14%, rgba(105, 210, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 50% 100%, rgba(140, 255, 197, 0.10), transparent 30rem),
    linear-gradient(145deg, var(--wall) 0%, #0b1017 44%, #15110d 100%);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black 0%, transparent 78%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

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

.ambient-holds span {
  position: absolute;
  display: block;
  width: 58px;
  height: 32px;
  border-radius: 48% 52% 42% 58%;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 -8px 22px rgba(0,0,0,0.36);
  transform: rotate(var(--r));
  opacity: .45;
  filter: blur(.1px);
}

.ambient-holds span:nth-child(1) { --r: -18deg; left: 6vw; top: 16vh; background-color: rgba(255, 107, 43, .20); }
.ambient-holds span:nth-child(2) { --r: 22deg; right: 9vw; top: 18vh; width: 72px; background-color: rgba(105, 210, 255, .18); }
.ambient-holds span:nth-child(3) { --r: 8deg; left: 10vw; bottom: 18vh; width: 84px; height: 38px; background-color: rgba(140, 255, 197, .15); }
.ambient-holds span:nth-child(4) { --r: -34deg; right: 15vw; bottom: 12vh; width: 46px; background-color: rgba(201, 156, 255, .16); }
.ambient-holds span:nth-child(5) { --r: 12deg; left: 48vw; top: 6vh; width: 38px; height: 24px; background-color: rgba(255, 159, 69, .18); }

.container {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 18px 44px;
}

.locale-switch {
  justify-content: flex-end;
  margin: 0 0 14px;
  gap: 10px;
}

.locale-label {
  color: var(--dim-text);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
}

.locale-buttons {
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 10, 14, 0.58);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
}

.locale-btn {
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--muted-text);
  letter-spacing: .05em;
}

.locale-btn.active {
  color: #160b04;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: 0 8px 18px rgba(255, 107, 43, .28);
}

.card,
.climb-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(180deg, rgba(18, 26, 36, .92), rgba(8, 12, 17, .88));
  box-shadow: var(--shadow-hard), inset 0 1px rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
}

.climb-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 0 40%, rgba(255, 255, 255, .08) 48%, transparent 58%),
    radial-gradient(circle at 92% 8%, rgba(255, 107, 43, .20), transparent 19rem);
  opacity: .8;
}

.climb-card > * { position: relative; z-index: 1; }

.climb-card-hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: 18px 34px;
  align-items: start;
}

.brand-lockup {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  margin-bottom: 4px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px 18px 12px 16px;
  color: #1d0b02;
  font-weight: 950;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: var(--shadow-glow);
  transform: rotate(-8deg);
}

.brand-word {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--chalk);
}

.chip,
.step-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(255, 159, 69, .36);
  background: rgba(255, 107, 43, .12);
  color: #ffd2ad;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 850;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--chalk);
  letter-spacing: -.045em;
}

#landing h1 {
  max-width: 11.5ch;
  margin: 14px 0 14px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: .93;
  font-weight: 950;
  text-wrap: balance;
}

#landing > p {
  max-width: 44rem;
  margin: 0;
  color: #d8dfeb;
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.68;
}

#heroIllustration {
  grid-column: 2;
  grid-row: 2 / span 5;
  align-self: stretch;
  margin: 0;
}

.hero-illustration {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 20%, rgba(105, 210, 255, .20), transparent 14rem),
    linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 18px 40px rgba(0,0,0,.22);
  text-align: left;
}

.illustration-image {
  border: 0;
  border-radius: 20px;
  background: #101823;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

.illo-caption {
  padding: 2px 4px;
  color: var(--muted-text);
}

.illustration-note,
.quick-check,
.info-item,
.result-block,
.snapshot-item,
.ad-slot {
  border: 1px solid var(--line);
  background: rgba(9, 13, 18, .54);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
}

.illustration-note,
.quick-check {
  border-radius: 18px;
  padding: 16px 18px;
}

.illustration-note strong,
.quick-check h3,
.info-item h3,
.result-block h3 {
  color: #fff7ed;
}

.illustration-note p,
.quick-check li,
.info-item p,
.section-lead,
.microcopy,
.meta,
#resultDesc,
.narrative {
  color: var(--muted-text);
}

.info-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.info-item {
  padding: 18px;
  border-radius: 20px;
}

.flow-strip {
  grid-column: 1 / -1;
  gap: 9px;
  margin-top: 8px;
}

.flow-chip,
.map-chip,
.mix-chip {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #dfe8f7;
  padding: 7px 12px;
}

button {
  border: 0;
  border-radius: 16px;
  min-height: 48px;
  padding: 13px 18px;
  color: #180902;
  font-weight: 950;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, #ffd166 0%, var(--orange-2) 35%, var(--orange) 100%);
  box-shadow: 0 14px 30px rgba(255, 107, 43, .26), inset 0 1px rgba(255,255,255,.35);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

button:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 20px 42px rgba(255, 107, 43, .34), inset 0 1px rgba(255,255,255,.38);
}

button:active { transform: translateY(0); }

button:focus-visible {
  outline: 3px solid rgba(105, 210, 255, .86);
  outline-offset: 3px;
}

button:disabled {
  color: #c7d0de;
  background: #3b4655;
  box-shadow: none;
}

#startBtn {
  width: min(360px, 100%);
  min-height: 62px;
  margin-top: 18px;
  font-size: 18px;
  border-radius: 999px;
}

#quiz,
#result {
  max-width: 880px;
  margin: 0 auto;
}

#quiz h2 {
  max-width: 18ch;
  margin: 18px 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  font-weight: 950;
  text-wrap: balance;
}

.progress-wrap {
  gap: 14px;
  margin: 14px 0 10px;
}

#progressText {
  min-width: 54px;
  color: #fdd9bd;
  font-weight: 900;
}

.progress {
  height: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
}

.progress > div {
  background: linear-gradient(90deg, var(--orange), #ffd166, var(--mint));
  box-shadow: 0 0 22px rgba(255, 159, 69, .42);
}

.options {
  gap: 12px;
  margin-top: 20px;
}

.option-btn {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  padding: 18px;
  color: var(--chalk);
  background:
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
    rgba(10, 15, 21, .70);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}

.option-btn:hover {
  background:
    linear-gradient(135deg, rgba(255, 107, 43, .18), rgba(105, 210, 255, .08)),
    rgba(14, 21, 30, .88);
  border-color: rgba(255, 159, 69, .42);
}

.option-shortcut {
  width: 28px;
  height: 28px;
  color: #160b04;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
}

.actions.muted button,
.actions button:not(#unlockFullBtn) {
  color: #e6edf8;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}

#resultTitle {
  margin-top: 10px;
  font-size: clamp(46px, 7vw, 78px);
  line-height: .95;
  font-weight: 950;
}

#resultDesc {
  font-size: 18px;
}

.mix-chip.primary {
  border-color: rgba(255, 159, 69, .55);
  background: rgba(255, 107, 43, .17);
  color: #ffd3b3;
}

.result-snapshot {
  gap: 12px;
}

.snapshot-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px;
}

.snapshot-item::after {
  content: '';
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 70px;
  height: 42px;
  border-radius: 999px 45% 55% 999px;
  background: rgba(255, 107, 43, .18);
  transform: rotate(-18deg);
}

.snapshot-label {
  color: var(--dim-text);
  text-transform: uppercase;
  letter-spacing: .10em;
}

.snapshot-item strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  color: var(--chalk);
  font-size: 18px;
  line-height: 1.35;
}

.result-block {
  border-radius: 24px;
  padding: 24px;
  margin: 14px 0;
}

.result-block h3,
#result h3 {
  font-size: 18px;
  letter-spacing: -.02em;
}

.result-block ul,
.quick-check ul {
  line-height: 1.75;
}

.unlock-panel {
  border-radius: 26px;
  padding: 26px;
  border: 1px solid rgba(255, 159, 69, .48);
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 209, 102, .20), transparent 12rem),
    linear-gradient(135deg, rgba(255, 107, 43, .18), rgba(105, 210, 255, .07));
  box-shadow: var(--shadow-glow), inset 0 1px rgba(255,255,255,.10);
}

.unlock-panel h3 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.05;
}

.premium-content.locked {
  max-height: 300px;
  filter: blur(2px) saturate(.85);
  opacity: .38;
}

.premium-content.locked::after {
  background: linear-gradient(180deg, rgba(8, 12, 17, 0), rgba(8, 12, 17, .96) 74%);
}

.bar {
  gap: 12px;
  margin: 10px 0;
}

.bar .track {
  height: 14px;
  background: rgba(255,255,255,.08);
}

.bar .fill {
  background: linear-gradient(90deg, var(--blue), var(--mint));
  box-shadow: 0 0 18px rgba(105,210,255,.35);
}

.ad-slot {
  color: var(--dim-text);
  border-style: dashed;
  border-radius: 18px;
  padding: 14px;
  min-height: 96px;
}

.ad-slot[data-ad-ready="true"] {
  display: block;
  position: relative;
  overflow: hidden;
}

.ad-slot .ad-fallback {
  display: block;
  padding: 14px;
}

.ad-slot .adsbygoogle {
  min-height: 90px;
}

.ad-slot.ad-unfilled {
  background: rgba(9, 13, 18, .54);
}

.policy-links a {
  color: #ffd1a3;
}

@media (max-width: 860px) {
  .climb-card-hero {
    min-height: auto;
    display: block;
  }

  #heroIllustration {
    margin-top: 22px;
  }

  #landing h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 14px 10px 32px;
  }

  .locale-switch {
    justify-content: center;
  }

  .card,
  .climb-card {
    border-radius: 24px;
    padding: 20px 16px;
  }

  #landing h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  #landing > p,
  #resultDesc {
    font-size: 16px;
  }

  #quiz h2 {
    max-width: 12ch;
    font-size: clamp(32px, 10vw, 46px);
  }

  .info-grid,
  .result-grid,
  .result-snapshot {
    grid-template-columns: 1fr;
  }

  .result-block,
  .unlock-panel,
  .snapshot-item {
    padding: 18px;
  }

  .actions button,
  #startBtn,
  #unlockFullBtn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Korean/CJK polish: avoid awkward syllable splitting in large headings. */
h1, h2, h3, button, .chip, .flow-chip, .map-chip, .mix-chip {
  word-break: keep-all;
  overflow-wrap: normal;
}

@media (max-width: 640px) {
  #landing h1 {
    max-width: 9.8ch;
    font-size: clamp(38px, 12.2vw, 52px);
    line-height: 1.02;
  }
}

/* Visibility must win over layout classes. Keep this at the end. */
.hidden {
  display: none !important;
}

.brand-origin {
  position: relative;
  width: min(100%, 560px);
  margin-top: 18px;
  padding: 16px 18px 16px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .035)),
    radial-gradient(circle at 10% 0%, rgba(255, 159, 69, .24), transparent 14rem);
  box-shadow: inset 0 1px rgba(255,255,255,.09), 0 18px 48px rgba(0,0,0,.18);
  overflow: hidden;
}

.brand-origin::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: var(--shadow-glow);
}

.brand-origin::after {
  content: 'TI';
  position: absolute;
  right: -8px;
  bottom: -22px;
  color: rgba(255, 255, 255, .045);
  font-size: 84px;
  font-weight: 950;
  letter-spacing: -.08em;
  pointer-events: none;
}

.brand-origin-kicker {
  display: inline-flex;
  margin-bottom: 7px;
  color: #ffd2ad;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.brand-origin strong {
  display: block;
  color: var(--chalk);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.brand-origin p {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  max-width: 35rem;
  color: var(--muted-text);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .brand-origin {
    margin-top: 14px;
    padding: 14px 15px 14px 17px;
    border-radius: 18px;
  }

  .brand-origin::after {
    font-size: 64px;
    bottom: -18px;
  }
}

@media (max-width: 760px) {
  #landing h1 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: .98;
  }

  #landing #startBtn {
    width: 100%;
    margin-top: 14px;
  }

  #landingMicrocopy {
    margin-top: 8px;
  }
}

.share-hook-line {
  margin: 14px 0 12px;
  padding: 18px;
  border: 1px solid rgba(255, 154, 74, 0.42);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 122, 24, 0.18), rgba(78, 161, 255, 0.08));
}

.share-hook-line span,
.quick-match-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #ffbd7a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.share-hook-line strong {
  display: block;
  color: #fff7ed;
  font-size: clamp(20px, 5vw, 30px);
  line-height: 1.42;
  letter-spacing: -0.02em;
}

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

.quick-match-card {
  padding: 16px;
  border: 1px solid #2f3a4d;
  border-radius: 14px;
  background: rgba(21, 27, 36, 0.78);
}

.quick-match-card p {
  margin: 0;
  color: #d9e2f3;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .quick-match-grid {
    grid-template-columns: 1fr;
  }
}

/* Result story-card upgrade */
#result {
  isolation: isolate;
  max-width: 940px;
}

#result[data-type="L"] { --result-accent: #ff8a2a; --result-accent-2: #69d2ff; --result-deep: #10263a; }
#result[data-type="A"] { --result-accent: #b9c2ff; --result-accent-2: #69d2ff; --result-deep: #171d3d; }
#result[data-type="C"] { --result-accent: #7cf0b7; --result-accent-2: #ffd166; --result-deep: #102f28; }
#result[data-type="P"] { --result-accent: #ff6b2b; --result-accent-2: #ffd166; --result-deep: #3a150d; }
#result[data-type="T"] { --result-accent: #69d2ff; --result-accent-2: #7cf0b7; --result-deep: #0d2d36; }
#result[data-type="S"] { --result-accent: #e0b7ff; --result-accent-2: #ff9f45; --result-deep: #2b173d; }

#result.climb-card {
  background:
    radial-gradient(circle at 86px 120px, color-mix(in srgb, var(--result-accent, #ff8a2a) 28%, transparent), transparent 16rem),
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--result-accent-2, #69d2ff) 26%, transparent), transparent 18rem),
    linear-gradient(145deg, color-mix(in srgb, var(--result-deep, #10263a) 70%, #05070a), #080c11 62%, #05070a);
}

#result.climb-card::after {
  content: '';
  position: absolute;
  inset: 18px;
  z-index: 0;
  pointer-events: none;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(255,255,255,.10);
  background-image:
    linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,.06) 38% 39%, transparent 39% 100%),
    linear-gradient(115deg, transparent 0 58%, rgba(255,255,255,.045) 58% 59%, transparent 59% 100%);
}

#resultStep {
  border-color: color-mix(in srgb, var(--result-accent, #ff8a2a) 55%, white 5%);
  background: color-mix(in srgb, var(--result-accent, #ff8a2a) 18%, transparent);
  color: #fff0df;
}

#resultTitle {
  max-width: 9ch;
  margin-bottom: 12px;
  text-shadow: 0 18px 58px rgba(0,0,0,.45);
}

#resultTitle::after {
  content: '';
  display: block;
  width: min(260px, 48vw);
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--result-accent, #ff8a2a), var(--result-accent-2, #69d2ff));
  box-shadow: 0 0 28px color-mix(in srgb, var(--result-accent, #ff8a2a) 42%, transparent);
}

#resultDesc,
#resultMeta {
  max-width: 48rem;
}

#result .mix {
  margin-top: 18px;
}

#result .mix-chip,
#result .map-chip {
  backdrop-filter: blur(14px);
}

#result .mix-chip.primary {
  color: #100804;
  background: linear-gradient(135deg, var(--result-accent, #ff8a2a), var(--result-accent-2, #69d2ff));
  border-color: transparent;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--result-accent, #ff8a2a) 28%, transparent);
}

.share-hook-line {
  position: relative;
  overflow: hidden;
  margin: 20px 0 14px;
  padding: clamp(22px, 5vw, 36px);
  border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--result-accent, #ff8a2a) 42%, rgba(255,255,255,.18));
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--result-accent-2, #69d2ff) 24%, transparent), transparent 13rem),
    linear-gradient(135deg, color-mix(in srgb, var(--result-accent, #ff8a2a) 20%, rgba(255,255,255,.06)), rgba(255,255,255,.04));
  box-shadow: 0 24px 70px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.12);
}

.share-hook-line::after {
  content: 'STORY';
  position: absolute;
  right: -10px;
  bottom: -26px;
  color: rgba(255,255,255,.055);
  font-size: clamp(64px, 16vw, 142px);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .8;
}

.share-hook-line span,
.quick-match-card span {
  color: color-mix(in srgb, var(--result-accent, #ff8a2a) 82%, white);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.share-hook-line strong {
  position: relative;
  z-index: 1;
  max-width: 18ch;
  font-size: clamp(30px, 7vw, 64px);
  line-height: .98;
  font-weight: 950;
  text-wrap: balance;
}

.quick-match-grid {
  gap: 14px;
  margin: 14px 0 24px;
}

.quick-match-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 20px;
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.065);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.quick-match-card::before {
  content: '';
  position: absolute;
  right: -24px;
  top: -24px;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--result-accent-2, #69d2ff) 18%, transparent);
}

.result-snapshot {
  margin-top: 14px;
}

.snapshot-item {
  border-color: color-mix(in srgb, var(--result-accent, #ff8a2a) 24%, rgba(255,255,255,.12));
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
}

.snapshot-item::after {
  background: color-mix(in srgb, var(--result-accent, #ff8a2a) 22%, transparent);
}

#removedResultIllustration {
  border-radius: 30px;
  border-style: solid;
  border-color: rgba(255,255,255,.13);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--result-accent-2, #69d2ff) 10%, transparent), rgba(255,255,255,.035));
}

#removedResultIllustration .illustration-image {
  border-radius: 24px;
}

@media (max-width: 640px) {
  #resultTitle {
    max-width: 8.5ch;
    font-size: clamp(42px, 13vw, 58px);
  }

  .share-hook-line {
    border-radius: 24px;
  }

  .share-hook-line strong {
    max-width: 11ch;
  }
}

/* Mobile polish after visual QA */
@media (max-width: 640px) {
  #resultTitle {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: clamp(38px, 11.2vw, 52px);
  }

  #resultTitle::after {
    margin-top: 14px;
  }

  .result-map {
    gap: 8px;
  }

  .map-chip {
    width: 100%;
    justify-content: center;
  }

  .share-hook-line::after {
    opacity: .68;
    right: -28px;
  }
}

/* Landing conversion upgrade */
.hero-copy {
  display: contents;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #dfe8f7;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .02em;
}

.hero-proof span::before {
  content: '✓';
  margin-right: 6px;
  color: var(--mint);
  font-weight: 950;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

#landing .hero-actions #startBtn {
  margin-top: 0;
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  color: #e6edf8;
  background: rgba(255,255,255,.075);
  font-weight: 900;
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255,255,255,.07);
}

.secondary-cta:hover {
  border-color: rgba(255, 159, 69, .45);
  background: rgba(255, 107, 43, .12);
}

.landing-preview {
  grid-column: 1;
  width: min(100%, 560px);
  margin-top: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(124, 240, 183, .30);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 0%, rgba(124, 240, 183, .18), transparent 10rem),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 18px 48px rgba(0,0,0,.16);
}

.preview-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.landing-preview strong {
  display: block;
  color: var(--chalk);
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.28;
  letter-spacing: -.025em;
}

.landing-preview p {
  margin: 8px 0 0;
  color: var(--muted-text);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .hero-copy {
    display: block;
  }

  .landing-preview {
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .climb-card-hero {
    padding-top: 18px;
  }

  #landing h1 {
    max-width: 10.5ch;
    margin-top: 10px;
  }

  .hero-proof {
    margin-top: 12px;
  }

  .hero-actions {
    position: sticky;
    bottom: 10px;
    z-index: 5;
    margin-top: 16px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background: rgba(8, 12, 17, .78);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 48px rgba(0,0,0,.30), inset 0 1px rgba(255,255,255,.08);
  }

  .hero-actions #startBtn,
  .hero-actions .secondary-cta {
    width: 100%;
  }

  .secondary-cta {
    min-height: 46px;
  }

  .landing-preview {
    border-radius: 20px;
    padding: 16px;
  }
}


/* Landing CTA polish after mobile QA */
#landing h1,
#landing .hero-copy > p {
  word-break: keep-all;
}

@media (max-width: 640px) {
  .hero-actions .secondary-cta {
    min-height: 38px;
    width: auto;
    margin: 0 auto;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #ffd2ad;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .hero-actions .secondary-cta:hover {
    background: transparent;
  }
}

/* Result action hierarchy + score explanation */
.share-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: 18px;
  align-items: start;
  margin: 22px 0 12px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--result-accent, #ff8a2a) 34%, rgba(255,255,255,.12));
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--result-accent, #ff8a2a) 18%, transparent), transparent 13rem),
    rgba(255,255,255,.055);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.share-panel-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 36px) !important;
  line-height: 1.05;
}

.share-panel-copy p {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.65;
}

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

.result-actions button {
  width: 100%;
}

.result-actions .primary-action {
  color: #160b04;
  background: linear-gradient(135deg, var(--result-accent, #ff8a2a), var(--result-accent-2, #69d2ff));
  border: 0;
  box-shadow: 0 16px 38px color-mix(in srgb, var(--result-accent, #ff8a2a) 28%, transparent), inset 0 1px rgba(255,255,255,.38);
}

.result-actions .secondary-action {
  color: #e6edf8;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.result-actions .quiet-action {
  grid-column: 1 / -1;
  min-height: 40px;
  color: var(--muted-text);
  background: transparent;
  border: 1px dashed rgba(255,255,255,.16);
  box-shadow: none;
}

.score-bars {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.score-row {
  display: block;
  margin: 0;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}

.score-row.top-score {
  border-color: color-mix(in srgb, var(--result-accent, #ff8a2a) 50%, rgba(255,255,255,.12));
  background: color-mix(in srgb, var(--result-accent, #ff8a2a) 12%, rgba(255,255,255,.045));
}

.score-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.score-code {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #160b04;
  font-weight: 950;
  background: linear-gradient(135deg, var(--result-accent, #ff8a2a), var(--result-accent-2, #69d2ff));
}

.score-name {
  color: var(--chalk);
  font-weight: 900;
  line-height: 1.25;
}

.score-value {
  color: #ffd2ad;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.score-row .track {
  height: 12px;
  margin: 0;
}

.score-desc {
  margin: 9px 0 0;
  color: var(--muted-text);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .share-panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
    padding: 18px;
  }

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

  .score-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .score-value {
    grid-column: 2;
  }
}

/* Partner compatibility section */
.compatibility-section {
  margin: 16px 0;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid color-mix(in srgb, var(--result-accent-2, #69d2ff) 30%, rgba(255,255,255,.12));
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--result-accent-2, #69d2ff) 18%, transparent), transparent 13rem),
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.compatibility-heading span,
.compat-card span,
.compat-tip span {
  display: inline-flex;
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--result-accent-2, #69d2ff) 84%, white);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.compatibility-heading h3 {
  margin: 0 0 8px !important;
  font-size: clamp(25px, 4.8vw, 42px) !important;
  line-height: 1.05;
}

.compatibility-heading p {
  margin: 0;
  max-width: 44rem;
  color: var(--muted-text);
  line-height: 1.65;
}

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

.compat-card,
.compat-tip {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(7, 10, 14, .34);
}

.compat-card.best {
  border-color: color-mix(in srgb, var(--result-accent-2, #69d2ff) 36%, rgba(255,255,255,.12));
}

.compat-card.caution {
  border-color: color-mix(in srgb, var(--result-accent, #ff8a2a) 30%, rgba(255,255,255,.12));
}

.compat-card strong {
  display: block;
  color: var(--chalk);
  font-size: clamp(20px, 3.6vw, 30px);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.compat-card p,
.compat-tip p {
  margin: 10px 0 0;
  color: var(--muted-text);
  line-height: 1.65;
}

.compat-tip {
  margin-top: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--result-accent, #ff8a2a) 13%, transparent), rgba(255,255,255,.035));
}

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

  .compatibility-section {
    border-radius: 24px;
    padding: 18px;
  }
}

/* Compatibility mobile polish */
.compat-card p,
.compat-tip p {
  font-size: 14px;
}

@media (max-width: 760px) {
  .compatibility-section {
    margin: 14px 0;
  }

  .compatibility-heading h3 {
    font-size: clamp(23px, 7vw, 32px) !important;
  }

  .compat-card,
  .compat-tip {
    padding: 16px;
  }
}

/* Session chemistry calculator */
.chemistry-calculator {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: 14px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--result-accent, #ff8a2a) 34%, rgba(255,255,255,.12));
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--result-accent, #ff8a2a) 16%, transparent), transparent 12rem),
    rgba(255,255,255,.045);
}

.chemistry-control label,
.chemistry-result > span {
  display: block;
  margin-bottom: 8px;
  color: color-mix(in srgb, var(--result-accent, #ff8a2a) 82%, white);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

#chemistryTypeSelect {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  color: var(--chalk);
  background: rgba(8, 12, 17, .78);
  font-weight: 850;
}

.chemistry-result strong {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 8px;
  color: #160b04;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--result-accent, #ff8a2a), var(--result-accent-2, #69d2ff));
  font-size: clamp(30px, 7vw, 50px);
  line-height: 1;
  font-weight: 950;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--result-accent, #ff8a2a) 24%, transparent);
}

#chemistryVerdict {
  margin: 8px 0 10px;
  color: var(--chalk);
  line-height: 1.58;
  font-weight: 800;
}

#chemistryReasons {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-text);
  line-height: 1.62;
}

@media (max-width: 760px) {
  .chemistry-calculator {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

/* 4-axis composite result profile */
.axis-profile {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 8px;
}

.axis-chip {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--result-accent-2, #69d2ff) 28%, rgba(255,255,255,.12));
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}

.axis-chip span {
  color: var(--muted-text);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.axis-chip strong {
  color: color-mix(in srgb, var(--result-accent-2, #69d2ff) 78%, white);
  font-size: 16px;
  font-weight: 950;
}

@media (max-width: 760px) {
  .axis-profile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Prominent 4-letter ClimbType code */
.result-code-lockup {
  display: inline-grid;
  gap: 6px;
  margin: 16px 0 4px;
  padding: 14px 18px 16px;
  border: 1px solid color-mix(in srgb, var(--result-accent, #ff8a2a) 48%, rgba(255,255,255,.14));
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--result-accent-2, #69d2ff) 22%, transparent), transparent 8rem),
    linear-gradient(135deg, color-mix(in srgb, var(--result-accent, #ff8a2a) 18%, rgba(255,255,255,.06)), rgba(255,255,255,.035));
  box-shadow: 0 18px 48px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.10);
}

.result-code-lockup span {
  color: color-mix(in srgb, var(--result-accent, #ff8a2a) 82%, white);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.result-code-lockup strong {
  color: var(--chalk);
  font-size: clamp(54px, 12vw, 104px);
  line-height: .82;
  font-weight: 950;
  letter-spacing: .02em;
  text-shadow: 0 20px 56px rgba(0,0,0,.40);
}

@media (max-width: 640px) {
  .result-code-lockup {
    width: 100%;
    justify-items: start;
    margin-top: 14px;
  }

  .result-code-lockup strong {
    font-size: clamp(52px, 18vw, 76px);
  }
}
