@charset "UTF-8";

:root {
  --paper: #f7eedc;
  --paper-deep: #eddfc4;
  --card: #fffaf0;
  --card-deep: #f8e9c9;
  --ink: #3e342e;
  --ink-soft: #776b61;
  --ink-faint: #a99a8c;
  --coral: #e9664b;
  --coral-deep: #c84e38;
  --coral-soft: #f4b8aa;
  --butter: #f3c84b;
  --butter-soft: #f9e7a8;
  --blue: #9dcdcf;
  --blue-deep: #4e8b8d;
  --blue-soft: #dceeee;
  --peach: #f5a895;
  --peach-soft: #fbd7cb;
  --sage: #a8b99a;
  --line: rgba(62, 52, 46, 0.16);
  --line-strong: rgba(62, 52, 46, 0.28);
  --shadow-sm: 0 2px 0 rgba(62, 52, 46, 0.08), 0 8px 20px rgba(86, 65, 47, 0.07);
  --shadow-md: 0 3px 0 rgba(62, 52, 46, 0.08), 0 18px 42px rgba(86, 65, 47, 0.12);
  --shadow-lg: 0 4px 0 rgba(62, 52, 46, 0.07), 0 30px 70px rgba(86, 65, 47, 0.17);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --title-font: "STKaiti", "KaiTi", "FangSong", serif;
  --body-font: "YouYuan", "Yuanti SC", "Microsoft YaHei", sans-serif;
  --number-font: "Courier New", "Cascadia Mono", monospace;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 12%, rgba(243, 200, 75, 0.16) 0 9%, transparent 9.2%),
    radial-gradient(circle at 92% 30%, rgba(157, 205, 207, 0.2) 0 12%, transparent 12.2%),
    radial-gradient(circle at 78% 93%, rgba(245, 168, 149, 0.16) 0 10%, transparent 10.2%),
    var(--paper);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.23;
  background-image:
    radial-gradient(rgba(62, 52, 46, 0.32) 0.55px, transparent 0.65px),
    radial-gradient(rgba(255, 255, 255, 0.8) 0.55px, transparent 0.65px);
  background-position: 0 0, 4px 4px;
  background-size: 7px 7px;
  mix-blend-mode: multiply;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 4px;
}

::selection {
  color: var(--ink);
  background: var(--butter);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--card);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
}

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

.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(90deg, rgba(62, 52, 46, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(62, 52, 46, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
}

.page-orbit {
  position: fixed;
  z-index: -2;
  border: 1px dashed rgba(78, 139, 141, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.page-orbit--one {
  width: 520px;
  height: 520px;
  top: -260px;
  right: -150px;
}

.page-orbit--two {
  width: 360px;
  height: 360px;
  bottom: -230px;
  left: -120px;
  border-color: rgba(233, 102, 75, 0.16);
}

[hidden] {
  display: none !important;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 56px), var(--max-width));
  margin: 0 auto;
  padding: 27px 0 20px;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 10px);
  grid-template-rows: repeat(2, 10px);
  gap: 3px;
  width: 33px;
  height: 33px;
  padding: 4px;
  border: 1.8px solid var(--ink);
  border-radius: 50% 46% 52% 48%;
  transform: rotate(-8deg);
}

.brand-mark span {
  display: block;
  background: var(--coral);
  border-radius: 50%;
}

.brand-mark span:nth-child(2) {
  background: var(--butter);
}

.brand-mark span:nth-child(3) {
  grid-column: 1 / -1;
  width: 13px;
  justify-self: center;
  background: var(--blue);
  border-radius: 3px 3px 7px 7px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-family: var(--title-font);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.brand-copy small {
  color: var(--ink-soft);
  font-family: var(--number-font);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.header-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--sage);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(168, 185, 154, 0.18);
}

.app-shell {
  width: min(calc(100% - 56px), var(--max-width));
  margin: 0 auto;
}

.view {
  animation: view-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes view-in {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--coral-deep);
  font-family: var(--number-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-star {
  color: var(--butter);
  font-size: 15px;
}

.landing-view {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 34px;
  min-height: min(730px, calc(100vh - 160px));
  padding: 38px 0 66px;
}

.landing-copy {
  position: relative;
  z-index: 3;
  padding-left: 3.5vw;
}

.landing-copy h1 {
  margin: 21px 0 18px;
  font-family: var(--title-font);
  font-size: clamp(62px, 7.8vw, 112px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.title-line--shift {
  margin-left: 0.32em;
}

.title-scribble {
  position: relative;
  display: inline-block;
  color: var(--coral);
}

.title-scribble::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -5%;
  bottom: 0.02em;
  height: 0.15em;
  background: var(--butter);
  border-radius: 52% 42% 56% 40%;
  transform: rotate(-1.5deg);
  z-index: -1;
}

.hero-deck {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.hero-sub {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 23px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

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

.button--primary {
  color: #fffaf2;
  background: var(--coral);
  border-color: var(--ink);
  box-shadow: 3px 4px 0 var(--ink), 0 12px 24px rgba(233, 102, 75, 0.2);
}

.button--primary:hover {
  background: var(--coral-deep);
  box-shadow: 2px 3px 0 var(--ink), 0 14px 28px rgba(233, 102, 75, 0.22);
}

.button:disabled,
.button:disabled:hover {
  color: var(--ink-faint);
  background: var(--paper);
  border-color: var(--line-strong);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.button--large {
  min-height: 62px;
  padding: 0 26px;
  font-size: 15px;
}

.button--secondary {
  color: var(--ink);
  background: var(--card);
  border-color: var(--ink);
  box-shadow: 2px 3px 0 var(--ink);
}

.button--quiet {
  color: var(--ink-soft);
  background: transparent;
  border-color: transparent;
}

.button--quiet:hover {
  color: var(--ink);
  background: rgba(62, 52, 46, 0.05);
}

.button--full {
  width: 100%;
}

.free-note {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.free-note strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 31px;
  color: var(--ink-soft);
  font-size: 11px;
}

.hero-meta b {
  color: var(--ink);
  font-family: var(--number-font);
  font-size: 12px;
}

.hero-meta i {
  width: 3px;
  height: 3px;
  background: var(--ink-faint);
  border-radius: 50%;
}

.resume-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 435px;
  margin-top: 27px;
  padding: 13px 16px;
  background: rgba(255, 250, 240, 0.75);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}

.resume-card div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tiny-kicker {
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.09em;
}

.resume-card strong {
  font-size: 12px;
  font-weight: 600;
}

.text-button {
  flex: 0 0 auto;
  padding: 0;
  color: var(--coral-deep);
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.text-button span {
  margin-left: 4px;
  transition: transform 160ms ease;
}

.text-button:hover span {
  display: inline-block;
  transform: translateX(3px);
}

.hero-stage {
  position: relative;
  align-self: stretch;
  min-height: 590px;
  margin-top: 20px;
}

.stage-sun {
  position: absolute;
  top: 30px;
  right: 26px;
  width: 360px;
  height: 360px;
  background: rgba(243, 200, 75, 0.34);
  border-radius: 48% 52% 45% 55%;
  transform: rotate(13deg);
  filter: blur(1px);
}

.stage-sun::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(62, 52, 46, 0.16);
  border-radius: 50%;
}

.id-preview {
  position: absolute;
  top: 97px;
  right: 26px;
  z-index: 2;
  width: min(82%, 430px);
  min-height: 326px;
  padding: 24px 26px 25px;
  background:
    linear-gradient(112deg, transparent 0 38%, rgba(255, 255, 255, 0.4) 38.2% 38.5%, transparent 38.8%),
    repeating-linear-gradient(0deg, rgba(62, 52, 46, 0.025) 0 1px, transparent 1px 7px),
    var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 9px 10px 0 rgba(62, 52, 46, 0.13), var(--shadow-lg);
  transform: rotate(5deg);
}

.tape {
  position: absolute;
  z-index: 4;
  width: 92px;
  height: 28px;
  background: rgba(249, 231, 168, 0.78);
  border-left: 1px dashed rgba(62, 52, 46, 0.12);
  border-right: 1px dashed rgba(62, 52, 46, 0.12);
  box-shadow: 0 2px 4px rgba(62, 52, 46, 0.07);
}

.tape--top {
  top: -11px;
  left: 48%;
  transform: translateX(-50%) rotate(-2deg);
}

.id-preview__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ink);
}

.mini-seal {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.mini-seal i {
  display: block;
  width: 15px;
  height: 15px;
  background: var(--coral);
  border: 1.5px solid var(--ink);
  border-radius: 50% 45% 50% 45%;
}

.id-preview__head div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.id-preview__head div span {
  color: var(--ink-soft);
  font-family: var(--number-font);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.id-preview__head div strong {
  font-family: var(--title-font);
  font-size: 21px;
  letter-spacing: 0.08em;
}

.id-preview__no {
  margin-left: auto;
  color: var(--ink-soft);
  font-family: var(--number-font);
  font-size: 8px;
  white-space: nowrap;
}

.id-preview__rule {
  display: flex;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-strong);
}

.id-preview__rule span {
  display: block;
  width: 9px;
  height: 3px;
  background: var(--ink);
}

.id-preview__rule span:nth-child(2n) {
  width: 2px;
}

.id-preview__body {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  padding: 17px 0 14px;
}

.id-preview__portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 155px;
  background: var(--blue-soft);
  border: 1px solid var(--ink);
  border-radius: 4px;
}

.portrait-tape {
  position: absolute;
  top: -7px;
  width: 49px;
  height: 13px;
  background: rgba(255, 250, 240, 0.78);
  transform: rotate(-3deg);
}

.portrait-caption {
  position: absolute;
  bottom: 6px;
  color: var(--blue-deep);
  font-family: var(--number-font);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.mini-peach {
  position: relative;
  width: 82px;
  height: 108px;
}

.mini-peach__ear {
  position: absolute;
  top: 3px;
  width: 30px;
  height: 36px;
  background: var(--peach);
  border: 1.8px solid var(--ink);
}

.mini-peach__ear--l {
  left: 4px;
  border-radius: 70% 20% 50% 50%;
  transform: rotate(-20deg);
}

.mini-peach__ear--r {
  right: 4px;
  border-radius: 20% 70% 50% 50%;
  transform: rotate(20deg);
}

.mini-peach__face {
  position: absolute;
  top: 19px;
  left: 6px;
  z-index: 2;
  width: 70px;
  height: 63px;
  background: var(--peach);
  border: 1.8px solid var(--ink);
  border-radius: 48% 52% 47% 53%;
}

.mini-peach__face i {
  position: absolute;
  top: 27px;
  width: 5px;
  height: 7px;
  background: var(--ink);
  border-radius: 50%;
}

.mini-peach__face i:first-child {
  left: 21px;
}

.mini-peach__face i:nth-child(2) {
  right: 21px;
}

.mini-peach__face b {
  position: absolute;
  top: 36px;
  left: 32px;
  width: 7px;
  height: 5px;
  background: var(--ink);
  border-radius: 50%;
}

.mini-peach__face em {
  position: absolute;
  top: 41px;
  width: 11px;
  height: 7px;
  border-bottom: 1.3px solid var(--ink);
  border-radius: 50%;
}

.mini-peach__face em:nth-of-type(1) {
  left: 23px;
  transform: rotate(12deg);
}

.mini-peach__face em:nth-of-type(2) {
  right: 23px;
  transform: rotate(-12deg);
}

.mini-peach__body {
  position: absolute;
  bottom: 12px;
  left: 18px;
  width: 47px;
  height: 30px;
  z-index: 1;
  background: var(--blue);
  border: 1.8px solid var(--ink);
  border-radius: 8px 8px 14px 14px;
}

.mini-peach__card {
  position: absolute;
  bottom: 1px;
  left: 31px;
  z-index: 3;
  color: var(--coral);
  font-size: 29px;
  font-style: normal;
  transform: rotate(-7deg);
}

.id-preview__ages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.preview-age {
  position: relative;
  min-height: 76px;
  padding: 8px 0 7px 14px;
  border-bottom: 1px dashed var(--line);
}

.preview-age:nth-child(odd) {
  border-right: 1px dashed var(--line);
}

.preview-age:nth-child(n+3) {
  padding-top: 13px;
  border-bottom: 0;
}

.preview-age span {
  display: block;
  margin-bottom: 1px;
  color: var(--ink-soft);
  font-size: 9px;
}

.preview-age strong {
  font-family: var(--number-font);
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.09em;
}

.preview-age small {
  margin-left: 3px;
  color: var(--ink-soft);
  font-size: 9px;
}

.preview-age--masked strong {
  color: var(--coral);
  letter-spacing: 0.03em;
}

.id-preview__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
}

.id-preview__foot div:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.id-preview__foot span {
  color: var(--ink-soft);
  font-family: var(--number-font);
  font-size: 7px;
}

.id-preview__foot strong {
  font-family: var(--title-font);
  font-size: 20px;
  letter-spacing: 0.06em;
}

.preview-sign {
  color: var(--coral-deep);
  font-family: var(--title-font);
  font-size: 13px;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-9deg);
}

.preview-stamp {
  position: absolute;
  right: 19px;
  bottom: 65px;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: var(--coral-deep);
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 3px double var(--coral-deep);
  border-radius: 50%;
  transform: rotate(-13deg);
  opacity: 0.82;
}

.preview-stamp::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed var(--coral-deep);
  border-radius: 50%;
}

.mascot-stage {
  position: absolute;
  bottom: 3px;
  left: -7px;
  z-index: 4;
  width: min(47%, 290px);
  aspect-ratio: 300 / 330;
}

.mascot-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 11px 9px rgba(80, 61, 45, 0.15));
}

