html, body { height: 100%; overflow: hidden; }
body { display: flex; flex-direction: column; height: 100dvh; background: #fce7f1; --violet: #b82d75; --violet2: #d45195; --pink: #ef79b4; }
.quiz-top { flex: 0 0 auto; position: relative; z-index: 30; background: #fff0f6; }
.quiz-top .sitebar { position: static; background: #fff0f6; }
.quiz-scroll { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.sitebar .inner { min-height: 40px; padding: 0; }
.sitebar .brand { gap: 10px; flex: 1; min-width: 0; }
.sitebar .brand-mark { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; background: #21131c; color: #f5a7cb; font-size: 13px; }
.profile-step { display: flex; flex: 1; min-width: 0; flex-direction: column; justify-content: center; gap: 4px; font-size: 14px; line-height: 16px; font-weight: 850; color: #a62567; white-space: nowrap; }
.progress-copy { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.progress-percent { color: #aa5783; font-size: 11px; font-weight: 750; }
.header-progress { display: block; width: 100%; height: 5px; border-radius: 99px; overflow: hidden; background: #f0cede; }
.header-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b82d75, #ef79b4); }
.quiz-section { padding: 0 0 12px; }
.content-layout { display: block; max-width: 820px; }
.question-card { min-width: 0; padding: 5px 0 12px; border: 0; border-radius: 18px; background: #fac0ee url('quiz-pink-background.webp') center / cover; overflow: visible; }
.question-card .question-heading { margin: 0 8px 5px; padding: 0; color: #17131c; font-size: 18px; line-height: 1.25; font-weight: 900; letter-spacing: -.025em; text-align: left; }
.question-visual { display: block; width: min(100%, 480px); max-width: 100%; height: auto; aspect-ratio: 675 / 380; object-fit: cover; margin: 0 auto; border-radius: 0; }
.question-play-area { padding: 0; margin: 0; }
.question-answer-panel { border: 0; padding: 0 12px; margin: 0; min-width: 0; }
.question-answer-panel .page-context { float: left; display: block; width: 100%; padding: 0; margin: 0 0 7px; color: #6848f2; font-size: 14px; line-height: 1.25; font-weight: 850; }
.answers { display: grid; clear: both; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 8px; }
.question-answer-panel .answer { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 32px; height: 32px; padding: 4px 12px; border: 1px solid #d993bd; border-radius: 12px; background: #fff7fc; font-size: 16px; font-weight: 800; line-height: 1.25; text-align: center; color: #82194f; cursor: pointer; box-sizing: border-box; box-shadow: 0 2px 0 rgba(130,25,79,.12); transform: none; transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.question-answer-panel .answer:hover, .question-answer-panel .answer:focus-within { transform: none; border-color: #b82d75; }
.question-answer-panel .answer:has(input:checked) { background: #a62567; border-color: #a62567; color: #fff; box-shadow: 0 2px 0 #7d194c; }
.answer input[type="radio"] { appearance: none; display: grid; place-items: center; width: 18px; height: 18px; margin: 0; padding: 0; flex: 0 0 18px; border: 2px solid #c36c9a; border-radius: 50%; background: transparent; box-sizing: border-box; color: inherit; }
.answer input[type="radio"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transform: scale(0); }
.answer input[type="radio"]:checked { border-color: #fff; }
.answer input[type="radio"]:checked::after { transform: scale(1); }
.answer input:focus-visible { outline: 2px solid #b82d75; outline-offset: 3px; }
.quiz-actions { display: flex; justify-content: center; padding: 0 12px; margin-top: 12px; }
.quiz-next { width: 100%; max-width: 340px; height: 40px; min-height: 40px; padding: 0 20px; box-sizing: border-box; font-size: 14px; background: linear-gradient(115deg, #b82d75, #ec6bab); }
.quiz-next[aria-disabled="true"] { opacity: .6; }
.answer-hint, .question-error { margin: 8px 12px; color: #8a2f5e; font-size: 13px; }
.footer { color: #795366; padding: 12px 0; }
@media (max-width: 640px) { .navline { display: none; } }
