.chess-feature{--chess-green:#a7d7b5;margin-top:16px;border:1px solid #365545;border-radius:12px;background:radial-gradient(circle at 85% 15%,#1b342425,transparent 48%),#08110c;padding:clamp(18px,3vw,34px)}.chess-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid #304737;padding-bottom:20px;margin-bottom:22px}.chess-kicker,.chess-side-label{color:#cba867;font-size:11px;letter-spacing:.12em;text-transform:uppercase}.chess-heading h2{font-size:clamp(26px,3.5vw,42px);font-weight:400;letter-spacing:-.045em;margin:8px 0 5px}.chess-heading p{font-size:13px;color:#abc2b0;line-height:1.5;margin:0}.chess-rating{color:var(--chess-green);font-size:13px;text-align:right;white-space:nowrap;line-height:1.6}.chess-rating small{color:#849e8b;font-size:10px}.chess-layout{display:grid;grid-template-columns:minmax(0,530px) minmax(200px,1fr);gap:clamp(20px,5vw,70px);align-items:start}.chess-board-wrap{min-width:0}.chess-board{width:100%;aspect-ratio:1;overflow:hidden;border:5px solid #263c2d;border-radius:4px;box-shadow:0 18px 40px #0008;touch-action:none}.chess-board svg{display:block;width:100%;height:100%}.chess-player{display:flex;align-items:center;gap:10px;min-height:49px;margin:3px 0 10px;font-size:13px}.chess-player:last-child{margin:12px 0 0}.chess-player strong{font-weight:400;color:#eaf1ea}.chess-player small{display:block;color:#8ba48e;font-size:10px;margin-top:5px}.chess-avatar{width:37px;height:37px;display:grid;place-items:center;border:1px solid #6a8c70;border-radius:4px;background:#1a2e21;color:#ccebd2;font-size:12px;flex:none}.chess-avatar.human{background:#243b2c;color:#eaf7e9;font-size:10px}.chess-side{min-width:0;padding-top:9px}.chess-status{font-size:clamp(16px,2vw,22px);line-height:1.4;color:#e7e0c6;margin:16px 0 24px;min-height:58px}.chess-controls{display:flex;gap:10px;flex-wrap:wrap}.chess-controls button{border:1px solid #6a8a70;color:#d9f0df;background:#14291b;border-radius:4px;padding:12px 16px;font:11px 'Courier New',monospace;cursor:pointer;min-height:44px}.chess-controls button:hover{background:#27442e}.chess-controls button:focus-visible{outline:2px solid white;outline-offset:3px}.chess-controls button:disabled{opacity:.45;cursor:not-allowed}.chess-history{border-top:1px solid #304737;margin-top:28px;padding-top:16px}.chess-history>span{font-size:10px;letter-spacing:.12em;color:#9ab19f}.chess-history>div{margin-top:11px;font-size:12px;color:#d2e3d4;line-height:1.8;max-height:110px;overflow-y:auto;overflow-wrap:anywhere}.chess-note{color:#98b09d;font-size:11px;line-height:1.6;margin:26px 0 0}.chess-credit{color:#819986;font-size:10px;line-height:1.8;margin-top:18px}.chess-credit a{color:#a8d8b4;text-decoration:underline;text-underline-offset:3px}.cm-chessboard.green .board .square.white{fill:#e0e2d3}.cm-chessboard.green .board .square.black{fill:#719879}.cm-chessboard.green .coordinates .coordinate{font-weight:bold}.cm-chessboard .markers-layer .marker{opacity:.8}@media(max-width:700px){main{margin:12px auto}.chess-layout{grid-template-columns:1fr;gap:16px}.chess-board-wrap{max-width:530px}.chess-side{padding-top:0}.chess-heading{align-items:flex-start}.chess-rating{font-size:11px}.chess-status{min-height:0;margin:10px 0 16px}}@media(max-width:390px){.chess-feature{padding:12px}.chess-heading{gap:8px}.chess-rating{font-size:10px}.chess-rating small{font-size:9px}.chess-heading h2{font-size:26px}.chess-board{border-width:3px}}@media(prefers-reduced-motion:reduce){.chess-board *{animation:none!important;transition:none!important}}