:root {
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #263442;
  background: #f3f5f7;
  font-synthesis: none;
  --navy: #173e68;
  --blue: #25639a;
  --red: #b3262e;
  --line: #d7dde3;
  --muted: #657483;
  --paper: #fff;
  --focus: #f0a100;
}
* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body { background: #f3f5f7; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.site-bar { background: var(--navy); color: #fff; border-bottom: 4px solid #d59a29; }
.bar-inner, .page { width: min(900px, calc(100% - 32px)); margin: 0 auto; }
.bar-inner { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.service { opacity: .82; font-size: 12px; }
.page { padding: 42px 0 64px; }
.notice { max-width: 700px; margin: 0 auto 26px; color: #40515e; font-size: 13px; line-height: 1.8; }
.survey-card { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(24,46,66,.06); }
.survey-head { padding: 30px 34px 25px; border-bottom: 1px solid var(--line); }
.survey-head h1 { margin: 0; color: #1c3e61; font-size: clamp(26px, 4vw, 36px); line-height: 1.3; font-weight: 700; }
.survey-head p { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.form-body { padding: 25px 34px 32px; }
.field-label { display: block; margin: 0 0 8px; color: #253f59; font-size: 15px; font-weight: 700; }
.field-help { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.choice-list { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.choice { position: relative; display: flex; align-items: flex-start; gap: 11px; min-height: 48px; padding: 12px 14px; border: 1px solid #cfd7df; background: #fff; color: #314150; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: #7ea4c5; background: #f7fbff; }
.choice input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--blue); }
.choice span { font-size: 14px; line-height: 1.45; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 28px; padding-top: 21px; border-top: 1px solid var(--line); }
.btn { min-height: 46px; padding: 10px 19px; border: 1px solid transparent; font-size: 14px; font-weight: 700; }
.btn-primary { color: #fff; background: var(--red); border-color: #982129; }
.btn-primary:hover { background: #8f1e26; }
.btn-secondary { color: #39556d; background: #fff; border-color: #b9c6d0; }
.btn-secondary:hover { background: #f0f5f9; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; color: #536575; font-size: 12px; line-height: 1.6; }
.consent input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--red); }
.footer-note { max-width: 700px; margin: 22px auto 0; color: #778693; font-size: 12px; line-height: 1.7; }
.progress-wrap { margin: 0 auto 18px; max-width: 700px; }
.progress-meta { display: flex; justify-content: space-between; color: #627384; font-size: 12px; }
.progress { height: 7px; margin-top: 8px; background: #dfe5ea; }
.progress span { display: block; height: 100%; background: var(--red); transition: width .3s ease; }
.question-card { max-width: 700px; margin: 0 auto; }
.question-number { margin: 0 0 8px; color: var(--red); font-size: 12px; font-weight: 700; }
.question-card h2 { margin: 0; color: #213d59; font-size: 23px; line-height: 1.45; }
.question-card .question-note { margin: 9px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.question-card.drift .question-number { color: #773039; }
.question-card.drift h2 { color: #3f2e31; }
.question-card.drift .question-note { color: #875e4c; }
.question-card.shiver { animation: card-shiver .26s steps(2) 3; }
.answer-error { display: none; margin: 13px 0 0; color: #b3262e; font-size: 13px; }
.answer-error.visible { display: block; }
.answer-actions { justify-content: flex-end; }
.history-link { color: var(--blue); border: 0; background: transparent; font-size: 12px; text-decoration: underline; }
.result h2 { margin: 0; color: #1c3e61; font-size: 26px; }
.result p { color: #536575; font-size: 14px; line-height: 1.8; }
.result-box { margin-top: 20px; padding: 15px 17px; border: 1px solid #e3c98f; background: #fffaf0; color: #66502c; font-size: 13px; line-height: 1.8; }
.jumpscare, .flash { position: fixed; inset: 0; pointer-events: none; }
.jumpscare { z-index: 20; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #050505; opacity: 0; visibility: hidden; }
.jumpscare img { width: min(100vw, 100vh * .82); height: 100%; object-fit: cover; filter: contrast(1.9) saturate(.65) brightness(.73); transform: scale(1.15); }
.jumpscare::after { content: ""; position: absolute; inset: 0; background: rgba(98,0,0,.26); mix-blend-mode: multiply; }
.jumpscare-caption { position: absolute; z-index: 2; bottom: 8%; margin: 0; color: #fff; font-size: clamp(20px, 4vw, 42px); font-weight: 800; text-shadow: 0 2px 12px #000; }
.jumpscare.visible { visibility: visible; animation: scare-in .9s steps(5) both; }
.jumpscare.brief { animation: scare-brief .15s steps(2) both; }
.jumpscare.brief img { width: 100%; transform: scale(1.7); }
.jumpscare.final { animation: scare-final 1.45s steps(4) both; }
.jumpscare.final img { width: 100%; transform: scale(1.95); animation: scare-zoom 1.45s cubic-bezier(.1,.9,.2,1) both; }
.flash { z-index: 19; opacity: 0; background: #fff; }
.flash.active { animation: flash .18s steps(2) both; }
@keyframes scare-in { 0% { opacity: 0; transform: scale(1.5); } 18% { opacity: 1; transform: scale(1.02); } 82% { opacity: 1; } 100% { opacity: 0; } }
@keyframes scare-brief { 0% { opacity: 0; } 10% { opacity: 1; } 100% { opacity: 0; } }
@keyframes scare-final { 0%, 7% { opacity: 0; } 8%, 23% { opacity: 1; } 24%, 29% { opacity: .2; } 30%, 84% { opacity: 1; } 100% { opacity: 0; } }
@keyframes scare-zoom { 0% { transform: scale(2.45); } 22% { transform: scale(1.52) translateX(-1.5%); } 30% { transform: scale(1.8) translateX(1%); } 100% { transform: scale(1.2); } }
@keyframes card-shiver { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes flash { 0% { opacity: 0; } 35% { opacity: .9; } 100% { opacity: 0; } }
@media (max-width: 620px) { .bar-inner, .page { width: min(100% - 22px, 900px); } .service { display: none; } .page { padding-top: 25px; } .survey-head, .form-body { padding: 22px 19px; } .actions { align-items: stretch; flex-direction: column-reverse; } .actions .btn { width: 100%; } .jumpscare img { width: 100vw; height: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
