/* Shared menu and direct game selector. */
html body .topbar .header-games173{display:flex!important;gap:8px;align-items:stretch;min-width:0;max-width:100%}
html body .topbar .header-games173 .nav-toggle68{display:block!important;min-width:90px;min-height:44px;margin:0!important;padding:8px 12px!important;background:#15384b;color:white;border:1px solid #488292;border-radius:10px;font-size:16px!important}
html body .topbar .header-game-select173{display:block!important;flex:1;min-width:0;width:220px;max-width:100%;min-height:44px;margin:0;padding:8px 10px;border:1px solid #488292;border-radius:10px;background:#15384b;color:white;font:inherit;font-size:16px!important}
html:is([data-device=phone],[data-device=tablet]) body .topbar .header-games173{grid-column:1/-1!important;grid-row:2!important;width:100%}
html:is([data-device=phone],[data-device=tablet]) body .topbar .header-games173 .nav-toggle68{flex:0 0 32%;width:auto!important;grid-area:auto!important}
html[data-device=pc] body .topbar .header-games173{margin-left:auto}
html[data-device=pc] body .topbar .menu-open68 .links{display:flex!important}
/* CPU status / active colours must not resize or scroll the board. */
html body[data-playgame="cin-damasi"] .game-status{min-height:52px!important;height:52px!important;box-sizing:border-box;overflow:hidden;line-height:24px!important}
html body[data-playgame="cin-damasi"] .cc-legend46{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,620px);box-sizing:border-box}
html body[data-playgame="cin-damasi"] .cc-legend46 span{font-weight:700!important;min-width:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body[data-playgame="cin-damasi"] .board-side48 h3{min-height:54px;margin:0 0 18px!important}
html body[data-playgame="cin-damasi"] .board-help47{min-height:140px}
html body[data-playgame="cin-damasi"] #gameRoot,html body[data-playgame="cin-damasi"] .board-host47{overflow-anchor:none!important}
