/* r941: readable, one-tap game entry across four DISTINCT brand identities.
   Scope exclusively to landing and host setup; gameplay/TV boards stay unchanged. */
:root[data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-setup-v217 .qadha-fast-start{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  margin:0 0 18px;padding:14px 16px;border-radius:17px;
  border:1px solid #80ded6;background:#1e3544;color:#f7ffff;
}
:root[data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-fast-start small{
  color:#e3f7f8!important;font-weight:650;font-size:clamp(13px,1.2vw,15px);
  line-height:1.65;opacity:1!important;
}
:root[data-ui-mode="modern"] body[data-game-brand="qadha"] #qadhaQuickStart{
  color:#0b2928!important;background:#8af0df!important;border:1px solid #a8fff0!important;
  font-weight:900;min-height:50px;flex:0 0 auto;border-radius:14px!important;
}
:root[data-ui-mode="modern"] body[data-game-brand="khaltaha"] .k-setup-shell .k-fast-start{
  display:inline-flex;justify-content:center;align-items:center;min-height:50px;
  margin:14px auto 0;padding:12px 24px;border-radius:15px;
  background:#ffd09a!important;color:#321919!important;border:1px solid #ffe1b7!important;
  font-weight:900;max-width:100%;white-space:normal;
}
:root[data-ui-mode="modern"] body[data-game-brand="khaltaha"] .k-setup-shell .k-hero{
  padding-block:clamp(14px,2.5vw,24px)!important;
}
/* Remove duplicative step markers, NOT instructions, navigation or controls. */
:root[data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-setup-v217 .page-title-row .pill,
:root[data-ui-mode="modern"] body[data-game-brand="khaltaha"] .k-setup-shell .section-title>div>small,
:root[data-ui-mode="modern"] body[data-game-brand="top10"] #setupView .start-card .eyebrow{
 display:none!important;
}
/* Never let low-contrast placeholder or hint text hide user actions. */
:root[data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-setup-v217,
:root[data-ui-mode="modern"] body[data-game-brand="khaltaha"] .k-setup-shell,
:root[data-ui-mode="modern"] body[data-game-brand="top10"] #setupView{
 line-height:1.65;
}
:root[data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-setup-v217 :is(.field label,.qadha-category-heading h2,.qadha-team-split b,.qadha-pack-chip b),
:root[data-ui-mode="modern"] body[data-game-brand="khaltaha"] .k-setup-shell :is(.section-title h2,.mode-toggle b,.setup-options b,.k-hero h1),
:root[data-ui-mode="modern"] body[data-game-brand="top10"] #setupView :is(.section-title h2,.setup-card h2,.setup-card label),
:root[data-ui-mode="modern"] body[data-game-brand="fbrkha"] .home-actions .home-action strong{
 opacity:1!important;text-shadow:none!important;
}
:root[data-ui-mode="modern"] body[data-game-brand] :is(
 .qadha-setup-v217,.k-setup-shell,#setupView,.home-shell
) :is(button,input:not([type=checkbox]),select,textarea){
 touch-action:manipulation;min-width:0;max-width:100%;
}
:root[data-ui-mode="modern"] body[data-game-brand] :is(
 .qadha-setup-v217,.k-setup-shell,#setupView,.home-shell
) :is(button,input,select,textarea,a):focus-visible{
 outline:3px solid #ffe4a4!important;outline-offset:3px!important;
}
:root[data-ui-mode="modern"] body[data-game-brand] :is(
 .qadha-setup-v217,.k-setup-shell,#setupView,.home-shell
) :is(button,a)[disabled]{opacity:.68!important;cursor:not-allowed!important}
/* Address r939 white-on-white possibility in the light appearance. The dark
   neutral text is paired with explicitly light surfaces; each game retains
   its independent accent colours. */
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-setup-v217{
 background:#fff!important;color:#21182f!important;border-color:#d7cde5!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-setup-v217 :is(h1,h2,h3,strong,.field label,.qadha-pack-chip b){
 color:#241b35!important;text-shadow:none!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-setup-v217 :is(p,small,.field small,.qadha-team-split small){
 color:#574a65!important;opacity:1!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-setup-v217 :is(input:not([type=checkbox]),select,textarea){
 color:#201830!important;background:#fff!important;border:1px solid #9381ac!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-setup-v217 :is(input,textarea)::placeholder{color:#625773!important;opacity:1!important}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-fast-start{
 background:#193948!important;color:#fff!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-fast-start small{color:#e5f8fa!important}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="khaltaha"] .k-setup-shell .k-card{
 background:#fff!important;color:#281c33!important;border:1px solid #cfc0d9!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="khaltaha"] .k-setup-shell :is(.k-card h2,.k-card b,.k-card label){color:#2e2037!important}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="khaltaha"] .k-setup-shell :is(.k-card p,.k-card small,.section-title span,.mode-toggle small){
 color:#5c4f68!important;opacity:1!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="khaltaha"] .k-setup-shell :is(input:not([type=checkbox]),select,textarea){
 background:#fff!important;color:#281c33!important;border:1px solid #9484a3!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="top10"] #setupView .setup-card{
 background:#fff!important;color:#21182c!important;border:1px solid #ccb9d4!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="top10"] #setupView .setup-card :is(h2,h3,label,strong,b){
 color:#26192f!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="top10"] #setupView .setup-card :is(p,small,.section-title p){
 color:#5c5067!important;opacity:1!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="top10"] #setupView .setup-card :is(input:not([type=checkbox]),select,textarea){
 background:#fff!important;color:#26192f!important;border:1px solid #9684aa!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="top10"] #setupView :is(.round-option.active,.timer-options button.active,.segmented button.active){
 background:#693c83!important;color:#fff!important;border-color:#693c83!important;
}
:root[data-theme="light"][data-ui-mode="modern"] body[data-game-brand="top10"] #setupView :is(.round-option.active,.timer-options button.active,.segmented button.active) :is(span,b,small){
 color:#fff!important;
}
/* No horizontal overflow or inaccessible tiny quick-start action. */
@media(max-width:680px){
 :root[data-ui-mode="modern"] body[data-game-brand="qadha"] .qadha-fast-start{padding:13px!important}
 :root[data-ui-mode="modern"] body[data-game-brand="qadha"] #qadhaQuickStart,
 :root[data-ui-mode="modern"] body[data-game-brand="khaltaha"] #kQuickStart{width:100%!important}
 :root[data-ui-mode="modern"] body[data-game-brand="top10"] #top10QuickStart{min-height:50px!important}
}
@media(prefers-reduced-motion:reduce){
 :root[data-ui-mode="modern"] body[data-game-brand] :is(#qadhaQuickStart,#kQuickStart,#top10QuickStart){animation:none!important;transition:none!important}
}