.mascot-bob {
  transform-origin: 150px 300px;
  animation: mascot-bob 4.8s ease-in-out infinite;
}

@keyframes mascot-bob {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-7px) rotate(0.7deg); }
}

.mascot-ear,
.mascot-head,
.mascot-body,
.mascot-leg,
.mascot-arm {
  fill: var(--peach);
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.mascot-ear-inner {
  fill: #f7c6b8;
}

.mascot-body {
  fill: var(--peach);
}

.mascot-patch {
  fill: #f5b7a7;
  opacity: 0.7;
}

.mascot-muzzle {
  fill: #ffe1d3;
}

.mascot-eye,
.mascot-mouth {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-width: 5;
}

.mascot-nose {
  fill: var(--ink);
}

.mascot-blush {
  fill: #ef7f6b;
  opacity: 0.38;
}

.mascot-overalls {
  fill: var(--blue);
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.mascot-strap {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
}

.mascot-button {
  fill: var(--butter);
  stroke: var(--ink);
  stroke-width: 2;
}

.mascot-pocket {
  fill: #b4dcdd;
  stroke: var(--ink);
  stroke-width: 2;
}

.mascot-card path:first-child {
  fill: var(--butter);
  stroke: var(--ink);
  stroke-linejoin: round;
  stroke-width: 3;
}

.mascot-card-line {
  fill: none;
  stroke: var(--coral-deep);
  stroke-linecap: round;
  stroke-width: 4;
}

.mascot-spark {
  fill: var(--coral);
  transform-origin: center;
  animation: twinkle 3.4s ease-in-out infinite;
}

.mascot-spark--small {
  fill: var(--butter);
  animation-delay: -1.2s;
}

@keyframes twinkle {
  0%, 100% { transform: scale(0.82) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.08) rotate(8deg); opacity: 1; }
}

.speech-note {
  position: absolute;
  right: 8px;
  bottom: 74px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 120px;
  padding: 11px 15px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 20px 20px 20px 4px;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 rgba(62, 52, 46, 0.1);
}

.speech-note span {
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
}

.speech-note small {
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.4;
}

.sticker {
  position: absolute;
  z-index: 6;
  display: grid;
  place-items: center;
  font-family: var(--number-font);
  font-weight: 700;
  text-align: center;
}

.sticker--round {
  top: 412px;
  left: 28px;
  width: 76px;
  height: 76px;
  color: var(--ink);
  background: var(--blue);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-size: 9px;
  line-height: 1.5;
  transform: rotate(-12deg);
  box-shadow: 2px 3px 0 var(--ink);
}

.sticker--round::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px dashed var(--ink);
  border-radius: 50%;
}

.sticker--flower {
  top: 40px;
  left: 150px;
  width: 56px;
  height: 56px;
  transform: rotate(9deg);
}

.sticker--flower span {
  position: absolute;
  width: 27px;
  height: 27px;
  background: var(--coral-soft);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.sticker--flower span:nth-child(1) { top: 0; left: 14px; }
.sticker--flower span:nth-child(2) { top: 14px; right: 0; }
.sticker--flower span:nth-child(3) { bottom: 0; left: 14px; }
.sticker--flower span:nth-child(4) { top: 14px; left: 0; }
.sticker--flower i {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  background: var(--butter);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.landing-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2px;
  border-top: 1px solid var(--line-strong);
}

.how-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 23px 24px 5px;
  border-right: 1px dashed var(--line);
}

.how-card:first-child {
  padding-left: 3.5vw;
}

.how-card:last-child {
  border-right: 0;
}

.how-index {
  color: var(--coral);
  font-family: var(--number-font);
  font-size: 10px;
  font-weight: 700;
}

.how-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--title-font);
  font-size: 17px;
}

.how-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  width: min(calc(100% - 56px), var(--max-width));
  margin: 40px auto 0;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 9px;
}

.site-footer > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--title-font);
  font-size: 15px;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links button {
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 9px;
}

.footer-links button:hover {
  color: var(--coral-deep);
  text-decoration: underline;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

/* Age gate */
.age-view {
  position: relative;
  min-height: 700px;
  padding: 30px 0 100px;
}

.step-topline,
.quiz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 11px;
}

.back-button:hover {
  color: var(--ink);
}

.back-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.step-label {
  color: var(--ink-faint);
  font-family: var(--number-font);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.age-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 10%;
  max-width: 990px;
  margin: 45px auto 0;
}

.age-copy h2 {
  margin: 17px 0 22px;
  font-family: var(--title-font);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.scribble-underline {
  position: relative;
  display: inline-block;
}

.scribble-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: -2px;
  bottom: 3px;
  height: 10px;
  background: var(--butter);
  border-radius: 50%;
  transform: rotate(-2deg);
  z-index: -1;
}

