:root {
  color-scheme: light;
  --ink: #18202a;
  --ink-soft: #52616c;
  --milk: #f8fbfc;
  --mist: #dceaf0;
  --glass: rgba(248, 252, 253, 0.9);
  --cobalt: #315dd9;
  --cobalt-deep: #1f3e9d;
  --persimmon: #d87550;
  --night: #101b36;
  --line: rgba(29, 47, 61, 0.13);
  --shadow: 0 28px 75px rgba(36, 61, 75, 0.22);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #c4d7e0;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.9), transparent 30rem),
    linear-gradient(145deg, #dfedf3, #a6c0cd);
  color: var(--ink);
}

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

button {
  color: inherit;
}

.app {
  position: relative;
  width: min(100%, 30rem);
  height: 100dvh;
  min-height: 42rem;
  margin: 0 auto;
  overflow: hidden;
  background: var(--milk);
  box-shadow: var(--shadow);
}

.screen {
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #dce9ef;
}

.screen.is-active {
  display: block;
  animation: screen-in 440ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: scale(1.012);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scene-image {
  position: absolute;
  z-index: -5;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.scene-filter {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.scene-filter--intro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 36%, rgba(23, 35, 44, 0.07) 50%, rgba(241, 248, 250, 0.93) 68%, #f7fbfc 100%),
    linear-gradient(90deg, rgba(235, 245, 249, 0.15), transparent 62%);
}

.scene-filter--morning {
  background: linear-gradient(180deg, rgba(248, 252, 253, 0.15), transparent 40%, rgba(20, 34, 43, 0.08) 66%, rgba(228, 239, 244, 0.42));
}

.scene-filter--route {
  background: linear-gradient(180deg, rgba(248, 252, 253, 0.52), transparent 14%, transparent 86%, rgba(238, 247, 250, 0.28));
}

.scene-filter--office {
  background: linear-gradient(180deg, rgba(248, 252, 253, 0.18), transparent 30%, transparent 51%, rgba(18, 29, 38, 0.13) 70%, rgba(18, 29, 38, 0.25) 100%);
}

.scene-filter--afternoon {
  background: linear-gradient(180deg, rgba(255, 238, 215, 0.14), transparent 36%, rgba(31, 43, 61, 0.08) 58%, rgba(30, 37, 55, 0.28) 100%);
}

.scene-filter--night-route {
  background: linear-gradient(180deg, rgba(6, 14, 35, 0.18), transparent 18%, transparent 75%, rgba(7, 13, 32, 0.36));
}

.scene-filter--home-night {
  background: linear-gradient(180deg, rgba(7, 14, 31, 0.2), transparent 38%, rgba(8, 13, 26, 0.08) 55%, rgba(8, 13, 26, 0.36) 100%);
}

.hero {
  position: absolute;
  z-index: -2;
  display: block;
  width: auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 0.45rem 0.4rem rgba(37, 52, 59, 0.2));
}

.hero--intro,
.hero--morning {
  top: 20%;
  left: 50%;
  height: clamp(8rem, 22%, 11.5rem);
}

.hero--intro {
  animation: quiet-breathe 3.2s ease-in-out infinite;
}

@keyframes quiet-breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.18rem);
  }
}

.brandbar,
.topbar,
.route-topbar {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
}

.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(1rem, env(safe-area-inset-top)) 1.1rem 0.85rem;
  color: #26343e;
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.75);
}

.wordmark {
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.wordmark sup {
  margin-left: 0.12rem;
  color: #84a4ff;
  font-size: 0.42rem;
}

.wordmark--dark {
  color: var(--ink);
  text-shadow: none;
}

.wordmark--dark sup {
  color: var(--cobalt);
}

.edition {
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.intro-card {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.1rem 1.15rem max(1.35rem, env(safe-area-inset-bottom));
}

.story-time,
.scene-time {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.62rem;
  border-bottom: 1px solid rgba(24, 32, 42, 0.12);
  color: #52616c;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.story-time {
  margin-bottom: 0.8rem;
}

.story-time time,
.scene-time time,
.route-topbar time {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.02rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.kicker {
  margin: 0 0 0.38rem;
  color: var(--cobalt);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.intro-card h1 {
  max-width: 13ch;
  margin: 0;
  font-family: "Iowan Old Style", "Songti TC", "Noto Serif TC", serif;
  font-size: clamp(2.15rem, 9.8vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.intro-card > p:not(.kicker) {
  max-width: 25rem;
  margin: 0.75rem 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.58;
}

.primary-button {
  display: grid;
  grid-template-columns: 2.55rem 1fr auto;
  gap: 0.72rem;
  align-items: center;
  width: 100%;
  min-height: 3.75rem;
  padding: 0.42rem 1.1rem 0.42rem 0.48rem;
  border: 0;
  border-radius: 999px;
  background: var(--cobalt);
  box-shadow: 0 14px 30px rgba(49, 93, 217, 0.25);
  color: white;
  font-size: 0.96rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.primary-button:active,
.replay-button:active,
.share-button:active,
.result-restart:active {
  transform: scale(0.985);
}

.drop-icon,
.response-drop {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 56% 44% 61% 39% / 67% 43% 57% 33%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.95) 0 9%, transparent 10%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.12));
  transform: rotate(35deg);
}

.drop-icon {
  width: 2.55rem;
  height: 2.55rem;
}

.intro-card > small {
  display: block;
  margin-top: 0.65rem;
  color: #74808a;
  font-size: 0.7rem;
  text-align: center;
}

.topbar {
  display: grid;
  grid-template-columns: 2.35rem 1fr auto;
  gap: 0.72rem;
  align-items: center;
  padding: max(0.85rem, env(safe-area-inset-top)) 0.9rem 1.5rem;
  background: linear-gradient(180deg, rgba(248, 252, 253, 0.92), rgba(248, 252, 253, 0));
}

.topbar--night {
  color: white;
  background: linear-gradient(180deg, rgba(8, 17, 40, 0.72), rgba(8, 17, 40, 0));
}

.icon-button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(24, 32, 42, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 1.02rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.chapter-progress {
  display: grid;
  grid-template-columns: auto 3.2rem;
  gap: 0.42rem;
  align-items: center;
  color: #27343e;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.chapter-progress--light {
  color: white;
  text-shadow: 0 1px 10px rgba(4, 10, 26, 0.48);
}

.chapter-progress i {
  position: relative;
  display: block;
  width: 3.2rem;
  height: 0.2rem;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(24, 32, 42, 0.16);
}

.chapter-progress--light i {
  background: rgba(255, 255, 255, 0.3);
}

.chapter-progress i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress, 20%);
  border-radius: inherit;
  background: var(--cobalt);
  content: "";
}

.chapter-progress--light i::after {
  background: #9db4ff;
}

.mirror-focus {
  position: absolute;
  z-index: 7;
  top: 8.5%;
  right: 6.2%;
  width: 32%;
  aspect-ratio: 0.47;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 49% 49% 45% 45% / 35% 35% 48% 48%;
  background: rgba(224, 237, 242, 0.82);
  box-shadow:
    0 0 0 0.22rem rgba(201, 218, 225, 0.36),
    0 0.8rem 2.2rem rgba(39, 62, 73, 0.23),
    inset 0 0 1.5rem rgba(255, 255, 255, 0.55);
  transform: rotate(0.3deg);
}

.mirror-reflection {
  position: absolute;
  z-index: 0;
  right: -18%;
  bottom: -2%;
  width: auto;
  height: 82%;
  opacity: 0.86;
  filter: saturate(0.88) contrast(0.94);
  transform: scaleX(-1);
}

.fog-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  outline: 0;
  touch-action: none;
  transition: opacity 820ms ease;
}

.fog-canvas:focus-visible {
  box-shadow: inset 0 0 0 0.22rem rgba(49, 93, 217, 0.65);
}

.wipe-prompt {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.45rem;
  color: #334550;
  text-align: center;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.92);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}

.wipe-prompt.is-leaving {
  opacity: 0;
  transform: translateY(-0.35rem);
}

.wipe-prompt strong {
  margin-top: 0.52rem;
  font-family: "Iowan Old Style", "Songti TC", serif;
  font-size: 0.85rem;
  line-height: 1.35;
}

.wipe-prompt button {
  margin-top: 0.7rem;
  padding: 0.3rem 0.42rem;
  border: 0;
  border-bottom: 1px solid rgba(40, 59, 70, 0.35);
  background: transparent;
  color: #455c69;
  font-size: 0.64rem;
  cursor: pointer;
  pointer-events: auto;
}

.wipe-gesture {
  position: relative;
  display: block;
  width: 4.2rem;
  height: 1.5rem;
}

.wipe-gesture::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 0.12rem;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(49, 93, 217, 0.72), transparent);
  content: "";
}

.wipe-gesture i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.32rem;
  height: 1.32rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0.3rem 1rem rgba(45, 70, 82, 0.22);
  transform: translateY(-50%);
  animation: wipe 1.65s ease-in-out infinite;
}

@keyframes wipe {
  0%,
  100% {
    left: 0;
  }
  50% {
    left: 2.9rem;
  }
}

.question-sheet,
.choice-response {
  position: absolute;
  z-index: 18;
  right: 0.62rem;
  bottom: max(0.62rem, env(safe-area-inset-bottom));
  left: 0.62rem;
  max-height: calc(100% - 5.6rem);
  padding: 0.72rem 0.76rem 0.82rem;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 1.35rem;
  background: var(--glass);
  box-shadow: 0 1.2rem 3.4rem rgba(31, 52, 65, 0.22);
  backdrop-filter: blur(22px) saturate(1.12);
  opacity: 0;
  transform: translateY(calc(100% + 2rem));
  transition: opacity 340ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  scrollbar-width: none;
}

.question-sheet::-webkit-scrollbar,
.choice-response::-webkit-scrollbar {
  display: none;
}

.question-sheet.is-visible,
.choice-response.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sheet-handle {
  width: 2.5rem;
  height: 0.22rem;
  margin: 0 auto 0.6rem;
  border-radius: 99px;
  background: #c0cbd1;
}

.question-sheet h2,
.choice-response h2 {
  margin: 0 0 0.45rem;
  font-family: "Iowan Old Style", "Songti TC", "Noto Serif TC", serif;
  font-size: clamp(1.22rem, 5vw, 1.62rem);
  line-height: 1.25;
}

.question-hint {
  margin: 0 0 0.62rem;
  color: #66747e;
  font-size: 0.72rem;
  line-height: 1.45;
}

.answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.48rem;
}

.skin-answer {
  display: grid;
  grid-template-columns: 1.72rem 1fr;
  gap: 0.42rem;
  align-items: center;
  min-height: 4rem;
  padding: 0.45rem 0.48rem;
  border: 1px solid var(--line);
  border-radius: 0.93rem;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.36;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.skin-answer:hover,
.skin-answer:focus-visible {
  border-color: rgba(49, 93, 217, 0.56);
  outline: 0;
  transform: translateY(-2px);
}

.skin-answer:disabled {
  cursor: default;
}

.skin-answer.is-selected {
  border-color: var(--cobalt);
  background: #e9efff;
}

.answer-letter {
  display: grid;
  width: 1.72rem;
  height: 1.72rem;
  place-items: center;
  border: 1px solid rgba(49, 93, 217, 0.2);
  border-radius: 50%;
  background: rgba(236, 241, 255, 0.92);
  color: var(--cobalt-deep);
  font-family: Georgia, serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.skin-answer.is-selected .answer-letter {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: white;
}

.answer-grid--five .q5-answer--advanced {
  grid-column: 1 / -1;
  min-height: 3.55rem;
  background: linear-gradient(105deg, rgba(234, 240, 255, 0.94), rgba(255, 239, 229, 0.92));
}

.choice-response {
  padding: 1.12rem;
}

.choice-response p:not(.kicker) {
  margin: -0.12rem 0 0.8rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.52;
}

.choice-response h2 {
  max-width: calc(100% - 3.6rem);
}

.response-drop {
  position: absolute;
  top: 0.88rem;
  right: 0.88rem;
  width: 2.85rem;
  height: 2.85rem;
  border-color: white;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(49, 93, 217, 0.25));
  box-shadow: 0 0.55rem 1.5rem rgba(41, 81, 117, 0.15);
}

.leaving-dots {
  display: flex;
  gap: 0.33rem;
  justify-content: center;
  min-height: 0.9rem;
}

.leaving-dots i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--cobalt);
  animation: leaving-dot 880ms ease-in-out infinite;
}

.leaving-dots i:nth-child(2) {
  animation-delay: 140ms;
}

.leaving-dots i:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes leaving-dot {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-0.22rem);
  }
}

.route-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: max(1rem, env(safe-area-inset-top)) 1rem 1.45rem;
  background: linear-gradient(180deg, rgba(248, 252, 253, 0.86), rgba(248, 252, 253, 0));
  color: #263640;
}

.route-topbar--night {
  color: white;
  background: linear-gradient(180deg, rgba(7, 14, 34, 0.78), rgba(7, 14, 34, 0));
  text-shadow: 0 1px 10px rgba(2, 7, 20, 0.55);
}

.route-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.08rem;
}

.route-clock b {
  font-size: 0.59rem;
  letter-spacing: 0.14em;
}

.route-map {
  filter: saturate(0.98) contrast(1.01);
}

.route-screen.is-running .route-map {
  animation: map-settle 4.6s ease-out both;
}

@keyframes map-settle {
  from {
    transform: scale(1.016);
  }
  to {
    transform: scale(1);
  }
}

.map-label {
  position: absolute;
  z-index: 6;
  padding: 0.24rem 0.43rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(248, 252, 253, 0.75);
  box-shadow: 0 0.35rem 0.9rem rgba(30, 48, 57, 0.12);
  color: #344650;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  backdrop-filter: blur(10px);
}

.map-label--home {
  top: 79%;
  left: 12%;
}

.map-label--cafe {
  top: 25%;
  left: 11%;
}

.map-label--office {
  top: 10%;
  right: 7%;
}

.map-label--night {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(13, 25, 53, 0.7);
  color: white;
}

.walker {
  position: absolute;
  z-index: 8;
  top: 83%;
  left: 18%;
  width: clamp(3.7rem, 15vw, 4.8rem);
  height: clamp(5.15rem, 21vw, 6.7rem);
  opacity: 0;
  transform: translate(-50%, -100%) scale(0.95);
  transform-origin: 50% 100%;
  will-change: top, left, transform, opacity;
}

.walker img {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  display: block;
  width: auto;
  height: 100%;
  transform: translateX(-50%);
  filter: drop-shadow(0 0.22rem 0.18rem rgba(35, 52, 61, 0.2));
}

.walker--return img {
  transform: translateX(-50%) scaleX(-1);
}

.contact-shadow {
  position: absolute;
  z-index: 1;
  bottom: -0.12rem;
  left: 50%;
  width: 72%;
  height: 0.52rem;
  border-radius: 50%;
  background: rgba(31, 42, 49, 0.28);
  filter: blur(0.18rem);
  transform: translateX(-50%);
}

.route-screen.is-running .walker:not(.walker--return) {
  animation: walk-to-office 4.55s linear 80ms forwards;
}

@keyframes walk-to-office {
  0% { top: 83%; left: 18%; opacity: 0; transform: translate(-50%, -100%) scale(0.96); }
  4% { opacity: 1; }
  16% { top: 76%; left: 26%; transform: translate(-50%, -100%) scale(0.91); }
  31% { top: 67%; left: 36%; transform: translate(-50%, -100%) scale(0.86); }
  46% { top: 55%; left: 43%; transform: translate(-50%, -100%) scale(0.81); }
  61% { top: 43%; left: 50%; transform: translate(-50%, -100%) scale(0.76); }
  74% { top: 32%; left: 59%; transform: translate(-50%, -100%) scale(0.71); }
  87% { top: 22%; left: 71%; transform: translate(-50%, -100%) scale(0.67); }
  96% { opacity: 1; }
  100% { top: 13%; left: 84%; opacity: 0; transform: translate(-50%, -100%) scale(0.62); }
}

.route-screen.is-running .walker--return {
  animation: walk-to-home 4.7s linear 80ms forwards;
}

@keyframes walk-to-home {
  0% { top: 13%; left: 84%; opacity: 0; transform: translate(-50%, -100%) scale(0.62); }
  4% { opacity: 1; }
  16% { top: 22%; left: 71%; transform: translate(-50%, -100%) scale(0.67); }
  30% { top: 32%; left: 59%; transform: translate(-50%, -100%) scale(0.71); }
  45% { top: 43%; left: 50%; transform: translate(-50%, -100%) scale(0.76); }
  60% { top: 55%; left: 43%; transform: translate(-50%, -100%) scale(0.81); }
  75% { top: 67%; left: 36%; transform: translate(-50%, -100%) scale(0.86); }
  88% { top: 76%; left: 26%; transform: translate(-50%, -100%) scale(0.91); }
  96% { opacity: 1; }
  100% { top: 83%; left: 18%; opacity: 0; transform: translate(-50%, -100%) scale(0.96); }
}

.route-caption {
  position: absolute;
  z-index: 10;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 1rem;
  margin: 0;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(248, 252, 253, 0.76);
  box-shadow: 0 0.6rem 1.8rem rgba(32, 52, 63, 0.14);
  color: #344650;
  font-family: "Iowan Old Style", "Songti TC", serif;
  font-size: 0.82rem;
  text-align: center;
  backdrop-filter: blur(14px);
}

.route-caption--night {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(12, 22, 48, 0.72);
  color: white;
}

.hero--office {
  z-index: 2;
  top: 36%;
  left: 12%;
  height: clamp(9.75rem, 27%, 14rem);
  transform-origin: 50% 100%;
  animation: office-arrive 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero--office-late {
  opacity: 0.92;
}

@keyframes office-arrive {
  from { opacity: 0; transform: translateY(0.5rem) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.phone-glow {
  position: absolute;
  z-index: 1;
  top: 36%;
  left: 35%;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: rgba(117, 175, 255, 0.34);
  filter: blur(1.2rem);
  animation: phone-glow 1.4s ease-in-out infinite alternate;
}

@keyframes phone-glow {
  to { opacity: 0.48; transform: scale(1.12); }
}

.scene-time--office,
.scene-time--home {
  position: absolute;
  z-index: 5;
  top: 4.45rem;
  right: 1rem;
  left: 1rem;
  color: #2b3b45;
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.86);
}

.scene-time--home {
  color: white;
  border-color: rgba(255, 255, 255, 0.28);
  text-shadow: 0 1px 12px rgba(3, 8, 21, 0.66);
}

.hero--night {
  z-index: 2;
  top: 38%;
  left: 10%;
  height: clamp(11.5rem, 31%, 16rem);
  filter: drop-shadow(0 0.65rem 0.55rem rgba(5, 10, 23, 0.34));
}

.hero--night-final {
  top: 36%;
  left: 13%;
}

.home-screen .question-sheet {
  background: rgba(248, 252, 253, 0.93);
}

/* Result */
.result-screen {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 90% 2%, rgba(83, 117, 226, 0.17), transparent 22rem),
    linear-gradient(180deg, #f3f8fa 0%, #f9fbfb 34%, #eef4f6 100%);
  scrollbar-width: none;
}

.result-screen::-webkit-scrollbar {
  display: none;
}

.result-topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(0.9rem, env(safe-area-inset-top)) 1rem 0.75rem;
  background: linear-gradient(180deg, rgba(247, 251, 252, 0.96), rgba(247, 251, 252, 0.78));
  border-bottom: 1px solid rgba(24, 32, 42, 0.08);
  backdrop-filter: blur(18px);
}

.text-button {
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 32, 42, 0.28);
  background: transparent;
  color: #4c5b66;
  font-size: 0.73rem;
  cursor: pointer;
}

.result-wrap {
  padding: 1.25rem 0.9rem max(2rem, env(safe-area-inset-bottom));
}

.result-opening {
  padding: 0.8rem 0.25rem 1.45rem;
}

