.race-host .classic-board{background:#20365e}.race-host .classic-action{white-space:normal}.race-host .is-legal{outline:3px solid #28c7ee!important;outline-offset:-3px}.race-host .is-selected,.race-host .is-hint{outline:3px solid #ffcf3f!important;outline-offset:-3px}
.backgammon-board{min-width:580px;max-width:960px!important;padding:12px!important}.bg-row{display:grid;grid-template-columns:repeat(12,minmax(44px,1fr));gap:4px}.race-host .bg-point{display:flex;flex-direction:column;align-items:center;position:relative;min-width:44px;min-height:120px;padding:0 0 3px;border:0;border-radius:5px;background:linear-gradient(70deg,transparent 47%,#5272aa 48% 52%,transparent 53%),#182449;color:#f8fbff;cursor:pointer;overflow:hidden}.race-host .bg-point:nth-child(even){background:linear-gradient(110deg,transparent 47%,#b58d4b 48% 52%,transparent 53%),#182449}.bg-point-number{font-size:13px;line-height:20px;font-weight:750}.bg-point-art{display:block;width:44px;height:74px;pointer-events:none}.bg-point-count{font-size:12px;line-height:18px;min-height:18px;color:#a8e6ff;font-weight:750}.race-host .bg-point.is-source{box-shadow:inset 0 0 0 2px #28c7ee}.bg-middle{display:grid;grid-template-columns:minmax(145px,1fr) auto minmax(145px,1fr);align-items:center;gap:8px;margin:8px 0}.race-host .bg-bar,.race-host .bg-off{min-width:44px;min-height:44px;background:#182449;border:1px solid #5272aa;border-radius:6px;color:#f8fbff;padding:8px;font-size:14px;cursor:pointer}.bg-dice{display:flex;gap:5px}.race-host .bg-die{width:44px;height:44px;min-width:44px;min-height:44px;border:2px solid #5272aa;border-radius:8px;background:#f8fbff;color:#182449;font-size:25px;font-weight:800;cursor:pointer}.race-host .bg-die:disabled{opacity:.8}.backgammon-host .classic-legend{font-size:13px;line-height:1.5;gap:5px 12px}
.ludo-pawn-palette{display:grid;grid-template-columns:repeat(4,minmax(44px,1fr));gap:5px;width:min(100%,420px)}.race-host .ludo-pawn-button{display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:44px;min-height:64px;border:1px solid #5272aa;border-radius:6px;background:#263f6a;color:#f8fbff;padding:3px 5px;cursor:pointer}.race-host .ludo-pawn-button:disabled{opacity:.55}.ludo-pawn-icon{width:32px;height:32px;pointer-events:none}.ludo-pawn-caption{font-size:13px;line-height:1.5;font-weight:700;white-space:nowrap}
.sea-editor{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;max-width:100%;width:100%}.sea-editor select{box-sizing:border-box;min-width:44px;min-height:44px;background:#263f6a;color:#f8fbff;font:700 14px/1.4 system-ui;border:1px solid #5272aa;border-radius:6px;padding:8px}.sea-ship-select{max-width:160px}.sea-coordinate{width:78px}.sea-host .classic-controls{gap:6px!important}.sea-host .classic-controls .classic-action{font-size:14px;padding:8px 11px}.sea-host .sea-rotate{min-height:44px;min-width:66px}
@media(max-width:680px){.backgammon-board{min-width:580px;padding:7px!important}.bg-point-art{height:70px}.bg-middle{gap:5px}.ludo-pawn-palette{width:100%;max-width:360px}.ludo-pawn-icon{width:28px;height:28px}.ludo-pawn-caption{font-size:12px}.sea-host .classic-controls .classic-action{font-size:13px;padding:7px 9px}.sea-editor{gap:4px}.sea-editor select{font-size:13px;padding:6px}.sea-ship-select{max-width:130px}.sea-coordinate{width:69px}.sea-host .sea-rotate{min-width:62px;padding:6px}}
@media(max-height:480px) and (min-width:681px){.ludo-pawn-palette{width:290px}.race-host .ludo-pawn-button{min-height:44px;flex-direction:row;gap:3px}.ludo-pawn-icon{width:22px;height:27px}.ludo-pawn-caption{font-size:12px;white-space:normal}.sea-editor{width:auto;flex:0 1 390px}.backgammon-board .bg-point{min-height:96px}.backgammon-board .bg-point-art{height:50px}.backgammon-board .classic-legend{margin-bottom:3px}.bg-middle{margin:4px 0}}