.age-copy > p:not(.eyebrow) {
  max-width: 370px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

.age-copy blockquote {
  position: relative;
  max-width: 330px;
  margin: 30px 0 0;
  padding: 15px 0 0 29px;
  color: var(--ink-soft);
  font-family: var(--title-font);
  font-size: 16px;
  line-height: 1.7;
  border-top: 1px dashed var(--line-strong);
}

.age-copy blockquote::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 0;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
}

.paper-card {
  background:
    repeating-linear-gradient(0deg, rgba(62, 52, 46, 0.023) 0 1px, transparent 1px 6px),
    var(--card);
  border: 1.5px solid var(--ink);
  box-shadow: var(--shadow-md);
}

.age-form {
  position: relative;
  padding: 38px 39px 27px;
  border-radius: var(--radius-sm);
  transform: rotate(1deg);
}

.age-form::before,
.age-form::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 22px;
  background: rgba(249, 231, 168, 0.72);
  border-left: 1px dashed rgba(62, 52, 46, 0.1);
  border-right: 1px dashed rgba(62, 52, 46, 0.1);
}

.age-form::before {
  top: -9px;
  left: 30px;
  transform: rotate(-2deg);
}

.age-form::after {
  right: 33px;
  bottom: -8px;
  transform: rotate(2deg);
}

.form-stamp {
  position: absolute;
  top: 17px;
  right: 20px;
  padding: 5px 9px;
  color: var(--coral-deep);
  font-family: var(--title-font);
  font-size: 11px;
  border: 1px solid var(--coral-deep);
  border-radius: 50%;
  transform: rotate(8deg);
  opacity: 0.72;
}

.age-form label {
  display: block;
  margin-bottom: 15px;
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 700;
}

.age-input-wrap {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 5px 4px 9px;
  border-bottom: 1.5px solid var(--ink);
}

.age-input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 4px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--number-font);
  font-size: 47px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.age-input-wrap input::placeholder {
  color: #d9cbb9;
}

.age-input-wrap span {
  color: var(--ink-soft);
  font-size: 15px;
}

.field-help,
.field-error {
  min-height: 19px;
  margin: 8px 0 22px;
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.65;
}

.field-error {
  min-height: 0;
  margin: -13px 0 10px;
  color: var(--coral-deep);
}

.field-error:empty {
  display: none;
}

.age-form .button--primary {
  margin-top: 1px;
}

.form-footnote {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  color: var(--ink-faint);
  font-size: 9px;
}

.form-footnote svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.age-doodle {
  position: absolute;
  color: var(--coral);
  font-family: var(--title-font);
  font-size: 23px;
  transform: rotate(-14deg);
  opacity: 0.5;
}

.age-doodle--one {
  right: 8%;
  bottom: 18%;
}

.age-doodle--two {
  left: 6%;
  bottom: 22%;
  width: 48px;
  transform: rotate(13deg);
  opacity: 0.4;
}

.age-doodle--two svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: var(--coral);
  stroke-width: 2;
}

/* Quiz */
.quiz-view {
  min-height: 720px;
  padding: 27px 0 65px;
}

.quiz-topbar {
  margin-bottom: 19px;
}

.quiz-topbar .back-button:disabled {
  cursor: default;
  opacity: 0.3;
}

.progress-track {
  height: 3px;
  margin-bottom: 50px;
  overflow: hidden;
  background: rgba(62, 52, 46, 0.1);
  border-radius: 99px;
}

.progress-track span {
  display: block;
  width: 4.166%;
  height: 100%;
  background: var(--coral);
  border-radius: inherit;
  transition: width 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.question-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 680px);
  align-items: flex-start;
  justify-content: center;
  gap: 63px;
  max-width: 900px;
  margin: 0 auto;
}

.question-meta {
  display: flex;
  flex-direction: column;
  padding-top: 18px;
}

.question-number {
  margin-bottom: 20px;
  color: var(--coral);
  font-family: var(--number-font);
  font-size: 49px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
}

.question-state {
  margin-bottom: 7px;
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
}

.question-scene {
  color: var(--ink-faint);
  font-size: 10px;
}

.question-meta::after {
  content: "";
  width: 29px;
  height: 2px;
  margin-top: 22px;
  background: var(--coral);
  transform: rotate(-8deg);
}

.question-card {
  position: relative;
  min-width: 0;
  padding: 38px 41px 24px;
  border-radius: var(--radius-sm);
}

.question-card::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 45%;
  width: 74px;
  height: 17px;
  background: rgba(249, 231, 168, 0.6);
  transform: translateX(-50%) rotate(1deg);
}

.question-doodle {
  position: absolute;
  top: 24px;
  right: 31px;
  width: 37px;
  opacity: 0.25;
}

.question-doodle svg {
  display: block;
  width: 100%;
  fill: none;
  stroke: var(--coral);
  stroke-width: 2;
}

.question-eyebrow {
  margin: 0 0 11px;
  color: var(--ink-faint);
  font-family: var(--number-font);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.question-card h2 {
  max-width: 555px;
  margin: 0 0 27px;
  font-family: var(--title-font);
  font-size: clamp(27px, 3.3vw, 36px);
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: -0.015em;
}

.answer-list {
  display: grid;
  gap: 9px;
}

.answer-option {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  min-height: 58px;
  padding: 10px 17px 10px 12px;
  color: var(--ink);
  text-align: left;
  background: rgba(247, 238, 220, 0.38);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.answer-option:hover {
  background: var(--card-deep);
  border-color: var(--ink);
  transform: translateX(3px);
}

.answer-option.is-selected {
  background: var(--butter-soft);
  border-color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.answer-key {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--number-font);
  font-size: 10px;
  font-weight: 700;
}

.answer-option:hover .answer-key,
.answer-option.is-selected .answer-key {
  color: var(--card);
  background: var(--coral);
  border-color: var(--coral-deep);
}

.answer-text {
  display: block;
  min-width: 0;
  font-size: 13px;
  line-height: 1.55;
}

.quiz-hint {
  margin: 20px 0 0;
  color: var(--ink-faint);
  font-size: 9px;
}

.quiz-hint span {
  margin-right: 4px;
  color: var(--coral);
}

.keyboard-hint {
  margin: 28px 0 0;
  color: var(--ink-faint);
  font-size: 9px;
  text-align: center;
}

kbd {
  display: inline-block;
  min-width: 17px;
  margin: 0 1px;
  padding: 1px 4px;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--number-font);
  font-size: 8px;
  text-align: center;
}

/* Reveal */
.reveal-view {
  display: grid;
  min-height: 655px;
  padding: 72px 0;
  place-items: center;
}

.reveal-stage {
  position: relative;
  width: min(100%, 475px);
}

.reveal-paper {
  position: relative;
  padding: 63px 49px 47px;
  text-align: center;
  background:
    repeating-linear-gradient(0deg, rgba(62, 52, 46, 0.022) 0 1px, transparent 1px 7px),
    var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 9px 10px 0 rgba(62, 52, 46, 0.09), var(--shadow-lg);
  transform: rotate(-1.5deg);
}

.reveal-tape {
  position: absolute;
  top: -16px;
  width: 112px;
  height: 32px;
  background: rgba(249, 231, 168, 0.77);
  border-left: 1px dashed rgba(62, 52, 46, 0.13);
  border-right: 1px dashed rgba(62, 52, 46, 0.13);
}

.reveal-tape--left {
  left: 30px;
  transform: rotate(-8deg);
}

.reveal-tape--right {
  right: 30px;
  transform: rotate(7deg);
}

.reveal-seal {
  position: relative;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  margin: 0 auto 24px;
  color: var(--coral-deep);
  border: 2px solid var(--coral-deep);
  border-radius: 50%;
  transform: rotate(-8deg);
  animation: seal-pulse 1.45s ease-in-out infinite;
}

.reveal-seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--coral-deep);
  border-radius: 50%;
}

.reveal-seal span {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -3px;
  background: var(--coral);
  border-radius: 50%;
}

.reveal-seal b {
  font-family: var(--title-font);
  font-size: 19px;
}

@keyframes seal-pulse {
  0%, 100% { transform: rotate(-8deg) scale(1); opacity: 0.8; }
  50% { transform: rotate(-8deg) scale(1.035); opacity: 1; }
}

.reveal-paper .eyebrow {
  justify-content: center;
  color: var(--ink-faint);
  font-size: 8px;
}

.reveal-paper h2 {
  margin: 15px 0 12px;
  font-family: var(--title-font);
  font-size: 31px;
  line-height: 1.35;
}