.result-question {
  margin: 0 0 0.72rem;
  color: #63717b;
  font-size: 0.78rem;
  font-weight: 760;
}

.result-opening h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Songti TC", "Noto Serif TC", serif;
  font-size: clamp(2rem, 9vw, 3.1rem);
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.result-opening h1 span {
  display: block;
  margin-top: 0.22rem;
  color: var(--cobalt-deep);
}

.result-opening h1 .result-lead {
  margin-top: 0;
  color: var(--ink);
}

.result-life-line {
  margin: 0.9rem 0 0;
  padding-left: 0.82rem;
  border-left: 0.2rem solid var(--persimmon);
  color: #44545f;
  font-family: "Iowan Old Style", "Songti TC", serif;
  font-size: 1rem;
  line-height: 1.55;
}

.share-section,
.recommendation-section,
.sunscreen-note {
  margin-bottom: 1.8rem;
}

.section-eyebrow {
  margin: 0 0 0.28rem;
  color: var(--persimmon);
  font-family: cursive;
  font-size: 0.78rem;
  font-weight: 700;
}

.share-section > h2 {
  margin: 0 0 0.85rem;
  font-family: "Iowan Old Style", "Songti TC", serif;
  font-size: 1.35rem;
}

.share-card {
  position: relative;
  width: min(100%, 21rem);
  aspect-ratio: 9 / 15;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 78% 23%, rgba(255, 255, 255, 0.72) 0 3%, transparent 3.5%),
    radial-gradient(circle at 12% 55%, rgba(255, 255, 255, 0.4) 0 8%, transparent 8.5%),
    linear-gradient(155deg, #d8e9f2 0%, #eef4f6 46%, #c9d7ff 71%, #efb393 100%);
  box-shadow: 0 1.4rem 3rem rgba(38, 63, 80, 0.2);
}

.share-card::before,
.share-card::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 55% 45% 58% 42% / 62% 43% 57% 38%;
  background: rgba(255, 255, 255, 0.18);
  content: "";
  transform: rotate(24deg);
}

.share-card::before {
  top: 15%;
  right: -9%;
  width: 8rem;
  height: 9rem;
}

.share-card::after {
  bottom: 26%;
  left: -13%;
  width: 6rem;
  height: 7rem;
}

.share-card__brand,
.share-card__chapter {
  position: absolute;
  z-index: 3;
  top: 1.1rem;
  font-weight: 950;
}

.share-card__brand {
  left: 1.1rem;
  letter-spacing: 0.13em;
}

