body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", sans-serif;
}

html.is-preloading {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  width: 100%;
  height: 5px;
  background: transparent;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #000;
  transform-origin: left center;
  transition: width 0.08s linear;
}

html.is-preloading .reading-progress {
  opacity: 0;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74) 34%, rgba(255, 255, 255, 0.98) 72%),
    #fff;
  color: #000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-preloader.is-complete {
  animation: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-preloader-inner {
  width: min(720px, 100%);
  display: grid;
  gap: 24px;
  text-align: center;
}

.site-preloader-inner h1,
.site-preloader-inner p {
  margin: 0;
}

.site-preloader-kicker,
.site-preloader-status {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.site-preloader-inner h1 {
  display: grid;
  gap: 14px;
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.site-preloader-inner h1 small {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.site-preloader-track {
  width: 100%;
  height: 12px;
  border: 1px solid #000;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
}

.site-preloader-track span {
  display: block;
  width: 0;
  height: 100%;
  background: #000;
  transition: width 0.2s ease;
}

body,
.section,
button,
a,
input,
select,
.body-option-card,
.body-choice-stat-card,
.product-card,
.method-stage,
.meal-box-game {
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

button:active,
.body-option-card:active {
  transform: scale(0.98);
}

.ui-enter {
  animation: uiEnter 0.34s ease both;
}

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

@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;
  }
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 6vw;
  box-sizing: border-box;
}

.frame-wrap {
  width: min(1200px, 100%);
}

.center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.opening-comic-intro.reveal {
  opacity: 1;
  transform: none;
}

#after-body-text.reveal {
  opacity: 1;
  transform: none;
}

.iphone {
  width: 390px;
  height: 760px;
  border: 8px solid #000;
  border-radius: 58px;
  position: relative;
  background: #fff;
  overflow: hidden;
}

.dynamic-island {
  width: 132px;
  height: 34px;
  border-radius: 999px;
  background: #000;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-screen {
  position: absolute;
  inset: 62px 18px 18px;
  overflow: hidden;
}

.ig-post,
.wire-card,
.case-card,
.large-placeholder,
.standalone-card,
.wide-placeholder {
  border: 1px solid #000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.ig-post { min-height: 230px; }
.ig-post.story { min-height: 100%; }

#comic-opening {
  min-height: 1500vh;
  align-items: flex-start;
  padding: 0;
}

.opening-comic-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
  contain: paint;
}

.opening-comic-hero,
.opening-comic-stage {
  grid-area: 1 / 1;
}

.opening-comic-hero {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: var(--comic-hero-opacity, 1);
  filter: blur(var(--comic-hero-blur, 0px));
  transform: scale(var(--comic-hero-scale, 1));
  transition: opacity 0.12s linear, filter 0.12s linear, transform 0.12s linear;
  box-sizing: border-box;
}

.opening-comic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.opening-comic-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.04);
  opacity: 1;
}

.opening-comic-hero > div {
  display: grid;
  gap: 0;
  max-width: min(1180px, 92vw);
  text-align: left;
  text-shadow: 0 1px 16px rgba(255, 255, 255, 0.86);
}

.section-kicker {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.opening-comic-hero h1 {
  margin: 0;
}

.opening-hero-copy {
  position: absolute;
  z-index: 1;
  top: 24vh;
  left: 14vw;
  width: min(760px, 80vw);
  max-width: 760px;
  margin: 0;
}

.opening-hero-copy--logo {
  top: 50%;
  left: 52%;
  width: min(92vw, 980px);
  max-width: none;
  display: grid;
  justify-items: center;
  gap: 26px;
  transform: translate(-50%, -50%);
}

.opening-cover-logo {
  position: relative;
  inset: auto;
  z-index: 1;
  display: block;
  width: min(100%, 920px);
  height: auto;
  object-fit: contain;
  transform: none;
  opacity: 1;
  filter: drop-shadow(0 18px 42px rgba(255, 255, 255, 0.28));
}

.opening-hero-title {
  display: grid;
  justify-items: start;
  color: #000;
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", serif;
  max-width: 760px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.opening-hero-line {
  display: block;
  position: relative;
  white-space: nowrap;
}

.opening-hero-line:first-child {
  color: #050505;
  font-size: clamp(72px, 8vw, 128px);
}

.opening-hero-line:nth-child(2) {
  margin-top: 34px;
  color: #050505;
  font-size: clamp(76px, 8.5vw, 136px);
}

.algorithm-word {
  position: relative;
  z-index: 1;
  display: inline-block;
  isolation: isolate;
  color: #9b777a;
}

.algorithm-pixels {
  position: absolute;
  inset: -10% -14%;
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}

.algorithm-pixel {
  position: absolute;
  left: var(--pixel-x);
  top: var(--pixel-y);
  width: var(--pixel-size);
  height: var(--pixel-size);
  background: var(--pixel-color);
  opacity: var(--pixel-opacity);
  animation: algorithmFloat var(--pixel-duration) ease-in-out var(--pixel-delay) infinite;
  will-change: transform, opacity;
}

.opening-hero-subtitle {
  max-width: 520px;
  margin: 48px 0 0;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
  opacity: 0.82;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.95);
}

@keyframes algorithmFloat {
  0% {
    transform: translate3d(-10px, 2px, 0) scale(0.72);
    opacity: 0;
  }
  28% {
    opacity: var(--pixel-opacity);
  }
  62% {
    opacity: calc(var(--pixel-opacity) * 0.6);
  }
  100% {
    transform: translate3d(var(--pixel-travel), -4px, 0) scale(1.08);
    opacity: 0;
  }
}

.opening-comic-hero .scroll-cue {
  justify-self: center;
  position: fixed;
  left: 50%;
  bottom: 8vh;
  display: block;
  width: clamp(34px, 5vw, 58px);
  height: clamp(34px, 5vw, 58px);
  animation: scrollCuePulse 2.8s ease-in-out infinite;
  transform: translateX(-50%) rotate(45deg);
}

.opening-comic-hero .scroll-cue::before {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 3px solid #000;
  border-bottom: 3px solid #000;
}

@keyframes scrollCuePulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-50%) rotate(45deg) translate(0, 0);
  }
  45% {
    opacity: 1;
    transform: translateX(-50%) rotate(45deg) translate(6px, 6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .algorithm-pixel {
    animation: none;
  }
}

.opening-comic-stage {
  --comic-panel-size: min(760px, calc(100svh - 108px), 92vw);
  width: min(1120px, 92vw);
  display: grid;
  gap: 10px;
  opacity: var(--comic-stage-opacity, 0);
  transform: translateY(var(--comic-stage-y, 28px));
  transition: opacity 0.12s linear, transform 0.12s linear;
  will-change: opacity, transform;
}

.opening-comic-strip {
  position: relative;
  width: 100%;
  height: var(--comic-panel-size);
  overflow: visible;
  background: #fff;
  transform: translateZ(0);
}

.opening-comic-strip > [data-comic-panel] {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--comic-panel-size);
  height: 100%;
  opacity: 0;
  transform: translate3d(-50%, 0, 0);
  transition: opacity 0.18s linear;
  backface-visibility: hidden;
  will-change: opacity;
}

.opening-comic-strip img {
  border: 1px solid #000;
  object-fit: contain;
  background: #fff;
  box-sizing: border-box;
}

.opening-comic-strip > [data-comic-panel].is-active {
  opacity: 1 !important;
  transform: translate3d(-50%, 0, 0);
}

.opening-comic-video-page {
  --opening-video-frame-width: var(--comic-panel-size);
  width: 100%;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.opening-comic-empty-page {
  width: var(--opening-video-frame-width);
  height: 100%;
  display: grid;
  place-items: center;
  border: 1px solid #000;
  background: #fff;
  box-sizing: border-box;
}

.opening-comic-empty-page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.opening-comic-empty-page h2 {
  margin: 0;
  color: #111;
  font-size: clamp(2rem, 5vw, 4.8rem);
  letter-spacing: 0;
}

.opening-comic-progress {
  width: var(--comic-panel-size);
  justify-self: center;
  height: 8px;
  border: 1px solid #000;
  overflow: hidden;
}

.opening-comic-progress span {
  display: block;
  width: var(--comic-progress, 0%);
  height: 100%;
  background: #000;
}

.opening-comic-hint {
  margin: 0;
  color: #000;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
}

.model-post-orbit-section {
  min-height: 100vh;
  padding-block: clamp(72px, 8vw, 120px);
}

.model-post-orbit-wrap {
  position: relative;
  min-height: min(820px, 88vh);
  display: grid;
  place-items: center;
}

.model-post-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.model-post-slot {
  width: clamp(132px, 13vw, 210px);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.42);
  border-radius: 14px;
  overflow: hidden;
  background: #f7f7f7;
  color: #555;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.model-post-orbit .model-post-slot {
  position: absolute;
}

.model-post-slot video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.model-post-slot.slot-1 { top: 2%; left: 5%; }
.model-post-slot.slot-2 { top: 4%; right: 5%; }
.model-post-slot.slot-3 { top: 35%; left: 5%; }
.model-post-slot.slot-4 { top: 35%; right: 5%; }
.model-post-slot.slot-5 { bottom: 2%; left: 5%; }
.model-post-slot.slot-6 { right: 5%; bottom: 2%; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.title, .subtitle { margin: 0; }

.body-gender-toggle {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.body-gender-button {
  min-width: 120px;
  min-height: 44px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  cursor: pointer;
  font: inherit;
}

.body-gender-button.active {
  border-width: 3px;
  font-weight: 700;
}

.body-option-grid {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  justify-content: center;
}

.body-choice-workspace {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.body-choice-workspace.has-selection .body-option-card {
  cursor: pointer;
}

.body-choice-workspace.has-selection .body-choice-result {
  height: auto;
}

.body-choice-workspace.has-selection .body-choice-stat-card {
  width: 100%;
  height: 100%;
  margin: 0;
}

.body-option-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  display: grid;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  font: inherit;
  transition: opacity 160ms ease, transform 160ms ease;
}

.body-option-card.active {
  font-weight: 700;
  opacity: 1;
  transform: translateY(-4px);
}

.body-option-grid:has(.body-option-card.active) .body-option-card:not(.active) {
  opacity: 0.55;
}

.body-option-image {
  width: 100%;
  aspect-ratio: 3 / 5;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.body-option-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.body-option-label,
.body-choice-result {
  text-align: center;
}

.body-choice-result {
  min-height: 28px;
  margin: 0;
  font-weight: 700;
}

.body-check-section .subtitle {
  max-width: 42em;
  text-align: center;
  line-height: 1.7;
}

.body-check-form {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-top: 8px;
}

.body-check-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.body-check-form label span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid #000;
  background: #fff;
}

.body-check-form input {
  min-height: 48px;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #000;
  font: inherit;
}

.body-check-form b {
  padding-right: 14px;
}

.body-check-result {
  width: min(860px, 100%);
  min-height: 30px;
  margin: 0;
  line-height: 1.7;
  text-align: left;
  font-weight: 500;
}

.body-check-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #000;
  background: #fff;
}

.body-check-summary p {
  margin: 0;
}

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

.body-check-metrics span {
  min-height: 38px;
  display: grid;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #ddd;
  background: #fafafa;
  font-weight: 800;
}

.body-check-note {
  font-size: 0.92rem;
}

.body-choice-stat-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 14px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  display: grid;
  gap: 9px;
  box-sizing: border-box;
  text-align: left;
  font-weight: 400;
}

.body-choice-stat-card p {
  margin: 0;
  line-height: 1.45;
}

.body-choice-selected {
  font-weight: 700;
  text-align: center;
}

.body-choice-stat-main {
  display: grid;
  gap: 4px;
  place-items: center;
  padding: 8px;
  border: 1px solid #000;
}

.body-choice-stat-main strong {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1;
}

.body-choice-stat-main span,
.body-choice-stat-count,
.body-choice-local-note {
  font-size: 0.92rem;
}

.body-choice-progress {
  height: 10px;
  border: 1px solid #000;
  background: #fff;
  overflow: hidden;
}

.body-choice-progress span {
  display: block;
  height: 100%;
  background: #000;
}

@media (max-width: 1024px) {
  .body-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .body-option-grid {
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
  }
}

@media (max-width: 360px) {
  .body-option-grid {
    grid-template-columns: 1fr;
  }
}

.case-row {
  width: min(680px, 92vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid #000;
  box-sizing: border-box;
}

.case-section-intro {
  width: min(620px, 92vw);
  margin: 0 0 10px;
  color: #222;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

.case-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  min-height: 0;
  padding: 0;
  cursor: pointer;
  color: #000;
  text-decoration: none;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1.4;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #000;
  background: #fff;
}

.case-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  object-fit: contain;
}

.case-card span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: auto;
  height: auto;
  place-items: center;
  padding: 7px 12px;
  border: 1px solid #000;
  background: rgba(255, 255, 255, 0.88);
  color: #000;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.45s ease 0.22s;
  box-sizing: border-box;
}

.case-card:hover span,
.case-card:focus-visible span,
.case-card:focus-within span {
  opacity: 1;
}

.case-card-placeholder span {
  background: rgba(255, 255, 255, 0.88);
}

.case-card:hover {
  border-width: 2px;
}

.case-link-row a:hover {
  text-decoration: underline;
}

.story-card,
.standalone-card { width: min(520px, 80vw); height: min(720px, 70vh); }

.large-placeholder { width: min(920px, 92vw); height: 360px; }
.wide-placeholder { width: min(620px, 80vw); height: 220px; }

.inline-row, .action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.action-row { gap: 80px; }

.status-text, .small-status { min-height: 24px; font-size: 16px; margin: 0; }

.overlay-wrap { position: relative; display: flex; justify-content: center; align-items: center; }
.article-main { width: min(900px, 92vw); height: 520px; padding: 20px; font-size: 1.4rem; line-height: 1.6; }
.article-main.short { height: 360px; }

.floating-card {
  width: 280px;
  min-height: 220px;
  padding: 16px;
  position: absolute;
  top: 50%;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
#frame-11 .floating-card { right: 8%; transform: translate(50px, -50%); }
#frame-12 .floating-card { left: 8%; transform: translate(-50px, -50%); }
#frame-11 .floating-card.visible,
#frame-12 .floating-card.visible { transform: translate(0, -50%); }

.standalone-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 6vw;
  box-sizing: border-box;
}

#frame-12 {
  background: #fff8ea;
  color: #3d2d1d;
}

#frame-12 .meal-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.6fr);
  gap: 34px;
  align-items: stretch;
}

#frame-12 .meal-story-panel {
  position: sticky;
  top: 48px;
  align-self: start;
  min-height: 520px;
  padding: 28px;
  border: 1px solid rgba(90, 62, 36, 0.18);
  border-radius: 28px;
  background: rgba(255, 252, 244, 0.92);
  box-shadow: 0 18px 44px rgba(91, 65, 36, 0.12);
  box-sizing: border-box;
}

#frame-12 .meal-role-placeholder,
#frame-12 .meal-counter-box,
#frame-12 .meal-food-art,
#frame-12 .meal-lunchbox {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(96, 69, 43, 0.34);
  background:
    linear-gradient(135deg, rgba(249, 231, 190, 0.58), rgba(231, 244, 210, 0.62));
  color: #7a674b;
  text-align: center;
  box-sizing: border-box;
}

#frame-12 .meal-role-placeholder {
  width: 100%;
  aspect-ratio: 1.08;
  margin-bottom: 24px;
  border-radius: 24px;
  font-weight: 700;
}

#frame-12 .meal-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #eef6df;
  color: #6d8b43;
  font-weight: 800;
  font-size: 0.92rem;
}

#frame-12 .meal-story-panel h2,
#frame-12 .meal-game-head h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.24;
}

#frame-12 .meal-story-panel h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
}

#frame-12 .meal-story-panel p,
#frame-12 .meal-game-head p,
#frame-12 .meal-tip-box p {
  line-height: 1.75;
}

#frame-12 .meal-tip-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 18px;
  background: #f6ead2;
}

#frame-12 .meal-tip-box span {
  color: #a36b25;
  font-weight: 800;
}

#frame-12 .meal-game-panel {
  position: relative;
  min-height: 640px;
  padding: 28px;
  border: 1px solid rgba(90, 62, 36, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(162, 111, 57, 0.08) 1px, transparent 1px) 0 0 / 38px 100%,
    linear-gradient(145deg, #fffdf7 0%, #f2f8e9 52%, #f4d8aa 100%);
  box-shadow: inset 0 -18px 36px rgba(130, 86, 40, 0.09), 0 24px 60px rgba(91, 65, 36, 0.14);
  box-sizing: border-box;
  cursor: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 5l10 10M14 5l-8 8M18 15l8 8M16 17l8 8' stroke='%235b3b1f' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M20 19l5-5M23 22l5-5' stroke='%2384a75b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 6 6, pointer;
}

#frame-12 .meal-game-head {
  max-width: 620px;
  margin-bottom: 20px;
}

#frame-12 .meal-play-area {
  position: relative;
  min-height: 500px;
}


#frame-12 .meal-profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 430px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 252, 244, 0.84);
  box-shadow: 0 14px 34px rgba(91, 65, 36, 0.1);
}

#frame-12 .meal-profile-form label {
  display: grid;
  gap: 8px;
  color: #5e452b;
  font-weight: 800;
}

#frame-12 .meal-profile-form input,
#frame-12 .meal-profile-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(96, 69, 43, 0.22);
  border-radius: 14px;
  background: #fffdf7;
  color: #44321f;
  font: inherit;
  box-sizing: border-box;
}

#frame-12 .meal-profile-wide,
#frame-12 .meal-profile-error {
  grid-column: 1 / -1;
}

#frame-12 .meal-profile-error {
  min-height: 1.4em;
  margin: 0;
  color: #b25238;
  font-weight: 800;
}

#frame-12 .meal-counter-scene {
  animation: mealSceneIn 0.32s ease both;
}

#frame-12 .meal-counter-scene.is-hidden {
  display: none !important;
}

#frame-12 .meal-counter-scene[data-meal-scene="build"] {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
  gap: 22px;
}

#frame-12 .meal-box-zone,
#frame-12 .meal-ingredient-zone,
#frame-12 .meal-checkout-counter,
#frame-12 .meal-waiting-box,
#frame-12 .meal-result-layout {
  border-radius: 24px;
  background: rgba(255, 252, 244, 0.84);
  box-shadow: 0 14px 34px rgba(91, 65, 36, 0.1);
}

#frame-12 .meal-box-zone {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

#frame-12 .meal-lunchbox {
  position: relative;
  width: min(310px, 100%);
  aspect-ratio: 1;
  border: 12px solid #f7efe0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fffaf0 0 48%, #f4e5c8 49% 66%, #e9d1a8 67% 100%);
  overflow: hidden;
}

#frame-12 .meal-lunchbox::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(122, 92, 56, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

#frame-12 .meal-lunchbox::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 -22px 38px rgba(91, 65, 36, 0.16);
  pointer-events: none;
}

#frame-12 .meal-lunchbox-small {
  width: min(250px, 100%);
}

#frame-12 .meal-box-label {
  position: relative;
  z-index: 1;
  max-width: 12em;
  color: #b19b7b;
  font-weight: 700;
}

#frame-12 .meal-ingredient-zone {
  padding: 20px;
}

#frame-12 .meal-category-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 10px;
}

#frame-12 .meal-category-row:first-child {
  margin-top: 0;
}

#frame-12 .meal-category-row h4 {
  margin: 0;
  font-size: 1.05rem;
}

#frame-12 .meal-category-row span {
  color: #6d8b43;
  font-weight: 800;
}

#frame-12 .meal-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
}

#frame-12 .meal-option {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: #fffdf7;
  color: #44321f;
  box-shadow: 0 8px 18px rgba(91, 65, 36, 0.08);
  font: inherit;
  text-align: left;
  cursor: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

#frame-12 .meal-option:hover {
  transform: translateY(-4px) rotate(-1deg);
}

#frame-12 .meal-option:active,
#frame-12 .meal-option.is-pinching {
  transform: translateY(1px) scale(0.97);
}

#frame-12 .meal-option.is-selected {
  border-color: #7fa15a;
  box-shadow: 0 8px 0 rgba(127, 161, 90, 0.16), 0 14px 22px rgba(91, 65, 36, 0.08);
}

#frame-12 .meal-option:disabled {
  opacity: 0.42;
  transform: none;
  cursor: not-allowed;
}