.reveal-status {
  min-height: 22px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.reveal-progress {
  height: 3px;
  margin: 28px auto 23px;
  overflow: hidden;
  background: var(--line);
  border-radius: 99px;
}

.reveal-progress span {
  display: block;
  width: 16%;
  height: 100%;
  background: var(--coral);
  border-radius: inherit;
  transition: width 400ms ease;
}

.reveal-checklist {
  display: flex;
  justify-content: space-between;
  color: var(--ink-faint);
  font-size: 8px;
}

.reveal-checklist span {
  transition: color 200ms ease;
}

.reveal-checklist span::before {
  content: "○";
  margin-right: 3px;
}

.reveal-checklist span.is-done {
  color: var(--ink);
}

.reveal-checklist span.is-done::before {
  content: "●";
  color: var(--coral);
}

.reveal-mascot {
  position: absolute;
  right: -31px;
  bottom: -33px;
  width: 92px;
  height: 82px;
  background: var(--peach);
  border: 1.5px solid var(--ink);
  border-radius: 46% 54% 42% 48%;
  box-shadow: 3px 4px 0 rgba(62, 52, 46, 0.13);
  transform: rotate(8deg);
}

.peek-eye {
  position: absolute;
  top: 30px;
  left: 27px;
  width: 6px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
}

.peek-eye--r {
  left: 55px;
}

.peek-paw {
  position: absolute;
  top: -11px;
  right: -9px;
  width: 30px;
  height: 37px;
  background: var(--peach);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transform: rotate(27deg);
}

/* Result shared */
.result-view {
  padding: 24px 0 80px;
}

.result-head {
  max-width: 880px;
  margin: 0 auto 33px;
  text-align: center;
}

.result-head .eyebrow {
  justify-content: center;
}

.result-head h1 {
  margin: 14px 0 11px;
  font-family: var(--title-font);
  font-size: clamp(43px, 6vw, 74px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.result-head h1 em {
  color: var(--coral);
  font-style: normal;
}

.result-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: start;
  gap: 35px;
  max-width: 1010px;
  margin: 0 auto;
}

.id-card {
  position: relative;
  padding: 27px 28px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 89% 15%, rgba(243, 200, 75, 0.21), transparent 18%),
    repeating-linear-gradient(0deg, rgba(62, 52, 46, 0.022) 0 1px, transparent 1px 7px),
    var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 13px;
  box-shadow: 9px 10px 0 rgba(62, 52, 46, 0.1), var(--shadow-lg);
  transform: rotate(-0.8deg);
}

.id-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: 100px;
  width: 135px;
  height: 135px;
  border: 1px dashed rgba(233, 102, 75, 0.25);
  border-radius: 50%;
}

.card-tape {
  position: absolute;
  top: -11px;
  left: 40%;
  width: 100px;
  height: 25px;
  background: rgba(249, 231, 168, 0.82);
  transform: translateX(-50%) rotate(-1deg);
}

.id-card__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 15px;
  border-bottom: 1.5px solid var(--ink);
}

.id-card__seal {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1.4px solid var(--ink);
  border-radius: 50%;
}

.id-card__seal span {
  width: 18px;
  height: 18px;
  background: var(--coral);
  border: 1.3px solid var(--ink);
  border-radius: 50% 42% 49% 40%;
}

.id-card__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.id-card__title small {
  color: var(--ink-soft);
  font-family: var(--number-font);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.id-card__title strong {
  font-family: var(--title-font);
  font-size: 23px;
  letter-spacing: 0.08em;
}

.id-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  margin-left: auto;
  color: var(--ink-soft);
  font-family: var(--number-font);
  font-size: 7px;
  line-height: 1.4;
}

.id-card__meta b {
  color: var(--ink);
  font-size: 9px;
}

.id-card__main {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0 17px;
}

.id-card__portrait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 207px;
  background: var(--blue-soft);
  border: 1px solid var(--ink);
  border-radius: 5px;
}

.id-card__portrait::before {
  content: "";
  position: absolute;
  top: -7px;
  width: 58px;
  height: 15px;
  background: rgba(255, 250, 240, 0.8);
  transform: rotate(-2deg);
}

.id-card__portrait-name {
  position: absolute;
  bottom: 7px;
  color: var(--blue-deep);
  font-family: var(--number-font);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.result-mascot {
  width: 146px;
  height: 188px;
  place-items: end center;
  transform: translateY(-5px);
  overflow: visible;
}

.character-svg {
  display: block;
  flex: 0 0 auto;
  overflow: visible;
}

.character-asset-wrap {
  display: grid;
  place-items: end center;
}

.character-asset {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: 50% 82%;
  animation: character-bob 4.8s ease-in-out infinite;
  filter: drop-shadow(0 7px 5px rgba(62, 52, 46, 0.08));
}

.character-float {
  transform-origin: 50% 82%;
  animation: character-bob 4.8s ease-in-out infinite;
}

@keyframes character-bob {
  0%, 100% { transform: translateY(0) rotate(-0.45deg); }
  50% { transform: translateY(-3px) rotate(0.45deg); }
}

.id-card__ages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: center;
}

.age-stat {
  padding: 5px 0 8px 15px;
  border-bottom: 1px dashed var(--line);
}

.age-stat:nth-child(odd) {
  border-right: 1px dashed var(--line);
}

.age-stat:nth-last-child(-n+2) {
  border-bottom: 0;
}

.age-stat label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1px;
  color: var(--ink-soft);
  font-size: 9px;
}

.age-stat label i {
  width: 5px;
  height: 5px;
  background: var(--coral);
  border-radius: 50%;
}

.age-stat strong {
  font-family: var(--number-font);
  font-size: 37px;
  line-height: 1.2;
  letter-spacing: -0.08em;
}

.age-stat small {
  margin-left: 3px;
  color: var(--ink-soft);
  font-size: 9px;
}

.age-stat em {
  margin-left: 4px;
  color: var(--ink-faint);
  font-family: var(--number-font);
  font-size: 7px;
  font-style: normal;
}

.id-card__type {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  padding-top: 15px;
  border-top: 1.5px solid var(--ink);
}

.id-card__type small {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-family: var(--number-font);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.id-card__type strong {
  font-family: var(--title-font);
  font-size: 29px;
  letter-spacing: 0.035em;
}

.id-card__tagline {
  max-width: 230px;
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.card-stamp {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 4px 4px 0;
  color: var(--coral-deep);
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
  border: 2px solid var(--coral-deep);
  border-radius: 50%;
  transform: rotate(-11deg);
  opacity: 0.8;
}

.card-stamp::before {
  content: "";
  position: absolute;
  width: 63px;
  height: 63px;
  border: 1px dashed var(--coral-deep);
  border-radius: 50%;
}

.id-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 12px;
  margin-top: 16px;
  border-top: 1px dashed var(--line);
}

.barcode {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 21px;
  opacity: 0.65;
}

.barcode span {
  display: block;
  width: 2px;
  background: var(--ink);
}

.barcode span:nth-child(3n) { width: 4px; }
.barcode span:nth-child(4n) { width: 1px; }
.barcode span:nth-child(5n) { width: 5px; }

.id-card__bottom small {
  color: var(--ink-faint);
  font-family: var(--number-font);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.result-side {
  padding-top: 7px;
}

.result-side .eyebrow {
  margin-bottom: 13px;
}

.result-side h2 {
  margin: 0 0 13px;
  font-family: var(--title-font);
  font-size: 31px;
  line-height: 1.35;
}

.result-side > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.8;
}

.age-contrast {
  position: relative;
  margin-top: 22px;
  padding: 17px 19px 16px;
  background: rgba(255, 250, 240, 0.64);
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
}

.age-contrast::before {
  content: "核验结论";
  position: absolute;
  top: -7px;
  left: 13px;
  padding: 0 5px;
  color: var(--coral-deep);
  background: var(--paper);
  font-family: var(--title-font);
  font-size: 10px;
}

.age-contrast strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--title-font);
  font-size: 17px;
}

.age-contrast p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.age-contrast small {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  color: var(--ink-faint);
  border-top: 1px dashed var(--line);
  font-size: 9px;
  line-height: 1.6;
}

.result-actions {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.result-actions .button {
  min-height: 48px;
}

.share-note {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 9px;
  text-align: center;
}

.emotion-section {
  max-width: 1010px;
  margin: 54px auto 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-family: var(--title-font);
  font-size: 32px;
}

.section-heading p {
  max-width: 285px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
  text-align: right;
}

.emotion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.emotion-card {
  position: relative;
  min-height: 185px;
  padding: 21px 19px 17px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.emotion-card:nth-child(2) {
  transform: translateY(9px) rotate(0.5deg);
}

.emotion-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px dashed var(--line);
}

.emotion-card__top span {
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 700;
}

.emotion-card__top i {
  color: var(--coral);
  font-family: var(--number-font);
  font-size: 9px;
  font-style: normal;
}

.emotion-card p {
  margin: 13px 0 11px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.emotion-card small {
  display: inline-block;
  padding: 4px 8px;
  color: var(--coral-deep);
  background: var(--peach-soft);
  border-radius: 999px;
  font-size: 8px;
}

.translation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 35px;
  max-width: 1010px;
  margin: 57px auto 0;
  padding: 29px 31px;
  background: var(--ink);
  border-radius: 16px;
  color: var(--card);
  box-shadow: 5px 6px 0 rgba(62, 52, 46, 0.14);
}

.translation-copy .eyebrow {
  color: var(--butter);
}

.translation-copy h2 {
  margin: 10px 0 7px;
  font-family: var(--title-font);
  font-size: 31px;
}

.translation-copy p {
  margin: 0;
  color: rgba(255, 250, 240, 0.65);
  font-size: 10px;
  line-height: 1.7;
}

.translation-list {
  display: grid;
  gap: 8px;
}

.translation-item {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) 29px minmax(0, 1.2fr);
  align-items: center;
  gap: 9px;
  min-height: 45px;
  padding: 8px 13px;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(255, 250, 240, 0.15);
  border-radius: 7px;
}

