.chess-layout .game-glass-surface,.chess-online-layout .game-glass-surface{min-height:0;height:clamp(500px,76svh,820px);padding:0;border:1px solid rgba(255,220,199,.4);border-radius:26px;background:#16141e;box-shadow:0 22px 55px #30244026;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;isolation:auto}.chess-layout .game-glass-surface:after,.chess-layout .game-glass-surface:before,.chess-online-layout .game-glass-surface:after,.chess-online-layout .game-glass-surface:before{display:none}.chess-board-shell{width:100%;height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.chess-table-toolbar{position:relative;z-index:3;display:flex;align-items:center;gap:8px;padding:16px 18px 0;color:#f9ecd8}.chess-table-title{min-width:0;flex:1;display:grid;gap:2px}.chess-table-title b{font-size:20px;font-weight:950}.chess-table-title span{font-size:11px;line-height:1.7}.chess-table-viewport{min-height:0;min-width:0;position:relative;display:grid;place-items:center;container-type:size}.chess-3d-host{position:absolute;inset:0;touch-action:manipulation}.chess-3d-host canvas{display:block;touch-action:manipulation}.chess-accessible-grid{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.chess-table-viewport .chess-tavern-frame{width:min(90cqw,92cqh,680px);margin:0;padding:12px;border:1px solid #d8b370;border-radius:14px;background:#2c3662 url(/textures/backgammon/case.jpg) 50%/220px;box-shadow:0 12px 0 #202741,0 22px 34px #3b24474d,inset 0 0 0 3px #deb25c55}.chess-tavern-board{border-color:#d6b477;border-radius:4px}.chess-tavern-board button{background-image:url(/textures/backgammon/suede.jpg);background-size:180px}.chess-tavern-board button:nth-child(16n+11),.chess-tavern-board button:nth-child(16n+13),.chess-tavern-board button:nth-child(16n+15),.chess-tavern-board button:nth-child(16n+2),.chess-tavern-board button:nth-child(16n+4),.chess-tavern-board button:nth-child(16n+6),.chess-tavern-board button:nth-child(16n+8),.chess-tavern-board button:nth-child(16n+9){background-image:url(/textures/backgammon/case.jpg)}.chess-tavern-sidecard{background:linear-gradient(150deg,#252d4b,#171e35)!important;border:1px solid #d9b87940!important;color:#f9ecd8!important;box-shadow:0 14px 35px #11182d30}.chess-tavern-sidecard small{color:#c9c4c8!important}.chess-vs-bar{justify-content:center;gap:14px;padding:5px 0}.chess-vs-bar,.chess-vs-card{display:flex;align-items:center}.chess-vs-card{flex-direction:column;gap:4px;flex:1;min-width:0}.chess-vs-frame{position:relative;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#343c5b;box-shadow:0 0 0 2px #c8b07b44,0 6px 16px #070d2355}.chess-vs-inner{position:relative;z-index:1;width:100%;height:100%;display:grid;place-items:center;overflow:hidden;border-radius:inherit}.chess-vs-inner .chess-vs-avatar-image,.chess-vs-inner .chess-vs-player-avatar{width:100%;height:100%;flex:0 0 100%;border:0;border-radius:inherit;box-shadow:none}.chess-vs-avatar-image{display:block;object-fit:contain}.chess-vs-ring{position:absolute;z-index:2;inset:-5px;width:calc(100% + 10px);height:calc(100% + 10px);transform:rotate(-90deg);pointer-events:none}.chess-vs-ring circle{fill:none;stroke-width:3}.chess-vs-ring .track{stroke:#ffffff22}.chess-vs-ring .progress{stroke:#79e2bc;stroke-linecap:round;transition:stroke-dashoffset 1s linear,stroke .3s}.chess-vs-card.warn .chess-vs-ring .progress{stroke:#f7cf7d}.chess-vs-card.danger .chess-vs-ring .progress{stroke:#ff8493}.chess-vs-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#fff0d7}.chess-vs-who{flex:1;min-width:0;display:grid;justify-items:start;align-content:center;gap:1px}.chess-vs-captured{min-height:30px;display:flex;flex-wrap:wrap;gap:4px}.chess-taken{height:30px;padding-inline:4px;display:inline-flex;align-items:center;gap:2px;border-radius:6px;background:#ecd9b4;color:#3b2a1a;font-size:13px;font-weight:900;line-height:1;box-shadow:0 1px 2px #0006}.chess-taken[data-color=white]{background:#9c7147;color:#fff3de}.chess-taken img{flex:none;width:38px;height:38px;max-width:none;margin:-6px -10px -2px;object-fit:contain}.chess-vs-name .online-dot{display:inline-block;width:6px;height:6px;margin-inline-end:4px;border-radius:50%;background:#79e2bc}.chess-vs-clock{font:800 12px monospace;color:#c6c9da}.chess-vs-card.active .chess-vs-clock{color:#79e2bc}.chess-vs-card.warn .chess-vs-clock{color:#f7cf7d}.chess-vs-card.danger .chess-vs-clock{color:#ff8493}.chess-vs-label{color:#e2bc77;font-size:12px;font-weight:900;font-style:italic}.chess-tavern-difficulty button,.chess-tavern-scoreboard>div{background:#ffffff08!important;border-color:#ffffff18!important;color:#d8daeb!important}.chess-tavern-difficulty button.tavern-active{background:#f9cc7924!important;border-color:#e4bd7388!important;color:#ffe2a8!important}.chess-tavern-sidecard [class*=difficultyLabel] span{color:#e0d7d3}.chess-tavern-sidecard [class*=difficultyLabel] svg{color:#e4bd73}.chess-action-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;border:1px solid #d7b77440;border-radius:12px;background:#ffffff07;color:#ecd5aa;font:inherit;cursor:pointer}.chess-action-btn .label{font-size:11px;font-weight:750}.chess-action-btn:focus-visible,.chess-action-btn:hover{background:#d7b77424;outline:2px solid #d7b77488}.chess-action-btn:disabled{opacity:.45;cursor:not-allowed}.chess-move-steps{display:grid;grid-template-columns:1fr 1fr;gap:6px}.table-dock .chess-move-steps{display:flex}@media (max-width:1100px) and (max-height:600px) and (orientation:landscape),(max-width:700px){.chess-page .game-sidebar .chess-tavern-sidecard{position:static;min-height:100%;padding:8px 10px;gap:5px;border:0!important;border-radius:0;box-shadow:none}.chess-page .game-sidebar .chess-panel-status{padding:5px 8px;font-size:12px;line-height:1.5}.chess-page .game-sidebar [class*=difficultyLabel]{display:none}.chess-page .game-sidebar .chess-tavern-difficulty{gap:4px}.chess-page .game-sidebar .chess-tavern-difficulty button{min-height:32px;padding:3px 2px;border-radius:10px}.chess-page .game-sidebar .chess-tavern-scoreboard{gap:4px}.chess-page .game-sidebar .chess-tavern-scoreboard>div{padding:4px;border-radius:10px}.chess-page .game-sidebar .chess-tavern-scoreboard b{font-size:14px}.chess-page .game-sidebar .chess-action-btn{min-height:32px;border-radius:10px}.chess-page .game-sidebar .chess-tavern-scoreboard small{font-size:11px}.chess-board-shell{position:relative;grid-template-rows:minmax(0,1fr)}.chess-table-toolbar{position:absolute;top:5px;left:5px;padding:0;flex-direction:column;align-items:stretch;gap:6px}.chess-3d-host .board-view-controls{flex-direction:column;bottom:6px;inset-inline-start:6px}.chess-3d-host .board-view-controls button{width:38px;height:38px;border-radius:12px}.game-screen[data-table=landscape] .chess-table-toolbar .table-menu{position:static}.game-screen[data-table=landscape] .chess-table-toolbar .table-menu .game-menu-panel{top:0;left:calc(100% + 8px)}.chess-table-title{display:none}.chess-table-title b{font-size:16px}.chess-table-title span{font-size:12px}.chess-vs-bar{padding:0;gap:8px}.chess-vs-card{gap:2px}.chess-vs-frame{width:32px;height:32px}.chess-vs-clock,.chess-vs-name{font-size:10px}}@media (max-width:1100px) and (max-height:600px) and (orientation:landscape){.chess-page .game-sidebar .chess-tavern-sidecard{padding:12px;gap:10px}}@media (prefers-reduced-motion:reduce){.chess-vs-ring .progress{transition:none}}.chess-panel-status{margin:0;padding:8px 10px;color:#ffe2ad;background:#d9b87912;border-radius:10px;font-size:11px;line-height:1.7}.chess-board-shell{position:relative;background:#101725;border-radius:22px}.chess-board-shell[data-skin=walnut]{background:#2b1d16 url(/textures/backgammon/persian-walnut.webp) 50%/cover}.chess-board-shell .chess-vs-bar{position:absolute;inset:62px 18px 8px;display:contents}.chess-board-shell .chess-vs-label{display:none}.chess-board-shell .chess-vs-card{position:absolute;z-index:1;left:6%;top:65px;width:min(350px,70%);flex-direction:row;gap:14px;padding:8px 16px;border:1px solid #c8b07b44;border-radius:18px;background:#121b2bed}.chess-board-shell .chess-vs-card:last-child{top:auto;bottom:8px;left:auto;right:6%}.chess-board-shell .chess-vs-frame{width:38px;height:38px;flex-shrink:0}.chess-board-shell .chess-vs-name{font-size:14px}.chess-board-shell .chess-vs-clock{font-size:25px;min-width:40px}.chess-board-shell .chess-table-viewport{margin:66px 6px}.chess-table-title span{font-size:13px}.chess-board-shell[data-skin=walnut] .chess-tavern-frame{background-image:url(/textures/backgammon/persian-walnut.webp)}.chess-board-shell[data-skin=walnut] .chess-tavern-board button{background-image:url(/textures/backgammon/persian-walnut.webp);background-color:#f1d9b1;background-blend-mode:soft-light}.chess-board-shell[data-skin=walnut] .chess-tavern-board button:nth-child(16n+11),.chess-board-shell[data-skin=walnut] .chess-tavern-board button:nth-child(16n+13),.chess-board-shell[data-skin=walnut] .chess-tavern-board button:nth-child(16n+15),.chess-board-shell[data-skin=walnut] .chess-tavern-board button:nth-child(16n+2),.chess-board-shell[data-skin=walnut] .chess-tavern-board button:nth-child(16n+4),.chess-board-shell[data-skin=walnut] .chess-tavern-board button:nth-child(16n+6),.chess-board-shell[data-skin=walnut] .chess-tavern-board button:nth-child(16n+8),.chess-board-shell[data-skin=walnut] .chess-tavern-board button:nth-child(16n+9){background-color:#684331}@media (max-width:1100px) and (max-height:600px) and (orientation:landscape),(max-width:700px){.chess-board-shell .chess-table-viewport{margin:42px 0}.chess-board-shell .chess-vs-card{top:3px;left:65px;width:min(280px,calc(100% - 120px));padding:3px 10px;gap:8px;border-radius:10px}.chess-board-shell .chess-vs-card:last-child{top:auto;bottom:3px;right:12%}.chess-board-shell .chess-vs-frame{width:26px;height:26px}.chess-board-shell .chess-vs-clock{font-size:18px}.chess-board-shell .chess-vs-name{font-size:12px}}body .chess-board-shell{background:#101725}body .chess-board-shell[data-skin=walnut]{background:#493125 url(/textures/backgammon/persian-walnut.webp) 50%/cover;background-blend-mode:multiply}@media (min-width:1101px),(min-width:701px) and (min-height:601px){.chess-board-shell{grid-template-rows:minmax(0,1fr)}.chess-board-shell .chess-table-toolbar{position:absolute;inset:8px 0 auto;padding-top:0}.chess-board-shell .chess-vs-card:first-child{top:8px;left:35%;width:280px}.chess-board-shell .chess-table-viewport{margin-top:68px}}body .chess-board-shell[data-skin=walnut]{background:radial-gradient(ellipse at 50% 42%,#39332b 0,#211e1b 58%,#121416 100%)}.chess-move-history{min-width:0}.chess-move-history h2{margin:0;padding:0 0 16px;border-bottom:1px solid #d1d9ef24;color:#f4f0e6;font-size:18px}.chess-move-scroll{max-height:320px;overflow-y:auto;overscroll-behavior:contain}.chess-move-history table{width:100%;border-collapse:collapse;font:15px/1.5 ui-monospace,monospace;color:#f3eee4;text-align:center}.chess-move-history th{font-weight:400;color:#9eaac1}.chess-move-history td,.chess-move-history th{padding:12px 4px;border-bottom:1px solid #ffffff09}.chess-side-settings{border:1px solid #d6c29b30;border-radius:12px;padding:10px}.chess-side-settings summary{min-height:28px;font-size:14px;cursor:pointer;color:#e7dbc7}.chess-side-settings[open]>div{margin-top:12px}.chess-board-shell .chess-vs-card{border-color:#8795b64d;background:#101723ed}.chess-board-shell .chess-vs-card.active{border-color:#c9ac65}.chess-board-shell .chess-vs-clock{padding:6px 16px;border:1px solid #8b9db459;border-radius:10px;background:#090f1c;font-family:ui-monospace,monospace;font-weight:700;font-variant-numeric:tabular-nums;direction:ltr}.chess-board-shell .chess-vs-card.active .chess-vs-clock{color:#fff2d2}.chess-tavern-sidecard{background:#111a2a!important}@media (min-width:1101px),(min-width:701px) and (min-height:601px){.chess-page :is(.chess-layout,.chess-online-layout) .game-glass-surface{border:0;box-shadow:none;background:transparent}.chess-board-shell{border-radius:0}body .chess-board-shell[data-skin=navy]{background:#0e1523}.chess-board-shell .chess-vs-card:first-child{left:5%;top:8px;width:410px;padding:9px 16px}.chess-board-shell .chess-vs-card:last-child{right:12%;bottom:0;width:410px}.chess-board-shell .chess-vs-name{font-size:17px}.chess-board-shell .chess-vs-frame{width:48px;height:48px}.chess-board-shell .chess-vs-clock{font-size:27px}.chess-board-shell .chess-table-toolbar{right:10px;left:auto;width:auto;flex-direction:row-reverse}.chess-table-toolbar .table-menu .game-menu-panel{left:auto;right:0}.chess-table-title{display:none}.chess-board-shell .chess-table-viewport{margin:54px 0 57px}.chess-page .chess-tavern-sidecard{padding:22px 18px;border-radius:22px;gap:18px}.chess-page .chess-action-btn .label{font-size:14px}}@media (max-width:1100px) and (max-height:600px) and (orientation:landscape),(max-width:700px){.chess-move-history h2{font-size:13px;padding-bottom:6px}.chess-move-scroll{max-height:100px}.chess-move-history td,.chess-move-history th{padding:4px;font-size:12px}.chess-side-settings{padding:5px 8px}.chess-board-shell .chess-vs-clock{font-size:16px;padding:1px 6px;border-radius:5px}}.chess-board-shell[data-skin=flat]{--flat-bg:#302e2b;grid-template-rows:auto auto minmax(0,1fr) auto;border-radius:0}body .chess-board-shell[data-skin=flat]{background:var(--flat-bg)}.chess-board-shell[data-skin=flat] .chess-table-toolbar{position:relative;z-index:6;inset:auto;padding:10px 14px 0;flex-direction:row}.chess-board-shell[data-skin=flat] .chess-vs-bar{display:contents}.chess-board-shell[data-skin=flat] .chess-vs-card{position:static;width:min(100%,720px);margin-inline:auto;padding:8px 16px;border:0;border-radius:0;background:none;flex-direction:row;gap:12px}.chess-board-shell[data-skin=flat] .chess-vs-card:first-child{order:1}.chess-board-shell[data-skin=flat] .chess-table-viewport{order:2;margin:0}.chess-board-shell[data-skin=flat] .chess-vs-card:last-child{order:3}.chess-board-shell[data-skin=flat] .chess-vs-frame{width:44px;height:44px;border-radius:6px;background:#e8e6e3;box-shadow:none}.chess-board-shell[data-skin=flat] .chess-vs-name{font-size:15px;color:#e8e6e3}.chess-board-shell[data-skin=flat] .chess-vs-clock{min-width:96px;padding:8px 14px;border:0;border-radius:6px;background:#3c3a37;color:#8b8987;font-size:24px;text-align:center}.chess-board-shell[data-skin=flat] .chess-vs-card.active .chess-vs-clock{background:#f0f0f0;color:#262421}.chess-board-shell[data-skin=flat] .chess-vs-card:last-child.active .chess-vs-clock{background:#1a1917;color:#f0f0f0}.chess-board-shell[data-skin=flat] .chess-vs-card.danger .chess-vs-clock{color:#e04a4a}.chess-board-shell[data-skin=flat] .chess-table-viewport .chess-tavern-frame{width:min(100cqw,100cqh,720px);padding:0;border:0;border-radius:0;background:none;box-shadow:none}.chess-board-shell[data-skin=flat] .chess-tavern-board{border:0;border-radius:0;box-shadow:none}.chess-board-shell[data-skin=flat] .chess-tavern-board button{background:repeating-linear-gradient(94deg,#0000 0 3px,#00000009 3px 5px,#0000 5px 13px),#e9d3ad}.chess-board-shell[data-skin=flat] .chess-tavern-board button[class*=dark]{background:repeating-linear-gradient(94deg,#0000 0 3px,#0000000d 3px 5px,#0000 5px 13px),#b0875a}.chess-board-shell[data-skin=flat] .chess-tavern-board button:is([class*=selected],[class*=lastMove]){box-shadow:inset 0 0 0 999px #ffff3380}.chess-board-shell[data-skin=flat] .chess-tavern-board button[class*=checked]{box-shadow:inset 0 0 0 999px #e0404080}.chess-board-shell[data-skin=flat] .chess-tavern-board button[class*=legal]:after{width:32%;border:0;background:#00000024}.chess-board-shell[data-skin=flat] .chess-tavern-board button[class*=capture]:after{width:100%;border:max(5px,.5vw) solid #00000024;background:none;box-sizing:border-box}.chess-board-shell[data-skin=flat] .chess-tavern-board [class*=file],.chess-board-shell[data-skin=flat] .chess-tavern-board [class*=rank]{color:#b0875a;font-size:clamp(9px,1.1vw,12px);top:3px;left:4px}.chess-board-shell[data-skin=flat] .chess-tavern-board [class*=file]{top:auto;left:auto;right:4px;bottom:2px}.chess-board-shell[data-skin=flat] .chess-tavern-board [class*=dark] :is([class*=rank],[class*=file]){color:#e9d3ad}.chess-board-shell[data-skin=flat] [data-piece]{width:100%;height:100%;transform:none;background:50%/contain no-repeat}.chess-board-shell[data-skin=flat] [data-piece] svg{display:none}.chess-board-shell[data-skin=flat] [data-piece=white-king]{background-image:url(/textures/chess/pieces/white-king.webp)}.chess-board-shell[data-skin=flat] [data-piece=white-queen]{background-image:url(/textures/chess/pieces/white-queen.webp)}.chess-board-shell[data-skin=flat] [data-piece=white-rook]{background-image:url(/textures/chess/pieces/white-rook.webp)}.chess-board-shell[data-skin=flat] [data-piece=white-bishop]{background-image:url(/textures/chess/pieces/white-bishop.webp)}.chess-board-shell[data-skin=flat] [data-piece=white-knight]{background-image:url(/textures/chess/pieces/white-knight.webp)}.chess-board-shell[data-skin=flat] [data-piece=white-pawn]{background-image:url(/textures/chess/pieces/white-pawn.webp)}.chess-board-shell[data-skin=flat] [data-piece=black-king]{background-image:url(/textures/chess/pieces/black-king.webp)}.chess-board-shell[data-skin=flat] [data-piece=black-queen]{background-image:url(/textures/chess/pieces/black-queen.webp)}.chess-board-shell[data-skin=flat] [data-piece=black-rook]{background-image:url(/textures/chess/pieces/black-rook.webp)}.chess-board-shell[data-skin=flat] [data-piece=black-bishop]{background-image:url(/textures/chess/pieces/black-bishop.webp)}.chess-board-shell[data-skin=flat] [data-piece=black-knight]{background-image:url(/textures/chess/pieces/black-knight.webp)}.chess-board-shell[data-skin=flat] [data-piece=black-pawn]{background-image:url(/textures/chess/pieces/black-pawn.webp)}@media (min-width:1101px),(min-width:701px) and (min-height:601px){.chess-board-shell[data-skin=flat]{grid-template-rows:auto auto minmax(0,1fr) auto}.chess-board-shell[data-skin=flat] .chess-table-toolbar{position:relative;width:auto}.chess-board-shell[data-skin=flat] .chess-vs-card:first-child,.chess-board-shell[data-skin=flat] .chess-vs-card:last-child{left:auto;right:auto;top:auto;bottom:auto;width:min(100%,720px,max(442px,100svh - 302px));padding:8px 0}.chess-board-shell[data-skin=flat] .chess-table-viewport{margin:0}.chess-page :is(.chess-layout,.chess-online-layout):has(.chess-board-shell[data-skin=flat]) .game-glass-surface{background:var(--flat-bg,#302e2b)}}@media (max-width:1100px) and (max-height:600px) and (orientation:landscape),(max-width:700px){.chess-board-shell[data-skin=flat] .chess-table-toolbar{position:relative;padding:6px 8px 0;flex-direction:row;align-items:center}.chess-board-shell[data-skin=flat] .chess-vs-card{padding:6px 10px}.chess-board-shell[data-skin=flat] .chess-vs-frame{width:36px;height:36px}.chess-board-shell[data-skin=flat] .chess-vs-name{font-size:13px}.chess-board-shell[data-skin=flat] .chess-vs-clock{min-width:76px;padding:4px 10px;font-size:18px}.chess-board-shell[data-skin=flat] .chess-table-viewport .chess-tavern-frame{width:min(100cqw,100cqh)}.chess-page :is(.chess-layout,.chess-online-layout):has(.chess-board-shell[data-skin=flat]) .game-glass-surface{border-radius:0;background:#302e2b}}.chess-board-shell{--hud-pill:#111b2b;--hud-ink:#f9ecd8;--hud-muted:#b9b3aa;--hud-accent:#e4bd73;--hud-on-accent:#241c11;--hud-soft:#ffffff0b;--hud-line:#d9b87966;--hud-shadow:0 8px 22px #0007}.chess-board-shell[data-skin=walnut]{--hud-pill:#2a1c15;--hud-soft:#ffffff0d}.chess-board-shell[data-skin=flat]{--hud-pill:#262522;--hud-ink:#e8e6e3;--hud-muted:#a4a19d;--hud-accent:#e9d3ad;--hud-on-accent:#262421;--hud-soft:#ffffff0d;--hud-line:#ffffff1f}.chess-table-toolbar .game-menu-panel{box-shadow:0 18px 45px #0009}.chess-table-toolbar .game-mode-mini{border-color:var(--hud-line);background:var(--hud-soft)}.chess-table-toolbar .game-mode-mini button{color:var(--hud-muted)}.chess-table-toolbar .game-mode-mini button.active{background:var(--hud-accent);color:var(--hud-on-accent);box-shadow:none}.chess-table-toolbar .guide-icon{color:var(--hud-on-accent)}.chess-table-toolbar [class*=difficultyLabel] svg{color:var(--hud-accent)}.game-screen[data-table=portrait] .game-table:is(.chess-layout,.chess-online-layout){position:fixed;z-index:5;inset:0;width:auto;max-width:none;margin:0;display:flex;gap:8px;padding:max(8px,var(--safe-top)) max(8px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))}body:has(.game-screen[data-table] .chess-board-shell){overflow:hidden}.game-screen[data-table] .game-table:is(.chess-layout,.chess-online-layout){background:#11172b}.game-screen[data-table] .game-table:has(.chess-board-shell[data-skin=flat]){background:#302e2b}.game-screen[data-table] .chess-layout>.game-glass-surface,.game-screen[data-table] .chess-online-layout>div:first-child{flex:1 1 0;min-width:0;min-height:0;height:100%}.game-screen[data-table] :is(.chess-layout,.chess-online-layout) .game-glass-surface{height:100%;min-height:0;border-radius:18px}.game-screen[data-table=portrait] :is(.chess-layout,.chess-online-layout)>.game-sidebar{position:static;flex:0 0 clamp(176px,26vw,230px);width:auto;min-width:0;height:100%;max-height:none;min-height:0;margin:0;padding:0;display:block;overflow-y:auto;overscroll-behavior:contain;border:1px solid #d9b87935;border-radius:18px;background:#1c243d}@media (min-width:1000px) and (min-height:560px){.game-screen[data-table=portrait] :is(.chess-layout,.chess-online-layout)>.game-sidebar{flex-basis:300px}}.game-screen[data-table] .game-table:has(.chess-board-shell[data-skin=flat])>.game-sidebar{border-color:#ffffff14;background:#262522}.chess-board-shell .table-dock .table-status{max-width:170px;padding:6px 10px;border:1px solid var(--hud-line);border-radius:12px;background:var(--hud-pill);color:var(--hud-ink);pointer-events:none}.chess-menu-info{display:grid;gap:8px}.chess-menu-info .chess-move-history h2{padding-bottom:6px;font-size:13px}.chess-menu-info .chess-move-scroll{max-height:180px}.chess-menu-info .chess-move-history :is(td,th){padding:4px;font-size:12px}@media (orientation:portrait){.game-screen[data-table=portrait] .game-table:is(.chess-layout,.chess-online-layout){flex-direction:column;align-items:stretch;gap:0;padding:var(--safe-top) 0 env(safe-area-inset-bottom,0)}.game-screen[data-table=portrait] .chess-layout>.game-glass-surface,.game-screen[data-table=portrait] .chess-online-layout>div:first-child{flex:0 0 auto;height:auto}.game-screen[data-table=portrait] :is(.chess-layout,.chess-online-layout) .game-glass-surface{height:auto;border:0;border-radius:0}.game-screen[data-table=portrait] :is(.chess-layout,.chess-online-layout)>.game-sidebar{flex:1 1 0;height:auto;border-width:1px 0 0;border-radius:0}.game-screen[data-table=portrait] .chess-board-shell{grid-template-rows:auto auto minmax(0,1fr) auto;border-radius:0}.game-screen[data-table=portrait] .chess-table-toolbar{position:relative;inset:auto;z-index:6;padding:6px 8px 0;flex-direction:row;align-items:center}.game-screen[data-table=portrait] .chess-table-title{display:grid}.game-screen[data-table=portrait] .chess-panel-status{display:none}.game-screen[data-table=portrait] .chess-table-toolbar .table-menu .game-menu-panel{left:0;right:auto}.game-screen[data-table=portrait] .chess-vs-bar{display:contents}.game-screen[data-table=portrait] .chess-board-shell .chess-vs-card{position:static;order:1;width:auto;margin:6px 8px 0;padding:6px 10px}.game-screen[data-table=portrait] .chess-board-shell .chess-vs-card:last-child{order:3;margin:0 8px 6px}.game-screen[data-table=portrait] .chess-board-shell .chess-table-viewport{order:2;aspect-ratio:1;width:min(100%,62svh);margin:6px auto}.game-screen[data-table=portrait] .chess-table-viewport .chess-tavern-frame{width:100%}}.chess-board-shell .chess-table-toolbar{padding-inline:calc(var(--bar-start) - 8px) calc(var(--bar-end) - 8px)}@media (max-width:1100px) and (max-height:600px) and (orientation:landscape),(max-width:700px){.game-screen[data-table=landscape] .chess-board-shell:not([data-skin=flat]) .chess-table-toolbar{top:58px;padding-inline:0}}@media (min-width:1101px),(min-width:701px) and (min-height:601px){.game-screen[data-table=landscape] .chess-board-shell:not([data-skin=flat]) .chess-table-toolbar{right:var(--bar-start);padding-inline:0}}@media (orientation:landscape) and (max-height:600px){.game-screen .game-table:is(.chess-layout,.chess-online-layout):not(:has(.chess-3d-host)){padding-top:max(62px,calc(var(--safe-top) + 54px))}}