@font-face{font-family:"Barlow Condensed";src:url("/assets/true-false/barlow-condensed.woff2") format("woff2");font-weight:700;font-display:swap}
.quiz-demo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,375px);align-items:start;gap:clamp(24px,6vw,95px);max-width:990px;margin:24px 0 55px}
.quiz-demo p{max-width:39ch}
.quiz-demo .quiz-note{font-size:14px;color:var(--accent);margin-top:16px}
.investment-quiz{width:100%;max-width:375px;justify-self:center;background:#fff;color:#1d2529;border:1px solid #e4e8eb;border-radius:28px;box-shadow:0 16px 46px #16252a12;font:16px/1.48 Arial,sans-serif;overflow:hidden}
.investment-quiz [hidden]{display:none!important}
.quiz-bar{text-align:center;padding:13px 10px;border-bottom:1px solid #e8ebee;line-height:1.2;font-weight:700;font-size:15px}
.quiz-bar span{display:block;margin-top:2px;color:#707a81;font-size:12px;font-weight:400}
.quiz-play{padding:27px clamp(15px,6%,29px) 20px}
.quiz-progress{display:flex;align-items:center;gap:8px;margin-bottom:50px}
.quiz-progress progress{appearance:none;display:block;width:100%;height:16px;border:0;background:#edf4f7;border-radius:99px;overflow:hidden}
.quiz-progress progress::-webkit-progress-bar{background:#edf4f7}
.quiz-progress progress::-webkit-progress-value{background:#5cafd9;border-radius:99px;transition:width .24s}
.quiz-progress progress::-moz-progress-bar{background:#5cafd9;border-radius:99px}
.quiz-count{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#edf4f7}
.quiz-stack{position:relative;isolation:isolate}
.quiz-stack::before,.quiz-stack::after{content:"";position:absolute;z-index:-1;inset:-8px 8px auto;height:50px;background:#d7e4e9;border-radius:23px}
.quiz-stack::after{inset:-15px 22px auto;background:#cbd6e4;z-index:-2}
.quiz-card{min-height:377px;overflow:hidden;border-radius:24px;background:#fff;box-shadow:0 10px 24px #15272a12}
.quiz-enter{animation:quiz-appear .22s ease-out}
@keyframes quiz-appear{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.quiz-image{aspect-ratio:314/220;object-fit:cover}
.quiz-question{padding:23px 15px;color:#41464a;text-align:center}
.quiz-feedback{min-height:377px;display:grid;align-content:center;gap:21px;padding:24px;text-align:center}
.quiz-card[data-result="right"]{background:#eaf7ef;color:#28723d}
.quiz-card[data-result="wrong"]{background:#fbf4e8;color:#9a5a0b}
.investment-quiz .quiz-feedback h2{font:bold 34px/.98 "Barlow Condensed",Impact,sans-serif;text-transform:uppercase;letter-spacing:0}
.quiz-choices{display:flex;justify-content:center;gap:35px;margin-top:32px}
.investment-quiz button{cursor:pointer;border:0;font:inherit}
.quiz-choices button{width:64px;height:64px;border-radius:23px;font-size:35px;line-height:1;color:#bb3d38;background:#f9eded}
.quiz-choices button+button{color:#2f7950;background:#eaf7ef}
.investment-quiz .quiz-next,.investment-quiz .quiz-replay{width:100%;min-height:57px;padding:9px 12px;margin-top:32px;border-radius:22px;color:#fff;background:#2d693d;font:bold 26px/1 "Barlow Condensed",Impact,sans-serif;text-transform:uppercase}
.investment-quiz .quiz-next[data-result="wrong"]{background:#9a5a0b}
.quiz-results{padding:15px}
.quiz-results img{aspect-ratio:347/200;object-fit:cover;border-radius:12px}
.quiz-result-copy{background:#edf4f7;padding:17px;margin-top:13px;border-radius:12px}
.investment-quiz .quiz-result-copy h2{font:bold clamp(23px,4vw,30px)/1.12 Arial,sans-serif;letter-spacing:-.035em}
.quiz-score{margin-top:8px}
.investment-quiz .quiz-replay{margin-top:14px}
@media(max-width:750px){.quiz-demo{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.quiz-enter{animation:none}}

.investment-quiz .quiz-result-description{font-size:18px;line-height:1.4;margin-top:14px}
.investment-quiz .quiz-score{font-size:16px;line-height:1.3;opacity:.7}
.quiz-language{display:flex;gap:6px;align-items:center}
.quiz-language button{border:1px solid #d0dce1;border-radius:6px;padding:6px 8px;background:transparent;color:inherit;font:500 12px/1.2 Arial,sans-serif;cursor:pointer}
.quiz-language button[aria-pressed=true]{background:#dcecf3;border-color:#9ab7c5}
.investment-quiz:lang(ru) .quiz-feedback h2,.investment-quiz:lang(ru) .quiz-next,.investment-quiz:lang(ru) .quiz-replay{font-family:Arial,sans-serif;font-weight:700}