.translation-item q {
  color: var(--butter-soft);
  font-family: var(--title-font);
  font-size: 14px;
}

.translation-item span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--ink);
  background: var(--butter);
  border-radius: 50%;
  font-size: 11px;
}

.translation-item p {
  margin: 0;
  color: rgba(255, 250, 240, 0.75);
  font-size: 10px;
  line-height: 1.5;
}

.result-advice {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  max-width: 1010px;
  margin: 28px auto 0;
  padding: 25px 28px;
  background: var(--blue-soft);
  border: 1px solid var(--ink);
  border-radius: 14px;
}

.advice-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-family: var(--title-font);
  font-size: 31px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.result-advice h3 {
  margin: 0 0 4px;
  font-family: var(--title-font);
  font-size: 20px;
}

.result-advice p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.advice-tag {
  padding: 7px 11px;
  color: var(--blue-deep);
  background: var(--card);
  border: 1px dashed var(--blue-deep);
  border-radius: 999px;
  font-family: var(--number-font);
  font-size: 8px;
  white-space: nowrap;
}

.advanced-teaser {
  position: relative;
  max-width: 1010px;
  margin: 56px auto 0;
  padding: 32px 35px;
  overflow: hidden;
  background: var(--card-deep);
  border: 1.5px solid var(--ink);
  border-radius: 17px;
}

.advanced-teaser::before {
  content: "";
  position: absolute;
  top: -57px;
  right: -37px;
  width: 197px;
  height: 197px;
  border: 1px dashed rgba(62, 52, 46, 0.25);
  border-radius: 50%;
}

.advanced-teaser .demo-label {
  position: absolute;
  top: 15px;
  right: 19px;
  padding: 4px 7px;
  color: var(--coral-deep);
  border: 1px solid var(--coral-deep);
  font-family: var(--number-font);
  font-size: 7px;
  letter-spacing: 0.09em;
}

.advanced-teaser h2 {
  position: relative;
  max-width: 500px;
  margin: 8px 0 9px;
  font-family: var(--title-font);
  font-size: 32px;
  line-height: 1.3;
}

.advanced-teaser > p {
  position: relative;
  max-width: 530px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.75;
}

.teaser-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.teaser-module {
  position: relative;
  min-height: 74px;
  padding: 13px 13px 11px;
  background: rgba(255, 250, 240, 0.57);
  border: 1px dashed var(--line-strong);
  border-radius: 9px;
}

.teaser-module span {
  color: var(--coral);
  font-family: var(--number-font);
  font-size: 8px;
}

.teaser-module strong {
  display: block;
  margin-top: 3px;
  font-family: var(--title-font);
  font-size: 16px;
}

.teaser-module p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.teaser-purchase {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 23px;
}

.teaser-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.teaser-price strong {
  font-family: var(--number-font);
  font-size: 31px;
}

.teaser-price strong small {
  margin-right: 1px;
  font-size: 13px;
}

.teaser-price span {
  color: var(--ink-soft);
  font-size: 9px;
}

.teaser-price del {
  color: var(--ink-faint);
  font-family: var(--number-font);
  font-size: 9px;
}

.teaser-purchase .button {
  min-height: 47px;
  margin-left: auto;
}

.result-disclaimer {
  max-width: 1010px;
  margin: 37px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}

.result-disclaimer strong {
  color: var(--ink-soft);
}

/* Advanced report */
.advanced-view {
  padding: 29px 0 90px;
}

.advanced-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 31px;
}

.unlocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid var(--blue-deep);
  border-radius: 999px;
  font-family: var(--number-font);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.unlocked-badge::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  color: var(--card);
  background: var(--blue-deep);
  border-radius: 50%;
  font-size: 9px;
}

.advanced-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  max-width: 1010px;
  margin: 0 auto 37px;
  padding: 34px 39px;
  background:
    linear-gradient(112deg, transparent 0 44%, rgba(255, 255, 255, 0.34) 44.2% 44.4%, transparent 44.6%),
    var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 15px;
  box-shadow: 6px 7px 0 rgba(62, 52, 46, 0.08);
}

.advanced-head::after {
  content: "已解锁";
  position: absolute;
  top: 25px;
  right: 34px;
  padding: 8px 13px;
  color: var(--coral-deep);
  font-family: var(--title-font);
  font-size: 17px;
  border: 2px double var(--coral-deep);
  border-radius: 50%;
  transform: rotate(10deg);
  opacity: 0.76;
}

.advanced-head h1 {
  max-width: 650px;
  margin: 10px 0 8px;
  font-family: var(--title-font);
  font-size: clamp(42px, 5.3vw, 68px);
  line-height: 1.13;
  letter-spacing: -0.04em;
}

.advanced-head p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.75;
}

.advanced-head__aside {
  flex: 0 0 auto;
  width: 125px;
  padding-top: 30px;
  text-align: center;
}

.advanced-head__aside strong {
  display: block;
  font-family: var(--number-font);
  font-size: 36px;
  letter-spacing: -0.08em;
}

.advanced-head__aside span {
  color: var(--ink-soft);
  font-size: 9px;
}

.advanced-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 1010px;
  margin: -14px auto 32px;
}

.advanced-toc a {
  padding: 6px 10px;
  color: var(--ink-soft);
  background: rgba(255, 250, 240, 0.45);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
  text-decoration: none;
}

.advanced-toc a:hover {
  color: var(--coral-deep);
  border-color: var(--coral);
}

.report-section {
  max-width: 1010px;
  margin: 0 auto 30px;
  padding: 32px 35px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 24px;
}

.report-section--tint {
  background: var(--blue-soft);
}

.report-section--dark {
  color: var(--card);
  background: var(--ink);
  border-color: var(--ink);
}

.report-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--line-strong);
}

.report-section--dark .report-section-head {
  border-color: rgba(255, 250, 240, 0.2);
}

