/* Fbrkh v2.2.1 shared responsive/runtime polish */
:root{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--fbrkh-min-text:16px}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{padding-left:max(0px,var(--safe-left));padding-right:max(0px,var(--safe-right));min-width:0;overflow-x:hidden}
button,input,select,textarea{font:inherit}button{touch-action:manipulation}.player-name,.participant-name,[data-player-name],.team-player,.ranking-name,.score-name{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;word-break:normal;line-height:1.25;min-width:0}
.question-text,.prompt-text,.round-title,.participant-card h1{font-size:clamp(1.2rem,2.3vw + .55rem,2.6rem)!important;line-height:1.35!important;text-wrap:balance}.instruction,.explain,.rule,.round-copy{font-size:clamp(1rem,1.1vw + .55rem,1.35rem)!important;line-height:1.55!important}
@media(max-width:900px){.modal,.sheet,.settings-modal{max-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 12px)!important}.actions,.host-actions,.q-question-actions{position:sticky;bottom:var(--safe-bottom);z-index:20}.participant-card{max-width:min(100%,760px);margin-inline:auto}.q-question-sidebar-v129{min-width:0!important}.q-game-screen,.q-question-screen-v129{min-height:100dvh!important}}
@media(max-width:600px){:root{--fbrkh-min-text:15px}.q-game-toolbar,.premium-qadha-toolbar{gap:6px!important;padding:8px!important}.q-toolbar-action b{display:none!important}.q-toolbar-action{min-width:44px!important;min-height:44px!important}.question-card{margin:0!important;border-radius:18px!important}.order-list{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.order-item{flex:1 1 min(180px,100%)!important;min-width:0!important}.order-results-grid,.order-correct-card ol{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.order-result-card li,.order-correct-card li{flex:1 1 140px}.draw-tools-v1711{position:sticky;bottom:var(--safe-bottom);z-index:20}.drawing-card canvas{max-height:52dvh!important}}
@supports(font-size:clamp(1rem,2vw,2rem)){.adaptive-text{font-size:clamp(var(--fbrkh-min-text),2.2vw,30px)}}
[data-focus-stage="question"] .secondary-copy,[data-focus-stage="question"] .nonessential{display:none!important}
.wrong-word{text-decoration:underline 3px currentColor;text-underline-offset:5px}
.qadha-board-theme-nova{--q-accent:#0e7490;--q-surface:color-mix(in srgb,#0e7490 8%,white);--q-border:color-mix(in srgb,#0e7490 25%,transparent)}
.qadha-board-theme-nova .question-card,.qadha-board-theme-nova .q-board-card{border-radius:24px!important;border:1px solid var(--q-border)!important;box-shadow:0 16px 44px rgba(15,23,42,.10)!important;background:var(--q-surface)!important}.qadha-board-theme-nova .q-game-toolbar{backdrop-filter:blur(16px);border-radius:0 0 24px 24px}.qadha-board-theme-nova .btn-primary{border-radius:14px!important}
html[data-theme="light"] .q-game-screen,body.light .q-game-screen{color:#0f172a!important;background:#f8fafc!important}html[data-theme="light"] .question-card,body.light .question-card{background:#fff!important;color:#0f172a!important;border-color:#dbe3ee!important}html[data-theme="light"] .q-toolbar-action,body.light .q-toolbar-action{color:#0f172a!important}

.qadha-flag-question{display:grid;place-items:center;gap:18px}.qadha-flag-image{width:clamp(140px,24vw,320px);max-height:210px;object-fit:contain;border-radius:12px;box-shadow:0 10px 26px rgba(15,23,42,.14)}
.order-area{width:100%;min-width:0}.order-list{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;justify-content:center}.order-item{flex:1 1 180px;max-width:320px;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:clamp(1rem,1.2vw + .65rem,1.45rem);line-height:1.3}.order-correct-card ol,.order-result-card ol{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px;counter-reset:step}.order-correct-card li,.order-result-card li{padding:10px 12px;border-radius:12px;background:rgba(15,23,42,.06);font-size:clamp(1rem,1vw + .6rem,1.3rem)}
@media(max-width:700px){.qadha-flag-image{width:min(62vw,240px)}.order-item{flex-basis:calc(50% - 8px);max-width:none}.order-step h2{font-size:1.15rem!important}.question-turn-banner{display:flex;flex-wrap:wrap;gap:6px!important}}

/* v2.2.1 full-name and instruction legibility guarantees */
.player-chip b,.player-chip strong,.side-team-name strong,.premium-turn-pill strong,
.ranking-row b,.ranking-row strong,.rank-podium-card b,.rank-podium-card strong,
.round-star h2,.result-names span,.team-name,[data-current-turn-name],
.player-row .name,.participant-row .name,.leaderboard-name,.winner-name {
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  overflow-wrap:anywhere!important;word-break:normal!important;max-width:none!important;
  line-height:1.22!important;
}
.side-team-name,.premium-turn-pill{height:auto!important;min-height:54px!important}
.side-team-name strong,.premium-turn-pill strong{font-size:clamp(15px,1.5vw + .45rem,30px)!important;text-align:center!important}
.round-mode-banner strong,.personal-challenge strong,.museum-news strong{font-size:clamp(1.2rem,1.55vw + .6rem,2rem)!important;line-height:1.35!important}
.round-mode-banner small,.personal-challenge small,.museum-news small,.round-mode-banner p,.personal-challenge p{font-size:clamp(1rem,.9vw + .62rem,1.3rem)!important;line-height:1.65!important}
@media(max-width:520px){
 .player-chip b,.player-chip strong,.ranking-row b,.ranking-row strong,.team-name{font-size:clamp(15px,4.1vw,20px)!important}
 .side-team-name strong,.premium-turn-pill strong{font-size:clamp(14px,3.7vw,19px)!important}
}
.qadha-flag-visual{display:grid;place-items:center;min-height:clamp(120px,20vw,220px);width:100%}.qadha-flag-emoji-fallback{font-size:clamp(84px,16vw,180px);line-height:1;filter:drop-shadow(0 10px 20px rgba(15,23,42,.16))}.qadha-flag-image[hidden]+.qadha-flag-emoji-fallback{display:block!important}