.share-card__chapter {
  right: 1.1rem;
  color: #536675;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.share-card > p {
  position: absolute;
  z-index: 4;
  top: 14%;
  right: 1.2rem;
  left: 1.2rem;
  margin: 0;
  color: #162335;
  font-family: "Iowan Old Style", "Songti TC", "Noto Serif TC", serif;
  font-size: clamp(1.7rem, 8vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.share-card > img {
  position: absolute;
  z-index: 3;
  right: -3%;
  bottom: 17%;
  width: auto;
  height: 49%;
  filter: drop-shadow(0 0.8rem 0.7rem rgba(35, 48, 70, 0.2));
}

.share-card__prompt {
  position: absolute;
  z-index: 5;
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 1rem;
  background: rgba(248, 252, 253, 0.75);
  box-shadow: 0 0.65rem 1.5rem rgba(36, 54, 69, 0.12);
  backdrop-filter: blur(16px);
}

.share-card__prompt span,
.share-card__prompt strong {
  display: block;
}

.share-card__prompt span {
  color: #5c6972;
  font-size: 0.67rem;
}

.share-card__prompt strong {
  margin-top: 0.12rem;
  font-family: "Iowan Old Style", "Songti TC", serif;
  font-size: 0.95rem;
}

.share-card__prompt b {
  position: absolute;
  right: 0.95rem;
  bottom: 0.95rem;
  color: var(--cobalt);
  font-size: 0.67rem;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.share-button {
  min-height: 3.2rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(49, 93, 217, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--cobalt-deep);
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.share-button--primary {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: white;
}

.share-button--wide {
  grid-column: 1 / -1;
}

.friend-copy,
.share-status {
  margin: 0.58rem 0 0;
  color: #65737d;
  font-size: 0.72rem;
  text-align: center;
}

.share-status {
  min-height: 1.15rem;
  color: var(--cobalt-deep);
  font-weight: 760;
}

.recommendation-section {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 1rem 2.4rem rgba(42, 67, 82, 0.1);
}

.section-heading {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.section-heading > span {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 50%;
  background: #e7edff;
  color: var(--cobalt);
  font-family: Georgia, serif;
  font-size: 0.8rem;
  font-weight: 800;
}

.section-heading small {
  color: var(--cobalt);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-heading h2 {
  margin: 0.08rem 0 0;
  font-family: "Iowan Old Style", "Songti TC", serif;
  font-size: 1.17rem;
}

.main-product-area {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.main-product-area.is-duo {
  grid-template-columns: 1fr 1fr;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(31, 48, 60, 0.09);
  border-radius: 1.05rem;
  background: #f7f9f9;
}

.product-card__image {
  display: grid;
  aspect-ratio: 1 / 0.82;
  place-items: center;
  overflow: hidden;
  background: white;
}

.product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__body {
  padding: 0.75rem;
}

.product-card__body small {
  color: var(--persimmon);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.product-card__body h3 {
  margin: 0.2rem 0 0.28rem;
  font-family: "Iowan Old Style", "Songti TC", serif;
  font-size: 1rem;
  line-height: 1.25;
}

.product-card__body p {
  margin: 0;
  color: #62707a;
  font-size: 0.7rem;
  line-height: 1.45;
}

.product-card__body a {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--cobalt);
  font-size: 0.68rem;
  font-weight: 850;
  text-decoration: none;
}

.main-product-area:not(.is-duo) .product-card__image {
  aspect-ratio: 1 / 0.72;
}

.main-product-area:not(.is-duo) .product-card__body {
  padding: 0.9rem;
}

.main-product-area:not(.is-duo) .product-card__body h3 {
  font-size: 1.35rem;
}

.why-card {
  margin-top: 0.75rem;
  padding: 0.82rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #edf2ff, #f9eee8);
}

.why-card span {
  color: var(--cobalt-deep);
  font-size: 0.7rem;
  font-weight: 900;
}

.why-card p {
  margin: 0.3rem 0 0;
  color: #3f505d;
  font-size: 0.82rem;
  line-height: 1.58;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.product-grid.is-single {
  grid-template-columns: 1fr;
}

.extra-copy {
  margin: -0.15rem 0 0.8rem;
  color: #53636e;
  font-size: 0.8rem;
  line-height: 1.55;
}

.sunscreen-note {
  display: grid;
  grid-template-columns: 1fr 7rem;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem;
  border-radius: 1.4rem;
  background: #172744;
  color: white;
  box-shadow: 0 1rem 2.4rem rgba(18, 33, 58, 0.2);
}

.sunscreen-note span {
  color: #f0ad87;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.sunscreen-note h2 {
  margin: 0.35rem 0 0;
  font-family: "Iowan Old Style", "Songti TC", serif;
  font-size: 1.05rem;
  line-height: 1.42;
}

.mini-product {
  padding: 0.42rem;
  border-radius: 0.85rem;
  background: white;
  color: var(--ink);
  text-align: center;
}

.mini-product img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 0.65rem;
}

.mini-product a {
  display: block;
  margin-top: 0.32rem;
  color: var(--cobalt-deep);
  font-size: 0.62rem;
  font-weight: 850;
  line-height: 1.3;
  text-decoration: none;
}

.shop-link,
.result-restart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.7rem;
  margin-bottom: 0.55rem;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.shop-link {
  gap: 0.42rem;
  background: var(--cobalt);
  color: white;
}

.result-restart {
  justify-content: center;
  border: 1px solid rgba(49, 93, 217, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--cobalt-deep);
}

.result-footer {
  padding: 1.1rem 0 0.3rem;
  color: #7b8790;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-align: center;
}

@media (max-height: 44rem) {
  .intro-card {
    padding-top: 1rem;
  }

  .intro-card h1 {
    font-size: 2rem;
  }

  .intro-card > p:not(.kicker) {
    margin: 0.5rem 0 0.7rem;
  }

  .mirror-focus {
    top: 9%;
    width: 28%;
  }

  .skin-answer {
    min-height: 3.55rem;
    font-size: 0.72rem;
  }

  .question-sheet h2 {
    font-size: 1.14rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   V6 — Korean webtoon day-in-the-life direction
   Characters live inside each scene; the route behaves like RPG gameplay.
   ───────────────────────────────────────────────────────────── */

:root {
  --story-serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --story-sans: "Noto Sans TC", "PingFang TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --story-ink: #292624;
  --story-muted: #766b65;
  --story-rose: #a95b48;
  --story-paper: #f8f4ee;
}

body,
button,
a {
  font-family: var(--story-sans);
}

.scene-image--office-desk {
  object-position: 51% 38%;
}

.scene-image--office-pantry {
  object-position: 51% 40%;
}

.scene-image--home-living {
  object-position: 50% 38%;
}

.scene-image--home-vanity {
  object-position: 50% 39%;
}

.scene-filter--office,
.scene-filter--afternoon {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.12), transparent 46%, rgba(44, 31, 24, 0.08) 65%, rgba(39, 29, 24, 0.2) 100%);
}

.scene-filter--home-night {
  background: linear-gradient(180deg, rgba(18, 16, 24, 0.2), transparent 40%, rgba(28, 18, 18, 0.04) 57%, rgba(19, 14, 17, 0.22) 100%);
}

.office-screen .question-sheet,
.home-screen .question-sheet {
  border-color: rgba(91, 69, 59, 0.1);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 -1.3rem 3.2rem rgba(55, 37, 29, 0.13);
}

/* RPG route: the feet are the anchor. JS moves this point along the street. */
.route-map {
  object-position: center;
  filter: saturate(0.88) contrast(1.02) brightness(1.015);
}

.route-screen--night .route-map {
  filter: saturate(0.82) contrast(1.03) brightness(0.96);
}

.scene-filter--route {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.5), transparent 12%, transparent 86%, rgba(255, 249, 242, 0.3));
}

.route-screen.is-running .route-map {
  animation: map-settle 6s ease-out both;
}

.map-label--home {
  top: 72%;
  left: 7%;
}

.map-label--cafe {
  top: 21%;
  left: 8%;
}

.map-label--office {
  top: 8.5%;
  right: 5%;
}

.route-trail path {
  stroke: rgba(105, 76, 63, 0.5);
  stroke-width: 0.58;
  stroke-dasharray: 0.28 1.75;
}

.route-trail--night path {
  stroke: rgba(255, 235, 197, 0.68);
}

.walker,
.route-screen.is-running .walker,
.route-screen.is-running .walker:not(.walker--return),
.route-screen.is-running .walker--return {
  width: clamp(2.65rem, 11.5vw, 3.45rem);
  height: clamp(4.35rem, 18.8vw, 5.65rem);
  opacity: 1;
  animation: none;
  transform: translate(-50%, -100%) scale(var(--walker-scale, 0.72));
  transform-origin: 50% 100%;
  transition: opacity 180ms ease;
  will-change: left, top, transform;
}

.walker img {
  bottom: 0.08rem;
  filter: drop-shadow(0 0.13rem 0.1rem rgba(45, 31, 25, 0.25));
}

.walker.is-arrived {
  opacity: 0;
}

.contact-shadow {
  bottom: -0.01rem;
  width: 58%;
  height: 0.28rem;
  background: rgba(46, 34, 29, 0.34);
  filter: blur(0.08rem);
}

.route-caption {
  right: 1.1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 1.1rem;
  border-radius: 0.75rem;
  background: rgba(255, 252, 247, 0.9);
  color: #4d423d;
  font-family: var(--story-serif);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  transform: none;
}

.route-caption::after {
  content: none;
}

.route-caption--night {
  background: rgba(28, 28, 39, 0.84);
  color: #fffaf4;
}

/* Result: editorial beauty layout first, commerce second. */
.result-screen,
.result-screen button,
.result-screen a {
  font-family: var(--story-sans);
}

.result-screen {
  background:
    radial-gradient(circle at 88% 2%, rgba(196, 130, 106, 0.12), transparent 20rem),
    linear-gradient(180deg, #fbf8f3 0%, #f6f1eb 48%, #eee7df 100%);
  color: var(--story-ink);
}

.result-topbar {
  border-bottom: 1px solid rgba(62, 50, 44, 0.08);
  background: rgba(250, 247, 242, 0.91);
}

.result-wrap {
  padding: 1.3rem 1rem max(2.2rem, env(safe-area-inset-bottom));
}

.result-opening {
  padding: 3.1rem 0.2rem 1.9rem;
}

.result-note {
  top: 0.15rem;
  right: auto;
  left: 0.2rem;
  max-width: none;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(113, 85, 72, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
  color: #735e54;
  font-family: var(--story-sans);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: none;
}

.result-question {
  color: var(--story-muted);
  font-size: 0.72rem;
  letter-spacing: 0.025em;
}

.result-opening h1 {
  color: var(--story-ink);
  font-family: var(--story-serif);
  font-size: clamp(2.1rem, 9vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.result-opening h1 span,
.result-opening h1 .result-lead {
  color: var(--story-ink);
}

.result-opening h1 #resultProductName,
#resultProductName {
  color: #954d3c;
}

.result-life-line {
  margin-top: 1.05rem;
  padding: 0.85rem 0 0.85rem 1rem;
  border: 0;
  border-left: 2px solid #b7725f;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #554b46;
  font-family: var(--story-serif);
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.65;
  transform: none;
}

.share-section {
  padding-top: 0.7rem;
}

.section-eyebrow {
  color: #9b5948;
  font-family: var(--story-sans);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.share-section > h2 {
  margin-bottom: 1rem;
  color: var(--story-ink);
  font-family: var(--story-serif);
  font-size: 1.45rem;
  font-weight: 650;
}

.share-card {
  width: min(100%, 21.5rem);
  aspect-ratio: 9 / 15.5;
  border: 1px solid rgba(88, 69, 59, 0.1);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 90% 8%, rgba(215, 161, 139, 0.22), transparent 12rem),
    linear-gradient(158deg, #fffdf9 0%, #f5eee7 68%, #ead3c5 100%);
  box-shadow: 0 1.45rem 3.4rem rgba(68, 49, 40, 0.18);
}

.share-card::before,
.share-card::after {
  display: none;
}

.share-card__brand,
.share-card__chapter {
  top: 1.15rem;
  font-family: var(--story-sans);
}

.share-card__brand {
  left: 1.15rem;
  color: #2e2927;
  font-size: 0.9rem;
  letter-spacing: 0.17em;
}

.share-card__chapter {
  right: 1.15rem;
  color: #8b776d;
  font-size: 0.45rem;
  letter-spacing: 0.14em;
}

.share-card > #shareCardQuote {
  top: 12%;
  right: 1.15rem;
  left: 1.15rem;
  color: #302a27;
  font-family: var(--story-serif);
  font-size: clamp(1.6rem, 7.7vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.share-card__moment {
  position: absolute;
  z-index: 4;
  top: 36%;
  right: 1rem;
  left: 1rem;
  height: 37%;
  margin: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #e7ddd5;
  box-shadow: 0 0.9rem 2.2rem rgba(56, 40, 32, 0.16);
}

.share-card__moment::after {
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(180deg, transparent, rgba(31, 23, 20, 0.66));
  content: "";
}

.share-card__moment img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.share-card__moment figcaption {
  position: absolute;
  z-index: 2;
  right: 0.8rem;
  bottom: 0.72rem;
  left: 0.8rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.share-card > .share-card__hashtags {
  right: 1rem;
  bottom: 16.8%;
  left: 1rem;
  color: #806d64;
  font-family: var(--story-sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.share-card__prompt {
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  border: 1px solid rgba(108, 80, 66, 0.1);
  border-radius: 0.75rem;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 0.65rem 1.5rem rgba(66, 47, 38, 0.08);
}

.share-card__prompt strong {
  color: #302a27;
  font-family: var(--story-serif);
  font-weight: 650;
}

.share-card__prompt b {
  color: #9f523f;
}

.share-button {
  border-radius: 0.72rem;
  border-color: rgba(110, 77, 63, 0.18);
  background: rgba(255, 253, 249, 0.88);
  color: #75483c;
}

.share-button--primary {
  border: 0;
  background: linear-gradient(110deg, #4f59c9, #376fd8 54%, #bd567c);
  box-shadow: 0 0.65rem 1.55rem rgba(65, 70, 167, 0.2);
  color: #fff;
}

.friend-invite {
  border: 1px solid rgba(134, 90, 72, 0.14);
  border-radius: 0.72rem;
  background: rgba(240, 222, 211, 0.48);
}

.friend-invite b {
  color: #834b3e;
  font-family: var(--story-serif);
  font-weight: 650;
}

.recommendation-section {
  padding: 1.2rem 1rem;
  border: 1px solid rgba(94, 72, 61, 0.1);
  border-radius: 0.9rem;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 0.9rem 2.3rem rgba(77, 55, 44, 0.07);
}

.section-heading {
  grid-template-columns: 2.35rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(91, 69, 59, 0.1);
}

.section-heading > span {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(152, 83, 65, 0.26);
  border-radius: 50%;
  background: transparent;
  color: #985341;
  font-family: var(--story-sans);
  font-size: 0.68rem;
  font-weight: 800;
  transform: none;
}

.section-heading small,
.product-card__body small {
  color: #985341;
  font-family: var(--story-sans);
}

.section-heading h2,
.product-card__body h3,
.sunscreen-note h2 {
  color: var(--story-ink);
  font-family: var(--story-serif);
  font-weight: 650;
}

.product-card {
  border: 1px solid rgba(92, 70, 59, 0.08);
  border-radius: 0.65rem;
  background: #fffdfa;
}

.product-card__image {
  background: linear-gradient(145deg, #f4eee8, #fffdf9);
}

.product-card__body a,
.mini-product a,
.share-status {
  color: #97513f;
}

.why-card {
  border: 1px solid rgba(158, 89, 68, 0.14);
  border-radius: 0.65rem;
  background: #f5e8df;
}

.why-card span {
  color: #8e493a;
}

.sunscreen-note {
  border: 1px solid rgba(94, 72, 61, 0.09);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #f3e9e1, #eee3dc);
}

.shop-link {
  border-radius: 0.7rem;
  background: linear-gradient(115deg, #bb7058, #934d3d);
  box-shadow: 0 0.8rem 1.8rem rgba(140, 72, 53, 0.18);
}

.result-restart {
  border-color: rgba(151, 81, 63, 0.2);
  border-radius: 0.7rem;
  background: rgba(255, 253, 249, 0.7);
  color: #7f493d;
}

@media (max-height: 44rem) {
  .walker,
  .route-screen.is-running .walker {
    width: 2.55rem;
    height: 4.15rem;
  }

  .share-card__moment {
    top: 35%;
  }
}

@media (min-width: 31rem) {
  body {
    padding: 1.2rem 0;
  }

  .app {
    height: calc(100dvh - 2.4rem);
    max-height: 58rem;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 2rem;
  }
}

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

/* v5 · warm editorial skin diary */
:root {
  --ink: #2d2926;
  --ink-soft: #73645d;
  --milk: #fffaf4;
  --mist: #f4e9df;
  --glass: rgba(255, 252, 247, 0.94);
  --cobalt: #c56f56;
  --cobalt-deep: #8c4e40;
  --persimmon: #d57f61;
  --night: #28243d;
  --line: rgba(78, 59, 50, 0.14);
  --shadow: 0 30px 80px rgba(82, 58, 47, 0.2);
}

html {
  background: #eadfd6;
}

body {
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 252, 246, 0.95), transparent 30rem),
    linear-gradient(145deg, #f5ebe2, #dcc9bc);
}

.app {
  background: #fffaf4;
}

.screen {
  background: #f7eee6;
}

.scene-image--mirror {
  object-position: center 45%;
}

.scene-filter--intro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 38%, rgba(69, 48, 41, 0.06) 52%, rgba(255, 250, 244, 0.84) 73%, #fffaf4 100%),
    linear-gradient(90deg, rgba(255, 246, 238, 0.1), transparent 62%);
}

.scene-filter--morning {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.05), transparent 55%, rgba(65, 46, 39, 0.08));
}

.brandbar {
  color: #2f2926;
}

.wordmark sup,
.wordmark--dark sup {
  color: #c56f56;
}

.intro-card {
  padding: 2.3rem 1.2rem max(1.35rem, env(safe-area-inset-bottom));
}

.intro-card::before {
  position: absolute;
  z-index: -1;
  right: -1rem;
  bottom: 0.7rem;
  left: -1rem;
  height: 16rem;
  background: radial-gradient(ellipse at center, rgba(255, 250, 244, 0.94), rgba(255, 250, 244, 0));
  content: "";
}

.intro-kicker {
  color: #9b5a48;
  font-family: cursive;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  transform: none;
  transform-origin: left center;
}

.intro-card h1 {
  max-width: 16ch;
  color: #2d2926;
  font-size: clamp(2.05rem, 9.3vw, 3.1rem);
}

.intro-card > p:not(.kicker) {
  color: #6f615a;
}

.primary-button {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(120deg, #f4b79f, #e89070);
  box-shadow: 0 0.9rem 2.2rem rgba(174, 102, 75, 0.27);
  color: #4e2e27;
}

.intro-card small {
  color: #8b756a;
  font-family: cursive;
  letter-spacing: 0.03em;
  text-align: center;
}

/* The whole viewport is now the mirror surface. */
.mirror-focus {
  z-index: 7;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    inset 0 0 5rem rgba(255, 255, 255, 0.16);
  transform: none;
}

.mirror-reflection {
  display: none;
}

.fog-canvas {
  transition: opacity 1250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wipe-prompt {
  justify-content: flex-end;
  padding: 0 2rem 8.3rem;
  color: #594940;
  text-shadow: 0 1px 15px rgba(255, 255, 255, 0.98);
}

.wipe-prompt.is-wiping {
  opacity: 0;
  transform: translateY(0.45rem);
}

.wipe-prompt strong {
  font-size: 1rem;
  line-height: 1.55;
}

.wipe-gesture::before {
  background: linear-gradient(90deg, transparent, rgba(197, 111, 86, 0.82), transparent);
}

.wipe-gesture i {
  box-shadow: 0 0.35rem 1rem rgba(102, 71, 59, 0.22);
}

.question-sheet,
.choice-response {
  right: 0.72rem;
  bottom: max(0.72rem, env(safe-area-inset-bottom));
  left: 0.72rem;
  max-height: calc(100% - 5.4rem);
  padding: 0.8rem 0.82rem 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.55rem;
  background:
    linear-gradient(rgba(255, 252, 247, 0.94), rgba(255, 252, 247, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(127, 94, 77, 0.06) 31px 32px);
  box-shadow: 0 1.25rem 3.4rem rgba(83, 58, 47, 0.24);
  backdrop-filter: blur(18px) saturate(1.05);
}

.sheet-handle {
  background: #d9c7bb;
}

.question-sheet h2,
.choice-response h2 {
  color: #302925;
  letter-spacing: -0.025em;
}

.question-hint {
  color: #826f65;
  font-size: 0.8rem;
}

.kicker {
  color: #b45f49;
}

.answer-grid {
  grid-template-columns: 1fr;
  gap: 0.48rem;
}

.skin-answer {
  grid-template-columns: 2.1rem 1fr;
  min-height: 3.35rem;
  padding: 0.48rem 0.58rem;
  border-color: rgba(102, 76, 64, 0.12);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.78);
  color: #3c332f;
  font-size: 0.86rem;
  font-weight: 700;
}

.answer-letter {
  width: 2.05rem;
  height: 2.05rem;
  border-color: rgba(197, 111, 86, 0.22);
  background: #f9ddd2;
  color: #9d513f;
}

.skin-answer:nth-child(2) .answer-letter {
  background: #f2e3d8;
}

.skin-answer:nth-child(3) .answer-letter {
  background: #f6d7da;
}

.skin-answer:nth-child(4) .answer-letter {
  background: #dfe5f5;
}

.skin-answer:nth-child(5) .answer-letter {
  background: #e8dfef;
}

.skin-answer:hover,
.skin-answer:focus-visible {
  border-color: rgba(197, 111, 86, 0.58);
}

.skin-answer.is-selected {
  border-color: #c56f56;
  background: #fff0e9;
}

.skin-answer.is-selected .answer-letter {
  border-color: #c56f56;
  background: #c56f56;
}

.answer-grid--five .q5-answer--advanced {
  grid-column: auto;
  background: linear-gradient(105deg, rgba(248, 231, 224, 0.95), rgba(238, 229, 244, 0.92));
}

.response-drop {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(229, 143, 111, 0.3));
}

.leaving-dots i {
  background: #c56f56;
}

/* The map is a playable-looking world, not a decorative backdrop. */
.route-map {
  object-position: center;
  filter: saturate(0.98) contrast(1.01);
}

.scene-filter--route {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.54), transparent 13%, transparent 86%, rgba(255, 249, 242, 0.28));
}

.route-topbar {
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.9), rgba(255, 251, 246, 0));
  color: #463b35;
}

.map-label {
  z-index: 11;
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 250, 244, 0.87);
  box-shadow: 0 0.35rem 0.9rem rgba(73, 51, 42, 0.15);
  color: #5a443a;
}

.map-label--home {
  top: 76%;
  left: 7%;
}

.map-label--cafe {
  top: 53%;
  right: 3%;
  left: auto;
}

.map-label--office {
  top: 8.5%;
  right: 5%;
}

.route-trail {
  position: absolute;
  z-index: 7;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.route-trail path {
  fill: none;
  stroke: rgba(91, 66, 54, 0.62);
  stroke-width: 0.72;
  stroke-linecap: round;
  stroke-dasharray: 0.3 2.1;
}

.route-trail--night path {
  stroke: rgba(255, 239, 206, 0.82);
}

.walker {
  z-index: 10;
  top: 84%;
  left: 30%;
  width: clamp(4.8rem, 20vw, 6.1rem);
  height: clamp(7.8rem, 31vw, 9.8rem);
  transform: translate(-50%, -100%) scale(0.8);
  filter: sepia(0.08) saturate(0.94);
}

.walker img {
  filter: drop-shadow(0 0.18rem 0.12rem rgba(50, 35, 29, 0.25));
}

.contact-shadow {
  bottom: -0.04rem;
  width: 58%;
  height: 0.42rem;
  background: rgba(50, 38, 32, 0.32);
}

@keyframes walk-to-office {
  0% { top: 84%; left: 30%; opacity: 0; transform: translate(-50%, -100%) scale(0.8); }
  4% { opacity: 1; }
  14% { top: 77%; left: 40%; transform: translate(-50%, -100%) scale(0.76); }
  28% { top: 68%; left: 54%; transform: translate(-50%, -100%) scale(0.71); }
  42% { top: 58%; left: 58%; transform: translate(-50%, -100%) scale(0.67); }
  57% { top: 48%; left: 58%; transform: translate(-50%, -100%) scale(0.63); }
  72% { top: 36%; left: 66%; transform: translate(-50%, -100%) scale(0.59); }
  87% { top: 25%; left: 73%; transform: translate(-50%, -100%) scale(0.55); }
  96% { opacity: 1; }
  100% { top: 13%; left: 82%; opacity: 0; transform: translate(-50%, -100%) scale(0.51); }
}

@keyframes walk-to-home {
  0% { top: 13%; left: 82%; opacity: 0; transform: translate(-50%, -100%) scale(0.51); }
  4% { opacity: 1; }
  14% { top: 25%; left: 73%; transform: translate(-50%, -100%) scale(0.55); }
  29% { top: 36%; left: 66%; transform: translate(-50%, -100%) scale(0.59); }
  44% { top: 48%; left: 58%; transform: translate(-50%, -100%) scale(0.63); }
  59% { top: 58%; left: 58%; transform: translate(-50%, -100%) scale(0.67); }
  73% { top: 68%; left: 54%; transform: translate(-50%, -100%) scale(0.71); }
  87% { top: 77%; left: 40%; transform: translate(-50%, -100%) scale(0.76); }
  96% { opacity: 1; }
  100% { top: 84%; left: 30%; opacity: 0; transform: translate(-50%, -100%) scale(0.8); }
}

.route-caption {
  right: 1.15rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 1.15rem;
  border-color: rgba(255, 255, 255, 0.85);
  border-radius: 0.95rem;
  background: rgba(255, 250, 244, 0.88);
  box-shadow: 0 0.65rem 1.8rem rgba(76, 52, 42, 0.16);
  color: #59473f;
  transform: rotate(-0.6deg);
}

.route-caption::after {
  position: absolute;
  right: 1.1rem;
  bottom: -0.55rem;
  color: #a86d59;
  content: "Little steps, better skin ♡";
  font-family: cursive;
  font-size: 0.58rem;
  transform: rotate(1.8deg);
}

.route-caption--night {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(39, 34, 61, 0.82);
  color: #fff8ef;
}

.hero--office {
  top: 17%;
  left: 6%;
  height: clamp(13.5rem, 38%, 19rem);
  filter: drop-shadow(0 0.65rem 0.5rem rgba(69, 49, 42, 0.2));
}

.hero--office-late {
  left: auto;
  right: 5%;
}

.hero--night,
.hero--night-final {
  top: 21%;
  right: 4%;
  left: auto;
  height: clamp(15rem, 42%, 21rem);
  filter: drop-shadow(0 0.65rem 0.55rem rgba(6, 9, 24, 0.28));
}

/* Result first reads like a story post, then becomes a recommendation. */
.result-screen {
  background:
    repeating-linear-gradient(0deg, transparent 0 36px, rgba(111, 83, 69, 0.045) 36px 37px),
    radial-gradient(circle at 88% 3%, rgba(226, 151, 120, 0.2), transparent 21rem),
    linear-gradient(180deg, #fffaf4 0%, #fbf3ec 38%, #f3e8df 100%);
}

.result-topbar {
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.97), rgba(255, 250, 244, 0.83));
  border-bottom-color: rgba(79, 59, 49, 0.08);
}

.result-wrap {
  padding: 1.35rem 0.9rem max(2rem, env(safe-area-inset-bottom));
}

.result-opening {
  position: relative;
  padding: 2.6rem 0.35rem 1.7rem;
}

.result-note {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 12.8rem;
  padding: 0.56rem 0.78rem;
  border: 1px solid rgba(126, 92, 75, 0.08);
  background: #f5dfcf;
  box-shadow: 0 0.45rem 1rem rgba(88, 62, 49, 0.08);
  color: #7d594c;
  font-family: cursive;
  font-size: 0.76rem;
  transform: rotate(2deg);
}

.result-opening h1 {
  color: #302a27;
}

.result-opening h1 span {
  color: #a65340;
}

.result-life-line {
  padding: 0.8rem 0.9rem;
  border: 0;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0.55rem 1.4rem rgba(91, 63, 51, 0.08);
  color: #5c4c45;
  font-family: cursive;
  transform: rotate(-0.7deg);
}

.section-eyebrow {
  color: #b45f49;
  font-size: 0.84rem;
}

.share-section > h2 {
  color: #302925;
  font-size: 1.5rem;
}

.share-card {
  width: min(100%, 22rem);
  border: 1px solid rgba(114, 83, 68, 0.12);
  border-radius: 0.42rem;
  background:
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(112, 83, 69, 0.055) 34px 35px),
    radial-gradient(circle at 85% 19%, rgba(248, 201, 180, 0.54), transparent 11rem),
    linear-gradient(155deg, #fffdf9 0%, #f8eee7 60%, #efd0bf 100%);
  box-shadow: 0 1.55rem 3.2rem rgba(91, 62, 48, 0.2);
}

.share-card::before,
.share-card::after {
  z-index: 10;
  width: 5.8rem;
  height: 1.45rem;
  border: 0;
  border-radius: 0.14rem;
  background: rgba(232, 205, 184, 0.8);
  box-shadow: none;
}

.share-card::before {
  top: 0.5rem;
  right: -1.2rem;
  transform: rotate(31deg);
}

.share-card::after {
  bottom: 1.2rem;
  left: -1.55rem;
  transform: rotate(43deg);
}

.share-card__brand {
  color: #302925;
}

.share-card__chapter {
  color: #967a6c;
}

.share-card > #shareCardQuote {
  top: 13%;
  right: 1.25rem;
  left: 1.25rem;
  color: #332b27;
  font-size: clamp(1.7rem, 8.2vw, 2.42rem);
  line-height: 1.24;
}

.share-card__portrait {
  position: absolute;
  z-index: 4;
  right: 6%;
  bottom: 23%;
  width: 60%;
  height: 43%;
  padding: 0.48rem 0.48rem 2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.9rem 2.1rem rgba(78, 54, 43, 0.18);
  transform: rotate(2.2deg);
}

.share-card__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.share-card__portrait span {
  position: absolute;
  right: 0.55rem;
  bottom: 0.62rem;
  left: 0.55rem;
  color: #725e55;
  font-family: cursive;
  font-size: 0.67rem;
  text-align: center;
}

.share-card > .share-card__hashtags {
  position: absolute;
  z-index: 5;
  top: auto;
  right: 1rem;
  bottom: 17.3%;
  left: 1rem;
  color: #8b7165;
  font-family: inherit;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.share-card__prompt {
  border-color: rgba(255, 255, 255, 0.84);
  border-radius: 0.8rem;
  background: rgba(255, 252, 248, 0.88);
  box-shadow: 0 0.65rem 1.5rem rgba(79, 54, 43, 0.1);
}

.share-card__prompt b {
  color: #b65e48;
}

.share-actions {
  gap: 0.58rem;
}

.share-button {
  border-color: rgba(166, 98, 75, 0.22);
  background: rgba(255, 253, 249, 0.9);
  color: #8d4f40;
}

.share-button span {
  margin-right: 0.24rem;
  font-size: 1rem;
}

.share-button--primary {
  border: 0;
  background: linear-gradient(120deg, #695ad8 0%, #3d78ef 52%, #d15d8d 100%);
  box-shadow: 0 0.75rem 1.7rem rgba(77, 89, 196, 0.24);
  color: white;
}

.friend-invite {
  display: grid;
  gap: 0.18rem;
  margin-top: 0.78rem;
  padding: 0.85rem 0.95rem;
  border: 1px dashed rgba(167, 103, 79, 0.32);
  border-radius: 0.9rem;
  background: rgba(248, 226, 214, 0.56);
  color: #765b4f;
  text-align: center;
}

.friend-invite b {
  color: #9a503f;
  font-family: "Iowan Old Style", "Songti TC", serif;
  font-size: 0.92rem;
}

.friend-invite span {
  font-size: 0.72rem;
  line-height: 1.45;
}

.friend-copy {
  display: none;
}

.share-status {
  color: #9a503f;
}

.recommendation-section {
  border-color: rgba(119, 87, 71, 0.11);
  border-radius: 1rem;
  background: rgba(255, 252, 247, 0.8);
  box-shadow: 0 0.9rem 2.1rem rgba(90, 62, 49, 0.08);
}

.section-heading > span {
  border-radius: 0.35rem;
  background: #f5ded2;
  color: #a95642;
  font-family: cursive;
  transform: rotate(-3deg);
}

.section-heading small,
.product-card__body small {
  color: #ae5d49;
}

.product-card {
  border-color: rgba(103, 76, 63, 0.09);
  border-radius: 0.75rem;
  background: #fffdf9;
}

.product-card__image {
  background: linear-gradient(145deg, #f7eee8, #fffdf9);
}

.product-card__body a,
.mini-product a {
  color: #a65340;
}

.why-card {
  border-color: rgba(183, 105, 80, 0.2);
  background: #fae8de;
}

.sunscreen-note {
  border-color: rgba(118, 85, 69, 0.1);
  background: linear-gradient(130deg, #f6e7dc, #f1dfd5);
}

.shop-link {
  background: linear-gradient(120deg, #d88668, #bc654f);
  box-shadow: 0 0.8rem 1.8rem rgba(165, 91, 66, 0.2);
}

.result-restart {
  border-color: rgba(183, 105, 80, 0.24);
  background: rgba(255, 253, 249, 0.8);
  color: #96513f;
}

@media (max-height: 44rem) {
  .mirror-focus {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .wipe-prompt {
    padding-bottom: 5.7rem;
  }

  .skin-answer {
    min-height: 3.08rem;
    font-size: 0.79rem;
  }
}

/* V6.1 final cascade — Korean webtoon scenes, grounded RPG route, editorial result */

:root {
  --story-serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
  --story-sans: "Noto Sans TC", "PingFang TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --story-ink: #292624;
  --story-muted: #766b65;
  --story-rose: #9b513f;
}

body,
button,
a,
.result-screen,
.result-screen button,
.result-screen a {
  font-family: var(--story-sans);
}

.intro-kicker,
.intro-card small {
  font-family: var(--story-serif);
  font-style: normal;
}

.scene-image--office-desk { object-position: 51% 38%; }
.scene-image--office-pantry { object-position: 51% 40%; }
.scene-image--home-living { object-position: 50% 38%; }
.scene-image--home-vanity { object-position: 50% 39%; }

.scene-filter--office,
.scene-filter--afternoon {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.12), transparent 46%, rgba(44, 31, 24, 0.08) 65%, rgba(39, 29, 24, 0.2) 100%);
}

.scene-filter--home-night {
  background: linear-gradient(180deg, rgba(18, 16, 24, 0.2), transparent 40%, rgba(28, 18, 18, 0.04) 57%, rgba(19, 14, 17, 0.22) 100%);
}

.office-screen .question-sheet,
.home-screen .question-sheet {
  border-color: rgba(91, 69, 59, 0.1);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 -1.3rem 3.2rem rgba(55, 37, 29, 0.13);
}

.route-map {
  object-position: center;
  filter: saturate(0.88) contrast(1.02) brightness(1.015);
}

.route-screen--night .route-map {
  filter: saturate(0.82) contrast(1.03) brightness(0.96);
}

.scene-filter--route {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.5), transparent 12%, transparent 86%, rgba(255, 249, 242, 0.3));
}

.route-screen.is-running .route-map {
  animation: map-settle 6s ease-out both;
}

.map-label--home { top: 72%; left: 7%; }
.map-label--cafe { top: 21%; right: auto; left: 8%; }
.map-label--office { top: 8.5%; right: 5%; }

.route-trail path {
  stroke: rgba(105, 76, 63, 0.5);
  stroke-width: 0.58;
  stroke-dasharray: 0.28 1.75;
}

.route-trail--night path { stroke: rgba(255, 235, 197, 0.68); }

.walker,
.route-screen.is-running .walker,
.route-screen.is-running .walker:not(.walker--return),
.route-screen.is-running .walker--return {
  width: clamp(2.65rem, 11.5vw, 3.45rem);
  height: clamp(4.35rem, 18.8vw, 5.65rem);
  opacity: 1;
  animation: none;
  filter: none;
  transform: translate(-50%, -100%) scale(var(--walker-scale, 0.72));
  transform-origin: 50% 100%;
  transition: opacity 180ms ease;
  will-change: left, top, transform;
}

.walker img {
  bottom: 0.08rem;
  filter: drop-shadow(0 0.13rem 0.1rem rgba(45, 31, 25, 0.25));
}

.walker.is-arrived { opacity: 0; }

.contact-shadow {
  bottom: -0.01rem;
  width: 58%;
  height: 0.28rem;
  background: rgba(46, 34, 29, 0.34);
  filter: blur(0.08rem);
}

.route-caption,
.route-caption--night {
  right: 1.1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 1.1rem;
  border-radius: 0.75rem;
  font-family: var(--story-serif);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.015em;
  transform: none;
}

.route-caption {
  background: rgba(255, 252, 247, 0.9);
  color: #4d423d;
}

.route-caption--night {
  background: rgba(28, 28, 39, 0.84);
  color: #fffaf4;
}

.route-caption::after { content: none; }

.result-screen {
  background:
    radial-gradient(circle at 88% 2%, rgba(196, 130, 106, 0.12), transparent 20rem),
    linear-gradient(180deg, #fbf8f3 0%, #f6f1eb 48%, #eee7df 100%);
  color: var(--story-ink);
}

.result-topbar {
  border-bottom: 1px solid rgba(62, 50, 44, 0.08);
  background: rgba(250, 247, 242, 0.91);
}

.result-wrap { padding: 1.3rem 1rem max(2.2rem, env(safe-area-inset-bottom)); }
.result-opening { padding: 3.1rem 0.2rem 1.9rem; }

.result-note {
  top: 0.15rem;
  right: auto;
  left: 0.2rem;
  max-width: none;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(113, 85, 72, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
  color: #735e54;
  font-family: var(--story-sans);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: none;
}

.result-question {
  color: var(--story-muted);
  font-size: 0.72rem;
  letter-spacing: 0.025em;
}

.result-opening h1 {
  color: var(--story-ink);
  font-family: var(--story-serif);
  font-size: clamp(2.1rem, 9vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.result-opening h1 span,
.result-opening h1 .result-lead { color: var(--story-ink); }
#resultProductName { color: #954d3c; }

.result-life-line {
  margin-top: 1.05rem;
  padding: 0.85rem 0 0.85rem 1rem;
  border: 0;
  border-left: 2px solid #b7725f;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #554b46;
  font-family: var(--story-serif);
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.65;
  transform: none;
}

.share-section { padding-top: 0.7rem; }

.section-eyebrow {
  color: #9b5948;
  font-family: var(--story-sans);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.share-section > h2 {
  margin-bottom: 1rem;
  color: var(--story-ink);
  font-family: var(--story-serif);
  font-size: 1.45rem;
  font-weight: 650;
}

.share-card {
  width: min(100%, 21.5rem);
  aspect-ratio: 9 / 15.5;
  border: 1px solid rgba(88, 69, 59, 0.1);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 90% 8%, rgba(215, 161, 139, 0.22), transparent 12rem),
    linear-gradient(158deg, #fffdf9 0%, #f5eee7 68%, #ead3c5 100%);
  box-shadow: 0 1.45rem 3.4rem rgba(68, 49, 40, 0.18);
}

.share-card::before,
.share-card::after { display: none; }

.share-card__brand,
.share-card__chapter {
  top: 1.15rem;
  font-family: var(--story-sans);
}

.share-card__brand {
  left: 1.15rem;
  color: #2e2927;
  font-size: 0.9rem;
  letter-spacing: 0.17em;
}

.share-card__chapter {
  right: 1.15rem;
  color: #8b776d;
  font-size: 0.45rem;
  letter-spacing: 0.14em;
}

.share-card > #shareCardQuote {
  top: 12%;
  right: 1.15rem;
  left: 1.15rem;
  color: #302a27;
  font-family: var(--story-serif);
  font-size: clamp(1.6rem, 7.7vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.share-card__moment {
  position: absolute;
  z-index: 4;
  top: 36%;
  right: 1rem;
  left: 1rem;
  height: 37%;
  margin: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #e7ddd5;
  box-shadow: 0 0.9rem 2.2rem rgba(56, 40, 32, 0.16);
}

.share-card__moment::after {
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(180deg, transparent, rgba(31, 23, 20, 0.66));
  content: "";
}

.share-card__moment img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.share-card__moment figcaption {
  position: absolute;
  z-index: 2;
  right: 0.8rem;
  bottom: 0.72rem;
  left: 0.8rem;
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--story-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.share-card > .share-card__hashtags {
  right: 1rem;
  bottom: 16.8%;
  left: 1rem;
  color: #806d64;
  font-family: var(--story-sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.share-card__prompt {
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  border: 1px solid rgba(108, 80, 66, 0.1);
  border-radius: 0.75rem;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 0.65rem 1.5rem rgba(66, 47, 38, 0.08);
}

.share-card__prompt strong {
  color: #302a27;
  font-family: var(--story-serif);
  font-weight: 650;
}

.share-card__prompt b { color: #9f523f; }

.share-button {
  border-radius: 0.72rem;
  border-color: rgba(110, 77, 63, 0.18);
  background: rgba(255, 253, 249, 0.88);
  color: #75483c;
}

.share-button--primary {
  border: 0;
  background: linear-gradient(110deg, #4f59c9, #376fd8 54%, #bd567c);
  box-shadow: 0 0.65rem 1.55rem rgba(65, 70, 167, 0.2);
  color: #fff;
}

.friend-invite {
  border: 1px solid rgba(134, 90, 72, 0.14);
  border-radius: 0.72rem;
  background: rgba(240, 222, 211, 0.48);
}

.friend-invite b {
  color: #834b3e;
  font-family: var(--story-serif);
  font-weight: 650;
}

.recommendation-section {
  padding: 1.2rem 1rem;
  border: 1px solid rgba(94, 72, 61, 0.1);
  border-radius: 0.9rem;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 0.9rem 2.3rem rgba(77, 55, 44, 0.07);
}

.section-heading {
  grid-template-columns: 2.35rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(91, 69, 59, 0.1);
}

.section-heading > span {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(152, 83, 65, 0.26);
  border-radius: 50%;
  background: transparent;
  color: #985341;
  font-family: var(--story-sans);
  font-size: 0.68rem;
  font-weight: 800;
  transform: none;
}

.section-heading small,
.product-card__body small {
  color: #985341;
  font-family: var(--story-sans);
}

.section-heading h2,
.product-card__body h3,
.sunscreen-note h2 {
  color: var(--story-ink);
  font-family: var(--story-serif);
  font-weight: 650;
}

.product-card {
  border: 1px solid rgba(92, 70, 59, 0.08);
  border-radius: 0.65rem;
  background: #fffdfa;
}

.product-card__image { background: linear-gradient(145deg, #f4eee8, #fffdf9); }

.product-card__body a,
.mini-product a,
.share-status { color: #97513f; }

.why-card {
  border: 1px solid rgba(158, 89, 68, 0.14);
  border-radius: 0.65rem;
  background: #f5e8df;
}

.why-card span { color: #8e493a; }

.sunscreen-note {
  border: 1px solid rgba(94, 72, 61, 0.09);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #f3e9e1, #eee3dc);
}

.shop-link {
  border-radius: 0.7rem;
  background: linear-gradient(115deg, #bb7058, #934d3d);
  box-shadow: 0 0.8rem 1.8rem rgba(140, 72, 53, 0.18);
}

.result-restart {
  border-color: rgba(151, 81, 63, 0.2);
  border-radius: 0.7rem;
  background: rgba(255, 253, 249, 0.7);
  color: #7f493d;
}

@media (max-height: 44rem) {
  .walker,
  .route-screen.is-running .walker {
    width: 2.55rem;
    height: 4.15rem;
  }

  .share-card__moment { top: 35%; }
}

/* V7 cinematic prototype — grounded chibi commute and scene-native questions */

.route-screen--follow .route-map--follow {
  object-position: center;
  filter: saturate(0.9) contrast(1.025) brightness(1.015);
  transform: scale(1.035);
  transform-origin: 50% 64%;
}

.route-screen--follow.is-running .route-map--follow {
  animation: follow-camera-push 4.6s linear both;
}

@keyframes follow-camera-push {
  0% { transform: scale(1.035) translateY(0); }
  100% { transform: scale(1.16) translateY(1.2%); }
}

.route-screen--follow .scene-filter--route {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(250, 252, 252, 0.48), transparent 13%, transparent 76%, rgba(246, 241, 235, 0.2)),
    radial-gradient(circle at 50% 62%, transparent 0 21%, rgba(40, 48, 52, 0.04) 67%, rgba(40, 48, 52, 0.11) 100%);
}

.route-screen--follow .walker--follow,
.route-screen--follow.is-running .walker--follow,
.route-screen--follow.is-running .walker--follow:not(.walker--return) {
  top: auto !important;
  right: auto;
  bottom: max(5.25rem, calc(env(safe-area-inset-bottom) + 4.85rem));
  left: 50% !important;
  width: clamp(5.2rem, 23vw, 6.5rem);
  height: clamp(11.2rem, 27.5vh, 14rem);
  opacity: 0;
  filter: none;
  transform: translateX(-50%) scale(0.96) !important;
  transform-origin: 50% 100%;
  animation: none;
  transition: opacity 180ms ease;
  will-change: opacity, transform;
}

.route-screen--follow.is-running .walker--follow {
  animation: grounded-follow-character 4.6s linear both;
}

@keyframes grounded-follow-character {
  0% { opacity: 0; transform: translateX(-50%) scale(0.96); }
  5% { opacity: 1; }
  88% { opacity: 1; transform: translateX(-50%) scale(0.94); }
  100% { opacity: 0; transform: translateX(-50%) scale(0.9); }
}

.route-screen--follow .walker--follow img {
  bottom: 0;
  height: 100%;
  filter: drop-shadow(0 0.16rem 0.13rem rgba(39, 35, 32, 0.3));
}

.route-screen--follow .walker--follow .contact-shadow {
  bottom: -0.02rem;
  width: 44%;
  height: 0.38rem;
  background: rgba(37, 34, 31, 0.4);
  filter: blur(0.11rem);
}

.route-screen--follow .route-caption {
  z-index: 12;
  right: 1rem;
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  left: 1rem;
  padding: 0.72rem 0.9rem;
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 252, 247, 0.88);
  box-shadow: 0 0.75rem 2rem rgba(62, 51, 44, 0.13);
  backdrop-filter: blur(16px);
}

.office-screen .cinematic-scene {
  transform: scale(1.005);
  transition:
    transform 1.08s cubic-bezier(0.65, 0, 0.2, 1),
    filter 700ms ease;
  will-change: transform, filter;
}

#officeScreen .cinematic-scene--office {
  transform-origin: 89% 33%;
}

#afternoonScreen .cinematic-scene--dispenser {
  transform-origin: 86% 34%;
}

#officeScreen.is-entering .cinematic-scene--office,
#afternoonScreen.is-entering .cinematic-scene--dispenser {
  transform: scale(1.025);
}

#officeScreen.is-focused .cinematic-scene--office {
  filter: saturate(0.88) brightness(0.74);
  transform: scale(2.55);
}

#afternoonScreen.is-focused .cinematic-scene--dispenser {
  filter: saturate(0.84) brightness(0.68);
  transform: scale(2.65);
}

.focus-vignette {
  position: absolute;
  z-index: 7;
  inset: 0;
  background: radial-gradient(circle at 84% 33%, transparent 0 12%, rgba(16, 20, 22, 0.08) 30%, rgba(14, 18, 20, 0.55) 100%);
  opacity: 0;
  transition: opacity 800ms ease;
  pointer-events: none;
}

#afternoonScreen .focus-vignette {
  background: radial-gradient(circle at 84% 35%, transparent 0 10%, rgba(14, 18, 19, 0.12) 28%, rgba(12, 15, 17, 0.62) 100%);
}

.office-screen.is-focused .focus-vignette { opacity: 1; }

.office-screen .scene-time {
  transition: opacity 360ms ease, transform 360ms ease;
}

.office-screen.is-focused .scene-time {
  opacity: 0;
  transform: translateY(-0.5rem);
}

.context-question {
  position: absolute;
  z-index: 22;
  right: 0.78rem;
  bottom: max(0.78rem, env(safe-area-inset-bottom));
  left: 0.78rem;
  max-height: calc(100% - 6.6rem);
  padding: 3.05rem 0.92rem 0.95rem;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(0.9rem) scale(0.86);
  transform-origin: 84% 30%;
  transition: opacity 320ms ease, transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  scrollbar-width: none;
}

.context-question::-webkit-scrollbar { display: none; }

.context-question.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.context-question h2 {
  margin: 0 0 0.45rem;
  font-family: var(--story-serif);
  font-size: clamp(1.28rem, 5.4vw, 1.72rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.context-question .question-hint {
  margin-bottom: 0.7rem;
}

.context-question .answer-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.context-question .skin-answer {
  min-height: 5rem;
  border-radius: 0.56rem;
  font-size: 0.75rem;
  line-height: 1.42;
}

.context-question--monitor {
  top: 14.5%;
  border: 0.44rem solid #3d464d;
  border-bottom-width: 0.62rem;
  border-radius: 0.92rem;
  background:
    linear-gradient(rgba(83, 121, 145, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 121, 145, 0.045) 1px, transparent 1px),
    rgba(247, 250, 250, 0.98);
  background-size: 1.2rem 1.2rem, 1.2rem 1.2rem, auto;
  box-shadow:
    0 1.6rem 4rem rgba(9, 18, 24, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.86);
  color: #263139;
}

.device-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 2.18rem;
  align-items: center;
  gap: 0.31rem;
  padding: 0 0.72rem;
  border-bottom: 1px solid rgba(50, 72, 84, 0.12);
  background: rgba(231, 238, 240, 0.95);
}

.device-bar span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #d77b68;
}

.device-bar span:nth-child(2) { background: #e0b66a; }
.device-bar span:nth-child(3) { background: #76a891; }

.device-bar b {
  margin-left: auto;
  color: #60717a;
  font-size: 0.53rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.context-question--monitor .kicker { color: #687e8a; }

.context-question--monitor .skin-answer {
  border-color: rgba(54, 77, 90, 0.15);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0.3rem 0.9rem rgba(42, 67, 80, 0.06);
}

.context-question--monitor .skin-answer.is-selected {
  border-color: #628ba1;
  background: #e8f1f4;
}

.context-question--monitor .answer-letter {
  border-color: rgba(59, 97, 116, 0.2);
  background: #e9f1f4;
  color: #365d70;
}

.context-question--dispenser {
  top: 13.5%;
  padding-top: 3.3rem;
  border: 0.32rem solid #b8bec0;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 76% 0, rgba(124, 176, 191, 0.15), transparent 15rem),
    linear-gradient(145deg, rgba(42, 49, 52, 0.99), rgba(18, 22, 24, 0.99));
  box-shadow:
    0 1.5rem 4rem rgba(5, 8, 10, 0.56),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    inset 0 0 2.4rem rgba(0, 0, 0, 0.5);
  color: #f6f8f8;
}

.dispenser-status {
  position: absolute;
  top: 0.72rem;
  right: 0.8rem;
  left: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.62rem;
  border-bottom: 1px solid rgba(214, 231, 234, 0.18);
  color: #a6d6df;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.dispenser-status i {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #8ed6e0;
  box-shadow: 0 0 0.75rem #8ed6e0;
}

.context-question--dispenser .kicker { color: #9dcbd3; }

.context-question--dispenser .skin-answer {
  min-height: 5.3rem;
  border-color: rgba(214, 230, 233, 0.18);
  background: linear-gradient(145deg, rgba(66, 76, 79, 0.94), rgba(35, 41, 44, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0.35rem 0.9rem rgba(0, 0, 0, 0.22);
  color: #f4f6f6;
}

.context-question--dispenser .skin-answer:hover,
.context-question--dispenser .skin-answer:focus-visible,
.context-question--dispenser .skin-answer.is-selected {
  border-color: #8ccbd5;
  background: linear-gradient(145deg, #486c73, #2e4b50);
}

.context-question--dispenser .answer-letter {
  border-color: rgba(150, 211, 220, 0.34);
  background: rgba(111, 176, 188, 0.16);
  color: #b7e5eb;
  font-family: var(--story-sans);
}

.context-question--dispenser .skin-answer.is-selected .answer-letter {
  border-color: #9bd9e2;
  background: #8bcbd5;
  color: #152427;
}

@media (max-height: 44rem) {
  .route-screen--follow .walker--follow,
  .route-screen--follow.is-running .walker--follow {
    bottom: 4.7rem;
    width: 4.55rem;
    height: 9.7rem;
  }

  .context-question {
    top: 11.5%;
    bottom: 0.55rem;
    max-height: calc(100% - 5rem);
    padding: 2.7rem 0.72rem 0.72rem;
  }

  .context-question h2 { font-size: 1.15rem; }
  .context-question .question-hint { margin-bottom: 0.45rem; }
  .context-question .skin-answer {
    min-height: 4.25rem;
    padding: 0.35rem;
    font-size: 0.68rem;
  }

  .context-question--dispenser { padding-top: 3rem; }
  .context-question--dispenser .skin-answer { min-height: 4.5rem; }
}

/* V8 complete story camera language — every scene gets a true second shot */

.intro .scene-image--mirror,
.mirror-screen .scene-image--mirror {
  object-position: center 46%;
  filter: saturate(0.9) contrast(1.015);
}

.route-screen--follow--night .route-map--follow {
  filter: saturate(0.82) contrast(1.04) brightness(0.9);
}

.route-screen--follow--night .scene-filter--night-route {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 12, 28, 0.3), transparent 18%, transparent 72%, rgba(6, 12, 26, 0.2)),
    radial-gradient(circle at 50% 58%, transparent 0 24%, rgba(10, 17, 31, 0.14) 100%);
}

.route-screen--follow--night.is-running .route-map--follow,
.route-screen--follow--night.is-running .walker--follow {
  animation-duration: 5.2s;
}

.route-screen--follow--night .route-caption {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(23, 27, 38, 0.84);
  color: #fffaf4;
}

.story-shot {
  transition:
    opacity 520ms ease,
    transform 920ms cubic-bezier(0.65, 0, 0.2, 1),
    filter 620ms ease;
  will-change: opacity, transform, filter;
}

.story-shot--wide {
  z-index: -5;
  opacity: 1;
  transform: scale(1.005);
}

.story-shot--insert {
  z-index: -4;
  opacity: 0;
  filter: blur(0.45rem) brightness(0.86);
  transform: scale(1.075) translateX(2%);
}

.office-screen.is-entering .story-shot--wide,
.home-screen.is-entering .story-shot--wide {
  transform: scale(1.025);
}

.office-screen.is-focused .story-shot--wide,
.home-screen.is-focused .story-shot--wide {
  opacity: 0;
  filter: blur(0.55rem) brightness(0.72);
  transform: scale(1.055) translateX(-4%);
}

.office-screen.is-focused .story-shot--insert,
.home-screen.is-focused .story-shot--insert {
  opacity: 1;
  filter: none;
  transform: scale(1) translateX(0);
}

.device-shot--monitor { object-position: center; }
.device-shot--dispenser { object-position: center; }
.device-shot--phone { object-position: center; }
.device-shot--mirror { object-position: center; }

.office-screen.is-focused .focus-vignette,
.home-screen.is-focused .focus-vignette {
  opacity: 0.22;
}

.home-screen .focus-vignette {
  background: linear-gradient(180deg, rgba(15, 19, 29, 0.12), transparent 32%, rgba(14, 17, 24, 0.28));
}

.office-screen .scene-time,
.home-screen .scene-time {
  transition: opacity 360ms ease, transform 360ms ease;
}

.office-screen.is-focused .scene-time,
.home-screen.is-focused .scene-time {
  opacity: 0;
  transform: translateY(-0.5rem);
}

.context-question {
  transform-origin: center;
}

.context-question--monitor {
  top: 24.5%;
  right: 4.1%;
  bottom: auto;
  left: 4.1%;
  height: 39.5%;
  max-height: none;
  padding: 1.55rem 0.62rem 0.48rem;
  border: 0;
  border-radius: 0.16rem;
  background:
    linear-gradient(rgba(82, 111, 127, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 111, 127, 0.038) 1px, transparent 1px),
    rgba(248, 250, 250, 0.985);
  background-size: 1rem 1rem, 1rem 1rem, auto;
  box-shadow: inset 0 0 1.4rem rgba(68, 93, 108, 0.05);
}

.context-question--monitor .device-bar {
  height: 1.28rem;
  padding: 0 0.42rem;
}

.context-question--monitor .device-bar span {
  width: 0.32rem;
  height: 0.32rem;
}

.context-question--monitor .device-bar b {
  font-size: 0.46rem;
}

.context-question--monitor .kicker {
  margin: 0 0 0.12rem;
  font-size: 0.58rem;
}

.context-question--monitor h2 {
  margin-bottom: 0.2rem;
  font-size: clamp(0.94rem, 4vw, 1.1rem);
  line-height: 1.18;
}

.context-question--monitor .question-hint {
  margin-bottom: 0.34rem;
  font-size: 0.64rem;
}

.context-question--monitor .answer-grid {
  gap: 0.35rem;
}

.context-question--monitor .skin-answer {
  grid-template-columns: 1.28rem 1fr;
  gap: 0.28rem;
  min-height: 3.15rem;
  padding: 0.28rem 0.32rem;
  border-radius: 0.38rem;
  font-size: 0.69rem;
  line-height: 1.28;
}

.context-question--monitor .answer-letter {
  width: 1.28rem;
  height: 1.28rem;
  font-size: 0.62rem;
}

.context-question--dispenser {
  top: 10.5%;
  right: 7.5%;
  bottom: 7.5%;
  left: 7.5%;
  max-height: none;
  padding: 3.2rem 0.9rem 0.9rem;
  border: 0.28rem solid rgba(194, 202, 204, 0.96);
  border-radius: 0.86rem;
  background:
    radial-gradient(circle at 78% 0, rgba(116, 186, 199, 0.18), transparent 15rem),
    linear-gradient(150deg, rgba(44, 51, 54, 0.96), rgba(17, 21, 23, 0.97));
}

.context-question--dispenser h2 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.context-question--dispenser .skin-answer {
  min-height: 5.5rem;
  padding: 0.58rem;
  font-size: 0.78rem;
}

.context-question--phone {
  top: 8.5%;
  right: 8.5%;
  bottom: 4.5%;
  left: 8.5%;
  max-height: none;
  padding: 3.35rem 0.92rem 1rem;
  border: 0.44rem solid rgba(27, 29, 32, 0.96);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 88% 8%, rgba(208, 169, 191, 0.22), transparent 13rem),
    linear-gradient(155deg, rgba(255, 253, 250, 0.985), rgba(241, 235, 231, 0.985));
  box-shadow: 0 1.7rem 4.2rem rgba(12, 13, 17, 0.48);
  color: #302a28;
}

.story-poll-bar {
  position: absolute;
  top: 0.9rem;
  right: 0.78rem;
  left: 0.78rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;
  padding-bottom: 1.35rem;
}

.story-poll-bar i {
  height: 0.16rem;
  border-radius: 99px;
  background: rgba(62, 52, 48, 0.18);
}

.story-poll-bar i:first-child {
  background: linear-gradient(90deg, #b86b69, #7188b2);
}

.story-poll-bar span {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #75645d;
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.context-question--phone .kicker { color: #9a5b55; }

.context-question--phone h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.28rem, 5.6vw, 1.62rem);
}

.context-question--phone .answer-grid {
  grid-template-columns: 1fr;
  gap: 0.52rem;
}

.context-question--phone .skin-answer {
  min-height: 4rem;
  border: 1px solid rgba(111, 84, 76, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0.45rem 1rem rgba(72, 52, 45, 0.06);
  font-size: 0.82rem;
}

.context-question--phone .skin-answer.is-selected {
  border-color: #a96662;
  background: #f3e3df;
}

.context-question--phone .answer-letter {
  border-color: rgba(159, 91, 86, 0.22);
  background: #f2e5e1;
  color: #8d4e4b;
}

.context-question--mirror {
  top: 8.5%;
  right: 5.5%;
  bottom: 4.5%;
  left: 5.5%;
  max-height: none;
  padding: 3.35rem 0.86rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 46% 46% 1.15rem 1.15rem / 12% 12% 1.15rem 1.15rem;
  background: linear-gradient(155deg, rgba(250, 246, 241, 0.72), rgba(226, 219, 216, 0.54));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.32),
    0 1.4rem 3.5rem rgba(34, 27, 27, 0.28);
  color: #302a29;
  backdrop-filter: blur(9px) saturate(0.9);
}

.mirror-note {
  position: absolute;
  top: 1.3rem;
  right: 1rem;
  left: 1rem;
  color: #8b6a5f;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-align: center;
}

.context-question--mirror .kicker {
  color: #9a5b4a;
  text-align: center;
}

.context-question--mirror h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.2rem, 5.2vw, 1.52rem);
  text-align: center;
}

.context-question--mirror .question-hint {
  color: #6e625d;
  text-align: center;
}

.context-question--mirror .answer-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0.46rem;
}

.context-question--mirror .skin-answer {
  min-height: 4.2rem;
  border-color: rgba(116, 86, 74, 0.15);
  background: rgba(255, 253, 249, 0.76);
  box-shadow: 0 0.42rem 1rem rgba(66, 48, 42, 0.07);
  font-size: 0.75rem;
}

.context-question--mirror .q5-answer--advanced {
  grid-column: 1 / -1;
  min-height: 3.75rem;
}

.context-question--mirror .skin-answer.is-selected {
  border-color: #a35d4b;
  background: rgba(246, 224, 214, 0.94);
}

.share-card {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.2);
  background: #23242b;
}

.share-card__moment {
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.share-card__moment::after {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 26, 34, 0.68) 0%, rgba(21, 26, 34, 0.18) 38%, transparent 58%),
    linear-gradient(0deg, rgba(25, 23, 25, 0.4), transparent 34%);
}

.share-card__moment img {
  object-position: center;
}

.share-card__moment figcaption { display: none; }

.share-card__brand,
.share-card__chapter,
.share-card > #shareCardQuote,
.share-card > .share-card__hashtags,
.share-card__prompt {
  z-index: 6;
}

.share-card__brand { color: #fff; }
.share-card__chapter { color: rgba(255, 255, 255, 0.75); }

.share-card > #shareCardQuote {
  top: 11%;
  color: #fff;
  text-shadow: 0 0.16rem 1rem rgba(8, 12, 18, 0.36);
}

.share-card > .share-card__hashtags {
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 0.5rem rgba(12, 14, 18, 0.4);
}

.share-card__prompt {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(16px);
}

@media (max-height: 44rem) {
  .context-question--monitor {
    top: 21.5%;
    right: 3.8%;
    left: 3.8%;
    height: 44%;
    padding: 1.4rem 0.5rem 0.35rem;
  }

  .context-question--monitor h2 { font-size: 0.86rem; }
  .context-question--monitor .question-hint { display: none; }
  .context-question--monitor .skin-answer {
    min-height: 2.9rem;
    font-size: 0.64rem;
  }

  .context-question--dispenser {
    top: 7%;
    right: 5%;
    bottom: 2%;
    left: 5%;
    padding: 2.8rem 0.68rem 0.68rem;
  }

  .context-question--dispenser h2 { font-size: 1.05rem; }
  .context-question--dispenser .skin-answer {
    min-height: 4.2rem;
    font-size: 0.68rem;
  }

  .context-question--phone,
  .context-question--mirror {
    top: 5.5%;
    right: 5%;
    bottom: 1%;
    left: 5%;
  }

  .context-question--phone {
    padding: 2.8rem 0.7rem 0.65rem;
  }

  .context-question--phone h2,
  .context-question--mirror h2 { font-size: 1.08rem; }

  .context-question--phone .skin-answer {
    min-height: 3.2rem;
    font-size: 0.7rem;
  }

  .context-question--mirror {
    padding: 2.75rem 0.65rem 0.65rem;
  }

  .context-question--mirror .question-hint { margin-bottom: 0.32rem; }
  .context-question--mirror .skin-answer {
    min-height: 3.55rem;
    font-size: 0.66rem;
  }
}

/* V10 social challenge card + road-following Q-character commute */

.route-screen--side .route-map--side {
  object-position: center;
  filter: saturate(0.88) contrast(1.02) brightness(1.01);
  transform: scale(1.025);
  transform-origin: center 62%;
}

.route-screen--side.is-running .route-map--side {
  animation: side-map-outbound 4.6s ease-in-out both;
}

.route-screen--side--night .route-map--side {
  filter: saturate(0.85) contrast(1.04) brightness(0.93);
}

.route-screen--side--night.is-running .route-map--side {
  animation-name: side-map-return;
  animation-duration: 5.2s;
}

@keyframes side-map-outbound {
  from { transform: scale(1.025) translateX(0.8%); }
  to { transform: scale(1.055) translateX(-0.8%); }
}

@keyframes side-map-return {
  from { transform: scale(1.055) translateX(-0.8%); }
  to { transform: scale(1.025) translateX(0.8%); }
}

.route-screen--side .scene-filter--route,
.route-screen--side .scene-filter--night-route {
  z-index: 1;
  pointer-events: none;
}

.route-screen--side .scene-filter--route {
  background:
    linear-gradient(180deg, rgba(249, 252, 253, 0.58) 0%, transparent 14%, transparent 78%, rgba(240, 247, 249, 0.18) 100%),
    radial-gradient(circle at 50% 60%, transparent 0 31%, rgba(65, 76, 78, 0.08) 100%);
}

.route-screen--side .scene-filter--night-route {
  background:
    linear-gradient(180deg, rgba(9, 18, 42, 0.32) 0%, transparent 20%, transparent 74%, rgba(7, 14, 34, 0.18) 100%),
    radial-gradient(circle at 50% 61%, transparent 0 32%, rgba(7, 12, 29, 0.13) 100%);
}

.route-screen--side .route-topbar,
.route-screen--side .route-caption,
.route-screen--side .route-node {
  z-index: 20;
}

.route-node {
  position: absolute;
  display: grid;
  min-width: 4.5rem;
  padding: 0.48rem 0.62rem 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0.82rem;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 0.75rem 1.8rem rgba(58, 57, 52, 0.14);
  color: #3d4649;
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(12px);
}

.route-node::after {
  position: absolute;
  bottom: -0.34rem;
  left: 50%;
  width: 0.62rem;
  height: 0.62rem;
  border-right: 1px solid rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 253, 249, 0.86);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.route-node span {
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.route-node b {
  margin-top: 0.18rem;
  color: #93604f;
  font-size: 0.55rem;
}

.route-node--home {
  top: 40%;
  left: 0.9rem;
}

.route-node--office {
  top: 25%;
  right: 0.9rem;
}

.route-node--night {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(24, 31, 50, 0.78);
  color: #fff;
}

.route-node--night::after {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(24, 31, 50, 0.78);
}

.route-node--night b { color: #f2c8a3; }

.route-screen.route-screen--side .walker.walker--side {
  z-index: 12;
  top: 49%;
  right: auto;
  bottom: auto;
  left: 16%;
  width: clamp(6rem, 25vw, 7.4rem);
  height: clamp(8.7rem, 23.8vh, 10.8rem);
  opacity: 0;
  filter: none;
  transform: translate(-50%, -100%) scale(0.82);
  transform-origin: 50% 100%;
  animation: none;
  transition: opacity 180ms ease;
  will-change: top, left, transform, opacity;
}

.route-screen.route-screen--side.is-running .walker.walker--side {
  animation: side-walk-outbound 4.6s linear both;
}

.route-screen.route-screen--side--night .walker.walker--side {
  right: auto;
  top: 43%;
  left: 89%;
  transform: translate(-50%, -100%) scale(0.72);
}

.route-screen.route-screen--side.route-screen--side--night.is-running .walker.walker--side {
  animation: side-walk-return 5.2s linear both;
}

@keyframes side-walk-outbound {
  0% {
    top: 49%;
    left: 16%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.82);
  }
  14% {
    top: 58%;
    left: 20%;
    transform: translate(-50%, -100%) scale(0.86);
  }
  30% {
    top: 63%;
    left: 31%;
    transform: translate(-50%, -100%) scale(0.9);
  }
  50% {
    top: 61%;
    left: 50%;
    transform: translate(-50%, -100%) scale(0.87);
  }
  69% {
    top: 56%;
    left: 68%;
    transform: translate(-50%, -100%) scale(0.82);
  }
  87% {
    top: 49%;
    left: 82%;
    transform: translate(-50%, -100%) scale(0.76);
  }
  96% { opacity: 1; }
  100% {
    top: 43%;
    left: 89%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.72);
  }
}

@keyframes side-walk-return {
  0% {
    top: 43%;
    left: 89%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.72);
  }
  13% {
    top: 49%;
    left: 82%;
    transform: translate(-50%, -100%) scale(0.76);
  }
  31% {
    top: 56%;
    left: 68%;
    transform: translate(-50%, -100%) scale(0.82);
  }
  50% {
    top: 61%;
    left: 50%;
    transform: translate(-50%, -100%) scale(0.87);
  }
  70% {
    top: 63%;
    left: 31%;
    transform: translate(-50%, -100%) scale(0.9);
  }
  86% {
    top: 58%;
    left: 20%;
    transform: translate(-50%, -100%) scale(0.86);
  }
  96% { opacity: 1; }
  100% {
    top: 49%;
    left: 16%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.82);
  }
}

/* V31 · social-first result hierarchy: work index → inner need → skincare → share */

.result-screen {
  background:
    radial-gradient(circle at 92% 0%, rgba(91, 105, 184, 0.1), transparent 24rem),
    linear-gradient(180deg, #f7f7f9 0%, #f0f1f4 52%, #ebecef 100%);
}

.result-wrap {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}

.result-index-card {
  margin: 0;
  padding: 4rem 1.05rem 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(26, 29, 36, 0.08);
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 250, 0.94));
  box-shadow: 0 1.15rem 2.7rem rgba(28, 33, 44, 0.07);
}

.result-index-card::after {
  position: absolute;
  right: -2.2rem;
  bottom: -3.4rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(82, 92, 164, 0.12);
  border-radius: 50%;
  content: "";
}

.result-index-card .result-note {
  top: 1rem;
  left: 1.05rem;
}

.result-index-card > .kicker {
  margin-bottom: 0.45rem;
  color: #a4513e;
  font-size: 0.74rem;
}

.result-index-card h1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: end;
  margin: 0;
}

.work-index-value {
  color: #202329;
  font-family: "Iowan Old Style", Georgia, serif !important;
  font-size: clamp(3.6rem, 18vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.86;
}

#workIndexTitle {
  padding-bottom: 0.25rem;
  color: #292c33;
  font-size: clamp(1.25rem, 6vw, 1.7rem);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.result-index-card .result-life-line {
  margin-top: 1.25rem;
  border-left-color: #b55f49;
  font-size: 1rem;
  font-weight: 500;
}

.result-index-card .result-context {
  margin-top: 0.85rem;
  color: #666b75;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.75;
}

.work-index-status {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(25, 29, 37, 0.09);
}

.work-index-status span {
  color: #a4513e;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.work-index-status strong {
  color: #2f333b;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}

.psych-result-section {
  position: relative;
  padding: 1.35rem 1.15rem 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(139, 78, 61, 0.1);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, #fffaf6, #fff 68%);
  box-shadow: 0 1rem 2.5rem rgba(78, 54, 45, 0.055);
}

.psych-result-section::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.28rem;
  background: linear-gradient(180deg, #b45f49, #e4aa96);
  content: "";
}

.psych-result-section > .kicker {
  margin-bottom: 0.48rem;
  color: #9e4e3b;
  font-weight: 600;
}

.psych-result-section h2 {
  margin: 0;
  color: #2c2b2b;
  font-size: 1.25rem;
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.psych-result-section h2 strong {
  display: block;
  margin-top: 0.08rem;
  color: #a6533f;
  font-family: "Iowan Old Style", "Songti TC", serif !important;
  font-size: clamp(2.35rem, 11vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.psych-result-copy {
  margin-top: 1.05rem;
}

.psych-result-copy p {
  margin: 0;
  color: #555158;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.82;
}

.psych-result-copy p + p {
  margin-top: 0.72rem;
}

.psych-result-closing {
  margin: 1rem 0 0;
  padding: 0.9rem 0.95rem;
  border-radius: 0.85rem;
  background: rgba(172, 85, 63, 0.075);
  color: #864737;
  font-size: 0.96rem;
  font-weight: 550;
  line-height: 1.6;
}

.product-result-intro {
  padding: 1.2rem 0.8rem 0.2rem;
  text-align: center;
}

.product-result-intro > .kicker {
  margin-bottom: 0.58rem;
  color: #a4513e;
  font-weight: 600;
}

.product-result-intro > h2 {
  display: flex;
  width: 100%;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: #292c32;
}

.product-result-intro .share-product-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: center;
  gap: 0.42rem;
}

.product-result-intro .share-product-label {
  color: #a4513e;
  font-size: 0.78rem;
  font-weight: 550;
  white-space: nowrap;
}

.product-result-intro .share-product-label::after {
  margin-left: 0.42rem;
  color: rgba(45, 48, 55, 0.28);
  content: "｜";
}

.product-result-intro #shareProductName {
  color: #292c32;
  font-size: clamp(1.05rem, 5vw, 1.28rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.product-result-intro .share-product-float {
  position: relative;
  inset: auto;
  display: block;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 3.45rem;
  margin: 0;
  overflow: visible;
  transform: none;
}

.product-result-intro .share-product-float > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-result-intro > h2.is-duo {
  flex-direction: column;
  gap: 0.38rem;
}

.product-result-intro > h2.is-duo .share-product-copy {
  display: block;
}

.product-result-intro > h2.is-duo .share-product-label::after {
  content: "";
}

.product-result-intro > h2.is-duo #shareProductName {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.product-result-intro > h2.is-duo .share-product-float {
  display: flex;
  width: min(100%, 19rem);
  height: auto;
  flex: none;
  align-items: flex-end;
  justify-content: center;
  gap: 0.32rem;
}

.product-result-intro > h2.is-duo .share-product-cue-item {
  display: grid;
  grid-template-rows: 3.1rem auto;
  justify-items: center;
  align-items: end;
}

.product-result-intro > h2.is-duo .share-product-cue-item img {
  position: relative;
  inset: auto;
  width: auto;
  height: 2.95rem;
  object-fit: contain;
}

.product-result-intro > h2.is-duo .share-product-cue-item b {
  color: #292c32;
  font-size: 0.82rem;
  font-weight: 550;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.product-result-intro > h2.is-duo .share-product-cue-plus {
  padding-bottom: 0.1rem;
  color: #a4513e;
  font-size: 0.85rem;
  font-weight: 500;
}

.share-section {
  margin-top: 0.45rem;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(26, 29, 36, 0.09);
}

.share-invite-heading {
  margin-bottom: 1rem;
  text-align: center;
}

.share-invite-heading .kicker {
  color: #a4513e;
  font-weight: 600;
}

.share-invite-heading h2 {
  margin: 0;
  color: #202329;
  font-size: clamp(1.65rem, 7.6vw, 2.15rem);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.22;
}

.share-invite-heading > p:last-child {
  max-width: 27rem;
  margin: 0.72rem auto 0;
  color: #666b75;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.7;
}

.share-card > #shareCardQuote {
  font-size: clamp(1.65rem, 7.8vw, 2.25rem);
  font-weight: 550;
  line-height: 1.24;
}

.share-card__answer strong {
  font-family: "Iowan Old Style", "Songti TC", serif !important;
  font-size: 1.5rem;
  font-weight: 600;
}

.share-button--wide {
  min-height: 3.55rem;
  background: #e9ebff;
  color: #32396f;
  font-size: 0.88rem;
}

@media (max-width: 22rem) {
  .result-index-card h1 {
    gap: 0.55rem;
  }

  .work-index-value {
    font-size: 3.25rem;
  }

  #workIndexTitle {
    font-size: 1.15rem;
  }

  .product-result-intro > h2:not(.is-duo) {
    gap: 0.32rem;
  }

  .product-result-intro .share-product-label {
    font-size: 0.7rem;
  }

  .product-result-intro #shareProductName {
    font-size: 1rem;
  }
}

/* V43 · bridge psychological result into a simple self-care routine */
.product-result-intro .care-bridge {
  max-width: 31rem;
  margin: 0 auto 1rem;
  color: #5f5b61;
  font-size: 0.93rem;
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.75;
  text-align: left;
}

.route-screen.route-screen--side.is-running .walker.walker--side.is-arrived {
  opacity: 0;
  animation: none;
}

.route-screen--side .walker--side img {
  bottom: 0;
  height: 100%;
  filter: drop-shadow(0 0.16rem 0.12rem rgba(39, 34, 31, 0.3));
}

.route-screen--side--night .walker--side img {
  transform: translateX(-50%) scaleX(-1);
}

.route-screen--side .walker--side .contact-shadow {
  bottom: 0.03rem;
  width: 52%;
  height: 0.34rem;
  background: rgba(41, 38, 35, 0.38);
  filter: blur(0.1rem);
}

.route-screen--side .route-caption {
  right: 1rem;
  bottom: max(0.85rem, env(safe-area-inset-bottom));
  left: 1rem;
}

.share-card__answer {
  position: absolute;
  z-index: 7;
  right: 1rem;
  bottom: 24.5%;
  left: 1rem;
  display: grid;
  gap: 0.18rem;
  padding: 0.72rem 0.85rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.78rem;
  background: rgba(27, 30, 37, 0.76);
  box-shadow: 0 0.7rem 1.7rem rgba(9, 12, 18, 0.18);
  color: #fff;
  backdrop-filter: blur(13px);
}

.share-card__answer span {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--story-sans);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.share-card__answer strong {
  font-family: var(--story-serif);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.25;
}

.share-card__answer strong.is-long { font-size: 0.86rem; }

.share-card > .share-card__hashtags { display: none; }

.share-card__prompt {
  padding: 0.72rem 0.86rem 0.78rem;
}

.share-card__prompt span {
  color: #a15342;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.share-card__prompt strong {
  margin-top: 0.16rem;
  font-size: 1.02rem;
}

.share-card__prompt b {
  position: static;
  display: block;
  margin-top: 0.42rem;
  font-size: 0.65rem;
}

.friend-invite {
  border-style: dashed;
  border-color: rgba(150, 82, 65, 0.28);
  background: linear-gradient(135deg, rgba(248, 231, 222, 0.78), rgba(240, 225, 235, 0.52));
}

.friend-invite b { font-size: 1rem; }

@media (max-height: 44rem) {
  .route-screen.route-screen--side .walker.walker--side {
    width: 5.4rem;
    height: 7.85rem;
  }

  .route-node--home { top: 37%; }
  .route-node--office { top: 23%; }
}

/* V11 · Korean webtoon multiple-ending story + grounded walk home */

.route-door-open {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.055) translateX(-0.8%);
  transform-origin: center 62%;
  transition: opacity 380ms ease;
  will-change: opacity, transform;
}

.route-screen--side--night.is-running .route-door-open {
  animation: side-map-return 5.2s ease-in-out both;
}

.route-screen--side--night.is-door-open .route-door-open {
  opacity: 1;
}

.route-screen.route-screen--side .walker.walker--side {
  top: 51%;
  left: 18%;
  width: clamp(2.7rem, 11.5vw, 3.4rem);
  height: clamp(3.92rem, 16.7vw, 4.95rem);
  transform: translate(-50%, -100%) scale(0.74);
}

.route-screen.route-screen--side--night .walker.walker--side {
  top: 45%;
  left: 92%;
  transform: translate(-50%, -100%) scale(0.68);
}

.route-screen--side .walker--side .contact-shadow {
  bottom: 0.02rem;
  width: 48%;
  height: 0.22rem;
  background: rgba(38, 35, 33, 0.34);
  filter: blur(0.07rem);
}

@keyframes side-walk-outbound {
  0% {
    top: 51%;
    left: 18%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.74);
  }
  5% { opacity: 1; }
  10% {
    top: 55%;
    left: 19%;
    transform: translate(-50%, -100%) scale(0.79);
  }
  19% {
    top: 60%;
    left: 22%;
    transform: translate(-50%, -100%) scale(0.86);
  }
  39% {
    top: 62%;
    left: 40%;
    transform: translate(-50%, -100%) scale(0.9);
  }
  60% {
    top: 58%;
    left: 61%;
    transform: translate(-50%, -100%) scale(0.84);
  }
  80% {
    top: 51%;
    left: 80%;
    transform: translate(-50%, -100%) scale(0.76);
  }
  96% {
    top: 46%;
    left: 89%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.7);
  }
  100% {
    top: 44.5%;
    left: 92%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.68);
  }
}

@keyframes side-walk-return {
  0% {
    top: 45%;
    left: 92%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.68);
  }
  5% { opacity: 1; }
  18% {
    top: 51%;
    left: 82%;
    transform: translate(-50%, -100%) scale(0.76);
  }
  38% {
    top: 58%;
    left: 63%;
    transform: translate(-50%, -100%) scale(0.84);
  }
  58% {
    top: 62%;
    left: 42%;
    transform: translate(-50%, -100%) scale(0.9);
  }
  74% {
    top: 61%;
    left: 24%;
    transform: translate(-50%, -100%) scale(0.87);
  }
  82% {
    top: 58%;
    left: 20%;
    transform: translate(-50%, -100%) scale(0.83);
  }
  90% {
    top: 54.5%;
    left: 18.8%;
    transform: translate(-50%, -100%) scale(0.78);
  }
  97% {
    top: 51.6%;
    left: 18.2%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.74);
  }
  100% {
    top: 50.6%;
    left: 17.8%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.72);
  }
}

.result-opening h1 {
  display: grid;
  gap: 0.55rem;
}

.result-opening h1 .result-lead {
  color: #a05241;
  font-family: var(--story-sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  line-height: 1;
}

.result-opening h1 #resultProductName,
#resultProductName {
  max-width: 12ch;
  color: var(--story-ink);
  font-family: var(--story-serif);
  font-size: clamp(2rem, 8.7vw, 2.85rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.share-card__answer span {
  letter-spacing: 0.14em;
}

.share-card__answer strong {
  font-size: 1rem;
  line-height: 1.32;
}

.share-card__answer strong.is-long {
  font-size: 0.8rem;
}

@media (max-height: 44rem) {
  .route-screen.route-screen--side .walker.walker--side {
    width: 2.5rem;
    height: 3.65rem;
  }
}

/* V12 · open HOME entry + clean Korean social-result editorial */

:root {
  --result-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
}

.route-door-open {
  transition: opacity 260ms ease;
}

@keyframes side-walk-return {
  0% {
    top: 45%;
    left: 92%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.68);
  }
  5% { opacity: 1; }
  18% {
    top: 51%;
    left: 82%;
    transform: translate(-50%, -100%) scale(0.76);
  }
  38% {
    top: 58%;
    left: 63%;
    transform: translate(-50%, -100%) scale(0.84);
  }
  58% {
    top: 62%;
    left: 42%;
    transform: translate(-50%, -100%) scale(0.9);
  }
  72% {
    top: 61%;
    left: 27.5%;
    transform: translate(-50%, -100%) scale(0.88);
  }
  80% {
    top: 58.8%;
    left: 25.5%;
    transform: translate(-50%, -100%) scale(0.84);
  }
  88% {
    top: 55.2%;
    left: 23.2%;
    transform: translate(-50%, -100%) scale(0.8);
  }
  95% {
    top: 52.7%;
    left: 20.5%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.76);
  }
  100% {
    top: 50.2%;
    left: 18.3%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.72);
  }
}

.result-screen,
.result-screen button,
.result-screen a,
.result-screen h1,
.result-screen h2,
.result-screen h3,
.result-screen p,
.result-screen small,
.result-screen span,
.result-screen strong,
.result-screen b {
  font-family: var(--result-sans);
}

.result-screen {
  background:
    radial-gradient(circle at 94% 0%, rgba(71, 92, 191, 0.08), transparent 24rem),
    linear-gradient(180deg, #f8f8fa 0%, #f2f3f5 58%, #eceef1 100%);
  color: #17191d;
}

.result-topbar {
  border-bottom: 1px solid rgba(22, 25, 31, 0.08);
  background: rgba(249, 249, 251, 0.94);
}

.result-wrap {
  padding: 1.05rem 1rem max(2.25rem, env(safe-area-inset-bottom));
}

.result-opening {
  position: relative;
  padding: 3.25rem 0.1rem 1.75rem;
}

.result-note {
  top: 0.15rem;
  right: auto;
  left: 0;
  max-width: none;
  padding: 0.48rem 0.68rem;
  border: 0;
  border-radius: 999px;
  background: #181a1f;
  box-shadow: none;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  transform: none;
}

.result-opening > .kicker {
  margin-bottom: 0.62rem;
  color: #a95843;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.result-question {
  margin: 0 0 0.75rem;
  color: #272a30;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.result-opening h1 {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  font-family: var(--result-sans);
}

.result-opening h1 .result-lead {
  width: max-content;
  margin: 0;
  padding: 0.34rem 0.52rem;
  border: 1px solid rgba(25, 28, 34, 0.13);
  border-radius: 0.35rem;
  color: #6b6f78;
  font-family: var(--result-sans);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1;
}

.result-opening h1 #resultProductName,
#resultProductName {
  max-width: 11ch;
  margin: 0;
  color: #111318;
  font-family: var(--result-sans);
  font-size: clamp(2.05rem, 9.3vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.12;
}

.result-life-line {
  margin: 1rem 0 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(19, 23, 31, 0.07);
  border-left: 0.28rem solid #b55f49;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 0.8rem 2rem rgba(31, 36, 48, 0.06);
  color: #383b43;
  font-family: var(--result-sans);
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.55;
  transform: none;
}

.result-context {
  margin: 0.8rem 0 0;
  color: #777b84;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.55;
}

.share-section {
  padding-top: 0.65rem;
}

.section-eyebrow {
  margin-bottom: 0.34rem;
  color: #a95843;
  font-family: var(--result-sans);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.07em;
}

.share-section > h2 {
  max-width: 14ch;
  margin: 0 0 1rem;
  color: #15171b;
  font-family: var(--result-sans);
  font-size: clamp(1.45rem, 6.5vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.23;
}

.share-card {
  width: min(100%, 21.5rem);
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 1.25rem;
  background: #1e222b;
  box-shadow: 0 1.5rem 3.6rem rgba(22, 27, 39, 0.22);
}

.share-card__brand,
.share-card__chapter {
  top: 1.05rem;
  font-family: var(--result-sans);
  font-weight: 900;
}

.share-card__brand {
  left: 1.05rem;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
}

.share-card__chapter {
  right: 1.05rem;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
}

.share-card > #shareCardQuote {
  top: 11.5%;
  right: 1.05rem;
  left: 1.05rem;
  color: #fff;
  font-family: var(--result-sans);
  font-size: clamp(1.8rem, 8.6vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.18;
  text-shadow: 0 0.18rem 1.1rem rgba(8, 11, 18, 0.42);
}

.share-card__moment img {
  opacity: 1;
  object-position: center;
  transition: none;
}

.share-card__answer {
  right: 1rem;
  bottom: 23.5%;
  left: 1rem;
  gap: 0.28rem;
  padding: 0.78rem 0.88rem 0.84rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.7rem;
  background: rgba(16, 19, 25, 0.78);
  box-shadow: 0 0.8rem 2rem rgba(8, 10, 15, 0.22);
  backdrop-filter: blur(14px);
}

.share-card__answer span {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--result-sans);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.share-card__answer strong,
.share-card__answer strong.is-long {
  color: #fff;
  font-family: var(--result-sans);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.share-card__prompt {
  right: 0.85rem;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.82rem 0.88rem 0.78rem;
  border: 0;
  border-radius: 0.82rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.8rem 2rem rgba(8, 10, 15, 0.18);
}

.share-card__prompt span {
  color: #ad5540;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.share-card__prompt strong {
  margin-top: 0.22rem;
  color: #17191e;
  font-family: var(--result-sans);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.32;
}

.share-card__prompt b {
  margin-top: 0.42rem;
  color: #545966;
  font-family: var(--result-sans);
  font-size: 0.62rem;
  font-weight: 800;
}

.share-actions {
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.share-button {
  min-height: 3.25rem;
  border: 1px solid rgba(23, 26, 33, 0.11);
  border-radius: 0.88rem;
  background: #fff;
  box-shadow: 0 0.5rem 1.25rem rgba(30, 35, 45, 0.05);
  color: #282b32;
  font-size: 0.76rem;
  font-weight: 850;
}

.share-button--primary {
  border: 0;
  background: #1b1d22;
  box-shadow: 0 0.7rem 1.6rem rgba(23, 25, 30, 0.18);
  color: #fff;
}

.share-button--wide {
  border-color: rgba(78, 91, 178, 0.15);
  background: #eef0ff;
  color: #343a78;
}

.friend-invite {
  padding: 0.9rem 0.95rem;
  border: 0;
  border-left: 0.25rem solid #535fc6;
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 0.65rem 1.6rem rgba(29, 34, 47, 0.05);
}

.friend-invite b {
  color: #1c1f25;
  font-family: var(--result-sans);
  font-size: 0.9rem;
  font-weight: 900;
}

.friend-invite span {
  color: #6d717b;
  font-size: 0.72rem;
  line-height: 1.5;
}

.recommendation-section {
  padding: 1rem;
  border: 1px solid rgba(25, 29, 37, 0.07);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 0.9rem 2.2rem rgba(33, 38, 49, 0.055);
}

.section-heading {
  grid-template-columns: 2.05rem 1fr;
  gap: 0.72rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.82rem;
  border-bottom: 1px solid #eceef1;
}

.section-heading > span {
  width: 2.05rem;
  height: 2.05rem;
  border: 0;
  border-radius: 0.55rem;
  background: #eff0f3;
  color: #5d616b;
  font-family: var(--result-sans);
  font-size: 0.65rem;
  font-weight: 900;
}

.section-heading small,
.product-card__body small {
  color: #a65340;
  font-family: var(--result-sans);
  font-weight: 850;
}

.section-heading h2,
.product-card__body h3,
.sunscreen-note h2 {
  color: #181a1f;
  font-family: var(--result-sans);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.main-product-area,
.main-product-area.is-duo,
.product-grid,
.product-grid.is-single {
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.product-card,
.main-product-area:not(.is-duo) .product-card {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e8e9ec;
  border-radius: 0.9rem;
  background: #f8f8f9;
}

.product-card__image,
.main-product-area:not(.is-duo) .product-card__image {
  min-height: 9.2rem;
  aspect-ratio: auto;
  background: #fff;
}

.product-card__image img {
  padding: 0.25rem;
  object-fit: contain;
}

.product-card__body,
.main-product-area:not(.is-duo) .product-card__body {
  align-self: center;
  padding: 0.82rem 0.78rem;
}

.product-card__body h3,
.main-product-area:not(.is-duo) .product-card__body h3 {
  margin: 0.22rem 0 0.3rem;
  font-family: var(--result-sans);
  font-size: 1rem;
  line-height: 1.3;
}

.product-card__body p {
  color: #696e78;
  font-size: 0.7rem;
  line-height: 1.5;
}

.product-card__body a,
.mini-product a,
.share-status {
  color: #9e4c39;
}

.why-card {
  margin-top: 0.78rem;
  border: 0;
  border-radius: 0.82rem;
  background: #f1f2f5;
}

.why-card span {
  color: #2f333b;
}

.why-card p,
.extra-copy {
  color: #5f646e;
}

.sunscreen-note {
  border: 0;
  border-radius: 1rem;
  background: #20232a;
  box-shadow: 0 0.9rem 2.2rem rgba(25, 28, 34, 0.16);
}

.sunscreen-note h2 {
  color: #fff;
}

.shop-link {
  border-radius: 0.85rem;
  background: #1b1d22;
  box-shadow: 0 0.8rem 1.8rem rgba(22, 24, 29, 0.16);
}

.result-restart {
  border-color: rgba(25, 28, 34, 0.12);
  border-radius: 0.85rem;
  background: #fff;
  color: #363941;
}

@media (max-width: 23rem) {
  .product-card,
  .main-product-area:not(.is-duo) .product-card {
    grid-template-columns: 6.25rem minmax(0, 1fr);
  }

  .product-card__image,
  .main-product-area:not(.is-duo) .product-card__image {
    min-height: 8.5rem;
  }

  .share-card__prompt strong {
    font-size: 0.84rem;
  }
}

/* V13 · quiet skincare typography + direct Instagram handoff */

:root {
  --result-sans: "Noto Sans TC", "PingFang TC", "Hiragino Sans", "Microsoft JhengHei", Arial, sans-serif;
}

.result-screen {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.result-note {
  padding: 0.46rem 0.7rem;
  background: #26282d;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.result-opening > .kicker,
.section-eyebrow {
  font-weight: 600;
  letter-spacing: 0.1em;
}

.result-question {
  font-weight: 500;
  letter-spacing: -0.015em;
}

.result-opening h1 .result-lead {
  font-weight: 600;
  letter-spacing: 0.13em;
}

.result-opening h1 #resultProductName,
#resultProductName {
  width: 100%;
  max-width: none;
  color: #292b30;
  font-size: clamp(1.85rem, 8.6vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.22;
  white-space: nowrap;
}

.result-life-line {
  font-weight: 500;
  letter-spacing: -0.018em;
}

.result-context {
  font-weight: 400;
}

.share-section > h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(1rem, 4.75vw, 1.22rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.4;
  white-space: nowrap;
}

.share-card__brand,
.share-card__chapter {
  font-weight: 600;
}

.share-card > #shareCardQuote {
  font-size: clamp(1.55rem, 7.4vw, 2.08rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.3;
  white-space: pre-line;
}

.share-card__answer span,
.share-card__prompt span {
  font-weight: 500;
}

.share-card__answer strong,
.share-card__answer strong.is-long,
.share-card__prompt strong,
.share-card__prompt b {
  font-weight: 500;
  letter-spacing: -0.025em;
}

.share-button,
.friend-invite b,
.section-heading > span,
.section-heading small,
.product-card__body small {
  font-weight: 600;
}

.section-heading h2,
.product-card__body h3,
.sunscreen-note h2 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.share-button:disabled {
  cursor: progress;
  opacity: 0.58;
}

.ig-share-note {
  margin: 0.52rem 0 0;
  color: #777b84;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 21.5rem) {
  .result-opening h1 #resultProductName,
  #resultProductName {
    font-size: 1.75rem;
  }

  .share-section > h2 {
    font-size: 0.95rem;
    letter-spacing: -0.05em;
  }
}

/* V14 · grounded four-phase Q-character walk cycle */

.route-screen--side .walker--side img {
  bottom: var(--walk-lift, 0rem);
  transition: bottom 90ms cubic-bezier(0.22, 0.8, 0.35, 1);
}

.route-screen--side .walker--side .contact-shadow {
  opacity: 0.9;
  transition: width 90ms ease, opacity 90ms ease;
}

.route-screen--side .walker--side.is-passing .contact-shadow {
  width: 41%;
  opacity: 0.68;
}

/* V15 · quieter result copy + return-walk grounding */

.share-section > h2 {
  margin-bottom: 0.85rem;
}

.route-screen--side--night .walker--side .contact-shadow {
  width: 52%;
  height: 0.25rem;
  background: rgba(16, 18, 25, 0.52);
  filter: blur(0.055rem);
}

.route-screen--side--night .walker--side.is-passing .contact-shadow {
  width: 44%;
  opacity: 0.78;
}

/* V17 · persistent walk frames + complete recommendation label */

.route-screen--side .walker--side img.walk-frame {
  bottom: var(--walk-lift, 0rem);
  opacity: 0;
  visibility: hidden;
}

.route-screen--side .walker--side img.walk-frame.is-active {
  opacity: 1;
  visibility: visible;
}

.share-section > h2 {
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
}

.share-section > h2 .share-product-label {
  flex: 0 0 auto;
  color: #a05241;
  font-size: 0.72em;
  font-weight: 550;
  letter-spacing: 0.035em;
}

.share-section > h2 .share-product-label::after {
  margin-left: 0.42rem;
  color: #b7a8a2;
  content: "｜";
}

.share-section > h2 strong {
  min-width: 0;
  color: #292b30;
  font: inherit;
  font-weight: 600;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.share-section > h2.is-duo {
  gap: 0.32rem;
}

.share-section > h2.is-duo .share-product-label::after {
  margin-left: 0.32rem;
}

.share-section > h2.is-duo strong {
  font-size: 0.82em;
}

/* V19 · centered product cue + quiet organic float */

.share-section > h2 {
  justify-content: center;
  gap: 0.38rem;
  margin-bottom: 0.95rem;
  font-size: clamp(1.1rem, 5.05vw, 1.32rem);
  text-align: center;
}

.share-product-float {
  position: relative;
  flex: 0 0 2.55rem;
  width: 2.55rem;
  height: 3.15rem;
  margin-left: 0.08rem;
}

.share-product-float img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0.34rem 0.34rem rgba(60, 50, 48, 0.14));
  animation: product-cue-float-a 4.9s ease-in-out infinite;
  transform-origin: 50% 58%;
}

.share-section > h2.is-duo .share-product-float {
  flex-basis: 3.05rem;
  width: 3.05rem;
}

.share-section > h2.is-duo .share-product-float img:first-child {
  right: auto;
  width: 72%;
}

.share-section > h2.is-duo .share-product-float img:nth-child(2) {
  right: -0.1rem;
  left: auto;
  width: 68%;
  animation-name: product-cue-float-b;
  animation-duration: 5.7s;
  animation-delay: -1.6s;
}

@keyframes product-cue-float-a {
  0%, 100% { transform: translate3d(0, 0.08rem, 0) rotate(-0.8deg); }
  27% { transform: translate3d(0.07rem, -0.12rem, 0) rotate(0.7deg); }
  61% { transform: translate3d(-0.05rem, -0.03rem, 0) rotate(-0.25deg); }
  83% { transform: translate3d(0.04rem, 0.11rem, 0) rotate(0.55deg); }
}

@keyframes product-cue-float-b {
  0%, 100% { transform: translate3d(0.03rem, -0.04rem, 0) rotate(0.9deg); }
  31% { transform: translate3d(-0.07rem, 0.11rem, 0) rotate(-0.65deg); }
  58% { transform: translate3d(0.05rem, -0.1rem, 0) rotate(0.3deg); }
  79% { transform: translate3d(-0.02rem, 0.04rem, 0) rotate(-0.4deg); }
}

/* V20 · keep every recommendation title centered independently of its packshot */

.share-section > h2 {
  align-items: center;
  width: 100%;
}

.share-product-copy {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: center;
  gap: 0.38rem;
}

.share-product-spacer,
.share-product-float {
  flex: 0 0 2.55rem;
  width: 2.55rem;
}

.share-product-float {
  margin-left: 0;
}

.share-section > h2.is-duo .share-product-spacer,
.share-section > h2.is-duo .share-product-float {
  flex-basis: 3.05rem;
  width: 3.05rem;
}

@media (max-width: 22rem) {
  .share-section > h2 {
    gap: 0.24rem;
  }

  .share-product-copy {
    gap: 0.28rem;
  }

  .share-section > h2 .share-product-label::after {
    margin-left: 0.28rem;
  }

  .share-product-spacer,
  .share-product-float {
    flex-basis: 2.2rem;
    width: 2.2rem;
  }

  .share-section > h2.is-duo .share-product-spacer,
  .share-section > h2.is-duo .share-product-float {
    flex-basis: 2.55rem;
    width: 2.55rem;
  }
}

/* V21 · transparent visible cue; center the complete visible title group */

.share-section > h2 {
  justify-content: center;
}

.share-product-float {
  overflow: visible;
  background: transparent;
}

.share-product-float img {
  background: transparent;
}

/* V22 · keep both commute directions on the paved route */

@keyframes side-walk-outbound {
  0% {
    top: 61%;
    left: 18%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.86);
  }
  5% { opacity: 1; }
  12% {
    top: 65%;
    left: 22%;
    transform: translate(-50%, -100%) scale(0.92);
  }
  28% {
    top: 65%;
    left: 35%;
    transform: translate(-50%, -100%) scale(0.92);
  }
  46% {
    top: 61%;
    left: 52%;
    transform: translate(-50%, -100%) scale(0.87);
  }
  64% {
    top: 57%;
    left: 69%;
    transform: translate(-50%, -100%) scale(0.82);
  }
  80% {
    top: 53%;
    left: 82%;
    transform: translate(-50%, -100%) scale(0.76);
  }
  91% {
    top: 49%;
    left: 88%;
    transform: translate(-50%, -100%) scale(0.72);
  }
  97% {
    top: 45.5%;
    left: 90.5%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.69);
  }
  100% {
    top: 44%;
    left: 91.5%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.68);
  }
}

@keyframes side-walk-return {
  0% {
    top: 44%;
    left: 91.5%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.68);
  }
  5% { opacity: 1; }
  10% {
    top: 45.5%;
    left: 90.5%;
    transform: translate(-50%, -100%) scale(0.69);
  }
  20% {
    top: 49%;
    left: 88%;
    transform: translate(-50%, -100%) scale(0.72);
  }
  34% {
    top: 53%;
    left: 82%;
    transform: translate(-50%, -100%) scale(0.76);
  }
  52% {
    top: 57%;
    left: 69%;
    transform: translate(-50%, -100%) scale(0.82);
  }
  70% {
    top: 61%;
    left: 52%;
    transform: translate(-50%, -100%) scale(0.87);
  }
  85% {
    top: 65%;
    left: 35%;
    transform: translate(-50%, -100%) scale(0.92);
  }
  93% {
    top: 65%;
    left: 22%;
    transform: translate(-50%, -100%) scale(0.92);
  }
  98% {
    top: 61%;
    left: 18.5%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.86);
  }
  100% {
    top: 60.5%;
    left: 17.5%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.84);
  }
}

/* V22 · layered dual-product cue instead of a side-by-side pair */

.share-section > h2.is-duo .share-product-float {
  flex-basis: 3.25rem;
  width: 3.25rem;
  height: 3.4rem;
}

.share-section > h2.is-duo .share-product-float img:first-child {
  z-index: 2;
  inset: auto -0.05rem 0.02rem auto;
  width: 61%;
  height: 82%;
  animation-name: product-cue-duo-front;
  animation-duration: 5.1s;
}

.share-section > h2.is-duo .share-product-float img:nth-child(2) {
  z-index: 1;
  inset: -0.06rem auto auto -0.06rem;
  width: 69%;
  height: 100%;
  animation-name: product-cue-duo-back;
  animation-duration: 5.8s;
  animation-delay: -1.4s;
}

@keyframes product-cue-duo-front {
  0%, 100% { transform: translate3d(0, 0.06rem, 0) rotate(1.4deg); }
  31% { transform: translate3d(0.05rem, -0.1rem, 0) rotate(0.2deg); }
  66% { transform: translate3d(-0.04rem, -0.01rem, 0) rotate(1deg); }
}

@keyframes product-cue-duo-back {
  0%, 100% { transform: translate3d(0, -0.02rem, 0) rotate(-7deg); }
  38% { transform: translate3d(-0.04rem, 0.08rem, 0) rotate(-8.2deg); }
  72% { transform: translate3d(0.04rem, -0.08rem, 0) rotate(-6.4deg); }
}

/* V23 · road-only commute; stop at HOME instead of crossing the garden */

@keyframes side-walk-outbound {
  0% {
    top: 61%;
    left: 24%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.86);
  }
  5% { opacity: 1; }
  14% {
    top: 65.5%;
    left: 27%;
    transform: translate(-50%, -100%) scale(0.92);
  }
  32% {
    top: 65.5%;
    left: 42%;
    transform: translate(-50%, -100%) scale(0.92);
  }
  51% {
    top: 63.5%;
    left: 58%;
    transform: translate(-50%, -100%) scale(0.89);
  }
  70% {
    top: 62.5%;
    left: 72%;
    transform: translate(-50%, -100%) scale(0.86);
  }
  88% {
    top: 61.5%;
    left: 82%;
    transform: translate(-50%, -100%) scale(0.83);
  }
  97% {
    top: 61%;
    left: 85%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.82);
  }
  100% {
    top: 61%;
    left: 86%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.82);
  }
}

@keyframes side-walk-return {
  0% {
    top: 61%;
    left: 86%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.82);
  }
  5% { opacity: 1; }
  12% {
    top: 61.5%;
    left: 82%;
    transform: translate(-50%, -100%) scale(0.83);
  }
  30% {
    top: 62.5%;
    left: 72%;
    transform: translate(-50%, -100%) scale(0.86);
  }
  49% {
    top: 63.5%;
    left: 58%;
    transform: translate(-50%, -100%) scale(0.89);
  }
  68% {
    top: 65.5%;
    left: 42%;
    transform: translate(-50%, -100%) scale(0.92);
  }
  86% {
    top: 65.5%;
    left: 27%;
    transform: translate(-50%, -100%) scale(0.92);
  }
  97% {
    top: 61%;
    left: 24%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.86);
  }
  100% {
    top: 60.5%;
    left: 24%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.84);
  }
}

/* V25 · full HOME ↔ OFFICE road crossing on a cleared continuous pavement */

@keyframes side-walk-outbound {
  0% {
    top: 60.5%;
    left: 24%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.84);
  }
  4% { opacity: 1; }
  13% {
    top: 64%;
    left: 26%;
    transform: translate(-50%, -100%) scale(0.86);
  }
  28% {
    top: 68%;
    left: 35%;
    transform: translate(-50%, -100%) scale(0.88);
  }
  46% {
    top: 70%;
    left: 50%;
    transform: translate(-50%, -100%) scale(0.89);
  }
  64% {
    top: 72%;
    left: 65%;
    transform: translate(-50%, -100%) scale(0.9);
  }
  80% {
    top: 76%;
    left: 80%;
    transform: translate(-50%, -100%) scale(0.91);
  }
  95% {
    top: 76%;
    left: 94%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.91);
  }
  100% {
    top: 76%;
    left: 101%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.91);
  }
}