#frame-12 .meal-food-art {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 0.64rem;
  line-height: 1.2;
}

#frame-12 .meal-inline-button {
  border: 0;
  background: #eda33a;
  color: #3d2d1d;
  box-shadow: 0 7px 0 rgba(135, 90, 43, 0.18), 0 14px 24px rgba(91, 65, 36, 0.12);
  font-weight: 800;
}

#frame-12 .meal-inline-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#frame-12 .meal-piece {
  position: absolute;
  display: grid;
  place-items: center;
  width: 27%;
  min-height: 15%;
  padding: 5px;
  border: 1px dashed rgba(74, 55, 34, 0.3);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
  color: rgba(67, 48, 30, 0.78);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  box-sizing: border-box;
  animation: mealDrop 0.28s cubic-bezier(.2, .9, .2, 1.2) both;
  z-index: 2;
}

#frame-12 .meal-piece.is-filled {
  background: var(--piece-color, #e9ddb9);
  color: #44321f;
}

#frame-12 .vegetable-slot-1 { left: 36.5%; top: 6%; }
#frame-12 .vegetable-slot-2 { left: 65%; top: 25%; }
#frame-12 .vegetable-slot-3 { left: 55%; top: 62%; }
#frame-12 .vegetable-slot-4 { left: 18%; top: 62%; }
#frame-12 .vegetable-slot-5 { left: 8%; top: 25%; }

#frame-12 .protein-center-slot {
  left: 31.5%;
  top: 36%;
  width: 37%;
  min-height: 24%;
  z-index: 3;
}

#frame-12 .sauce-overlay {
  left: 21%;
  top: 28%;
  width: 58%;
  min-height: 40%;
  border-radius: 50%;
  background: rgba(210, 167, 92, 0.42);
  z-index: 4;
}

#frame-12 .topping-overlay {
  left: 34%;
  top: 20%;
  width: 32%;
  min-height: 16%;
  background: rgba(255, 253, 247, 0.72);
  z-index: 5;
}

#frame-12 .meal-tongs {
  position: absolute;
  left: var(--tong-x, 50%);
  top: var(--tong-y, 50%);
  width: 42px;
  height: 42px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-18deg);
  z-index: 10;
}

#frame-12 .meal-tongs::before,
#frame-12 .meal-tongs::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 4px;
  width: 4px;
  height: 34px;
  border-radius: 999px;
  background: #664323;
  transform-origin: top center;
}

#frame-12 .meal-tongs::before { transform: rotate(-20deg); }
#frame-12 .meal-tongs::after { transform: rotate(20deg); }
#frame-12 .meal-tongs.is-active {
  opacity: 1;
  animation: mealPinch 0.34s ease both;
}

#frame-12 .meal-fly-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 9;
}

#frame-12 .meal-fly-item {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px dashed rgba(74, 55, 34, 0.35);
  border-radius: 14px;
  background: var(--piece-color, #ead9ad);
  color: #5d472f;
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  animation: mealFly 0.48s ease-in-out forwards;
}

#frame-12 .meal-checkout-counter,
#frame-12 .meal-waiting-box {
  display: grid;
  place-items: center;
  min-height: 430px;
  gap: 18px;
  padding: 28px;
}

#frame-12 .meal-counter-box {
  width: min(520px, 100%);
  height: 120px;
  border-radius: 18px;
  background-color: #e0b477;
}

#frame-12 .meal-progress-track {
  width: min(420px, 90%);
  height: 14px;
  border-radius: 999px;
  background: #eadcc6;
  overflow: hidden;
}

#frame-12 .meal-progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #83a65e;
}

#frame-12 .meal-progress-track.is-running span {
  animation: mealProgress 1.25s ease forwards;
}

#frame-12 .meal-result-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-height: 430px;
  padding: 24px;
}

#frame-12 .meal-total {
  margin: 16px 0 0;
  color: #a36b25;
  font-size: 1.6rem;
  font-weight: 900;
  text-align: center;
}

#frame-12 .meal-macro-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

#frame-12 .meal-macro-row span,
#frame-12 .meal-comparison-card {
  padding: 12px;
  border-radius: 16px;
  background: #fffaf0;
  box-shadow: inset 0 -4px 0 rgba(237, 163, 58, 0.13);
}

#frame-12 .meal-result-copy h4 {
  margin: 0 0 10px;
  color: #44321f;
}

#frame-12 .meal-macro-results {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

#frame-12 .meal-macro-card {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr) 4em;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #fffaf0;
  box-shadow: inset 0 -4px 0 rgba(237, 163, 58, 0.13);
}

#frame-12 .meal-macro-card b {
  font-size: 0.98rem;
}

#frame-12 .meal-macro-card em {
  justify-self: end;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef6df;
  color: #6d8b43;
  font-style: normal;
  font-weight: 900;
}

#frame-12 .meal-macro-card.is-low em,
#frame-12 .meal-macro-card.is-high em {
  background: #f6ead2;
  color: #a36b25;
}

#frame-12 .meal-comparisons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

#frame-12 .meal-comparison-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

#frame-12 .meal-comparison-icon,
#frame-12 .comparison-icon-placeholder {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px dashed rgba(96, 69, 43, 0.32);
  border-radius: 14px;
  background: #eef6df;
  color: #7a674b;
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
}

#frame-12 .meal-comparison-card p,
#frame-12 .meal-comment {
  margin: 0;
  line-height: 1.55;
}

#frame-12 .meal-comment {
  margin-bottom: 18px;
  color: #6d8b43;
  font-size: 1.15rem;
  font-weight: 900;
}

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

@keyframes mealDrop {
  from { opacity: 0; transform: scale(0.72) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes mealPinch {
  0% { transform: translate(-50%, -50%) rotate(-18deg) scale(0.9); }
  45% { transform: translate(-50%, -50%) rotate(-18deg) scale(1.08); }
  100% { transform: translate(-50%, -50%) rotate(-18deg) scale(1); }
}

@keyframes mealFly {
  from {
    left: var(--from-x);
    top: var(--from-y);
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    left: var(--to-x);
    top: var(--to-y);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.66) rotate(8deg);
  }
}

@keyframes mealProgress {
  from { width: 0%; }
  to { width: 100%; }
}

@media (max-width: 900px) {
  .text-column {
    width: 88vw;
    min-width: 0;
    font-size: 17px;
  }

  .case-row { flex-direction: column; }
  .iphone { transform: scale(0.85); transform-origin: center; }
  .inline-row, .action-row { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .floating-card { position: static; transform: none !important; margin-top: 12px; }
}


.text-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 6vw;
  box-sizing: border-box;
}

.text-column {
  width: min(34vw, 640px);
  min-width: 420px;
  line-height: 1.85;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.text-column p {
  margin: 0 0 1.2em;
}

.text-column .button {
  margin-top: 32px;
}

.xinmi-measure-intro {
  position: relative;
  height: 220svh;
  background: #050505;
}

.xinmi-measure-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #050505;
}

.xinmi-measure-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.xinmi-measure-sticky img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.xinmi-measure-sticky blockquote {
  position: absolute;
  z-index: 1;
  right: clamp(28px, 7vw, 120px);
  top: 50%;
  bottom: auto;
  width: min(760px, calc(100vw - 56px));
  margin: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58);
  transform: translate3d(0, calc(-50% + var(--quote-y, 75vh)), 0);
  opacity: var(--quote-opacity, 0);
  will-change: transform, opacity;
}

@media (max-width: 620px) {
  .xinmi-measure-intro {
    height: 210svh;
  }

  .xinmi-measure-sticky img {
    object-position: 56% center;
  }

  .xinmi-measure-sticky blockquote {
    right: 20px;
    width: calc(100vw - 40px);
    font-size: clamp(1.25rem, 6vw, 1.65rem);
  }
}

.site-credits {
  position: relative;
  padding: 48px clamp(28px, 7vw, 120px) 52px;
  color: #f5f5f5;
  text-align: left;
  border-top: 4px solid #d92720;
  background: linear-gradient(135deg, #252627 0%, #1c1d1e 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.site-credits p {
  margin: 0;
}

.site-credits-brand {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-credits-team {
  margin-top: 16px !important;
  color: #d7d7d7;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.site-credits-team span {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-weight: 700;
}

#intro-text {
  min-height: auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-block: 0;
  padding-inline: 0;
  background: #fff;
}

.haocheng-scale-intro {
  position: relative;
  height: 220svh;
  background: #111719;
}

.haocheng-scale-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #111719;
}

.haocheng-scale-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.haocheng-scale-sticky > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.haocheng-scale-sticky blockquote {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(28px, 7vw, 120px);
  width: min(620px, calc(100vw - 56px));
  margin: 0;
  padding: 0.75em 0.9em;
  color: #fff;
  background: rgba(12, 18, 20, 0.66);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0;
  transform: translate3d(0, calc(-50% + var(--haocheng-quote-y, 38vh)), 0);
  opacity: 1;
  will-change: transform, opacity;
}

@media (max-width: 620px) {
  .haocheng-scale-intro {
    height: 210svh;
  }

  .haocheng-scale-sticky > img {
    object-position: 50% center;
  }

  .haocheng-scale-sticky blockquote {
    right: 18px;
    width: calc(100vw - 36px);
    font-size: 1.05rem;
    line-height: 1.8;
  }
}

#intro-text.reveal {
  opacity: 1;
  transform: none;
}

#intro-text .xinmi-card-scroll.is-inline-media {
  opacity: 1;
  visibility: visible;
}

#intro-text .xinmi-intro-copy {
  width: min(1060px, 92vw);
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 680px);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  color: #2f3133;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 2;
  letter-spacing: 0;
  position: relative;
  z-index: auto;
}

.xinmi-story-text {
  grid-column: 2;
  min-width: 0;
}

#intro-text .xinmi-intro-copy h2 {
  margin: 0 0 1.1em;
  color: #111;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0;
}

#intro-text .xinmi-intro-copy p {
  margin: 0 0 1.35em;
}

#intro-text .xinmi-intro-copy p,
.xinmi-story-text {
  transition: filter 0.28s ease, opacity 0.28s ease;
}

.xinmi-speaker {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: min(340px, 74vw);
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  pointer-events: none;
  user-select: none;
  z-index: 6;
}

.xinmi-speaker-portrait {
  width: 100%;
  height: auto;
  display: block;
}

.xinmi-speaker figcaption {
  width: fit-content;
  max-width: min(100%, 24em);
  padding: 9px 14px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-size: clamp(0.82rem, 1.08vw, 1rem);
  font-weight: 900;
  line-height: 1.38;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
  overflow-wrap: anywhere;
}

.xinmi-speaker-data {
  display: block;
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.75;
}

.xinmi-card-scroll.has-active-card .xinmi-story-text {
  filter: blur(3px);
  opacity: 0.46;
}

.xinmi-card-scroll {
  position: relative;
  min-height: 560vh;
  background: #fff;
}

.xinmi-card-scroll.is-inline-media {
  width: 100%;
  min-height: 320vh;
  overflow: visible;
}

.xinmi-card-scroll.is-inline-media .xinmi-card-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  justify-items: center;
  width: 100%;
  padding: 96px 6vw;
  overflow: hidden;
  box-sizing: border-box;
}

.xinmi-card-scroll.is-inline-media .xinmi-intro-copy {
  grid-area: 1 / 1;
  z-index: 1;
}

.xinmi-card-scroll.is-inline-media.has-active-card .xinmi-story-text {
  filter: blur(3px);
  opacity: 0.46;
}

.xinmi-card-scroll.is-inline-media .xinmi-story-card {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  width: min(1100px, 74vw);
  max-height: none;
  overflow: visible;
  pointer-events: auto;
  visibility: hidden;
  transform: translate3d(-50%, calc(-50% + var(--xinmi-inline-card-y, 120vh)), 0);
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  box-shadow: 0 28px 76px rgba(38, 41, 43, 0.22);
  padding: clamp(16px, 2vw, 26px);
  will-change: transform;
}

.xinmi-card-scroll.is-inline-media .xinmi-progress-card {
  width: min(1100px, 74vw);
  margin-top: 0;
}

.xinmi-card-scroll.is-inline-media .xinmi-food-card {
  width: min(980px, 68vw);
  margin-top: 0;
}

.xinmi-card-scroll.is-inline-media .xinmi-story-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.9;
}

.xinmi-card-scroll.is-inline-media .xinmi-story-card small {
  color: rgba(255, 255, 255, 0.76);
}

.xinmi-card-scroll.is-inline-media .xinmi-month-compare figcaption,
.xinmi-card-scroll.is-inline-media .xinmi-month-compare p {
  color: rgba(255, 255, 255, 0.84);
}

.xinmi-card-scroll.is-inline-media .xinmi-story-card .slider-action-hint {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.xinmi-card-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-items: center;
  padding: 64px 6vw;
  box-sizing: border-box;
  overflow: hidden;
}

.xinmi-story-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 2vw, 26px);
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 24px 60px rgba(38, 41, 43, 0.16);
  box-sizing: border-box;
  color: #fff;
  opacity: 1;
  pointer-events: none;
  transform: translate3d(0, var(--xinmi-card-y, 86vh), 0) scale(var(--xinmi-card-scale, 0.96));
  backface-visibility: hidden;
  will-change: transform;
  transition: box-shadow 0.3s ease;
  letter-spacing: 0;
}

.xinmi-text-panel {
  left: 50%;
  top: 50%;
  width: min(360px, 30vw);
  min-height: 0;
  text-align: center;
  transform: translate3d(-50%, calc(-50% + var(--xinmi-card-y, 86vh)), 0) scale(var(--xinmi-card-scale, 0.96));
}

.xinmi-media-panel {
  left: 50%;
  top: 50%;
  width: min(820px, 76vw);
  max-height: 78vh;
  overflow: auto;
  transform: translate3d(-50%, calc(-50% + var(--xinmi-card-y, 86vh)), 0) scale(var(--xinmi-card-scale, 0.96));
}

.xinmi-progress-card {
  width: min(860px, 78vw);
  max-height: 84vh;
}

.xinmi-food-card {
  width: min(760px, 72vw);
}

.xinmi-story-card.is-active {
  z-index: 5;
  pointer-events: auto;
  transition-delay: 0s;
  box-shadow: 0 28px 76px rgba(38, 41, 43, 0.22);
}

.xinmi-text-panel.is-active {
  transform: translate3d(-50%, calc(-50% + var(--xinmi-card-y, 0vh)), 0) scale(var(--xinmi-card-scale, 1));
}

.xinmi-media-panel.is-active {
  transform: translate3d(-50%, calc(-50% + var(--xinmi-card-y, 0vh)), 0) scale(var(--xinmi-card-scale, 1));
}

.xinmi-story-card p,
.xinmi-story-card small,
.xinmi-month-compare,
.xinmi-month-compare figcaption {
  margin: 0;
}

.xinmi-story-card p {
  font-size: clamp(0.92rem, 1.12vw, 1.04rem);
  line-height: 1.68;
}

.xinmi-story-card small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.5;
}

.xinmi-story-card .slider-action-hint,
.haocheng-progress-copy .slider-action-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: clamp(0.9rem, 1.12vw, 1.05rem);
  font-weight: 950;
  line-height: 1.35;
}

.xinmi-story-card .slider-action-hint::before,
.haocheng-progress-copy .slider-action-hint::before {
  content: "↔";
  margin-right: 8px;
  font-size: 1.15em;
  line-height: 1;
}

.xinmi-month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.xinmi-month-compare {
  display: grid;
  gap: 8px;
}

.xinmi-month-compare figcaption {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 700;
}

.xinmi-month-compare p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  line-height: 1.55;
}

.xinmi-comparison {
  position: relative;
  aspect-ratio: 3 / 4.8;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f0ea;
  border: 1px solid rgba(52, 54, 56, 0.16);
}

.xinmi-comparison::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  z-index: 3;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(52, 54, 56, 0.12), 0 0 20px rgba(0, 0, 0, 0.26);
  transform: translateX(-50%);
  pointer-events: none;
}

.xinmi-comparison img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f4f0ea;
}

.xinmi-month-compare:nth-child(3) .xinmi-comparison-after {
  transform: translateY(8%) scale(1.48);
  transform-origin: 52% 30%;
}

.xinmi-comparison-before {
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.xinmi-comparison-label {
  position: absolute;
  top: 8px;
  z-index: 6;
  padding: 4px 8px;
  border: 1px solid rgba(0, 0, 0, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.xinmi-comparison-label.is-before {
  left: 8px;
}

.xinmi-comparison-label.is-after {
  right: 8px;
}

.xinmi-comparison input {
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 0;
  accent-color: #d16652;
  cursor: ew-resize;
}

.xinmi-food-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.xinmi-food-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(52, 54, 56, 0.16);
  border-radius: 8px;
  background: #f4f0ea;
}

.xinmi-card-scroll.is-inline-media .xinmi-food-grid img {
  aspect-ratio: 3 / 4.1;
  object-fit: cover;
}

@media (max-width: 1180px) {
  #intro-text .xinmi-intro-copy {
    width: min(960px, 92vw);
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    margin-left: 0;
  }

  .xinmi-speaker {
    width: min(300px, 74vw);
  }

  .xinmi-speaker figcaption {
    max-width: min(100%, 18em);
    padding: 8px 12px;
    font-size: clamp(0.68rem, 0.95vw, 0.92rem);
  }
}

@media (max-width: 900px) {
  #intro-text .xinmi-intro-copy {
    width: min(620px, calc(100vw - 56px));
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .xinmi-speaker {
    grid-column: 1;
    grid-row: auto;
    width: min(320px, 74vw);
    margin: 0 auto 12px;
  }

  .xinmi-story-text {
    grid-column: 1;
  }

  #intro-text .xinmi-intro-copy h2 {
    grid-column: 1;
    font-size: clamp(1.65rem, 8vw, 2.5rem);
  }
}

@media (max-width: 760px) {
  #intro-text {
    padding-top: 72px;
  }

  #intro-text .xinmi-intro-copy {
    width: min(100% - 44px, 680px);
    padding: 0 0 72px;
    font-size: 17px;
    line-height: 1.85;
  }

  .xinmi-speaker {
    position: relative;
    left: auto;
    top: auto;
    width: min(100%, 480px);
    margin: 0 auto 22px;
    grid-template-columns: minmax(112px, 34vw) minmax(0, 1fr);
    align-items: center;
    justify-items: center;
    gap: 12px;
  }

  .xinmi-speaker figcaption {
    width: 100%;
    max-width: none;
    font-size: clamp(0.76rem, 3.1vw, 0.95rem);
  }

  .xinmi-card-scroll {
    min-height: 430vh;
  }

  .xinmi-card-scroll.is-inline-media {
    min-height: 360vh;
  }

  .xinmi-card-sticky {
    padding: 44px 18px;
  }

  .xinmi-card-scroll.is-inline-media .xinmi-card-sticky {
    min-height: 100vh;
    padding: 72px 22px;
    overflow: hidden;
  }

  .xinmi-story-card {
    right: auto;
    left: 50%;
    top: 50%;
    width: min(100%, 420px);
    max-height: 86vh;
    gap: 18px;
    padding: 22px 22px 46px;
    overflow: auto;
    transform: translate3d(-50%, calc(-50% + var(--xinmi-card-y, 86vh)), 0) scale(var(--xinmi-card-scale, 0.96));
  }

  .xinmi-story-card.is-active,
  .xinmi-media-panel.is-active {
    transform: translate3d(-50%, calc(-50% + var(--xinmi-card-y, 0vh)), 0) scale(var(--xinmi-card-scale, 1));
  }

  .xinmi-card-scroll.is-inline-media .xinmi-story-card,
  .xinmi-card-scroll.is-inline-media .xinmi-story-card.is-active,
  .xinmi-card-scroll.is-inline-media .xinmi-media-panel.is-active {
    left: 50%;
    top: 50%;
    width: min(88vw, 420px);
    max-height: none;
    padding: 18px;
    overflow: visible;
    transform: translate3d(-50%, calc(-50% + var(--xinmi-inline-card-y, 120vh)), 0);
  }

  .xinmi-story-card p {
    font-size: 1rem;
    line-height: 1.68;
  }

  .xinmi-month-grid,
  .xinmi-food-grid {
    grid-template-columns: 1fr;
  }

  .xinmi-card-scroll.is-inline-media .xinmi-month-grid,
  .xinmi-card-scroll.is-inline-media .xinmi-food-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .xinmi-card-scroll.is-inline-media .xinmi-story-card p {
    font-size: clamp(0.78rem, 2.7vw, 0.95rem);
    line-height: 1.55;
  }

  .xinmi-card-scroll.is-inline-media .xinmi-month-compare figcaption,
  .xinmi-card-scroll.is-inline-media .xinmi-month-compare p {
    font-size: clamp(0.62rem, 2.2vw, 0.78rem);
  }

  .xinmi-comparison {
    aspect-ratio: 3 / 4.3;
  }

  .xinmi-food-grid img {
    height: auto;
  }
}

