/* Écrans Q01–Q12 uniquement. Accueil, résultats, données et calcul inchangés. */
body[data-screen="question"] .masthead,
body[data-screen="question"] .magazine-rule,
body[data-screen="question"] .site-footer{display:none}
body[data-screen="question"] #quiz-root{width:100%;max-width:none;margin:0;padding:0}
body[data-screen="question"] .question-page{width:100%;max-width:none;min-height:100vh;min-height:100dvh;margin:0;padding:16px max(16px,env(safe-area-inset-right,0px)) max(10px,env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));box-shadow:none;display:flex;flex-direction:column}
body[data-screen="question"] .question-page:after{left:17px;top:2px}
body[data-screen="question"] .question-top{flex:0 0 auto;min-height:31px;margin:0 0 8px}
body[data-screen="question"] .question-top .eyebrow{font-size:10px}
body[data-screen="question"] .question-count{font-size:29px}
body[data-screen="question"] .progress-track{flex:0 0 4px}
body[data-screen="question"] .question-sheet{display:flex;flex-direction:column;flex:1;min-width:0}
body[data-screen="question"] .question-opener{margin:15px 0 10px;gap:13px;flex:0 0 auto}
body[data-screen="question"] .question-opener h1{font-size:clamp(26px,5.8vw,34px);line-height:1.08;padding:7px 0;max-width:none}
body[data-screen="question"] .question-scene{max-width:210px;height:auto}
body[data-screen="question"] .question-hint{font-size:12px;margin:0 0 9px;flex:0 0 auto}
body[data-screen="question"] .answer-set{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(4,minmax(min-content,1fr));gap:9px;flex:1}
body[data-screen="question"] .option{min-height:64px;margin:0;padding:12px 13px;gap:12px;align-items:center}
body[data-screen="question"] .option-copy{font-size:16px;line-height:1.4;max-width:70ch}
body[data-screen="question"] .nav-buttons{flex:0 0 auto;margin:16px 0 0;min-height:52px;gap:12px}
body[data-screen="question"] .nav-buttons .button{font-size:15px;min-height:48px;max-width:74%;min-width:0;padding:12px 17px}
body[data-screen="question"] .nav-buttons .text-button{font-size:13px;min-height:46px;white-space:nowrap;flex-shrink:0}
body[data-screen="question"] .question-bottom-note{flex:0 0 auto;margin:9px 0 0;font-size:19px;line-height:1.15}
@media(min-width:600px){
 body[data-screen="question"] .question-page{padding:22px max(26px,env(safe-area-inset-right,0px)) max(13px,env(safe-area-inset-bottom,0px)) max(26px,env(safe-area-inset-left,0px))}
 body[data-screen="question"] .question-top .eyebrow{font-size:12px}
 body[data-screen="question"] .question-count{font-size:34px}
 body[data-screen="question"] .option-copy{font-size:18px}
 body[data-screen="question"] .question-opener{margin-top:20px;gap:26px}
 body[data-screen="question"] .nav-buttons .button{font-size:18px;min-height:54px;padding:13px 24px}
}
@media(min-width:960px){
 body[data-screen="question"] .question-page{padding:24px clamp(28px,3.2vw,68px) 15px}
 body[data-screen="question"] .question-top{margin-bottom:12px}
 body[data-screen="question"] .question-count{font-size:38px}
 body[data-screen="question"] .question-sheet{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.12fr);grid-template-rows:auto minmax(min-content,1fr) auto auto auto;grid-template-areas:'opener hint' 'opener answers' 'opener error' 'opener nav' 'opener saving';gap:0 clamp(28px,4vw,82px);padding-top:22px}
 body[data-screen="question"] .question-opener{grid-area:opener;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:20px;margin:0;min-width:0}
 body[data-screen="question"] .question-opener h1{font-size:clamp(32px,3.1vw,54px);line-height:1.07;padding:12px 4px;text-wrap:balance}
 body[data-screen="question"] .question-side{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px;padding:0 0 36px;min-width:0;align-self:stretch}
 body[data-screen="question"] .question-scene{width:min(100%,480px,calc(42dvh * 4 / 3));max-width:none;height:auto;transform:none}
 body[data-screen="question"] .side-note{font-size:clamp(25px,2.1vw,34px);max-width:90%;margin:0;text-align:center;transform:rotate(-2deg)}
 body[data-screen="question"] .side-prop{display:block;width:64px;height:64px;right:2px;bottom:0}
 body[data-screen="question"] .question-hint{grid-area:hint;font-size:14px;margin:0 0 12px}
 body[data-screen="question"] .answer-set{grid-area:answers;gap:13px}
 body[data-screen="question"] .option{min-height:94px;padding:19px 23px;gap:20px}
 body[data-screen="question"] .option-letter{width:44px;height:46px;flex-basis:44px;font-size:33px}
 body[data-screen="question"] .option-copy{font-size:clamp(18px,1.45vw,23px);line-height:1.45}
 body[data-screen="question"] #score-error{grid-area:error}
 body[data-screen="question"] .nav-buttons{grid-area:nav;margin-top:18px}
 body[data-screen="question"] .nav-buttons .text-button{font-size:16px}
 body[data-screen="question"] #saving-message{grid-area:saving}
 body[data-screen="question"] .question-bottom-note{font-size:22px;margin-top:12px}
}
@media(min-width:800px) and (max-height:550px) and (orientation:landscape){
 body[data-screen="question"] .question-page{padding:12px 20px 8px}
 body[data-screen="question"] .question-top{min-height:25px;margin-bottom:6px}
 body[data-screen="question"] .question-count{font-size:27px}
 body[data-screen="question"] .question-sheet{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:auto minmax(min-content,1fr) auto auto auto;grid-template-areas:'opener hint' 'opener answers' 'opener error' 'opener nav' 'opener saving';gap:0 24px;padding-top:10px}
 body[data-screen="question"] .question-opener{grid-area:opener;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:8px;margin:0;min-width:0}
 body[data-screen="question"] .question-opener h1{font-size:26px;line-height:1.06;padding:7px 2px}
 body[data-screen="question"] .question-side{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:0 30px 0 0}
 body[data-screen="question"] .question-scene{width:min(100%,calc(25dvh * 4 / 3));max-width:170px;height:auto;transform:none}
 body[data-screen="question"] .side-note{font-size:20px;line-height:1;margin:0;max-width:100%;text-align:center}
 body[data-screen="question"] .side-prop{display:block;width:39px;height:39px;bottom:0;right:0}
 body[data-screen="question"] .question-hint{grid-area:hint;font-size:11px;margin:0 0 7px}
 body[data-screen="question"] .answer-set{grid-area:answers;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(min-content,1fr));gap:8px}
 body[data-screen="question"] .option{padding:10px;gap:9px;min-height:76px}
 body[data-screen="question"] .option-letter{width:27px;height:29px;flex-basis:27px;font-size:23px}
 body[data-screen="question"] .option-check{display:grid;width:18px;height:18px;flex-basis:18px}
 body[data-screen="question"] .option-copy{font-size:16px;line-height:1.3}
 body[data-screen="question"] #score-error{grid-area:error}
 body[data-screen="question"] .nav-buttons{grid-area:nav;margin-top:9px;min-height:46px}
 body[data-screen="question"] .nav-buttons .button{font-size:15px;min-height:44px;padding:9px 17px}
 body[data-screen="question"] .nav-buttons .text-button{font-size:13px;min-height:44px}
 body[data-screen="question"] #saving-message{grid-area:saving}
 body[data-screen="question"] .question-bottom-note{font-size:17px;margin-top:5px}
}
/* Petites hauteurs : titre à gauche, photo et petit objet rétro toujours visibles à droite. */
@media(max-width:599px) and (max-height:760px){
 body[data-screen="question"] .question-page{padding-top:12px;padding-bottom:max(8px,env(safe-area-inset-bottom,0px))}
 body[data-screen="question"] .question-top{min-height:26px;margin-bottom:6px}
 body[data-screen="question"] .question-count{font-size:26px}
 body[data-screen="question"] .question-opener{display:grid;grid-template-columns:minmax(0,1fr) clamp(76px,21vw,110px);align-items:center;gap:12px;margin:12px 0 9px}
 body[data-screen="question"] .question-opener h1#question-title{font-size:clamp(24px,6.2vw,25px);line-height:1.08;padding:7px 0;text-wrap:balance;min-width:0}
 body[data-screen="question"] .question-side{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;align-self:center;gap:0;width:100%;min-width:0;padding:0 0 22px}
 body[data-screen="question"] .question-scene{width:100%;max-width:none;height:auto}
 body[data-screen="question"] .side-note{display:none}
 body[data-screen="question"] .side-prop{display:block;width:32px;height:32px;right:0;bottom:0}
 body[data-screen="question"] .question-hint{font-size:11px;margin-bottom:7px}
 body[data-screen="question"] .answer-set{gap:7px}
 body[data-screen="question"] .option{min-height:56px;padding:9px 11px;gap:10px}
 body[data-screen="question"] .option-copy{font-size:16px;line-height:1.32}
 body[data-screen="question"] .nav-buttons{min-height:46px;margin-top:10px}
 body[data-screen="question"] .nav-buttons .button{font-size:14px;min-height:46px;padding:10px 16px}
 body[data-screen="question"] .question-bottom-note{font-size:17px;margin-top:6px}
}
@media(max-width:359px){
 body[data-screen="question"] .question-page{padding-left:12px;padding-right:12px}
 body[data-screen="question"] .question-opener{gap:10px;margin-top:12px}
 body[data-screen="question"] .question-opener h1{font-size:25px}
 body[data-screen="question"] .option{padding:11px 10px;gap:9px}
 body[data-screen="question"] .option-copy{font-size:16px}
 body[data-screen="question"] .nav-buttons .button{font-size:14px;padding:10px 13px}
 body[data-screen="question"] .question-bottom-note{font-size:18px}
}