@keyframes side-walk-return {
  0% {
    top: 76%;
    left: 101%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.91);
  }
  4% { opacity: 1; }
  19% {
    top: 76%;
    left: 94%;
    transform: translate(-50%, -100%) scale(0.91);
  }
  35% {
    top: 76%;
    left: 80%;
    transform: translate(-50%, -100%) scale(0.91);
  }
  52% {
    top: 72%;
    left: 65%;
    transform: translate(-50%, -100%) scale(0.9);
  }
  69% {
    top: 70%;
    left: 50%;
    transform: translate(-50%, -100%) scale(0.89);
  }
  84% {
    top: 68%;
    left: 35%;
    transform: translate(-50%, -100%) scale(0.88);
  }
  93% {
    top: 64%;
    left: 26%;
    transform: translate(-50%, -100%) scale(0.86);
  }
  98% {
    top: 60.5%;
    left: 24%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.84);
  }
  100% {
    top: 60.5%;
    left: 24%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.84);
  }
}

/* V23 · place each dual-result product above its own name */

.share-section > h2.is-duo {
  flex-direction: column;
  gap: 0.28rem;
}

.share-section > h2.is-duo .share-product-copy {
  display: block;
  text-align: center;
}

.share-section > h2.is-duo .share-product-label::after {
  margin: 0;
  content: "";
}

