/* A warm, quiet Xiangqi lounge inside the classic messenger shell. */
.workspace.game-mode{grid-template-columns:263px minmax(0,1fr)}.workspace.game-mode>.details-panel{display:none}.game-shell{flex:1;min-height:0;display:flex;flex-direction:column;min-width:0;background:var(--paper);overflow:hidden}.game-topbar{height:70px;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:0 25px}.game-topbar>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}.game-topbar .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:4px}.game-topbar h1{font-size:15px;font-weight:650;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.game-mark{width:36px;height:36px;border:1px solid #dbcdb5;border-radius:50%;display:grid;place-items:center;background:#fbf1d9;color:#8e6750;font:24px Georgia,"Times New Roman",serif}.game-top-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.game-top-actions>.text-button{display:flex;align-items:center;gap:6px;font-size:10px}.game-top-actions>.text-button svg{width:14px;height:14px}.game-top-actions>.icon-button{font-size:19px}.game-top-actions .secondary-button{font-size:10px;min-height:31px;padding:6px 10px;gap:6px}.game-top-actions .secondary-button svg{width:14px;height:14px}.game-lobby-scroll,.game-table-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain}.game-lobby-scroll{padding:28px 34px 35px}.game-lounge-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 29px}.game-lounge-intro h2{font-size:27px;line-height:1.35;letter-spacing:-.7px;font-weight:500;max-width:470px}.game-lounge-intro p{font-size:11px;line-height:1.9;color:var(--muted);max-width:480px;margin-top:10px}.lounge-pieces{position:relative;width:140px;height:90px;flex-shrink:0}.mini-piece{position:absolute;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;border:1px solid #d3bba0;box-shadow:0 3px 0 #d9c2a5,inset 0 0 0 4px #fff9e9,inset 0 0 0 5px #cdb394;background:#f7e9cb;font:38px Georgia,"Songti SC",SimSun,serif}.mini-piece.black{left:8px;top:0;color:#655247;transform:rotate(-13deg)}.mini-piece.red{right:4px;top:25px;color:#b35650;transform:rotate(12deg)}.lounge-pieces i{position:absolute;right:3px;top:-11px;font-style:normal;font-size:26px;color:#b9a3cc}.game-create-form{border:1px solid var(--line);background:var(--panel);border-radius:11px;padding:20px}.game-create-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.game-create-heading h3{font-size:12px;font-weight:650}.game-create-heading>span{font-size:9px;color:var(--muted)}.game-modes{margin:0;padding:0;border:0;display:flex;gap:9px;min-width:0}.game-mode-choice{display:flex;align-items:center;gap:9px;flex:1;min-width:0;border:1px solid var(--line);background:var(--paper);border-radius:7px;padding:12px 11px;text-align:left;position:relative}.game-mode-choice>svg{width:18px;height:18px;color:#a48cb7}.game-mode-choice>span{flex:1;min-width:0}.game-mode-choice strong{display:block;font-size:10px;font-weight:650}.game-mode-choice small{display:block;font-size:8px;color:var(--muted);margin-top:4px;line-height:1.5}.game-mode-choice>i{width:10px;height:10px;min-width:10px;border:1px solid #d4c7df;border-radius:50%;margin-left:0}.game-mode-choice.selected{border-color:#bba1d1;background:var(--soft)}.game-mode-choice.selected>i{background:var(--purple);border:2px solid var(--paper);box-shadow:0 0 0 1px var(--purple)}.game-mode-choice:hover{border-color:#bba1d1}.game-create-controls{display:flex;align-items:flex-end;gap:17px;padding-top:19px}.game-name-label{flex:1;min-width:100px;display:block;font-size:10px;font-weight:600}.game-name-label small{font-size:9px;font-weight:400;color:var(--muted)}.game-name-label input{font-size:11px!important;padding:9px 10px!important;margin-top:6px;height:36px}.game-side-choice{flex-shrink:0}.game-side-choice>span{font-size:10px;display:block;margin-bottom:6px;font-weight:600}.game-side-choice>div{display:flex;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--paper);height:36px}.game-side-choice button{display:flex;align-items:center;gap:5px;padding:6px 10px;font-size:10px;min-width:63px;justify-content:center}.game-side-choice button.selected{background:var(--soft);box-shadow:inset 0 -2px 0 var(--purple)}.game-create-controls>.primary-button{height:36px;min-height:36px;font-size:10px;padding:8px 13px;gap:15px;flex-shrink:0}.side-dot{display:inline-block;width:6px;height:6px;min-width:6px;border-radius:50%;background:#73665f}.side-dot.red{background:#b66a63}.side-dot.black{background:#6a625c}.game-lobby-list{margin-top:31px}.game-list-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.game-list-heading h3{font-size:13px;font-weight:600;display:flex;align-items:center;gap:10px}.game-list-heading h3>span{font-size:9px;color:var(--muted);font-weight:400}.game-filters{display:flex;gap:4px;border-bottom:1px solid var(--line);padding-bottom:9px;margin-bottom:3px}.game-filters button{font-size:9px;color:var(--muted);padding:5px 10px;border-radius:5px}.game-filters button.active{color:var(--purple);background:var(--soft);font-weight:600}.game-room-row{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:16px 0}.game-row-mark{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#f3eadb;color:#9c8063;font:23px Georgia,"Songti SC",SimSun,serif;flex-shrink:0}.game-row-mark.active{background:#e7eee8;color:#789482}.game-row-mark.finished{background:var(--soft);color:#a491b4}.game-row-copy{min-width:0;flex:1}.game-row-copy h4{font-size:11px;font-weight:650;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-row-copy p{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:5px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:360px}.game-row-copy>small{font-size:8px;color:#a797b2;display:block;margin-top:3px}.game-versus{font-size:8px;color:#b1a6ba;padding:0 2px}.game-row-state{display:flex;flex-direction:column;gap:6px;align-items:flex-start;min-width:110px}.game-status-tag{display:inline-flex;align-items:center;gap:5px;font-size:8px;color:#9e8e69;background:#faf4e6;border-radius:4px;padding:3px 6px;white-space:nowrap}.game-status-tag>i{width:4px;height:4px;border-radius:50%;background:currentColor}.game-status-tag.active{background:#edf5ef;color:#6b947f}.game-status-tag.finished{background:var(--soft);color:#9e8eaf}.game-row-state>small{font-size:8px;color:var(--muted);display:flex;align-items:center;gap:5px;padding-left:3px}.game-row-state>small svg{width:12px;height:12px}.game-room-row>.secondary-button{font-size:9px;min-height:30px;padding:6px 10px;flex-shrink:0;gap:5px}.game-room-row>.secondary-button svg{width:12px;height:12px}.game-empty{padding:35px 20px 28px;text-align:center}.empty-table-mark{display:inline-flex;width:42px;height:42px;border:1px dashed #d8c9b7;border-radius:50%;align-items:center;justify-content:center;font:26px Georgia,"Songti SC",SimSun,serif;color:#c1aa8d;margin-bottom:15px}.game-empty p{font-size:12px;color:var(--muted)}.game-empty small{display:block;font-size:10px;color:#a699af;margin-top:7px;line-height:1.8}.game-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;gap:18px;padding:30px}.game-loading>svg{width:36px;height:36px;color:#b3a0c3}.game-loading>p{font-size:12px;color:var(--muted);text-align:center}.game-table-title>div{min-width:0}.game-table-title .eyebrow span{color:#b6a7c2;letter-spacing:0}.back-arrow{font-size:22px}.game-play-layout{display:flex;justify-content:center;align-items:flex-start;gap:25px;padding:21px 24px 23px;max-width:1060px;margin:auto}.game-stage{min-width:0;width:min(100%,550px,max(360px,calc((100dvh - 470px)*.9)));flex-shrink:0}.game-turn-banner{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 0 12px;min-height:33px}.game-turn-banner>span{display:flex;align-items:center;gap:6px}.game-turn-banner strong{font-size:12px;font-weight:600}.game-turn-banner>small{font-size:9px;color:var(--muted)}.game-turn-banner b{font-size:8px;text-transform:uppercase;color:#ac5c56;background:#f8e5e1;border-radius:4px;padding:3px 5px;letter-spacing:.5px}.game-turn-banner.is-finished strong{color:var(--purple)}.game-player-strip{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;margin-bottom:11px;background:var(--panel);min-height:53px}.game-stage>.game-player-strip{margin:0 0 11px}.game-stage>.xq-board+.game-player-strip{margin:11px 0 0}.game-player-strip.has-turn{border-color:#d2bedf}.player-piece{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border:1px solid #d8c5a9;box-shadow:inset 0 0 0 2px #fbf5e9;background:#f6ecd8;font:22px Georgia,"Songti SC",SimSun,serif;border-radius:50%;color:#65574d;flex-shrink:0}.player-piece.red{color:#af5d55}.game-player-copy{flex:1;min-width:0}.game-player-copy strong{display:block;font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-player-copy strong small{color:var(--muted);font-size:9px;font-weight:400}.game-player-copy>span{display:flex;align-items:center;gap:5px;font-size:8px;color:var(--muted);margin-top:3px}.game-player-strip .primary-button{font-size:9px;min-height:28px;padding:5px 9px;flex-shrink:0}.player-turn-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px #83a48d13;margin-right:4px}.xq-board{container-type:inline-size;position:relative;aspect-ratio:9/10;width:100%;border:1px solid #d8c19a;border-radius:5px;background:#fbf1db;box-shadow:0 3px 0 #e8d5b3;overflow:hidden}.xq-lines{position:absolute;inset:0;width:100%;height:100%;stroke:#bea27d;stroke-width:1.5;stroke-linecap:square;stroke-linejoin:miter;fill:none}.xq-lines .xq-markers{stroke:#ceb899;stroke-width:1.25}.xq-lines text{fill:#b69a76;stroke:none;font:36px Georgia,"Songti SC",SimSun,serif;letter-spacing:10px}.xq-cells{position:absolute;inset:0}.xq-cell{position:absolute;left:calc(var(--column)*100%/9);top:calc(var(--row)*10%);width:calc(100%/9);height:10%;display:flex;align-items:center;justify-content:center;padding:0;border-radius:4px;transition:background .12s;z-index:1}.xq-cell:hover{background:#cbb58624}.xq-cell:focus-visible{outline:2px solid #9375ab;outline-offset:-2px;z-index:4}.xq-cell[aria-disabled=true]{cursor:default}.xq-piece{width:82%;aspect-ratio:1;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff8e7;color:#655449;border:1px solid #bda381;box-shadow:0 2px 0 #c6ad8c,inset 0 0 0 3px #fff8e7,inset 0 0 0 4px #cdb697;font-family:Georgia,"Noto Serif CJK SC","Songti SC",SimSun,serif;font-size:clamp(16px,6cqw,33px);line-height:1;user-select:none}.xq-piece.red{color:#ac554d;border-color:#c6957e;box-shadow:0 2px 0 #c6a48b,inset 0 0 0 3px #fff8e7,inset 0 0 0 4px #d1a28d}.xq-cell.selected{background:#a38bb047}.xq-cell.selected .xq-piece{outline:2px solid #8865a1;outline-offset:2px;box-shadow:0 2px 0 #bfa780,inset 0 0 0 3px #fff8e7,inset 0 0 0 4px #cdb697}.xq-cell.last-move{background:#cfa25423}.xq-cell.last-move:after{content:"";position:absolute;width:10%;height:10%;border-radius:50%;background:#b6975d;right:4%;bottom:3%;z-index:2}.xq-legal-mark{position:absolute;width:17%;height:17%;border-radius:50%;background:#8b6da5;box-shadow:0 0 0 4px #9578a721}.xq-cell.has-piece .xq-legal-mark{width:91%;height:91%;background:transparent;border:2px solid #9470ac;border-radius:50%;box-shadow:0 0 0 3px #967aab18}.xq-cell.legal{cursor:pointer}.game-board-toolbar{display:flex;align-items:center;justify-content:center;gap:17px;padding:13px 0 9px}.game-board-toolbar .text-button{font-size:9px;font-weight:500;color:var(--muted);white-space:nowrap}.game-board-hint{font-size:9px;line-height:1.8;text-align:center;color:#9c8aab;max-width:430px;margin:auto}.game-table-sidebar{width:225px;min-width:190px;flex-shrink:1;border-left:1px solid var(--line);padding-left:22px;margin-top:4px}.game-side-section{padding:0 0 19px;margin:0 0 19px;border-bottom:1px solid var(--line)}.game-side-section h3{font-size:10px;font-weight:650;margin:0 0 12px;display:flex;align-items:center;gap:7px}.game-side-section h3>small{font-size:8px;color:#aa98b6;font-weight:400;margin-left:auto;white-space:nowrap}.game-about>p{font-size:10px;line-height:1.9;color:var(--muted)}.game-match-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:14px}.game-match-actions .secondary-button{font-size:9px;min-height:30px;padding:6px 9px;gap:6px}.game-match-actions svg{width:13px;height:13px}.game-match-actions .text-button{font-size:9px;font-weight:500}.game-resign{color:#ac7a81}.game-move-list{max-height:230px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px}.game-move-row{display:flex;align-items:center;gap:9px;font-size:10px;padding:6px 0;border-bottom:1px solid var(--line);min-height:31px}.game-move-row:last-child{border:0}.move-number{color:#b2a1be;font-size:8px;width:18px;text-align:right;flex-shrink:0}.move-piece{font:18px Georgia,"Songti SC",SimSun,serif;color:#746458;min-width:20px}.game-move-row.red .move-piece{color:#b96d62}.move-coordinate{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.move-coordinate>i{font-style:normal;color:#b9a9c4;margin:0 2px}.move-capture{font:12px Georgia,serif;color:#b0a0b9;margin-left:auto;white-space:nowrap}.game-move-row>b{color:#b96d62;margin-left:auto}.game-side-empty{font-size:10px;line-height:1.8;color:#ab9bb6;padding:5px 0}.game-audience h3>svg{width:14px;height:14px;color:#ac98bd}.game-audience h3>span{margin-left:auto;font-size:9px;color:var(--muted);font-weight:400}.game-watcher{display:flex;align-items:center;gap:7px;padding:5px 0;font-size:10px}.game-watcher>.avatar{width:23px;height:23px;font-size:14px;border-radius:6px}.game-watcher>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.game-watcher>small{font-size:8px;color:var(--muted)}.game-connection{font-size:8px;color:#b1a1bb;line-height:1.8}.game-draw-banner{background:var(--soft);border:1px solid var(--soft-strong);border-radius:7px;padding:10px 12px;font-size:10px;color:var(--purple);margin-bottom:12px;display:flex;align-items:center;gap:10px;justify-content:space-between}.game-draw-banner>div{display:flex;gap:6px;flex-shrink:0}.game-draw-banner button{font-size:8px;min-height:27px;padding:5px 8px}.game-rules-list{list-style:none;margin:0 0 20px;padding:0}.game-rules-list>li{display:flex;align-items:flex-start;gap:11px;padding:10px 0;border-bottom:1px solid var(--line)}.rules-piece{font:23px Georgia,"Songti SC",SimSun,serif;color:#b47866;width:27px;text-align:center;flex-shrink:0}.game-rules-list p{font-size:11px;line-height:1.8;color:var(--muted)}.game-rules-list+.hint-box p+p{margin-top:11px}.game-share-link{font-size:11px}.game-table-title .icon-button{flex-shrink:0}.game-turn-banner strong,.game-topbar h1{overflow-wrap:anywhere}
[data-theme=night] .game-mark,[data-theme=night] .game-row-mark{background:#514633;color:#d2b28c;border-color:#7e6b4f}[data-theme=night] .game-row-mark.active{background:#3d5143;color:#a0b8a6}[data-theme=night] .game-row-mark.finished{background:#4d3d5b;color:#b6a3c6}[data-theme=night] .game-status-tag{background:#504632;color:#d3b87f}[data-theme=night] .game-status-tag.active{background:#364d3e;color:#a0c3ad}[data-theme=night] .game-status-tag.finished{background:#4d3d5b;color:#bea4d0}[data-theme=night] .game-mode-choice.selected{border-color:#8b6d9f}[data-theme=night] .game-player-strip.has-turn{border-color:#8b6d9f}[data-theme=night] .side-dot.black{background:#b7aaa0}[data-theme=night] .game-turn-banner b{background:#5b383f;color:#e4a5a1}
@media(min-width:1500px){.workspace.game-mode{grid-template-columns:290px minmax(0,1fr)}.game-lobby-scroll{padding:33px 42px}.game-lounge-intro h2{font-size:31px}.game-mode-choice strong{font-size:11px}.game-mode-choice small{font-size:9px}.game-table-sidebar{width:240px}.game-play-layout{gap:34px;padding-top:24px}}
@media(max-width:1150px){.workspace.game-mode{grid-template-columns:240px minmax(0,1fr)}.game-lobby-scroll{padding:24px}.game-create-controls{gap:12px}.game-mode-choice{padding:11px 9px;gap:6px}.game-mode-choice>svg{width:15px;height:15px}.game-mode-choice small{font-size:7px}.game-mode-choice strong{font-size:9px}.game-play-layout{padding:17px;gap:18px}.game-table-sidebar{width:185px;min-width:160px;padding-left:17px}.game-stage{width:min(calc(100% - 180px),500px,max(340px,calc((100dvh - 470px)*.9)))}.game-turn-banner>small{font-size:8px}.game-turn-banner strong{font-size:11px}.game-topbar{padding:0 18px}.game-board-toolbar{gap:11px}.game-board-toolbar .text-button{font-size:8px}.game-row-state{min-width:95px}.game-room-row{gap:11px}.game-row-copy p{max-width:250px}}
@media(max-width:900px){.game-mode-choice>svg{display:none}.game-create-controls{flex-wrap:wrap}.game-name-label{flex:1 1 100%}.game-create-controls>.primary-button{margin-left:auto}.game-lounge-intro{gap:10px}.game-lounge-intro h2{font-size:24px}.lounge-pieces{transform:scale(.8);transform-origin:right center;width:105px}.game-row-state{display:none}.game-play-layout{display:block;padding:18px}.game-stage{width:min(100%,500px);margin:auto}.game-table-sidebar{width:100%;max-width:500px;margin:23px auto 0;padding:20px 0 0;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:20px}.game-table-sidebar>.game-about{grid-column:1/-1;margin-bottom:0;padding-bottom:15px}.game-table-sidebar .game-side-section{margin-bottom:0}.game-table-sidebar>.game-connection{grid-column:1/-1}.game-move-list{max-height:210px}.game-player-strip{min-height:50px}.xq-piece{font-size:clamp(16px,6cqw,33px)}.game-topbar h1{font-size:13px}.game-top-actions{gap:5px}.game-lounge-intro p{font-size:10px}.game-mode-choice small{font-size:8px}.game-mode-choice strong{font-size:10px}}
@media(max-width:850px){.workspace.game-mode{grid-template-columns:220px minmax(0,1fr)}.game-lobby-scroll{padding:21px 18px}.game-modes{gap:6px}.game-mode-choice{padding:10px 8px}.game-mode-choice>i{display:none}.game-row-copy p{max-width:210px}.game-row-mark{width:33px;height:33px;font-size:21px}.game-room-row>.secondary-button{padding:5px 8px}.game-room-row>.secondary-button svg{display:none}}
@media(max-width:640px){.workspace.game-mode{display:flex}.game-topbar{height:62px;min-height:62px;padding:0 13px;gap:8px}.game-topbar .eyebrow{font-size:7px;letter-spacing:1px}.game-topbar h1{font-size:13px}.game-mark{width:31px;height:31px;font-size:21px}.game-topbar>div:first-child{gap:8px}.game-top-actions>.text-button{font-size:9px}.game-top-actions>.text-button svg{display:none}.game-top-actions .secondary-button{font-size:8px;padding:6px 8px;min-height:29px}.game-top-actions .secondary-button>span{display:none}.game-top-actions>.icon-button{width:28px;height:29px}.game-lobby-scroll{padding:22px 15px 30px}.game-lounge-intro{padding-bottom:22px;gap:8px}.game-lounge-intro h2{font-size:24px;max-width:250px;letter-spacing:-.6px}.game-lounge-intro p{font-size:10px;line-height:1.8}.lounge-pieces{width:66px;transform:scale(.65);transform-origin:right center}.mini-piece.black{left:-62px;top:2px}.mini-piece.red{right:-1px;top:28px}.lounge-pieces i{right:-15px;top:-12px}.game-create-form{padding:15px 13px;border-radius:9px}.game-create-heading h3{font-size:11px}.game-create-heading>span{font-size:8px}.game-modes{display:flex;flex-direction:column;gap:7px}.game-mode-choice{padding:11px 12px;gap:10px}.game-mode-choice>svg{display:block;width:18px;height:18px}.game-mode-choice>span{display:flex;align-items:center;justify-content:space-between;gap:10px}.game-mode-choice strong{font-size:10px}.game-mode-choice small{font-size:8px;max-width:130px;margin:0;text-align:right;line-height:1.6}.game-mode-choice>i{display:block}.game-create-controls{padding-top:16px;gap:13px}.game-name-label input{font-size:11px!important;height:36px}.game-side-choice button{min-width:59px;font-size:10px}.game-create-controls>.primary-button{font-size:10px;padding:8px 11px;gap:12px}.game-lobby-list{margin-top:26px}.game-list-heading h3{font-size:12px;gap:8px}.game-list-heading h3>span{font-size:8px}.game-filters{gap:2px}.game-filters button{font-size:8px;padding:5px 8px}.game-room-row{padding:14px 0;gap:9px}.game-row-copy h4{font-size:10px}.game-row-copy p{max-width:190px;font-size:8px;gap:4px}.game-row-copy>small{font-size:7px}.game-room-row>.secondary-button{font-size:8px;min-height:28px;padding:5px 7px;max-width:77px}.game-row-mark{width:31px;height:31px;font-size:19px;border-radius:8px}.game-empty{padding:28px 10px}.game-empty p{font-size:11px}.game-empty small{font-size:9px}.game-play-layout{padding:15px 11px 23px}.game-stage{width:100%}.game-turn-banner{padding-bottom:12px;gap:7px}.game-turn-banner strong{font-size:11px}.game-turn-banner>small{font-size:8px}.game-player-strip{padding:8px 10px;gap:8px;min-height:50px}.game-player-copy strong{font-size:10px}.game-player-copy>span{font-size:8px}.player-piece{width:28px;height:28px;font-size:20px}.game-player-strip .primary-button{font-size:8px;min-height:27px;padding:5px 8px}.xq-piece{font-size:clamp(16px,6cqw,33px);box-shadow:0 1px 0 #c6ad8c,inset 0 0 0 2px #fff8e7,inset 0 0 0 3px #cdb697}.xq-piece.red{box-shadow:0 1px 0 #c6a48b,inset 0 0 0 2px #fff8e7,inset 0 0 0 3px #d1a28d}.xq-cell.has-piece .xq-legal-mark{border-width:1.5px}.game-board-toolbar{gap:18px;padding-top:13px}.game-board-toolbar .text-button{font-size:9px}.game-board-hint{font-size:9px;padding:0 3px}.game-table-sidebar{margin-top:22px;gap:20px}.game-side-section h3{font-size:10px}.game-side-section h3>small{font-size:7px}.game-about>p{font-size:10px}.game-move-row{gap:6px;padding:7px 0}.move-number{width:14px}.move-coordinate{font-size:9px}.move-piece{font-size:17px;min-width:16px}.game-watcher{font-size:9px}.game-draw-banner{flex-direction:column;align-items:flex-start;gap:8px}.game-draw-banner button{font-size:9px}.game-table-title .icon-button{width:24px}.game-turn-banner .side-dot{width:5px;min-width:5px;height:5px}.game-connection{font-size:8px}.game-loading{padding:25px}.game-loading>p{font-size:11px}}
@media(max-width:360px){.game-lounge-intro h2{font-size:22px}.lounge-pieces{display:none}.game-mode-choice small{max-width:110px;font-size:7px}.game-create-controls{gap:10px}.game-create-controls>.primary-button{font-size:9px;padding:8px 9px;gap:8px}.game-row-copy p{max-width:160px}.game-row-mark{display:none}.game-side-section h3>small{display:none}.game-board-toolbar{gap:13px}.game-table-sidebar{gap:14px}.game-top-actions{gap:1px}}

/* Clear contrast at small messenger sizes; these overrides stay inside the lounge. */
.game-shell{--muted:#716178}.game-topbar .eyebrow span,.game-row-copy>small,.game-row-state>small,.game-list-heading h3>span,.game-create-heading>span,.game-board-hint,.game-side-section h3>small,.game-side-empty,.game-watcher>small,.game-connection,.move-number,.move-capture,.move-coordinate>i,.game-versus{color:#776180}.game-status-tag{color:#7d6541}.game-status-tag.active{color:#476b55}.game-status-tag.finished{color:#735c85}.game-turn-banner b{color:#914744}.game-resign{color:#915366}.rules-piece{color:#92584e}.game-mode-choice small,.game-row-copy p,.game-row-copy>small,.game-row-state>small,.game-status-tag,.game-create-heading>span,.game-list-heading h3>span,.game-connection,.game-board-hint,.game-turn-banner>small,.game-player-copy>span,.game-player-copy strong small,.game-side-section h3>small,.move-number,.game-watcher>small,.game-side-empty{font-size:10px}.game-mode-choice small{min-width:0}.game-row-copy h4{font-size:12px}.game-filters button{font-size:10px}.game-room-row>.secondary-button{font-size:10px}.game-watcher{font-size:11px}
[data-theme=night] .game-shell{--muted:#c3b3cf}[data-theme=night] .game-topbar .eyebrow span,[data-theme=night] .game-row-copy>small,[data-theme=night] .game-row-state>small,[data-theme=night] .game-list-heading h3>span,[data-theme=night] .game-create-heading>span,[data-theme=night] .game-board-hint,[data-theme=night] .game-side-section h3>small,[data-theme=night] .game-side-empty,[data-theme=night] .game-watcher>small,[data-theme=night] .game-connection,[data-theme=night] .move-number,[data-theme=night] .move-capture,[data-theme=night] .move-coordinate>i,[data-theme=night] .game-versus{color:#c2aed0}[data-theme=night] .game-status-tag{color:#e2c38a}[data-theme=night] .game-status-tag.active{color:#b0d4bb}[data-theme=night] .game-status-tag.finished{color:#d2bce4}[data-theme=night] .game-turn-banner b{color:#f1b9af}[data-theme=night] .game-resign{color:#dfa4b2}
