:root {
  --paper: #f5ead8;
  --paper-light: #fff9ed;
  --paper-deep: #ead9be;
  --ink: #1e1a17;
  --ink-soft: #6f6253;
  --paper-gray: #cfc2ae;
  --cinnabar: #b84232;
  --cinnabar-dark: #8f2f25;
  --gold: #b3883c;
  --gold-light: #d5b474;
  --green: #61745a;
  --shadow: rgba(73, 48, 26, 0.14);
  --font-display: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --font-body: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { background: #e9dcc7; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: #eadfce;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }

button, summary { font: inherit; touch-action: manipulation; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, summary:focus-visible { outline: 2px solid var(--cinnabar); outline-offset: 4px; }
[hidden] { display: none !important; }

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

.app-shell {
  width: min(100%, 520px);
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 36px rgba(75, 51, 28, 0.16);
}
.app-shell.is-locked .screen-home { filter: blur(7px); pointer-events: none; user-select: none; }

.screen {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 14% 11%, rgba(255, 255, 255, 0.46), transparent 24%), radial-gradient(circle at 84% 72%, rgba(193, 151, 96, 0.08), transparent 30%);
}
.screen.is-active { animation: screen-in 240ms ease-out both; }

@keyframes screen-in {
  from { opacity: 0.76; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.topbar {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: max(18px, env(safe-area-inset-top)) 24px 11px;
  font-family: var(--font-body);
}

.home-topbar { gap: 12px; }
.topbar-motto { margin: 0; color: #493f34; font-size: 14px; letter-spacing: 0.04em; }
.icon-button, .back-button, .modal-close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  border: 0;
}
.icon-button svg, .back-button svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-button:active, .back-button:active { transform: scale(0.96); }

.seal, .seal-mini {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--paper-light);
  background: var(--cinnabar);
  font-weight: 700;
  line-height: 1;
}
.seal-small { width: 25px; height: 25px; border: 2px double var(--paper-light); font-size: 12px; }
.seal-mini { width: 17px; height: 17px; margin-left: 5px; font-size: 9px; }
.home-rule, .question-rule, .result-rule { height: 1px; margin: 0 28px; background: var(--paper-gray); }

.home-hero { position: relative; min-height: 488px; padding: 67px 40px 0; }
.home-hero h1 { position: relative; z-index: 2; margin: 0; color: #191512; font-size: clamp(62px, 17vw, 90px); font-weight: 600; line-height: 1.04; letter-spacing: -0.12em; }
.vertical-seal {
  position: absolute;
  z-index: 4;
  top: 54px;
  right: 28px;
  width: 50px;
  height: 274px;
}
.vertical-seal img {
  display: block;
  width: 100%;
  height: 100%;
}
.faded-architecture { position: absolute; z-index: 1; top: 28px; right: 0; width: 47%; opacity: 0.95; }
.faded-architecture img { display: block; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 100%); mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 100%); }
.red-slash { position: relative; z-index: 3; width: 112px; height: 1px; margin: 28px 0 18px 23px; background: transparent; transform: rotate(-24deg); transform-origin: left center; }
.home-subtitle { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 21px; letter-spacing: 0.03em; }
.home-note { position: relative; z-index: 3; margin: 8px 0 0 39px; color: var(--ink-soft); font-size: 14px; letter-spacing: 0.04em; }
.bronze-icon { display: inline-grid; flex: 0 0 auto; place-items: center; width: 43px; height: 50px; }
.bronze-icon img { display: block; width: 43px; height: 50px; object-fit: contain; }

.timeline { position: relative; z-index: 3; margin: 12px 38px 0; }
.timeline-line { display: flex; align-items: center; justify-content: space-between; height: 24px; }
.timeline-line::before { position: absolute; right: 4px; left: 4px; height: 1px; content: ""; background: var(--cinnabar); }
.timeline-line span { position: relative; z-index: 1; width: 11px; height: 11px; background: var(--paper-light); border: 1px solid var(--cinnabar); border-radius: 50%; }
.timeline-line span:first-child, .timeline-line span:nth-child(3), .timeline-line span:last-child { background: var(--cinnabar); }
.timeline-labels { display: flex; justify-content: space-between; text-align: center; font-size: 12px; line-height: 1.65; }
.timeline-labels span { min-width: 42px; }
.timeline-labels small { color: #5f5145; font-size: 11px; white-space: nowrap; }

.primary-button, .secondary-button {
  min-height: 52px;
  padding: 12px 22px;
  cursor: pointer;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 20px;
  letter-spacing: 0.14em;
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}
.primary-button { color: var(--paper-light); background: var(--cinnabar); border: 2px solid var(--paper-light); box-shadow: 0 0 0 1px var(--cinnabar-dark), inset 0 0 0 1px rgba(255,255,255,0.22); }
.primary-button:hover { background: var(--cinnabar-dark); }
.primary-button:active, .secondary-button:active { transform: scale(0.985); }
.primary-button:disabled { cursor: not-allowed; opacity: 0.38; }
.home-cta { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; width: calc(100% - 72px); margin: 39px 36px 0; padding-inline: 26px; font-size: 27px; }
.home-cta span, .next-button span { font-family: var(--font-ui); font-size: 30px; font-weight: 300; letter-spacing: 0; }
.duration-note { position: relative; z-index: 3; margin: 10px 0 0; color: var(--ink-soft); text-align: center; font-size: 12px; }
.ink-landscape { position: absolute; right: 0; bottom: 0; left: 0; aspect-ratio: 816 / 217; opacity: 0.95; }
.ink-landscape img { display: block; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 100%); }

.question-topbar { gap: 15px; padding-inline: 20px 26px; }
.question-topbar p { margin: 0 0 0 auto; color: var(--ink-soft); font-size: 11px; white-space: nowrap; }
.back-button { margin: 0; }
.question-brand { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; }
.building-icon { color: var(--ink); font-family: var(--font-ui); font-size: 23px; }
.question-layout { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 16px; min-height: calc(100svh - 74px); padding: 35px 28px 28px 20px; }
.progress-rail { position: relative; min-height: 710px; }
.progress-rail-line { position: absolute; top: 10px; bottom: 35px; left: 12px; width: 1px; background: var(--paper-gray); }
.progress-rail-line::before { position: absolute; top: 0; left: -5px; width: 11px; height: 11px; content: ""; background: var(--cinnabar); border-radius: 50%; }
#progress-rail-fill { position: absolute; top: 0; left: 0; width: 1px; height: 0; background: var(--cinnabar); transition: height 240ms ease; }
#progress-rail-fill::after { position: absolute; right: -5px; bottom: -5px; width: 9px; height: 9px; content: ""; background: var(--cinnabar); border: 1px solid var(--paper-light); border-radius: 50%; box-shadow: 0 0 0 1px var(--cinnabar); }
.progress-rail-line::after { position: absolute; bottom: 0; left: -5px; width: 11px; height: 11px; content: ""; background: var(--paper-light); border: 1px solid var(--cinnabar); border-radius: 50%; }
.rail-label { position: absolute; left: -4px; color: var(--ink-soft); font-size: 11px; line-height: 1.3; writing-mode: vertical-rl; }
.rail-start { top: 48px; }.rail-mid { top: 45%; }.rail-end { bottom: 66px; }
.question-main { min-width: 0; }
.question-number { display: flex; align-items: baseline; gap: 5px; color: #766958; font-family: var(--font-display); }
.question-number strong { color: var(--ink); font-size: 86px; font-weight: 500; line-height: 0.98; letter-spacing: -0.08em; }
.question-number span { font-size: 30px; }
#question-title { margin: 12px 0 25px; padding-bottom: 15px; border-bottom: 1px solid var(--gold); font-size: 23px; font-weight: 500; }
#question-title:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.question-prompt { min-height: 88px; margin: 0 0 23px; font-size: 22px; line-height: 1.75; }
.option-list { display: grid; gap: 12px; }
.option-card { display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; align-items: center; gap: 10px; width: 100%; min-height: 64px; padding: 10px 12px; color: var(--ink); text-align: left; cursor: pointer; background: rgba(255, 250, 239, 0.48); border: 1px solid #cdaa79; border-radius: 2px; transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.option-card:hover { background: var(--paper-light); }
.option-card:active { transform: scale(0.99); }
.option-card.is-selected { background: #f3dfbb; border-color: var(--cinnabar); box-shadow: inset 0 0 0 1px rgba(184,66,50,0.18); }
.option-card.is-selected .option-arrow { color: var(--cinnabar); font-size: 0; }
.option-card.is-selected .option-arrow::before { content: "✓"; font-size: 20px; }
.option-letter { display: grid; place-items: center; width: 29px; height: 29px; color: var(--paper-light); background: var(--cinnabar); font-family: var(--font-ui); font-size: 16px; }
.option-text { font-size: 16px; line-height: 1.4; }
.option-arrow { color: var(--ink-soft); font-family: var(--font-ui); font-size: 24px; font-weight: 300; }
.next-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 26px; }
.question-footnote { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 27px 0 0; font-size: 16px; }
.question-footnote em { color: var(--cinnabar); font-size: 20px; font-style: normal; }
.compass-icon { color: var(--gold); font-family: var(--font-ui); font-size: 30px; }

.screen-result { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
.result-header { display: flex; align-items: flex-start; justify-content: space-between; padding: max(25px, env(safe-area-inset-top)) 28px 14px; }
.result-header h2 { margin: 0; font-size: 35px; font-weight: 600; letter-spacing: -0.08em; }
.result-mark { display: flex; align-items: flex-end; gap: 3px; color: var(--cinnabar); font-size: 11px; line-height: 1.1; writing-mode: vertical-rl; }
.result-mark b { display: grid; place-items: center; width: 19px; height: 19px; margin-left: 4px; color: var(--paper-light); background: var(--cinnabar); font-size: 10px; font-weight: 500; writing-mode: horizontal-tb; }
.result-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 18px; align-items: center; padding: 25px 28px 18px; }
.portrait-art { aspect-ratio: 478 / 592; min-height: 0; overflow: hidden; background: #e6d3b5; border: 1px solid #cbb18b; box-shadow: inset 0 0 0 5px rgba(255, 250, 239, 0.48); }
.portrait-art img, .portrait-art svg { display: block; width: 100%; height: 100%; }
.portrait-art img { object-fit: cover; }
.result-identity { min-width: 0; }
.similarity-label { font-size: 17px; }
.similarity-score { margin: 3px 0 9px; color: var(--gold); font-family: var(--font-ui); font-size: clamp(53px, 14vw, 76px); font-weight: 300; line-height: 1; letter-spacing: -0.08em; }
.similarity-score span { margin-left: 2px; font-size: 29px; letter-spacing: 0; }
.person-era { margin: 0 0 4px; font-size: 16px; }
.result-identity h3 { margin: 0 0 9px; font-size: 32px; font-weight: 600; line-height: 1.05; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-row span { padding: 5px 9px; color: #7c5424; border: 1px solid var(--gold-light); border-radius: 15px; font-size: 12px; white-space: nowrap; }
.person-profile { margin: 10px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.person-quote { margin: 0 28px 18px; padding: 12px 17px 12px 22px; color: #6a5847; background: rgba(255, 250, 239, 0.32); border-left: 3px solid var(--gold); font-size: 14px; line-height: 1.65; }
.person-quote::before { content: "“"; color: var(--cinnabar); font-size: 24px; line-height: 0; vertical-align: -4px; }
.person-quote cite { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 11px; font-style: normal; }
.person-quote cite a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.radar-section { margin: 0 20px; border: 1px solid #cdaa79; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; padding: 11px 12px 0; font-size: 16px; }
.section-note { color: var(--ink-soft); font-size: 10px; }
.radar-wrap { display: grid; place-items: center; min-height: 320px; padding: 8px 6px 10px; }
.radar-chart { width: 100%; height: auto; max-height: 320px; overflow: visible; }
#radar-grid polygon { fill: none; stroke: #c8aa7b; stroke-width: 1.3; opacity: 0.78; }
#radar-grid line { stroke: #d4bd9a; stroke-width: 0.9; }
#radar-polygon { fill: rgba(184, 136, 60, 0.3); stroke: var(--gold); stroke-width: 2.5; }
#radar-points circle { fill: var(--gold); stroke: var(--paper-light); stroke-width: 1.5; }
#radar-labels text { fill: #44382c; font-family: var(--font-body); font-size: 12px; text-anchor: middle; }
#radar-labels text tspan:last-child { fill: var(--gold); font-family: var(--font-ui); font-size: 11px; }

.result-sections { display: grid; gap: 7px; margin: 8px 20px 0; }
.report-details, .insight-panel { background: rgba(255, 250, 239, 0.32); border: 1px solid #cdaa79; }
.report-details summary { display: grid; grid-template-columns: 28px minmax(0, 1fr) 22px; align-items: center; gap: 8px; min-height: 45px; padding: 0 10px; cursor: pointer; list-style: none; font-size: 17px; }
.report-details summary::-webkit-details-marker { display: none; }
.report-details summary > svg { width: 18px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform 180ms ease; }
.report-details[open] summary > svg { transform: rotate(180deg); }
.detail-icon { display: grid; place-items: center; width: 25px; height: 25px; color: var(--paper-light); border-radius: 50%; font-family: var(--font-body); font-size: 12px; }
.red-icon { background: var(--cinnabar); }.gold-icon { background: var(--gold); }.green-icon { background: var(--green); }
.details-content { padding: 2px 16px 14px 46px; color: #5e5042; font-size: 13px; line-height: 1.7; }
.report-details[open] .details-content { animation: detail-reveal 220ms ease-out both; }

@keyframes detail-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.insight-panel { display: grid; grid-template-columns: 32px 74px minmax(0, 1fr); gap: 8px; align-items: start; padding: 12px 10px; }
.insight-symbol { display: grid; place-items: center; width: 27px; height: 27px; color: var(--gold); }
.insight-symbol svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.insight-panel strong { padding-top: 3px; font-size: 16px; font-weight: 500; }
.insight-panel p { margin: 2px 0 0; color: #5e5042; font-size: 12px; line-height: 1.55; }
.plan-panel { grid-template-columns: 32px 84px minmax(0, 1fr); }
.plan-panel ol { margin: 2px 0 0; padding-left: 16px; color: #5e5042; font-size: 12px; line-height: 1.6; }
.related-section { background: rgba(255, 250, 239, 0.32); border: 1px solid #cdaa79; }
.related-heading { padding-bottom: 9px; }
.related-people-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 0 9px 10px; }
.related-person-card { display: flex; min-width: 0; gap: 7px; padding: 9px 7px; background: rgba(245, 234, 216, 0.7); border: 1px solid rgba(205, 170, 121, 0.72); }
.related-person-seal { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; color: var(--paper-light); background: var(--cinnabar); font-size: 12px; }
.related-person-copy { display: grid; min-width: 0; gap: 1px; }
.related-person-copy strong, .related-person-copy span, .related-person-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-person-copy strong { font-size: 13px; font-weight: 600; }
.related-person-copy span, .related-person-copy small { color: var(--ink-soft); font-size: 10px; line-height: 1.35; }
.related-person-copy small { color: var(--gold); font-family: var(--font-ui); }

.result-footer { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 17px 28px 0; padding-top: 14px; border-top: 1px solid var(--gold-light); color: #6c5946; font-size: 12px; letter-spacing: 0.1em; }
.result-footer i { color: var(--gold); font-style: normal; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 20px 0; }
.secondary-button { color: var(--cinnabar); background: transparent; border: 1px solid var(--cinnabar); font-size: 16px; letter-spacing: 0.08em; }
.result-actions .primary-button { min-height: 48px; font-size: 16px; letter-spacing: 0.08em; }
.result-actions .primary-button[aria-busy="true"] { cursor: wait; opacity: 0.58; }

.modal { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(47, 32, 20, 0.48); animation: modal-fade-in 180ms ease-out both; }
.modal-card { position: relative; width: min(100%, 380px); padding: 30px 24px 22px; background: var(--paper-light); border: 1px solid var(--gold); box-shadow: 0 20px 70px rgba(32, 23, 15, 0.25); animation: modal-card-in 220ms ease-out both; }
.modal-card h2 { margin: 0 0 16px; font-size: 26px; }.modal-card p { color: #5e5042; font-size: 15px; line-height: 1.75; }.modal-card .primary-button { width: 100%; margin-top: 10px; font-size: 16px; }
.modal-close { position: absolute; top: 5px; right: 5px; margin: 0; color: var(--ink-soft); font-family: var(--font-ui); font-size: 27px; }
.password-gate { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(47, 32, 20, 0.28); animation: modal-fade-in 180ms ease-out both; }
.password-gate-card { width: min(100%, 390px); padding: 32px 25px 23px; color: var(--ink); text-align: center; background: var(--paper-light); border: 1px solid var(--gold); box-shadow: 0 20px 70px rgba(32, 23, 15, 0.27); animation: modal-card-in 220ms ease-out both; }
.password-gate-seal { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 12px; color: var(--paper-light); background: var(--cinnabar); border: 2px double var(--paper-light); outline: 1px solid var(--cinnabar); font-size: 15px; font-weight: 700; }
.password-gate-kicker { margin: 0 0 9px; color: var(--cinnabar); font-size: 12px; letter-spacing: 0.14em; }
.password-gate-card h2 { margin: 0; font-size: 26px; font-weight: 600; }
.password-gate-description { margin: 12px auto 20px; max-width: 290px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.password-form { display: grid; gap: 9px; text-align: left; }
.password-form label { color: var(--ink-soft); font-size: 13px; }
.password-form input { width: 100%; min-height: 50px; padding: 10px 13px; color: var(--ink); text-align: center; letter-spacing: 0.32em; background: #fffaf0; border: 1px solid var(--gold-light); border-radius: 2px; font-family: var(--font-ui); font-size: 20px; outline: 0; }
.password-form input { width: 100%; min-height: 50px; padding: 10px 13px; color: var(--ink); text-align: center; letter-spacing: 0.32em; background: #fffaf0; border: 1px solid var(--gold-light); border-radius: 2px; font-family: var(--font-ui); font-size: 20px; outline: 0; }
.password-form input:focus { border-color: var(--cinnabar); box-shadow: 0 0 0 3px rgba(184, 66, 50, 0.12); }
.password-form input[aria-invalid="true"] { border-color: var(--cinnabar); }
.password-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 7px; font-size: 18px; }
.password-submit span { font-family: var(--font-ui); font-size: 28px; font-weight: 300; letter-spacing: 0; }
.password-feedback { min-height: 20px; margin: 10px 0 0; color: var(--cinnabar); font-family: var(--font-ui); font-size: 12px; }
.password-notice { margin: 10px 0 0; color: var(--ink-soft); font-size: 11px; }
.toast { position: fixed; z-index: 30; right: 18px; bottom: max(20px, env(safe-area-inset-bottom)); left: 18px; padding: 13px 18px; color: var(--paper-light); text-align: center; background: rgba(30, 26, 23, 0.88); border-radius: 2px; font-family: var(--font-ui); font-size: 13px; }
.noscript { padding: 24px; color: var(--cinnabar); text-align: center; }

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-card-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 600px) {
  body { padding: 24px 0; }
  .app-shell { border: 1px solid rgba(145, 114, 76, 0.32); }
  .screen { min-height: 900px; }
}

@media (max-width: 370px) {
  .home-hero { padding-inline: 28px; }
  .home-hero h1 { font-size: 58px; }
  .vertical-seal { right: 22px; width: 42px; height: 230px; }
  .home-subtitle { font-size: 17px; }
  .question-layout { padding-inline-right: 18px; }
  .question-number strong { font-size: 72px; }
  .question-prompt { font-size: 19px; }
  .option-text { font-size: 14px; }
  .result-hero { gap: 10px; padding-inline: 20px; }
  .result-header { padding-inline: 20px; }
  .result-header h2 { font-size: 30px; }
}

@media (min-width: 371px) and (max-width: 599px) {
  .vertical-seal { width: 42px; height: 230px; right: 26px; }
}

@media (orientation: landscape) and (max-height: 650px) {
  .question-layout { min-height: auto; padding-top: 18px; }
  .progress-rail { min-height: 560px; }
  .progress-rail-line { bottom: 24px; }
  .question-prompt { min-height: auto; }
}

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