:root {
  color-scheme: light;
  --paper: #f7f2e8;
  --ink: #493a32;
  --quiet: #78685c;
  --blue: #9bb4c0;
  --apricot: #dda884;
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(#bdab95 0.5px, transparent 0.5px); background-size: 5px 5px; z-index: -1; }
button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 3px solid #587c91; outline-offset: 5px; }
h1:focus { outline: none; }
.page-wrap { width: min(100%, 520px); margin: 0 auto; padding: 30px 26px 20px; }
.brand { text-align: center; font-family: Georgia, 'Batang', serif; font-size: 21px; letter-spacing: .08em; padding: 5px 0 28px; }
.brand span { display: block; width: 55px; height: 3px; background: #a8af87; transform: rotate(-5deg); margin: 8px auto 0; border-radius: 50%; }
.screen { text-align: center; animation: arrive 300ms ease-out; }
h1 { font-size: clamp(29px, 6.9vw, 38px); font-weight: 750; line-height: 1.4; letter-spacing: -.055em; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.cover h1 { font-family: Georgia, 'Batang', serif; font-size: clamp(42px, 10vw, 55px); line-height: 1.22; letter-spacing: -.065em; }
p { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
.eyebrow { font-size: 13px; color: var(--quiet); letter-spacing: .09em; margin-bottom: 17px; }
.intro { font-size: 17px; line-height: 1.75; color: var(--quiet); margin-top: 18px; }
.mobile-break { display: none; }
.winter-art { display: block; width: 100%; height: auto; mix-blend-mode: multiply; object-fit: contain; }
.hero-art { margin: 18px auto 10px; max-height: 300px; }
.duration { font-size: 14px; color: var(--quiet); margin: 15px 0 21px; letter-spacing: .04em; }
.duration span { margin: 0 7px; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 15px; width: 100%; min-height: 62px; padding: 16px 15px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 15px; font-size: 18px; font-weight: 650; line-height: 1.5; box-shadow: 0 3px 0 #493a3212; }
.primary-button:hover { background: #5b483c; }
.primary-button:active { transform: translateY(1px); }
.page-footer { font-size: 11px; text-align: center; color: var(--quiet); padding-top: 34px; letter-spacing: .1em; }
.page-footer span { margin: 0 7px; }
.small-art { max-height: 145px; margin: 12px auto 16px; }
.answers { display: grid; gap: 14px; text-align: left; }
.answer-button { width: 100%; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fffaf15c; border: 1.5px solid #b39a83; border-radius: 13px; padding: 17px 19px; color: var(--ink); font-size: 18px; line-height: 1.5; text-align: left; word-break: keep-all; overflow-wrap: anywhere; }
.answer-button span { color: #99816c; flex-shrink: 0; }
.answer-button:hover, .answer-button[aria-pressed='true'] { background: #ead9c36b; border-color: #80694f; }
.back-button, .text-button { color: var(--quiet); background: transparent; border: 0; min-height: 44px; padding: 10px 4px; font-size: 15px; }
.back-button { display: block; margin-top: 19px; }
.back-button span { padding-right: 6px; }
.question-progress { display: flex; justify-content: space-between; color: var(--quiet); font-size: 13px; margin: 2px 0 12px; font-variant-numeric: tabular-nums; }
progress { display: block; width: 100%; height: 5px; appearance: none; -webkit-appearance: none; border: none; border-radius: 5px; overflow: hidden; background: #ded6c8; accent-color: var(--blue); }
progress::-webkit-progress-bar { background: #ded6c8; }
progress::-webkit-progress-value { background: var(--blue); border-radius: 5px; }
progress::-moz-progress-bar { background: var(--blue); }
.question-title { margin-top: 32px; min-height: 106px; display: flex; align-items: center; justify-content: center; }
.question-art { max-height: 180px; margin: 14px auto 22px; }
.team-hint { font-size: 14px; line-height: 1.7; color: var(--quiet); margin: 0 0 16px; }
.result-art { max-height: 250px; margin: 17px auto 18px; }
.result-line { font-size: 19px; line-height: 1.6; font-weight: 650; margin-bottom: 13px; }
.result-description { font-size: 17px; line-height: 1.9; color: var(--quiet); max-width: 350px; margin: 0 auto; }
.bonus { margin-top: 31px; padding-top: 24px; border-top: 1px solid #d7cab8; }
.bonus-label { display: block; font-size: 13px; color: var(--quiet); margin-bottom: 13px; letter-spacing: .06em; }
.bonus-note { font-size: 13px; margin-top: 13px; color: var(--quiet); }
.little-rays { color: #b38556; font-size: 25px; margin: 2px 0 17px; }
.reveal h1 { font-family: Georgia, 'Batang', serif; font-size: clamp(32px, 8vw, 43px); }
.ultrasound-photo { display: block; width: 100%; height: auto; }
.photo-frame { position: relative; background: #fffaf3; padding: 12px; box-shadow: 0 5px 16px #493a3212, 0 1px 3px #493a3212; transform: rotate(-2deg); margin: 38px 5px 34px; }
.paper-tape { position: absolute; width: 85px; height: 28px; top: -13px; left: calc(50% - 42px); background-color: #e6c298d9; background-image: repeating-linear-gradient(90deg, transparent, transparent 9px, #fff7 9px, #fff7 15px), repeating-linear-gradient(0deg, transparent, transparent 9px, #fff7 9px, #fff7 15px); transform: rotate(5deg); }
.announcement { font-size: 23px; font-weight: 700; line-height: 1.6; letter-spacing: -.04em; }
.reveal-description { color: var(--quiet); font-size: 16px; line-height: 1.8; margin-top: 15px; }
.reveal-sprig { font-family: Georgia, serif; font-size: 30px; color: #8b9872; margin-top: 20px; }
.text-button { font-size: 13px; margin-top: 12px; }
.noscript { padding: 30px 0; text-align: center; line-height: 1.8; }
.confetti { position: fixed; inset: 0; z-index: 10; overflow: hidden; pointer-events: none; animation: celebration-end 3.8s step-end forwards; }
.confetti-piece { position: absolute; top: -20px; left: var(--x); width: 7px; height: 12px; background: var(--apricot); opacity: 0; animation: confetti-fall var(--duration) var(--delay) ease-in both; }
.confetti-piece:nth-child(4n + 2) { background: var(--blue); border-radius: 50%; }
.confetti-piece:nth-child(4n + 3) { background: #a8af87; }
.confetti-piece:nth-child(4n) { background: #c6a66d; border-radius: 50%; }
@keyframes confetti-fall {
  0% { opacity: 0; transform: translate3d(0, -20px, 0) rotate(0); }
  8% { opacity: .95; }
  80% { opacity: .8; }
  100% { opacity: 0; transform: translate3d(var(--drift), 110vh, 0) rotate(var(--turn)); }
}
@keyframes celebration-end { from { opacity: 1; } to { opacity: 0; } }
@keyframes arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 360px) {
  .page-wrap { padding: 24px 20px 18px; }
  .brand { padding-bottom: 22px; }
  .mobile-break { display: initial; }
  .hero-art { margin-top: 15px; }
  .answer-button { font-size: 17px; padding: 16px; }
  .question-title { min-height: 110px; margin-top: 25px; }
  .announcement { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .confetti { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
