/* Board and one compact action row share the existing chess room shell. */
body.bq-route-game_play .bq-game-stage--fanorona:has([data-fanorona-mount]) { grid-template-rows:minmax(0,1fr); }
body.bq-route-game_play .bq-game-stage--fanorona .bq-game-stage__battlefield:has([data-fanorona-mount]) { display:grid; grid-row:1; place-items:center; min-height:0; }
[data-fanorona-mount] { width:100%; min-width:0; aspect-ratio:1.65; }
.fanorona-fallback-game.is-integrated { min-height:0; height:100%; padding:0; background:none; color:#d6e7ed; font-family:var(--bq-body,system-ui); }
.is-integrated .fanorona-fallback-game__layout { display:grid; height:100%; grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) 44px; gap:8px; max-width:none; }
.is-integrated .fanorona-fallback-game__board-frame { width:100%; padding:clamp(7px,1.2vw,16px); align-self:end; border:4px double #be9653; background:linear-gradient(135deg,#233c50,#0a1d2e 30%,#21374a 70%,#081b2b); box-shadow:0 15px 35px #0007,inset 0 0 0 2px #071521; }
.is-integrated .fanorona-fallback-game__board { aspect-ratio:2; }
.is-integrated .fanorona-fallback-game__point { width:7.7%; min-width:0; }
.is-integrated .fanorona-fallback-game__panel { display:flex; align-items:center; justify-content:flex-end; min-width:0; padding:0; }
.is-integrated .fanorona-fallback-game__actions { display:flex; align-items:center; justify-content:flex-end; gap:6px; margin:0; }
.is-integrated .fanorona-fallback-game__actions button { padding:8px 14px; font-size:.7rem; color:#c1d4e2; background:#081c37; border:1px solid #335b74; border-radius:4px; min-height:44px; }
.is-integrated .fanorona-fallback-game__actions button[hidden] { display:none; }
.is-integrated .fanorona-fallback-game__actions button:disabled { opacity:.5; cursor:default; }
.is-integrated .fanorona-screen-reader { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; clip-path:inset(50%)!important; white-space:nowrap!important; border:0!important; }
.is-integrated .fanorona-fallback-game__result { position:absolute; z-index:35; inset:25% 10% auto; }
.bq-game-arena:has([data-fanorona-mount]) .bq-game-profile.is-fanorona-turn { border-color:#d7ae55; box-shadow:inset 3px 0 #d7ae55,0 4px 18px #0004; }
@media (max-width:760px) { [data-fanorona-mount] { aspect-ratio:1.45; } }
@media (max-height:500px) and (orientation:landscape) { [data-fanorona-mount] { aspect-ratio:1.55; } }