#after-body-text {
  min-height: auto;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(72px, 8vw, 112px) 6vw;
  background: #fff;
}

.weight-story-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(56px, 7vw, 96px);
}

.weight-story-copy {
  width: min(680px, 86vw);
  margin: 0 auto;
  color: #303234;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 2;
  letter-spacing: 0;
}

.weight-story-copy h2 {
  margin: 0 0 1.1em;
  color: #111;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.weight-story-copy p {
  margin: 0 0 1.35em;
}

.yu-xinmi-story-copy {
  position: relative;
  width: min(1320px, 96vw);
  min-height: clamp(460px, 54vw, 660px);
  padding: clamp(42px, 6vw, 76px) clamp(170px, 17vw, 240px);
  box-sizing: border-box;
  overflow: visible;
}

.yu-xinmi-story-content {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.yu-xinmi-story-content > h2 {
  width: min(680px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.story-speaker-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 680px);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  margin-top: clamp(46px, 6vw, 74px);
}

.story-speaker-row.is-xinmi {
  grid-template-columns: minmax(0, 680px) minmax(150px, 220px);
}

.story-speaker-row p {
  width: 100%;
  margin: 0;
}

.yu-xinmi-story-content .story-character-group {
  position: relative;
  inset: auto;
  width: 100%;
}

.social-video-phone-row {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  height: clamp(300px, 31vw, 390px);
  margin-right: auto;
  margin-left: auto;
}

.social-video-phone-row.is-top {
  margin-bottom: clamp(46px, 6vw, 76px);
}

.social-video-phone-row.is-bottom {
  margin-top: clamp(36px, 5vw, 62px);
}

.social-video-phone {
  position: absolute;
  width: clamp(112px, 10vw, 150px);
  aspect-ratio: 1206 / 2622;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
  border: 5px solid #17191b;
  border-radius: 18px;
  background: #17191b;
  box-shadow: 0 14px 30px rgba(35, 43, 50, 0.14);
}

.social-video-phone-row.is-top .social-video-phone:nth-child(1) {
  top: 54px;
  left: 4%;
  width: clamp(105px, 8.5vw, 128px);
  transform: rotate(-4deg);
}

.social-video-phone-row.is-top .social-video-phone:nth-child(2) {
  top: 0;
  left: 40%;
  width: clamp(132px, 11vw, 164px);
  transform: translateX(-50%) rotate(2deg);
}

.social-video-phone-row.is-top .social-video-phone:nth-child(3) {
  top: 62px;
  right: 3%;
  width: clamp(114px, 9.5vw, 142px);
  transform: rotate(4deg);
}

.social-video-phone-row.is-bottom .social-video-phone:nth-child(1) {
  top: 8px;
  left: 18%;
  width: clamp(128px, 10.8vw, 160px);
  transform: rotate(-3deg);
}

.social-video-phone-row.is-bottom .social-video-phone:nth-child(2) {
  top: 52px;
  right: 17%;
  width: clamp(108px, 9vw, 136px);
  transform: rotate(5deg);
}

.social-video-phone video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1401px) {
  .yu-xinmi-story-copy {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) minmax(0, 1040px) minmax(200px, 1fr);
    grid-template-rows: auto;
    column-gap: clamp(24px, 3vw, 52px);
    align-items: stretch;
    width: 96vw;
    padding: clamp(56px, 6vw, 90px) 24px;
  }

  .yu-xinmi-story-content {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
  }

  .social-video-phone-row {
    position: relative;
    top: auto;
    bottom: auto;
    grid-row: 1;
    align-self: stretch;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
  }

  .social-video-phone-row.is-top {
    left: auto;
    grid-column: 1;
  }

  .social-video-phone-row.is-bottom {
    right: auto;
    grid-column: 3;
  }

  .social-video-phone-row.is-top .social-video-phone:nth-child(1) {
    top: 1%;
    left: 4%;
    width: clamp(100px, 7.3vw, 132px);
  }

  .social-video-phone-row.is-top .social-video-phone:nth-child(2) {
    top: 35%;
    left: 46%;
    width: clamp(126px, 8.8vw, 158px);
    transform: translateX(-50%) rotate(3deg);
  }

  .social-video-phone-row.is-top .social-video-phone:nth-child(3) {
    top: auto;
    bottom: 1%;
    right: 2%;
    left: auto;
    width: clamp(106px, 7.8vw, 140px);
  }

  .social-video-phone-row.is-bottom .social-video-phone:nth-child(1) {
    top: 13%;
    right: 2%;
    left: auto;
    width: clamp(128px, 9vw, 162px);
  }

  .social-video-phone-row.is-bottom .social-video-phone:nth-child(2) {
    top: auto;
    right: auto;
    bottom: 9%;
    left: 4%;
    width: clamp(108px, 7.8vw, 140px);
  }
}

.story-character,
.story-character-group {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.story-character {
  display: block;
  width: clamp(150px, 18vw, 240px);
  height: auto;
  opacity: 1;
  transform: none;
}

.story-character-group {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: clamp(150px, 18vw, 240px);
  margin: 0;
  transform: none;
}

.story-character-group .story-character {
  position: static;
  width: 100%;
}

.story-character-group figcaption {
  width: fit-content;
  max-width: 16em;
  padding: 8px 12px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-size: clamp(0.68rem, 0.9vw, 0.88rem);
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
  box-sizing: border-box;
}

.story-character-yu {
  top: clamp(10px, 4vw, 56px);
  left: clamp(-10px, 2vw, 36px);
  transform: none;
}

.story-character-xinmi {
  right: clamp(-10px, 2vw, 36px);
  bottom: clamp(8px, 3vw, 48px);
  transform: none;
}

.social-anxiety-chart {
  width: 100%;
  padding: clamp(54px, 7vw, 88px) 6vw;
  background: #fff;
  color: #30343a;
  box-sizing: border-box;
}

.social-anxiety-chart-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.social-anxiety-chart-header {
  display: grid;
  gap: 12px;
  max-width: 840px;
}

.social-anxiety-chart-kicker,
.social-anxiety-source {
  margin: 0;
  color: #6f7780;
  font-size: 0.86rem;
  line-height: 1.6;
}

.social-anxiety-chart-kicker {
  font-weight: 800;
}

.social-anxiety-chart h2,
.social-anxiety-chart h3,
.social-anxiety-chart h4,
.social-anxiety-chart p {
  letter-spacing: 0;
}

.social-anxiety-chart h2 {
  margin: 0;
  color: #20242a;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.28;
}

.social-anxiety-chart-header p {
  margin: 0;
  color: #3f454c;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.9;
}

.social-anxiety-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #d9dee4;
  border-left: 1px solid #d9dee4;
}

.social-anxiety-stat-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 132px;
  padding: clamp(18px, 2.4vw, 26px);
  border-right: 1px solid #d9dee4;
  border-bottom: 1px solid #d9dee4;
  background: #fbfcfd;
  box-sizing: border-box;
}

.social-anxiety-stat-grid b {
  color: #456f98;
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.social-anxiety-stat-grid span {
  color: #30343a;
  font-size: 0.98rem;
  line-height: 1.55;
}

.social-anxiety-panel {
  border-top: 1px solid #cfd6de;
  border-bottom: 1px solid #cfd6de;
  padding: clamp(20px, 3vw, 32px) 0;
}

.social-anxiety-panel-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.social-anxiety-panel-heading h3 {
  margin: 0;
  color: #20242a;
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
  line-height: 1.45;
}

.social-anxiety-panel-heading p {
  margin: 0;
  color: #5a646e;
  font-size: 0.95rem;
  line-height: 1.7;
}

.social-anxiety-bars {
  display: grid;
  gap: 12px;
}

.social-anxiety-bars button,
.social-anxiety-compare-row {
  display: grid;
  grid-template-columns: minmax(86px, 130px) minmax(0, 1fr) minmax(54px, auto);
  gap: 14px;
  align-items: center;
}

.social-anxiety-bars button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.social-anxiety-bars button span,
.social-anxiety-compare-row span {
  color: #30343a;
  font-size: 0.94rem;
  line-height: 1.35;
}

.social-anxiety-bars i,
.social-anxiety-compare-row i {
  position: relative;
  display: block;
  height: 14px;
  background: #edf1f5;
  overflow: hidden;
}

.social-anxiety-bars i::after,
.social-anxiety-compare-row i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #7d9fbd;
  transition: width 0.9s ease;
}

.social-anxiety-chart.is-visible .social-anxiety-bars i::after,
.social-anxiety-chart.is-visible .social-anxiety-compare-row i::after {
  width: var(--bar-value);
}

.social-anxiety-bars button.is-high-use i::after,
.social-anxiety-compare-row i::after {
  background: #456f98;
}

.social-anxiety-compare-row.is-low-use i::after {
  background: #9fb7ca;
}

.social-anxiety-bars b,
.social-anxiety-compare-row b {
  color: #20242a;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: right;
}

.social-anxiety-bars button:hover span,
.social-anxiety-bars button:focus-visible span,
.social-anxiety-compare-list article:hover h4,
.social-anxiety-compare-list article:focus-visible h4 {
  color: #456f98;
}

.social-anxiety-bars button:focus-visible,
.social-anxiety-compare-list article:focus-visible {
  outline: 2px solid rgba(69, 111, 152, 0.42);
  outline-offset: 4px;
}

.social-anxiety-average {
  margin: 14px 0 0;
  color: #6f7780;
  font-size: 0.88rem;
  line-height: 1.5;
}

.social-anxiety-compare-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
}

.social-anxiety-compare-list article {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 0;
  border-top: 0;
}

.social-anxiety-compare-list header {
  display: block;
  text-align: center;
}

.social-anxiety-compare-list h4 {
  margin: 0;
  color: #20242a;
  font-size: 1rem;
  line-height: 1.45;
}

.social-anxiety-compare-chart {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(92px, 132px));
  justify-content: center;
  gap: clamp(12px, 1.6vw, 20px);
}

.social-anxiety-compare-list .social-anxiety-compare-row {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 170px auto;
  gap: 8px;
  justify-items: center;
  align-items: end;
}

.social-anxiety-compare-list .social-anxiety-compare-row span {
  font-size: 0.9rem;
  text-align: center;
}

.social-anxiety-compare-list .social-anxiety-compare-row i {
  width: 58px;
  height: 170px;
}

.social-anxiety-compare-list .social-anxiety-compare-row i::after {
  inset: auto 0 0;
  width: 100%;
  height: 0;
  transition: height 0.9s ease;
}

.social-anxiety-chart.is-visible .social-anxiety-compare-list .social-anxiety-compare-row i::after {
  width: 100%;
  height: var(--bar-value);
}

.social-anxiety-compare-list .social-anxiety-compare-row b {
  text-align: center;
}

.social-anxiety-delta-line {
  position: absolute;
  left: 50%;
  top: 29px;
  z-index: 2;
  width: calc(100% - 44px);
  height: 170px;
  overflow: visible;
  transform: translateX(-50%);
  pointer-events: none;
}

.social-anxiety-delta-line line {
  stroke: rgba(69, 111, 152, 0.48);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.social-anxiety-delta-line rect {
  fill: rgba(255, 255, 255, 0.98);
}

.social-anxiety-delta-line text {
  fill: #456f98;
  font-size: 12.5px;
  font-weight: 700;
  text-anchor: middle;
}

.social-anxiety-explain {
  margin: 0;
  max-width: 880px;
  color: #3f454c;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.9;
}

.social-anxiety-source {
  padding-top: 8px;
  border-top: 1px solid #d9dee4;
}

@media (max-width: 900px) {
  .social-anxiety-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-anxiety-panel-heading,
  .social-anxiety-compare-list {
    grid-template-columns: 1fr;
  }

  .social-anxiety-compare-list article {
    max-width: 420px;
  }
}

@media (max-width: 620px) {
  .social-anxiety-chart {
    padding: 48px 22px;
  }

  .social-anxiety-stat-grid {
    grid-template-columns: 1fr;
  }

  .social-anxiety-stat-grid article {
    min-height: 0;
  }

  .social-anxiety-bars button {
    grid-template-columns: 1fr minmax(48px, auto);
    gap: 8px 12px;
  }

  .social-anxiety-bars button span {
    grid-column: 1 / -1;
  }

  .social-anxiety-bars i {
    min-width: 0;
  }

  .social-anxiety-compare-list .social-anxiety-compare-row i {
    width: 48px;
    height: 132px;
  }

  .social-anxiety-delta-line {
    top: 29px;
    height: 132px;
  }
}

@media (max-width: 1080px) {
  .yu-xinmi-story-copy {
    width: min(100% - 28px, 980px);
    padding-right: clamp(120px, 17vw, 170px);
    padding-left: clamp(120px, 17vw, 170px);
  }

  .story-character,
  .story-character-group {
    width: clamp(122px, 16vw, 170px);
  }

  .story-character-yu {
    left: 0;
  }

  .story-character-xinmi {
    right: 0;
  }
}

.haocheng-story-copy {
  width: min(1060px, 92vw);
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 680px);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.haocheng-story-text {
  min-width: 0;
}

.haocheng-speaker {
  width: min(340px, 74vw);
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  user-select: none;
}

.haocheng-speaker-portrait {
  width: 100%;
  height: auto;
  display: block;
}

.haocheng-speaker figcaption {
  width: fit-content;
  max-width: min(100%, 24em);
  padding: 9px 14px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-size: clamp(0.82rem, 1.08vw, 1rem);
  font-weight: 900;
  line-height: 1.38;
  text-align: center;
  box-sizing: border-box;
}

.haocheng-speaker-data {
  display: block;
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.75;
}

@media (max-width: 820px) {
  .haocheng-story-copy {
    width: min(680px, 86vw);
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .haocheng-speaker {
    width: min(320px, 74vw);
    margin: 0 auto;
  }
}

.expert-dialogue {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: min(820px, 100%);
  margin: 0 auto 1.6em;
  box-sizing: border-box;
}

.expert-avatar {
  width: 72px;
  aspect-ratio: 1;
  border: 2px solid #303234;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(48, 50, 52, 0.16) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 82%, rgba(48, 50, 52, 0.12) 0 33%, transparent 34%),
    #fff;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(47, 47, 47, 0.08);
}

.expert-bubble {
  position: relative;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid rgba(47, 47, 47, 0.18);
  border-radius: 8px;
  background: #fbfaf7;
  box-sizing: border-box;
  box-shadow: 0 16px 34px rgba(47, 47, 47, 0.08);
}

.expert-bubble::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -9px;
  width: 16px;
  height: 16px;
  border-left: 1px solid rgba(47, 47, 47, 0.18);
  border-bottom: 1px solid rgba(47, 47, 47, 0.18);
  background: #fbfaf7;
  transform: rotate(45deg);
}

.expert-bubble p {
  margin: 0;
}

.expert-bubble .expert-name {
  margin-bottom: 10px;
  color: #111;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.45;
}

.expert-bubble p:not(.expert-name) {
  color: #303234;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.85;
}

.haocheng-comic-flow,
.haocheng-progress-block,
.meal-planner-block,
.peixuan-social-block,
.social-analysis-copy {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.haocheng-comic-flow {
  --haocheng-card-width: min(600px, 56vw, 56vh);
  --haocheng-card-height: min(68vh, 610px);
  --haocheng-card-gap: clamp(18px, 3vw, 42px);
  position: relative;
  width: 100vw;
  min-height: 430vh;
  margin-left: calc(50% - 50vw);
  background: #fff;
}

.haocheng-comic-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(8px, 1.2vw, 14px);
  align-items: stretch;
  padding: clamp(16px, 2.6vw, 28px) 0 clamp(14px, 2vw, 24px);
  box-sizing: border-box;
  overflow: hidden;
}

.haocheng-comic-heading {
  position: relative;
  z-index: 6;
  width: min(620px, 88vw);
  margin: 0 auto;
  display: grid;
  gap: 6px;
  padding: clamp(10px, 1.3vw, 16px);
  background: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

.haocheng-comic-heading .section-kicker {
  color: #000;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}

.haocheng-comic-heading small {
  color: #111;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
}

.haocheng-comic-stage {
  position: relative;
  width: 100vw;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.haocheng-comic-track {
  display: flex;
  align-items: center;
  gap: var(--haocheng-card-gap);
  width: max-content;
  height: 100%;
  min-height: inherit;
  transform: translate3d(var(--haocheng-track-x, 0px), 0, 0);
  will-change: transform;
}

.haocheng-comic-stage article {
  position: relative;
  flex: 0 0 var(--haocheng-card-width);
  width: var(--haocheng-card-width);
  height: var(--haocheng-card-height);
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(2.8em, auto) auto;
  align-items: center;
  justify-items: start;
  gap: clamp(6px, 0.9vw, 10px);
  padding: 0 0 clamp(12px, 1.8vw, 20px);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
  opacity: 1;
  transform: none;
  scroll-snap-align: center;
}

.haocheng-comic-stage article::before,
.haocheng-comic-image {
  content: "";
  display: block;
  flex: 0 0 auto;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  border: 2px solid rgba(20, 20, 20, 0.86);
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 67%, rgba(20, 20, 20, 0.86) 67.4%, transparent 67.8%),
    linear-gradient(180deg, transparent 48%, rgba(20, 20, 20, 0.86) 48.4%, transparent 48.8%),
    radial-gradient(circle at 24% 30%, rgba(20, 20, 20, 0.07) 0 12%, transparent 12.5%),
    radial-gradient(circle at 78% 68%, rgba(20, 20, 20, 0.06) 0 16%, transparent 16.5%),
    #fff;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.68);
}

.haocheng-comic-stage article::before {
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
}

.haocheng-comic-stage article.has-image::before {
  display: none;
}

.haocheng-comic-image {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, calc(var(--haocheng-card-height) - 150px));
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  box-shadow: none;
}

.haocheng-comic-image img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.haocheng-comic-stage article.is-active {
  opacity: 1;
  transform: none;
}

.haocheng-comic-stage span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.haocheng-comic-stage h3,
.haocheng-comic-stage p,
.meal-planner-intro h2,
.meal-planner-intro p,
.meal-planner-intro .section-kicker,
.social-placeholder-card p {
  margin: 0;
}

.haocheng-comic-stage h3 {
  position: relative;
  z-index: 2;
  align-self: start;
  max-width: min(780px, 86vw);
  min-height: 2.25em;
  color: #000;
  font-size: clamp(1.35rem, 2.1vw, 2.2rem);
  font-weight: 900;
  line-height: 1.12;
  text-align: left;
}

.haocheng-comic-stage p {
  position: relative;
  z-index: 2;
  max-width: min(680px, 84vw);
  color: #000;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
}

.haocheng-comic-mobile-hint {
  display: none;
  margin: 0;
  color: #303234;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.haocheng-comic-progress {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(16px, 2.2vw, 28px);
  z-index: 6;
  width: auto;
  height: 5px;
  margin: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.haocheng-comic-progress span {
  display: block;
  width: var(--haocheng-comic-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: #303234;
}

.haocheng-progress-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 520px) minmax(260px, 430px);
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 5vw, 76px);
  width: min(1080px, 92vw);
  min-height: min(100svh, 900px);
  margin: 0 auto;
  justify-self: center;
  padding: clamp(56px, 7vw, 96px) 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
  box-sizing: border-box;
}

.haocheng-progress-copy {
  position: relative;
  order: 1;
  z-index: 8;
  display: grid;
  align-content: center;
  gap: 18px;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  box-sizing: border-box;
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  line-height: 2;
  transform: none;
  backdrop-filter: none;
}

.haocheng-progress-copy p,
.haocheng-progress-copy small {
  margin: 0;
}

.haocheng-progress-copy small {
  color: rgba(0, 0, 0, 0.58);
  font-size: 0.92rem;
  font-weight: 700;
}

.haocheng-progress-copy .slider-action-hint {
  border-color: rgba(47, 49, 51, 0.24);
  background: rgba(47, 49, 51, 0.08);
  color: #111;
  font-size: clamp(1rem, 1.28vw, 1.18rem);
}

.haocheng-compare {
  position: relative;
  order: 2;
  width: min(100%, 430px, calc((100svh - 140px) * 0.456));
  aspect-ratio: 1530 / 3354;
  min-height: 0;
  height: auto;
  justify-self: center;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #050505;
  box-shadow: none;
}

.haocheng-compare::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  z-index: 3;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.25);
  transform: translateX(-50%);
  pointer-events: none;
}

