.quiz-shell{min-height:70vh}.quiz-welcome,.quiz-finished{max-width:1120px;margin:auto;padding:45px 30px 80px}.back-to-games{font-size:14px;font-weight:bold;display:inline-block;margin-bottom:36px}.quiz-welcome-grid{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:40px}.quiz-welcome h1{font:clamp(55px,7vw,88px)/1.05 Hand,Arial;margin:15px 0 22px}.quiz-welcome h1 em{font-style:normal;color:#7a111b}.quiz-level-art{text-align:center;transform:rotate(3deg)}.quiz-level-art .level-icon{width:250px;height:250px}.quiz-level-art p{font:32px Hand,Arial;margin:5px}.quiz-chips{display:flex;flex-wrap:wrap;gap:10px}.quiz-chips span{border:1px solid #05194e30;border-radius:30px;padding:9px 14px;font-size:12px;background:#fff}.game-settings{margin-top:40px;border:2px solid #05194e;border-radius:24px 8px;padding:30px;background:white}.game-settings h2{font:32px Hand;margin:0 0 20px}.settings-options{display:grid;grid-template-columns:1fr 1fr;gap:18px}.setting-card{display:flex;gap:14px;border:2px solid #05194e25;border-radius:14px;padding:22px;cursor:pointer;align-items:flex-start}.setting-card:has(input:checked){border-color:#7a111b;background:#fff8f4}.setting-card input,.sound-setting input{width:20px;height:20px;margin:2px 0;accent-color:#7a111b;flex:none}.setting-card b{display:block;font-size:18px;margin-bottom:7px}.setting-card small{line-height:1.65;display:block;color:#4f5970}.sound-setting{display:flex;align-items:center;gap:10px;margin:22px 0;font-size:14px}.launch-game{cursor:pointer;min-width:250px}.game-footnote{font-size:13px;line-height:1.7;color:#556078;margin:20px 0 0}.game-links{display:flex;gap:24px;flex-wrap:wrap;margin:25px 0;line-height:1.6;font-size:14px}.game-collection{background:#f4f0fa}.quiz-playing{background:#3d1b73;color:white;padding:18px 30px 35px;min-height:calc(100vh - 105px);position:relative;background-image:radial-gradient(ellipse at 15% 10%,#6b3aa040,transparent 60%),radial-gradient(ellipse at 90% 80%,#9162cd30,transparent 60%)}.quiz-playing button{font-family:Arial,sans-serif}.play-top{display:flex;align-items:center;justify-content:space-between;gap:15px;max-width:1400px;margin:auto}.exit-game{color:white;font-size:13px}.game-brand{letter-spacing:2px;font-size:12px}.game-brand b{font-size:19px}#pause{background:#ffffff12;border:1px solid #ffffff70;color:white;border-radius:8px;padding:9px 18px;cursor:pointer}#pause:disabled{opacity:.5;cursor:default}.game-status{max-width:1400px;margin:22px auto 10px;display:flex;justify-content:space-between;font-size:14px;font-weight:bold}.question-progress{height:5px;background:#ffffff25;max-width:1400px;margin:0 auto 24px;border-radius:5px;overflow:hidden}.question-progress span{height:100%;background:#f4c564;display:block;transition:width .25s}.game-round{max-width:1400px;margin:auto}.game-round h1{font-family:Hand,Arial;font-size:clamp(27px,3.3vw,46px);color:#05194e;background:white;text-align:center;padding:22px 35px;border-radius:8px;margin:0;min-height:100px;display:flex;align-items:center;justify-content:center;line-height:1.2;box-shadow:0 5px 0 #00000020}.round-center{height:180px;display:flex;align-items:center;justify-content:space-between;max-width:850px;margin:auto;padding:12px 15px}.time-disc{background:#904fc9;border:3px solid #ffffff50;border-radius:50%;width:112px;height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center}.time-disc span{font:bold 40px Arial}.time-disc small{font-size:12px;margin-top:3px}.time-urgent{background:#a3254c}.round-illustration{background:white;border-radius:22px;box-shadow:5px 5px 0 #00000030;transform:rotate(-3deg);padding:12px}.round-illustration .sticker{width:110px;height:110px}.round-counter{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:112px}.round-counter b{font:bold 34px Arial}.round-counter span{font-size:13px;line-height:1.4;margin-top:6px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer{border:0;position:relative;border-radius:7px;color:white;min-height:110px;text-align:left;display:flex;align-items:center;gap:20px;padding:21px 24px;box-shadow:0 5px 0 #00000040;cursor:pointer;transition:transform .12s,opacity .2s;font-size:clamp(17px,1.7vw,24px);line-height:1.3}.answer:hover:enabled{transform:translateY(-3px)}.answer:active:enabled{transform:translateY(2px)}.answer-0{background:#c42b3d}.answer-1{background:#1956a6}.answer-2{background:#edc22b;color:#172342}.answer-3{background:#23753b}.answer-shape{font:38px Arial;flex:none;width:36px;text-align:center}.answer small{position:absolute;right:10px;top:8px;font-size:11px;opacity:.8}.answer:disabled{cursor:default}.answer.is-muted{opacity:.42;box-shadow:none}.answer.is-wrong{opacity:.9;outline:3px solid white;outline-offset:-5px}.answer.is-correct{outline:4px solid white;outline-offset:-6px}.answer-result{font-size:11px;position:absolute;bottom:6px;right:12px;font-weight:bold}.round-feedback{margin-top:24px;padding:24px;border-radius:10px;background:white;color:#05194e;display:flex;justify-content:space-between;align-items:center;gap:30px;border-left:8px solid #d48e3e}.round-feedback.win{border-left-color:#278140}.round-feedback h2{font:32px Hand,Arial;margin:0 0 8px}.round-feedback p{font-size:15px;line-height:1.6;margin:5px 0}.round-feedback .points-earned{font-weight:bold}.next-question{background:#05194e;color:white;white-space:nowrap;cursor:pointer}.game-key-hint{text-align:center;font-size:12px;color:#ffffffbd;margin:20px 0 0}.quiz-playing dialog{border:0;padding:40px;border-radius:20px;max-width:420px;text-align:center;color:#05194e}.quiz-playing dialog::backdrop{background:#1a0b35d9}.quiz-playing dialog h2{font:38px Hand;margin:10px}.quiz-playing dialog p{line-height:1.6}.quiz-playing dialog a{display:block;margin-top:20px;font-size:14px}.pause-art{font-size:44px;color:#7a111b}.result-hero{text-align:center;padding:20px 0 45px}.result-hero .level-icon{width:150px;height:150px}.result-hero h1{font:clamp(38px,5vw,64px) Hand;margin:15px 0 30px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);border:2px solid #05194e;border-radius:20px;padding:30px;margin:25px 0;background:white}.result-stats div{display:flex;flex-direction:column;gap:8px}.result-stats div+div{border-left:1px solid #05194e25}.result-stats b{font:44px Hand;color:#7a111b}.result-stats span{font-size:13px}.result-hero>p{font-size:14px;line-height:1.7}.result-hero .actions{justify-content:center;margin-top:25px}.result-review h2{font:38px Hand;margin:12px 0 30px}.review-item{display:flex;gap:22px;background:white;border:1px solid #05194e25;border-radius:15px;padding:24px;margin:15px 0;border-left:5px solid #d48e3e}.review-item.review-ok{border-left-color:#278140}.review-mark{font-size:25px;color:#9a611c}.review-ok .review-mark{color:#278140}.review-item h3{font-size:18px;line-height:1.4;margin:0 0 15px}.review-item p{font-size:14px;line-height:1.7;margin:6px 0}.review-why{color:#485670}.quiz-playing button:focus-visible{outline:4px solid #fff;outline-offset:4px}.quiz-playing #question-title:focus{outline:0}.quiz-finished h1:focus{outline:0}header nav{flex-wrap:wrap}@media(max-width:760px){.quiz-welcome,.quiz-finished{padding:25px 20px 50px}.quiz-welcome-grid{grid-template-columns:1fr;gap:15px}.quiz-welcome h1{font-size:58px}.quiz-level-art{display:flex;align-items:center;gap:20px;transform:none}.quiz-level-art .level-icon{width:90px;height:90px}.quiz-level-art p{font-size:27px}.settings-options{grid-template-columns:1fr}.game-settings{padding:22px;margin-top:25px}.quiz-playing{padding:16px 14px 26px}.game-brand{font-size:9px;letter-spacing:1px}.game-brand b{font-size:14px}.exit-game{font-size:12px}.game-status{font-size:12px}.game-round h1{font-size:29px;padding:18px 16px;min-height:110px}.round-center{height:135px;padding:12px 6px}.time-disc{width:80px;height:80px}.time-disc span{font-size:31px}.time-disc small{font-size:9px}.round-illustration .sticker{width:76px;height:76px}.round-illustration{padding:6px;border-radius:15px}.round-counter{min-width:75px}.round-counter b{font-size:27px}.round-counter span{font-size:10px}.answer{min-height:115px;padding:18px 12px;gap:10px;font-size:17px}.answer-shape{font-size:24px;width:23px}.answers{gap:10px}.round-feedback{flex-direction:column;align-items:stretch;gap:14px;padding:20px}.next-question{text-align:center}.game-key-hint{font-size:10px}.result-stats{padding:20px 8px}.result-stats b{font-size:32px}.result-stats span{font-size:10px}.review-item{padding:18px;gap:12px}.launch-game{width:100%;min-width:0}.quiz-playing dialog{width:calc(100% - 45px);padding:25px}.game-links{gap:14px}.play-top{gap:10px}#pause{padding:8px 12px}}
@media(prefers-reduced-motion:reduce){.answer,.question-progress span{transition:none}}

/* XXL game typography: fit the whole sentence and each answer inside its card. */
.quiz-playing{padding-top:14px}
.game-status{margin-top:14px}
.question-progress{margin-bottom:18px}
.game-round h1{font-size:clamp(48px,6vw,88px);line-height:1.08;height:clamp(155px,23vh,235px);min-height:155px;padding:18px 30px;box-sizing:border-box}
.question-text{display:block;min-width:0;width:100%;line-height:1.08;overflow-wrap:normal;hyphens:none}
.round-center{height:135px;box-sizing:border-box}
.round-illustration{padding:6px;border-radius:14px}
.vocab-icon{display:block;width:105px;height:105px;background-image:url('/assets/vocabulary-icons.png');background-size:600% 400%;background-repeat:no-repeat}
.vocab-icon-0{background-position:0% 0.0%}
.vocab-icon-1{background-position:20% 0.0%}
.vocab-icon-2{background-position:40% 0.0%}
.vocab-icon-3{background-position:60% 0.0%}
.vocab-icon-4{background-position:80% 0.0%}
.vocab-icon-5{background-position:100% 0.0%}
.vocab-icon-6{background-position:0% 33.333333333333336%}
.vocab-icon-7{background-position:20% 33.333333333333336%}
.vocab-icon-8{background-position:40% 33.333333333333336%}
.vocab-icon-9{background-position:60% 33.333333333333336%}
.vocab-icon-10{background-position:80% 33.333333333333336%}
.vocab-icon-11{background-position:100% 33.333333333333336%}
.vocab-icon-12{background-position:0% 66.66666666666667%}
.vocab-icon-13{background-position:20% 66.66666666666667%}
.vocab-icon-14{background-position:40% 66.66666666666667%}
.vocab-icon-15{background-position:60% 66.66666666666667%}
.vocab-icon-16{background-position:80% 66.66666666666667%}
.vocab-icon-17{background-position:100% 66.66666666666667%}
.vocab-icon-18{background-position:0% 100.0%}
.vocab-icon-19{background-position:20% 100.0%}
.vocab-icon-20{background-position:40% 100.0%}
.vocab-icon-21{background-position:60% 100.0%}
.vocab-icon-22{background-position:80% 100.0%}
.vocab-icon-23{background-position:100% 100.0%}
.vocab-icon-cyclists{background-image:url('/assets/vocabulary-cyclists.png');background-size:contain;background-position:center}
.answer{height:clamp(165px,22vh,220px);min-height:165px;font-size:clamp(40px,5.7vw,80px);font-weight:700;line-height:1.08;padding:20px 25px 26px;gap:20px;box-sizing:border-box}
.answer-text{display:block;min-width:0;flex:1;line-height:1.08;overflow-wrap:normal;hyphens:none}
.answer-shape{font-size:42px;width:42px}
.answer-result{font-size:13px;bottom:7px}
@media(max-width:760px){
 .game-round h1{font-size:clamp(36px,7.5vw,58px);height:clamp(155px,24vh,225px);padding:16px 18px}
 .round-center{height:125px}
 .vocab-icon{width:90px;height:90px}
 .answer{font-size:clamp(30px,6.5vw,48px);height:clamp(170px,24vh,240px);min-height:170px;padding:18px 12px 27px;gap:8px}
 .answer-shape{font-size:25px;width:25px}
 .answer-result{font-size:10px;right:7px}
}
@media(min-width:761px) and (max-height:780px){
 .game-round h1{height:155px}
 .round-center{height:105px}
 .vocab-icon{width:80px;height:80px}
 .answer{height:145px;min-height:145px}
}
/* Use the entire screen for the question and the four XXL answer cards. */
body:has(.quiz-playing) header,body:has(.quiz-playing) footer{display:none}
.quiz-playing{min-height:100svh;box-sizing:border-box;padding-bottom:20px}
@media(max-width:760px){
 .game-round h1{height:clamp(140px,20svh,200px);min-height:140px}
 .round-center{height:105px}
 .vocab-icon{width:80px;height:80px}
 .answer{height:clamp(145px,21svh,200px);min-height:145px}
}
