:root {
  --bg:#302e2b; --panel:#262421; --panel2:#33312c; --line:#3c3933;
  --text:#e9e8e4; --muted:#a5a197; --accent:#81b64c;
  --light:#ebecd0; --dark:#739552; --radius:5px;
  --rail-width:136px; --panel-width:400px; --workspace-gap:24px;
  --board-size:min(calc(100dvh - 104px),calc(100vw - var(--rail-width) - var(--panel-width) - var(--workspace-gap) - 80px));
  font-family:Arial,Helvetica,sans-serif; font-size:13px;
}
body {background:var(--bg);font-size:13px}
.sr-only {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.site-rail {width:var(--rail-width);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:#272523;padding:8px 0;z-index:20}
.brand {display:flex;align-items:center;height:32px;margin:0 10px 15px;font-size:20px;line-height:20px;font-weight:800;letter-spacing:-1px;gap:0;white-space:nowrap}
.brand-piece {color:#81b64c;font-size:35px;line-height:34px;transform:rotate(8deg);margin-right:3px}
.brand small {font:700 7px/9px Arial,sans-serif;letter-spacing:2.4px;margin:0 0 0 1px;color:#9db585}
.site-rail>button,.rail-bottom>button {display:flex;align-items:center;gap:10px;text-align:left;background:transparent;border:0;width:100%;min-height:34px;padding:9px 13px;font-size:12px;font-weight:600}
.site-rail button:hover,.site-rail button.active {background:#1e1d1a}
.rail-icon {font-size:21px;line-height:21px;width:18px;flex:0 0 18px;text-align:center;color:#b1afa9}
.rail-icon.amber {color:#efb35f}.rail-icon.blue {color:#80b7d2}
.rail-bottom {margin-top:auto}.rail-bottom>button {font-size:11px;color:#aaa8a4}
.version-tag {font-size:8px;font-weight:400;margin-left:auto;color:#7b7975}
.engine-status {display:flex;align-items:center;gap:5px;border:0;border-radius:0;font-size:9px;padding:9px 12px;color:#8d9385;line-height:1.4;flex-shrink:1}
.engine-status i {height:5px;width:5px;flex:0 0 5px;background:#81b64c;box-shadow:none}.engine-status.error-state {color:#dc9a84}
main.analysis-room {max-width:none;margin:0 0 0 var(--rail-width);padding:10px 18px 8px;min-height:100dvh}
.workspace {display:grid;grid-template-columns:calc(var(--board-size) + 32px) var(--panel-width);gap:var(--workspace-gap);justify-content:center;align-items:start;max-width:none;margin:0 auto}
.board-column {width:calc(var(--board-size) + 32px);min-width:0}
.player-row {display:flex;gap:7px;align-items:center;height:32px;margin:0 0 8px 32px;font-size:12px;position:relative}
.player-row.bottom {margin:8px 0 0 32px}
.avatar {display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;border:0;border-radius:2px;font-size:27px;line-height:1}
.avatar.dark {background:#474541;color:#77756e}.avatar.light {background:#bcbcb8;color:#e4e4e1}
.player-details {display:flex;align-items:center;gap:4px;min-width:0}
.player-details strong {font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}
.player-row .player-details>span {font-size:11px;display:inline;white-space:nowrap;color:#b6b4b1;margin:0}
.player-accuracy {font-size:11px;font-weight:bold;color:#b5ce9c;margin-left:auto}
.clock {font-size:20px;font-weight:700;text-align:right;min-width:108px;padding:4px 9px;line-height:24px;font-variant-numeric:tabular-nums;border-radius:2px;white-space:nowrap}
.dark-clock {color:#989791;background:#2c2b28}.light-clock {background:#fff;color:#302e2b;box-shadow:0 0 0 1px #6664}
.player-row .icon-button {position:absolute;right:-23px;top:0;padding:0;width:20px;height:22px;font-size:16px}
.board-area {gap:8px}.evaluation {width:24px;flex:0 0 24px;border-radius:0;background:#46443f}
.evaluation>div {background:#fff;transition:height .24s}
.evaluation strong {bottom:5px;font-size:10px;writing-mode:horizontal-tb;transform:none;line-height:normal}
.board-wrap {width:var(--board-size);height:var(--board-size);flex:0 0 var(--board-size);aspect-ratio:1;border-radius:2px;box-shadow:none}
.board {grid-template-rows:repeat(8,1fr);touch-action:none;user-select:none;-webkit-user-select:none}
.square {min-width:0;min-height:0;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;cursor:pointer;color:var(--dark)}
.square.dark {color:var(--light)}
.square {isolation:isolate}
.square .piece-sprite {z-index:2}
.square svg {height:90%;width:90%;z-index:2;pointer-events:none;user-select:none;-webkit-user-drag:none;filter:drop-shadow(0 1px 1px #0003)}
.square.last:after {background:#f5f06d88;z-index:1}.square.selected:after {background:#f5ee42a6;z-index:1}
.square.last:after,.square.selected:after {z-index:0}
.square-tint {position:absolute;inset:0;z-index:1;pointer-events:none}
.square.legal:before {background:#0002;z-index:3;pointer-events:none}
.square.legal:has(svg):before {width:89%;height:89%;border:6px solid #0003;background:transparent}
.square.check {background-image:radial-gradient(ellipse at center,#e24b4b,#b72c2c7f 36%,transparent 73%)}
.square.drag-source svg {opacity:.2}.square.drop-target {box-shadow:inset 0 0 0 4px #fff9}
.square .coordinate {font-size:clamp(10px,calc(var(--board-size)/44),24px);font-weight:700;z-index:4;pointer-events:none}
.coordinate.rank {top:6px;left:7px}.coordinate.file {bottom:5px;right:7px}
.board-wrap {overflow:visible}
.piece-sprite {display:inline-flex;position:relative;align-items:center;justify-content:center;width:100%;height:100%;pointer-events:none;user-select:none}
.piece-sprite>img {display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none}
.piece-sprite.pseudo3d>img {position:absolute;bottom:0;left:0;width:100%;height:auto;max-height:none;object-fit:initial}
.piece-sprite>svg {display:none!important}
.piece-sprite.image-failed>svg {display:block!important;width:90%;height:90%}
.piece-sprite.blindfold-piece {visibility:hidden}
.square.drag-source .piece-sprite {opacity:.2}
.square.legal:has(.piece-sprite):before {width:89%;height:89%;border:6px solid #0003;background:transparent}
.square:has(.move-dot) {z-index:6}
.class-symbol {flex-shrink:0;color:#fff;line-height:1;border-radius:50%;vertical-align:middle}
.class-symbol>svg,.square .class-symbol>svg {display:block;width:82%;height:82%;fill:currentColor;filter:none;z-index:auto}
.square .move-dot {width:clamp(30px,calc(var(--board-size)/20),48px);height:clamp(30px,calc(var(--board-size)/20),48px);right:-12%;top:-12%;pointer-events:none;box-shadow:0 2px 5px #0005;z-index:9}
.square:nth-child(-n+8) .move-dot {top:2px}
.square:nth-child(8n) .move-dot {right:2px}
.board-wrap>#arrows {z-index:10;pointer-events:none;overflow:visible}
.drag-piece {position:absolute;width:12.5%;height:12.5%;z-index:8;pointer-events:none;transform:translate(-50%,-50%);will-change:left,top}
.drag-piece svg {width:100%;height:100%;filter:drop-shadow(0 8px 5px #0005)}
.drag-piece .piece-sprite>img {filter:drop-shadow(0 8px 5px #0005)}
.variation-bar {margin:8px 0 0 32px;padding:7px 9px;background:#252522;border-radius:3px;color:#b4cc95;font-size:11px;gap:8px}
.variation-label {font-weight:bold;color:#c8d6b5}.variation-bar #variationText {flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.variation-bar button {font-size:10px;white-space:nowrap}
.review-column {width:var(--panel-width);height:calc(var(--board-size) + 84px);min-height:490px;margin:0}
.review-panel {height:100%;background:var(--panel);border:0;border-radius:4px;display:flex;flex-direction:column;position:relative}
.panel-title {display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;min-height:39px;background:#22201e;border-bottom:1px solid var(--line);position:relative}
.panel-title>span {font-size:21px;color:#bdbbb7}.panel-title strong {font-size:15px}
.panel-title>.icon-button {position:absolute;right:9px;top:7px;font-size:15px;opacity:0}.panel-title:hover>.icon-button {opacity:1}
.tabs {padding:0;display:flex;flex-shrink:0;border-bottom:1px solid #34332f;background:#22201e}
.tabs button {width:33.333%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;border-bottom:2px solid transparent;color:#a6a49e;font-size:10px;font-weight:400;padding:6px 4px 5px;min-height:45px}
.tabs button>span {font-size:24px;line-height:23px;color:#94938e}
.tabs button:hover {background:#33312d}.tabs button.active {color:#e9e8e5;border-bottom-color:#6b6a63}.tabs button.active>span {color:#cccac4}
.analysis-workspace {display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.engine-toolbar {display:flex;align-items:center;gap:5px;border-bottom:1px solid #35332f;min-height:39px;padding:5px 10px;background:#292824}
.engine-toggle {margin:0;display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;font-weight:400;color:#b8b5b0;cursor:pointer}
.engine-toggle>input {position:absolute;opacity:0;width:1px;height:1px;margin:0}
.toggle-track {width:20px;height:10px;background:#4a4842;border-radius:8px;position:relative}
.toggle-track:after {content:"";position:absolute;top:2px;left:2px;width:6px;height:6px;background:#aaa69f;border-radius:50%;transition:left .15s}
.engine-toggle input:checked+.toggle-track {background:#81b64c}.engine-toggle input:checked+.toggle-track:after {left:12px;background:#fff}.engine-toggle input:focus-visible+.toggle-track {outline:2px solid #81b64c}
.engine-toolbar #analyzePosition {font-size:9px;color:#bdb9b2;margin-left:3px}
.engine-toolbar #budgetSummary {margin-left:auto;font-size:10px;color:#9b9a93;white-space:nowrap;padding:0}
.engine-chip {font-size:10px;letter-spacing:0;color:#afada5;white-space:nowrap;max-width:115px;text-overflow:ellipsis;overflow:hidden}
.engine-toolbar .icon-button {padding:0 3px;font-size:14px;flex-shrink:0}
.analysis-hint {font-size:11px;line-height:1.7;margin:0;padding:12px 10px;color:#96948c}
.analysis-hint.has-results {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);padding:0}
.engine-lines {padding:5px 9px 6px;max-height:220px;overflow-y:auto;scrollbar-width:thin}
.engine-line {display:flex;gap:5px;align-items:flex-start;min-height:24px;font-size:11px;border:0;padding:0}
.engine-line>div:first-child {display:contents}
.line-score {flex:0 0 40px;background:#f2f2ef;color:#252521;padding:4px 2px;text-align:center;border-radius:1px;font-size:11px;line-height:13px;font-weight:bold;min-height:21px}
.line-depth {display:none}.line-moves {display:flex;gap:1px;align-items:center;white-space:nowrap;overflow:hidden;flex:1;height:22px;min-width:0;line-height:20px;margin:0}
.line-moves button {background:transparent;border:0;padding:0 2px;font:600 11px Arial,sans-serif;white-space:nowrap;flex-shrink:0;color:#d8d6cf}
.line-moves button:hover {background:#535140;border-radius:2px}.move-prefix {font-size:10px;color:#aaa69c;margin-right:1px}
.line-expand {width:12px;padding:2px 0;background:transparent;border:0;color:#96948e;line-height:20px;font-size:9px;flex:0 0 12px}
.engine-line.expanded .line-moves {white-space:normal;height:auto;min-height:22px;flex-wrap:wrap;overflow:visible}
.position-row {display:flex;align-items:center;justify-content:space-between;min-height:32px;flex-shrink:0;padding:0 9px;border-top:1px solid #37352f;border-bottom:1px solid #3b3934;font-size:11px}
.position-row .link-button {font-size:11px;color:#c0b9a9}
.position-row .perspective-button {font-size:10px;color:#bcd49c;white-space:nowrap;margin-left:auto;margin-right:6px}
.position-row #currentPositionLabel {display:block;max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.game-heading {display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:31px;padding:0 9px;flex-shrink:0;border-bottom:1px solid #34322e}
.game-heading strong {font-size:11px;font-weight:600;color:#d7d3c8;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.move-list {flex:1;min-height:90px;max-height:none;overflow-y:auto;padding:0 0 8px;scrollbar-color:#48453f #252420}
.move-list {min-height:140px;overflow-anchor:none}
.move-row {grid-template-columns:32px 1fr 1fr;min-height:25px;padding:0 7px;border-radius:0}.move-row:nth-child(odd) {background:#2c2a28}
.move-row>.number {font-size:10px;color:#96928a;text-align:left}
.move-cell {padding:5px 9px;color:#cfcbc2;font-size:12px;font-weight:bold;min-height:25px;gap:5px;border-radius:2px}
.move-cell:hover {background:#454439}.move-cell.active {background:#5f6950;color:#fff}
.move-cell .figurine {font-size:16px;line-height:12px;vertical-align:-1px}
.move-clock {font-size:9px;font-weight:400;color:#8e8c82;margin-left:auto}.class-symbol {width:23px;height:23px;font-size:14px}
.move-cell {min-height:33px}.move-row {min-height:33px}
.line-branch {margin:4px 10px 5px 34px;border-left:2px solid #81b64c;padding:5px 8px;display:flex;align-items:center;flex-wrap:wrap;gap:4px;background:#33372b}
.branch-label {width:100%;font-size:9px;color:#aab88f;margin-bottom:1px}
.variation-move {font-size:12px;background:transparent;border:0;color:#d1d7c5;padding:3px 4px;border-radius:2px}
.variation-move.active {background:#718350;color:#fff}.variation-move.future {color:#878a7b}.result-row {padding:7px 11px;font-size:11px;color:#c0b9a7}
.empty-moves {font-size:12px;color:#8d897f;text-align:center;line-height:1.7;margin:24px 14px}
.opening {font-size:10px;color:#9c9585;padding:7px 10px;border-top:1px solid #34322e;background:transparent;line-height:1.5}
.panel-bottom {margin-top:auto;flex-shrink:0;background:#22201e;padding:10px 7px 6px;min-height:96px}
.navigation {display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.navigation button {background:linear-gradient(#373632,#302f2b);border:0;border-bottom:2px solid #201f1b;border-radius:8px;color:#aaa79d;height:40px;padding:0;font-size:32px;line-height:32px;font-weight:400}
.navigation button:hover {background:#48463f;color:#eae8df}
.bottom-actions {display:flex;justify-content:space-around;gap:3px;padding-top:8px}
.bottom-actions>button {background:transparent;border:0;color:#aaa69b;font-size:11px;display:flex;gap:5px;align-items:center;padding:6px 4px}
.bottom-actions>button>span {font-size:16px;line-height:15px}.bottom-actions>button:hover,.bottom-actions>button.active {color:#d9d5c9}.bottom-actions #moreActions {font-size:15px;line-height:10px}
.more-menu {position:absolute;bottom:49px;right:9px;z-index:10;width:210px;padding:5px;background:#3a3933;border-radius:5px;box-shadow:0 6px 20px #0007;border:1px solid #59564c}
.more-menu button {display:block;width:100%;border:0;background:transparent;padding:9px 12px;text-align:left;color:#dfdacb;font-size:12px;border-radius:3px}.more-menu button:hover {background:#525044}
.secondary-view {flex:1;min-height:0;overflow:auto;padding:15px 14px;scrollbar-width:thin}
.view-heading {display:flex;align-items:center;justify-content:space-between;gap:10px}.view-heading h2 {font-size:19px;font-weight:600;margin:0}.secondary-view h3 {font-size:12px;color:#beb9ae;margin:19px 0 8px}
.explore-line {padding:9px;background:#323129;border-radius:3px;line-height:1.7;font-size:12px;color:#d3d9bf}
.legal-continuations {display:flex;flex-wrap:wrap;gap:5px}.legal-continuations button {background:#3a3831;border:1px solid #4c483d;border-radius:3px;padding:5px 7px;font-size:12px}.legal-continuations button:hover {background:#54623f}
.explore-actions {display:flex;justify-content:space-between;margin-top:8px}
.button {border:0;border-radius:5px;background:#81b64c;color:#fff;font-weight:bold;box-shadow:0 2px 0 #5f8736;text-shadow:0 1px 1px #0002}.button:hover {background:#95c75e;transform:none}
.button.secondary {background:#43443a;color:#dddccc;border:0;box-shadow:0 2px 0 #292b23}.button.secondary:hover {background:#555744}
.quiet,.link-button {color:#aaa596}.quiet:hover,.link-button:hover {color:#e4dfd2}.icon-button {color:#969186}.icon-button:hover {color:#e0dccc;background:#48453b}.icon-button.small {font-size:14px;padding:3px}
.run-panel {padding:13px 14px 7px;border:0}.run-info {font-size:12px}.run-info span {font-size:10px;color:#979185}
.review-empty {padding:15px 20px}.empty-icon {border:0;background:transparent;font-size:32px;color:#a7c77a;height:40px;margin:0 auto}
.review-empty h2 {font:bold 21px Arial,sans-serif;letter-spacing:0;margin:9px 0}.review-empty p {color:#a9a294;font-size:12px;line-height:1.7}
.score-cards {padding:12px 14px;gap:10px}.score-cards>div {padding:10px;background:#34362b;border:0;border-radius:5px;text-align:center;display:block}
.score-side {color:#b8b59f;font-size:9px;letter-spacing:1px}.score-cards strong {font-size:28px;color:#afd278;padding:3px}.score-cards small {font-size:10px;color:#b5b39e}
.rating-cards {display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 14px}
.rating-cards>div {display:flex;flex-direction:column;align-items:center;gap:4px;padding:9px 5px;background:#302f2b;border-radius:4px}
.rating-cards strong {font-size:23px;color:#e6e3dc;font-variant-numeric:tabular-nums}
.rating-cards span {font-size:10px;color:#aaa69b;text-align:center}
.rating-estimate-note {font-size:10px;color:#a8a397;text-align:center;margin:7px 14px 14px;line-height:1.5}
.classification-counts {padding:0 18px;display:block}.count-row {grid-template-columns:28px 1fr 28px;font-size:11px;min-height:23px;text-align:center}
.count-row>span:nth-child(2) {color:#b9b4a5}.review-note {font-size:10px;color:#96917f;line-height:1.6;padding:10px 16px}
.review-note+.button {margin:0 14px;width:calc(100% - 28px);padding:9px;font-size:12px}
.coach-card {padding:13px 15px;margin-top:12px}.coach-card p {color:#b5af9f}.coach-card.practice {background:#343b27!important}
.move-badge {display:flex;align-items:center;gap:8px;font-size:16px;font-weight:bold;text-transform:none;letter-spacing:0}
.move-badge .class-symbol {width:30px;height:30px;color:#fff}
.count-row {min-height:31px;font-size:12px}.count-row>span:nth-child(2) {display:flex;align-items:center;justify-content:center;gap:7px}
.graph-card {margin:8px 14px 12px;background:#2e2d27;border:0;border-radius:3px;padding:8px 9px 0}.section-label {font-size:9px;color:#a19a88;letter-spacing:0}
#reviewView {max-height:min(65%,calc(100% - 245px));min-height:0;overflow-y:auto;scrollbar-width:thin;flex:0 1 auto}
.progress-row {padding:8px 11px;margin:0;color:#c8c2ae;background:#353a2c}.progress-track {background:#474c3e}.progress-track>div {background:#a1c978}
.game-item {border:1px solid #444135;background:#333129;color:#ded9cb}.game-item:hover {border-color:#81995b}.game-item small {color:#aaa38e}.game-item .tag {color:#c1d69f;background:#485237}
dialog {background:#312f29;color:#e5e1d7;border-color:#575246;border-radius:8px}.dialog-head h2 {font:600 25px Arial,sans-serif;letter-spacing:0}.eyebrow {color:#aac77d}
input,select,textarea {background:#25231e;color:#e6e1d4;border-color:#5a5140;border-radius:4px}.settings-note {background:#38392c;color:#c1bea4;border:0}
.promotion-choices button {background:#eeeed2;border:2px solid #566f3d}.promotion-choices button:hover {border-color:#b9d088}.promotion-choices svg {pointer-events:none}
.board-dialog {width:min(660px,94vw);max-height:90dvh}
.perspective-settings {padding:2px 13px 10px;background:#292824;border-radius:5px}
.perspective-settings .muted {font-size:11px;line-height:1.6}
.arrow-help {font-size:11px;line-height:1.7;color:#c2bba8;padding:10px 12px;background:#3a3528;border-radius:4px}
.piece-style-gallery {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:48dvh;overflow:auto;padding:4px 3px 10px;scrollbar-width:thin;margin:12px 0 18px}
.piece-style-choice {display:flex;flex-direction:column;align-items:center;gap:7px;padding:8px 5px;background:#262421;border:2px solid transparent;border-radius:5px;font-size:11px;line-height:1.3;min-height:100px;color:#c3bfb5}
.piece-style-choice:hover {background:#454a38}.piece-style-choice.active {border-color:#81b64c;background:#3d4931;color:#fff}
.piece-style-sample {display:flex;width:100%;height:58px;align-items:center;justify-content:center;background:linear-gradient(90deg,#ebecd0 50%,#739552 50%);border-radius:3px}
.piece-style-sample .piece-sprite {width:50%;max-width:65px;height:100%}.blindfold-preview {font-size:37px;color:#697b4d}
.piece-style-sample .piece-sprite.pseudo3d>img,.promotion-choices .piece-sprite.pseudo3d>img {position:static;width:100%;height:100%;max-height:100%;object-fit:contain}
@media(max-width:500px){.piece-style-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.piece-style-choice{font-size:10px}.move-cell{padding-left:5px;padding-right:5px}}
.toast {background:#484e36;color:#e6edd5;border-color:#7c9157;border-radius:5px}.toast.bad {background:#59382e;border-color:#a57460;color:#f2d1be}
@media(max-width:1200px){
  :root{--rail-width:68px;--panel-width:350px;--workspace-gap:18px;--board-size:min(calc(100dvh - 104px),calc(100vw - var(--rail-width) - var(--panel-width) - var(--workspace-gap) - 64px))}
  .brand{justify-content:center;margin-left:0;margin-right:0}.brand>span:last-child,.site-rail button>span:last-child,.version-tag{display:none}.brand-piece{margin:0;font-size:39px}
  .site-rail>button,.rail-bottom>button{justify-content:center;padding:12px}.rail-icon{font-size:25px;flex-basis:27px;width:27px}.engine-status{font-size:0;justify-content:center;padding:12px}.engine-status i{width:7px;height:7px;flex-basis:7px}
  main.analysis-room{padding-left:14px;padding-right:14px}.player-details strong{max-width:140px}.clock{min-width:82px;font-size:18px}.player-accuracy{font-size:10px}
}
@media(max-width:850px){
  :root{--panel-width:320px;--workspace-gap:14px;--board-size:min(calc(100dvh - 104px),calc(100vw - var(--rail-width) - var(--panel-width) - var(--workspace-gap) - 56px))}
  .player-details{display:block}.player-details strong{max-width:110px;font-size:11px}.player-row .player-details>span{font-size:9px}.clock{font-size:16px;min-width:64px}.player-accuracy{display:none}
  .player-row .icon-button{right:0;top:-23px;font-size:12px}.avatar{height:28px;width:28px;flex-basis:28px}.square .coordinate{font-size:11px}.coordinate.rank{top:3px;left:3px}.coordinate.file{right:3px}
  .engine-chip{max-width:90px}.engine-toolbar{gap:3px;padding-left:7px;padding-right:7px}.move-cell{padding-left:5px;padding-right:5px}
}
@media(max-width:720px){
  :root{--rail-width:0px;--panel-width:100%;--board-size:calc(100vw - 42px);--workspace-gap:14px}
  .site-rail{width:100%;height:46px;inset:0 0 auto;background:#262522;flex-direction:row;align-items:center;padding:0 8px;gap:4px}.brand{height:34px;margin:0 auto 0 0;font-size:16px;line-height:16px}.brand>span:last-child{display:block}.brand-piece{font-size:29px}.brand small{font-size:6px;letter-spacing:1.8px;line-height:8px}
  .site-rail>button{width:34px;min-height:36px;padding:6px}.site-rail>button .rail-icon{font-size:22px}.site-rail>button:nth-child(2),.site-rail>button:nth-child(3),.rail-bottom{display:none}
  main.analysis-room{padding:53px 8px 14px;margin:0}.workspace{display:flex;flex-direction:column;gap:13px;width:100%}.board-column{width:100%}.board-area{gap:6px}.evaluation{width:20px;flex-basis:20px}.evaluation strong{line-height:normal}
  .board-wrap{width:var(--board-size);height:var(--board-size);flex-basis:var(--board-size)}.player-row{margin:0 0 6px 26px;height:30px}.player-row.bottom{margin:6px 0 0 26px}.player-row .icon-button{right:0;top:3px;font-size:19px}.clock{font-size:18px;min-width:80px;margin-right:25px}
  .player-details{display:flex;gap:5px}.player-details strong{font-size:12px;max-width:170px}.player-row .player-details>span{font-size:10px}.player-accuracy{display:block}
  .review-column{width:calc(100% - 26px);height:620px;min-height:480px;margin-left:26px}.square .coordinate{font-size:clamp(12px,4vw,20px)}.coordinate.rank{left:5px;top:4px}.coordinate.file{right:5px}
  .engine-chip{max-width:150px}.variation-bar{margin-left:26px;font-size:10px}.panel-title>.icon-button{opacity:1}.toast{bottom:15px;width:max-content}.move-dot{width:22px;height:22px;font-size:10px}.settings-grid{gap:0 13px}
}