.haocheng-compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #050505;
}

.haocheng-weight-compare .haocheng-after {
  object-fit: cover;
  object-position: 48% bottom;
  transform: none;
}

.haocheng-weight-compare .haocheng-before {
  width: 110%;
  height: 110%;
  left: -20%;
  top: -2%;
  object-fit: cover;
  object-position: center bottom;
}

.haocheng-before {
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.haocheng-compare span {
  position: absolute;
  top: 12px;
  z-index: 4;
  padding: 5px 9px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  color: #333;
  font-size: 0.75rem;
  font-weight: 800;
}

.haocheng-compare .is-before {
  left: 12px;
}

.haocheng-compare .is-after {
  right: 12px;
}

.haocheng-compare input {
  position: absolute;
  left: clamp(18px, 3vw, 44px);
  right: clamp(18px, 3vw, 44px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 5;
  width: auto;
  height: 22px;
  margin: 0;
  accent-color: #2f3133;
  cursor: ew-resize;
}

.dinosaur-story-card {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 680px);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  width: min(1060px, 92vw);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
  box-sizing: border-box;
}

.full-bleed-quote-photo {
  position: relative;
  left: auto;
  width: 100vw;
  height: 230svh;
  margin: 44px calc(50% - 50vw) 58px;
  background: #060505;
}

.full-bleed-quote-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #060505;
}

.full-bleed-quote-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.54)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.06));
  pointer-events: none;
}

.full-bleed-quote-sticky > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.full-bleed-quote-photo blockquote {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(28px, 7vw, 120px);
  width: min(560px, calc(100vw - 72px));
  margin: 0;
  padding: 0.9em 1.05em;
  color: #fff;
  background: rgba(8, 6, 6, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0;
  transform: translate3d(0, calc(-50% + var(--full-quote-y, 85vh)), 0);
  opacity: var(--full-quote-opacity, 0);
  will-change: transform, opacity;
}

.full-bleed-quote-photo--social .full-bleed-quote-sticky > img {
  object-position: 50% center;
}

.full-bleed-quote-photo--shortcut .full-bleed-quote-sticky > img {
  object-position: 46% center;
}

.hsu-stage-intro {
  position: relative;
  left: 50%;
  width: 100vw;
  height: 240svh;
  margin-left: -50vw;
  background: #080504;
}

.hsu-stage-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #080504;
}

.hsu-stage-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.hsu-stage-sticky > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hsu-stage-sticky blockquote {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: auto;
  right: clamp(28px, 7vw, 120px);
  width: min(560px, calc(100vw - 72px));
  margin: 0;
  padding: 0.8em 1em;
  color: #fff;
  background: rgba(10, 8, 7, 0.68);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0;
  transform: translate3d(0, calc(-50% + var(--hsu-quote-y, 85vh)), 0);
  opacity: var(--hsu-quote-opacity, 0);
  will-change: transform, opacity;
}

.dinosaur-story-card > div {
  min-width: 0;
}

.dinosaur-story-card h2,
.sam-story-card h2,
.yu-product-story-card h2 {
  margin: 0 0 0.9em;
  color: #111;
  font-size: clamp(1.45rem, 2.35vw, 2.35rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.dinosaur-story-card p:last-child {
  margin-bottom: 0;
}

.dinosaur-profile-card {
  width: min(340px, 74vw);
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
}

.dinosaur-profile-card img {
  width: 100%;
  height: auto;
  display: block;
}

.dinosaur-profile-card figcaption {
  width: fit-content;
  max-width: min(100%, 24em);
  padding: 9px 14px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-size: clamp(0.82rem, 1.08vw, 1rem);
  font-weight: 900;
  line-height: 1.38;
  text-align: center;
  box-sizing: border-box;
}

.dinosaur-compare {
  aspect-ratio: 0.72;
  background: #f8f6f1;
  box-shadow: 0 16px 34px rgba(47, 47, 47, 0.08);
}

.dinosaur-compare img {
  object-position: center;
}

.sam-story-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  justify-content: center;
  width: min(1120px, 100%);
  margin: 0 auto 1.8em;
  transform: none;
}

.gym-after-copy {
  width: min(1100px, 92vw);
}

.sam-story-card > div {
  min-width: 0;
  justify-self: center;
  width: 100%;
}

.sam-story-card > div > p:last-child {
  margin-bottom: 0;
}

.sam-story-card .expert-dialogue {
  width: 100%;
}

.sam-profile-card {
  position: sticky;
  top: 16vh;
  width: 100%;
  min-height: min(760px, 78svh);
  justify-self: center;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  margin: 0;
  overflow: hidden;
}

.sam-profile-card > img {
  width: min(320px, 74%);
  height: auto;
  display: block;
}

.sam-profile-card figcaption {
  width: fit-content;
  max-width: min(100%, 24em);
  padding: 9px 14px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-size: clamp(0.82rem, 1.08vw, 1rem);
  font-weight: 900;
  line-height: 1.38;
  text-align: center;
  box-sizing: border-box;
}

.sam-photo-reveal {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  background: #0b0b0b;
  transform: translate3d(0, var(--sam-photo-reveal, 100%), 0);
  will-change: transform;
}

.sam-photo-reveal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.sam-photo-card {
  display: grid;
  grid-template-columns: 1.1fr 0.92fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-height: 430px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(47, 47, 47, 0.18);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: 0 16px 34px rgba(47, 47, 47, 0.08);
}

.sam-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  background: #f8f6f1;
}

.sam-photo-card .sam-photo-before {
  grid-row: 1 / -1;
}

.yu-product-story-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 640px);
  gap: clamp(30px, 4.5vw, 60px);
  align-items: center;
  justify-content: center;
  width: min(1000px, 92vw);
  margin: 0 auto 1.8em;
  transform: none;
}

.post-cost-copy {
  width: 100%;
  display: grid;
  justify-items: center;
}

.fitness-trend-copy {
  width: 100%;
}

.fitness-trend-copy-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

.fitness-story-carousel {
  position: relative;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #e9edf0;
}

.fitness-story-carousel > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 700ms ease;
}

.fitness-story-carousel > img.is-active {
  opacity: 1;
}

.fitness-story-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.fitness-story-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.42);
  cursor: pointer;
}

.fitness-story-dots button.is-active {
  background: #fff;
}

.fitness-trend-copy-content {
  align-self: center;
  width: min(640px, 82%);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
}

.fitness-trend-copy-content h2 {
  margin-top: 0;
}

.yu-product-story-card > div {
  width: 100%;
  min-width: 0;
}

.yu-product-story-card > div > p:last-child {
  margin-bottom: 0;
}

.yu-product-profile-card {
  width: min(340px, 74vw);
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
}

.yu-product-profile-card img {
  width: 100%;
  height: auto;
  display: block;
}

.yu-product-profile-card figcaption {
  width: fit-content;
  max-width: min(100%, 24em);
  padding: 9px 14px;
  border: 2px solid #000;
  background: #fff;
  color: #000;
  font-size: clamp(0.82rem, 1.08vw, 1rem);
  font-weight: 900;
  line-height: 1.38;
  text-align: center;
  box-sizing: border-box;
}

.gym-scroll-sequence {
  position: relative;
  height: var(--gym-sequence-height, 320vh);
  width: 100vw;
  margin: 64px calc(50% - 50vw);
  background: #fff;
}

.gym-sequence-sticky {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #fff;
}

.gym-sequence-canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  background: #fff;
}

.gym-sequence-dialogues {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.gym-dialogue-cue {
  position: absolute;
  display: none;
  width: min(300px, 28vw);
  color: #303234;
}

.gym-dialogue-cue.is-active {
  display: grid;
  gap: 10px;
}

.gym-dialogue-cue p {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(47, 47, 47, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  font-size: clamp(0.9rem, 1.25vw, 1rem);
  font-weight: 800;
  line-height: 1.55;
}

.gym-dialogue-cue b {
  font-weight: 900;
}

.gym-dialogue-cue.is-sam {
  left: clamp(18px, 5vw, 78px);
  top: 34%;
  justify-items: start;
}

.gym-dialogue-cue.is-dinosaur {
  right: clamp(18px, 5vw, 78px);
  top: 30%;
  justify-items: end;
}

.gym-dialogue-cue[data-gym-dialogue-cue="2"] {
  top: 25%;
}

.gym-dialogue-cue[data-gym-dialogue-cue="3"] {
  top: 42%;
}

.gym-dialogue-cue[data-gym-dialogue-cue="4"] {
  top: 46%;
}

.gym-dialogue-card {
  display: grid;
  gap: 6px;
  width: min(280px, 27vw);
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(47, 47, 47, 0.18);
  border-radius: 8px;
  background: #fff;
}

.gym-dialogue-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.gym-dialogue-compare {
  position: relative;
  aspect-ratio: 0.72;
  width: min(230px, 22vw);
  min-height: 0;
  overflow: hidden;
  gap: 0;
}

.gym-dialogue-compare::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  z-index: 3;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
}

.gym-dialogue-card.gym-dialogue-compare img {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: cover;
  object-position: center;
}

.gym-dialogue-before {
  z-index: 1;
}

.gym-dialogue-after {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.gym-dialogue-label {
  position: absolute;
  top: 14px;
  z-index: 4;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #303234;
  font-size: 0.68rem;
  font-weight: 900;
}

.gym-dialogue-label.is-before {
  left: 14px;
}

.gym-dialogue-label.is-after {
  right: 14px;
}

.sam-before-card {
  width: min(210px, 20vw);
}

@media (max-width: 760px) {
  .gym-sequence-canvas {
    width: 100%;
    height: 100svh;
  }

  .gym-dialogue-cue {
    width: min(255px, 56vw);
  }

  .gym-dialogue-cue p {
    padding: 10px 12px;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .gym-dialogue-cue.is-sam {
    left: 12px;
    top: 58%;
  }

  .gym-dialogue-cue.is-dinosaur {
    right: 12px;
    top: 16%;
  }

  .gym-dialogue-cue[data-gym-dialogue-cue="2"] {
    top: 50%;
  }

  .gym-dialogue-cue[data-gym-dialogue-cue="3"],
  .gym-dialogue-cue[data-gym-dialogue-cue="4"] {
    top: 62%;
  }

  .gym-dialogue-card {
    width: min(220px, 52vw);
    padding: 6px;
  }

  .sam-before-card {
    width: min(160px, 38vw);
  }
}

.meal-planner-block {
  position: relative;
  display: grid;
  justify-self: center;
  width: min(920px, 100%);
  gap: 16px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid #d4dee7;
  border-radius: 8px;
  background: #fff;
}

.meal-reflection-card {
  position: absolute;
  z-index: 20;
  left: 50%;
  top: 50%;
  width: min(680px, calc(100% - 36px));
  padding: clamp(24px, 4vw, 46px);
  border: 0;
  border-radius: 0;
  background: rgba(54, 95, 135, 0.94);
  color: #fff;
  box-sizing: border-box;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 24px));
  transition: opacity 360ms ease, transform 420ms ease;
}

.meal-reflection-card.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.meal-reflection-card p {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.meal-planner-intro {
  width: min(620px, 100%);
  display: grid;
  gap: 6px;
}

.meal-planner-intro h2 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.meal-planner-intro p {
  color: #65717c;
  font-size: 0.92rem;
  line-height: 1.65;
}

.meal-planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 18px;
}

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

.meal-planner-options section {
  display: grid;
  gap: 8px;
}

.meal-planner-options h3,
.meal-planner-tray h3 {
  margin: 0;
  font-size: 0.9rem;
}

.meal-planner-options h3 {
  color: #263d52;
  cursor: pointer;
}

.meal-section-summary {
  display: none;
  margin: 0;
  color: #5f686c;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.meal-planner-options [data-meal-options] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meal-choice-button {
  display: grid;
  gap: 5px;
  width: 128px;
  min-height: 148px;
  padding: 9px;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  background: #fff;
  color: #303234;
  text-align: left;
  cursor: pointer;
}

.meal-choice-art {
  display: grid;
  place-items: center;
  min-height: 64px;
}

.meal-choice-art img {
  width: 86px;
  height: 68px;
  object-fit: contain;
  display: block;
}

.meal-choice-button.is-selected {
  border-color: #4b769f;
  background: #eef4f8;
  box-shadow: inset 0 0 0 1px #4b769f;
}

.meal-choice-button b {
  font-size: 0.82rem;
}

.meal-choice-button small {
  color: #657583;
  font-size: 0.68rem;
  line-height: 1.3;
}

.meal-planner-tray {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #d4dee7;
  border-radius: 8px;
  background: #f7fafc;
}

.meal-sticker-box {
  position: relative;
  min-height: 168px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px dashed #aebfcd;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.meal-sticker-box > span {
  color: #657583;
  font-size: 0.82rem;
  font-weight: 800;
}

.meal-sticker {
  width: 62px;
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 0;
}

.meal-sticker img {
  width: 58px;
  height: 48px;
  object-fit: contain;
  background: #fff;
}

.meal-sticker figcaption {
  max-width: 100%;
  color: #4c5358;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meal-sticker-fly {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 76px;
  height: 62px;
  object-fit: contain;
  pointer-events: none;
  animation: mealStickerFly 560ms cubic-bezier(0.2, 0.78, 0.25, 1) both;
}

@keyframes mealStickerFly {
  from {
    opacity: 0.2;
    transform: translate(calc(var(--from-x) - 38px), calc(var(--from-y) - 31px)) scale(0.62) rotate(-8deg);
  }

  35% {
    opacity: 1;
    transform: translate(calc(var(--mid-x) - 38px), calc(var(--mid-y) - 31px)) scale(1.04) rotate(5deg);
  }

  to {
    opacity: 0;
    transform: translate(calc(var(--to-x) - 38px), calc(var(--to-y) - 31px)) scale(0.78) rotate(0deg);
  }
}

.meal-selected-list {
  min-height: 62px;
  color: #65717c;
  font-size: 0.86rem;
  line-height: 1.55;
}

.meal-macro-grid {
  display: grid;
  gap: 8px;
}

.meal-macro-grid div {
  display: grid;
  gap: 2px;
  padding: 9px;
  border: 1px solid #d5e0e8;
  border-radius: 8px;
  background: #fff;
}

.meal-macro-grid span,
.meal-macro-grid small {
  color: #657583;
  font-size: 0.76rem;
}

.meal-macro-grid b {
  color: #365f87;
  font-size: 0.98rem;
}

.meal-feedback {
  margin: 0;
  color: #3c4449;
  font-size: 0.86rem;
  line-height: 1.6;
}

.meal-planner-tray button {
  width: fit-content;
  border: 1px solid #4b769f;
  border-radius: 999px;
  padding: 8px 13px;
  background: #fff;
  color: #365f87;
  cursor: pointer;
}

.peixuan-social-block {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 0.82fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(47, 47, 47, 0.14);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: 0 18px 44px rgba(47, 47, 47, 0.08);
}

.social-comic-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 520px;
}

.social-comic-panel {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 0;
  margin: 0;
  padding: 18px;
  border: 2px solid rgba(20, 20, 20, 0.84);
  background:
    radial-gradient(circle at 28% 28%, rgba(20, 20, 20, 0.06) 0 14%, transparent 14.6%),
    radial-gradient(circle at 74% 68%, rgba(20, 20, 20, 0.05) 0 16%, transparent 16.6%),
    linear-gradient(135deg, rgba(20, 20, 20, 0.045), transparent 46%),
    #fff;
  box-sizing: border-box;
}

.social-comic-panel-large {
  grid-row: 1 / -1;
}

.social-comic-panel span,
.social-comic-panel figcaption {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 800;
}

.social-comic-panel span {
  color: #7a6254;
  font-size: 0.82rem;
}

.social-comic-panel figcaption {
  color: #34383b;
  font-size: clamp(1rem, 1.4vw, 1.28rem);
}

.social-comic-panel::after {
  content: "待補漫畫";
  position: absolute;
  inset: 50% auto auto 50%;
  color: #8a9095;
  font-size: 0.88rem;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.social-card-stack {
  display: grid;
  gap: 14px;
  align-content: center;
}

.social-placeholder-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(47, 47, 47, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(47, 47, 47, 0.06);
}

.social-placeholder-card span {
  font-weight: 800;
}

.social-placeholder-visual {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(47, 47, 47, 0.28);
  border-radius: 8px;
  color: #747a7f;
  background: #fff;
}

.social-placeholder-card p {
  color: #51575c;
  font-size: 0.95rem;
  line-height: 1.7;
}

.social-analysis-copy {
  position: relative;
  width: min(1120px, 94vw);
  padding-block: clamp(48px, 7vw, 96px);
}

.social-analysis-copy > p {
  position: relative;
  z-index: 2;
  width: min(680px, 86vw);
  margin-right: auto;
  margin-left: auto;
}

.social-phone-frame {
  --social-expert-card-width: clamp(380px, 32vw, 500px);
  --social-expert-card-gap: clamp(22px, 3vw, 42px);
  position: relative;
  width: 100vw;
  min-height: 420vh;
  margin: 0 calc(50% - 50vw) clamp(36px, 6vw, 72px);
  background: #fff;
  overflow: visible;
}

.social-expert-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 24px);
  align-items: stretch;
  padding: clamp(22px, 4vw, 42px) 0;
  box-sizing: border-box;
  overflow: hidden;
}