.share-section > h2.is-duo #shareProductName {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.share-section > h2.is-duo .share-product-float {
  display: flex;
  flex: none;
  width: min(100%, 19rem);
  height: auto;
  align-items: flex-end;
  justify-content: center;
  gap: 0.22rem;
}

.share-section > h2.is-duo .share-product-float .share-product-cue-item {
  display: grid;
  min-width: 0;
  grid-template-rows: 3rem auto;
  justify-items: center;
  align-items: end;
}

.share-section > h2.is-duo .share-product-float .share-product-cue-item img {
  position: relative;
  z-index: 1;
  inset: auto;
  width: auto;
  height: 2.85rem;
  object-fit: contain;
}

.share-section > h2.is-duo .share-product-cue-item b {
  color: #292b30;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.share-section > h2.is-duo .share-product-cue-plus {
  padding-bottom: 0.08rem;
  color: #a05241;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.share-section > h2.is-duo .share-product-cue-item.is-first img {
  animation-name: product-cue-stack-a;
  animation-duration: 5.1s;
}

.share-section > h2.is-duo .share-product-cue-item.is-second img {
  animation-name: product-cue-stack-b;
  animation-duration: 5.8s;
  animation-delay: -1.4s;
}

@keyframes product-cue-stack-a {
  0%, 100% { transform: translate3d(0, 0.06rem, 0) rotate(0.8deg); }
  34% { transform: translate3d(0.04rem, -0.1rem, 0) rotate(-0.3deg); }
  69% { transform: translate3d(-0.03rem, -0.01rem, 0) rotate(0.45deg); }
}