.report-index {
  color: var(--coral);
  font-family: var(--number-font);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.report-section h2 {
  margin: 6px 0 0;
  font-family: var(--title-font);
  font-size: 31px;
  line-height: 1.3;
}

.report-section-head > span {
  color: var(--ink-faint);
  font-family: var(--number-font);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.report-section--dark .report-section-head > span {
  color: rgba(255, 250, 240, 0.5);
}

.dimension-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 35px;
}

.radar-wrap {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.radar-chart {
  width: min(100%, 320px);
  height: auto;
  overflow: visible;
}

.radar-grid {
  fill: none;
  stroke: rgba(62, 52, 46, 0.18);
  stroke-width: 1;
}

.radar-axis {
  stroke: rgba(62, 52, 46, 0.15);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.radar-data {
  fill: rgba(233, 102, 75, 0.25);
  stroke: var(--coral);
  stroke-width: 2;
}

.radar-dot {
  fill: var(--coral);
  stroke: var(--card);
  stroke-width: 1.5;
}

.radar-label {
  fill: var(--ink-soft);
  font-family: var(--body-font);
  font-size: 10px;
}

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

.dimension-row {
  display: grid;
  gap: 7px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.dimension-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dimension-row__head label {
  font-size: 12px;
  font-weight: 600;
}

.dimension-bar {
  height: 7px;
  overflow: hidden;
  background: var(--paper);
  border-radius: 99px;
}

.dimension-bar span {
  display: block;
  height: 100%;
  background: var(--coral);
  border-radius: inherit;
}

.dimension-row:nth-child(2n) .dimension-bar span {
  background: var(--blue-deep);
}

.dimension-row__head em {
  color: var(--ink-soft);
  font-family: var(--number-font);
  font-size: 10px;
  font-style: normal;
  text-align: right;
}

.dimension-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.dimension-note {
  margin: 22px 0 0;
  padding: 13px 15px;
  color: var(--ink-soft);
  background: var(--paper);
  border-left: 3px solid var(--butter);
  font-size: 10px;
  line-height: 1.7;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.weather-card {
  min-height: 152px;
  padding: 17px;
  background: rgba(255, 250, 240, 0.64);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.weather-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}

.weather-card__top strong {
  font-family: var(--title-font);
  font-size: 18px;
}

.weather-card__top span {
  color: var(--blue-deep);
  font-family: var(--number-font);
  font-size: 8px;
}

.weather-card p {
  margin: 11px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.weather-card small {
  display: block;
  margin-top: 10px;
  color: var(--coral-deep);
  font-size: 8px;
}

.contrast-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contrast-panel {
  padding: 19px;
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(255, 250, 240, 0.18);
  border-radius: 10px;
}

.contrast-panel h3 {
  margin: 0 0 7px;
  color: var(--butter-soft);
  font-family: var(--title-font);
  font-size: 19px;
}

.contrast-panel p {
  margin: 0;
  color: rgba(255, 250, 240, 0.7);
  font-size: 10px;
  line-height: 1.7;
}

.stage-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.stage-card {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.stage-card span {
  color: var(--coral);
  font-family: var(--number-font);
  font-size: 8px;
}

.stage-card h3 {
  margin: 5px 0 6px;
  font-family: var(--title-font);
  font-size: 18px;
}

.stage-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.65;
}

.script-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.script-card {
  padding: 20px;
  background: rgba(255, 250, 240, 0.64);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.script-card h3 {
  margin: 0 0 8px;
  font-family: var(--title-font);
  font-size: 20px;
}

.script-card > p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.script-quote {
  padding: 11px 13px;
  color: var(--ink);
  background: var(--butter-soft);
  border-left: 3px solid var(--butter);
  font-family: var(--title-font);
  font-size: 14px;
  line-height: 1.65;
}

.script-card small {
  display: block;
  margin-top: 10px;
  color: var(--ink-faint);
  font-size: 8px;
  line-height: 1.5;
}

.dictionary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dictionary-item {
  display: grid;
  grid-template-columns: 70px 17px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 7px;
}

.dictionary-item q {
  color: var(--coral-deep);
  font-family: var(--title-font);
  font-size: 14px;
}

.dictionary-item i {
  color: var(--ink-faint);
  font-size: 12px;
  font-style: normal;
}

.dictionary-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.action-list {
  display: grid;
  gap: 8px;
}

.action-item {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 8px;
}

.action-item > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: var(--card);
  background: var(--coral);
  border-radius: 50%;
  font-family: var(--number-font);
  font-size: 9px;
}

.action-item strong {
  display: block;
  font-size: 11px;
}

.action-item p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.55;
}

.action-item em {
  color: var(--ink-faint);
  font-family: var(--number-font);
  font-size: 8px;
  font-style: normal;
}

.letter-paper {
  position: relative;
  padding: 27px 30px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
}

.letter-paper::before {
  content: "给未来关系的一封信";
  display: block;
  margin-bottom: 15px;
  color: var(--coral-deep);
  font-family: var(--title-font);
  font-size: 19px;
}

.letter-paper p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-family: var(--title-font);
  font-size: 15px;
  line-height: 1.9;
}

.letter-sign {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--title-font);
  font-size: 17px;
  text-align: right;
}

.report-end {
  max-width: 1010px;
  margin: 35px auto 0;
  text-align: center;
}

.report-end p {
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-family: var(--title-font);
  font-size: 17px;
}

.report-end .button {
  min-height: 46px;
}

.report-end small {
  display: block;
  max-width: 560px;
  margin: 21px auto 0;
  color: var(--ink-faint);
  font-size: 8px;
  line-height: 1.7;
}

/* Dialog */
.modal {
  width: min(calc(100% - 34px), 590px);
  max-height: min(86vh, 820px);
  padding: 0;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 8px 10px 0 rgba(62, 52, 46, 0.2), var(--shadow-lg);
  overflow: auto;
}

.modal::backdrop {
  background: rgba(53, 43, 37, 0.55);
  backdrop-filter: blur(3px);
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--ink-soft);
  background: rgba(255, 250, 240, 0.8);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--ink);
  background: var(--butter-soft);
}

.modal-close svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.paywall-modal {
  padding: 38px 37px 27px;
  background:
    radial-gradient(circle at 91% 8%, rgba(243, 200, 75, 0.25), transparent 20%),
    repeating-linear-gradient(0deg, rgba(62, 52, 46, 0.022) 0 1px, transparent 1px 7px),
    var(--card);
}

.demo-label {
  color: var(--coral-deep);
  font-family: var(--number-font);
  font-size: 8px;
  letter-spacing: 0.15em;
}

.paywall-kicker {
  margin-top: 26px;
  color: var(--ink-faint);
  font-family: var(--number-font);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.paywall-modal h2 {
  margin: 10px 0 12px;
  font-family: var(--title-font);
  font-size: 38px;
  line-height: 1.24;
}

.paywall-lede {
  max-width: 450px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.paywall-status {
  margin: 18px 0 12px;
  padding: 11px 13px;
  color: var(--ink-soft);
  background: var(--paper);
  border-left: 3px solid var(--blue);
  font-size: 11px;
  line-height: 1.65;
}

.paywall-status--maintenance {
  color: var(--ink);
  background:
    repeating-linear-gradient(-45deg, rgba(243, 200, 75, 0.14) 0 6px, transparent 6px 12px),
    var(--butter-soft);
  border-left-color: var(--butter);
  font-family: var(--title-font);
  font-size: 14px;
}

.paywall-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 22px 0 21px;
}

.paywall-list span {
  padding: 9px 10px;
  color: var(--ink-soft);
  background: rgba(247, 238, 220, 0.62);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 10px;
}

.paywall-list b {
  margin-right: 5px;
  color: var(--coral);
  font-family: var(--number-font);
  font-size: 8px;
}

.paywall-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 0;
  border-top: 1px dashed var(--line-strong);
  border-bottom: 1px dashed var(--line-strong);
}

.paywall-price > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.paywall-price span {
  color: var(--ink-soft);
  font-size: 10px;
}

.paywall-price strong {
  color: var(--coral-deep);
  font-family: var(--number-font);
  font-size: 36px;
  letter-spacing: -0.07em;
}

.paywall-price strong small {
  margin-right: 2px;
  font-size: 14px;
}

.paywall-price em {
  color: var(--ink-faint);
  font-family: var(--number-font);
  font-size: 8px;
  font-style: normal;
}

.price-note {
  flex: 0 0 auto;
  padding: 5px 7px;
  color: var(--coral-deep) !important;
  border: 1px dashed var(--coral-deep);
  font-family: var(--title-font);
  font-size: 10px !important;
  line-height: 1.35;
  text-align: center;
  transform: rotate(3deg);
}

.paywall-footnote {
  margin: 13px 0 0;
  color: var(--ink-faint);
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
}

.share-modal {
  display: none;
  grid-template-columns: 0.92fr 1.08fr;
  width: min(calc(100% - 34px), 780px);
  padding: 24px;
  gap: 29px;
}

.share-modal[open] {
  display: grid;
}

.share-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 405px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.share-preview::before {
  content: "分享预览";
  position: absolute;
  top: 12px;
  left: 14px;
  color: var(--ink-faint);
  font-family: var(--number-font);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.share-mini-card {
  width: 230px;
  padding: 16px 16px 14px;
  background: var(--card);
  border: 1.2px solid var(--ink);
  border-radius: 7px;
  box-shadow: 4px 5px 0 rgba(62, 52, 46, 0.1);
  transform: rotate(-3deg);
}

.share-mini-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--number-font);
  font-size: 6px;
  letter-spacing: 0.08em;
}

.share-mini-card__portrait {
  position: relative;
  display: grid;
  place-items: center;
  height: 178px;
  margin: 10px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.58), transparent 58%),
    var(--blue-soft);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
}

.share-mini-card__portrait::before {
  content: "";
  position: absolute;
  top: -5px;
  width: 46px;
  height: 11px;
  background: rgba(255, 250, 240, 0.82);
  transform: rotate(-2deg);
}

.share-character {
  width: 132px;
  height: 160px;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(2px);
}

.share-mini-card__ages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 10px 0;
}

.share-mini-card__ages div {
  padding: 3px 7px;
  border-right: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

.share-mini-card__ages div:nth-child(2n) {
  border-right: 0;
}

.share-mini-card__ages div:nth-child(n+3) {
  border-bottom: 0;
}

.share-mini-card__ages span {
  display: block;
  color: var(--ink-soft);
  font-size: 7px;
}

.share-mini-card__ages strong {
  font-family: var(--number-font);
  font-size: 21px;
}

.share-mini-card__ages small {
  margin-left: 2px;
  color: var(--ink-soft);
  font-size: 6px;
}

.share-mini-card__type {
  padding-top: 9px;
  border-top: 1px solid var(--ink);
}

.share-mini-card__type span {
  display: block;
  color: var(--ink-soft);
  font-family: var(--number-font);
  font-size: 6px;
}

.share-mini-card__type strong {
  font-family: var(--title-font);
  font-size: 19px;
}

.share-mini-card__line {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.5;
}

.share-mini-card__foot {
  margin-top: 11px;
  padding-top: 7px;
  color: var(--ink-faint);
  border-top: 1px dashed var(--line);
  font-family: var(--number-font);
  font-size: 6px;
  letter-spacing: 0.06em;
}

.share-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 27px 9px 21px 0;
}

.share-actions h2 {
  margin: 11px 0 9px;
  font-family: var(--title-font);
  font-size: 34px;
  line-height: 1.25;
}

