:root {
  --paper: #f7f2e8;
  --card: #fffdf9;
  --ink: #34404d;
  --muted: #6b7480;
  --line: #e4ded3;
  --travel-paper: #eadfcb;
  --purple: #765d9e;
  --purple-dark: #5d477f;
  --purple-soft: #eee8f4;
  --green: #4d9275;
  --green-dark: #326d58;
  --green-soft: #e4f0e9;
  --blue: #579bb6;
  --blue-dark: #34758f;
  --blue-soft: #e3f0f4;
  --yellow: #ddaa42;
  --yellow-soft: #f8edcf;
  --red: #c96c5b;
  --red-dark: #a64f42;
  --shadow-sm: 0 6px 0 rgba(52, 64, 77, 0.07);
  --shadow-md: 0 18px 50px rgba(71, 61, 51, 0.12);
  --shadow-paper: 0 22px 0 rgba(85, 68, 52, 0.07), 0 30px 70px rgba(71, 61, 51, 0.15);
  --display: "Plus Jakarta Sans", "Manrope", "Nunito Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  background:
    radial-gradient(circle at 18% 9%, rgba(221, 170, 66, 0.09) 0 1px, transparent 1.8px) 0 0 / 19px 19px,
    linear-gradient(rgba(247, 242, 232, 0.94), rgba(247, 242, 232, 0.94)),
    var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-copy strong,
.button {
  font-family: var(--display);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

:target,
:focus {
  scroll-margin-top: 96px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  padding: 14px 0;
  background: rgba(247, 242, 232, 0.93);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(228, 222, 211, 0.9);
  box-shadow: 0 8px 25px rgba(52, 64, 77, 0.05);
  backdrop-filter: blur(12px);
}

.scroll-sentinel {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* 首页只保留 Hero 出发页，测试弹窗仍由 quiz.js 独立控制。 */
.story-section,
.component-section,
.next-stop,
.site-footer {
  display: none !important;
}

.nav-shell {
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 56px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--purple);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 4px 0 rgba(118, 93, 158, 0.12);
  transform: rotate(-4deg);
}

.brand-mark svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.header-cta {
  justify-self: end;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(3px);
  box-shadow: none;
}

.button-primary {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 6px 0 var(--purple-dark);
}

.button-primary:hover {
  background: #8068a7;
}

.button-secondary {
  color: var(--ink);
  background: var(--card);
  border-color: var(--line);
  box-shadow: 0 5px 0 rgba(52, 64, 77, 0.09);
}

.button-small {
  min-height: 46px;
  padding-inline: 18px;
  border-radius: 15px;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 740px;
  padding-block: 84px 110px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 68px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 22px;
  right: -8%;
  width: 62%;
  height: 82%;
  background: var(--purple-soft);
  border-radius: 48% 52% 54% 46% / 44% 38% 62% 56%;
  content: "";
  transform: rotate(-2deg);
}

.hero-flight-path {
  position: absolute;
  z-index: -1;
  inset: 60px -2% auto;
  width: 104%;
  height: 520px;
  overflow: visible;
}

.hero-flight-path path {
  fill: none;
  stroke: rgba(118, 93, 158, 0.24);
  stroke-dasharray: 7 12;
  stroke-linecap: round;
  stroke-width: 2;
}

.flying-plane {
  position: absolute;
  z-index: 2;
  top: 88px;
  right: 7%;
  width: 42px;
  color: var(--purple);
  animation: plane-drift 9s ease-in-out infinite alternate;
}

.flying-plane svg {
  fill: currentColor;
}

.stamp-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.passport-stamp {
  padding: 8px 12px 7px;
  display: inline-flex;
  align-items: center;
  color: var(--purple);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1;
  border: 2px solid currentColor;
  border-radius: 8px;
  transform: rotate(-4deg);
}

.luggage-tag {
  position: relative;
  padding: 10px 18px 10px 26px;
  color: #5d5142;
  font-size: 12px;
  font-weight: 700;
  background: var(--yellow-soft);
  border: 1px solid #e4c987;
  border-radius: 6px 16px 16px 6px;
  box-shadow: 0 3px 0 rgba(221, 170, 66, 0.17);
  transform-origin: left center;
  animation: tag-sway 4s ease-in-out infinite;
}

.luggage-tag::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 6px;
  height: 6px;
  background: var(--paper);
  border: 1px solid #d4b871;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--purple);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 610px;
  margin-bottom: 26px;
  font-size: clamp(52px, 5vw, 68px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.hero h1 span {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--purple-dark);
  white-space: nowrap;
}

.hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -5px;
  bottom: 2px;
  left: -5px;
  height: 15px;
  background: var(--yellow-soft);
  border-radius: 50%;
  content: "";
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 570px;
  margin-bottom: 34px;
  color: #5a6571;
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-note {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.compass-dot {
  width: 13px;
  height: 13px;
  background: var(--green);
  border: 3px solid var(--green-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--green);
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 26px 8px 42px 28px;
}

.postcard {
  margin: 0;
  background: var(--card);
  border: 1px solid #ded5c6;
  box-shadow: var(--shadow-paper);
}

.hero-postcard {
  position: relative;
  padding: 15px 15px 48px;
  border-radius: 24px 24px 18px 18px;
  transform: rotate(1.2deg);
}

.hero-postcard::before {
  position: absolute;
  z-index: 2;
  top: -13px;
  left: 17%;
  width: 106px;
  height: 28px;
  background: rgba(234, 223, 203, 0.87);
  border: 1px solid rgba(183, 165, 135, 0.22);
  content: "";
  transform: rotate(-5deg);
}

.hero-postcard img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 15px;
  filter: saturate(0.94) contrast(0.98);
}

.postcard-caption {
  position: absolute;
  bottom: 16px;
  left: 22px;
  color: #817668;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.postmark {
  position: absolute;
  right: 18px;
  bottom: 10px;
  width: 65px;
  height: 39px;
  display: grid;
  place-items: center;
  color: rgba(201, 108, 91, 0.8);
  font-family: var(--display);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-10deg);
}

.float-card {
  position: absolute;
  z-index: 4;
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.boarding-pass {
  right: -16px;
  bottom: -12px;
  width: 240px;
  padding: 16px 18px 15px;
  border: 1px solid #ded5c6;
  border-radius: 14px;
  transform: rotate(-5deg);
}

.boarding-pass::before,
.boarding-pass::after {
  position: absolute;
  top: 58%;
  width: 16px;
  height: 16px;
  background: var(--purple-soft);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.boarding-pass::before { left: -8px; }
.boarding-pass::after { right: -8px; }

.boarding-pass > span {
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.boarding-pass > strong {
  display: block;
  margin: 5px 0 12px;
  font-family: var(--display);
  font-size: 18px;
}

.boarding-meta {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr;
  align-items: baseline;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed #cfc5b6;
}

.boarding-meta small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
}

.boarding-meta b {
  font-family: var(--display);
  font-size: 12px;
}

.boarding-pass > i {
  width: 2px;
  height: 24px;
  display: inline-block;
  margin: 8px 2px 0;
  background: var(--ink);
  opacity: 0.65;
}

.boarding-pass > i:nth-of-type(2),
.boarding-pass > i:nth-of-type(5) { width: 5px; }

.photo-note {
  bottom: 16px;
  left: -14px;
  width: 154px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ded5c6;
  border-radius: 12px;
  transform: rotate(4deg);
}

.photo-note svg {
  width: 32px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.photo-note span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.story-section {
  position: relative;
  overflow: hidden;
  padding: 118px 0 135px;
  background: var(--card);
  border-block: 1px solid var(--line);
}

.story-section::before {
  position: absolute;
  top: -96px;
  right: -100px;
  width: 320px;
  height: 230px;
  background: var(--green-soft);
  border-radius: 47% 53% 36% 64% / 54% 34% 66% 46%;
  content: "";
  transform: rotate(8deg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 72px;
}

.section-heading .eyebrow {
  color: var(--green);
}

.section-heading h2,
.next-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 4vw, 48px);
  font-weight: 830;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.section-heading > p:last-child,
.split-heading > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.journey-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.journey-line {
  position: absolute;
  top: -25px;
  right: 2%;
  left: 2%;
  width: 96%;
  height: 140px;
}

.journey-line path {
  fill: none;
  stroke: rgba(77, 146, 117, 0.46);
  stroke-dasharray: 6 9;
  stroke-linecap: round;
  stroke-width: 2;
}

.journey-stop {
  position: relative;
  padding-top: 31px;
  transition-delay: var(--delay);
}

.journey-stop:nth-of-type(even) {
  padding-top: 83px;
}

.stop-number {
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 13px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 850;
  background: var(--green);
  border: 4px solid var(--card);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(77, 146, 117, 0.35);
}

.journey-stop:nth-of-type(even) .stop-number {
  top: 58px;
}

.scene-icon {
  position: relative;
  width: 100%;
  height: 148px;
  margin-bottom: 24px;
  overflow: hidden;
  background: var(--green-soft);
  border: 1px solid #cfe1d6;
  border-radius: 26px 26px 18px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.journey-stop:hover .scene-icon {
  box-shadow: 0 11px 0 rgba(77, 146, 117, 0.1);
  transform: translateY(-4px);
}

.journey-stop h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.journey-stop p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.suitcase-scene::after,
.city-scene::after,
.group-scene::after,
.detour-scene::after,
.compass-scene::after {
  position: absolute;
  right: -10px;
  bottom: -20px;
  width: 120px;
  height: 68px;
  background: rgba(77, 146, 117, 0.13);
  border-radius: 50%;
  content: "";
}

.case-body {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 50%;
  width: 75px;
  height: 83px;
  background: var(--red);
  border-radius: 14px 14px 17px 17px;
  box-shadow: inset -12px -10px 0 rgba(119, 48, 38, 0.13);
  transform: translateX(-50%) rotate(-3deg);
}

.case-handle {
  position: absolute;
  z-index: 1;
  top: 25px;
  left: 50%;
  width: 34px;
  height: 27px;
  border: 7px solid var(--ink);
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
  transform: translateX(-50%) rotate(-3deg);
}

.tag-tail {
  position: absolute;
  z-index: 3;
  top: 61px;
  left: 54%;
  width: 41px;
  height: 20px;
  background: var(--yellow);
  border-radius: 5px;
  transform: rotate(13deg);
}

.city-scene span {
  position: absolute;
  bottom: 22px;
  width: 44px;
  background: var(--blue);
  border-radius: 7px 7px 0 0;
}

.city-scene span:nth-child(1) { left: 25px; height: 64px; }
.city-scene span:nth-child(2) { left: 76px; height: 93px; background: var(--purple); }
.city-scene span:nth-child(3) { left: 128px; height: 48px; background: var(--yellow); }
.city-scene i {
  position: absolute;
  top: 27px;
  right: 34px;
  width: 35px;
  height: 35px;
  background: var(--yellow-soft);
  border: 6px solid var(--yellow);
  border-radius: 50%;
}

.group-scene span {
  position: absolute;
  bottom: 24px;
  width: 46px;
  height: 74px;
  background: var(--green);
  border-radius: 24px 24px 12px 12px;
}

.group-scene span::before {
  position: absolute;
  top: -30px;
  left: 8px;
  width: 31px;
  height: 31px;
  background: #d49a78;
  border-radius: 50%;
  content: "";
}

.group-scene span:nth-child(1) { left: 35px; transform: scale(0.84); background: var(--blue); }
.group-scene span:nth-child(2) { left: calc(50% - 23px); z-index: 2; height: 88px; }
.group-scene span:nth-child(3) { right: 35px; transform: scale(0.9); background: var(--purple); }

.detour-scene span {
  position: absolute;
  right: 25px;
  bottom: 26px;
  left: 25px;
  height: 15px;
  border: 4px solid var(--red);
  border-top: 0;
  border-radius: 0 0 50% 50%;
  transform: rotate(-8deg);
}

.detour-scene i {
  position: absolute;
  top: 28px;
  left: 34px;
  width: 13px;
  height: 13px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 48px 35px 0 var(--red), 98px 14px 0 var(--red);
}

.detour-scene b {
  position: absolute;
  top: 31px;
  right: 35px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--purple);
  font: 900 25px/1 var(--display);
  background: var(--card);
  border: 2px solid var(--purple);
  border-radius: 50%;
  transform: rotate(7deg);
}

.compass-scene span {
  position: absolute;
  top: 26px;
  left: 50%;
  width: 93px;
  height: 93px;
  background: var(--card);
  border: 7px solid var(--blue);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #bdd5df;
  transform: translateX(-50%);
}

.compass-scene span::before,
.compass-scene span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  transform: translate(-50%, -50%) rotate(35deg);
}

.compass-scene span::before {
  width: 14px;
  height: 64px;
  background: linear-gradient(to bottom, var(--red) 50%, var(--ink) 50%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.compass-scene span::after {
  width: 13px;
  height: 13px;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.component-section {
  position: relative;
  overflow: hidden;
  padding: 128px 0 140px;
}

.component-section::before {
  position: absolute;
  z-index: -1;
  top: 300px;
  left: -130px;
  width: 420px;
  height: 420px;
  background: var(--blue-soft);
  border-radius: 50%;
  content: "";
  filter: blur(1px);
}

.component-section .eyebrow {
  color: var(--blue-dark);
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 80px;
}

.split-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
}

.component-studio {
  overflow: hidden;
  background: var(--card);
  border: 1px solid #dcd5ca;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.studio-toolbar {
  min-height: 78px;
  padding: 14px 18px 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #f9f5ee;
  border-bottom: 1px solid var(--line);
}

.tab-list {
  padding: 5px;
  display: flex;
  gap: 4px;
  background: #ece5da;
  border-radius: 16px;
}

.tab-list button {
  min-height: 44px;
  padding: 0 18px;
  color: #626b75;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.tab-list button[aria-selected="true"] {
  color: var(--blue-dark);
  background: var(--card);
  box-shadow: 0 3px 9px rgba(52, 64, 77, 0.08);
}

.config-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.config-badge i {
  width: 9px;
  height: 9px;
  background: var(--green);
  border: 2px solid #dceee5;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--green);
}

.studio-panel {
  min-height: 670px;
}

.studio-panel[hidden] {
  display: none;
}

.question-layout {
  min-height: 670px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
}

.route-progress {
  padding: 42px 34px;
  color: #eaf5f8;
  background: var(--blue-dark);
}

.progress-title {
  margin-bottom: 42px;
  display: grid;
  gap: 5px;
}

.progress-title span {
  color: #bcdce7;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.progress-title strong {
  font-family: var(--display);
  font-size: 22px;
}

.route-track {
  position: relative;
  height: 8px;
  margin: 0 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
}

.route-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: var(--yellow);
  border-radius: inherit;
  transition: width 400ms ease;
}

.route-plane {
  position: absolute;
  top: 50%;
  left: 42%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: var(--yellow);
  border: 3px solid var(--blue-dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left 400ms ease;
}

.route-stops {
  margin: 0 0 48px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  color: #bcdce7;
  font-size: 10px;
  font-weight: 750;
  list-style: none;
}

.route-stops .is-passed,
.route-stops .is-current {
  color: #fff;
}

.map-note {
  padding: 22px;
  color: #d7ecf2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
}

.map-note svg {
  width: 42px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.map-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.question-card {
  padding: 54px clamp(36px, 6vw, 84px) 46px;
}

.ticket-label {
  min-height: 34px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.ticket-label b {
  width: 38px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--card);
  font-family: var(--display);
  background: var(--blue);
  border-radius: 7px;
  transform: rotate(3deg);
}

.question-card h3,
.interlude-copy h3,
.result-copy h3 {
  margin-bottom: 17px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.question-card > p:not(.preview-note),
.interlude-copy > p:not(.eyebrow),
.result-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 16px;
}

.option-list {
  display: grid;
  gap: 13px;
}

.option-card {
  min-height: 72px;
  width: 100%;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  text-align: left;
  background: #fcfaf6;
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.option-card:hover {
  background: var(--blue-soft);
  border-color: #91bbca;
  box-shadow: 0 4px 0 rgba(87, 155, 182, 0.14);
  transform: translateY(-4px);
}

.option-card:active {
  transform: translateY(1px);
}

.option-card.is-selected {
  background: var(--blue-soft);
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.option-key {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 850;
  background: #fff;
  border: 1px solid #c9dce3;
  border-radius: 12px;
}

.option-card > span:nth-child(2) {
  font-size: 15px;
  font-weight: 650;
}

.option-card svg {
  width: 22px;
  fill: none;
  stroke: var(--blue-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.preview-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.interlude-panel {
  padding: 62px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 70px;
  background: var(--blue-soft);
}

.interlude-panel[hidden],
.result-panel[hidden] {
  display: none;
}

.blue-stamp {
  margin-bottom: 30px;
  color: var(--blue-dark);
}

.blue-button {
  background: var(--blue-dark);
  box-shadow: 0 6px 0 #285f75;
}

.blue-button:hover {
  background: #3f829d;
}

.interlude-postcard {
  margin: 0;
  padding: 16px 16px 46px;
  background: var(--card);
  border: 1px solid #d2d9da;
  border-radius: 20px;
  box-shadow: var(--shadow-paper);
  transform: rotate(2.2deg);
}

.interlude-postcard figcaption {
  margin: 13px 3px 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.postcard-art {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #cfe6ed;
  border-radius: 13px;
}

.sun {
  position: absolute;
  top: 42px;
  right: 68px;
  width: 68px;
  height: 68px;
  background: var(--yellow);
  border-radius: 50%;
}

.mountain {
  position: absolute;
  bottom: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.mountain-one {
  right: -30px;
  bottom: 54px;
  width: 300px;
  height: 225px;
  background: #6da887;
}

.mountain-two {
  right: 170px;
  bottom: 48px;
  width: 270px;
  height: 177px;
  background: var(--green);
}

.road {
  position: absolute;
  right: -32px;
  bottom: -40px;
  width: 120%;
  height: 210px;
  background: #e9d2ab;
  border-radius: 50% 0 0;
  clip-path: polygon(0 79%, 100% 4%, 100% 52%, 12% 100%);
}

.tiny-car {
  position: absolute;
  z-index: 2;
  right: 29%;
  bottom: 83px;
  width: 51px;
  height: 25px;
  background: var(--red);
  border-radius: 9px 12px 4px 4px;
  transform: rotate(-12deg);
}

.tiny-car::before,
.tiny-car::after {
  position: absolute;
  bottom: -7px;
  width: 13px;
  height: 13px;
  background: var(--ink);
  border: 3px solid #f1d8b4;
  border-radius: 50%;
  content: "";
}

.tiny-car::before { left: 6px; }
.tiny-car::after { right: 5px; }

.cloud {
  position: absolute;
  width: 65px;
  height: 20px;
  background: rgba(255, 255, 255, 0.83);
  border-radius: 99px;
  animation: cloud-drift 10s ease-in-out infinite alternate;
}

.cloud::before,
.cloud::after {
  position: absolute;
  bottom: 0;
  background: inherit;
  border-radius: 50%;
  content: "";
}

.cloud::before { left: 12px; width: 27px; height: 27px; }
.cloud::after { right: 10px; width: 36px; height: 36px; }
.cloud-one { top: 70px; left: 42px; }
.cloud-two { top: 136px; left: 34%; transform: scale(0.72); animation-delay: -3s; }

.result-panel {
  min-height: 670px;
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 30px;
  background: #f4f7f6;
}

.result-card {
  min-height: 490px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.result-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
}

.result-visual::before,
.result-visual::after {
  position: absolute;
  border: 2px dashed rgba(52, 117, 143, 0.25);
  border-radius: 50%;
  content: "";
}

.result-visual::before { width: 270px; height: 270px; }
.result-visual::after { width: 190px; height: 190px; }

.result-silhouette {
  position: relative;
  z-index: 2;
  width: 135px;
  height: 245px;
}

.result-silhouette i {
  position: absolute;
  display: block;
}

.result-silhouette .head {
  top: 0;
  left: 40px;
  width: 61px;
  height: 71px;
  background: #d89b79;
  border-radius: 49% 51% 45% 55%;
  box-shadow: inset -10px -4px 0 rgba(119, 72, 57, 0.12);
}

.result-silhouette .body {
  bottom: 0;
  left: 16px;
  width: 110px;
  height: 181px;
  background: var(--purple);
  border-radius: 54px 54px 22px 22px;
  clip-path: polygon(17% 0, 83% 0, 100% 100%, 0 100%);
  box-shadow: inset -22px -18px 0 rgba(52, 64, 77, 0.11);
}

.result-silhouette .bag {
  right: -5px;
  bottom: 35px;
  width: 61px;
  height: 75px;
  background: var(--red);
  border-radius: 9px 9px 14px 14px;
  transform: rotate(4deg);
}

.result-stamp {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 24px;
  width: 76px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font: 850 9px/1.25 var(--display);
  letter-spacing: 0.1em;
  text-align: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(-9deg);
}

.result-copy {
  padding: 50px 44px;
}

.tag-row {
  margin-bottom: 33px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-row span {
  padding: 8px 12px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 750;
  background: var(--blue-soft);
  border: 1px solid #c8dfe7;
  border-radius: 9px 15px 15px 9px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.share-card {
  position: relative;
  min-height: 440px;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 20px;
  box-shadow: 0 12px 0 rgba(52, 117, 143, 0.14);
  transform: rotate(2.5deg);
}

.share-ticket {
  display: inline-flex;
  padding: 5px 8px;
  color: var(--blue-dark);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: var(--yellow);
  border-radius: 4px;
}

.share-window {
  position: relative;
  height: 190px;
  margin: 20px 0 22px;
  overflow: hidden;
  background: #cfe7ee;
  border: 7px solid #f6f1e6;
  border-radius: 12px;
}

.share-sun {
  position: absolute;
  top: 25px;
  right: 27px;
  width: 45px;
  height: 45px;
  background: var(--yellow);
  border-radius: 50%;
}

.share-road {
  position: absolute;
  right: -18px;
  bottom: -54px;
  left: -18px;
  height: 145px;
  background: var(--green);
  border-radius: 50% 50% 0 0;
}

.share-pin {
  position: absolute;
  z-index: 2;
  bottom: 35px;
  left: 50%;
  width: 30px;
  height: 30px;
  background: var(--red);
  border: 7px solid #f6f1e6;
  border-radius: 50% 50% 50% 0;
  transform: translateX(-50%) rotate(-45deg);
}

.share-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.3;
}

.share-card p {
  color: #d8e9ef;
  font-size: 13px;
  line-height: 1.65;
}

.share-code {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: var(--yellow);
  letter-spacing: 0.2em;
}

.next-stop {
  padding: 0 0 112px;
}

.next-stop-card {
  position: relative;
  min-height: 440px;
  padding: 64px 66px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 30px;
  color: #fff;
  background: var(--green-dark);
  border-radius: 36px;
  box-shadow: 0 12px 0 rgba(50, 109, 88, 0.15);
}

.next-stop-card::before {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: 25px;
  content: "";
  pointer-events: none;
}

.next-copy {
  position: relative;
  z-index: 3;
}

.next-copy .eyebrow {
  margin-top: 26px;
  color: #eaf5f0;
}

.next-copy p:not(.eyebrow) {
  max-width: 530px;
  margin-bottom: 30px;
  color: #dcebe5;
}

.warm-stamp {
  color: #fff0c2;
}

.button-light {
  color: var(--green-dark);
  background: var(--card);
  box-shadow: 0 6px 0 #c8d8d1;
}

.next-illustration {
  position: relative;
  z-index: 2;
  align-self: end;
  width: 100%;
  max-height: 360px;
  overflow: visible;
}

.sunset-disc { fill: var(--yellow); opacity: 0.96; }
.far-hill { fill: #56866f; }
.near-hill { fill: #3d755f; }
.next-road { fill: none; stroke: #ead7b4; stroke-width: 28; stroke-linecap: round; }
.traveler circle { fill: #d79b77; }
.traveler path { fill: var(--purple); stroke: var(--purple); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.traveler rect { fill: var(--red); stroke: #98483d; stroke-width: 4; }
.traveler-two path { fill: var(--blue); stroke: var(--blue); }
.traveler-two rect { fill: var(--yellow); stroke: #a97924; }
.signpost path { fill: none; stroke: #d3b889; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.signpost path:nth-child(n+2) { fill: var(--travel-paper); stroke-width: 4; }
.flight-dash { fill: none; stroke: rgba(255,255,255,.42); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 10; }
.plane-mark { fill: var(--card); }

.site-footer {
  padding: 28px 0 34px;
  background: #efe8dc;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.55fr auto;
  align-items: center;
  gap: 44px;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
}

.footer-brand > div {
  display: grid;
  line-height: 1.3;
}

.footer-brand strong {
  font-family: var(--display);
  font-size: 14px;
}

.footer-brand small {
  color: #58616d;
  font-size: 10px;
}

.disclaimer {
  margin: 0;
  color: #58616d;
  font-size: 11px;
  line-height: 1.65;
}

.site-footer > .footer-grid > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 750;
}

body.quiz-is-open {
  overflow: hidden;
}

.quiz-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
}

.quiz-dialog::backdrop {
  background: rgba(52, 64, 77, 0.42);
}

.quiz-app {
  height: 100dvh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 9%, rgba(221, 170, 66, 0.09) 0 1px, transparent 1.8px) 0 0 / 19px 19px,
    linear-gradient(rgba(247, 242, 232, 0.95), rgba(247, 242, 232, 0.95)),
    var(--paper);
}

/* 结果页直接从结果卡开始，不保留答题阶段的品牌栏和路线进度。 */
.quiz-app.is-result-view .quiz-topbar,
.quiz-app.is-result-view .quiz-route-header {
  display: none;
}

.quiz-topbar {
  position: relative;
  z-index: 5;
  min-height: 78px;
  padding: 11px clamp(20px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--line);
}

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

.quiz-brand .brand-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
}

.quiz-brand > div {
  display: grid;
  line-height: 1.25;
}

.quiz-brand span {
  color: var(--purple);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.quiz-brand strong {
  font-family: var(--display);
  font-size: 15px;
}

.quiz-top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quiz-close {
  width: 46px;
  height: 46px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.quiz-close:hover {
  background: var(--purple-soft);
  transform: rotate(4deg);
}

.quiz-close svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.quiz-route-header {
  position: relative;
  z-index: 4;
  min-height: 58px;
  padding: 17px clamp(28px, 8vw, 145px) 0;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.quiz-route-line {
  position: relative;
  height: 7px;
  display: block;
  background: #ded7cc;
  border-radius: 99px;
}

.quiz-route-line > i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--purple);
  border-radius: inherit;
  transition: width 340ms ease;
}

.quiz-route-line > b {
  position: absolute;
  top: 50%;
  left: 0;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  background: var(--purple);
  border: 3px solid var(--card);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--purple);
  transform: translate(-50%, -50%);
  transition: left 340ms ease;
}

.route-label {
  position: absolute;
  bottom: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
}

.route-label-start { left: clamp(28px, 8vw, 145px); }
.route-label-middle { left: 50%; transform: translateX(-50%); }
.route-label-end { right: clamp(28px, 8vw, 145px); }

.quiz-main {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.quiz-question-screen {
  width: min(calc(100% - 48px), 900px);
  min-height: 100%;
  margin-inline: auto;
  padding: 54px 0 80px;
  display: block;
}

.quiz-question-screen[hidden],
.quiz-result-screen[hidden] {
  display: none;
}

.quiz-question-sheet {
  min-width: 0;
  padding: clamp(34px, 5vw, 62px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 27px;
  box-shadow: var(--shadow-md);
}

.quiz-question-heading {
  padding-bottom: 24px;
  border-bottom: 1px dashed #d9d0c3;
}

.quiz-question-heading .eyebrow {
  color: var(--purple);
}

.quiz-question-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(31px, 3.2vw, 43px);
  font-weight: 840;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.quiz-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quiz-fieldset legend {
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  color: #535e69;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.72;
}

.quiz-options {
  display: grid;
  gap: 13px;
}

.quiz-option {
  width: 100%;
  min-height: 74px;
  padding: 14px 17px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  text-align: left;
  background: #fcfaf6;
  border: 1px solid var(--line);
  border-radius: 19px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .quiz-option:hover {
    background: var(--purple-soft);
    border-color: #b9a7d1;
    box-shadow: 0 5px 0 rgba(118, 93, 158, 0.12);
    transform: translateY(-3px);
  }
}

.quiz-option:active {
  transform: translateY(1px);
}

.quiz-option.is-selected {
  background: var(--purple-soft);
  border-color: var(--purple);
  box-shadow: inset 0 0 0 1px var(--purple);
}

.quiz-option-key {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--purple-dark);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 850;
  background: var(--card);
  border: 1px solid #d2c6e2;
  border-radius: 12px;
}

.quiz-option-copy {
  font-size: 15px;
  font-weight: 620;
  line-height: 1.6;
}

.quiz-option-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--purple);
  font-weight: 850;
}

.quiz-option.is-selected .quiz-option-mark {
  color: #fff;
  background: var(--purple);
  border-radius: 50%;
}

.quiz-replay {
  margin-top: 30px;
  padding: 27px 28px;
  background: var(--yellow-soft);
  border: 1px solid #e4ca8b;
  border-radius: 20px;
  animation: replay-in 300ms ease both;
}

.quiz-replay[hidden] {
  display: none;
}

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

.replay-head .passport-stamp {
  color: #8a651d;
  font-size: 9px;
}

.replay-head small {
  color: #735e37;
  font-size: 11px;
  text-align: right;
}

.quiz-replay h3 {
  margin-bottom: 14px;
  font-size: 21px;
  font-weight: 800;
}

.quiz-replay ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
  color: #5f584d;
  font-size: 13px;
}

.quiz-replay li + li {
  margin-top: 7px;
}

.quiz-replay > p {
  margin: 0;
  padding-top: 15px;
  color: #584d39;
  font-size: 13px;
  border-top: 1px dashed #d9b968;
}

.quiz-status {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.quiz-navigation {
  margin-top: 27px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
}

/* 选项点击后自动进入下一站，保留上一站用于回看。 */
.quiz-navigation [data-quiz-next] {
  display: none;
}

.quiz-navigation .button:disabled {
  color: #9299a0;
  background: #eeeae3;
  border-color: #e3ddd3;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.back-icon {
  order: -1;
}

.quiz-result-screen {
  width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
  padding: 58px 0 90px;
}

.final-result-card {
  --result-accent: var(--purple);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 6px solid var(--result-accent);
  border-radius: 30px;
  box-shadow: var(--shadow-paper);
}

.final-result-card[data-result-accent="green"] {
  --result-accent: var(--green);
}

.final-result-card[data-result-accent="red"] {
  --result-accent: var(--red);
}

.final-result-card[data-result-accent="blue"] {
  --result-accent: var(--blue);
}

.final-result-card[data-result-accent="yellow"] {
  --result-accent: var(--yellow);
}

.final-result-copy {
  max-width: 900px;
  padding: clamp(42px, 6vw, 76px);
}

.final-result-copy .eyebrow {
  color: var(--result-accent);
}

.final-result-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 860;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.result-tagline {
  margin-bottom: 24px;
  color: var(--purple-dark);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 760;
  line-height: 1.5;
}

.result-web-title {
  max-width: 650px;
  margin: -2px 0 15px;
  color: var(--purple-dark);
  font-family: var(--display);
  font-size: clamp(20px, 2.15vw, 30px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.result-meme-line {
  margin: 0 0 22px;
  padding: 12px 15px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #554d60;
  background: color-mix(in srgb, var(--result-accent) 12%, var(--card));
  border-left: 4px solid var(--result-accent);
  border-radius: 5px 14px 14px 5px;
  transform: rotate(-0.35deg);
}

.result-meme-line span {
  flex: 0 0 auto;
  padding: 3px 7px;
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.07em;
  background: var(--result-accent);
  border-radius: 999px;
}

.result-meme-line b {
  font-size: 13px;
  font-weight: 720;
  line-height: 1.6;
}

.result-summary {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 16px;
}

.strength-block {
  padding: 21px 23px;
  background: #f8f4ed;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.strength-block h3 {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 820;
}

.strength-block ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.strength-block li {
  padding: 7px 10px;
  color: #536058;
  font-size: 11px;
  font-weight: 700;
  background: var(--green-soft);
  border-radius: 7px 12px 12px 7px;
}

.result-details-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 26px;
}

.axis-card,
.shadow-card {
  padding: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.detail-card-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.detail-card-heading .eyebrow,
.shadow-card .eyebrow {
  margin-bottom: 7px;
  color: var(--blue-dark);
}

.detail-card-heading h3,
.shadow-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 820;
}

.detail-card-heading .passport-stamp {
  color: var(--blue-dark);
  white-space: nowrap;
}

.axis-list {
  display: grid;
  gap: 20px;
}

.final-axis-labels {
  margin-bottom: 7px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.final-axis-labels span:last-child {
  text-align: right;
}

.final-axis-labels b {
  color: var(--blue-dark);
  font-family: var(--display);
  font-size: 12px;
}

.final-axis-track {
  position: relative;
  height: 8px;
  background: #e8e3dc;
  border-radius: 99px;
}

.final-axis-track i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--blue);
  border-radius: inherit;
}

.final-axis-track b {
  position: absolute;
  top: 50%;
  width: 17px;
  height: 17px;
  background: var(--card);
  border: 4px solid var(--blue-dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.shadow-card {
  background: var(--purple-soft);
  border-color: #d9cce8;
}

.shadow-card > strong {
  margin: 18px 0 14px;
  display: block;
  color: var(--purple-dark);
  font-family: var(--display);
  font-size: 23px;
}

.shadow-card > p:not(.eyebrow) {
  color: #5f5870;
  font-size: 14px;
}

.result-advice {
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px dashed #bdaed0;
}

.result-advice span {
  display: block;
  color: var(--purple-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.result-advice p {
  margin: 5px 0 16px;
  color: #5d5769;
  font-size: 13px;
}

.result-advice p:last-child {
  margin-bottom: 0;
}

.result-disclaimer {
  max-width: 760px;
  margin: 27px auto 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.share-feedback {
  min-height: 23px;
  margin: 10px 0 0;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.final-actions {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
}

.button-quiet {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

@keyframes replay-in {
  from { opacity: 0; transform: translateY(-8px) rotate(-0.4deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal-late {
  transition-delay: 110ms;
}

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

.stamp-pop.is-visible .passport-stamp,
.passport-stamp.stamp-pop {
  animation: stamp-in 420ms 220ms both;
}

@keyframes plane-drift {
  from { transform: translate(-50px, 18px) rotate(-7deg); }
  to { transform: translate(18px, -14px) rotate(4deg); }
}

@keyframes tag-sway {
  0%, 100% { transform: rotate(-1.5deg); }
  50% { transform: rotate(2deg); }
}

@keyframes cloud-drift {
  from { translate: -10px 0; }
  to { translate: 18px 2px; }
}

@keyframes stamp-in {
  0% { opacity: 0; transform: scale(1.45) rotate(-11deg); }
  75% { opacity: 1; transform: scale(0.96) rotate(-3deg); }
  100% { opacity: 1; transform: scale(1) rotate(-4deg); }
}

@media (max-width: 1050px) {
  .hero {
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(48px, 5.3vw, 60px);
  }

  .journey-map {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 52px;
  }

  .journey-line {
    display: none;
  }

  .journey-stop:nth-of-type(even) {
    padding-top: 31px;
  }

  .journey-stop:nth-of-type(even) .stop-number {
    top: 6px;
  }

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

  .share-card {
    min-height: 260px;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    align-items: center;
    transform: none;
  }

  .share-ticket {
    position: absolute;
    top: 20px;
    left: 20px;
  }

  .share-window {
    grid-row: 1 / 4;
    height: 190px;
    margin: 0;
  }

  .share-card strong,
  .share-card p {
    margin: 0;
  }
}

@media (max-width: 820px) {
  .section-shell,
  .nav-shell {
    width: min(calc(100% - 34px), var(--max-width));
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: auto;
    padding-block: 68px 105px;
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero::before {
    top: auto;
    right: -8%;
    bottom: 40px;
    width: 112%;
    height: 46%;
  }

  .hero-flight-path {
    top: 370px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero h1 {
    font-size: clamp(42px, 9vw, 58px);
  }

  .hero-visual {
    padding-inline: 5%;
  }

  .story-section,
  .component-section {
    padding-block: 94px 105px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .question-layout {
    grid-template-columns: 1fr;
  }

  .route-progress {
    padding: 28px 30px;
  }

  .progress-title {
    margin-bottom: 24px;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 15px;
  }

  .route-stops {
    margin-bottom: 0;
  }

  .map-note {
    display: none;
  }

  .question-card {
    padding: 44px 34px;
  }

  .interlude-panel {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .interlude-postcard {
    width: min(100%, 580px);
    margin-inline: auto;
  }

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

  .result-visual {
    min-height: 340px;
  }

  .next-stop-card {
    padding: 58px 46px 0;
    grid-template-columns: 1fr;
  }

  .next-illustration {
    max-width: 620px;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }

  .disclaimer {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .site-header {
    padding-block: 10px;
  }

  .brand-copy small {
    display: none;
  }

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

  .stamp-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 46px);
    line-height: 1.15;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero-visual {
    padding: 14px 0 64px;
  }

  .hero-postcard {
    padding: 10px 10px 42px;
    border-radius: 17px;
  }

  .boarding-pass {
    right: -7px;
    bottom: 0;
    width: 198px;
  }

  .photo-note {
    bottom: 7px;
    left: -7px;
    width: 132px;
  }

  .flying-plane {
    right: 3%;
  }

  .section-heading {
    margin-bottom: 50px;
  }

  .section-heading h2,
  .next-copy h2 {
    font-size: clamp(34px, 9vw, 42px);
  }

  .section-heading > p:last-child,
  .split-heading > p {
    font-size: 16px;
  }

  .journey-map {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .journey-stop,
  .journey-stop:nth-of-type(even) {
    min-height: 148px;
    padding: 8px 0 0 146px;
  }

  .scene-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 124px;
    height: 124px;
    margin: 0;
    border-radius: 20px;
  }

  .stop-number,
  .journey-stop:nth-of-type(even) .stop-number {
    top: -8px;
    left: -7px;
  }

  .city-scene span:nth-child(1) { left: 12px; width: 28px; }
  .city-scene span:nth-child(2) { left: 45px; width: 31px; }
  .city-scene span:nth-child(3) { left: 81px; width: 28px; }
  .city-scene i { right: 10px; }
  .group-scene span:nth-child(1) { left: 8px; }
  .group-scene span:nth-child(3) { right: 8px; }

  .studio-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .tab-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .tab-list button {
    padding-inline: 8px;
    font-size: 12px;
  }

  .config-badge {
    padding-left: 5px;
  }

  .question-card {
    padding: 36px 20px;
  }

  .option-card {
    min-height: 68px;
    padding: 12px 13px;
    gap: 11px;
  }

  .option-card > span:nth-child(2) {
    font-size: 14px;
  }

  .option-card svg {
    width: 18px;
  }

  .interlude-panel,
  .result-panel {
    padding: 34px 20px;
  }

  .postcard-art {
    min-height: 270px;
  }

  .result-copy {
    padding: 34px 24px;
  }

  .result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .share-card {
    min-height: 430px;
    display: block;
  }

  .share-window {
    height: 205px;
    margin: 42px 0 22px;
  }

  .next-stop {
    padding-bottom: 72px;
  }

  .next-stop-card {
    width: calc(100% - 20px);
    padding: 45px 26px 0;
    border-radius: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .disclaimer {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .quiz-question-screen {
    width: min(calc(100% - 34px), 760px);
  }

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

@media (max-width: 640px) {
  .quiz-topbar {
    min-height: 68px;
    padding-inline: 15px;
  }

  .quiz-brand .brand-mark {
    width: 39px;
    height: 39px;
  }

  .quiz-brand span {
    display: none;
  }

  .quiz-brand strong {
    max-width: 190px;
    overflow: hidden;
    display: block;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .quiz-close {
    width: 42px;
    height: 42px;
  }

  .quiz-route-header {
    min-height: 49px;
    padding: 14px 25px 0;
  }

  .route-label {
    font-size: 8px;
  }

  .route-label-start { left: 25px; }
  .route-label-end { right: 25px; }

  .quiz-question-screen {
    width: calc(100% - 20px);
    padding: 22px 0 50px;
  }

  .quiz-question-sheet {
    padding: 29px 18px;
    border-radius: 21px;
  }

  .quiz-question-heading {
    padding-bottom: 18px;
  }

  .quiz-question-heading h2 {
    font-size: clamp(28px, 8.2vw, 35px);
  }

  .quiz-fieldset {
    padding-top: 0;
  }

  .quiz-fieldset legend {
    margin-bottom: 12px;
    font-size: 16px;
  }

  .quiz-option {
    min-height: 69px;
    padding: 12px;
    gap: 11px;
    border-radius: 16px;
  }

  .quiz-option-key {
    width: 34px;
    height: 34px;
  }

  .quiz-option-copy {
    font-size: 14px;
    line-height: 1.5;
  }

  .quiz-option-mark {
    width: 25px;
    height: 25px;
  }

  .quiz-replay {
    padding: 22px 18px;
  }

  .replay-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .replay-head small {
    text-align: left;
  }

  .quiz-navigation {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .quiz-navigation .button {
    width: 100%;
  }

  .quiz-result-screen {
    width: calc(100% - 20px);
    padding: 24px 0 55px;
  }

  .final-result-card {
    border-radius: 23px;
  }

  .final-result-copy {
    padding: 35px 24px;
  }

  .final-result-copy h2 {
    font-size: clamp(42px, 13vw, 56px);
  }

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

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

  .result-meme-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .axis-card,
  .shadow-card {
    padding: 27px 20px;
    border-radius: 20px;
  }

  .detail-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
