.chess-section{--chess-surface:#101113;--chess-line:#34383c;--chess-muted:#b5b7bb;--chess-control-material:linear-gradient(180deg, #ffffff0e, #ffffff06);--chess-control-relief:inset 0 1px 0 #ffffff0b, 0 6px 18px #0005;--chess-control-edge:#ffffff1f;--chess-toolbar-size:80px;--chess-toolbar-height:calc(var(--chess-toolbar-size) + env(safe-area-inset-top));--chess-toolbar-text:clamp(20px, 1.8vw, 28px)}.chess-section-header{min-height:var(--chess-toolbar-height);padding:calc(10px + env(safe-area-inset-top)) var(--site-gutter) 10px calc(var(--site-gutter) + var(--iguana-size) + 20px);background:var(--color-canvas);border-bottom:1px solid #ffffff12;align-items:center;display:flex}.chess-section-header button:focus-visible{outline:2px solid var(--color-focus);outline-offset:-3px}.chess-section>.chess-workbench{min-height:calc(100svh - var(--chess-toolbar-height))}@media (max-width:1100px){.chess-section{--chess-toolbar-size:72px}}.chess-page{max-width:1440px;min-height:100svh;padding:36px var(--site-gutter) 64px;font-family:var(--font-ui);margin-inline:auto}.chess-page :is(input,select,textarea){font:inherit}.chess-page button{touch-action:manipulation}.chess-page :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible,.chess-promotion button:focus-visible{outline:2px solid var(--color-focus);outline-offset:4px}.chess-page-heading{margin-bottom:40px}.chess-page-heading h1{letter-spacing:-.045em;margin:0;font-size:clamp(36px,4.5vw,64px);font-weight:550;line-height:1.05}.chess-page-heading p{color:var(--chess-muted);margin:12px 0 0;font-size:17px;line-height:1.6}.chess-workspace{grid-template-columns:minmax(0,660px) minmax(300px,1fr);align-items:start;gap:36px;display:grid}.chess-board-column,.chess-side{min-width:0}.chess-board-component{width:100%;min-width:0}.chess-board{aspect-ratio:1;border-radius:4px;width:100%}.chess-board [data-square]{min-width:0;min-height:0}.chess-key-square{width:100%;height:100%;position:relative;outline-offset:-4px!important}.chess-key-square:focus-visible{filter:brightness(1.25);z-index:12;outline:none!important}.chess-key-square[aria-pressed=true]{box-shadow:inset 0 0 0 3px #346095}.chess-player{justify-content:space-between;align-items:center;gap:16px;min-height:38px;padding:8px 0;font-size:14px;display:flex}.chess-player>span{color:var(--chess-muted)}.chess-board-controls{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.chess-board-controls button{flex:none;min-width:44px;padding-inline:8px}.chess-board-controls .chess-flip{flex-grow:0;flex-basis:auto}.chess-evaluation{height:32px;box-shadow:inset 0 0 0 1px var(--chess-line);background:#333a45;border-radius:5px;margin-top:16px;position:relative;overflow:hidden}.chess-evaluation-fill{background:var(--color-ink);transform-origin:0;width:100%;height:100%;transition:transform .18s}.chess-evaluation>strong{font-variant-numeric:tabular-nums;color:#fff;mix-blend-mode:difference;place-items:center;font-size:14px;display:grid;position:absolute;inset:0}.chess-panel{margin-top:24px;padding-top:0}.chess-panel:first-child{margin-top:0}.chess-panel h2{letter-spacing:-.025em;margin:0 0 20px;font-size:22px;font-weight:500}.chess-panel h3{margin:0 0 12px;font-size:16px;font-weight:500}.chess-export{margin-top:24px}.chess-export .chess-actions{margin-top:12px}.chess-button{border-radius:var(--button-radius);min-height:48px;color:var(--color-ink);font-family:var(--font-ui);font-size:var(--button-compact-font-size);letter-spacing:normal;font-weight:var(--button-font-weight);-webkit-tap-highlight-color:transparent;line-height:var(--button-line-height);cursor:pointer;background:0 0;border:1px solid #0000;justify-content:center;align-items:center;padding:11px 16px;text-decoration:none;transition:background-color .18s,border-color .18s,opacity .18s;display:inline-flex}.chess-button--primary{color:var(--color-ink);font-weight:600}.chess-button[aria-pressed=true]{color:var(--color-ink);text-underline-offset:6px;-webkit-text-decoration:underline #fff6;text-decoration:underline #fff6}.chess-button:active:enabled{background:#ffffff0d}.chess-button:disabled{opacity:.4;cursor:default}.chess-actions{flex-wrap:wrap;gap:8px;display:flex}.chess-side>.chess-actions{margin-top:16px}.chess-tabs{background:0 0;flex-wrap:wrap;gap:4px;margin-bottom:16px;padding:0;display:flex}.chess-tabs .chess-button{background:0 0;border-color:#0000;flex:1;padding:10px}.chess-tabs .chess-button[aria-pressed=true]{color:var(--color-ink);font-weight:600}.chess-status{color:var(--chess-muted);overflow-wrap:anywhere;min-height:24px;margin:12px 0;font-size:14px;line-height:1.6}.chess-status--error{color:#ffb3b3}.chess-status--success{color:var(--color-focus)}.chess-muted{color:var(--chess-muted);font-size:14px;line-height:1.6}.chess-label{color:var(--chess-muted);gap:8px;font-size:13px;line-height:1.5;display:grid}.chess-page :is(input,select,textarea){min-width:0;max-width:100%;min-height:44px;color:var(--color-ink);background:0 0;border:1px solid #0000;border-radius:9px;padding:10px 12px;font-size:14px}.chess-page textarea{resize:vertical;width:100%;line-height:1.6}.chess-import{gap:16px;display:grid}.chess-import details{border-top:1px solid var(--chess-line);padding-top:16px}.chess-import summary{cursor:pointer;min-height:32px}.chess-import details .chess-label{margin-block:12px}.chess-file{color:var(--chess-muted);gap:8px;font-size:13px;display:grid}.chess-file input{width:100%}.chess-import-form{border:1px dashed var(--chess-line);border-radius:12px;padding:16px}.chess-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:20px;display:grid}.chess-progress{width:100%;height:5px;accent-color:var(--color-focus)}.chess-moves{scrollbar-width:thin;grid-template-columns:40px repeat(2,minmax(0,1fr));gap:4px;max-height:320px;padding-right:8px;display:grid;overflow:auto}.chess-move-number{color:var(--chess-muted);font-variant-numeric:tabular-nums;padding-block:12px;font-size:13px}.chess-moves button{text-align:left;font-variant-numeric:tabular-nums;background:0 0;border-color:#0000;justify-content:space-between;gap:8px;padding:9px}.chess-moves button[aria-current=true]{color:var(--color-focus);font-weight:600}.chess-moves small{text-align:right;color:var(--chess-muted);font-size:10px;line-height:1.15}.chess-category--blunder,.chess-category--mistake,.chess-category--missed{color:#ffb3b3!important}.chess-category--inaccuracy{color:#efd0a0!important}.chess-category--brilliant,.chess-category--great,.chess-category--best{color:var(--color-focus)!important}.chess-lines{gap:8px;display:grid}.chess-line-button{text-align:left;width:100%;color:var(--color-ink);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:64px minmax(0,1fr);gap:8px;padding:12px;font-size:14px;line-height:1.5;display:grid}.chess-line-button>span{overflow-wrap:anywhere}.chess-line-button small{color:var(--chess-muted);grid-column:2;font-size:11px}.chess-branch{overflow-wrap:anywhere;margin-top:16px;padding-left:0;font-size:14px;line-height:1.8}.chess-chart{margin-top:20px;padding-top:0}.chess-chart svg{width:100%;height:140px;display:block;overflow:visible}.chess-chart [role=button]{cursor:pointer}.chess-chart [role=button]:focus-visible{stroke:var(--color-focus);stroke-width:4px;outline:none}.chess-chart-labels{color:var(--chess-muted);justify-content:space-between;font-size:11px;display:flex}.chess-chart figcaption{color:var(--chess-muted);margin-top:8px;font-size:12px}.chess-chart figure{margin:0}.chess-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.chess-metric{background:0 0;min-width:0;padding:12px 0}.chess-metric>strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;margin-top:8px;font-size:36px;font-weight:500;display:block}.chess-metric>span,.chess-metric small{color:var(--chess-muted);font-size:12px;line-height:1.6}.chess-review-table{border-collapse:collapse;width:100%;font-size:13px}.chess-review-table th{text-align:left;color:var(--chess-muted);font-weight:500}.chess-review-table td,.chess-review-table th{border-bottom:0;padding:10px 4px}.chess-review-table td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.chess-coach{gap:16px;display:grid}.chess-coach-item{background:0 0;padding:12px 0}.chess-coach-item p{margin:8px 0 16px;font-size:14px;line-height:1.65}.chess-explanation{color:var(--chess-muted);margin-top:20px;font-size:12px;line-height:1.7}.chess-license{color:var(--chess-muted);flex-wrap:wrap;gap:12px;margin-top:40px;font-size:12px;display:flex}.chess-license a{color:inherit}.chess-promotion{color:#faf9f6;background:#101113;border:1px solid #34383c;border-radius:18px;max-width:min(440px,100% - 32px);padding:24px}.chess-promotion::backdrop{background:#000b}.chess-promotion h2{margin:0 0 20px;font-size:24px}.chess-promotion>.chess-button{margin-top:16px}.chess-promotion .chess-actions{grid-template-columns:1fr 1fr;display:grid}.chess-skeleton{aspect-ratio:1;border:1px solid var(--chess-line);background:var(--chess-surface);color:var(--chess-muted);place-items:center;font-size:14px;display:grid}.chess-filter{gap:16px;display:grid}.chess-auto-next{align-items:center;gap:10px;font-size:12px;display:flex}.chess-page .chess-auto-next input{width:18px;height:18px;min-height:18px;accent-color:var(--color-focus);flex:0 0 18px}.chess-filter-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.chess-puzzle-status{color:var(--chess-muted);justify-content:space-between;gap:20px;margin-bottom:14px;font-size:14px;display:flex}.chess-puzzle-themes{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.chess-puzzle-themes span{color:var(--chess-muted);padding:2px 0;font-size:11px}.chess-solution{flex-wrap:wrap;gap:8px;display:flex}.chess-solution .chess-button{font-variant-numeric:tabular-nums}.chess-history{margin:0;padding:0;list-style:none}.chess-history li{color:var(--chess-muted);border-bottom:0;justify-content:space-between;gap:12px;padding:10px 0;font-size:12px;display:flex}.chess-puzzle-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.chess-puzzle-stats .chess-metric>strong{font-size:28px}.chess-full-report{margin-top:36px;padding-top:8px}.chess-full-report>h2{letter-spacing:-.03em;font-size:28px;font-weight:500}.chess-report-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;display:grid}.chess-report-columns>.chess-panel{margin-top:0}@media (hover:hover){.chess-button:enabled:hover,.chess-line-button:enabled:hover{border-color:var(--chess-control-edge);background:var(--chess-control-material);box-shadow:var(--chess-control-relief)}}@media (min-width:1101px) and (max-height:900px){.chess-workspace{grid-template-columns:minmax(0,min(54vw,100svh - 240px)) minmax(320px,1fr);gap:32px}.chess-page{max-width:1180px;padding-top:24px}.chess-page-heading{margin-bottom:28px}.chess-page-heading h1{font-size:48px}}@media (max-width:1000px){.chess-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:24px}}@media (max-width:760px){.chess-page{padding-top:24px;padding-inline:20px}.chess-workspace{grid-template-columns:minmax(0,1fr);gap:28px;max-width:600px;margin-inline:auto}.chess-page-heading{margin-bottom:28px}.chess-side{flex-direction:column;display:flex}.chess-side .chess-tabs{order:-1}.chess-report-columns{grid-template-columns:minmax(0,1fr)}.chess-board-controls .chess-button{font-size:12px!important}.chess-board-controls{gap:6px}.chess-puzzle-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.chess-puzzle-stats .chess-metric{padding:12px}.chess-puzzle-stats .chess-metric>strong{font-size:24px}}@media (max-width:430px){.chess-page{padding-inline:16px}.chess-page-heading h1{font-size:36px}.chess-page-heading p{font-size:15px}.chess-board-controls .chess-button{min-width:0;padding-inline:9px}.chess-puzzle-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.chess-metric>strong{font-size:30px}.chess-page .chess-tabs .chess-button{font-size:var(--button-compact-font-size)}.chess-filter-row{gap:8px}}@media (prefers-reduced-motion:reduce){.chess-section *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.chess-page.chess-workbench{padding-top:16px}.chess-workbench .chess-workspace{grid-template-columns:minmax(0,660px) minmax(320px,1fr);gap:clamp(24px,3vw,44px)}.chess-workbench .chess-board{border-radius:6px;overflow:hidden}.chess-workbench .chess-board-component{background:0 0;padding:0}.chess-workbench .chess-board svg:not([data-chess-piece]){filter:drop-shadow(0 1px 1px #12212b66)}@media (min-width:1101px) and (max-height:900px){.chess-workbench .chess-workspace{grid-template-columns:minmax(0,calc(100svh - 244px)) minmax(340px,1fr)}}@media (max-width:1100px) and (min-width:761px){.chess-workbench .chess-workspace{grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:24px}}@media (max-width:760px){.chess-workbench .chess-workspace{grid-template-columns:minmax(0,1fr);gap:24px}.chess-workbench .chess-side{display:block}}.chess-board-controls .chess-move-navigation{justify-content:center;align-items:center;width:44px;min-width:44px;padding-inline:0;display:inline-flex}.chess-move-navigation__icon{align-items:center;display:inline-flex}.chess-move-navigation__icon>span{background:currentColor;width:14px;height:18px;-webkit-mask:url(/media/symbols/chevron.left.png) 50%/contain no-repeat;mask:url(/media/symbols/chevron.left.png) 50%/contain no-repeat}.chess-move-navigation__icon>span+span{margin-left:-5px}.chess-move-navigation__icon[data-direction=right]>span{-webkit-mask-image:url(/media/symbols/chevron.right.png);mask-image:url(/media/symbols/chevron.right.png)}.chess-workbench .chess-button:not(.chess-button--primary):not([aria-current=true]):not([aria-pressed=true]):not([data-state=on]){color:var(--chess-muted)}.chess-workbench .chess-board-controls{align-items:center;gap:4px}.chess-workbench .chess-flip{margin-inline-start:auto}.chess-workbench .chess-metric>strong{font-size:30px}.chess-workbench .chess-puzzle-stats .chess-metric{padding:8px 0}.chess-workbench .site-disclosure>.site-disclosure__item{background:0 0;border:0}.chess-workbench .site-disclosure .site-disclosure__trigger{color:var(--chess-muted);border:1px solid #0000;padding:10px 12px}.chess-workbench .site-disclosure .site-disclosure__body{padding:6px 12px 16px}.chess-workbench .site-disclosure .site-disclosure__trigger[data-state=open]{color:var(--color-ink)}.chess-workbench .site-select .site-select__trigger{color:var(--color-ink);box-shadow:none;background:0 0;border-color:#0000}.chess-workbench .chess-label .site-select{width:100%}.chess-workbench :is(.chess-button,.chess-line-button,.site-select__trigger,.site-disclosure__trigger){transition:color .16s,background-color .16s,border-color .16s,box-shadow .16s}.chess-workbench :is(.chess-button,.chess-line-button,.site-select__trigger,.site-disclosure__trigger):is(:focus-visible,:active):not(:disabled){background:var(--chess-control-material);border-color:var(--chess-control-edge);box-shadow:var(--chess-control-relief);color:var(--color-ink)}.chess-workbench .chess-file-picker:has(input:focus-visible){background:var(--chess-control-material);border-color:var(--chess-control-edge);box-shadow:var(--chess-control-relief);color:var(--color-ink)}@media (hover:hover) and (pointer:fine){.chess-workbench :is(.site-select__trigger,.site-disclosure__trigger):enabled:hover,.chess-workbench .chess-file-picker:hover,.chess-workbench :is(input:not([type=checkbox]),textarea):hover{border-color:var(--chess-control-edge);background:var(--chess-control-material);box-shadow:var(--chess-control-relief)}.chess-workbench .chess-button:enabled:hover{color:var(--color-ink)}}.chess-workbench :is(input:not([type=checkbox]),textarea){font-size:16px}.chess-side{--chess-side-text:clamp(18px, 5cqw, 24px);--chess-side-label:clamp(16px, 4cqw, 20px);--button-compact-font-size:var(--chess-side-text);font-size:20px;line-height:1.5;container:chess-sidebar/inline-size}.chess-side :is(.chess-status,.chess-muted,.chess-line-button,.chess-coach-item p,.chess-review-table){font-size:var(--chess-side-text)}.chess-side :is(.chess-label,.chess-move-number,.chess-explanation,.chess-metric>span,.chess-metric small,.chess-line-button small,.chess-history li,.chess-puzzle-themes span){font-size:var(--chess-side-label)}.chess-workbench .chess-side :is(input:not([type=checkbox]),textarea,.site-select .site-select__trigger,.site-disclosure .site-disclosure__trigger){font-size:var(--chess-side-text)}.chess-side .chess-button{white-space:normal;overflow-wrap:anywhere}.chess-side .chess-moves small{font-size:14px}.chess-workbench .chess-side .chess-metric>strong{font-size:clamp(32px,8cqw,40px)}.chess-side .chess-line-button{grid-template-columns:4ch minmax(0,1fr)}.chess-side .chess-review-table{display:block;overflow-x:auto}body:has(.chess-workbench) .site-select__item{font-size:20px}@container chess-sidebar (max-width:480px){.chess-link-group{flex-wrap:wrap}.chess-workbench .chess-side .chess-link-group input{flex:1 0 100%}.chess-link-group .chess-button{margin-inline-start:auto}}
