* { box-sizing: border-box; }
:root { color-scheme: light; --theme: #FF8A3D; --ink: #382831; }
html, body { margin: 0; min-height: 100%; background: #ffe5dc; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif; letter-spacing: 0; }
button { font: inherit; -webkit-tap-highlight-color: transparent; cursor: pointer; }
[hidden] { display: none !important; }
.game { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; max-width: 560px; margin: 0 auto; padding: 0 20px max(24px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #ffdfd3; }
.scene { position: absolute; inset: 0; z-index: -2; background: url("images/gen/gptimg_1795334419_look.png") center top / cover no-repeat; }
.game::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 12%, rgba(255,241,235,.25) 32%, #fff1eb 64%); }
.quiz, .result { padding-top: 40vh; width: 100%; }
.round { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; font-weight: 600; color: #68414b; }
.round span:first-child { color: #a4481d; }
.progress { height: 6px; margin: 12px 0 25px; background: #e9c7bd; border-radius: 6px; overflow: hidden; }
#progress-fill { height: 100%; background: var(--theme); width: 0; }
.eyebrow { margin: 0 0 9px; color: #9d4828; font-size: 13px; font-weight: 600; }
h1 { margin: 0 0 22px; font-size: 26px; line-height: 1.4; overflow-wrap: anywhere; }
.choices { display: grid; gap: 12px; }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 15px 14px; text-align: left; background: #fffaf7; border: 1px solid #e6b5a6; border-radius: 8px; color: var(--ink); font-size: 16px; line-height: 1.5; }
.choice > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.letter { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; background: #ffe0cc; color: #9b421a; border-radius: 8px; font-weight: 700; }
.choice .mp-icon { color: #a96a50; font-size: 22px; flex-shrink: 0; }
.choice:active { background: #ffdcc4; border-color: var(--theme); }
button:focus-visible { outline: 3px solid #a64120; outline-offset: 3px; }
.footnote { margin: 20px 0 0; text-align: center; font-size: 12px; color: #805e63; line-height: 1.6; }
.result { text-align: center; }
.result h1 { font-size: 23px; margin-bottom: 5px; }
.score { margin: 0 0 15px; color: #ba4a20; font-size: 76px; line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.score small { font-size: 26px; margin-left: 4px; }
.result-label { color: #805e63; font-size: 13px; margin: 0 0 8px; }
h2 { margin: 0; font-size: 23px; line-height: 1.5; }
.description { font-size: 15px; line-height: 1.8; color: #75525b; margin: 12px 0 24px; }
.restart { min-height: 52px; width: 100%; border: 1px solid #a8461b; border-radius: 8px; background: var(--theme); color: #482412; font-weight: 700; display: flex; justify-content: center; align-items: center; gap: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-height: 700px) { .quiz, .result { padding-top: 28vh; } .progress { margin-bottom: 18px; } }
@media (min-width: 700px) { .game { padding-left: 32px; padding-right: 32px; } }