.social-expert-heading {
  position: relative;
  z-index: 6;
  width: min(620px, 88vw);
  margin: 0 auto;
  display: grid;
  gap: 6px;
  padding: clamp(10px, 1.3vw, 16px);
  background: rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

.social-expert-heading .section-kicker {
  color: #000;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}

.social-expert-heading small {
  color: #111;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
}

.social-expert-stage {
  position: relative;
  width: 100vw;
  min-height: 0;
  margin: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.social-expert-stage::-webkit-scrollbar {
  display: none;
}

.social-expert-carousel {
  display: flex;
  gap: var(--social-expert-card-gap);
  align-items: stretch;
  width: max-content;
  min-height: 0;
  padding: 0 max(7vw, calc((100vw - 1120px) / 2 + 24px)) 16px;
  transform: translate3d(var(--social-expert-track-x, 0px), 0, 0);
  transition: none;
  will-change: transform;
}

.social-expert-card {
  flex: 0 0 var(--social-expert-card-width);
  width: var(--social-expert-card-width);
  min-height: clamp(540px, 55vw, 650px);
  display: grid;
  align-content: start;
  gap: clamp(14px, 1.8vw, 24px);
  padding: clamp(30px, 3.2vw, 46px) clamp(24px, 3vw, 38px);
  border: 2px solid #111;
  border-radius: 42px;
  background: #fff;
  color: #0e0e0e;
  scroll-snap-align: center;
  box-sizing: border-box;
  overflow: visible;
  opacity: 1;
  transform: none;
}

.social-expert-card::-webkit-scrollbar {
  width: 6px;
}

.social-expert-card::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.28);
}

.social-expert-card.is-active {
  opacity: 1;
  transform: none;
}

.social-expert-profile {
  display: grid;
  grid-template-columns: clamp(108px, 9vw, 142px) minmax(0, 1fr);
  gap: clamp(16px, 1.7vw, 24px);
  align-items: end;
}

.social-expert-profile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.social-expert-profile h3,
.social-expert-profile p,
.social-expert-question,
.social-expert-answer {
  margin: 0;
}

.social-expert-profile h3 {
  font-size: clamp(1.9rem, 2.7vw, 2.7rem);
  font-weight: 950;
  line-height: 1.05;
}

.social-expert-profile p {
  margin-top: 6px;
  font-size: clamp(0.96rem, 1.28vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
}

.social-expert-rule {
  height: 1px;
  background: rgba(14, 14, 14, 0.58);
}

.social-expert-question {
  color: #f19a00;
  font-size: clamp(1rem, 1.32vw, 1.22rem);
  font-weight: 950;
  line-height: 1.5;
}

.social-expert-answer {
  font-size: clamp(0.98rem, 1.24vw, 1.16rem);
  font-weight: 650;
  line-height: 1.7;
  letter-spacing: 0;
}

.social-expert-mobile-hint {
  display: none;
  margin: 0;
  color: #303234;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.social-expert-progress {
  display: block;
  width: min(1120px, 86vw);
  height: 5px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(48, 50, 52, 0.12);
}

.social-expert-progress span {
  display: block;
  width: var(--social-expert-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: #303234;
}

@media (max-height: 820px) and (min-width: 621px) {
  .social-expert-sticky {
    gap: 10px;
    padding: 16px 0 18px;
  }

  .social-expert-heading {
    width: min(560px, 86vw);
    gap: 4px;
    padding: 6px 12px;
  }

  .social-expert-heading .section-kicker {
    font-size: clamp(1.7rem, 3.2vw, 3rem);
  }

  .social-expert-heading small {
    font-size: clamp(0.88rem, 1.08vw, 1.05rem);
  }

  .social-expert-carousel {
    padding-bottom: 10px;
  }

  .social-expert-card {
    min-height: 0;
    height: calc(100svh - 190px);
    max-height: 560px;
    gap: 12px;
    padding: 24px 24px 30px;
    overflow-y: auto;
  }

  .social-expert-profile {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
  }

  .social-expert-profile h3 {
    font-size: clamp(1.8rem, 2.2vw, 2.35rem);
  }

  .social-expert-profile p {
    font-size: clamp(0.88rem, 1.04vw, 1.02rem);
  }

  .social-expert-question {
    font-size: clamp(0.92rem, 1.05vw, 1rem);
  }

  .social-expert-answer {
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.62;
  }
}

@media (max-width: 900px) {
  .peixuan-social-block {
    grid-template-columns: 1fr;
  }

  .social-comic-strip {
    min-height: 420px;
  }

  .haocheng-progress-block,
  .meal-planner-layout {
    grid-template-columns: 1fr;
  }

  .haocheng-progress-block {
    width: min(560px, 100%);
    min-height: 0;
    margin: 0 auto;
    padding: clamp(48px, 8vw, 72px) clamp(22px, 6vw, 40px);
    gap: 28px;
  }

  .haocheng-progress-copy {
    order: 1;
    width: 100%;
  }

  .haocheng-compare {
    order: 2;
    width: min(100%, 360px, calc((100svh - 180px) * 0.456));
    height: auto;
  }

  .dinosaur-story-card {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
    min-height: 100svh;
    align-content: center;
    padding: 56px 0;
  }

  .dinosaur-compare {
    width: min(340px, 100%);
    justify-self: center;
  }

  .sam-story-card {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
    transform: none;
  }

  .sam-profile-card {
    position: relative;
    top: auto;
    width: min(420px, 100%);
    min-height: 68svh;
  }

  .yu-product-story-card {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
  }

  .fitness-trend-copy-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fitness-story-carousel {
    min-height: 72svh;
  }

  .fitness-trend-copy-content {
    width: min(640px, 88vw);
    padding: 56px 0 76px;
  }

  .sam-photo-card {
    width: min(340px, 100%);
    min-height: 380px;
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .hsu-stage-intro {
    height: 225svh;
  }

  .hsu-stage-sticky > img {
    object-position: 57% center;
  }

  .hsu-stage-sticky blockquote {
    right: 18px;
    width: calc(100vw - 36px);
    padding: 0.75em 0.85em;
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .social-phone-frame {
    width: 100vw;
    min-height: 420vh;
    margin: 0 calc(50% - 50vw) clamp(36px, 6vw, 72px);
    overflow: visible;
  }

  .social-expert-sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    padding: 18px 0 24px;
  }

  .social-expert-heading {
    width: min(620px, 88vw);
  }

  .social-expert-stage {
    width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .social-expert-stage::-webkit-scrollbar {
    display: none;
  }

  .social-expert-carousel {
    gap: 18px;
    min-height: 0;
    padding: 20px 18px 28px;
    scroll-padding-inline: 18px;
    transform: translate3d(var(--social-expert-track-x, 0px), 0, 0);
    transition: none;
  }

  .social-expert-card {
    flex-basis: 86vw;
    width: 86vw;
    height: auto;
    min-height: 0;
    gap: 18px;
    padding: 34px 26px 38px;
    border-radius: 32px;
    opacity: 1;
    transform: none;
  }

  .social-expert-profile {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
  }

  .social-expert-profile h3 {
    font-size: 2rem;
  }

  .social-expert-profile p {
    font-size: 0.94rem;
  }

  .social-expert-question {
    font-size: 1rem;
  }

  .social-expert-answer {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .social-expert-mobile-hint {
    display: none;
  }

  .social-expert-progress {
    display: block;
  }

  .peixuan-social-block {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .social-comic-strip {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(180px, auto));
    min-height: 0;
  }

  .social-comic-panel-large {
    grid-row: auto;
  }

  .haocheng-comic-stage {
    width: 100vw;
    min-height: min(640px, 78vh);
  }

  .haocheng-comic-stage article {
    padding: 0;
  }

  .haocheng-comic-image img {
    max-height: none;
  }

  .haocheng-comic-stage h3 {
    font-size: clamp(1.65rem, 8vw, 2.45rem);
  }

  .haocheng-comic-stage p {
    font-size: 0.98rem;
  }

  .yu-xinmi-story-copy {
    width: min(100% - 28px, 620px);
    min-height: 0;
    display: grid;
    gap: 24px;
    padding: 0 18px;
  }

  .story-character,
  .story-character-group {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: clamp(118px, 38vw, 190px);
    opacity: 1;
    transform: none;
  }

  .story-character-yu {
    order: 0;
    justify-self: start;
  }

  .story-character-xinmi {
    order: 3;
    justify-self: end;
  }

  .yu-xinmi-story-content,
  .yu-xinmi-story-copy p {
    order: 1;
  }

  .story-speaker-row,
  .story-speaker-row.is-xinmi {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 38px;
  }

  .story-speaker-row.is-xinmi p {
    order: 2;
  }

  .story-speaker-row.is-xinmi .story-character-group {
    order: 1;
    justify-self: end;
  }

  .yu-xinmi-story-content .story-character-group {
    width: min(190px, 54vw);
  }

  .social-video-phone-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: auto;
    gap: 12px;
  }

  .social-video-phone-row.is-top,
  .social-video-phone-row.is-bottom {
    margin: 0;
  }

  .social-video-phone {
    position: relative;
    inset: auto !important;
    flex: 0 1 122px;
    width: min(122px, 28vw);
    border-width: 4px;
    border-radius: 14px;
  }

  .social-video-phone-row .social-video-phone {
    transform: none !important;
  }

  .story-character-group figcaption {
    font-size: 0.68rem;
    line-height: 1.45;
    padding: 6px 9px;
  }

  .haocheng-progress-copy {
    width: 100%;
    padding: 0;
    font-size: 1rem;
  }

  .haocheng-compare {
    width: min(100%, 330px, calc((100svh - 170px) * 0.456));
    height: auto;
  }

  .meal-planner-options [data-meal-options] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 8px;
  }

  .meal-choice-button {
    width: auto;
    min-height: 128px;
    padding: 8px;
  }

  .meal-choice-art {
    min-height: 54px;
  }

  .meal-choice-art img {
    width: 72px;
    height: 56px;
  }

  .meal-choice-button b {
    font-size: 0.78rem;
  }

  .meal-choice-button small {
    font-size: 0.62rem;
  }

  .meal-planner-block {
    padding: 16px;
  }

  .meal-planner-options {
    gap: 10px;
  }

  .meal-planner-options section {
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(47, 47, 47, 0.12);
    border-radius: 8px;
    background: #fff;
  }

  .meal-planner-options section h3::after {
    content: " 點擊展開/收起";
    color: #8a9095;
    font-size: 0.72rem;
    font-weight: 700;
  }

  .meal-section-summary {
    display: block;
  }

  .meal-planner-options section.is-collapsed [data-meal-options] {
    display: none;
  }

  .meal-planner-tray {
    padding: 12px;
  }
}

@media (max-width: 760px) {
  .haocheng-comic-flow {
    --haocheng-card-width: min(82vw, 420px);
    --haocheng-card-height: min(66vh, 520px);
    --haocheng-card-gap: 14px;
    min-height: 430vh;
  }

  .haocheng-comic-sticky {
    position: sticky;
    top: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    padding: 28px 0 34px;
    overflow: hidden;
  }

  .haocheng-comic-heading {
    position: relative;
    width: min(88vw, 520px);
    margin: 0 auto 14px;
  }

  .haocheng-comic-stage {
    width: 100vw;
    min-height: 0;
    height: auto;
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: none;
    scroll-padding-inline: 0;
    scrollbar-width: none;
  }

  .haocheng-comic-stage::-webkit-scrollbar {
    display: none;
  }

  .haocheng-comic-track {
    height: 100%;
    min-height: 0;
    gap: var(--haocheng-card-gap);
    padding-inline: 0;
    transform: translate3d(var(--haocheng-track-x, 0px), 0, 0);
  }

  .haocheng-comic-stage article {
    flex: 0 0 var(--haocheng-card-width);
    width: var(--haocheng-card-width);
    height: var(--haocheng-card-height);
    min-height: 0;
    padding: 0 0 18px;
  }

  .haocheng-comic-stage h3 {
    max-width: 100%;
    font-size: clamp(1.45rem, 7vw, 2.2rem);
  }

  .haocheng-comic-stage p {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .haocheng-comic-mobile-hint {
    display: none;
  }

  .haocheng-comic-mobile-hint::after {
    content: none;
    letter-spacing: 0.08em;
  }

  .haocheng-comic-progress {
    display: block;
  }
}

.case-page {
  min-height: 100vh;
  background: #fff;
}

.case-article {
  min-height: 100vh;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 86px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.case-title-frame {
  width: min(560px, 100%);
  border: 0;
  display: block;
  box-sizing: border-box;
  text-align: center;
}

.case-title-frame h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.4;
}

.case-title-frame p {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.6;
}

.case-article-copy {
  width: min(520px, 100%);
  display: grid;
  gap: 1em;
  line-height: 1.9;
  font-size: 1.08rem;
}

.case-article-copy p {
  margin: 0;
}

.full-article-page {
  width: min(920px, 100%);
}

.full-article-page .case-title-frame {
  width: min(760px, 100%);
}

.full-article-page .case-title-frame h1 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
}

.full-article-copy {
  width: min(760px, 100%);
}

.full-article-copy h2,
.full-article-copy h3 {
  margin: 1.4em 0 0;
  line-height: 1.55;
}

.full-article-copy h2 {
  font-size: 1.24rem;
}

.full-article-copy h3 {
  font-size: 1.12rem;
}

/* Full article — editorial longform */
.article-page {
  --article-ink: #191919;
  --article-muted: #6d6d68;
  --article-paper: #f7f6f1;
  --article-accent: #e65d3f;
  color: var(--article-ink);
  background: var(--article-paper);
  font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}

.article-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
}

.article-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--article-accent);
  transform: scaleX(0);
  transform-origin: left;
}

.article-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(22px, 5vw, 72px);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.article-nav a {
  color: inherit;
  text-decoration: none;
}

.full-article-page {
  width: 100%;
}

.article-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 24px 90px;
  box-sizing: border-box;
  color: #fff;
  background: #171815;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background:
    radial-gradient(circle at 72% 28%, #e65d3f 0 1px, transparent 2px),
    radial-gradient(circle at 20% 70%, #e65d3f 0 1px, transparent 2px);
  background-size: 42px 42px, 56px 56px;
}

.article-hero-copy {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  text-align: center;
}

.article-category {
  margin: 0 0 34px;
  color: #f19a82;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.article-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7.4vw, 6.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.04em;
}

.article-deck {
  margin: 22px 0 0;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  letter-spacing: 0.12em;
}

.article-lead {
  width: min(620px, 100%);
  margin: 48px auto 0;
  color: #d6d4cd;
  font-size: 1.05rem;
  line-height: 1.9;
}

.article-hero-visual span {
  position: absolute;
  color: transparent;
  font-family: Arial, sans-serif;
  font-size: clamp(5rem, 18vw, 17rem);
  font-weight: 900;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(255,255,255,.07);
}

.article-hero-visual span:nth-child(1) { left: -2vw; top: 8vh; }
.article-hero-visual span:nth-child(2) { right: -4vw; top: 39vh; }
.article-hero-visual span:nth-child(3) { left: 5vw; bottom: -3vh; }

.article-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font-family: sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  opacity: 0.65;
}

.full-article-copy {
  width: min(720px, calc(100% - 44px));
  margin: 0 auto;
  padding: 110px 0 0;
  font-size: 1.16rem;
  line-height: 2.05;
}

.full-article-copy > section {
  margin: 0 0 110px;
}

.full-article-copy p {
  margin: 0 0 1.55em;
}

.article-opening {
  font-size: 1.28rem;
}

.article-dropcap::first-letter {
  float: left;
  margin: 0.12em 0.12em 0 0;
  color: var(--article-accent);
  font-size: 4.8em;
  font-weight: 800;
  line-height: 0.72;
}

.article-section-title {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  margin: 0 0 52px;
  padding-top: 18px;
  border-top: 4px solid var(--article-ink);
}

.article-section-title > span {
  color: var(--article-accent);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.article-section-title p {
  margin: 0 0 4px;
  color: var(--article-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.full-article-copy .article-section-title h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.3;
}

.full-article-copy blockquote {
  position: relative;
  width: min(880px, calc(100vw - 44px));
  margin: 72px 50%;
  padding: 42px 0 42px 42px;
  box-sizing: border-box;
  border-left: 5px solid var(--article-accent);
  transform: translateX(-50%);
  color: #3c3d39;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.65;
}

.full-article-copy blockquote cite {
  display: block;
  margin-top: 18px;
  color: var(--article-muted);
  font-family: sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
}

.article-media {
  margin-top: 30px;
  margin-bottom: 110px;
}

.article-media-wide {
  width: min(1080px, calc(100vw - 44px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-media-breakout {
  width: min(1380px, 100vw);
  margin-left: 50%;
  transform: translateX(-50%);
  background: #111;
}

.article-media img {
  display: block;
  width: 100%;
  height: auto;
}

.article-media-breakout img {
  max-height: 82vh;
  object-fit: contain;
}

.article-media figcaption {
  margin-top: 15px;
  color: var(--article-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  font-size: 0.83rem;
  line-height: 1.65;
}

.article-media-breakout figcaption {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
  padding: 16px 0 20px;
  color: #c9c8c3;
}

.article-media figcaption span {
  display: block;
  margin-top: 3px;
  color: #999790;
}

.article-notes {
  margin: 58px 0 0;
  padding: 28px 30px 8px;
  border-top: 1px solid #aaa99f;
  border-bottom: 1px solid #aaa99f;
  color: var(--article-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  font-size: 0.82rem;
  line-height: 1.8;
}

.article-profile {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 28px;
  margin-top: 55px;
  padding-top: 32px;
  border-top: 1px solid #aaa99f;
}

.article-profile-number {
  color: var(--article-accent);
  font-family: Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.full-article-copy .article-profile h3 {
  margin: 0 0 24px;
  font-size: 1.6rem;
}

.article-ending {
  padding-bottom: 20px;
}

.article-final-line {
  margin: 80px 0 0 !important;
  padding: 45px 0;
  border-top: 4px solid var(--article-ink);
  border-bottom: 4px solid var(--article-ink);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.75;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 100px;
  padding: 48px clamp(22px, 5vw, 72px);
  color: #fff;
  background: #171815;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
}

.article-footer p { margin: 0; font-weight: 800; }
.article-footer a { color: #fff; text-underline-offset: 5px; }

@media (max-width: 640px) {
  .article-nav { padding-top: 20px; }
  .article-hero { min-height: 92svh; padding-inline: 22px; }
  .article-hero h1 { font-size: clamp(2.65rem, 15vw, 4.3rem); }
  .article-deck { font-size: 1.25rem; line-height: 1.6; }
  .article-lead { margin-top: 34px; font-size: 0.95rem; }
  .full-article-copy { padding-top: 76px; font-size: 1.06rem; line-height: 1.95; }
  .full-article-copy > section,
  .article-media { margin-bottom: 78px; }
  .article-opening { font-size: 1.12rem; }
  .article-section-title { gap: 14px; margin-bottom: 38px; }
  .full-article-copy blockquote { margin-block: 52px; padding: 28px 0 28px 24px; }
  .article-profile { grid-template-columns: 1fr; gap: 0; }
  .article-profile-number { margin-bottom: 4px !important; }
  .article-notes { padding-inline: 0; }
  .article-footer { align-items: flex-start; gap: 28px; flex-direction: column; }
}

/* Reporter-style full article */
.report-page {
  margin: 0;
  color: #555;
  background: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", sans-serif;
}

.report-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(24px, 8vw, 160px);
  box-sizing: border-box;
  border-bottom: 1px solid #e2e2e2;
  background: rgba(250, 250, 250, 0.96);
  backdrop-filter: blur(10px);
  color: #2d2d2d;
}

.report-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.report-main {
  padding: 0 0 80px;
}

.report-title {
  width: min(760px, calc(100% - 44px));
  margin: 0 auto;
  padding: 90px 0 80px;
}

.report-kicker {
  margin: 0 0 22px;
  color: #b18759;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.report-title h1 {
  margin: 0;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.report-subtitle {
  margin: 20px 0 0;
  color: #666;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  line-height: 1.5;
}

.report-article {
  width: min(680px, calc(100% - 44px));
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: 1.18rem;
  line-height: 2.15;
  letter-spacing: 0.02em;
}

.report-article > p {
  margin: 0 0 2.4em;
}

.report-article h2 {
  margin: 4.1em 0 1.6em;
  color: #3d3d3d;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  font-size: 1.72rem;
  line-height: 1.55;
}

.report-article h3 {
  margin: 3em 0 1em;
  color: #444;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  font-size: 1.25rem;
}

.report-figure {
  margin-top: 76px;
  margin-bottom: 92px;
}

.report-figure-wide,
.report-figure-side {
  width: min(1200px, calc(100vw - 80px));
  margin-left: 50%;
  margin-right: 0;
  transform: translateX(-50%);
}

.report-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.report-figure figcaption {
  margin-top: 16px;
  color: #858585;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  font-size: 0.82rem;
  line-height: 1.65;
}

.report-figure figcaption span {
  display: block;
}

@media (min-width: 1000px) {
  .report-figure-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 34px;
    align-items: end;
  }

  .report-figure-side figcaption {
    margin: 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #b9946a;
  }
}

.report-notes {
  margin: 62px 0;
  padding: 26px 0 4px;
  border-top: 1px solid #c7b293;
  border-bottom: 1px solid #c7b293;
  color: #777;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", sans-serif;
  font-size: 0.85rem;
  line-height: 1.8;
}

.report-notes p {
  margin: 0 0 1.4em;
}

.report-footer {
  width: min(680px, calc(100% - 44px));
  margin: 80px auto 0;
  padding-top: 30px;
  border-top: 1px solid #ccc;
}

.report-footer a {
  color: #555;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .report-header {
    height: 62px;
    padding: 0 20px;
  }

  .report-brand { font-size: 0.95rem; }
  .report-title { padding: 62px 0 56px; }
  .report-article { font-size: 1.05rem; line-height: 2; }
  .report-article h2 { margin-top: 3.3em; font-size: 1.45rem; }
  .report-figure { margin-top: 52px; margin-bottom: 64px; }
  .report-figure-wide,
  .report-figure-side { width: 100vw; }
  .report-figure figcaption { padding: 0 22px; }
}

.case-link-row {
  width: min(520px, 100%);
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.case-link-row a {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  border: 1px solid #000;
  color: #000;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.case-float-menu {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 10px;
}

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

.case-menu-toggle {
  width: 52px;
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #000;
  border-radius: 50%;
  background: #000;
  color: #fff;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.case-menu-toggle svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

.case-menu-panel {
  width: min(420px, calc(100vw - 44px));
  max-height: min(76vh, 720px);
  overflow: auto;
  padding: 14px;
  border: 1px solid #000;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
}

.case-menu-title {
  margin: 0 0 8px;
  font-weight: 800;
}

.case-menu-option {
  width: 100%;
  display: block;
  padding: 10px 8px;
  border-top: 1px solid #eee;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: #fff;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

.case-menu-option:hover,
.case-menu-option:focus {
  background: #f3f3f3;
}

.case-menu-stories {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.case-search-field {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
}

.case-search-field input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #000;
  border-radius: 0;
  font: inherit;
}

.case-hashtag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.case-hashtag-row button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #000;
  border-radius: 999px;
  background: #fff;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.case-hashtag-row button.active,
.case-hashtag-row button:hover,
.case-hashtag-row button:focus {
  background: #000;
  color: #fff;
}

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

.case-video-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  background: #fff;
}

.case-video-card[hidden] {
  display: none;
}

.case-video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  background: #f2f2f2;
}

.case-video-card span {
  font-size: 0.9rem;
  font-weight: 900;
}

.case-video-card small {
  color: #555;
  font-size: 0.76rem;
  line-height: 1.45;
}

.case-closing-note {
  width: min(520px, 100%);
  margin: 12px 0 0;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}


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

  .section {
    width: 100%;
    padding: 72px 22px;
  }

  #comic-opening {
    min-height: 1320vh;
  }

  .opening-comic-hero {
    padding: 22px;
  }

  .opening-hero-copy {
    top: 22vh;
    left: 7vw;
    width: 86vw;
    max-width: none;
    margin: 0;
  }

  .opening-hero-copy--logo {
    top: 50%;
    left: 52%;
    width: min(92vw, 680px);
    gap: 24px;
    transform: translate(-50%, -50%);
  }

  .opening-cover-logo {
    width: min(92vw, 680px);
  }

  .opening-hero-title {
    line-height: 0.95;
  }

  .opening-hero-line:first-child {
    font-size: clamp(48px, 15vw, 72px);
  }

  .opening-hero-line:nth-child(2) {
    margin-top: 26px;
    font-size: clamp(50px, 15vw, 76px);
  }

  .opening-hero-subtitle {
    max-width: 90%;
    margin-top: 32px;
    font-size: 16px;
    letter-spacing: 0.03em;
  }

  .algorithm-pixels {
    inset: -10% -10%;
  }

  .algorithm-pixel:nth-child(n + 13) {
    display: none;
  }

  .opening-comic-stage {
    --comic-panel-size: min(430px, calc(100svw - 44px), calc(100svh - 108px));
    width: 100%;
    max-width: 520px;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .opening-comic-strip {
    height: var(--comic-panel-size);
    aspect-ratio: auto;
    box-sizing: border-box;
  }

  .opening-comic-strip > [data-comic-panel] {
    width: var(--comic-panel-size);
  }

  .opening-comic-strip img {
    border: 0;
  }

  .opening-comic-video-page {
    width: var(--comic-panel-size);
    height: 100%;
    place-items: center;
  }

  .opening-comic-empty-page {
    width: 100%;
    height: 100%;
    border: 0;
    justify-self: center;
  }

  .full-bleed-quote-photo {
    height: 210svh;
    margin-top: 44px;
    margin-bottom: 58px;
  }

  .full-bleed-quote-sticky::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.58)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.02));
  }

  .full-bleed-quote-photo blockquote {
    top: 50%;
    right: 7vw;
    left: 7vw;
    width: auto;
    max-height: none;
    padding: 18px 20px;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
    transform: translate3d(0, calc(-50% + var(--full-quote-y, 0vh)), 0);
  }

  .full-bleed-quote-photo--social .full-bleed-quote-sticky > img {
    object-position: 58% center;
  }

  .full-bleed-quote-photo--shortcut .full-bleed-quote-sticky > img {
    object-position: 43% center;
  }

  .body-check-form {
    grid-template-columns: 1fr;
  }

  .body-check-form .button {
    width: 100%;
    min-height: 52px;
  }

  .body-check-metrics {
    grid-template-columns: 1fr;
  }

  .model-post-orbit-wrap {
    min-height: 760px;
    align-content: center;
  }

  .model-post-slot {
    width: clamp(92px, 28vw, 126px);
  }

  .model-post-slot.slot-1 { top: 4%; left: 6%; }
  .model-post-slot.slot-2 { top: 4%; right: 6%; }
  .model-post-slot.slot-3 { top: 36%; left: 6%; }
  .model-post-slot.slot-4 { top: 36%; right: 6%; }
  .model-post-slot.slot-5 { bottom: 4%; left: 6%; }
  .model-post-slot.slot-6 { right: 6%; bottom: 4%; }

  .body-gender-toggle {
    width: 100%;
  }

  .body-gender-button {
    flex: 1;
  }

  .case-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(430px, 100%);
    padding: 14px;
  }

  .case-card {
    aspect-ratio: 9 / 16;
  }

  .case-article {
    padding: 56px 22px;
  }

  .case-title-frame {
    width: min(372px, 100%);
  }

  .case-article-copy {
    font-size: 1rem;
  }

  .text-page {
    padding: 72px 22px;
    align-items: flex-start;
  }

  .text-column {
    width: 100%;
    min-width: 0;
    font-size: 17px;
    line-height: 1.85;
  }

  .overlay-wrap {
    position: static;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .floating-card {
    position: static;
    width: 100%;
    transform: none !important;
  }

  .large-placeholder {
    width: 100%;
    min-height: 50vh;
  }

  .standalone-page {
    padding: 72px 22px;
  }

  .wide-placeholder {
    width: 100%;
    height: 40vh;
  }

  .action-row {
    width: 100%;
    flex-direction: column;
    gap: 18px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  #frame-12 .meal-section,
  #frame-12 .meal-counter-scene[data-meal-scene="build"],
  #frame-12 .meal-result-layout {
    grid-template-columns: 1fr;
  }

  #frame-12 .meal-story-panel {
    position: static;
    min-height: auto;
  }

  #frame-12 .meal-game-panel {
    min-height: auto;
    padding: 20px;
  }

  #frame-12 .meal-option-grid,
  #frame-12 .meal-result-copy h4 {
  margin: 0 0 10px;
  color: #44321f;
}

#frame-12 .meal-macro-results {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

#frame-12 .meal-macro-card {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr) 4em;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #fffaf0;
  box-shadow: inset 0 -4px 0 rgba(237, 163, 58, 0.13);
}

#frame-12 .meal-macro-card b {
  font-size: 0.98rem;
}