@keyframes product-cue-stack-b {
  0%, 100% { transform: translate3d(0, -0.02rem, 0) rotate(-2deg); }
  38% { transform: translate3d(-0.04rem, 0.08rem, 0) rotate(-2.8deg); }
  72% { transform: translate3d(0.04rem, -0.08rem, 0) rotate(-1.4deg); }
}

/* V24 · open both HOME doors before departure; keep both walks below every planter */

.route-screen--side--day .route-door-open {
  filter: saturate(0.88) contrast(1.02) brightness(1.01);
  transform: scale(1.025) translateX(0.8%);
}

.route-screen--side--day.is-running .route-door-open {
  animation: side-map-outbound 5.08s ease-in-out both;
}

.route-screen--side--day.is-door-open .route-door-open,
.route-screen--side--night.is-door-open .route-door-open {
  opacity: 1;
}

.route-screen.route-screen--side.is-running .walker.walker--side {
  animation: none;
}

.route-screen.route-screen--side.is-walking .walker.walker--side {
  animation: side-walk-outbound 4.6s linear both;
}

.route-screen.route-screen--side.route-screen--side--night.is-walking .walker.walker--side {
  animation: side-walk-return 5.2s linear both;
}

@keyframes side-walk-outbound {
  0% {
    top: 50.2%;
    left: 19.8%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.72);
  }
  3% { opacity: 1; }
  11% {
    top: 58.1%;
    left: 26.5%;
    transform: translate(-50%, -100%) scale(0.82);
  }
  22% {
    top: 66%;
    left: 31%;
    transform: translate(-50%, -100%) scale(0.91);
  }
  42% {
    top: 69%;
    left: 46%;
    transform: translate(-50%, -100%) scale(0.94);
  }
  61% {
    top: 68%;
    left: 64%;
    transform: translate(-50%, -100%) scale(0.91);
  }
  76% {
    top: 62%;
    left: 80%;
    transform: translate(-50%, -100%) scale(0.84);
  }
  88% {
    top: 55%;
    left: 86%;
    transform: translate(-50%, -100%) scale(0.76);
  }
  96% {
    top: 47%;
    left: 89.5%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.67);
  }
  100% {
    top: 45%;
    left: 90%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.65);
  }
}

