.chess_page__jo4OB{position:relative;padding:12px;color:#233f32;font-family:var(--font-sans),sans-serif}.chess_expanded__SzaUZ{position:fixed;inset:0;overflow:auto;z-index:100;background:#f6f0e2}.chess_header__FEEPO{max-width:1400px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#153f32;color:#f8edce;border:2px solid #c7a15d;border-radius:22px 22px 0 0;padding:16px 22px}.chess_header__FEEPO a{color:#fff2d5;text-decoration:none}.chess_header__FEEPO h1{font:600 clamp(32px,4vw,48px) var(--font-serif);text-align:center;margin:0}.chess_header__FEEPO span,.chess_panelTop__5Vrix span{font-size:10px;letter-spacing:.18em;font-weight:800;color:#dbbd7d}.chess_actions__bB6wj button,.chess_dialog__rkvjn button,.chess_header__FEEPO button{border:1px solid #c8aa72;border-radius:12px;background:#fff6e3;color:#264335;padding:10px 14px;min-height:44px;font-weight:700}.chess_layout__EpNxR{max-width:1400px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:36px;padding:22px;background:#f8f0dd;border:2px solid #c7a15d;border-top:0;border-radius:0 0 22px 22px}.chess_play__ll6cz{min-width:0}.chess_status__8_sGZ{display:flex;justify-content:space-between;gap:8px;background:#194a39;color:#fff8e3;padding:12px 16px;border-radius:12px;font-weight:700}.chess_status__8_sGZ span:last-child{font-size:13px;font-weight:500}.chess_frame__mhxYm{max-width:700px;margin:18px auto 0;padding:clamp(8px,2vw,18px);border:3px solid #744426;border-radius:14px;background:linear-gradient(135deg,#b37b48,#6b3d20,#a76f3c);box-shadow:0 10px 25px #48311e44}.chess_board__k5MLp{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));aspect-ratio:1;border:3px solid #593c28}.chess_square___NJTO{border:0;position:relative;display:flex;align-items:center;justify-content:center;min-width:0;padding:0;aspect-ratio:1;cursor:pointer;touch-action:manipulation}.chess_square___NJTO:focus-visible{z-index:3;outline:3px solid #f2ca53;outline-offset:-3px}.chess_light__Q4fp8{background:#ead7b3;color:#704e36}.chess_dark__C6pVK{background:#9a704d;color:#f4e4c5}.chess_selected__NuZt0{box-shadow:inset 0 0 0 4px #edc253}.chess_piece__aLD6i{font-family:DejaVu Sans,Arial Unicode MS,serif;font-size:clamp(26px,5.2vw,64px);line-height:1;z-index:1;user-select:none}.chess_white__LMAkF{color:#fff9e8;text-shadow:-1px -1px 1px #4a372a,1px 2px 2px #30261e}.chess_black__bgPi0{color:#172a28;text-shadow:0 1px 1px #e1c9a0}.chess_square___NJTO:after,.chess_square___NJTO:before{position:absolute;font-size:clamp(8px,1vw,12px);font-weight:800}.chess_square___NJTO:before{content:attr(data-rank);top:2px;left:4px}.chess_square___NJTO:after{content:attr(data-file);right:4px;bottom:2px}.chess_dot__Svx5p{position:absolute;width:22%;aspect-ratio:1;border-radius:50%;background:#214c3977}.chess_capture__KUFz_{position:absolute;inset:4%;border:4px solid #214c3999;border-radius:50%}.chess_hint__5J2Uk{text-align:center;font-size:13px;color:#516459;margin:14px auto}.chess_actions__bB6wj{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.chess_actions__bB6wj button:disabled{opacity:.5}.chess_panel__hPqEI{background:#fffaf0;border:1px solid #dbc9a7;border-radius:18px;padding:20px;min-width:0}.chess_panelTop__5Vrix h2{font:600 26px var(--font-serif);margin:4px 0 18px}.chess_panel__hPqEI label{font-weight:700;font-size:13px;display:block;margin:16px 0}.chess_panel__hPqEI select{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid #c9b79b;border-radius:9px;background:white;color:#213e30;min-height:44px}.chess_panel__hPqEI h3{font-size:15px;margin:20px 0 8px}.chess_captured__SvutK p{margin:6px 0;font-size:23px;min-height:28px}.chess_captured__SvutK p span:first-child{display:inline-block;font-size:12px;width:48px}.chess_history__ybllG{max-height:240px;overflow:auto;background:#f2ead9;border-radius:10px;padding:10px;font-size:14px}.chess_history__ybllG p{color:#526257}.chess_history__ybllG div{display:grid;grid-template-columns:35px 1fr 1fr;padding:4px}.chess_history__ybllG div:nth-child(2n){background:#e9dec8}.chess_note__LV1HQ{font-size:12px;line-height:1.5;color:#5a6c60}.chess_overlay__Dovb3{position:absolute;inset:0;background:#102e23ad;display:flex;align-items:center;justify-content:center;z-index:10;padding:16px}.chess_dialog__rkvjn{background:#fff9e9;border:2px solid #c6a45e;border-radius:20px;padding:24px;text-align:center;max-width:440px;width:100%}.chess_dialog__rkvjn h2{font:600 28px var(--font-serif)}.chess_dialog__rkvjn div{display:flex;justify-content:center;gap:8px;margin:15px 0;flex-wrap:wrap}.chess_dialog__rkvjn div button{display:flex;flex-direction:column;align-items:center;text-transform:capitalize}.chess_dialog__rkvjn div span{font-size:36px;line-height:1.2}@media (max-width:800px){.chess_layout__EpNxR{grid-template-columns:1fr;gap:18px;padding:12px}.chess_panel__hPqEI{padding:16px}.chess_header__FEEPO{padding:12px}.chess_header__FEEPO span{display:none}.chess_header__FEEPO a,.chess_header__FEEPO button{font-size:12px}.chess_frame__mhxYm{margin-top:12px}.chess_piece__aLD6i{font-size:clamp(25px,9vw,55px)}.chess_status__8_sGZ{font-size:13px}.chess_status__8_sGZ span:last-child{font-size:11px}}.chess_panelTop__5Vrix span{color:#806022}.chess_transfer__vJY3F{margin-top:20px;border-top:1px solid #dbc9a7;padding-top:14px;font-size:13px}.chess_transfer__vJY3F summary{cursor:pointer;font-weight:700;min-height:35px}.chess_transfer__vJY3F p{line-height:1.5}.chess_transfer__vJY3F label{margin:10px 0 4px}.chess_transfer__vJY3F textarea{width:100%;resize:vertical;border:1px solid #bca785;border-radius:8px;background:white;color:#213e30;padding:8px}.chess_transferButtons___U_Rr{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.chess_transferButtons___U_Rr button{min-height:44px;border:1px solid #c8aa72;border-radius:10px;background:#fff6e3;color:#264335;padding:8px 12px;font-weight:700}.chess_board__k5MLp[data-theme=forest] .chess_light__Q4fp8{background:#e5e8c7;color:#284e3b}.chess_board__k5MLp[data-theme=forest] .chess_dark__C6pVK{background:#567d58;color:#fff8df}.chess_board__k5MLp[data-theme=slate] .chess_light__Q4fp8{background:#e3e8e4;color:#354d55}.chess_board__k5MLp[data-theme=slate] .chess_dark__C6pVK{background:#607d86;color:#fff}.chess_preferences__xIJcD label{display:flex;gap:8px;align-items:center;margin:10px 0;font-weight:500}.chess_preferences__xIJcD input{width:18px;height:18px;accent-color:#194a39}.chess_lastMove__EKOy3{animation:chess_move-highlight__KOx3f .6s ease-out}@keyframes chess_move-highlight__KOx3f{0%{box-shadow:inset 0 0 0 7px #ffdd7a}to{box-shadow:inset 0 0 0 0 transparent}}@media (prefers-reduced-motion:reduce){.chess_lastMove__EKOy3{animation:none}}.chess_history__ybllG button{border:0;background:transparent;text-align:left;min-height:36px;padding:4px;border-radius:5px;font-weight:700;color:#233f32}.chess_history__ybllG button:focus-visible,.chess_history__ybllG button:hover{background:#d5c5a2}[data-game-session] .chess_frame__mhxYm{width:min(100%,max(180px,calc(var(--game-height, 100dvh) - 170px)))}[data-game-session] .chess_layout__EpNxR{padding:12px;border-radius:18px;border-top:2px solid #c7a15d}[data-game-session] .chess_panelTop__5Vrix{display:none}[data-game-session] .chess_layout__EpNxR{grid-template-columns:minmax(0,1fr)}[data-game-session] .chess_play__ll6cz{width:min(100%,780px);margin-inline:auto}.chess_frame__mhxYm{width:min(100%,max(180px,calc(var(--game-height) - 220px)))}[data-mobile] .chess_frame__mhxYm{container-type:inline-size}[data-mobile] .chess_piece__aLD6i{font-size:clamp(18px,10cqw,48px)}@media (orientation:landscape){[data-mobile] .chess_page__jo4OB .chess_layout__EpNxR{grid-template-columns:minmax(0,1fr)!important;padding:6px}[data-mobile] .chess_play__ll6cz>:not(.chess_frame__mhxYm){grid-column:2}[data-mobile] .chess_status__8_sGZ{flex-wrap:wrap;padding:8px}[data-mobile] .chess_actions__bB6wj{gap:6px}[data-mobile] .chess_actions__bB6wj button{min-height:48px}[data-mobile] .chess_hint__5J2Uk{font-size:12px;margin:0;display:none}[data-mobile] .chess_frame__mhxYm{padding:5px;width:min(100%,calc(var(--game-height) - 36px));margin:0 auto;grid-row:1/5;grid-column:1;align-self:start}[data-mobile] .chess_play__ll6cz{max-width:780px;gap:8px 16px;grid-template-columns:minmax(0,1fr) 220px;display:grid;align-items:start}[data-mobile] .chess_page__jo4OB{padding:4px}}