.cm-chessboard .board.input-enabled .square{cursor:pointer}.cm-chessboard .coordinates,.cm-chessboard .markers-layer,.cm-chessboard .pieces-layer,.cm-chessboard .markers-top-layer{pointer-events:none}.cm-chessboard-content .list-inline{padding-left:0;list-style:none}.cm-chessboard-content .list-inline-item{display:inline-block}.cm-chessboard-content .list-inline-item:not(:last-child){margin-right:1rem}.cm-chessboard-accessibility.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden}.cm-chessboard-accessibility button:disabled,.cm-chessboard-accessibility button:disabled:hover{opacity:.5;cursor:not-allowed;pointer-events:none}.cm-chessboard.default .board .square.white{fill:#ecdab9}.cm-chessboard.default .board .square.black{fill:#c5a076}.cm-chessboard.default.border-type-thin .board .border{stroke:#c5a076;stroke-width:.7%;fill:#c5a076}.cm-chessboard.default.border-type-none .board .border{stroke:#c5a076;stroke-width:0;fill:#c5a076}.cm-chessboard.default.border-type-frame .board .border{fill:#ecdab9;stroke:none}.cm-chessboard.default.border-type-frame .board .border-inner{fill:#c5a076;stroke:#c5a076;stroke-width:.7%}.cm-chessboard.default .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.default .coordinates .coordinate{fill:#b5936d;cursor:default;font-size:7px}.cm-chessboard.default .coordinates .coordinate.black{fill:#eeddbf}.cm-chessboard.default .coordinates .coordinate.white{fill:#b5936d}.cm-chessboard.default-contrast .board .square.white{fill:#ecdab9}.cm-chessboard.default-contrast .board .square.black{fill:#c5a076}.cm-chessboard.default-contrast.border-type-thin .board .border{stroke:#c5a076;stroke-width:.7%;fill:#c5a076}.cm-chessboard.default-contrast.border-type-none .board .border{stroke:#c5a076;stroke-width:0;fill:#c5a076}.cm-chessboard.default-contrast.border-type-frame .board .border{fill:#ecdab9;stroke:none}.cm-chessboard.default-contrast.border-type-frame .board .border-inner{fill:#c5a076;stroke:#c5a076;stroke-width:.7%}.cm-chessboard.default-contrast .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.default-contrast .coordinates .coordinate{fill:#b5936d;cursor:default;font-size:7px}.cm-chessboard.default-contrast .coordinates .coordinate.black,.cm-chessboard.default-contrast .coordinates .coordinate.white{fill:#333}.cm-chessboard.green .board .square.white{fill:#e0ddcc}.cm-chessboard.green .board .square.black{fill:#4c946a}.cm-chessboard.green.border-type-thin .board .border{stroke:#4c946a;stroke-width:.7%;fill:#4c946a}.cm-chessboard.green.border-type-none .board .border{stroke:#4c946a;stroke-width:0;fill:#4c946a}.cm-chessboard.green.border-type-frame .board .border{fill:#e0ddcc;stroke:none}.cm-chessboard.green.border-type-frame .board .border-inner{fill:#4c946a;stroke:#4c946a;stroke-width:.7%}.cm-chessboard.green .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.green .coordinates .coordinate{fill:#468862;cursor:default;font-size:7px}.cm-chessboard.green .coordinates .coordinate.black{fill:#e2e0d0}.cm-chessboard.green .coordinates .coordinate.white{fill:#468862}.cm-chessboard.blue .board .square.white{fill:#d8ecfb}.cm-chessboard.blue .board .square.black{fill:#86afcf}.cm-chessboard.blue.border-type-thin .board .border{stroke:#86afcf;stroke-width:.7%;fill:#86afcf}.cm-chessboard.blue.border-type-none .board .border{stroke:#86afcf;stroke-width:0;fill:#86afcf}.cm-chessboard.blue.border-type-frame .board .border{fill:#d8ecfb;stroke:none}.cm-chessboard.blue.border-type-frame .board .border-inner{fill:#86afcf;stroke:#86afcf;stroke-width:.7%}.cm-chessboard.blue .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.blue .coordinates .coordinate{fill:#7ba1be;cursor:default;font-size:7px}.cm-chessboard.blue .coordinates .coordinate.black{fill:#dbeefb}.cm-chessboard.blue .coordinates .coordinate.white{fill:#7ba1be}.cm-chessboard.chess-club .board .square.white{fill:#e6d3b1}.cm-chessboard.chess-club .board .square.black{fill:#af6b3f}.cm-chessboard.chess-club.border-type-thin .board .border{stroke:#692e2b;stroke-width:.7%;fill:#af6b3f}.cm-chessboard.chess-club.border-type-none .board .border{stroke:#692e2b;stroke-width:0;fill:#af6b3f}.cm-chessboard.chess-club.border-type-frame .board .border{fill:#692e2b;stroke:none}.cm-chessboard.chess-club.border-type-frame .board .border-inner{fill:#af6b3f;stroke:#692e2b;stroke-width:.7%}.cm-chessboard.chess-club .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.chess-club .coordinates .coordinate{fill:#e6d3b1;cursor:default;font-size:7px}.cm-chessboard.chess-club .coordinates .coordinate.black{fill:#e6d3b1}.cm-chessboard.chess-club .coordinates .coordinate.white{fill:#af6b3f}.cm-chessboard.chessboard-js .board .square.white{fill:#f0d9b5}.cm-chessboard.chessboard-js .board .square.black{fill:#b58863}.cm-chessboard.chessboard-js.border-type-thin .board .border{stroke:#404040;stroke-width:.7%;fill:#b58863}.cm-chessboard.chessboard-js.border-type-none .board .border{stroke:#404040;stroke-width:0;fill:#b58863}.cm-chessboard.chessboard-js.border-type-frame .board .border{fill:#f0d9b5;stroke:none}.cm-chessboard.chessboard-js.border-type-frame .board .border-inner{fill:#b58863;stroke:#404040;stroke-width:.7%}.cm-chessboard.chessboard-js .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.chessboard-js .coordinates .coordinate{fill:#404040;cursor:default;font-size:7px}.cm-chessboard.chessboard-js .coordinates .coordinate.black{fill:#f0d9b5}.cm-chessboard.chessboard-js .coordinates .coordinate.white{fill:#b58863}.cm-chessboard.black-and-white .board .square.white{fill:#fff}.cm-chessboard.black-and-white .board .square.black{fill:#9c9c9c}.cm-chessboard.black-and-white.border-type-thin .board .border{stroke:#9c9c9c;stroke-width:.7%;fill:#9c9c9c}.cm-chessboard.black-and-white.border-type-none .board .border{stroke:#9c9c9c;stroke-width:0;fill:#9c9c9c}.cm-chessboard.black-and-white.border-type-frame .board .border{fill:#fff;stroke:none}.cm-chessboard.black-and-white.border-type-frame .board .border-inner{fill:#9c9c9c;stroke:#9c9c9c;stroke-width:.7%}.cm-chessboard.black-and-white .coordinates{pointer-events:none;-webkit-user-select:none;user-select:none}.cm-chessboard.black-and-white .coordinates .coordinate{fill:#909090;cursor:default;font-size:7px}.cm-chessboard.black-and-white .coordinates .coordinate.black{fill:#fff}.cm-chessboard.black-and-white .coordinates .coordinate.white{fill:#909090}.cm-chessboard .keyboard-focus-indicator .keyboard-focus{fill:none;stroke:#06c;stroke-width:3px;pointer-events:none}.cm-chessboard .keyboard-focus-indicator .keyboard-from-square{fill:#0066cc4d;stroke:#06c;stroke-width:2px;pointer-events:none}.cm-chessboard:focus{outline-offset:2px;outline:2px solid #06c}.cm-chessboard .arrow-warning .arrow-head{fill:orange;fill-rule:nonzero}.cm-chessboard .arrow-warning .arrow-line{stroke:orange;stroke-linecap:round;opacity:.6}.cm-chessboard .arrow-danger .arrow-head{fill:red;fill-rule:nonzero}.cm-chessboard .arrow-danger .arrow-line{stroke:red;stroke-linecap:round;opacity:.5}.cm-chessboard .arrow-success .arrow-head{fill:green;fill-rule:nonzero}.cm-chessboard .arrow-success .arrow-line{stroke:green;stroke-linecap:round;opacity:.5}.cm-chessboard .arrow-info .arrow-head{fill:#00f;fill-rule:nonzero}.cm-chessboard .arrow-info .arrow-line{stroke:#00f;stroke-linecap:round;opacity:.4}.cm-chessboard .arrow-secondary .arrow-head{fill:#666;fill-rule:nonzero}.cm-chessboard .arrow-secondary .arrow-line{stroke:#666;stroke-linecap:butt;opacity:.5}:root{--bg:#1f1d1a;--panel:#2a2824;--text:#e8e4dc;--muted:#9b958a;--accent:#7fa650;--inaccuracy:#e6c94c;--mistake:#e58f2a;--blunder:#d64545;color:var(--text);background:var(--bg);font-family:system-ui,sans-serif}body{margin:0}.layout{align-items:flex-start;gap:24px;max-width:1100px;margin:0 auto;padding:24px;display:flex}.board-col{flex:none}.board-row{gap:8px;display:flex}.board{width:min(560px,70vw)}.evalbar{background:#403d39;border-radius:3px;width:24px;position:relative;overflow:hidden}.eval-fill{background:#f0ede6;width:100%;height:50%;transition:height .3s;position:absolute;bottom:0}.eval-text{text-align:center;width:100%;color:var(--text);mix-blend-mode:difference;font-size:10px;position:absolute;top:4px}.evalbar.flipped .eval-fill{top:0;bottom:auto}.evalbar.flipped .eval-text{top:auto;bottom:4px}.nav{justify-content:center;gap:6px;margin-top:10px;display:flex}.pv{color:var(--muted);min-height:1.2em;font-size:14px}.side-col{flex-direction:column;flex:1;gap:8px;min-width:260px;display:flex}h1{margin:0 0 8px;font-size:22px}label{color:var(--muted);font-size:14px}textarea{background:var(--panel);color:var(--text);resize:vertical;border:1px solid #45423c;border-radius:4px;padding:8px;font-family:ui-monospace,monospace;font-size:13px}button{background:var(--panel);color:var(--text);cursor:pointer;border:1px solid #45423c;border-radius:4px;padding:6px 12px;font-size:15px}button:hover{border-color:var(--muted)}button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}button.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}button:disabled{opacity:.5;cursor:wait}.import{gap:6px;display:flex}.import input,.import select{background:var(--panel);color:var(--text);border:1px solid #45423c;border-radius:4px;padding:6px 8px;font-size:14px}.import input{flex:1;min-width:0}.game-list{flex-direction:column;gap:2px;max-height:260px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.game-list:empty{display:none}.game-item{text-align:left;grid-template-columns:1fr 4.5em 6em 4.5em;gap:8px;width:100%;padding:6px 10px;font-size:13px;display:grid}.game-item .opp{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.game-item .win{color:var(--accent)}.game-item .loss{color:var(--blunder)}.game-item .draw,.game-item .meta{color:var(--muted)}.status{color:var(--muted);min-height:1.2em;margin:0}.error{color:var(--blunder);margin:0}.error:empty,.status:empty{display:none}.moves{background:var(--panel);border-radius:4px;grid-template-columns:3em 1fr 1fr;gap:2px 6px;max-height:60vh;margin:0;padding:8px;list-style:none;display:grid;overflow-y:auto}.moves:empty{display:none}.num,.empty{color:var(--muted);padding:4px 0}.move-cell{flex-direction:column;display:flex}.move{text-align:left;background:0 0;border:none;padding:3px 6px;font-size:14px}.move.active{background:#45423c}.move-cell small{color:var(--muted);padding:0 6px 4px;font-size:12px}.inaccuracy .move{color:var(--inaccuracy)}.mistake .move{color:var(--mistake)}.blunder .move{color:var(--blunder);font-weight:600}.summary{border-collapse:collapse;background:var(--panel);border-radius:4px;font-size:14px}.summary:empty{display:none}.summary th,.summary td{text-align:right;font-variant-numeric:tabular-nums;padding:6px 10px}.summary tr>th:first-child{text-align:left;font-weight:600}.summary tr:first-child th{color:var(--muted);font-size:12px;font-weight:500}.summary th.inaccuracy{color:var(--inaccuracy)}.summary th.mistake{color:var(--mistake)}.summary th.blunder{color:var(--blunder)}.chart{width:calc(min(560px,70vw) + 32px);height:120px;margin-top:4px;position:relative}.chart:empty{display:none}.chart-svg{cursor:pointer;background:#403d39;border-radius:4px;width:100%;height:100%;display:block}.chart-area{fill:#f0ede6;opacity:.85}.chart-mid{stroke:var(--muted);stroke-width:1px;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}.chart-line{fill:none;stroke:#f0ede6;stroke-width:2px;vector-effect:non-scaling-stroke}.chart-active{stroke:var(--accent);stroke-width:2px;vector-effect:non-scaling-stroke}.chart-hover{stroke:var(--muted);stroke-width:1px;vector-effect:non-scaling-stroke;pointer-events:none}.chart-dot{border:2px solid var(--bg);pointer-events:none;border-radius:50%;width:8px;height:8px;margin:-6px 0 0 -6px;position:absolute}.chart-dot.inaccuracy{background:var(--inaccuracy)}.chart-dot.mistake{background:var(--mistake)}.chart-dot.blunder{background:var(--blunder)}.chart-tip{background:var(--bg);white-space:pre;pointer-events:none;border:1px solid #45423c;border-radius:4px;padding:3px 8px;font-size:12px;position:absolute;top:4px;transform:translate(-50%)}@media (width<=800px){.chart{width:calc(100vw - 48px)}.layout{flex-direction:column}.board{width:calc(100vw - 80px)}}
