.chess-studio{min-height:100vh;background:#eeede7;color:#22302b;font:15px system-ui,sans-serif;padding:24px;box-sizing:border-box}.chess-studio *{box-sizing:border-box}.chess-header{max-width:1440px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:18px}.chess-header h1{font:600 32px Georgia,serif;margin:8px 0}.chess-header p{color:#617068}.chess-layout{max-width:1440px;margin:20px auto;display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}.chess-controls{background:#fafaf7;padding:22px;border:1px solid #d9ddd4;border-radius:14px;display:grid;gap:16px}.chess-studio button{border:1px solid #c7cfc3;background:#fff;color:#25382b;border-radius:8px;padding:10px 13px;font:inherit;cursor:pointer}.chess-studio button:hover{background:#e6ecdf}.chess-studio button[aria-pressed=true]{background:#254b3d;color:#fff;border-color:#254b3d}.chess-studio button:disabled{opacity:.4;cursor:default}.chess-studio .chess-download{background:#254b3d;color:#fff}.chess-tools,.chess-history,.chess-colors{display:flex;gap:7px;flex-wrap:wrap}.chess-palette{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.chess-palette button{padding:5px;font-size:11px}.chess-palette svg{width:42px;height:42px;display:block;margin:auto}.chess-controls h2{margin:0;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#62715f}.chess-controls p{font-size:13px;line-height:1.6;margin:0;color:#59685e}.chess-stage{display:flex;justify-content:center;min-width:0}.chess-stage>svg{display:block;width:min(100%,calc(100vh - 150px));min-width:260px;max-height:calc(100vh - 130px);background:#f8f5ec;box-shadow:0 16px 50px #27392d20;border-radius:8px;touch-action:none;user-select:none}.chess-stage [role=button]:focus-visible{outline:none;stroke:#e0a729;stroke-width:5}.chess-studio a{color:#355a45}.chess-status{min-height:20px;font-size:13px}.chess-coordinates{font:500 18px system-ui,sans-serif;fill:#536653}.chess-palette-title{font-weight:600;font-size:13px}@media(max-width:800px){.chess-studio{padding:12px}.chess-layout{grid-template-columns:1fr}.chess-stage{grid-row:1}.chess-stage>svg{width:100%;max-height:none}.chess-controls{padding:16px}.chess-header{flex-wrap:wrap}.chess-header h1{font-size:26px}}.chess-studio button.chess-download:hover{background:#193e30;color:#fff}.chess-logo{width:46px;height:46px;vertical-align:middle;margin-right:12px}.chess-header h1{display:flex;align-items:center}.chess-support{max-width:1440px;margin:12px auto 0;padding:10px 14px;border-radius:8px;background:#e3e8dc;font-size:13px;color:#415440}.chess-support a{font-weight:650;white-space:nowrap}.chess-controls{max-height:calc(100vh - 205px);overflow:auto;scrollbar-width:thin}.chess-layout{margin-top:16px}.chess-stage{position:sticky;top:18px}.chess-stage>svg{width:min(100%,calc(100vh - 215px));max-height:calc(100vh - 205px)}.chess-panel{border-top:1px solid #d9ddd4;padding-top:12px}.chess-panel[open]{display:grid;gap:10px}.chess-panel summary{cursor:pointer;font-weight:650;font-size:14px}.chess-select{display:grid;gap:5px;font-size:12px;font-weight:550}.chess-select select,.chess-select input{width:100%;padding:8px;background:#fff;color:#25382b;border:1px solid #c7cfc3;border-radius:6px;font:13px system-ui}.chess-check{display:flex;gap:8px;align-items:center;font-size:13px}.chess-move-list{padding:0;list-style:none;display:grid;gap:7px;margin:0}.chess-move-list li{display:grid;gap:4px}.chess-move-list li>button{text-align:left;font-size:12px}.chess-order{display:flex;gap:4px}.chess-order button{padding:4px 12px}.chess-badge-gallery{display:grid;grid-template-columns:1fr 1fr;gap:5px}.chess-badge-gallery button{min-width:0;padding:4px;font-size:10px}.chess-badge-preview{display:block;width:100%;height:30px}.chess-badge-row{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13px}.chess-badge-row button{padding:4px 10px}@media(max-width:800px){.chess-controls{max-height:none;overflow:visible}.chess-stage{position:static}.chess-stage>svg{width:100%;max-height:none}.chess-support{line-height:1.6}}.chess-theme-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.chess-theme-gallery button{padding:4px;font-size:11px}.chess-theme-gallery svg{display:block;width:100%;height:48px;border-radius:4px;margin-bottom:4px}.chess-draggable-badge{cursor:grab}.chess-draggable-badge:active{cursor:grabbing}.chess-badge-row input{min-width:0;flex:1;width:100%;padding:6px;border:1px solid #c7cfc3;border-radius:5px;background:#fff;color:#25382b;font:13px system-ui}.chess-mode-hint{font-size:11px!important}.chess-theme-gallery{grid-template-columns:repeat(2,1fr)}.chess-draggable-badge>g{pointer-events:none}.chess-draggable-badge{touch-action:none}.chess-studio button[data-obj=chess-add-badge]{background:#254b3d;color:#fff;width:100%}.chess-studio button[data-obj=chess-add-badge]:disabled{opacity:1;color:#5a675c;background:#e7ece4}.chess-badge-style-panel summary{padding:8px 0;font-size:12px;cursor:pointer}.chess-studio button[data-obj=chess-open-badges]{border-color:#254b3d;font-weight:650}.chess-stage{flex-direction:column;align-items:center;gap:10px;--chess-board-size:min(100%, calc(100vh - 275px) )}.chess-stage>svg{width:var(--chess-board-size);max-height:calc(100vh - 275px);min-width:0;flex:none}.chess-output-bar{width:var(--chess-board-size);display:flex;align-items:center;gap:8px;padding:9px 10px;background:#fafaf7;border:1px solid #d9ddd4;border-radius:10px;box-shadow:0 3px 12px #27392d0a;flex:none}.chess-output-bar button{white-space:nowrap}.chess-output-bar .chess-download{margin-right:auto}.chess-output-bar button:disabled{opacity:.55}@media(max-width:800px){.chess-stage{--chess-board-size:100%}.chess-stage>svg{max-height:none}.chess-output-bar{padding:8px;gap:6px}.chess-output-bar button{padding:9px;font-size:13px}}.chess-stage>svg{overflow:visible}.chess-context-menu{position:fixed;z-index:50;display:grid;gap:3px;width:302px;max-height:calc(100vh - 16px);overflow:auto;padding:12px;border:1px solid #c7cfc3;border-radius:12px;background:#fafaf7;box-shadow:0 10px 40px #22302b30}.chess-context-menu strong{padding:5px 7px;font-size:13px}.chess-context-menu button{text-align:left;font-size:13px;padding:8px}.chess-quick-dialog{width:min(440px,calc(100vw - 32px));border:1px solid #c7cfc3;border-radius:14px;padding:24px;background:#fafaf7;color:#25382b;font:14px system-ui}.chess-quick-dialog::backdrop{background:#17251f66}.chess-quick-dialog form,.chess-quick-dialog label{display:grid;gap:10px}.chess-quick-dialog form{gap:16px}.chess-quick-dialog input,.chess-quick-dialog textarea{box-sizing:border-box;width:100%;font:inherit;padding:9px;border:1px solid #c7cfc3;border-radius:6px}.chess-quick-dialog textarea{min-height:90px;resize:vertical}.chess-quick-dialog h2{margin:0;font-size:19px}.chess-quick-dialog p{font-size:12px;margin:0;line-height:1.5;color:#617068}.chess-quick-dialog footer{display:flex;gap:8px;justify-content:flex-end}.chess-quick-dialog button{font:inherit;padding:10px 14px;border:1px solid #c7cfc3;border-radius:7px;cursor:pointer}.chess-quick-dialog .chess-download{background:#254b3d;color:#fff}.chess-stage{--chess-board-size:min(100%, calc((100vh - 275px)*1.71134) )}.chess-stage>svg{aspect-ratio:1660/970;height:auto;max-height:calc(100vh - 275px);box-shadow:none;border-radius:0}.chess-output-bar{flex-wrap:wrap}.chess-move-panels{width:100%;flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-top:24px}.chess-move-panels>h2,.chess-move-panels>p{grid-column:1/-1;margin:0}.chess-move-panels>h2{font-size:18px}.chess-move-panel{margin:0;padding:12px;background:#fafaf7;border:1px solid #d9ddd4;border-radius:12px;min-width:0}.chess-move-panel figcaption{font-size:13px;font-weight:650;margin-bottom:12px}.chess-move-panel svg{display:block;width:100%;height:auto;overflow:visible}.chess-move-panel [data-editor-only]{display:none}.chess-move-panel svg{pointer-events:none}.tactical-context-fields{display:flex;gap:12px;flex-wrap:wrap}.tactical-context-fields label{display:grid;gap:6px;font:13px system-ui}.tactical-context-fields select{padding:8px;border:1px solid #c7cfc3;border-radius:6px;background:#fff;color:#25382b;max-width:260px}@media(max-width:800px){.chess-stage{--chess-board-size:100%}.chess-stage>svg{max-height:none}.chess-move-panels{grid-template-columns:1fr}.chess-output-bar .chess-download{margin-right:0}}.chess-move-panels{grid-template-columns:repeat(var(--panel-columns,2),minmax(0,1fr))}.chess-carousel-controls{grid-column:1/-1;display:flex;align-items:end;gap:12px;flex-wrap:wrap}.chess-carousel-controls>span{padding-bottom:10px;font-size:13px}.tactical-quick-theme{background:var(--studio-bg);color:var(--studio-text);border-color:var(--studio-border)}.tactical-quick-theme input,.tactical-quick-theme textarea,.tactical-quick-theme select{background:var(--studio-surface);color:var(--studio-text);border-color:var(--studio-border)}.tactical-quick-theme p{color:var(--studio-text)}@media(max-width:800px){.chess-move-panels{grid-template-columns:1fr}}.chess-layout{display:block}.chess-header-actions{display:flex;align-items:center;gap:14px}.chess-header-actions .chess-theme-gallery{display:flex;gap:7px}.chess-header-actions .chess-theme-gallery button{width:85px;padding:5px;font-size:10px}.chess-header-actions .chess-theme-gallery svg{width:50px;height:34px}.chess-controls{position:fixed;z-index:70;left:20px;top:70px;bottom:20px;width:320px;max-height:none;overflow:auto;box-shadow:0 12px 60px #22302b40}.chess-controls[hidden]{display:none!important}.chess-drawer-backdrop{position:fixed;inset:0;z-index:65;background:#17251f55!important;border:0!important;border-radius:0!important;cursor:default!important}.chess-board-status,.chess-replay-bar{width:var(--chess-board-size);display:flex;gap:12px;align-items:center;flex-wrap:wrap}.chess-board-status{padding:10px;background:#fafaf7;border:1px solid #d9ddd4;border-radius:10px;justify-content:space-between}.chess-mode-tabs,.chess-evaluation{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.chess-mode-tabs button{padding:7px 12px}.chess-mode-tabs strong{font-size:12px;background:#e3e8dc;padding:8px;border-radius:6px}.chess-evaluation{font-size:12px}.chess-evaluation>span{color:#617068}.chess-evaluation button{padding:6px 8px;font-size:11px}.chess-replay-bar{font-size:12px}.chess-replay-bar button{padding:6px 12px}.chess-stage{--chess-board-size:min(100%, calc((100vh - 355px)*1.71134) )}.chess-stage>svg{max-height:calc(100vh - 355px)}@media(max-width:800px){.chess-header-actions{flex-wrap:wrap}.chess-header-actions .chess-theme-gallery button{width:66px}.chess-controls{left:8px;top:65px;width:min(320px,calc(100vw - 16px))}.chess-stage{--chess-board-size:100%}.chess-stage>svg{max-height:none}}.chess-header>div:first-child>p{display:inline-block;margin:8px 0 8px 12px;vertical-align:middle}.chess-action-themes{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;background:#f2eee3;border:1px solid #d8d4c8;border-radius:10px;margin:10px 0;color:#34483b}.chess-action-themes button,.chess-action-themes select{padding:7px 11px;border:1px solid #c4cabb;border-radius:8px;background:#fffdf7;cursor:pointer}.chess-action-themes button[aria-pressed=true]{background:#344f40;color:#fff}.chess-action-hint{font-size:12px;opacity:.8}.sacrifox-modal{position:fixed;inset:20px;z-index:1500;background:#f7f4ed;box-shadow:0 0 0 100vmax #13251bb8;display:flex;flex-direction:column;border-radius:14px;overflow:hidden}.sacrifox-modal>header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;flex:none}.sacrifox-modal>header button{padding:8px 14px;cursor:pointer}.sacrifox-modal iframe{border:0;width:100%;flex:1;min-height:0}@media(max-width:700px){.sacrifox-modal{inset:5px}}.chess-header-actions .chess-theme-gallery{flex-wrap:wrap;justify-content:flex-end}.chess-action-themes{width:var(--chess-board-size)}.chess-sacrifox-logo{display:block;width:84px;height:84px;object-fit:contain}.chess-studio{padding:16px}.chess-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:none;margin:0;align-items:start}.chess-settings-column{grid-column:1;display:flex;flex-direction:column;gap:12px;min-width:0;position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow:auto;padding-right:12px;scrollbar-width:thin}.chess-settings-column .chess-header{display:block;margin:0}.chess-settings-column .chess-header-actions{margin-top:12px}.chess-settings-column .chess-theme-gallery{justify-content:flex-start}.chess-settings-column .chess-support{margin:0;line-height:1.5}.chess-settings-column .chess-output-bar,.chess-settings-column .chess-board-status,.chess-settings-column .chess-replay-bar,.chess-settings-column .chess-action-themes{width:100%;margin:0}.chess-settings-column .chess-output-bar{gap:8px;padding:12px}.chess-settings-column .chess-output-bar .chess-download{margin-right:0}.chess-settings-column .chess-board-status{align-items:flex-start;gap:14px}.chess-settings-column .chess-evaluation{line-height:1.6}.chess-settings-column .chess-controls{position:static;width:100%;max-height:none;overflow:visible;box-shadow:none;padding:16px}.chess-settings-column .chess-action-hint{flex-basis:100%}.chess-stage{grid-column:2 / span 2;--chess-board-size:100%;position:sticky;top:16px;display:flex;flex-direction:column;align-items:center;min-width:0;width:100%;gap:0}.chess-stage>svg{width:100%;height:auto;max-height:calc(100dvh - 32px);min-width:0}.chess-stage:has(.chess-move-panels){position:static}@media(max-width:900px){.chess-layout{grid-template-columns:minmax(270px,1fr) minmax(0,2fr);gap:16px}.chess-stage{grid-column:2}.chess-settings-column{padding-right:4px}.chess-settings-column .chess-theme-gallery button{width:70px}}@media(max-width:650px){.chess-studio{padding:10px}.chess-layout{grid-template-columns:minmax(0,1fr)}.chess-settings-column{grid-column:1;position:static;max-height:none;overflow:visible;padding-right:0}.chess-stage{grid-column:1;position:static}.chess-stage>svg{max-height:none}.chess-settings-column .chess-header-actions .chess-theme-gallery{flex-wrap:wrap}}.chess-settings-heading{display:grid;gap:12px}.chess-live-controls{display:grid;gap:12px;padding:12px;background:#fafaf7;border:1px solid #d9ddd4;border-radius:10px}.chess-live-controls p{font-size:12px;line-height:1.5;margin:0;color:#617068}.chess-stage:has([data-obj=chess-drag-piece]){cursor:grabbing}.chess-studio{height:100dvh;min-height:0;display:flex;flex-direction:column;gap:16px;overflow:auto}.chess-workspace-header{flex:none;width:100%;max-width:none;margin:0;display:block}.chess-workspace-header h1{margin:4px 0}.chess-workspace-header>div:first-child>.chess-workspace-tagline{display:block;margin:4px 0 8px}.chess-workspace-header [data-obj=chess-setup-toggle]{display:block}.chess-layout{flex:1;min-height:0}.chess-settings-column{position:static;top:auto;max-height:100%;height:100%;overflow:auto}.chess-settings-column[hidden]{display:none!important}.chess-layout[data-settings-open=false]{grid-template-columns:minmax(0,1fr)}.chess-layout[data-settings-open=false]>.chess-stage{grid-column:1}.chess-stage,.chess-stage:has(.chess-move-panels){position:static;height:100%;overflow:auto;min-height:0;justify-content:flex-start}.chess-stage>svg{max-height:100%;flex-shrink:0}.chess-settings-heading .chess-theme-gallery{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:7px}.chess-settings-heading .chess-theme-gallery button{width:85px}@media(max-width:650px){.chess-studio{height:auto;min-height:100dvh;overflow:visible}.chess-layout{flex:none;min-height:auto}.chess-settings-column,.chess-stage{height:auto;max-height:none;overflow:visible}.chess-stage>svg{max-height:none}.chess-settings-heading .chess-theme-gallery button{width:70px}}@media(min-width:651px){.chess-layout{grid-template-rows:minmax(0,1fr)}.chess-settings-column{min-height:0}}.chess-workspace-header{position:relative;padding-right:58px}.chess-workspace-header [data-obj=chess-setup-toggle]{position:absolute;right:0;top:0;width:42px;height:42px;padding:10px;display:grid;place-items:center}.chess-canvas-viewport{width:100%;height:100%;min-height:0;flex:0 0 100%}.chess-canvas-viewport>[data-obj=chess-board]{display:block;width:100%;height:100%;max-height:none;min-width:0;aspect-ratio:auto;background:#eeede7;touch-action:none;user-select:none;overflow:hidden}.chess-stage{align-items:stretch}@media(max-width:650px){.chess-canvas-viewport{height:auto;aspect-ratio:1660/970;flex:none}}.chess-workspace-header{padding-right:108px}.chess-workspace-header [data-obj=chess-unflatten]{position:absolute;right:50px;top:0;width:42px;height:42px;padding:10px;display:grid;place-items:center}.chess-workspace-header [data-obj=chess-unflatten][aria-pressed=true]{background:#254b3d;border-color:#254b3d;color:#fff}.chess-workspace-header{padding-right:158px}.chess-workspace-header [data-obj=chess-mode-toggle]{position:absolute;right:100px;top:0;width:42px;height:42px;padding:10px;display:grid;place-items:center}.chess-workspace-header [data-obj=chess-mode-toggle][aria-pressed=true]{background:#254b3d;border-color:#254b3d;color:#fff}.chess-workspace-header:has([data-obj=sacrifox-bingo-toggle]){padding-right:208px}.chess-workspace-header [data-obj=sacrifox-bingo-toggle]{position:absolute;right:150px;top:0;width:42px;height:42px;padding:10px;display:grid;place-items:center}.chess-workspace-header [data-obj=sacrifox-bingo-toggle][aria-pressed=true]{background:#254b3d;border-color:#254b3d;color:#fff}.sacrifox-bingo{flex:none;background:#fcf7e8;border:1px solid #d8c99d;border-radius:14px;padding:18px;margin:12px 0;color:#3f4232}.sacrifox-bingo-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.sacrifox-bingo h2{font:600 21px Georgia,serif;margin:0}.sacrifox-bingo p{font-size:12px;line-height:1.5}.sacrifox-bingo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.sacrifox-bingo-cell{display:flex;flex-direction:column;gap:6px;min-height:100px;padding:12px;border:1px dashed #c8be9b;border-radius:9px;background:#fffdf6}.sacrifox-bingo-cell>span{font-size:24px;color:#9d987f}.sacrifox-bingo-cell strong{font-size:13px}.sacrifox-bingo-cell small{font-size:11px;color:#69705c}.sacrifox-bingo-cell[data-checked=true]{background:#ffd58c;border:1px solid #d5a744;color:#254b3d}.sacrifox-bingo-cell[data-checked=true]>span,.sacrifox-bingo-cell[data-checked=true] small{color:#254b3d}.chess-stage:has(.sacrifox-bingo)>.chess-canvas-viewport{height:0;min-height:320px;flex:1 0 320px}@media(max-width:800px){.sacrifox-bingo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.chess-stage:has(.sacrifox-bingo)>.chess-canvas-viewport{height:auto;min-height:0}}.sacrifox-bingo[data-expanded=false]{padding:7px 10px;margin:5px 0;border-radius:9px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-heading{margin-bottom:5px;gap:5px}.sacrifox-bingo[data-expanded=false] h2{font:600 11px system-ui,sans-serif}.sacrifox-bingo-heading button{padding:0!important;width:24px;height:24px;line-height:20px;font-size:17px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-cell{min-height:38px;padding:6px;gap:5px;flex-direction:row;align-items:center;border-radius:6px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-cell>span{font-size:20px;flex:none}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-cell strong{font-size:10px;line-height:1.15}.sacrifox-bingo-cell:focus-visible{outline:2px solid #d29530;outline-offset:1px}.sacrifox-bingo[data-expanded=true] .sacrifox-bingo-heading{margin-bottom:8px}@media(max-width:1000px){.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-grid{overflow-x:auto;grid-template-columns:repeat(10,minmax(92px,1fr));padding-bottom:3px}}.chess-workspace-header,.chess-workspace-header:has([data-obj=sacrifox-bingo-toggle]){padding-right:0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.chess-top-menu{display:flex;flex-wrap:wrap;min-width:0;max-width:100%;gap:8px;flex:none;align-items:center}.chess-workspace-header .chess-top-menu button[data-obj]{position:static;width:42px;height:42px;padding:10px;display:grid;place-items:center}.chess-top-menu button[aria-pressed=true]{background:#254b3d;color:#fff;border-color:#254b3d}.chess-fullscreen{position:fixed;inset:0;z-index:1000;width:100%;height:100dvh;padding:8px;gap:0}.chess-fullscreen .chess-workspace-header,.chess-fullscreen .chess-settings-column{display:none!important}.chess-fullscreen .chess-layout{grid-template-columns:minmax(0,1fr)!important}.chess-fullscreen .chess-stage{grid-column:1!important}.chess-fullscreen-exit{position:fixed;right:12px;bottom:12px;z-index:1100;opacity:.4;width:36px;height:36px;padding:7px!important}.chess-fullscreen-exit:hover,.chess-fullscreen-exit:focus-visible{opacity:1}.chess-import-dialog{border:1px solid #d4d9cd;background:#fafaf7;color:#22302b;border-radius:16px;padding:0;width:min(650px,calc(100% - 32px));max-height:90dvh;margin:auto;overflow:hidden;box-shadow:0 18px 70px #0004;display:flex;flex-direction:column}.chess-import-dialog:not([open]){display:none}.chess-import-dialog::backdrop{background:#15271f88}.chess-import-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #d8dfd3;flex:none}.chess-import-dialog .chess-import-close{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:9px}.chess-import-close .chess-fa-icon{transform:rotate(45deg)}.chess-import-body{display:flex;flex-direction:column;gap:12px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 22px}.chess-entry-dialog{width:min(460px,calc(100% - 32px));padding:28px;gap:14px}.chess-entry-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.chess-entry-choices button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px}.chess-entry-choices button:first-child{background:#254b3d;color:#fff;border-color:#254b3d}.chess-entry-choices .chess-fa-icon{width:20px;height:20px}.chess-import-dialog h2{margin:0;font:600 24px Georgia,serif}.chess-import-dialog p{font-size:12px;line-height:1.5;margin:0;color:#5c6a60}.chess-import-dialog label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}.chess-import-dialog input,.chess-import-dialog textarea{width:100%;padding:9px;border:1px solid #bcc6b8;border-radius:6px;background:#fff;color:#22302b;font:14px system-ui,sans-serif}.chess-import-actions{display:flex;gap:8px;flex-wrap:wrap}.chess-import-candidate{text-align:left}.chess-import-dialog [role=status]{white-space:pre-line}@media(max-width:650px){.chess-workspace-header{flex-wrap:wrap}.chess-top-menu{width:100%;justify-content:flex-end;gap:6px}.chess-workspace-header .chess-top-menu button[data-obj]{width:38px;height:38px;padding:8px}}.chess-top-menu button[data-obj=chess-import-toggle]{background:#254b3d;color:#fff;border-color:#254b3d}.chess-top-menu button[data-obj=chess-import-toggle]:hover{background:#183d2f}.chess-import-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chess-import-choices button{padding:12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:12px}.chess-import-choices .chess-fa-icon{width:16px;height:16px;flex:none}.chess-import-choices button[aria-pressed=true]{background:#e2ebdb;border-color:#547659;color:#254b3d}.chess-import-dialog .chess-import-submit{background:#254b3d;color:#fff;border-color:#254b3d}.chess-canvas-player{flex:none;display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 10px;margin:4px 0;border:1px solid #cdd5c8;border-radius:9px;background:#fafaf7;font-size:11px;flex-wrap:wrap}.chess-canvas-player button{padding:5px 9px;font-size:11px}.chess-canvas-player input[type=range]{width:160px;max-width:22vw;accent-color:#254b3d}.chess-canvas-player .chess-select{display:flex;gap:5px;align-items:center;font-size:11px}.chess-canvas-player select{padding:4px;max-width:65px}.chess-stage:has(.chess-canvas-player)>.chess-canvas-viewport{height:0;min-height:260px;flex:1 0 260px}@media(max-width:650px){.chess-stage:has(.chess-canvas-player)>.chess-canvas-viewport{height:auto;min-height:0;flex:none}.chess-canvas-player{gap:5px}.chess-canvas-player input[type=range]{max-width:100%;width:100px}}[data-player-status][data-to-move=true]>rect{fill:#54df7e}[data-player-status][data-to-move=true]>circle:first-of-type{fill:#00ff62;stroke:#087732;stroke-width:.7;animation:chess-turn-lamp 1.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center}@keyframes chess-turn-lamp{0%,to{opacity:1;filter:drop-shadow(0 0 3px #00f86a);transform:scale(1.08)}50%{opacity:.4;filter:drop-shadow(0 0 .5px #00f86a);transform:scale(.88)}}@media(prefers-reduced-motion:reduce){[data-player-status][data-to-move=true]>circle:first-of-type{animation:none;opacity:1;filter:drop-shadow(0 0 2px #00f86a)}}[data-player-status][data-checkmate=true]>rect{animation:chess-mated-bar 1s ease-in-out infinite}@keyframes chess-mated-bar{0%,to{fill:#fa4c57;filter:drop-shadow(0 0 4px #d62742)}50%{fill:#ffd1d6;filter:none}}@media(prefers-reduced-motion:reduce){[data-player-status][data-checkmate=true]>rect{animation:none;fill:#fa4c57}}.chess-engine-setup{border:1px solid #aebfb0;border-radius:9px;padding:12px;background:#f7faf4;scroll-margin-top:8px}.chess-engine-setup>summary{cursor:pointer;font-weight:700;font-size:14px;line-height:1.5}.chess-engine-setup>summary:focus-visible{outline:2px solid #254b3d;outline-offset:4px}.chess-engine-setup p{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.chess-engine-setup .chess-select{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:8px 0}.chess-engine-setup select{max-width:100%}.sacrifox-bingo{width:100%;box-sizing:border-box;background:#f4f7ef;border-color:#bccab5;color:#354c3b}.sacrifox-bingo[data-expanded=false]{display:grid;grid-template-columns:90px minmax(0,1fr) 22px;align-items:center;gap:6px;padding:4px 8px;margin:3px 0;border-radius:7px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-heading{display:contents}.sacrifox-bingo[data-expanded=false] h2{grid-column:1;grid-row:1;width:90px;font:600 9px/12px system-ui,sans-serif}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-heading button{grid-column:3;grid-row:1;width:22px;height:22px;line-height:18px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-grid{grid-column:2;grid-row:1;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px;overflow:visible;padding:0;min-width:0}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-cell{height:22px;min-height:22px;min-width:0;padding:1px;gap:0;justify-content:center;box-sizing:border-box;border-radius:4px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-cell>span{font-size:15px;line-height:18px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-cell strong{display:none}.sacrifox-bingo[data-expanded=true]{display:block}@media(max-width:650px){.sacrifox-bingo[data-expanded=false]{grid-template-columns:66px minmax(0,1fr) 20px;gap:4px;padding:3px 5px}.sacrifox-bingo[data-expanded=false] h2{width:66px;font-size:8px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-grid{gap:2px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-cell>span{font-size:13px}}.sacrifox-bingo[data-expanded=false]{grid-template-columns:minmax(0,1fr) 22px}.sacrifox-bingo[data-expanded=false] h2{display:none}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-grid{grid-column:1}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-heading button{grid-column:2}@media(max-width:650px){.sacrifox-bingo[data-expanded=false]{grid-template-columns:minmax(0,1fr) 20px}}.sacrifox-bingo[data-expanded=true] .sacrifox-bingo-heading{justify-content:flex-end}.sacrifox-bingo-cell[data-checked=true]{animation:chess-bingo-discovery .8s ease-out both}.sacrifox-bingo-cell[data-checked=true]>span{display:inline-block;animation:chess-bingo-artifact .75s cubic-bezier(.2,.8,.25,1) both;transform-origin:center}@keyframes chess-bingo-discovery{0%{box-shadow:0 0 #ffd57200;filter:brightness(1)}35%{box-shadow:0 0 0 3px #edc761bb,0 0 15px #edc76199;filter:brightness(1.35)}to{box-shadow:0 0 #edc76100;filter:brightness(1)}}@keyframes chess-bingo-artifact{0%{opacity:0;transform:scale(.35) rotate(-18deg)}48%{opacity:1;transform:scale(1.4) rotate(8deg)}72%{transform:scale(.92) rotate(-3deg)}to{opacity:1;transform:scale(1) rotate(0)}}@media(prefers-reduced-motion:reduce){.sacrifox-bingo-cell[data-checked=true],.sacrifox-bingo-cell[data-checked=true]>span{animation:none;filter:none}}.chess-game-library{border-top:4px solid #48715a;padding-top:22px;margin-top:22px}.chess-game-library>p{font-size:17px;font-weight:700;color:#304838}.chess-game-library h3{margin:0 0 6px;font-size:17px}.chess-library-game{border:1px solid #cad5c5;border-radius:9px;padding:12px;margin-top:9px;display:flex;flex-direction:column;gap:5px;background:#f5f8ef}.chess-library-game:first-of-type{border-color:#48715a;background:#e9f1e4}.chess-library-game>strong{font-size:14px}.chess-library-game>span{font-size:12px}.chess-library-game small{font-size:11px;color:#61705f}.chess-library-game .chess-import-actions{margin-top:5px;align-items:center;justify-content:space-between}.chess-library-game a{font-size:11px;color:#305b40}.sacrifox-bingo-cell[data-outcome=gain]{background:#7956c5;border-color:#7956c5;color:#fff}.sacrifox-bingo-cell[data-outcome=mate]{background:#26c2a3;border-color:#168a79;color:#102e28}.sacrifox-bingo-cell[data-outcome=gain]>span,.sacrifox-bingo-cell[data-outcome=gain] small{color:#fff}.sacrifox-bingo-cell[data-outcome=mate]>span,.sacrifox-bingo-cell[data-outcome=mate] small{color:#102e28}.sacrifox-bingo .bingo-count{font:700 9px/10px system-ui,sans-serif;white-space:nowrap}.sacrifox-bingo[data-expanded=false]{grid-template-columns:minmax(0,1fr) 22px 22px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-heading [data-obj=bingo-counts-toggle]{grid-column:2;grid-row:1;width:22px;height:22px;font-size:13px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-heading [data-obj=sacrifox-bingo-expand]{grid-column:3}.sacrifox-bingo[data-expanded=false][data-counts=true] .sacrifox-bingo-cell{height:28px;min-height:28px;flex-direction:column}.sacrifox-bingo[data-expanded=false][data-counts=true] .sacrifox-bingo-cell>span{font-size:13px;line-height:14px}.sacrifox-bingo-heading [aria-pressed=true]{background:#254b3d;color:#fff}.sacrifox-bingo[data-expanded=true] .sacrifox-bingo-heading{gap:6px}@media(max-width:650px){.chess-top-menu{gap:4px;flex-wrap:wrap}.chess-workspace-header .chess-top-menu button[data-obj]{width:36px;height:36px;padding:7px}.sacrifox-bingo[data-expanded=false]{grid-template-columns:minmax(0,1fr) 22px 22px}}.chess-canvas-player{position:fixed;inset:auto 0 0;z-index:60;box-sizing:border-box;width:100%;margin:0;border-radius:10px 10px 0 0;padding:10px 16px max(10px,env(safe-area-inset-bottom));box-shadow:0 -3px 18px #19372b20}.chess-studio:has(.chess-canvas-player){padding-bottom:78px}.chess-canvas-player [aria-pressed=true]{background:#254b3d;border-color:#254b3d;color:#fff}.chess-bingo-review-status{flex:none;min-height:20px;padding:2px 8px;font:500 11px/16px system-ui,sans-serif;color:#42634d;text-align:center}.chess-bingo-review-status button{padding:2px 8px;font-size:11px}.chess-fullscreen .chess-canvas-player{z-index:1050}.chess-fullscreen-exit{bottom:80px}@media(max-width:650px){.chess-studio:has(.chess-canvas-player){padding-bottom:140px}.chess-canvas-player{padding:7px 8px max(7px,env(safe-area-inset-bottom));gap:5px}.chess-fullscreen-exit{bottom:140px}}.chess-workspace-header,.chess-workspace-header:has([data-obj=sacrifox-bingo-toggle]){display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px}.chess-workspace-header h1{display:flex;align-items:center;gap:12px}.chessaha-brand{display:block;width:200px;flex:none}.chessaha-logo{display:block;width:100%;height:auto;object-fit:contain}.chess-workspace-header>div:first-child>.chessaha-tagline{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.chess-workspace-header .chess-portal-motto{min-width:0;max-width:65ch;margin:0;padding:2px 0 2px 20px;border-left:1px solid #b8cbc2;color:#4a6359;font:italic 17px/1.45 Georgia,Times New Roman,serif;text-wrap:pretty}.chess-portal-motto strong{color:#245c50;font-weight:600;font-style:normal}@media(max-width:1100px){.chess-workspace-header,.chess-workspace-header:has([data-obj=sacrifox-bingo-toggle]){grid-template-columns:auto minmax(0,1fr);gap:10px 20px}.chess-workspace-header .chess-top-menu{grid-column:1 / -1;justify-content:flex-end}}@media(max-width:650px){.chess-workspace-header,.chess-workspace-header:has([data-obj=sacrifox-bingo-toggle]){grid-template-columns:minmax(0,1fr);gap:10px}.chessaha-brand{width:160px}.chess-workspace-header .chess-portal-motto{font-size:15px;padding-left:12px}.chess-workspace-header .chess-top-menu{justify-content:flex-start}}.chess-evidence-inspector{margin-top:12px;border-top:1px solid var(--studio-border);padding-top:10px}.chess-evidence-inspector summary{cursor:pointer;font-weight:700}.chess-evidence-events{max-height:240px;overflow:auto;padding-left:24px;font-size:12px}.chess-evidence-events li{padding:5px 0}.chess-evidence-events li span{display:block;opacity:.8}.chess-predictions{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;padding:6px 12px;color:#254b40;font-size:12px}.chess-predictions button,.chess-predictions select{min-height:30px;border:1px solid #a7bdb0;border-radius:7px;background:#f5f8f2;color:#254b40;padding:4px 10px}.chess-predictions button[aria-pressed=true]{background:#254b40;color:#fff}.chess-predictions input[type=range]{max-width:190px}.chess-prediction-detail,.chess-prediction-notation{flex-basis:100%;text-align:center;margin:1px 0;line-height:1.4}.chess-prediction-detail{max-width:850px;color:#52665c}.chess-prediction-notation{font-family:ui-monospace,monospace;letter-spacing:.03em}.chess-work-status{position:fixed;left:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:20;box-sizing:border-box;max-width:min(340px,calc(100vw - 32px));padding:10px 16px;border:1px solid #aaa88e;border-radius:10px;background:#fcfaf2;color:#303b36;box-shadow:0 3px 16px #0002;font-size:13px;line-height:1.5;pointer-events:none}.chess-studio:has(.chess-canvas-player)>.chess-work-status{bottom:80px}@media(max-width:650px){.chess-studio:has(.chess-canvas-player)>.chess-work-status{bottom:110px}}.chess-work-status{display:grid;grid-template-columns:minmax(0,1fr) 36px;gap:8px 12px;width:340px;padding:12px 14px}.chess-work-copy{display:grid;gap:4px;grid-column:1;grid-row:1;min-width:0}.chess-work-copy strong{font-size:14px}.chess-work-copy small{font-size:11px;color:#58675e}.chess-work-status progress{grid-column:1;grid-row:2;width:100%;height:5px;accent-color:#c77736}.chess-work-status button{pointer-events:auto;grid-column:2;grid-row:1/3;align-self:center;display:grid;place-items:center;width:36px;height:36px;padding:9px;border:1px solid #bdc6bb;border-radius:50%;background:#fff;color:#294d3e;cursor:pointer}.chess-work-status button:disabled{opacity:.5;cursor:default}.chess-work-status button:focus-visible{outline:3px solid #c77736;outline-offset:3px}.chess-work-status .chess-fa-icon{width:16px;height:16px}.chess-explanation-card[role=button]{cursor:pointer}.chess-explanation-card[role=button]:hover>rect,.chess-explanation-card:focus>rect{stroke:#536653;stroke-width:2.5}.chess-explanation-card:focus{outline:none}.chess-explanation-card[role=button]>rect{transition:stroke .18s ease,fill .18s ease}.chess-explanation-card[role=button]:hover>rect{fill:#fffdf7}.chess-output-bar button[aria-pressed=true]{background:#303b36;color:#fcfaf2;border-color:#303b36}@media(prefers-reduced-motion:reduce){.chess-explanation-card[role=button]>rect{transition:none}}.chess-bingo-review-status{height:42px;min-height:42px;max-height:42px;flex:0 0 42px;box-sizing:border-box;overflow:auto;display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:3px 8px}.chess-prediction-slot{height:72px;min-height:72px;flex:0 0 72px;overflow:auto}.sacrifox-bingo .bingo-count{display:block;min-height:10px;height:10px;line-height:10px;font-variant-numeric:tabular-nums}.sacrifox-bingo-cell{overflow:hidden}.sacrifox-bingo[data-expanded=true] .sacrifox-bingo-cell{height:116px;min-height:116px}.sacrifox-bingo-latest{height:36px;max-height:36px;overflow:auto;margin:8px 0 0}[data-obj=chess-replay-position]{min-width:11ch;text-align:center;font-variant-numeric:tabular-nums}.chess-import-dialog:has(.chess-game-library){width:min(1080px,calc(100% - 32px))}.chess-library-tools{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;margin:16px 0 8px}.chess-library-tools select{font:13px system-ui;padding:10px;border:1px solid #bcc6b8;border-radius:6px;background:#fff;color:#22302b;min-height:39px}.chess-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(285px,100%),1fr));gap:14px;margin-top:12px;align-items:stretch}.chess-library-grid .chess-library-game{margin:0;padding:16px;gap:12px;background:#fffef9;border:1px solid #d4d9cd;border-radius:14px;min-width:0;box-shadow:0 3px 12px #233b2410;transition:border-color .15s,box-shadow .15s}.chess-library-grid .chess-library-game:hover{border-color:#6c8970;box-shadow:0 5px 18px #233b241c}.chess-library-eyebrow{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#61705f;font-variant-numeric:tabular-nums}.chess-library-total{border-radius:20px;padding:4px 9px;background:#e8eedf;color:#254b3d;font-weight:700}.chess-library-players{display:grid;grid-template-columns:1fr 1fr;gap:12px}.chess-library-players>div{display:flex;flex-direction:column;gap:4px;min-width:0}.chess-library-players>div+div{border-left:1px solid #d9dfd1;padding-left:12px}.chess-library-players strong{font:600 23px/1.05 Georgia,serif;color:#254b3d;overflow-wrap:anywhere}.chess-library-players span{font-size:11px;line-height:1.4;color:#566451}.chess-library-players small{font-size:10px;text-transform:uppercase;letter-spacing:.09em}.chess-library-title{min-height:36px;font-size:12px!important}.chess-library-mini{display:flex;flex-direction:column;gap:9px;margin-top:auto}.chess-library-mini-label{font-size:10px;color:#435641;margin-bottom:4px;font-variant-numeric:tabular-nums}.chess-library-mini-cells{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px}.chess-library-mini-cells>span{height:32px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#eff1ea;color:#929c8d;border-radius:5px;font-size:16px;line-height:17px}.chess-library-mini-cells>span.found{background:#f0d97a;color:#254b3d}.chess-library-mini-cells small{font:8px/10px system-ui!important;color:inherit!important}.chess-library-mini-cells>span:focus-visible{outline:2px solid #254b3d;outline-offset:2px}.chess-library-details{font-size:11px;color:#61705f}.chess-library-details summary{cursor:pointer}.chess-library-details p,.chess-library-details small,.chess-library-details a{display:block;margin-top:6px}.chess-library-open{width:100%;background:#254b3d!important;color:#fff!important;border-color:#254b3d!important;font-size:12px!important}.chess-library-open:disabled{opacity:.5;cursor:not-allowed}.chess-library-warning{background:#f7ead8;border-radius:6px;padding:10px;color:#794621!important}.chess-library-result-count{font-variant-numeric:tabular-nums}@media(max-width:600px){.chess-library-tools{grid-template-columns:1fr}.chess-import-body,.chess-import-heading{padding:14px}.chess-entry-dialog{padding:22px}.chess-entry-choices,.chess-library-grid{grid-template-columns:1fr}}.chess-library-players strong{font-size:20px;letter-spacing:-.02em}@media(max-width:600px){.chess-import-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.chess-import-choices button{padding:10px}}.chess-library-players .chess-library-player{padding:10px;border:1px solid #d3d6ce;border-radius:7px;background:#fff;color:#171d19}.chess-library-players .chess-library-player.black{background:#202622;border-color:#202622;color:#fff}.chess-library-player strong,.chess-library-player span,.chess-library-player small{color:inherit!important}.chess-library-player[data-winner=true]{box-shadow:0 0 0 2px #c7a747}.chess-library-player small{min-height:24px}.chess-bingo-matrix{overflow:auto;padding:6px 10px}.chess-bingo-matrix table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;font-variant-numeric:tabular-nums}.chess-bingo-matrix th,.chess-bingo-matrix td{padding:5px;text-align:center;border-bottom:1px solid #cbd4c3;min-width:60px}.chess-bingo-matrix th:first-child{text-align:left}.chess-bingo-matrix thead{background:#254b3d;color:#fff}.chess-bingo-matrix p{font-size:12px;margin:0 0 5px}.chess-bingo-matrix small{font-size:10px}.sacrifox-bingo-grid[hidden]{display:none}.chess-bingo-matrix tbody tr:nth-child(odd){background:#edf1e6}.chess-library-player strong{font-size:clamp(15px,1.3vw,18px)}.chess-library-deep{font-size:11px!important;background:#eef2e8;padding:6px;border-radius:5px;min-height:30px}.chess-bingo-matrix{min-width:0;width:100%}.chess-bingo-matrix table{min-width:460px}.chess-library-mini-cells>span.creative{background:#65ded5;color:#074f53;box-shadow:inset 0 0 0 1px #169d99}.chess-import-status{position:sticky;top:0}.chess-library-tools button{padding:10px 14px;border:1px solid #b9c9bc;border-radius:8px;background:#edf4ec;color:#244b3d}.chess-library-mini-cells>span.creative[data-grade="5"]{background:#26c2a3;color:#102e28;box-shadow:inset 0 0 0 1px #168a79}.chess-library-mini-cells>span.creative[data-grade="3"],.chess-library-mini-cells>span.creative[data-grade="4"]{background:#7956c5;color:#fff;box-shadow:none}.chess-library-mini-cells>span{position:relative;display:grid;place-items:center}.chess-library-mini-cells .chess-fa-icon{display:block;width:14px;height:14px;margin:0}.chess-library-mini-cells small{position:absolute;right:1px;top:0}.chess-folder-panel{padding:14px;border:1px solid #bdc9be;border-radius:12px;background:#f2f5ef}.chess-folder-panel small{display:block;color:#526054;line-height:1.5}.chess-library-tools{display:flex;align-items:flex-end;flex-wrap:wrap}.chess-library-tools>label{flex:1 1 160px;min-width:0}.chess-folder-panel .chess-library-tools>label{flex-basis:250px}.chess-library-tools input[type=number]{width:100%}.chess-folder-panel input[type=url]{flex:1;min-width:220px}.chess-import-dialog:has([data-obj=chess-player-status]){display:flex;flex-direction:column}.chess-import-body>[data-obj=chess-player-status]{order:-3}.chess-import-body>[aria-label="Player years"]{order:-2;gap:8px}.chess-import-body>[aria-label="Player years"] a{padding:5px 9px;border:1px solid #d9ddd4;border-radius:6px;color:inherit;text-decoration:none}.chess-import-body:has([data-obj=chess-player-status])>.chess-game-library{order:-1}.chessaha-brand{display:flex!important;align-items:center;width:245px!important;height:78px!important;background:transparent}.chessaha-brand .chessaha-logo{width:100%!important;height:100%!important;object-fit:contain}.chess-bingo-player{font-size:13px;margin-right:auto}.sacrifox-bingo-cell[data-active=true]{outline:2px solid #8fa77a;outline-offset:-3px;box-shadow:inset 0 0 0 4px #dae5d233}.chess-game-players{font-size:14px;font-weight:600;max-width:420px;line-height:1.4}.chess-workspace-header,.chess-workspace-header:has([data-obj=sacrifox-bingo-toggle]){display:flex;align-items:center;justify-content:space-between;gap:16px}.chess-top-menu{gap:5px;padding:6px;border:1px solid #d5e1db;border-radius:18px;background:#ffffffb8;box-shadow:0 3px 16px #173e2e08}.chess-workspace-header .chess-top-menu button[data-obj]{width:42px;height:42px;padding:10px;border:1px solid transparent;border-radius:12px;background:transparent;color:#38594c;box-shadow:none;transition:background .15s,color .15s,box-shadow .15s}.chess-workspace-header .chess-top-menu button[data-obj]:hover{background:#e7efe9;color:#143f30}.chess-workspace-header .chess-top-menu button[data-obj]:focus-visible{outline:2px solid #317b61;outline-offset:2px}.chess-workspace-header .chess-top-menu button[aria-pressed=true],.chess-workspace-header .chess-top-menu button[aria-expanded=true]{background:#254b3d;color:#fff}.chess-top-menu svg{stroke-linecap:round;stroke-linejoin:round}@media(max-width:650px){.chess-workspace-header{flex-wrap:wrap}.chess-top-menu{justify-content:flex-start;width:100%;box-sizing:border-box}.chess-workspace-header .chess-top-menu button[data-obj]{width:40px;height:40px}}.chess-fa-icon{display:block;width:20px;height:20px;flex:none;fill:currentColor}.chess-top-menu button,.sacrifox-bingo-heading button{display:grid;place-items:center}.sacrifox-bingo-heading .chess-fa-icon{width:13px;height:13px}.sacrifox-bingo-cell,.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-cell{position:relative;align-items:center;justify-content:center;text-align:center}.sacrifox-bingo-cell>span{display:grid;place-items:center;line-height:1}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-cell .chess-fa-icon{width:14px;height:14px}.sacrifox-bingo[data-expanded=true] .sacrifox-bingo-cell .chess-fa-icon{width:25px;height:25px}.chess-workspace-header .chess-print-nav{margin-right:auto;margin-left:12px;background:#fff1df;border-color:#edc391;flex:none}.chess-workspace-header .chess-print-nav button[data-obj]{background:#df741f;color:#fff}.chess-workspace-header .chess-print-nav button[data-obj]:hover{background:#ba5610;color:#fff}.chess-settings-column [data-obj=chess-engine-setup-toggle]{display:flex;align-items:center;gap:9px}.chess-settings-column [data-obj=chess-engine-setup-toggle]:after{content:"Stockfish setup"}.chess-layout{position:relative}@media(max-width:850px){.chess-workspace-header{flex-wrap:wrap}.chess-workspace-header .chess-print-nav{width:auto;margin-left:0}.chess-workspace-header .chess-top-menu:not(.chess-print-nav){width:100%;flex-wrap:wrap}}.chess-workspace-header>div:first-child{margin-right:auto}.chess-workspace-header .chess-print-nav{margin-right:0;margin-left:0}.chess-workspace-header .chess-top-menu:not(.chess-print-nav){margin-left:10px}@media(max-width:850px){.chess-workspace-header .chess-top-menu:not(.chess-print-nav){margin-left:0}}.chess-workspace-header .chess-fullscreen-nav{margin-right:10px;margin-left:0;width:auto}.sacrifox-bingo-cell>span{align-self:center;display:flex;align-items:center;justify-content:center}.sacrifox-bingo-cell>span>.chess-fa-icon{display:block;margin:0;vertical-align:middle}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-cell{display:grid;grid-template-columns:1fr;align-content:center;justify-content:center;align-items:center}.sacrifox-bingo-cell .bingo-count{position:absolute;right:3px;top:2px;margin:0}.sacrifox-bingo-heading{justify-content:flex-end}.sacrifox-bingo[data-expanded=false]{grid-template-columns:minmax(0,1fr) 22px 22px 22px}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-heading [data-obj=bingo-matrix-toggle]{grid-column:3}.sacrifox-bingo[data-expanded=false] .sacrifox-bingo-heading [data-obj=sacrifox-bingo-expand]{grid-column:4}[data-player-status][data-to-move=true][data-mate-forecast=true]>rect{fill:#20b14b}.chess-optional-loading{position:fixed;z-index:2147483000;top:24px;left:50%;transform:translate(-50%);max-width:calc(100vw - 32px);padding:18px 24px;border:1px solid #a86d3c;border-radius:12px;background:#211a15;color:#fff3e6;box-shadow:0 12px 48px #0008;font:15px/1.5 system-ui}.chess-optional-loading button{margin-left:14px;padding:8px 12px;border:1px solid #b77d47;border-radius:6px;background:#e99542;color:#211a15;cursor:pointer}.chess-library-search-row{display:flex;align-items:center;gap:8px;margin-top:14px}.chess-library-search-row input{min-width:0;flex:1}.chess-library-search-row button{display:flex;align-items:center;gap:7px;flex:none}.chess-library-search-row .chess-fa-icon{width:13px;height:13px}.chess-library-filters{padding:0 12px 12px;background:#eef2e8;border-radius:8px;margin-top:8px}.chess-library-filters .chess-library-tools{margin-top:12px}.chess-library-filters small{font-size:11px;color:#61705f}.chess-workspace-header .chess-visibility-nav{margin-left:12px;padding:6px;background:#e8eee7;border-color:#bdcdbf;flex:none}.chess-workspace-header .chess-action-nav button:disabled{opacity:.32;color:#7e847f;background:transparent;cursor:default}@media(max-width:850px){.chess-workspace-header .chess-top-menu.chess-action-nav,.chess-workspace-header .chess-top-menu.chess-visibility-nav{width:auto;flex-wrap:wrap;margin-left:0}.chess-workspace-header .chess-visibility-nav{padding:6px}}.chess-canvas-player .chess-player-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:7px}.chess-player-icon .chess-fa-icon{display:block;width:15px;height:15px}.chess-canvas-player [data-obj=chess-replay-speed]{height:32px;min-width:58px;padding:4px;border:1px solid #cdd5c8;border-radius:6px;background:#fff;color:#254b3d;font:inherit}.chess-advanced-options{display:grid;gap:10px;padding:12px 0;border-block:1px solid #d5dcd7}.chess-advanced-toggles{display:flex;flex-wrap:wrap;gap:8px}.chess-advanced-toggles button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 12px;border:1px solid #c8d2cb;border-radius:9px;background:#fff;color:#263a32;font:600 13px system-ui;cursor:pointer}.chess-advanced-toggles button[aria-pressed=true]{background:#263a32;border-color:#263a32;color:#fff}.chess-advanced-toggles button:focus-visible{outline:3px solid #ef8a31;outline-offset:2px}.chess-canvas-viewport{position:relative}.chess-canvas-surface{width:100%;height:100%;min-height:0}.chess-canvas-surface>[data-obj=chess-board]{display:block;width:100%;height:100%;max-height:none;min-width:0;aspect-ratio:auto;background:#eeede7;touch-action:none;user-select:none;overflow:hidden}.chess-classic-actions{position:absolute;z-index:2;left:var(--classic-left);top:var(--classic-top);width:var(--classic-width);height:var(--classic-height);display:grid;grid-template-rows:1fr 1fr;gap:14px;box-sizing:border-box}.chess-classic-actions .chess-classic-action{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;width:100%;height:100%;min-height:0;box-sizing:border-box;padding:clamp(14px,2vw,28px);border:1px solid #d5bda4;border-radius:18px;background:#fff5e8;color:#51301a;text-align:left;box-shadow:0 3px 10px #51301a08;cursor:pointer}.chess-classic-actions .chess-classic-action:last-child{background:#fbfcf8;border-color:#c3cfc2;color:#254b3d}.chess-classic-action strong{font:750 clamp(18px,1.8vw,28px)/1.15 system-ui,sans-serif;letter-spacing:-.03em}.chess-classic-action-tagline{font:400 clamp(12px,1.05vw,16px)/1.45 system-ui,sans-serif;max-width:24ch}.chess-classic-action-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#ed8a24;color:#fff}.chess-classic-action:last-child .chess-classic-action-icon{background:#254b3d}.chess-classic-action-icon .chess-fa-icon{width:24px;height:24px}.chess-classic-actions button:hover{border-color:#d77a20;box-shadow:0 6px 20px #51301a14}.chess-classic-actions button:focus-visible{outline:3px solid #e4882e;outline-offset:3px}@media(max-width:650px){.chess-studio[data-release-mode=classic] .chess-canvas-viewport{height:auto;aspect-ratio:auto;display:flex;flex-direction:column;gap:12px}.chess-studio[data-release-mode=classic] .chess-canvas-surface{height:auto;aspect-ratio:1660/970;flex:none}.chess-classic-actions{position:static;width:auto;height:auto;grid-template-rows:1fr 1fr;gap:10px;margin:0 4px}.chess-classic-actions .chess-classic-action{padding:16px;gap:8px;min-height:120px}.chess-classic-action-icon{width:36px;height:36px;border-radius:10px}.chess-classic-action-icon .chess-fa-icon{width:19px;height:19px}.chess-classic-action strong{font-size:21px}.chess-classic-action-tagline{font-size:13px;max-width:none}}.chess-loading-page>:not(.chess-loader-page){display:none!important}.chess-import-dialog.chess-loader-page{display:flex;flex-direction:column;position:relative;inset:auto;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;overflow:auto;background:#fafbf8;color:#22302b;padding:0}.chess-loader-page .chess-import-heading{position:sticky;top:0;z-index:5;flex-shrink:0;background:#fafbf8;border-bottom:1px solid #bdc9bc;padding:22px max(24px,calc((100vw - 1120px)/2))}.chess-loader-page .chess-import-body{max-width:1168px;width:100%;margin:0 auto;padding:24px;overflow:visible;box-sizing:border-box}.chess-work-status progress{height:10px;border:0;border-radius:5px;overflow:hidden;background:#e1e7df}.chess-work-status progress::-webkit-progress-bar{background:#e1e7df}.chess-work-status progress::-webkit-progress-value{background:#bc672c}.chess-work-status progress::-moz-progress-bar{background:#bc672c}.chess-current-check{grid-column:1/-1;grid-row:3;font-size:11px;display:grid;gap:5px}.chess-current-check progress{width:100%;height:7px}.chess-work-status .chess-design-while-checking{grid-column:1/-1;grid-row:4;width:auto;height:auto;display:block;text-align:left;border-radius:6px;padding:8px;font-size:12px;line-height:1.4;color:#874412;background:#fff6eb}.chess-impact-nav{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.chess-impact-nav button{padding:8px 12px;border:1px solid #c8d0c5;background:#fff;color:#294b3d;border-radius:8px;cursor:pointer}.chess-studio.chess-loading-page{padding:0}body:has(.chess-studio){height:100dvh;display:flex;flex-direction:column;overflow:hidden}body:has(.chess-studio)>#root{flex:1;min-height:0;min-width:0;min-height:0!important}body:has(.chess-studio)>.slic-footer{flex:none}body:has(.chess-studio) .chess-studio{height:100%;min-height:0}.chess-studio.chess-loading-page{overflow:hidden;gap:0}.chess-import-dialog.chess-loader-page{height:100%;min-height:0;flex:1;flex-shrink:1}@media(max-width:650px){body:has(.chess-studio) .chess-studio{overflow:auto}.chess-studio.chess-loading-page{overflow:hidden!important}}body:has(.slic-footer) .chess-studio:not(.chess-fullscreen):not(:fullscreen) .chess-canvas-player{bottom:var(--slic-footer-height,44px)}.chess-studio>.chess-work-status{z-index:1600;bottom:calc(var(--slic-footer-height,44px) + 155px)!important}.chess-controls>button:first-child{position:sticky;top:0;z-index:20;align-self:flex-end;margin-left:auto;background:#fafaf7;box-shadow:0 3px 8px #0002}@keyframes pending-offer{0%,to{box-shadow:inset 0 0 0 1px #d4ad6560}50%{box-shadow:inset 0 0 0 3px #d4ad65;filter:brightness(1.12)}}.sacrifox-bingo-cell[data-pending-offer=true]{animation:pending-offer 2.4s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.sacrifox-bingo-cell[data-pending-offer=true]{animation:none;outline:2px solid #d4ad65}}.chess-library-eyebrow button[aria-label^="Favourite:"]{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:8px;border:1px solid #ccd5c8;border-radius:50%;background:#fffef9;color:#7a8577}.chess-library-eyebrow button[aria-label^="Favourite:"][aria-pressed=true]{color:#82490c;background:#ffe5a2;border-color:#d9a64c}.chess-library-tools button[aria-pressed=true]{background:#254b3d;color:#fff;border-color:#254b3d}.chess-library-tools label:has([role=switch]){display:flex;align-items:center;gap:9px;font-size:13px}.chess-library-tools [role=switch]{accent-color:#254b3d;width:18px;height:18px;flex:0 0 auto}.sacrifox-bingo-cell{overflow:visible}.sacrifox-bingo-cell .chess-bingo-tooltip{color:#25382b;font:13px/1.5 system-ui;animation:none}.sacrifox-bingo-cell:nth-child(-n+5) .chess-bingo-tooltip{left:0;right:auto}.sacrifox-bingo-cell{position:relative}.chess-bingo-tooltip{display:none;position:absolute;z-index:100;bottom:100%;right:0;width:260px;max-height:180px;overflow:auto;padding:12px;border:1px solid #a5aaa4;border-radius:9px;background:#fffcf4;color:#25382b;box-shadow:0 6px 24px #0003;font:13px/1.5 system-ui;text-align:left;white-space:normal}.sacrifox-bingo-cell:hover .chess-bingo-tooltip,.sacrifox-bingo-cell:focus .chess-bingo-tooltip{display:block}.chess-library-tools>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;height:38px;line-height:18px;padding:9px 14px}.chess-library-tools>button .chess-fa-icon{display:block;width:15px;height:15px;flex:0 0 15px}.chess-community-home{display:grid;gap:12px}.chess-community-home a.chess-community-primary{display:block;padding:14px 16px;border-radius:10px;background:#254b3d;color:#fff;font-weight:700;text-decoration:none}.chess-community-home p{font-size:13px;line-height:1.5}.chess-community-home details{border-top:1px solid #87939f55;padding-top:12px}.chess-community-home summary{cursor:pointer;font-weight:600}.chess-studio>.chess-work-status{left:16px;bottom:calc(var(--slic-footer-height,44px) + 76px)!important}.chess-loader-progress{position:fixed;left:16px;bottom:calc(var(--slic-footer-height,44px) + 12px);z-index:1700;max-width:min(340px,calc(100vw - 32px));padding:12px 16px!important;background:#fcfaf2;color:#303b36;border:1px solid #aaa88e;border-radius:10px;box-shadow:0 3px 16px #0002}.chess-loader-progress:empty{display:none}.chess-library-poster-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid #c6d3c9;border-radius:8px;text-decoration:none;color:#244b3c;background:#f6f9f5}.chess-library-poster-link:hover{background:#e6eee5}.chess-library-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}.chess-library-actions>.chess-library-poster-link,.chess-library-actions>.chess-library-open{min-width:0;width:100%;display:flex;align-items:center;justify-content:center;min-height:40px;margin:0}.chess-library-actions>.chess-library-open:only-child{grid-column:1/-1}.badge-themes{display:grid;gap:12px;min-width:0;padding:16px 0;color:var(--text-strong);border-top:1px solid var(--line);font:12px/1.4 var(--ui-font,Arial,sans-serif)}.badge-theme-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.badge-theme-heading strong{font-size:14px;letter-spacing:-.2px}.badge-theme-heading p,.badge-theme-caption,.badge-theme-hint{margin:3px 0 0;color:var(--text-muted);font-size:11px}.badge-theme-count{font-size:10px;white-space:nowrap;padding:3px 7px;border-radius:20px;background:var(--surface-sunk);border:1px solid var(--line)}.badge-theme-current{border-radius:12px;display:flex;align-items:center;justify-content:center;padding:6px;box-shadow:inset 0 1px 2px #172a4310}.badge-theme-current svg{width:240px;max-width:100%;height:90px}.badge-theme-family-label{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:var(--text-muted);font-weight:700;margin-bottom:6px}.badge-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.badge-theme-choice{position:relative;min-width:0;padding:5px 3px 7px;border:1px solid var(--line);border-radius:9px;color:var(--text-strong);background:var(--surface);cursor:pointer;transition:border-color .15s,box-shadow .15s}.badge-theme-choice:hover{border-color:var(--accent);box-shadow:0 2px 8px #172a4315}.badge-theme-choice[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:var(--surface-sunk)}.badge-theme-choice:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.badge-theme-choice>span{font:600 10px/1.3 var(--ui-font,Arial,sans-serif)}.badge-theme-sample{display:block;width:100%;height:auto;overflow:visible;pointer-events:none}.badge-theme-choice .badge-theme-check{position:absolute;right:4px;top:2px;color:var(--accent);font-size:12px}.badge-theme-caption{font-weight:650;color:var(--text-strong)}.badge-theme-hint{line-height:1.5;margin-top:-7px}@media(prefers-reduced-motion:reduce){.badge-theme-choice{transition:none}}.chess-support-widget{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(5px,env(safe-area-inset-bottom));z-index:1700;font:14px/1.45 system-ui,sans-serif;color:#103e32;isolation:isolate}.chess-support-widget *{box-sizing:border-box}.chess-support-widget button,.chess-support-widget input{font:inherit}.chess-support-widget button{cursor:pointer}.chess-support-widget button:disabled{opacity:.6;cursor:wait}.chess-support-widget :focus-visible{outline:3px solid #b27d36;outline-offset:3px}.chess-support-widget .chess-tip-toggle{display:flex;align-items:center;justify-content:center;gap:7px;margin-left:auto;border:1px solid #c69a58;border-radius:40px;padding:5px 12px;color:#fff9e9;background:linear-gradient(140deg,#245c49,#0d332b);box-shadow:0 5px 22px #302c2826;font:600 13px system-ui,sans-serif;min-height:32px;transition:box-shadow .2s,transform .2s}.chess-tip-toggle:hover{transform:translateY(-2px);box-shadow:0 8px 24px #302c283b}.chess-tip-toggle .chess-fa-icon{width:15px;height:18px}.chess-tip-panel{position:absolute;right:0;bottom:42px;width:min(430px,calc(100vw - 36px));max-height:calc(100dvh - 62px);overflow:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at top right,#f7ecda80,transparent 65%),#fffcf6;border:1px solid #c59b60;border-radius:23px;box-shadow:0 18px 65px #44331e30;padding:0 22px 14px;opacity:0;visibility:hidden;transform:translateY(15px) scale(.97);transform-origin:bottom right;pointer-events:none;transition:opacity .22s ease,transform .25s ease,visibility .25s}.is-open .chess-tip-panel{opacity:1;visibility:visible;transform:none;pointer-events:auto}.chess-tip-top{display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:2;padding:10px 0 6px;background:#fffcf6}.chess-tip-top>span{font-size:10px;letter-spacing:.2em;font-weight:750;color:#785327}.chess-support-widget .chess-tip-top button{border:0;background:transparent;color:#53635a;font-size:26px;width:34px;height:34px;line-height:1;border-radius:50%;padding:0}.chess-tip-top button:hover{background:#ecebdf}.chess-tip-intro{display:flex;gap:8px;align-items:center;margin:3px 0 14px}.chess-tip-intro h2{font:600 37px/.98 Georgia,serif;letter-spacing:-1.4px;margin:0 0 10px;max-width:250px;color:#10392e}.chess-tip-intro p{font-size:15px;color:#57635c;margin:0}.chess-tip-coffee{position:relative;flex:0 0 76px;transform:rotate(-8deg);color:#c5a66f;filter:drop-shadow(0 6px 4px #62422520)}.chess-tip-coffee>.chess-fa-icon{width:76px;height:76px}.chess-tip-coffee>span{position:absolute;left:24px;top:29px;color:#164333}.chess-tip-coffee>span .chess-fa-icon{width:23px;height:28px}.chess-tip-options{display:grid;gap:9px}.chess-support-widget .chess-tip-option{display:flex;align-items:center;text-align:left;gap:12px;width:100%;border:1px solid #d9c5a6;background:#fffdf9;border-radius:13px;padding:10px 12px;color:#153d31;min-height:66px;transition:background .15s,border-color .15s}.chess-support-widget .chess-tip-option[aria-pressed=true]{border-color:#174b3b;background:#edf2e6;color:#153d31;box-shadow:inset 0 0 0 1px #174b3b}.chess-tip-option>.chess-fa-icon{flex:0 0 26px;width:26px;height:32px;color:#96703b}.chess-tip-option[aria-pressed=true]>.chess-fa-icon{color:#174b3b}.chess-tip-copy{flex:1;min-width:0}.chess-tip-copy strong{display:block;font-size:18px;line-height:1.25}.chess-tip-copy small{display:block;font-size:11px;line-height:1.4;color:#617067;margin-top:3px}.chess-tip-option>b{font-size:23px}.chess-tip-selected{width:19px;flex:0 0 19px}.chess-tip-selected:has(svg){display:flex;align-items:center;justify-content:center;height:19px;border-radius:50%;background:#174b3b;color:#fff}.chess-tip-selected svg{width:11px;height:11px}.chess-tip-custom{display:block;margin:12px 0 10px}.chess-tip-custom>strong{display:block;font-size:13px;margin-bottom:6px}.chess-tip-custom>span{display:flex;align-items:center;border:1px solid #c7c5bc;border-radius:11px;background:#fffdf9;min-height:46px}.chess-tip-custom b{font-size:22px;padding:0 14px;border-right:1px solid #d3d1c8}.chess-support-widget .chess-tip-custom input{border:0!important;outline-offset:-3px;background:transparent!important;color:#173d31!important;width:100%;min-width:0;padding:11px 13px;font-size:16px;border-radius:11px}.chess-support-widget .chess-tip-submit{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;border:1px solid #b8914e;background:linear-gradient(120deg,#245c49,#0d332b);color:#fff8e8;box-shadow:0 4px 10px #3a331b15;border-radius:13px;padding:11px 10px;font:600 22px Georgia,serif}.chess-tip-submit svg{width:23px;height:28px}.chess-tip-footnote{text-align:center;font-size:11px;color:#7d8077;margin:9px 0 0}.chess-tip-status:not(:empty){margin-top:12px;padding:11px;border-radius:9px;background:#edf2e6;color:#284b3c;font-size:13px}.chess-tip-status a{color:#214e3c;font-weight:650}.chess-tip-status:empty{display:none}@media(max-width:480px){.chess-support-widget{right:12px;bottom:max(5px,env(safe-area-inset-bottom))}.chess-tip-panel{width:calc(100vw - 24px);padding:0 18px 16px;bottom:42px;max-height:calc(100dvh - 62px)}.chess-support-widget .chess-tip-toggle{font-size:13px;padding:5px 12px}.chess-tip-intro h2{font-size:33px}.chess-tip-option{gap:8px!important}.chess-tip-copy strong{font-size:17px}}@media(prefers-reduced-motion:reduce){.chess-tip-panel,.chess-tip-toggle{transition:none!important;transform:none!important}}@media print{.chess-support-widget{display:none!important}}.chess-fullscreen .chess-support-widget{bottom:max(60px,env(safe-area-inset-bottom))}.chess-fullscreen .chess-tip-panel{max-height:calc(100dvh - 154px)}.chess-support-widget button:is(.chess-tip-toggle,.chess-tip-submit):is(:hover,:focus){background:linear-gradient(140deg,#2c6853,#123f32);color:#fff9e9;border-color:#c69a58}.chess-support-widget .chess-tip-option:is(:hover,:focus){background:#f7f4e9;color:#153d31;border-color:#b99a66}.chess-support-widget .chess-tip-option[aria-pressed=true]:is(:hover,:focus){background:#edf2e6;border-color:#174b3b}body:has(.chess-support-widget)>.slic-footer:not(.slic-footer--metropic){padding-right:205px}@media(max-width:700px){body:has(.chess-support-widget)>.slic-footer:not(.slic-footer--metropic){padding-right:16px;padding-bottom:44px}}.chess-support-widget .chess-tip-panel{color:#153d31;color-scheme:light}.chess-support-widget .chess-tip-option .chess-tip-copy strong,.chess-support-widget .chess-tip-option>b,.chess-support-widget .chess-tip-custom>strong,.chess-support-widget .chess-tip-custom b{color:#153d31}.chess-support-widget .chess-tip-panel{width:min(860px,calc(100vw - 32px));overflow-y:auto}.chess-feedback-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.chess-feedback{padding-right:24px;border-right:1px solid #cbb590;color:#12372b}.chess-feedback h2{font:700 29px/1.15 Georgia,serif;margin:16px 0}.chess-feedback p{font:14px/1.5 system-ui}.chess-feedback [role=group]{display:grid;gap:9px;margin:20px 0}.chess-feedback [role=group] button{padding:13px 14px;text-align:left;border:1px solid #cbb590;border-radius:10px;background:#fffaf0;color:#17372d;font:600 14px/1.3 system-ui}.chess-feedback [role=group] button[aria-pressed=true]{background:#e2ecdf;border-color:#12372b;color:#12372b}.chess-feedback-support{min-width:0}.chess-feedback-support .chess-tip-intro h2{font-size:28px}.chess-feedback-support .chess-tip-option{padding:12px;gap:10px}.chess-feedback-support .chess-tip-copy strong{font-size:19px}.chess-feedback-support .chess-tip-copy small{font-size:13px}.chess-tip-top{position:sticky;top:0;z-index:2;background:#fffaf2}body:has(.chess-support-widget)>.slic-footer:not(.slic-footer--metropic){padding-right:250px}@media(max-width:700px){.chess-feedback-layout{grid-template-columns:1fr}.chess-feedback{padding-right:0;padding-bottom:20px;border-right:0;border-bottom:1px solid #cbb590}body:has(.chess-support-widget)>.slic-footer:not(.slic-footer--metropic){padding-right:16px}}.chess-support-affiliate{margin-top:18px;padding-top:16px;border-top:1px solid #cbb590;color:#17372d;font:14px/1.5 system-ui}.chess-support-affiliate strong{font-size:16px;color:#17372d}.chess-support-affiliate p{margin:8px 0;color:#334c40}.chess-support-affiliate a{color:#164d3b;font-weight:700;text-decoration:underline}.chess-support-affiliate small{display:block;margin-top:6px;color:#59675f;font-size:12px}.chess-support-affiliate a{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.chess-support-affiliate img{display:block;width:127px;height:40px;object-fit:contain}.chess-support-widget .chess-tip-panel{width:min(460px,calc(100vw - 32px))}.chess-support-widget .chess-tip-panel:has(.has-support){width:min(860px,calc(100vw - 32px))}.chess-feedback-layout{grid-template-columns:1fr}.chess-feedback{border-right:0;padding-right:0}.chess-feedback-layout.has-support{grid-template-columns:1fr 1fr}.has-support .chess-feedback{padding-right:24px;border-right:1px solid #cbb590}@media(max-width:700px){.chess-feedback-layout.has-support{grid-template-columns:1fr}.has-support .chess-feedback{padding-right:0;border-right:0}}@media(min-width:701px)and (max-height:900px){.chess-support-widget .chess-tip-panel{padding:0 20px 14px;max-height:calc(100dvh - 64px)}.chess-feedback h2{font-size:25px;margin:8px 0}.chess-feedback p{font-size:12px;line-height:1.4;margin:8px 0}.chess-feedback [role=group]{grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}.chess-feedback [role=group] button{font-size:12px;padding:9px;min-height:48px}.chess-support-affiliate{margin-top:12px;padding-top:12px}.chess-support-affiliate img{width:102px;height:32px}.chess-feedback-support .chess-tip-intro h2{font-size:25px}.chess-tip-intro{margin:2px 0 10px}.chess-feedback-support .chess-tip-option{min-height:58px;padding:8px}.chess-feedback-support .chess-tip-copy strong{font-size:16px}.chess-feedback-support .chess-tip-copy small{font-size:11px}.chess-support-widget .chess-tip-submit{font-size:19px;padding:9px}.chess-tip-custom{margin:8px 0}.chess-tip-footnote{margin:6px 0 0}}.groovy-dialog{width:min(1280px,96vw);max-width:96vw;height:94vh;max-height:94vh;padding:0;border:1px solid #a8a29e;border-radius:16px;background:#fafaf9;color:#292524;overflow:auto;z-index:10000}.groovy-dialog::backdrop{background:#0009}.groovy-dialog-header{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#fafaf9;padding:12px 20px;border-bottom:1px solid #d6d3d1}.groovy-dialog-header button{padding:8px 16px;border:1px solid #78716c;border-radius:8px;background:#fff;color:#292524;cursor:pointer}.groovy-studio{font:14px/1.5 system-ui,sans-serif;isolation:isolate}.groovy-studio *,.groovy-studio *:before,.groovy-studio *:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e7e5e4;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1}.groovy-studio button,.groovy-studio input,.groovy-studio select{font:inherit;color:inherit;margin:0}.groovy-studio button{cursor:pointer;background:transparent}.groovy-studio button:disabled{cursor:wait;opacity:.5}.groovy-studio svg{display:block;max-width:100%}.groovy-studio h1,.groovy-studio h2,.groovy-studio h3,.groovy-studio p{margin:0}.tactical-scope{background:#07090f;color:#e8edf5}.tactical-scope .tactical-studio{min-height:0;font:14px system-ui,sans-serif}.tactical-host-actions{padding:12px 20px;background:#13212b;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.tactical-host-actions button{background:#127c89;color:#fff;padding:9px 14px;border-radius:6px;border:1px solid #67e8f9}.tactical-host-actions small{width:100%;color:#cbd5e1}.tactical-scope input,.tactical-scope button{font-family:inherit}.tactical-scope svg{touch-action:none}.tactical-scope .groovy-dialog-header{background:#101c2d;color:#fff}.tactical-scope .groovy-dialog-header button{color:#fff;background:#243448}.tactical-scope{background:var(--studio-bg);color:var(--studio-text)}.tactical-scope.tactical-scope [class*=bg-],.tactical-scope.tactical-scope .tactical-host-actions,.tactical-scope.tactical-scope .groovy-dialog-header{background-color:var(--studio-surface)!important;background-image:none!important;color:var(--studio-text)!important}.tactical-scope.tactical-scope [class*=text-slate-],.tactical-scope.tactical-scope [class*=text-white],.tactical-scope.tactical-scope [class*=text-cyan-],.tactical-scope.tactical-scope .tactical-host-actions small{color:var(--studio-text)!important}.tactical-scope.tactical-scope [class*=border-],.tactical-scope.tactical-scope input,.tactical-scope.tactical-scope select,.tactical-scope.tactical-scope button{border-color:var(--studio-border)!important}.tactical-scope.tactical-scope input,.tactical-scope.tactical-scope select,.tactical-scope.tactical-scope .groovy-dialog-header button{background:var(--studio-bg)!important;color:var(--studio-text)!important}.tactical-scope.tactical-scope .tactical-host-actions button{background:var(--studio-accent)!important;color:var(--studio-bg)!important}.chess-callout-studio{display:grid;grid-template-columns:minmax(260px,360px) minmax(320px,1fr);gap:28px;padding:24px;color:var(--studio-text);font:14px/1.5 system-ui;max-width:1100px}.chess-callout-form{display:grid;gap:16px}.chess-callout-form label{display:grid;gap:5px}.chess-callout-form input:not([type=checkbox]):not([type=range]):not([type=color]),.chess-callout-form select,.chess-callout-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--studio-border);border-radius:8px;padding:9px;font:inherit;background:var(--studio-bg);color:var(--studio-text)}.chess-callout-intro{font:24px Georgia,serif;margin:0}.chess-callout-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.chess-callout-presets button{border:1px solid var(--studio-border);border-radius:10px;padding:8px 3px;background:var(--studio-bg);color:var(--studio-text);font-size:20px;cursor:pointer;transition:background .16s,transform .16s}.chess-callout-presets button:hover{transform:translateY(-2px)}.chess-callout-presets button[aria-pressed=true]{outline:2px solid var(--studio-accent);outline-offset:1px}.chess-callout-presets span{display:block;font-size:8px;letter-spacing:.3px}.chess-callout-preview{align-self:start;position:sticky;top:12px;text-align:center;color:var(--studio-text);background:var(--studio-bg);border:1px solid var(--studio-border);border-radius:16px;overflow:hidden}.chess-callout-preview svg{width:100%;touch-action:none}.chess-callout-preview p{font-size:12px;padding:0 18px;opacity:.8}.chess-callout-export{display:flex;justify-content:center;gap:10px;padding:12px}.chess-callout-studio button{font-family:inherit}.chess-callout-export button,.chess-callout-save{padding:10px 16px;border-radius:8px;border:1px solid var(--studio-border);cursor:pointer}.chess-callout-studio footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--studio-border);padding-top:16px}.chess-callout-save{background:var(--studio-accent);color:var(--studio-bg)}.chess-callout-advanced{display:grid;gap:12px;padding-top:12px}.chess-callout-colors{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:11px}.chess-callout-form summary{cursor:pointer;padding:8px 0}.chess-callout-form input[type=range]{accent-color:var(--studio-accent)}@media(max-width:740px){.chess-callout-studio{grid-template-columns:1fr;padding:16px}.chess-callout-preview{position:static;grid-row:1}}@media(prefers-reduced-motion:reduce){.chess-callout-presets button{transition:none}}.slic-footer{box-sizing:border-box;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 18px;position:relative;padding:12px 16px;margin:0;background:#171d22;color:#c8cdd0;font:12px/1.5 system-ui,sans-serif;text-align:center}.slic-footer a{color:inherit;text-underline-offset:3px}.slic-footer a:hover{color:#fff}.slic-footer a:focus-visible,.slic-footer button:focus-visible{outline:2px solid #f49a45;outline-offset:4px}.slic-footer .slic-privacy-launcher{position:static;background:transparent;border-color:#69737b;color:inherit}.slic-footer--metropic{position:fixed;inset:auto 0 0;z-index:1400;min-height:44px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.slic-footer--metropic>span{max-width:100%}body:has(.slic-footer--metropic) .city-landing{height:calc(100dvh - var(--slic-footer-height,44px))}body:has(.slic-footer--metropic) .graphics-hub:not(.graphics-launch){padding-bottom:calc(var(--slic-footer-height,44px) + 32px)}.slic-footer-affiliate{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3px 9px;padding-left:18px;border-left:1px solid #485057}.slic-footer-affiliate a{font-weight:600;white-space:nowrap}.slic-footer-affiliate small{font:10px/1.4 system-ui,sans-serif;color:#aeb7bd}@media(max-width:700px){.slic-footer-affiliate{flex-basis:100%;padding:6px 0 0;border-left:0;border-top:1px solid #485057}}