@keyframes side-walk-return {
  0% {
    top: 45%;
    left: 90%;
    opacity: 0;
    transform: translate(-50%, -100%) scale(0.65);
  }
  3% { opacity: 1; }
  8% {
    top: 50%;
    left: 87%;
    transform: translate(-50%, -100%) scale(0.7);
  }
  16% {
    top: 61.5%;
    left: 81%;
    transform: translate(-50%, -100%) scale(0.83);
  }
  28% {
    top: 69.5%;
    left: 72%;
    transform: translate(-50%, -100%) scale(0.91);
  }
  48% {
    top: 72%;
    left: 58%;
    transform: translate(-50%, -100%) scale(0.96);
  }
  68% {
    top: 71%;
    left: 43%;
    transform: translate(-50%, -100%) scale(0.96);
  }
  82% {
    top: 68.5%;
    left: 33%;
    transform: translate(-50%, -100%) scale(0.91);
  }
  90% {
    top: 62%;
    left: 27.5%;
    transform: translate(-50%, -100%) scale(0.84);
  }
  96% {
    top: 56%;
    left: 23%;
    transform: translate(-50%, -100%) scale(0.77);
  }
  100% {
    top: 50.2%;
    left: 19.8%;
    opacity: 1;
    transform: translate(-50%, -100%) scale(0.72);
  }
}

/* V31 final cascade lock */
.result-screen {
  background:
    radial-gradient(circle at 92% 0%, rgba(91, 105, 184, 0.1), transparent 24rem),
    linear-gradient(180deg, #f7f7f9 0%, #f0f1f4 52%, #ebecef 100%);
}

.result-wrap {
  display: grid;
  gap: 1rem;
  padding: 1rem 1rem max(2.25rem, env(safe-area-inset-bottom));
}

.result-opening.result-index-card {
  margin: 0;
  padding: 4rem 1.05rem 1.15rem;
}

.result-index-card .result-note {
  top: 1rem;
  left: 1.05rem;
}

.result-index-card h1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.72rem;
  align-items: end;
  margin: 0;
}

.result-index-card .result-life-line {
  margin-top: 1.25rem;
  font-size: 1rem;
  font-weight: 500;
}

.result-index-card .result-context {
  margin-top: 0.85rem;
  color: #666b75;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.75;
}

.product-result-intro > h2 {
  display: flex;
  width: 100%;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  white-space: normal;
}

.product-result-intro .share-product-float {
  position: relative;
  inset: auto;
  margin: 0;
  transform: none;
}

.share-section {
  margin-top: 0.45rem;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(26, 29, 36, 0.09);
}

.share-invite-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 7.6vw, 2.15rem);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1.22;
}

.share-card > #shareCardQuote {
  font-size: clamp(1.65rem, 7.8vw, 2.25rem);
  font-weight: 550;
  line-height: 1.24;
  white-space: pre-line;
}

.share-card__answer strong,
.share-card__answer strong.is-long {
  font-family: "Iowan Old Style", "Songti TC", serif !important;
  font-size: 1.5rem;
  font-weight: 600;
}

/* V32 · five-question social quiz copy */
.mirror-screen .question-sheet {
  max-height: 70%;
}

.mirror-screen .question-sheet h2 {
  font-size: clamp(1.08rem, 4.8vw, 1.38rem);
  line-height: 1.32;
}

.mirror-screen .question-sheet .skin-answer {
  min-height: 4.55rem;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.42;
}

.context-question--monitor {
  height: 47%;
  overflow-y: auto;
}

.context-question--monitor h2 {
  font-size: clamp(0.88rem, 3.8vw, 1.04rem);
  line-height: 1.24;
}

.context-question--monitor .skin-answer {
  min-height: 3.5rem;
  font-size: 0.66rem;
  font-weight: 650;
  line-height: 1.34;
}

.context-question--dispenser h2 {
  font-size: clamp(1.05rem, 4.8vw, 1.28rem);
  line-height: 1.3;
}

.context-question--dispenser .skin-answer {
  min-height: 5.15rem;
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.42;
}

.context-question--phone h2 {
  font-size: clamp(1.05rem, 4.8vw, 1.32rem);
  line-height: 1.32;
}

.context-question--phone .skin-answer {
  min-height: 4.35rem;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.44;
}

.context-question--mirror h2 {
  font-size: clamp(1.02rem, 4.6vw, 1.28rem);
  line-height: 1.35;
}

.context-question--mirror .skin-answer {
  min-height: 4.4rem;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.42;
}