#frame-12 .meal-macro-card em {
  justify-self: end;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef6df;
  color: #6d8b43;
  font-style: normal;
  font-weight: 900;
}

#frame-12 .meal-macro-card.is-low em,
#frame-12 .meal-macro-card.is-high em {
  background: #f6ead2;
  color: #a36b25;
}

#frame-12 .meal-comparisons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #frame-12 .meal-option {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 58px;
    font-size: 0.94rem;
  }

  #frame-12 .meal-food-art {
    width: 36px;
    height: 36px;
  }

  #frame-12 .meal-profile-form,
  #frame-12 .meal-macro-card,
  #frame-12 .meal-macro-row {
    grid-template-columns: 1fr;
  }

  #frame-12 .meal-inline-button {
    width: 100%;
  }
}

/* Latest refinements */
.case-row {
  width: min(680px, 92vw);
  gap: 10px;
  padding: 14px;
}

.case-card {
  aspect-ratio: 9 / 16;
}

.health-magnifier-challenge {
  padding: clamp(46px, 6vw, 82px) 0;
  border-block: 0;
  background: #fff;
}

.health-magnifier-inner {
  width: min(1040px, 92vw);
}

.health-person-card {
  appearance: none;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.health-person-card-copy {
  min-height: 142px;
  padding: 16px;
}

.health-person-card-copy button {
  display: none;
}

.health-person-card-copy h3 {
  font-size: 1.05rem;
}

.health-person-card-copy > span {
  font-size: 0.8rem;
  line-height: 1.5;
}

.health-magnifier-heading {
  margin-bottom: 26px;
}

.health-magnifier-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.health-magnifier-viewer {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 32px;
  border: 1px solid rgba(47, 47, 47, 0.22);
  border-radius: 8px;
  background: #fff;
}

.health-magnifier-stage {
  --lens-x: 50%;
  --lens-y: 50%;
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(47, 47, 47, 0.22);
  background: #f7f7f7;
  cursor: zoom-in;
}

.health-magnifier-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.health-magnifier-front {
  z-index: 1;
}

.health-magnifier-behind {
  z-index: 2;
  clip-path: circle(0 at var(--lens-x) var(--lens-y));
  transition: clip-path 40ms linear;
}

.health-magnifier-stage.is-lens-active .health-magnifier-behind {
  clip-path: circle(96px at var(--lens-x) var(--lens-y));
}

.health-magnifier-lens {
  position: absolute;
  z-index: 3;
  left: var(--lens-x);
  top: var(--lens-y);
  width: 192px;
  height: 192px;
  border: 3px solid #2f2f2f;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 60ms linear;
}

.health-magnifier-stage.is-lens-active .health-magnifier-lens {
  opacity: 1;
}

.health-magnifier-detail {
  display: grid;
  align-content: center;
  padding: 24px;
  border-color: rgba(47, 47, 47, 0.22);
  background: #fff;
  animation: none;
}

.health-magnifier-facts {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.health-magnifier-facts > div {
  padding: 16px 12px;
}

.health-magnifier-story {
  width: min(690px, 100%);
  margin: 42px auto 0;
  color: #111;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 700;
  line-height: 2;
}

.health-magnifier-story p {
  margin: 0 0 24px;
}

.health-magnifier-final-note {
  padding-top: 18px;
  border-top: 1px solid rgba(47, 47, 47, 0.18);
  font-weight: 900;
  text-align: center;
}

@media (max-width: 900px) {
  .case-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(520px, 92vw);
  }

  .case-card {
    max-height: none;
  }

  .health-magnifier-viewer {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .health-magnifier-stage {
    min-height: 360px;
  }

  .health-magnifier-facts {
    grid-template-columns: 1fr;
  }

  .health-magnifier-facts > div {
    border-right: 0;
    border-bottom: 1px solid rgba(47, 47, 47, 0.14);
  }
}

/* White-background reset requested for the current prototype. */
body,
.section,
.site-preloader,
#frame-12,
#frame-9.body-method-section,
.manga-scroll-section,
.manga-panel,
.manga-frame,
.manga-image,
.manga-dialogue,
.body-management-experience,
.body-experience-card,
.body-experience-dialog,
.body-experience-dialog-media,
.body-experience-dialog-content,
.body-poke-bowl,
.health-magnifier-challenge,
.health-magnifier-inner,
.health-person-card,
.health-magnifier-detail,
.health-magnifier-summary,
#frame-12 .meal-story-panel,
#frame-12 .meal-game-panel,
#frame-12 .meal-profile-form,
#frame-12 .meal-box-zone,
#frame-12 .meal-ingredient-zone,
#frame-12 .meal-checkout-counter,
#frame-12 .meal-waiting-box,
#frame-12 .meal-result-layout,
#frame-12 .meal-option,
#frame-12 .meal-lunchbox,
#frame-12 .meal-macro-card,
#frame-12 .meal-comparison-card {
  background: #fff !important;
  background-image: none !important;
}

/* 滾動漫畫只作用於健康報告之後，不影響既有頁面區塊。 */
.manga-scroll-section {
  --manga-ink: #252a2c;
  --manga-line: #bdc3c3;
  --manga-surface: #f1f2f0;
  position: relative;
  overflow: clip;
  background: #e9eceb;
  color: var(--manga-ink);
}

.manga-scroll-intro {
  width: min(900px, 92vw);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) 0 20px;
  text-align: center;
}

.manga-scroll-intro p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.manga-scroll-intro h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0;
}

.manga-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82vh;
  width: min(1120px, 92vw);
  margin: -1vh auto 0;
  padding: clamp(24px, 3vw, 44px) 0;
}

.manga-pair {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(150px, 15vw, 230px);
  width: min(980px, 90vw);
  min-width: 0;
}

.manga-frame {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  padding-top: 34px;
  border: 1px solid rgba(24, 28, 31, 0.12);
  border-radius: 14px;
  background: #f6f6f4;
  box-shadow:
    0 18px 42px rgba(32, 36, 38, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
  opacity: 0;
  transition:
    opacity 900ms ease,
    transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.manga-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 34px;
  border-bottom: 1px solid rgba(34, 38, 40, 0.1);
  background:
    radial-gradient(circle at 16px 17px, #ff5f57 0 5px, transparent 5.5px),
    radial-gradient(circle at 34px 17px, #febc2e 0 5px, transparent 5.5px),
    radial-gradient(circle at 52px 17px, #28c840 0 5px, transparent 5.5px),
    linear-gradient(180deg, #f6f6f4, #ececea);
  pointer-events: none;
}

.manga-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: min(145px, 34%);
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(35, 40, 42, 0.08) inset;
  transform: translateX(-50%);
  pointer-events: none;
}

.manga-frame-female {
  transform: translateX(-70px);
}

.manga-frame-male {
  transform: translateX(70px);
}

.manga-panel.is-visible .manga-frame {
  opacity: 1;
  transform: translateX(0);
}

.manga-image {
  display: block;
  width: 100%;
  height: min(64vh, 680px);
  object-fit: cover;
  object-position: center;
  background: #f6f6f4;
}

.manga-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  display: grid;
  gap: 16px;
  width: min(360px, 29vw);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 36px));
  transition:
    opacity 900ms ease 280ms,
    transform 900ms ease 280ms;
  will-change: opacity, transform;
}

.manga-panel.is-visible .manga-center {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.manga-dialogue {
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid rgba(73, 82, 84, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(38, 45, 47, 0.14);
  backdrop-filter: blur(14px);
}

.manga-dialogue > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(55, 64, 66, 0.42);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.manga-dialogue p {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 650;
  line-height: 1.75;
  letter-spacing: 0;
}

.video-orbit {
  position: absolute;
  inset: 5% 2%;
  z-index: 6;
  pointer-events: none;
}

.video-card {
  position: absolute;
  display: grid;
  align-content: end;
  width: clamp(128px, 13vw, 190px);
  aspect-ratio: 4 / 5;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 14px;
  background: linear-gradient(145deg, #aab2b2, #eef0ee 58%, #879394);
  box-shadow: 0 14px 34px rgba(39, 50, 52, 0.24);
  color: #242b2c;
  opacity: 0;
  transform: translate(var(--start-x), var(--start-y)) rotate(var(--tilt)) scale(0.88);
  transition:
    opacity 800ms ease var(--delay),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1) var(--delay);
}

.manga-panel.is-visible .video-card {
  opacity: 0.96;
  transform: translate(0, 0) rotate(var(--tilt)) scale(1);
}

.social-video-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(1120px, 94vw);
  height: min(760px, 76vh);
  margin: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.social-video-orbit .video-card {
  position: absolute;
  width: clamp(118px, 12vw, 176px);
  opacity: 1;
  transform: rotate(var(--social-tilt));
}

.social-video-orbit .video-card:nth-child(1) {
  top: 4%;
  left: 1%;
  --social-tilt: -4deg;
}

.social-video-orbit .video-card:nth-child(2) {
  top: 36%;
  left: 7%;
  --social-tilt: 5deg;
}

.social-video-orbit .video-card:nth-child(3) {
  bottom: 2%;
  left: 0;
  --social-tilt: -2deg;
}

.social-video-orbit .video-card:nth-child(4) {
  top: 12%;
  right: 6%;
  --social-tilt: 4deg;
}

.social-video-orbit .video-card:nth-child(5) {
  right: 0;
  bottom: 12%;
  --social-tilt: -3deg;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(0deg, rgba(24, 30, 31, 0.72), transparent 42%);
  pointer-events: none;
}

.video-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  transform: translate(-50%, -60%);
}

.video-card-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #465355;
}

.video-card-title {
  position: relative;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.video-card:nth-child(1) {
  top: 1%;
  left: -1%;
  --start-x: -90px;
  --start-y: -30px;
  --tilt: -7deg;
  --delay: 120ms;
}

.video-card:nth-child(2) {
  top: 7%;
  right: -1%;
  --start-x: 100px;
  --start-y: -35px;
  --tilt: 6deg;
  --delay: 260ms;
}

.video-card:nth-child(3) {
  top: 42%;
  left: -5%;
  --start-x: -110px;
  --start-y: 10px;
  --tilt: 5deg;
  --delay: 400ms;
}

.video-card:nth-child(4) {
  top: 45%;
  right: -5%;
  --start-x: 110px;
  --start-y: 15px;
  --tilt: -5deg;
  --delay: 540ms;
}

.video-card:nth-child(5) {
  right: 7%;
  bottom: -5%;
  --start-x: 30px;
  --start-y: 100px;
  --tilt: 4deg;
  --delay: 680ms;
}

.search-streams {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 9px;
  width: 100%;
}

.search-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 11px 16px;
  border: 1px solid rgba(54, 65, 67, 0.4);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  color: #3e4748;
  text-align: left;
  box-shadow: 0 14px 34px rgba(52, 65, 67, 0.14);
}

.search-field-typing {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 600ms ease var(--typing-delay, 0ms),
    transform 600ms ease var(--typing-delay, 0ms);
}

.manga-panel.is-visible .search-field-typing {
  opacity: 1;
  transform: translateY(0);
}

.search-field-typing:nth-child(1) {
  --typing-delay: 350ms;
}

.search-field-typing:nth-child(2) {
  --typing-delay: 440ms;
}

.search-field-typing:nth-child(3) {
  --typing-delay: 530ms;
}

.search-field-typing:nth-child(4) {
  --typing-delay: 620ms;
}

.search-field-typing:nth-child(5) {
  --typing-delay: 710ms;
}

.search-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #536467;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  background: #536467;
  transform: rotate(45deg);
}

.search-query {
  overflow: hidden;
  font-size: 0.96rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-query::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.1em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.14em;
  animation: search-caret 800ms steps(1) infinite;
}

@keyframes search-caret {
  50% {
    opacity: 0;
  }
}

.health-magnifier-challenge {
  overflow: hidden;
  padding: clamp(72px, 9vw, 132px) 0;
  border-block: 1px solid rgba(47, 47, 47, 0.14);
  background: #f4f4f2;
  color: #2f2f2f;
}

.health-magnifier-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.health-magnifier-step,
.health-magnifier-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.health-magnifier-challenge.is-ready .health-magnifier-step,
.health-magnifier-challenge.is-ready .health-magnifier-transition {
  opacity: 1;
  transform: translateY(0);
}

.health-magnifier-heading {
  max-width: 760px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.health-magnifier-heading > p,
.health-magnifier-summary > p {
  margin: 0 0 10px;
  color: #647886;
  font-size: 0.76rem;
  font-weight: 800;
}

.health-magnifier-heading h2,
.health-magnifier-transition h2,
.health-magnifier-summary h2 {
  margin: 0;
  color: #2f2f2f;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.health-magnifier-heading > span {
  display: block;
  margin-top: 13px;
  color: #515657;
  font-size: 1rem;
}

.health-magnifier-heading > small {
  display: block;
  max-width: 650px;
  margin: 22px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(47, 47, 47, 0.16);
  color: #5b6061;
  font-size: 0.9rem;
  line-height: 1.8;
}

.health-magnifier-heading-compact {
  margin-bottom: 30px;
}

.health-person-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.health-person-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(47, 47, 47, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  opacity: 0;
  transform: translateY(24px);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 560ms ease calc(var(--card-order) * 90ms),
    transform 560ms ease calc(var(--card-order) * 90ms);
}

.health-magnifier-challenge.is-ready .health-person-card {
  opacity: 1;
  transform: translateY(0);
}

.health-person-card:hover,
.health-person-card:focus-within {
  border-color: #647886;
  box-shadow: 0 14px 32px rgba(47, 47, 47, 0.09);
}

.health-person-card.is-viewed {
  border-color: #8ea7b8;
}

.health-person-card.is-active {
  border-color: #2f2f2f;
  box-shadow: 0 16px 34px rgba(47, 47, 47, 0.12);
}

.health-person-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-bottom: 1px solid rgba(47, 47, 47, 0.18);
  background: #e7e9e6;
}

.health-person-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: health-person-image-fade 420ms ease both;
}

.health-person-visual.is-life-revealed::after {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(47, 47, 47, 0.78);
  color: #fff;
  content: "放大鏡視角";
  font-size: 0.65rem;
  font-weight: 800;
}