.share-actions > p:not(.eyebrow) {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.share-actions .button {
  min-height: 48px;
  margin-bottom: 8px;
}

.share-actions small {
  margin-top: 9px;
  color: var(--ink-faint);
  font-size: 8px;
  line-height: 1.5;
}

.privacy-modal {
  padding: 38px 38px 29px;
}

.privacy-modal h2 {
  margin: 11px 0 18px;
  font-family: var(--title-font);
  font-size: 36px;
}

.privacy-copy {
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}

.privacy-copy p {
  margin: 0 0 13px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
}

.privacy-copy strong {
  color: var(--ink);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 27px;
  z-index: 210;
  max-width: calc(100% - 36px);
  padding: 10px 17px;
  color: var(--card);
  background: var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 11px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Responsive */
@media (max-width: 1040px) {
  .site-header,
  .app-shell,
  .site-footer {
    width: min(calc(100% - 42px), var(--max-width));
  }

  .landing-view {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
    gap: 10px;
  }

  .landing-copy {
    padding-left: 1.5vw;
  }

  .landing-copy h1 {
    font-size: clamp(56px, 8.2vw, 85px);
  }

  .hero-stage {
    min-height: 560px;
  }

  .id-preview {
    width: 89%;
    right: 2px;
  }

  .mascot-stage {
    width: 47%;
    left: -20px;
  }

  .speech-note {
    right: -3px;
  }

  .question-layout {
    gap: 33px;
  }

  .result-layout {
    gap: 25px;
  }

  .id-card__main {
    grid-template-columns: 143px minmax(0, 1fr);
    gap: 15px;
  }

  .result-mascot {
    width: 134px;
    height: 172px;
  }

  .age-stat strong {
    font-size: 32px;
  }
}

@media (max-width: 840px) {
  .landing-view {
    display: block;
    padding-top: 20px;
  }

  .landing-copy {
    padding-left: 0;
    text-align: center;
  }

  .landing-copy .eyebrow {
    justify-content: center;
  }

  .landing-copy h1 {
    max-width: 660px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(54px, 10.2vw, 77px);
  }

  .title-line--shift {
    margin-left: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .resume-card {
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .hero-stage {
    width: min(100%, 520px);
    min-height: 560px;
    margin: 25px auto 0;
  }

  .landing-bottom {
    margin-top: 34px;
  }

  .how-card,
  .how-card:first-child {
    padding-right: 15px;
    padding-left: 15px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    row-gap: 14px;
  }

  .site-footer p {
    grid-column: 1 / -1;
    text-align: left;
  }

  .age-layout {
    gap: 45px;
  }

  .age-copy h2 {
    font-size: 55px;
  }

  .result-layout {
    grid-template-columns: 1fr;
    max-width: 660px;
  }

  .result-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .result-side > .eyebrow,
  .result-side > h2,
  .result-side > p {
    grid-column: 1;
  }

  .result-side > h2 {
    margin-bottom: 0;
  }

  .age-contrast {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }

  .result-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }

  .share-note {
    grid-column: 1 / -1;
  }

  .emotion-section,
  .translation-section,
  .result-advice,
  .advanced-teaser,
  .result-disclaimer {
    max-width: 660px;
  }

  .translation-section {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .teaser-modules {
    grid-template-columns: repeat(2, 1fr);
  }

  .advanced-head {
    align-items: flex-start;
  }

  .advanced-head__aside {
    display: none;
  }

  .stage-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .share-modal {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 19px;
    padding: 20px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .app-shell,
  .site-footer {
    width: calc(100% - 34px);
  }

  .site-header {
    padding-top: 18px;
    padding-bottom: 11px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 18px;
  }

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

  .header-note {
    font-size: 9px;
  }

  .header-note span:last-child {
    max-width: 98px;
    line-height: 1.4;
    text-align: right;
  }

  .landing-view {
    padding-top: 25px;
    padding-bottom: 43px;
  }

  .landing-copy h1 {
    margin-top: 17px;
    font-size: clamp(48px, 14.2vw, 70px);
    line-height: 1.04;
  }

  .hero-deck {
    font-size: 22px;
  }

  .desktop-break {
    display: none;
  }

  .hero-sub {
    font-size: 12px;
    line-height: 1.8;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
    margin-top: 25px;
  }

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

  .free-note {
    order: -1;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 23px;
    font-size: 9px;
  }

  .hero-meta i {
    display: none;
  }

  .hero-meta span {
    padding: 4px 8px;
    background: rgba(255, 250, 240, 0.58);
    border-radius: 999px;
  }

  .resume-card {
    max-width: none;
    margin-top: 19px;
  }

  .hero-stage {
    min-height: 385px;
    margin-top: 18px;
  }

  .stage-sun {
    top: 27px;
    right: 6px;
    width: 255px;
    height: 255px;
  }

  .id-preview {
    top: 47px;
    right: 1%;
    width: 93%;
    min-height: 246px;
    padding: 16px 17px 16px;
  }

  .id-preview__head {
    gap: 7px;
    padding-bottom: 8px;
  }

  .mini-seal {
    width: 24px;
    height: 24px;
  }

  .mini-seal i {
    width: 11px;
    height: 11px;
  }

  .id-preview__head div strong {
    font-size: 16px;
  }

  .id-preview__no {
    font-size: 6px;
  }

  .id-preview__rule {
    padding: 5px 0;
  }

  .id-preview__body {
    grid-template-columns: 82px 1fr;
    gap: 11px;
    padding: 10px 0 8px;
  }

  .id-preview__portrait {
    min-height: 112px;
  }

  .mini-peach {
    transform: scale(0.69);
  }

  .portrait-caption {
    bottom: 3px;
    font-size: 6px;
  }

  .preview-age {
    min-height: 51px;
    padding: 3px 0 3px 8px;
  }

  .preview-age:nth-child(n+3) {
    padding-top: 5px;
  }

  .preview-age span {
    font-size: 7px;
  }

  .preview-age strong {
    font-size: 21px;
  }

  .preview-age small {
    font-size: 7px;
  }

  .id-preview__foot {
    padding-top: 8px;
  }

  .id-preview__foot div strong {
    font-size: 16px;
  }

  .preview-sign {
    font-size: 10px;
  }

  .preview-stamp {
    right: 13px;
    bottom: 48px;
    width: 49px;
    height: 49px;
    font-size: 13px;
  }

  .mascot-stage {
    bottom: -6px;
    left: -8px;
    width: 39%;
  }

  .speech-note {
    right: -1px;
    bottom: 24px;
    width: 97px;
    padding: 8px 10px;
  }

  .speech-note span {
    font-size: 14px;
  }

  .speech-note small {
    font-size: 6px;
  }

  .sticker--round {
    top: 260px;
    left: 1px;
    width: 57px;
    height: 57px;
    font-size: 7px;
  }

  .sticker--flower {
    top: 7px;
    left: 15px;
    transform: scale(0.65) rotate(8deg);
  }

  .landing-bottom {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .how-card,
  .how-card:first-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px dashed var(--line);
  }

  .how-card:last-child {
    border-bottom: 0;
  }

  .site-footer {
    margin-top: 28px;
    padding-bottom: 19px;
  }

  .site-footer > div:first-child {
    flex-direction: column;
    gap: 2px;
  }

  .site-footer strong {
    font-size: 14px;
  }

  .footer-links {
    align-items: flex-end;
    flex-direction: column;
    gap: 7px;
  }

  .age-view {
    min-height: 0;
    padding: 16px 0 60px;
  }

  .step-topline,
  .quiz-topbar {
    margin-bottom: 31px;
  }

  .age-layout {
    display: block;
    margin-top: 21px;
  }

  .age-copy {
    text-align: center;
  }

  .age-copy .eyebrow {
    justify-content: center;
  }

  .age-copy h2 {
    margin: 14px 0 17px;
    font-size: 48px;
  }

  .age-copy > p:not(.eyebrow) {
    margin: 0 auto;
    font-size: 12px;
  }

  .age-copy blockquote {
    max-width: 280px;
    margin: 25px auto 28px;
    padding-top: 11px;
    text-align: left;
    font-size: 14px;
  }

  .age-form {
    padding: 31px 22px 22px;
    transform: rotate(0.5deg);
  }

  .form-stamp {
    top: 13px;
    right: 14px;
    font-size: 9px;
  }

  .age-form label {
    font-size: 22px;
  }

  .age-input-wrap input {
    font-size: 42px;
  }

  .age-doodle {
    display: none;
  }

  .quiz-view {
    min-height: 0;
    padding: 16px 0 44px;
  }

  .quiz-topbar {
    margin-bottom: 13px;
  }

  .progress-track {
    margin-bottom: 28px;
  }

  .question-layout {
    display: block;
  }

  .question-meta {
    flex-direction: row;
    align-items: baseline;
    gap: 9px;
    padding: 0 0 13px;
  }

  .question-number {
    margin: 0;
    font-size: 31px;
  }

  .question-state {
    margin: 0;
    font-size: 14px;
  }

  .question-scene {
    margin-left: auto;
    font-size: 9px;
  }

  .question-meta::after {
    display: none;
  }

  .question-card {
    padding: 29px 18px 19px;
  }

  .question-card::before {
    top: -8px;
    width: 65px;
    height: 15px;
  }

  .question-doodle {
    top: 18px;
    right: 20px;
    width: 27px;
  }

  .question-eyebrow {
    margin-bottom: 9px;
    font-size: 7px;
  }

  .question-card h2 {
    margin-bottom: 21px;
    font-size: clamp(25px, 7.1vw, 31px);
    line-height: 1.48;
  }

  .answer-list {
    gap: 8px;
  }

  .answer-option {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 9px;
    min-height: 58px;
    padding: 10px 12px 10px 9px;
  }

  .answer-key {
    width: 24px;
    height: 24px;
    font-size: 9px;
  }

  .answer-text {
    font-size: 12px;
  }

  .quiz-hint {
    margin-top: 16px;
  }

  .keyboard-hint {
    display: none;
  }

  .reveal-view {
    min-height: 570px;
    padding: 45px 0;
  }

  .reveal-paper {
    padding: 53px 25px 34px;
  }

  .reveal-paper h2 {
    font-size: 27px;
  }

  .reveal-status {
    font-size: 11px;
  }

  .reveal-checklist {
    font-size: 7px;
  }

  .reveal-mascot {
    right: -14px;
    bottom: -28px;
    transform: scale(0.78) rotate(8deg);
  }

  .result-view {
    padding-top: 14px;
  }

  .result-head {
    margin-bottom: 24px;
  }

  .result-head h1 {
    margin-top: 11px;
    font-size: clamp(39px, 12vw, 56px);
  }

  .result-head p {
    font-size: 10px;
    line-height: 1.7;
  }

  .result-layout {
    gap: 25px;
  }

  .id-card {
    padding: 20px 17px 18px;
    box-shadow: 5px 6px 0 rgba(62, 52, 46, 0.09), var(--shadow-md);
    transform: rotate(-0.4deg);
  }

  .id-card__head {
    gap: 8px;
    padding-bottom: 11px;
  }

  .id-card__seal {
    width: 29px;
    height: 29px;
  }

  .id-card__seal span {
    width: 14px;
    height: 14px;
  }

  .id-card__title strong {
    font-size: 18px;
  }

  .id-card__title small {
    font-size: 6px;
  }

  .id-card__meta {
    font-size: 6px;
  }

  .id-card__meta b {
    font-size: 7px;
  }

  .id-card__main {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 11px;
    padding: 14px 0 13px;
  }

  .id-card__portrait {
    min-height: 160px;
  }

  .result-mascot {
    width: 102px;
    height: 146px;
  }

  .id-card__portrait-name {
    bottom: 4px;
    font-size: 6px;
  }

  .age-stat {
    padding: 3px 0 5px 8px;
  }

  .age-stat label {
    gap: 3px;
    font-size: 7px;
  }

  .age-stat label i {
    width: 4px;
    height: 4px;
  }

  .age-stat strong {
    font-size: 28px;
  }

  .age-stat small,
  .age-stat em {
    font-size: 7px;
  }

  .id-card__type {
    align-items: center;
    gap: 8px;
    padding-top: 11px;
  }

  .id-card__type strong {
    font-size: 23px;
  }

  .id-card__tagline {
    font-size: 9px;
  }

  .card-stamp {
    width: 53px;
    height: 53px;
    font-size: 12px;
  }

  .card-stamp::before {
    width: 44px;
    height: 44px;
  }

  .id-card__bottom {
    margin-top: 12px;
    padding-top: 9px;
  }

  .barcode {
    height: 16px;
  }

  .id-card__bottom small {
    font-size: 6px;
  }

  .result-side {
    display: block;
  }

  .result-side h2 {
    font-size: 27px;
  }

  .age-contrast {
    margin-top: 20px;
  }

  .result-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .share-note {
    text-align: left;
  }

  .emotion-section {
    margin-top: 40px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .section-heading p {
    margin-top: 7px;
    text-align: left;
  }

  .emotion-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .emotion-card {
    min-height: 0;
    padding: 17px 16px 14px;
  }

  .emotion-card:nth-child(2) {
    transform: none;
  }

  .translation-section {
    margin-top: 41px;
    padding: 22px 17px;
    border-radius: 12px;
  }

  .translation-copy h2 {
    font-size: 27px;
  }

  .translation-item {
    grid-template-columns: 72px 22px minmax(0, 1fr);
    gap: 6px;
    padding: 8px 9px;
  }

  .translation-item span {
    width: 21px;
    height: 21px;
    font-size: 9px;
  }

  .translation-item q {
    font-size: 12px;
  }

  .translation-item p {
    font-size: 9px;
  }

  .result-advice {
    display: block;
    margin-top: 18px;
    padding: 19px 17px;
  }

  .advice-icon {
    float: left;
    width: 42px;
    height: 42px;
    margin-right: 12px;
    font-size: 24px;
  }

  .result-advice h3 {
    font-size: 18px;
  }

  .advice-tag {
    display: inline-block;
    margin-top: 12px;
    clear: both;
  }

  .advanced-teaser {
    margin-top: 39px;
    padding: 25px 18px 22px;
  }

  .advanced-teaser .demo-label {
    top: 11px;
    right: 11px;
  }

  .advanced-teaser h2 {
    padding-right: 33px;
    font-size: 27px;
  }

  .advanced-teaser > p {
    font-size: 10px;
  }

  .teaser-modules {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 17px;
  }

  .teaser-module {
    min-height: 0;
    padding: 10px 11px;
  }

  .teaser-module strong {
    display: inline;
    margin-left: 4px;
    font-size: 15px;
  }

  .teaser-module p {
    display: inline;
    margin-left: 4px;
  }

  .teaser-purchase {
    display: block;
    margin-top: 18px;
  }

  .teaser-purchase .button {
    width: 100%;
    margin-top: 13px;
  }

  .result-disclaimer {
    margin-top: 28px;
    font-size: 8px;
  }

  .advanced-view {
    padding-top: 14px;
  }

  .advanced-topbar {
    margin-bottom: 21px;
  }

  .unlocked-badge {
    font-size: 7px;
  }

  .advanced-head {
    display: block;
    margin-bottom: 29px;
    padding: 26px 20px 22px;
  }

  .advanced-head::after {
    top: 18px;
    right: 16px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .advanced-head h1 {
    padding-right: 20px;
    font-size: 43px;
  }

  .advanced-head p {
    font-size: 10px;
  }

  .advanced-toc {
    margin-top: -17px;
    margin-bottom: 22px;
  }

  .report-section {
    margin-bottom: 18px;
    padding: 23px 17px;
  }

  .report-section-head {
    margin-bottom: 18px;
    padding-bottom: 12px;
  }

  .report-section h2 {
    font-size: 26px;
  }

  .report-section-head > span {
    max-width: 90px;
    text-align: right;
  }

  .dimension-layout {
    display: block;
  }

  .radar-wrap {
    margin: 2px 0 14px;
  }

  .radar-chart {
    width: 260px;
  }

  .dimension-list {
    gap: 11px;
  }

  .dimension-row {
    gap: 6px;
  }

  .dimension-row__head label {
    font-size: 11px;
  }

  .weather-grid,
  .contrast-map,
  .script-layout {
    grid-template-columns: 1fr;
  }

  .weather-card {
    min-height: 0;
    padding: 14px;
  }

  .contrast-panel {
    padding: 16px;
  }

  .stage-list {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .stage-card {
    padding: 12px;
  }

  .stage-card h3 {
    font-size: 16px;
  }

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

  .dictionary-item {
    grid-template-columns: 64px 14px minmax(0, 1fr);
    gap: 6px;
    padding: 9px 10px;
  }

  .dictionary-item q {
    font-size: 13px;
  }

  .action-item {
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .action-item > span {
    width: 26px;
    height: 26px;
  }

  .action-item em {
    display: none;
  }

  .letter-paper {
    padding: 20px 17px;
  }

  .letter-paper p {
    font-size: 14px;
  }

  .report-end p {
    font-size: 15px;
  }

  .modal {
    width: calc(100% - 22px);
    max-height: calc(100vh - 22px);
    max-height: calc(100dvh - 22px);
  }

  .paywall-modal {
    padding: 30px 20px 24px;
  }

  .paywall-kicker {
    margin-top: 18px;
  }

  .paywall-modal h2 {
    font-size: 32px;
  }

  .paywall-list {
    gap: 5px;
    margin: 18px 0;
  }

  .paywall-list span {
    padding: 8px;
    font-size: 9px;
  }

  .paywall-price {
    align-items: flex-start;
  }

  .paywall-price strong {
    font-size: 29px;
  }

  .paywall-price > div {
    display: block;
  }

  .paywall-price > div * {
    display: block;
    margin-right: 0;
  }

  .paywall-price em {
    margin-top: 4px !important;
  }

  .share-modal {
    display: none;
    grid-template-columns: 1fr;
    gap: 19px;
    padding: 17px;
  }

  .share-modal[open] {
    display: block;
  }

  .share-preview {
    min-height: 320px;
  }

  .share-mini-card {
    transform: scale(0.88) rotate(-3deg);
  }

  .share-actions {
    padding: 0 2px 1px;
  }

  .share-actions h2 {
    font-size: 28px;
  }

  .privacy-modal {
    padding: 31px 21px 23px;
  }

  .privacy-modal h2 {
    font-size: 31px;
  }
}

@media (max-width: 375px) {
  .site-header,
  .app-shell,
  .site-footer {
    width: calc(100% - 26px);
  }

  .header-note span:last-child {
    display: none;
  }

  .landing-copy h1 {
    font-size: 46px;
  }

  .hero-stage {
    transform: scale(0.94);
    transform-origin: top center;
    margin-bottom: -22px;
  }

  .id-card__main {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .id-card__portrait {
    min-height: 150px;
  }

  .age-stat strong {
    font-size: 25px;
  }

  .id-card__type strong {
    font-size: 21px;
  }

  .card-stamp {
    width: 48px;
    height: 48px;
    font-size: 11px;
  }

  .card-stamp::before {
    width: 39px;
    height: 39px;
  }

  .stage-list {
    grid-template-columns: 1fr;
  }
}

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