@media (max-height: 44rem) {
  .mirror-screen .question-sheet {
    max-height: 76%;
  }

  .mirror-screen .question-sheet .skin-answer {
    min-height: 4rem;
    font-size: 0.7rem;
  }

  .context-question--monitor {
    height: 49%;
  }

  .context-question--monitor .skin-answer {
    min-height: 3.15rem;
    font-size: 0.61rem;
  }

  .context-question--dispenser .skin-answer {
    min-height: 4.25rem;
    font-size: 0.66rem;
  }

  .context-question--phone .skin-answer {
    min-height: 3.55rem;
    font-size: 0.67rem;
  }

  .context-question--mirror .skin-answer {
    min-height: 3.65rem;
    font-size: 0.64rem;
  }
}

/* V33 · psychological result becomes an image-led story card */
.psych-result-section {
  position: relative;
  min-height: clamp(38rem, 145vw, 46rem);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1.35rem;
  background: #25252b;
  box-shadow: 0 1.35rem 3.5rem rgba(30, 27, 31, 0.2);
}

.psych-result-section::before {
  display: none;
}

.psych-result-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.psych-result-section::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 18, 23, 0.04) 0%, rgba(17, 18, 23, 0.08) 38%, rgba(17, 18, 23, 0.34) 100%),
    linear-gradient(90deg, rgba(16, 17, 22, 0.1), transparent 50%, rgba(16, 17, 22, 0.08));
  content: "";
  pointer-events: none;
}

.psych-result-panel {
  position: absolute;
  z-index: 2;
  right: 0.85rem;
  bottom: 1rem;
  left: 0.85rem;
  padding: 1.15rem 1.05rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(20, 21, 27, 0.7);
  box-shadow: 0 0.9rem 2.4rem rgba(10, 11, 15, 0.3);
  color: #fff;
  backdrop-filter: blur(14px) saturate(0.9);
}

.psych-result-section .psych-result-panel > .kicker {
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.psych-result-section .psych-result-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.psych-result-section .psych-result-panel h2 strong {
  display: inline;
  margin: 0 0 0 0.25rem;
  color: #f2d36f;
  font-family: "Iowan Old Style", "Songti TC", serif !important;
  font-size: clamp(1.8rem, 8.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.psych-result-panel .psych-result-copy {
  margin-top: 0.82rem;
}

.psych-result-panel .psych-result-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.68;
}

.psych-result-panel .psych-result-copy p + p {
  margin-top: 0.48rem;
}

.psych-result-panel .psych-result-closing {
  margin: 0.8rem 0 0;
  padding: 0.72rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 550;
  line-height: 1.55;
}

@media (max-height: 44rem) {
  .psych-result-section {
    min-height: 35rem;
  }

  .psych-result-panel {
    right: 0.7rem;
    bottom: 0.7rem;
    left: 0.7rem;
    padding: 0.9rem;
  }

  .psych-result-panel .psych-result-copy p {
    font-size: 0.8rem;
    line-height: 1.58;
  }
}

/* V35 · use the image's negative space and remove the duplicate preview card */
.psych-result-headline {
  position: absolute;
  z-index: 2;
  top: clamp(1.5rem, 7vw, 2.4rem);
  right: 1.2rem;
  left: 1.2rem;
  color: #fff;
  text-shadow: 0 0.18rem 1.1rem rgba(7, 11, 20, 0.38);
}

.psych-result-headline p {
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.1em;
}

.psych-result-headline h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 420;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.psych-result-headline h2 strong {
  display: block;
  margin-top: 0.12rem;
  color: #f2d36f;
  font-family: "Iowan Old Style", "Songti TC", serif !important;
  font-size: clamp(3rem, 15vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.psych-result-panel {
  background: rgba(20, 21, 27, 0.64);
}

/* V37 · screenshot spacing refinements */
.psych-result-headline h2 strong {
  margin-top: 0.42rem;
}

.psych-result-panel .psych-result-copy p + p {
  margin-top: 0.2rem;
}

.share-section .share-actions {
  margin-top: 1.15rem;
}

/* V36 · editorial corporate-transformation report */
.result-index-card .work-transition-meter {
  margin-top: 1.2rem;
}

.work-transition-cells,
.work-index-status__cells {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.28rem;
}

.work-progress-cell {
  display: block;
  height: 0.74rem;
  border: 1px solid rgba(48, 51, 59, 0.2);
  background: rgba(48, 51, 59, 0.025);
  opacity: 0;
  transform: translateY(0.18rem);
  animation: work-cell-enter 360ms ease forwards;
  animation-delay: calc(var(--cell-index) * 34ms);
}

.work-progress-cell.is-filled {
  border-color: #a95743;
  background: #a95743;
}

.work-progress-cell.is-current {
  border-color: #292c32;
  background: #292c32;
}

@keyframes work-cell-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work-transition-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.52rem;
  color: #777982;
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.13em;
}

.work-transition-label i {
  color: #a95743;
  font-family: Georgia, serif;
  font-size: 0.75rem;
  font-style: normal;
}

.human-mode-off {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.28rem 0.42rem;
  border: 1px solid rgba(169, 87, 67, 0.28);
  color: #994c39;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.human-mode-off[hidden] {
  display: none;
}

.result-index-card .system-log {
  position: relative;
  margin-top: 1.3rem;
  padding: 0.76rem 0.9rem 0.82rem 1rem;
  border: 1px solid rgba(47, 51, 59, 0.09);
  border-left: 0.25rem solid #b35e49;
  background:
    linear-gradient(90deg, rgba(179, 94, 73, 0.035), transparent 32%),
    rgba(255, 255, 255, 0.62);
}

.system-log__head,
.system-log__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #777a82;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.system-log__head b,
.system-log__foot b {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #9d503d;
  font-weight: 700;
}

.system-log__head i,
.system-log__foot i,
.work-index-status__copy > i {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: #ad5944;
  box-shadow: 0 0 0 0.18rem rgba(173, 89, 68, 0.09);
}

.result-index-card .system-log .result-life-line {
  margin: 0.78rem 0;
  padding: 0;
  border: 0;
  color: #30333a;
  font-size: 1rem;
  font-weight: 520;
  line-height: 1.65;
}

.system-log__foot {
  padding-top: 0.6rem;
  border-top: 1px solid rgba(47, 51, 59, 0.08);
}

.result-index-card .result-context {
  margin: 1rem 0 0;
  padding: 0 0.15rem;
  color: #60636b;
  font-size: 0.94rem;
  line-height: 1.78;
}

.result-index-card .work-index-status {
  display: block;
  margin-top: 1.15rem;
  padding-top: 0.88rem;
  border-top: 1px solid rgba(38, 41, 48, 0.1);
}

.work-index-status__copy {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
}

.work-index-status__copy span {
  color: #9e4e3b;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.work-index-status__copy strong {
  color: #34373e;
  font-size: 0.88rem;
  font-weight: 550;
  line-height: 1.45;
}

.work-index-status__cells {
  gap: 0.18rem;
  margin-top: 0.7rem;
}

.work-index-status__cells .work-progress-cell {
  height: 0.18rem;
  border: 0;
  background: rgba(47, 50, 57, 0.1);
}

.work-index-status__cells .work-progress-cell.is-filled {
  background: #35383f;
}

.work-index-status__cells .work-progress-cell.is-current {
  background: #ad5944;
}

@media (prefers-reduced-motion: reduce) {
  .work-progress-cell {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* V38 · five-stage illustrated corporate-mode report */
.result-index-card {
  padding: 4rem 1.05rem 1.2rem;
  background: linear-gradient(180deg, #fff 0%, #fffdfa 100%);
}

.result-index-card h1,
.result-index-card h1.is-final {
  display: block;
}

.work-index-value {
  display: block;
  font-size: clamp(4.7rem, 24vw, 7.2rem);
  letter-spacing: -0.085em;
  line-height: 0.8;
}

#workIndexTitle {
  display: block;
  margin-top: 0.72rem;
  padding: 0;
  font-size: clamp(1.42rem, 6.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.result-index-card .work-transition-meter {
  margin-top: 1.25rem;
}

.work-transition-cells {
  gap: 0.2rem;
}

.work-transition-cells .work-progress-cell {
  height: 0.82rem;
  border-color: rgba(52, 57, 65, 0.18);
  background: rgba(255, 255, 255, 0.84);
}

.work-transition-cells .work-progress-cell.is-filled,
.work-transition-cells .work-progress-cell.is-current {
  border-color: #d7553e;
  background: linear-gradient(90deg, #d44733, #e36b4f);
}

.work-transition-label {
  margin-top: 0.6rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.human-mode-off {
  margin-top: 0.55rem;
  border-color: #ef7a62;
  border-radius: 999px;
  color: #d84833;
  background: rgba(255, 255, 255, 0.78);
}

.work-index-visual {
  display: grid;
  place-items: center;
  min-height: 13.2rem;
  margin-top: 1.35rem;
  padding: 0.65rem 0.35rem 0.15rem;
  overflow: hidden;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #fffdf9, #fff7ee);
}

.work-index-visual img {
  display: block;
  width: 100%;
  height: 13rem;
  object-fit: contain;
  object-position: center bottom;
}

.work-index-symptom {
  margin-top: 0.75rem;
}

.work-index-symptom > span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.34rem 1.05rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #d54935, #e56b50);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0.32rem 0.72rem rgba(204, 74, 53, 0.16);
}

.result-index-card .work-index-symptom .result-life-line {
  margin: 0.8rem 0 0;
  padding: 0;
  border: 0;
  color: #242932;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
}

.result-index-card .result-context {
  margin-top: 0.9rem;
  padding: 0;
  color: #777d86;
  font-size: 0.94rem;
  line-height: 1.72;
}

.result-index-card .work-index-status {
  margin-top: 1.2rem;
  padding-top: 0.95rem;
  border-top: 0;
}

.work-index-status__copy {
  grid-template-columns: auto auto minmax(0, 1fr);
}

.work-index-status__copy span {
  color: #dc4f38;
  font-size: 0.72rem;
}

.work-index-status__copy > i {
  background: #dc4f38;
}

.work-index-status__copy strong {
  color: #262b33;
  font-weight: 650;
}

.work-index-status__cells .work-progress-cell.is-filled,
.work-index-status__cells .work-progress-cell.is-current {
  background: #d7553e;
}

@media (max-width: 22rem) {
  .work-index-value {
    font-size: 4.35rem;
  }

  .work-index-visual,
  .work-index-visual img {
    min-height: 11.5rem;
    height: 11.5rem;
  }
}

/* V39 · spacing balance from the five-card reference */
.psych-result-panel .psych-result-copy {
  margin-top: 0;
}

#workIndexTitle {
  margin-top: 1.05rem;
}

.work-index-visual {
  min-height: 15.4rem;
  padding-top: 0.35rem;
}

.work-index-visual img {
  width: 114%;
  max-width: none;
  height: 15.4rem;
  transform: scale(1.08);
  transform-origin: center bottom;
}

/* V40 · stage-specific handwritten reactions above the mascot */
.work-index-visual {
  position: relative;
}

.work-index-mascot-line {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.8rem;
  width: 7.2rem;
  margin: 0;
  color: #1f2329;
  font-family: "Kaiti TC", "DFKai-SB", "BiauKai", serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.48;
  white-space: pre-line;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotate(-3deg);
}

.work-index-visual[data-stage="20"] .work-index-mascot-line {
  top: 0.8rem;
  right: 0.65rem;
  width: 6.4rem;
  transform: rotate(-4deg);
}

.work-index-visual[data-stage="40"] .work-index-mascot-line {
  top: 0.7rem;
  right: 0.65rem;
  width: 7rem;
  transform: rotate(-5deg);
}

.work-index-visual[data-stage="60"] .work-index-mascot-line {
  top: 0.55rem;
  right: auto;
  left: 0.7rem;
  width: 8.4rem;
  transform: rotate(-4deg);
}

.work-index-visual[data-stage="80"] .work-index-mascot-line {
  top: 0.55rem;
  right: 0.55rem;
  width: 6.6rem;
  transform: rotate(-5deg);
}

.work-index-visual[data-stage="99"] .work-index-mascot-line {
  top: 0.5rem;
  right: 0.55rem;
  width: 7rem;
  transform: rotate(-4deg);
}

/* V50 · five approved vertical work-index cards, toned to the existing result palette */
.result-index-card.has-stage-card {
  position: relative;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.result-index-card.has-stage-card::after {
  display: none;
}

.work-index-card-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.35rem;
  box-shadow: 0 1.15rem 2.7rem rgba(28, 33, 44, 0.07);
}

/* Remove the baked-in legacy percentage before drawing the shared live value. */
.work-index-card-percent-cover {
  position: absolute;
  z-index: 2;
  top: 7.55%;
  left: 4.05%;
  width: 56%;
  height: 15.45%;
  background: #fff;
  pointer-events: none;
}

/* Keep the visible result percentage tied to the same value used by the share card. */
.work-index-card-percent {
  position: absolute;
  z-index: 4;
  top: 10.9%;
  left: 8.45%;
  display: flex;
  width: 44.85%;
  height: 12.05%;
  align-items: center;
  box-sizing: border-box;
  background: transparent;
  color: #090909;
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 18.5vw, 6.65rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.085em;
  white-space: nowrap;
  pointer-events: none;
}

.work-index-card-art-tone {
  position: absolute;
  z-index: 1;
  top: 36.55%;
  left: 6.45%;
  width: 87.1%;
  height: 42.65%;
  border-radius: 0.8rem;
  background: rgba(246, 216, 228, 0.11);
  pointer-events: none;
  -webkit-backdrop-filter: saturate(0.7) contrast(0.86) brightness(1.06);
  backdrop-filter: saturate(0.7) contrast(0.86) brightness(1.06);
}

.work-index-card-gender-label {
  position: absolute;
  z-index: 4;
  top: 8.5%;
  left: 8.45%;
  display: grid;
  width: 25%;
  height: 2.95%;
  padding: 0 0 0 0.1rem;
  place-items: center start;
  box-sizing: border-box;
  background: #fff;
  color: #e04e3f;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: clamp(0.64rem, 3.05vw, 1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}

.work-index-card-data {
  display: none;
}

/* V41 · compact social share panel from the approved reference */
.share-section.share-cta-card {
  position: relative;
  margin-top: 0.75rem;
  margin-bottom: 1.55rem;
  padding: 1.18rem 1rem 0.82rem;
  overflow: hidden;
  border: 1px solid rgba(218, 123, 101, 0.14);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 8% 88%, rgba(255, 213, 199, 0.34), transparent 9rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 247, 0.94));
  box-shadow: 0 0.95rem 2.4rem rgba(63, 48, 45, 0.055);
}

/* Keep the moved share card evenly spaced between the main and extended recommendations. */
.recommendation-section + .share-section.share-cta-card {
  margin-top: 0;
  margin-bottom: 0;
}

.share-cta-heading {
  position: relative;
  z-index: 2;
  text-align: center;
}

.share-cta-heading h2 {
  margin: 0;
  color: #122333;
  font-size: clamp(1.35rem, 6.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.22;
}

.share-cta-heading p {
  margin: 0.42rem 0 0;
  color: #858d96;
  font-size: 0.82rem;
  line-height: 1.55;
}

.share-cta-main {
  display: grid;
  grid-template-columns: minmax(5.8rem, 0.34fr) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: end;
  margin-top: 0.62rem;
}

.share-cta-mascot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  height: 8.35rem;
}

.share-cta-mascot img {
  display: block;
  width: 118%;
  max-width: none;
  height: 9.15rem;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 0.4rem 0.6rem rgba(63, 48, 45, 0.08));
}

.share-cta-card .share-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.58rem;
  margin: 0;
}

.share-cta-card .share-button {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: center;
  min-height: 3.6rem;
  padding: 0.62rem 0.78rem;
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
  text-align: left;
}

.share-cta-card .share-button b {
  font-weight: 750;
}

.share-cta-card .share-button > i {
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
}

.share-cta-card .share-button--primary {
  background: linear-gradient(145deg, #15283b, #0f1e2d);
  box-shadow: 0 0.75rem 1.6rem rgba(16, 31, 47, 0.17);
}

.share-cta-card .share-button--primary .share-link-icon {
  color: #fff;
}

.share-ig-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.62rem;
  background: radial-gradient(circle at 72% 72%, #ffd36a 0 12%, #f04d4f 34%, #bc35a8 58%, #5b48dc 82%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.share-cta-card .share-button--friend {
  border-color: rgba(117, 126, 216, 0.08);
  background: linear-gradient(145deg, #f5f5ff, #ebeefe);
  color: #17283b;
  box-shadow: 0 0.65rem 1.45rem rgba(88, 97, 171, 0.08);
}

.share-link-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #17283b;
  font-size: 1.55rem;
  font-weight: 500;
}

.share-cta-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.45rem;
  align-items: center;
  justify-content: center;
  margin: 0.62rem 0 0;
  color: #848d96;
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

.share-cta-note span {
  color: #69737e;
  font-size: 0.85rem;
}

.share-cta-note i {
  width: 1px;
  height: 0.85rem;
  margin: 0 0.2rem;
  background: rgba(95, 104, 114, 0.28);
}

.share-cta-card .share-status:not([hidden]) {
  margin: 0.75rem 0 0;
}

.ig-guide {
  width: min(92vw, 27rem);
  max-height: min(92dvh, 48rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 1.5rem;
  background: transparent;
  color: #17283b;
  box-shadow: 0 1.6rem 5rem rgba(8, 16, 24, 0.28);
}

.ig-guide::backdrop {
  background: rgba(13, 22, 31, 0.72);
  backdrop-filter: blur(0.25rem);
}

.ig-guide-card {
  position: relative;
  display: grid;
  grid-template-columns: 7.3rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(218, 123, 101, 0.15);
  border-radius: 1.5rem;
  background: linear-gradient(150deg, #fff, #fff8f5);
}

.ig-guide-close {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  right: 0.7rem;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(18, 35, 51, 0.07);
  color: #17283b;
  font-size: 1.45rem;
  line-height: 1;
}

.ig-guide-preview {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #e8e5e2;
  box-shadow: 0 0.6rem 1.4rem rgba(46, 36, 32, 0.12);
}

.ig-guide-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ig-guide-copy {
  min-width: 0;
  padding: 0.35rem 0.2rem 0.1rem 0;
}

.ig-guide-copy small {
  color: #b15846;
  font-size: 0.76rem;
  font-weight: 750;
}

.ig-guide-copy h2 {
  margin: 0.3rem 2rem 0.8rem 0;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.ig-guide-copy ol {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.ig-guide-copy li {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  color: #59636d;
  font-size: 0.83rem;
  line-height: 1.42;
}

.ig-guide-copy li b {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  border-radius: 999px;
  background: #f4d8d0;
  color: #9c4938;
  font-size: 0.78rem;
}

.ig-guide-open {
  width: 100%;
  border: 0;
}

.ig-guide-open {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #15283b, #0f1e2d);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 750;
}

.ig-guide-open span {
  font-size: 1.15rem;
}

@media (max-width: 25rem) {
  .ig-guide-card {
    grid-template-columns: 6.1rem minmax(0, 1fr);
    gap: 0.78rem;
    padding: 0.9rem;
  }

  .ig-guide-copy h2 {
    font-size: 1.18rem;
  }

  .ig-guide-copy li {
    font-size: 0.78rem;
  }
}

@media (min-width: 31rem) {
  .share-section.share-cta-card {
    padding: 1.3rem 1.35rem 0.88rem;
  }

  .share-cta-main {
    grid-template-columns: 7.6rem minmax(0, 1fr);
  }

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

@media (max-width: 22rem) {
  .share-section.share-cta-card {
    padding-right: 0.78rem;
    padding-left: 0.78rem;
  }

  .share-cta-main {
    grid-template-columns: 5.2rem minmax(0, 1fr);
    gap: 0.42rem;
  }

  .share-cta-mascot img {
    width: 125%;
  }

  .share-cta-card .share-button {
    grid-template-columns: 1.8rem minmax(0, 1fr) auto;
    gap: 0.36rem;
    min-height: 3.35rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }

  .share-ig-icon,
  .share-link-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}