@keyframes health-person-image-fade {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.health-person-silhouette {
  position: absolute;
  top: 19%;
  left: 50%;
  width: 28%;
  height: 56%;
  border-radius: 46% 46% 28% 28%;
  background: #737b7c;
  opacity: 0;
  transform: translateX(-50%);
}

.health-person-silhouette::before {
  position: absolute;
  top: -22%;
  left: 50%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #737b7c;
  content: "";
  transform: translateX(-50%);
}

.health-person-silhouette::after {
  position: absolute;
  bottom: -28%;
  left: 19%;
  width: 62%;
  height: 38%;
  border-inline: 18px solid #737b7c;
  content: "";
}

.health-person-visual small {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  color: #686f70;
  font-size: 0.72rem;
  opacity: 0;
}

.health-person-visual.is-placeholder .health-person-silhouette,
.health-person-visual.is-placeholder small {
  opacity: 1;
}

.health-person-card-copy {
  display: flex;
  min-height: 210px;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.health-person-card-copy > p,
.health-person-card-meta p {
  margin: 0;
  color: #647886;
  font-size: 0.72rem;
  font-weight: 800;
}

.health-person-card-copy h3 {
  margin: 10px 0 8px;
  font-size: 1.22rem;
  letter-spacing: 0;
}

.health-person-card-copy > span {
  color: #595f60;
  font-size: 0.88rem;
  line-height: 1.65;
}

.health-person-card-copy button,
.health-magnifier-transition button {
  min-height: 44px;
  margin-top: auto;
  padding: 10px 16px;
  border: 1px solid #2f2f2f;
  border-radius: 6px;
  background: transparent;
  color: #2f2f2f;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.health-person-card-copy button {
  margin-top: 24px;
}

.health-person-card-copy button:hover,
.health-person-card-copy button:focus-visible,
.health-magnifier-transition button:hover,
.health-magnifier-transition button:focus-visible {
  background: #2f2f2f;
  color: #fff;
  transform: translateY(-2px);
}

.health-person-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.health-person-card-meta > span {
  padding: 4px 7px;
  border: 1px solid #8ea7b8;
  border-radius: 999px;
  color: #536b7a;
  font-size: 0.66rem;
  font-weight: 800;
}

.health-magnifier-caption {
  margin: 20px 0 0;
  color: #656b6c;
  font-size: 0.78rem;
  text-align: center;
}

.health-magnifier-transition {
  display: grid;
  min-height: 56vh;
  place-items: center;
  align-content: center;
  text-align: center;
}

.health-magnifier-transition > p {
  margin: 0 0 18px;
  color: #647886;
  font-size: 0.82rem;
  font-weight: 800;
}

.health-magnifier-transition button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding-inline: 24px;
  background: #2f2f2f;
  color: #fff;
}

.health-magnifier-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.health-magnifier-icon::after {
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.health-magnifier-reveal {
  margin-top: 28px;
}

.health-magnifier-empty,
.health-magnifier-detail {
  border: 1px solid rgba(47, 47, 47, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.health-magnifier-empty {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #5c6263;
}

.health-magnifier-empty p {
  margin: 0;
}

.health-magnifier-detail {
  padding: clamp(24px, 4vw, 42px);
  animation: health-magnifier-scale-in 420ms ease both;
}

.health-magnifier-detail header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.health-magnifier-detail header p,
.health-magnifier-detail header h3 {
  margin: 0;
}

.health-magnifier-detail header p {
  color: #647886;
  font-size: 0.72rem;
  font-weight: 800;
}

.health-magnifier-detail header h3 {
  margin-top: 4px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.health-magnifier-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid rgba(47, 47, 47, 0.2);
}

.health-magnifier-facts > div {
  min-width: 0;
  padding: 20px 15px;
  border-right: 1px solid rgba(47, 47, 47, 0.14);
}

.health-magnifier-facts > div:last-child {
  border-right: 0;
}

.health-magnifier-facts span,
.health-magnifier-facts b {
  display: block;
}

.health-magnifier-facts span {
  margin-bottom: 8px;
  color: #657173;
  font-size: 0.7rem;
  font-weight: 800;
}

.health-magnifier-facts b {
  font-size: 0.88rem;
  line-height: 1.5;
}

.health-magnifier-conclusion {
  margin: 24px 0 0;
  color: #3d4445;
  font-size: 1.02rem;
  font-weight: 800;
}

.health-magnifier-summary {
  margin-top: clamp(42px, 7vw, 76px);
  padding: clamp(32px, 6vw, 70px);
  border-left: 5px solid #a7ad8d;
  background: #fff;
  animation: health-summary-fade-in 620ms ease both;
}

.health-magnifier-summary > div {
  max-width: 790px;
  margin-top: 26px;
  color: #4f5657;
  line-height: 1.85;
}

.health-magnifier-summary > div p {
  margin: 0 0 12px;
}

.health-magnifier-summary strong {
  display: block;
  margin-top: 34px;
  color: #2f2f2f;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.35;
}

@keyframes health-magnifier-scale-in {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes health-summary-fade-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.body-management-experience {
  position: relative;
  z-index: 4;
  padding: clamp(72px, 9vw, 128px) 0;
  border-block: 1px solid rgba(47, 47, 47, 0.16);
  background: #f4f4f2;
  color: #2f2f2f;
}

.body-experience-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.body-experience-heading {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.body-experience-heading p {
  margin: 0 0 10px;
  color: #657985;
  font-size: 0.75rem;
  font-weight: 800;
}

.body-experience-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.body-experience-heading span {
  display: block;
  max-width: 650px;
  margin-top: 16px;
  color: #5d6263;
  line-height: 1.75;
}

.body-experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.body-experience-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(47, 47, 47, 0.24);
  border-radius: 8px;
  background: #fff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.body-experience-card:hover,
.body-experience-card:focus-within {
  box-shadow: 0 14px 32px rgba(47, 47, 47, 0.1);
  transform: translateY(-4px);
}

.body-experience-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid rgba(47, 47, 47, 0.18);
  background: #e8e8e5;
}

.body-experience-card-image img,
.body-experience-dialog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.body-experience-card-image span {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(47, 47, 47, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

.body-experience-card-copy {
  display: flex;
  min-height: 260px;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.body-experience-card-copy p {
  margin: 0;
  color: #657985;
  font-size: 0.72rem;
  font-weight: 800;
}

.body-experience-card-copy h3 {
  margin: 8px 0 10px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.body-experience-card-copy > span {
  color: #596061;
  font-size: 0.86rem;
  line-height: 1.65;
}

.body-experience-card-copy small {
  display: block;
  margin-top: 16px;
  color: #4a5355;
  font-weight: 800;
}

.body-experience-card-copy button,
.body-experience-modal-actions button {
  min-height: 44px;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid #2f2f2f;
  border-radius: 6px;
  background: #fff;
  color: #2f2f2f;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.body-experience-card-copy button {
  margin-top: 22px;
}

.body-experience-card-copy button:hover,
.body-experience-card-copy button:focus-visible,
.body-experience-modal-actions button:hover,
.body-experience-modal-actions button:focus-visible {
  background: #2f2f2f;
  color: #fff;
}

.body-experience-skip {
  display: table;
  margin: 30px auto 0;
  color: #495355;
  font-size: 0.82rem;
  text-underline-offset: 4px;
}

.body-cost-calculator {
  position: relative;
  z-index: 4;
  padding: clamp(72px, 9vw, 124px) 0;
  border-bottom: 0;
  background: #fff;
  color: #252b31;
}

.body-cost-inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.body-cost-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.body-cost-heading p,
.body-cost-heading h2,
.body-cost-heading span,
.body-cost-note,
.body-cost-result-label,
.body-cost-result-message,
.body-cost-progress-note {
  margin: 0;
}

.body-cost-heading p {
  margin-bottom: 10px;
  color: #4b769f;
  font-size: 0.75rem;
  font-weight: 800;
}

.body-cost-heading h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.body-cost-heading span {
  display: block;
  max-width: 700px;
  margin-top: 16px;
  color: #65717c;
  line-height: 1.75;
}

.body-cost-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.body-cost-control-panel,
.body-cost-result-panel {
  border: 1px solid #d4dee7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(64, 91, 116, 0.08);
}

.body-cost-control-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px);
}

.body-cost-budget-field {
  display: grid;
  gap: 10px;
  font-weight: 800;
}

.body-cost-budget-field > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #c8d5e0;
  border-radius: 8px;
  background: #fff;
}

.body-cost-budget-field b {
  color: #4b769f;
  font-size: 0.86rem;
}

.body-cost-budget-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #2f2f2f;
  font: inherit;
}

.body-cost-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.body-cost-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #b8c8d6;
  border-radius: 8px;
  background: #fff;
  color: #2f2f2f;
  font-weight: 800;
  cursor: pointer;
}

.body-cost-actions button:hover,
.body-cost-actions button:focus-visible {
  border-color: #4b769f;
  color: #365f87;
  background: #f3f7fa;
}

.body-cost-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
}

.body-cost-item {
  position: relative;
  display: block;
  min-height: 156px;
  padding: 12px;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.body-cost-item:hover,
.body-cost-item:focus-within {
  border-color: #86a5bf;
  box-shadow: 0 10px 22px rgba(75, 118, 159, 0.1);
  transform: translateY(-1px);
}

.body-cost-item:has(input:checked) {
  border-color: #4b769f;
  background: #eef4f8;
  box-shadow: inset 0 0 0 1px #4b769f;
}

.body-cost-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.body-cost-item-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(47, 47, 47, 0.24);
  border-radius: 5px;
  background: #fff;
}

.body-cost-item-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg);
}

.body-cost-item input:checked + .body-cost-item-check {
  border-color: #4b769f;
  background: #4b769f;
}

.body-cost-item input:checked + .body-cost-item-check::after {
  opacity: 1;
}

.body-cost-item-copy {
  display: grid;
  gap: 6px;
}

.body-cost-item-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #cfdae3;
  border-radius: 8px;
  background: #f1f5f8;
  color: #4b769f;
}

.body-cost-item-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.body-cost-item-title {
  display: grid;
  gap: 5px;
}

.body-cost-item-title b {
  padding-right: 22px;
  font-size: 0.85rem;
  line-height: 1.3;
}

.body-cost-item-title span {
  color: #365f87;
  font-size: 0.9rem;
  font-weight: 800;
}

.body-cost-item small,
.body-cost-item p {
  margin: 0;
  color: #5f666b;
  line-height: 1.6;
}

.body-cost-item small {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.body-cost-item p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.72rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.body-cost-result-panel {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px);
  background: #f7fafc;
}

.body-cost-result-label {
  color: #4b769f;
  font-size: 0.78rem;
  font-weight: 800;
}

.body-cost-result-grid {
  display: grid;
  gap: 10px;
}

.body-cost-result-grid div {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid #d5e0e8;
  border-radius: 8px;
  background: #fff;
}

.body-cost-result-grid span {
  color: #657583;
  font-size: 0.8rem;
  font-weight: 700;
}

.body-cost-result-grid b {
  color: #365f87;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.body-cost-progress {
  height: 12px;
  overflow: hidden;
  border: 1px solid #c8d6e1;
  border-radius: 999px;
  background: #e8eef3;
}

.body-cost-progress span {
  display: block;
  width: var(--body-cost-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: #4b769f;
  transition: width 220ms ease;
}

.body-cost-progress-note {
  color: #4b769f;
  font-size: 0.82rem;
  font-weight: 800;
}

.body-cost-result-message {
  color: #454b4f;
  line-height: 1.75;
}

.body-cost-note {
  width: min(860px, 100%);
  margin-top: 22px;
  color: #626a70;
  font-size: 0.85rem;
  line-height: 1.75;
}

#intro-text .xinmi-card-scroll.is-static-media {
  width: 100%;
  height: auto;
  min-height: 0;
  background: #fff;
}

#intro-text .xinmi-card-scroll.is-static-media .xinmi-card-sticky {
  position: relative;
  inset: auto;
  display: flex;
  width: 100%;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  gap: clamp(56px, 8vw, 96px);
  overflow: visible;
  padding: clamp(70px, 9vw, 120px) 0;
}

#intro-text .xinmi-card-scroll.is-static-media .xinmi-intro-copy,
#intro-text .xinmi-card-scroll.is-static-media .xinmi-story-card {
  position: relative;
  inset: auto;
  width: min(1120px, 92vw);
  margin: 0;
  transform: none !important;
}

#intro-text .xinmi-card-scroll.is-static-media .xinmi-story-card {
  display: block;
  min-height: 0;
  padding: 0;
  visibility: visible !important;
  opacity: 1;
  pointer-events: auto;
  z-index: auto !important;
  background: #fff;
  color: #2f3133;
  box-shadow: none;
  filter: none;
}

#intro-text .xinmi-card-scroll.is-static-media .xinmi-story-card p,
#intro-text .xinmi-card-scroll.is-static-media .xinmi-story-card small,
#intro-text .xinmi-card-scroll.is-static-media .xinmi-month-compare figcaption {
  color: #2f3133;
}

#intro-text .xinmi-card-scroll.is-static-media .xinmi-progress-card {
  padding-top: clamp(8px, 1vw, 16px);
}

#intro-text .xinmi-card-scroll.is-static-media .xinmi-food-card {
  display: grid;
  gap: 18px;
  padding-bottom: clamp(16px, 2vw, 28px);
}

.fitness-scrolly-chart {
  width: 100%;
  padding: clamp(72px, 10vw, 132px) 0;
  background: #fff;
  color: #333333;
}

.fitness-scrolly-inner {
  width: min(900px, 92vw);
  margin: 0 auto;
  display: block;
}

.fitness-chart-sticky {
  position: relative;
  top: auto;
  min-width: 0;
}

.fitness-chart-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.fitness-chart-heading p,
.fitness-chart-heading h2,
.fitness-chart-source {
  margin: 0;
}

.fitness-chart-heading p {
  margin-bottom: 10px;
  color: #777777;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fitness-chart-heading h2 {
  color: #333333;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.fitness-chart-panel {
  position: relative;
  border-top: 0;
  border-bottom: 0;
  padding: clamp(18px, 2.7vw, 30px) 0 18px;
}

.fitness-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
  color: #777777;
  font-size: 0.86rem;
  font-weight: 700;
}

.fitness-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.fitness-chart-legend i {
  width: 13px;
  height: 13px;
  border-radius: 3px;
}

.fitness-legend-count {
  background: #456f98;
}

.fitness-legend-sales {
  background: #6f7780;
}

.fitness-chart-svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.fitness-grid-line,
.fitness-axis-line {
  vector-effect: non-scaling-stroke;
}

.fitness-grid-line {
  stroke: #e9edf1;
  stroke-width: 1;
}

.fitness-axis-line {
  stroke: #d9dee4;
  stroke-width: 1;
}

.fitness-axis-label,
.fitness-point-label,
.fitness-axis-title {
  fill: #777777;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "PingFang TC", sans-serif;
  font-size: 12px;
}

.fitness-axis-title {
  font-weight: 700;
}

.fitness-line {
  display: none;
}

.fitness-line-count {
  stroke: #456f98;
}

.fitness-line-sales {
  stroke: #6f7780;
}

.fitness-bar {
  opacity: 0;
  transform: scaleY(0);
  transform-box: fill-box;
  transform-origin: center bottom;
  vector-effect: non-scaling-stroke;
  transition:
    opacity 360ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--bar-delay, 0ms);
}

.fitness-scrolly-chart.is-chart-visible .fitness-bar {
  opacity: 0.9;
  transform: scaleY(1);
}

.fitness-bar-count {
  fill: #5f86aa;
}

.fitness-bar-sales {
  fill: #6f7780;
}

.fitness-bar.is-active {
  opacity: 1;
  stroke: #30343a;
  stroke-width: 1;
}

.fitness-bar:hover,
.fitness-bar:focus {
  opacity: 1;
  outline: none;
  stroke: #30343a;
  stroke-width: 1.4;
}

.fitness-point {
  stroke: #fff;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.fitness-point-count {
  fill: #456f98;
}

.fitness-point-sales {
  fill: #6f7780;
}

.fitness-point-label {
  fill: #333333;
  font-size: 13px;
  font-weight: 800;
}

.fitness-point-label tspan {
  fill: #777777;
  font-size: 11px;
  font-weight: 700;
}

.fitness-callout line {
  stroke: #aeb8c2;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.fitness-callout text {
  fill: #333333;
  font-size: 14px;
  font-weight: 950;
}

.fitness-callout tspan {
  fill: #333333;
  font-size: 13px;
  font-weight: 950;
}

.fitness-callout-bg {
  fill: rgba(255, 255, 255, 0.96);
  stroke: #cfd6de;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.fitness-callout {
  opacity: 0;
  transition: opacity 360ms ease;
  transition-delay: var(--annotation-delay, 1500ms);
}

.fitness-scrolly-chart.is-chart-complete .fitness-callout {
  opacity: 1;
}

.fitness-chart-tooltip {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  max-width: min(220px, 80vw);
  padding: 9px 11px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #333333;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
  transition: opacity 120ms ease;
}

.fitness-chart-tooltip.is-visible {
  opacity: 1;
}

.fitness-chart-summary {
  min-height: 210px;
  margin-top: 22px;
  padding: 0;
  border-top: 0;
  color: #333333;
}

.fitness-summary-year {
  margin: 0 0 18px;
  color: #777777;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

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

.fitness-summary-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: clamp(18px, 3vw, 28px) 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.fitness-summary-card span {
  color: #333333;
  font-size: 1.02rem;
  font-weight: 900;
}

.fitness-summary-card b {
  color: #456f98;
  font-size: clamp(3.4rem, 8vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.fitness-summary-card em {
  color: #777777;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 800;
}

.fitness-summary-note {
  margin: 10px 0 0;
  color: #333333;
  font-weight: 800;
  line-height: 1.6;
}

.fitness-average-summary {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fitness-scrolly-chart.is-chart-complete .fitness-average-summary {
  opacity: 1;
  transform: translateY(0);
}

.fitness-chart-source {
  margin-top: 14px;
  color: #777777;
  font-size: 0.78rem;
  line-height: 1.7;
}

.has-body-experience-modal {
  overflow: hidden;
}

.body-experience-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: body-experience-fade-in 240ms ease both;
}

.body-experience-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(25, 27, 28, 0.62);
  cursor: pointer;
}

.body-experience-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1.2fr);
  width: min(920px, 94vw);
  max-height: min(760px, 90vh);
  overflow: auto;
  border: 1px solid rgba(47, 47, 47, 0.35);
  border-radius: 8px;
  background: #f8f8f6;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  animation: body-experience-dialog-in 300ms ease both;
}

.body-experience-dialog.is-meal-dialog {
  grid-template-columns: 1fr;
  width: min(980px, 94vw);
  background: #fff;
}

.body-experience-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(47, 47, 47, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #2f2f2f;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.body-experience-dialog-media {
  min-height: 470px;
  background: #e6e6e3;
}

.body-experience-dialog-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(32px, 5vw, 58px);
}

.body-experience-dialog-content > p {
  margin: 0 0 8px;
  color: #657985;
  font-size: 0.72rem;
  font-weight: 800;
}

.body-experience-dialog-content > h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
}

