/* Chess Arena full-height iframe, accessible modes and touch-ready board. */
.canvas-shell[data-game="chess"]{aspect-ratio:auto!important;width:100%!important;height:clamp(690px,82dvh,910px)!important;min-height:690px!important;max-height:none!important;border-radius:17px;background:#0b1020;overflow:hidden}
.canvas-shell[data-game="chess"] .source-game-frame{width:100%;height:100%;display:block;border:0}
@media(max-width:720px){.canvas-shell[data-game="chess"]{height:clamp(1190px,150svh,1460px)!important;min-height:1190px!important;border-radius:12px}}
@media(max-width:410px){.canvas-shell[data-game="chess"]{height:clamp(1210px,156svh,1490px)!important;min-height:1210px!important}}
.art-chess{background:linear-gradient(135deg,#3b2c54,#b98948)}
/* Shared account notice styles from existing Ludo integration are reused on Chess. */
.game-stage-card.game-expanded .canvas-shell[data-game="chess"],
.game-stage-card:fullscreen .canvas-shell[data-game="chess"]{height:calc(100dvh - 100px)!important;max-height:none!important;min-height:0!important;flex:1!important}
.ludo-account-status{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:10px;padding:12px 14px;border:1px solid #e5dbfa;border-radius:14px;background:#f7f2ff;color:#35245f;font-size:13px}
.ludo-account-status strong{display:block;font-weight:800}.ludo-account-status span{display:block;font-size:12px;line-height:1.5;color:#685a7c;margin-top:4px}
.ludo-account-status a{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border-radius:10px;background:#6d45c7;color:#fff;text-decoration:none;padding:10px 14px;font-weight:800;font-size:12px}
@media(max-width:500px){.ludo-account-status{flex-direction:column;align-items:stretch}.ludo-account-status a{width:100%}}

/* One-screen game viewport — legacy 1200px+ tall iframe overrides removed. */
.canvas-shell[data-game="chess"]{height:clamp(520px,calc(100svh - 160px),800px)!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
.canvas-shell[data-game="chess"] .source-game-frame{overflow:hidden!important}
@media(max-width:720px){.canvas-shell[data-game="chess"]{height:clamp(420px,calc(100svh - 125px),690px)!important;min-height:0!important}}
@media(max-width:410px){.canvas-shell[data-game="chess"]{height:clamp(420px,calc(100svh - 125px),690px)!important;min-height:0!important}}
.game-stage-card.game-expanded .canvas-shell[data-game="chess"],.game-stage-card:fullscreen .canvas-shell[data-game="chess"]{height:calc(100dvh - 100px)!important;min-height:0!important}
