.chess-mode{background:#315960!important}.chess-mode>.scenery,.chess-mode>.sky-shade{display:none}.chess-mode>header,.chess-mode>#nav{display:none}.chess-mode>main{padding:0;min-height:100dvh}.chess-screen{padding:22px 18px 25px;min-height:100dvh;background:radial-gradient(ellipse at 18% 30%,#b5d3ac40,transparent 45%),linear-gradient(#315d66,#648c7c 65%,#2b515a);color:#f5f1da;position:relative}.chess-kicker{text-align:center;font-size:10px;letter-spacing:2px;color:#d8e5d37d;margin-bottom:22px}.chess-top{display:flex;align-items:center;justify-content:space-between}.chess-top>button{font-size:25px;background:none;color:#f1e9ca;padding:0 12px 0 0}.chess-top>strong{font-size:20px;letter-spacing:2px}.chess-top>span,.chess-opponent>span{background:#f9f3da14;border-radius:12px;padding:5px 8px;font-size:10px}.chess-opponent{display:flex;align-items:center;gap:11px;margin-top:25px}.chess-avatar{width:57px;height:57px;border-radius:50%;overflow:hidden;border:3px solid #e6dfb5;flex-shrink:0;background:#b8d9cb}.chess-avatar img{width:100%;height:100%;object-fit:cover}.chess-opponent b{font-size:16px}.chess-opponent small{font-size:11px;display:block;color:#c1d8bd;margin-top:6px}.chess-opponent small i{display:inline-block;width:6px;height:6px;background:#9ac395;border-radius:50%;margin-right:5px}.chess-opponent>span{margin-left:auto}.chess-speech{border:1px solid #f8f1ce22;background:#f4f6de13;border-radius:0 15px 15px 15px;margin:13px 0 18px;padding:11px 13px;font-size:12px;line-height:1.8;min-height:45px}.chess-difficulty{display:flex;align-items:center;gap:7px;font-size:11px;margin:0 0 16px}.chess-difficulty>span{margin-right:auto;opacity:.65}.chess-difficulty button{background:transparent;color:#e7e7cf;border-radius:20px;padding:7px 15px;font-size:11px}.chess-difficulty button.active{background:#ecdaa8;color:#4e6d60;box-shadow:0 3px 6px #173f4f22}.chess-board{padding:12px 8px 8px;background:linear-gradient(125deg,#efdfba,#d6be8e);border-radius:19px;box-shadow:0 7px #846d4a,0 17px 30px #183e5260;border:1px solid #eeddbb90}.chess-board svg{display:block;width:100%;height:auto;user-select:none;touch-action:manipulation}.chess-cell{cursor:pointer}.chess-cell:focus-visible{outline:none}.chess-cell:focus-visible>rect{stroke:#4e9f96;stroke-width:3}.chess-turn{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:24px 0 14px;gap:10px}.chess-turn b{font-size:12px;font-weight:600}.chess-turn span{white-space:nowrap;opacity:.8}.chess-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.chess-tools button{padding:11px 3px;background:#f8f1d919;border:1px solid #e9eed329;border-radius:12px;color:#f5f0d9;font-size:11px}.chess-tools button>b{display:block;font-size:21px;margin-bottom:5px;font-weight:400}.chess-settings{display:flex;justify-content:space-between;margin:16px 3px}.chess-settings button{font-size:11px;padding:6px;background:transparent;color:#d8e6c9}.chess-note{text-align:center;font-size:10px;line-height:1.9;color:#c5dbbf80}.chess-entry{margin-top:14px;padding:12px 16px;border-radius:14px;background:linear-gradient(120deg,#477e7d,#315761);color:#fff0c9;width:100%;box-shadow:0 4px #1c4a5233;font-weight:700}.chess-mode #main{padding-bottom:0}@media(max-width:350px){.chess-screen{padding:16px 12px 22px}.chess-opponent{margin-top:16px}.chess-speech{margin-bottom:13px}.chess-difficulty button{padding:7px 12px}}

.chess-audio{margin:16px 0;padding:12px;border:1px solid #e1e9c925;border-radius:14px;background:#fff9d60b;font-size:12px}.chess-audio summary{cursor:pointer}.chess-audio summary span{float:right;font-size:10px;opacity:.65}.chess-audio button{background:#ffffff12;color:#f6f0d5;padding:8px;border-radius:9px;font-size:11px}.chess-sound-start{width:100%;margin:12px 0}.chess-audio-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0}.chess-audio-row input{width:100px;accent-color:#e7d7a6}.chess-audio p{color:#d1dec0a0;font-size:10px;margin-top:12px}