.body-experience-prompt {
  margin: 40px 0 18px;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.body-experience-choices {
  display: grid;
  gap: 10px;
}

.body-experience-choices button {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid rgba(47, 47, 47, 0.3);
  border-radius: 6px;
  background: #fff;
  color: #2f2f2f;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.body-experience-choices button:hover,
.body-experience-choices button:focus-visible {
  border-color: #657985;
  background: #eef1f1;
}

.body-experience-choices button span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
}

.body-experience-dialog-content > small {
  margin-top: auto;
  padding-top: 24px;
  color: #747979;
  font-size: 0.72rem;
}

.body-experience-result {
  margin-top: 38px;
  padding: 26px 0;
  border-block: 1px solid rgba(47, 47, 47, 0.2);
}

.body-experience-result span {
  color: #657985;
  font-size: 0.72rem;
  font-weight: 800;
}

.body-experience-result h3 {
  margin: 8px 0 16px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.body-experience-result p {
  margin: 0;
  color: #51595a;
  line-height: 1.75;
}

.body-experience-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}

.body-experience-modal-actions button:last-child {
  background: #2f2f2f;
  color: #fff;
}

.body-poke-game,
.body-poke-result {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.body-poke-layout,
.body-poke-result {
  display: grid;
  grid-template-columns: minmax(210px, 0.58fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.body-poke-bowl {
  position: relative;
  width: min(300px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border: 8px solid #2f2f2f;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fffdf7 0 44%, #f2eee2 45% 68%, #d8c7a8 69% 100%);
  box-shadow: inset 0 -18px 0 rgba(0, 0, 0, 0.08);
}

.body-poke-bowl.is-result {
  width: min(320px, 100%);
}

.body-poke-base {
  position: absolute;
  inset: 13%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--piece-color, #f5e8ce);
  font-size: 2rem;
  text-align: center;
}

.body-poke-base small {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
}

.body-poke-food-img {
  display: block;
  width: 100%;
  max-width: 42px;
  height: 42px;
  object-fit: contain;
  pointer-events: none;
}

.body-poke-base .body-poke-food-img {
  max-width: 58px;
  height: 58px;
}

.body-poke-piece {
  position: absolute;
  display: grid;
  width: 24%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #2f2f2f;
  border-radius: 50%;
  background: var(--piece-color, #fff);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.08);
  font-size: 1.35rem;
}

.body-poke-veggie.piece-1 { left: 18%; top: 18%; }
.body-poke-veggie.piece-2 { right: 18%; top: 18%; }
.body-poke-veggie.piece-3 { left: 12%; bottom: 26%; }
.body-poke-veggie.piece-4 { right: 12%; bottom: 26%; }
.body-poke-veggie.piece-5 { left: 38%; bottom: 12%; }

.body-poke-protein {
  left: 35%;
  top: 33%;
  z-index: 3;
  width: 30%;
}

.body-poke-sauce {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -50%);
  padding: 8px 10px;
  border: 1px solid #2f2f2f;
  border-radius: 999px;
  background: var(--piece-color, #fff);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.body-poke-sauce .body-poke-food-img {
  width: 28px;
  height: 28px;
}

.body-poke-options {
  display: grid;
  gap: 14px;
}

.body-poke-options h3,
.body-poke-options p,
.body-poke-result h3,
.body-poke-result p {
  margin: 0;
}

.body-poke-options p,
.body-poke-result p {
  color: #51595a;
  line-height: 1.65;
}

.body-poke-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 8px;
}

.body-poke-option-section {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(47, 47, 47, 0.14);
}

.body-poke-option-section > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.body-poke-option-section b {
  font-size: 0.95rem;
}

.body-poke-option-section span {
  color: #657985;
  font-size: 0.72rem;
  font-weight: 800;
}

.body-poke-option-grid button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 64px;
  padding: 8px;
  border: 1px solid rgba(47, 47, 47, 0.35);
  border-radius: 8px;
  background: #fff;
  color: #2f2f2f;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.body-poke-option-grid button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.body-poke-option-grid button.is-selected {
  border-color: #2f2f2f;
  background: #eef1e8;
}

.body-poke-option-grid button > span {
  grid-row: span 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #2f2f2f;
  border-radius: 50%;
  background: var(--piece-color, #fff);
  overflow: hidden;
}

.body-poke-option-grid button > span .body-poke-food-img {
  max-width: 32px;
  height: 32px;
}

.body-poke-option-grid button small {
  color: #657985;
  font-size: 0.68rem;
}

.body-poke-summary,
.body-poke-result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.body-poke-summary span,
.body-poke-result-grid article {
  padding: 10px;
  border: 1px solid rgba(47, 47, 47, 0.28);
  border-radius: 8px;
  background: #fff;
}

.body-poke-result-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0;
}

.body-poke-result-grid article {
  display: grid;
  gap: 4px;
}

.body-poke-result-grid em {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef1e8;
  font-style: normal;
  font-weight: 800;
}

.body-experience-dialog.is-sim-dialog {
  width: min(980px, 94vw);
}

.body-experience-dialog.is-sim-dialog .body-experience-dialog-content {
  align-items: center;
}

.body-sim-game {
  width: min(880px, 100%);
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.body-sim-wide {
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(300px, 420px);
  gap: 18px;
  align-items: stretch;
  justify-content: center;
}

.body-sim-photo-slot {
  min-height: 590px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(47, 47, 47, 0.2);
  border-radius: 18px;
  background: #f3f1eb;
  color: #59666a;
  text-align: center;
  box-sizing: border-box;
}

.body-sim-photo-slot.is-gym-bg {
  background:
    linear-gradient(135deg, rgba(47, 47, 47, 0.08), rgba(47, 47, 47, 0.02)),
    repeating-linear-gradient(90deg, rgba(47, 47, 47, 0.08) 0 1px, transparent 1px 46px),
    #eeece5;
}

.body-sim-photo-slot b {
  color: #2f2f2f;
  font-size: 1rem;
}

.body-sim-photo-slot span {
  max-width: 20em;
  margin: 0 auto;
  font-size: 0.84rem;
  line-height: 1.7;
}

.body-sim-phone {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 7px solid #2f2f2f;
  border-radius: 28px;
  background: #f8f7f2;
  box-shadow: 0 16px 34px rgba(47, 47, 47, 0.16);
  box-sizing: border-box;
}

.body-sim-tradeoff {
  order: -1;
  padding: 10px 12px;
  border: 1px solid rgba(47, 47, 47, 0.2);
  border-radius: 12px;
  background: #fff;
  color: #2f2f2f;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.55;
}

.body-sim-phone header {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(47, 47, 47, 0.16);
}

.body-sim-phone header span {
  color: #657985;
  font-size: 0.72rem;
  font-weight: 800;
}

.body-sim-phone header h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: 0;
  line-height: 1.25;
}

.body-sim-copy,
.body-sim-message {
  margin: 0;
  color: #444b4d;
  line-height: 1.7;
}

.body-sim-message {
  margin-top: auto;
  padding: 12px;
  border: 1px solid rgba(47, 47, 47, 0.18);
  border-radius: 10px;
  background: #fff;
  font-weight: 800;
}

.body-sim-feed,
.body-sim-notifications,
.body-sim-contract,
.body-sim-calendar {
  display: grid;
  gap: 8px;
}

.body-sim-feed article,
.body-sim-notifications span,
.body-sim-contract span,
.body-sim-calendar span,
.body-sim-dm,
.body-sim-room,
.body-sim-flyer,
.body-sim-sales-line {
  padding: 11px 12px;
  border: 1px solid rgba(47, 47, 47, 0.16);
  border-radius: 10px;
  background: #fff;
}

.body-sim-feed article.is-hot {
  border-color: #2f2f2f;
  font-weight: 900;
}

.body-sim-scroll-zone {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 86px;
  margin-top: auto;
  padding: 12px;
  border: 1px dashed #2f2f2f;
  border-radius: 14px;
  background: #fff;
  color: #2f2f2f;
  text-align: center;
  cursor: ns-resize;
  touch-action: pan-y;
}

.body-sim-scroll-zone b {
  font-size: 1rem;
}

.body-sim-scroll-zone span {
  color: #657985;
  font-size: 0.78rem;
  line-height: 1.5;
}

.body-sim-scroll-zone:focus-visible {
  outline: 3px solid rgba(47, 47, 47, 0.28);
  outline-offset: 3px;
}

.body-sim-room,
.body-sim-flyer {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 108px;
  text-align: center;
}

.body-sim-room {
  font-size: 2.2rem;
}

.body-sim-room span,
.body-sim-flyer span {
  font-size: 0.84rem;
}

.body-sim-flyer b {
  font-size: 1.65rem;
}

.body-sim-choice-grid,
.body-sim-zone-grid {
  display: grid;
  gap: 9px;
}

.body-sim-choice-grid button,
.body-sim-zone-grid button,
.body-sim-primary,
.body-sim-actions button {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #2f2f2f;
  border-radius: 10px;
  background: #fff;
  color: #2f2f2f;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.body-sim-choice-grid button b,
.body-sim-choice-grid button small {
  display: block;
}

.body-sim-choice-grid button small {
  margin-top: 4px;
  color: #657985;
}

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

.body-sim-zone-grid button {
  display: grid;
  min-height: 92px;
  place-items: center;
  text-align: center;
}

.body-sim-primary,
.body-sim-actions button:last-child {
  background: #2f2f2f;
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.body-sim-stats {
  display: grid;
  gap: 8px;
}

.body-sim-stat {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr) 4.4em;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
}

.body-sim-stat span {
  font-weight: 800;
}

.body-sim-stat b {
  text-align: right;
}

.body-sim-stat i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e2dc;
}

.body-sim-stat em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #657985;
  transition: width 260ms ease;
}

.body-sim-result-list {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(47, 47, 47, 0.16);
  border-radius: 10px;
  background: #fff;
}

.body-sim-result-list p {
  margin: 0;
  line-height: 1.5;
}

.body-sim-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: auto;
}

@keyframes body-experience-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes body-experience-dialog-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 820px) {
  .body-cost-calculator {
    padding: 64px 0;
  }

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

  .body-cost-result-panel {
    position: static;
  }

  .body-cost-actions {
    display: grid;
  }

  .body-cost-item-title {
    display: grid;
    justify-content: start;
  }

  .expert-dialogue {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    width: calc(100% - 12px);
  }

  .expert-avatar {
    width: 48px;
  }

  .expert-bubble {
    padding: 16px;
  }

  .manga-panel {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 78vh;
    margin-top: 0;
    padding: 28px 0;
  }

  .manga-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 92vw;
  }

  .manga-frame {
    padding-top: 30px;
    border-radius: 12px;
  }

  .manga-frame::before {
    height: 30px;
    background:
      radial-gradient(circle at 14px 15px, #ff5f57 0 4px, transparent 4.5px),
      radial-gradient(circle at 29px 15px, #febc2e 0 4px, transparent 4.5px),
      radial-gradient(circle at 44px 15px, #28c840 0 4px, transparent 4.5px),
      linear-gradient(180deg, #f6f6f4, #ececea);
  }

  .manga-frame::after {
    top: 9px;
    width: min(88px, 30%);
    height: 12px;
  }

  .manga-image {
    height: min(58vh, 560px);
  }

  .manga-center {
    width: min(82vw, 430px);
  }

  .manga-dialogue {
    padding: 18px;
    border-radius: 10px;
  }

  .manga-dialogue > span {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
  }

  .manga-dialogue p {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .video-orbit {
    inset: 8% 0;
  }

  .video-card {
    width: clamp(86px, 24vw, 128px);
    padding: 8px;
    border-radius: 10px;
  }

  .video-card:nth-child(1),
  .video-card:nth-child(3) {
    left: 0;
  }

  .video-card:nth-child(2),
  .video-card:nth-child(4) {
    right: 0;
  }

  .video-card:nth-child(5) {
    right: 2%;
    bottom: -3%;
  }

  .video-card-play {
    width: 28px;
    height: 28px;
  }

  .video-card-title {
    font-size: 0.62rem;
  }

  .social-video-orbit {
    position: relative;
    inset: auto;
    display: flex;
    height: auto;
    width: 100vw;
    margin: 36px 0 36px calc((100vw - min(100%, 92vw)) / -2);
    padding: 0 6vw 12px;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    pointer-events: auto;
    transform: none;
  }

  .social-video-orbit::-webkit-scrollbar {
    display: none;
  }

  .social-video-orbit .video-card {
    position: relative;
    inset: auto;
    flex: 0 0 min(44vw, 170px);
    width: auto;
    padding: 10px;
    border-radius: 12px;
    scroll-snap-align: center;
    transform: none;
  }

  .social-video-orbit .video-card:nth-child(odd),
  .social-video-orbit .video-card:nth-child(even) {
    margin-top: 0;
    margin-bottom: 0;
  }

  .social-video-orbit .video-card-title {
    font-size: 0.72rem;
  }

  .search-streams {
    width: 100%;
    margin: 0 auto;
    gap: 6px;
  }

  .search-field {
    min-height: 42px;
    padding: 8px 13px;
  }

  .search-query {
    font-size: 0.78rem;
  }

  .health-magnifier-challenge {
    padding-block: 64px;
  }

  .health-person-grid {
    display: flex;
    width: 100vw;
    margin-left: calc((100vw - 92vw) / -2);
    gap: 12px;
    overflow-x: auto;
    padding: 0 9vw 12px;
    scroll-padding-inline: 9vw;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .health-person-grid::-webkit-scrollbar {
    display: none;
  }

  .health-person-card {
    flex: 0 0 min(78vw, 340px);
    scroll-snap-align: center;
  }

  .health-person-card-copy {
    min-height: 200px;
  }

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

  .health-magnifier-facts > div {
    border-right: 0;
    border-bottom: 1px solid rgba(47, 47, 47, 0.14);
  }

  .health-magnifier-facts > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .health-magnifier-summary {
    padding: 28px 22px;
  }

  .body-experience-grid {
    display: flex;
    width: 100vw;
    margin-left: calc((100vw - 92vw) / -2);
    gap: 12px;
    overflow-x: auto;
    padding: 0 9vw 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .body-experience-grid::-webkit-scrollbar {
    display: none;
  }

  .body-experience-card {
    flex: 0 0 min(78vw, 330px);
    scroll-snap-align: center;
  }

  .body-experience-dialog {
    display: block;
    width: min(94vw, 560px);
  }

  .body-experience-dialog-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .body-experience-dialog-content {
    padding: 28px 20px;
  }

  .body-experience-modal-actions {
    grid-template-columns: 1fr;
  }

  .body-poke-layout,
  .body-poke-result,
  .body-poke-summary,
  .body-poke-result-grid {
    grid-template-columns: 1fr;
  }

  .body-experience-dialog.is-meal-dialog {
    width: min(94vw, 620px);
  }

  .body-experience-dialog.is-sim-dialog {
    width: min(94vw, 620px);
  }

  .body-sim-game {
    width: 100%;
  }

  .body-sim-wide {
    grid-template-columns: 1fr;
  }

  .body-sim-photo-slot {
    min-height: 150px;
    padding: 18px;
  }

  .body-sim-phone {
    min-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manga-frame,
  .video-card,
  .search-field-typing,
  .health-magnifier-step,
  .health-magnifier-transition,
  .health-person-card,
  .health-magnifier-detail,
  .health-magnifier-summary,
  .body-experience-modal,
  .body-experience-dialog {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .manga-center {
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: none;
  }

  .search-query::after {
    display: none;
  }
}

/* Compact healthy meal game layout revisions. Scoped to the existing frame-12 section only. */
#frame-12 {
  padding-block: 56px;
}

#frame-12 .meal-section {
  width: min(980px, 100%);
  margin-inline: auto;
  grid-template-columns: 210px minmax(0, 740px);
  gap: 18px;
  align-items: start;
}

#frame-12 .meal-story-panel {
  position: sticky;
  top: 72px;
  min-height: auto;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 252, 244, 0.96);
  box-shadow: 0 12px 28px rgba(91, 65, 36, 0.1);
}

#frame-12 .meal-role-placeholder {
  display: none;
}

#frame-12 .meal-story-panel h2 {
  font-size: 1.15rem;
}

#frame-12 .meal-story-panel p,
#frame-12 .meal-tip-box p {
  margin-block: 0;
  font-size: 0.92rem;
  line-height: 1.65;
}

#frame-12 .meal-tip-box {
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
}

#frame-12 .meal-game-panel {
  min-height: auto;
  padding: 20px;
  border-radius: 28px;
}

#frame-12 .meal-game-head {
  max-width: 560px;
  margin-bottom: 14px;
}

#frame-12 .meal-game-head h3 {
  font-size: 1.35rem;
}

#frame-12 .meal-game-head p:not(.meal-kicker) {
  margin: 8px 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

#frame-12 .meal-profile-form {
  width: min(560px, 100%);
  min-height: auto;
  margin-inline: auto;
  padding: 22px;
  gap: 12px;
}

#frame-12 .meal-counter-scene[data-meal-scene="build"] {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

#frame-12 .meal-box-zone,
#frame-12 .meal-ingredient-zone,
#frame-12 .meal-checkout-counter,
#frame-12 .meal-waiting-box,
#frame-12 .meal-result-layout {
  border-radius: 20px;
}

#frame-12 .meal-box-zone {
  min-height: 0;
  padding: 16px;
  justify-content: start;
}

#frame-12 .meal-lunchbox {
  width: min(280px, 100%);
  border-width: 10px;
}

#frame-12 .meal-lunchbox-small {
  width: min(300px, 100%);
}

#frame-12 .meal-ingredient-zone {
  padding: 14px;
}

#frame-12 .meal-category-row {
  margin: 9px 0 6px;
}

#frame-12 .meal-category-row h4 {
  font-size: 0.95rem;
}

#frame-12 .meal-category-row span {
  font-size: 0.82rem;
}

#frame-12 .meal-option-grid {
  grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
  gap: 7px;
}

#frame-12 .meal-option {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 5px;
  min-height: 74px;
  padding: 7px 5px;
  border-radius: 14px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.18;
}

#frame-12 .meal-option small {
  display: block;
  margin-top: 2px;
  color: #a36b25;
  font-size: 0.68rem;
  font-weight: 800;
}

#frame-12 .meal-food-art {
  width: 34px;
  height: 30px;
  border-radius: 10px;
  font-size: 0.5rem;
}

#frame-12 .meal-piece {
  font-size: 0.52rem;
}

#frame-12 .base-center-slot {
  left: 24%;
  top: 34%;
  width: 52%;
  min-height: 31%;
  z-index: 1;
}

#frame-12 .protein-center-slot {
  left: 32%;
  top: 39%;
  width: 36%;
  min-height: 22%;
  z-index: 3;
}

#frame-12 .meal-checkout-counter {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  min-height: 0;
  padding: 22px;
  gap: 22px;
  align-items: center;
  justify-items: center;
}

#frame-12 .meal-checkout-summary {
  width: 100%;
}

#frame-12 .meal-checkout-summary h4,
#frame-12 .meal-result-copy h4 {
  margin: 0 0 8px;
  color: #44321f;
}

#frame-12 .meal-selected-list {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

#frame-12 .meal-selected-list p {
  display: grid;
  grid-template-columns: 4em minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fffaf0;
  line-height: 1.45;
}

#frame-12 .meal-selected-list span {
  color: #6d8b43;
  font-weight: 900;
}

#frame-12 .meal-selected-list b {
  font-weight: 700;
}

#frame-12 .meal-result-layout {
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  min-height: 0;
  padding: 18px;
  gap: 18px;
}

#frame-12 .meal-result-plate {
  display: grid;
  justify-items: center;
  align-content: start;
}

#frame-12 .meal-total,
#frame-12 .meal-price-total {
  margin: 10px 0 0;
  color: #a36b25;
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
}

#frame-12 .meal-price-total {
  color: #6d8b43;
}

#frame-12 .meal-macro-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

#frame-12 .meal-macro-card {
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 9px;
  font-size: 0.84rem;
}

#frame-12 .meal-macro-card b {
  font-size: 0.82rem;
}

#frame-12 .meal-macro-card em {
  justify-self: start;
  font-size: 0.76rem;
}

#frame-12 .meal-comparisons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

#frame-12 .meal-comparison-card {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  font-size: 0.8rem;
}

#frame-12 .comparison-icon-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

#frame-12 .meal-comment {
  margin-bottom: 12px;
  font-size: 0.98rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .fitness-scrolly-inner {
    width: min(100% - 32px, 680px);
  }

  .fitness-chart-sticky {
    top: 0;
    z-index: 5;
    padding: 16px 0 12px;
    background: #fff;
  }

  .fitness-chart-heading {
    margin-bottom: 14px;
  }

  .fitness-chart-heading h2 {
    font-size: clamp(1.45rem, 7vw, 2.15rem);
  }

  .fitness-chart-panel {
    padding-top: 14px;
  }

  .fitness-chart-svg {
    max-height: 52vh;
  }

  .fitness-summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fitness-chart-summary {
    min-height: 300px;
  }

  #frame-12 .meal-section,
  #frame-12 .meal-counter-scene[data-meal-scene="build"],
  #frame-12 .meal-checkout-counter,
  #frame-12 .meal-result-layout {
    grid-template-columns: 1fr;
  }

  #frame-12 .meal-story-panel {
    position: static;
  }

  #frame-12 .meal-profile-form,
  #frame-12 .meal-macro-results,
  #frame-12 .meal-comparisons {
    grid-template-columns: 1fr;
  }

  #frame-12 .meal-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #frame-12 .meal-inline-button {
    width: 100%;
  }
}
