/* Turkish copy: preserve readable labels on narrow phones and in landscape. */
html:lang(en) .answer span,html:lang(en) .question-title,html:lang(en) #winner-link{min-width:0;overflow-wrap:anywhere;hyphens:auto}
html:lang(en) .risk-bank-choice,html:lang(en) .question-next,html:lang(en) #winner-link{white-space:normal;line-height:1.35}
html:lang(en) #flight-settings button{white-space:normal;overflow-wrap:anywhere;min-height:44px}
html:lang(en) #flight-settings .system-row{gap:8px;flex-wrap:wrap}
html:lang(en) #flight-settings .system-toggle{margin-left:auto}
@media(max-width:360px){
 html:lang(en) #welcome #landing-title{font-size:clamp(32px,10.8vw,39px);line-height:1.03}
 html:lang(en) .landing-guide li p{overflow-wrap:anywhere}
 html:lang(en) body.mobile-flight.playing #nav-label{font-size:7px}
 html:lang(en) body.gate-question .risk-bank-choice span,html:lang(en) body.gate-question .question-next span{font-size:15px;letter-spacing:0}
}

html:lang(en) .dialog .primary{min-width:0;max-width:100%;white-space:normal;gap:12px;line-height:1.4}
html:lang(en) .dialog .primary>span{flex-shrink:0}

/* A centred quiz on phones, with the progress and choices sharing one axis. */
@media(max-width:760px),(orientation:landscape) and (max-height:600px){
 body.gate-question #quiz{text-align:center}
 body.gate-question #quiz .question-pause{max-width:36ch;margin-inline:auto;text-align:center}
 body.gate-question #quiz .quiz-heading{flex-direction:column;justify-content:center;align-items:center;gap:8px;text-align:center}
 body.gate-question #quiz #stage-label,body.gate-question #quiz #counter{align-self:center;text-align:center}
 body.gate-question #quiz #question-bonus,body.gate-question #quiz .question-title,body.gate-question #quiz #feedback{text-align:center}
 body.gate-question #quiz .answer{justify-content:center;text-align:center}
 body.gate-question #quiz .answer span{flex:0 1 auto;text-align:center}
}
