:root{--bg:#1e1e1e;--surface:#2a2a2a;--text:#e8e8e8;--muted:#9a9a9a;--accent:#6fa86f;--radius:10px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Apple SD Gothic Neo,Malgun Gothic,sans-serif}*{box-sizing:border-box}html{min-height:calc(100% + env(safe-area-inset-top))}body{background:var(--bg);overscroll-behavior:none;margin:0}button{font:inherit;color:var(--text);background:var(--surface);border-radius:var(--radius);white-space:nowrap;cursor:pointer;touch-action:manipulation;border:1px solid #3a3a3a;padding:10px 14px}button:disabled{opacity:.4;cursor:default}.storage-warning{max-width:560px;padding:calc(env(safe-area-inset-top) + 8px) 16px 8px;color:#f0d9a0;background:#3a3322;align-items:flex-start;gap:8px;margin:0 auto;font-size:.8rem;display:flex}.storage-warning button{color:inherit;flex-shrink:0}.app{max-width:560px;padding:calc(env(safe-area-inset-top) + 12px) 16px calc(env(safe-area-inset-bottom) + 16px);flex-direction:column;gap:12px;margin:0 auto;display:flex}.app-header{align-items:center;gap:10px;display:flex}.app-header h1{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;margin:0;font-size:1.2rem;overflow:hidden}.back-link{color:var(--text);padding:0 4px;font-size:1.4rem;text-decoration:none}h2{margin:0 0 8px;font-size:1rem}.muted{color:var(--muted)}.hint{color:var(--muted);margin:6px 0 0;font-size:.8rem}.warning{color:#d4b86a;white-space:nowrap;font-size:.85rem}.error{color:#e57373}button.primary{background:var(--accent);border-color:var(--accent);color:#10200f;font-weight:600}input,textarea{font:inherit;color:var(--text);background:var(--bg);border-radius:var(--radius);border:1px solid #3a3a3a;width:100%;padding:10px 12px;font-size:16px}.panel{background:var(--surface);border-radius:var(--radius);padding:12px}:root{--square-light:#ebecd0;--square-dark:#739552;--square-last:#ffff3373}html[data-board-theme=brown]{--square-light:#f0d9b5;--square-dark:#b58863;--square-last:#9bc70069}html[data-board-theme=blue]{--square-light:#dee3e6;--square-dark:#8ca2ad;--square-last:#9bc70069}html cg-board{background-color:var(--square-light);background-image:conic-gradient(var(--square-dark) 0 25%, transparent 0 50%, var(--square-dark) 0 75%, transparent 0);background-size:25% 25%}html cg-board square.last-move{background-color:var(--square-last)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.king.white,.piece-swatch.piece-set-staunty piece.king.white{background-image:var(--piece-wK)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.queen.white,.piece-swatch.piece-set-staunty piece.queen.white{background-image:var(--piece-wQ)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.rook.white,.piece-swatch.piece-set-staunty piece.rook.white{background-image:var(--piece-wR)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.bishop.white,.piece-swatch.piece-set-staunty piece.bishop.white{background-image:var(--piece-wB)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.knight.white,.piece-swatch.piece-set-staunty piece.knight.white{background-image:var(--piece-wN)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.pawn.white,.piece-swatch.piece-set-staunty piece.pawn.white{background-image:var(--piece-wP)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.king.black,.piece-swatch.piece-set-staunty piece.king.black{background-image:var(--piece-bK)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.queen.black,.piece-swatch.piece-set-staunty piece.queen.black{background-image:var(--piece-bQ)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.rook.black,.piece-swatch.piece-set-staunty piece.rook.black{background-image:var(--piece-bR)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.bishop.black,.piece-swatch.piece-set-staunty piece.bishop.black{background-image:var(--piece-bB)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.knight.black,.piece-swatch.piece-set-staunty piece.knight.black{background-image:var(--piece-bN)}html[data-piece-set=staunty] .cg-wrap:not(.piece-set-cburnett) piece.pawn.black,.piece-swatch.piece-set-staunty piece.pawn.black{background-image:var(--piece-bP)}.piece-swatch.cg-wrap{gap:2px;display:flex}.piece-swatch.cg-wrap piece{will-change:auto;width:36px;height:36px;display:inline-block;position:static;transform:none}.theme-picker.two{grid-template-columns:repeat(2,1fr)}.theme-picker{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.theme-picker button{flex-direction:column;align-items:center;gap:6px;display:flex}.theme-picker button.selected{border-color:var(--accent)}.theme-swatch{background-image:conic-gradient(var(--dark) 0 25%, var(--light) 0 50%, var(--dark) 0 75%, var(--light) 0);background-size:50% 50%;border-radius:4px;width:48px;height:48px}.theme-swatch.theme-green{--light:#ebecd0;--dark:#739552}.theme-swatch.theme-brown{--light:#f0d9b5;--dark:#b58863}.theme-swatch.theme-blue{--light:#dee3e6;--dark:#8ca2ad}.board{width:100%;aspect-ratio:1;width:round(down,100%,8px);margin-inline:auto;overflow:hidden}.board-inner{width:100%;height:100%}.controls{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.controls.two{grid-template-columns:repeat(2,1fr)}.controls.four{grid-template-columns:repeat(4,1fr)}.eco-chip{color:var(--muted);vertical-align:middle;background:#7f7f7f38;border-radius:3px;padding:0 4px;font-size:.68rem;font-weight:600;line-height:1.5;display:inline-block}.move-opening{color:var(--muted)}.step-head{color:var(--text)}.link-node.step-route{border-style:dashed}.link-node-info{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:3px;min-width:0;font-size:.7rem;display:flex}.link-node-info .link-opening{color:var(--text);font-size:.72rem}.link-route-line{display:block}.link-opening{font-size:.85rem}.move-path button.future{opacity:.45;border-style:dashed}.controls.five{grid-template-columns:repeat(5,1fr)}.controls.six{grid-template-columns:repeat(6,1fr)}.controls>button.selected{border-color:var(--accent);color:var(--accent)}.feedback.alternative{border-color:#d4b86a}.line-chip{cursor:pointer}.current-move-bar{flex-wrap:wrap;align-items:center;gap:6px;font-size:.85rem;display:flex}.current-move-bar>span{margin-right:auto}.current-move-bar button{padding:3px 10px;font-size:.85rem}.end-tools{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.end-tools button,.end-tools select{min-width:0;max-width:100%;padding:4px 10px;font-size:.85rem}.end-banner{background:#7f7f7f24;border-radius:6px;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px;padding:6px 10px;font-size:.85rem;display:flex}.end-banner button{padding:2px 8px;font-size:.85rem}.end-banner-link{margin-left:auto}.main-badge{background:var(--accent);color:#fff;border-radius:4px;margin-left:4px;padding:0 4px;font-size:.7rem;font-weight:600}.move-stat{color:var(--muted)}.move-stat.good{color:var(--accent)}.punish-mark{margin-right:2px}.controls>button{text-overflow:ellipsis;min-width:0;padding-inline:4px;overflow:hidden}.input-mode button.avoid.selected{color:#f0b0b0;background:#3a2222;border-color:#e57373}.explore-banner{border:1px dashed var(--muted);border-radius:var(--radius);justify-content:space-between;align-items:center;gap:8px;margin:-4px 0 0;padding:6px 10px;font-size:.85rem;display:flex}.explore-banner button{flex-shrink:0;padding:4px 10px}.avoid-banner{border-radius:var(--radius);color:#f0b0b0;background:#3a2222;margin:-4px 0 0;padding:6px 10px;font-size:.85rem}.move-path{flex-wrap:wrap;gap:4px;display:flex}.move-path button{gap:4px;padding:4px 8px;font-size:.9rem;display:flex}.move-path button.current{border-color:var(--accent);color:var(--accent)}.move-path button.unsaved{border-style:dashed;font-style:italic}.siblings{flex-wrap:wrap;align-items:center;gap:6px;margin-top:-4px;font-size:.85rem;display:flex}.siblings button{border-style:dashed;padding:3px 10px;font-size:.9rem}.status{color:var(--muted);margin:0 0 8px}.status.my-turn{color:var(--accent)}.badge{color:#d4b86a;margin:0 0 8px;font-size:.85rem}.child-moves{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.child-move{flex-direction:column;gap:6px;display:flex}.child-move-main{align-items:center;gap:6px;display:flex}.child-move-main button{padding:6px 10px}.child-move .san{text-align:left;min-width:72px;font-weight:600}.child-move .san.avoid{color:#e57373;text-decoration:line-through}.child-move-main button.selected{background:#3a2222;border-color:#e57373}.avoid-mark{margin-right:4px}.mine{color:#d4b86a;margin-right:4px}.note-preview{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.85rem;overflow:hidden}.note-editor{resize:vertical}.strength-line{color:var(--muted);margin:0 0 0 4px;font-size:.8rem}.position-key{color:var(--muted);word-break:break-all;margin:0;font-family:ui-monospace,monospace;font-size:.75rem}.repertoire-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.repertoire-list li{gap:6px;display:flex}.repertoire-link{border-radius:var(--radius);background:var(--bg);min-width:0;color:var(--text);flex-direction:column;flex:1;gap:4px;padding:10px 12px;text-decoration:none;display:flex}.repertoire-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.repertoire-title,.repertoire-meta{align-items:center;gap:10px;min-width:0;display:flex}.repertoire-meta{font-size:.85rem}.repertoire-color{white-space:nowrap;font-size:.85rem}.create-form{flex-direction:column;gap:10px;display:flex}.segmented{grid-template-columns:1fr 1fr;gap:6px;display:grid}.segmented label{text-align:center;border-radius:var(--radius);cursor:pointer;border:1px solid #3a3a3a;padding:10px}.segmented label.selected{border-color:var(--accent);color:var(--accent)}.dialog{border-radius:var(--radius);background:var(--surface);width:min(560px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--text);border:none;padding:16px}.dialog::backdrop{background:#0009}.dialog-header{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.dialog-header h2{margin:0}.dialog-header button{padding:4px 10px}.pgn-text{resize:vertical;font-family:ui-monospace,monospace;font-size:14px}.dialog-actions{gap:8px;margin-top:10px;display:flex}.dialog-actions>*{white-space:normal;flex:1;min-width:0}.file-button{text-align:center;border-radius:var(--radius);background:var(--surface);cursor:pointer;border:1px solid #3a3a3a;padding:10px 14px}.import-result p{margin:10px 0 0}.icon-link{color:var(--text);padding:0 4px;font-size:1.3rem;text-decoration:none}a,.ok{color:var(--accent)}.opening-name{color:#d4b86a;overflow-wrap:anywhere;min-height:1.2em;margin:-4px 0 0;font-size:.85rem}.move-opening-line{color:#d4b86a;overflow-wrap:anywhere;margin:-2px 0 0;padding-left:4px;font-size:.78rem}.segmented button{border-radius:var(--radius)}.segmented button.selected{border-color:var(--accent);color:var(--accent)}.segmented.small{grid-template-columns:repeat(3,auto);gap:4px}.segmented.small button{padding:4px 8px;font-size:.8rem}.stats-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.stats-header h2{margin:0}.stats-header+.hint{margin-bottom:8px}.stats-item{align-items:stretch;gap:4px;display:flex}.stats-item>:first-child{flex:1;min-width:0}.move-actions{flex-direction:column;flex-shrink:0;gap:4px;width:34px;display:flex}.move-actions button{flex:1;min-width:0;padding:2px 0;font-size:.95rem}.stats-rows{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.stats-row{text-align:left;background:var(--bg);white-space:normal;grid-template-columns:64px 1fr 60px;grid-template-areas:"san bar score""meta meta meta";align-items:center;gap:4px 8px;width:100%;padding:8px 10px;display:grid}.stats-row.saved{border-color:var(--accent)}.stats-san{grid-area:san;font-weight:600}.saved-mark{color:var(--accent);margin-left:4px}.stats-bar{border-radius:4px;grid-area:bar;height:18px;font-size:.7rem;line-height:18px;display:flex;overflow:hidden}.stats-bar>span{text-align:center;overflow:hidden;container-type:inline-size}.bar-label{white-space:nowrap;display:block}@container (width<=25px){.bar-label{visibility:hidden}}.bar-white{color:#222;background:#eee}.bar-draw{color:#111;background:#8a8a8a}.bar-black{color:#ddd;background:#111}.stats-score{text-align:right;white-space:nowrap;grid-area:score;font-weight:600}.stats-score small{font-weight:400}.stats-meta{color:var(--muted);flex-wrap:wrap;grid-area:meta;align-items:center;gap:6px;font-size:.75rem;display:flex}.chip{color:var(--text);background:#333;border-radius:999px;padding:1px 6px}.prefetch{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.progress-row{flex-direction:column;gap:6px;width:100%;margin:8px 0;font-size:.85rem;display:flex}.progress-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.progress-row progress{width:100%;height:6px;accent-color:var(--accent)}.tier-outcome{border-radius:var(--radius);background:var(--bg);flex-direction:column;gap:4px;margin-bottom:10px;padding:8px 10px;display:flex}.tier-title{color:var(--muted);justify-content:space-between;align-items:center;margin:0 0 2px;font-size:.8rem;display:flex}.tier-toggle{color:var(--muted);font-size:.75rem}.tier-row{grid-template-columns:4.5em 1fr auto;align-items:center;gap:8px;font-size:.8rem;display:grid}.tier-row .stats-bar{grid-area:auto}.tier-row.selected .tier-label{color:var(--accent);font-weight:600}.tier-meta,.tier-empty{white-space:nowrap;color:var(--muted)}.tier-empty{grid-column:2/4}.fill-tools{border-top:1px solid #333;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;padding-top:10px;font-size:.85rem;display:flex}.fill-tools button{padding:5px 10px;font-size:.85rem}.empty-start{border:1px dashed var(--accent)}.game-viewer{outline:none;flex-direction:column;gap:10px;display:flex}.game-viewer p{margin:0}.game-moves{max-height:30dvh;overflow-y:auto}.game-moves button.origin{text-decoration:underline}details.panel>summary{cursor:pointer;list-style:none}details.panel>summary h2{display:inline}details.panel>summary:after{content:" ▸";color:var(--muted)}details.panel[open]>summary:after{content:" ▾"}.stats-toggle{width:100%;margin-top:6px;padding:4px;font-size:.8rem}.update-prompt{left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom) + 84px);z-index:20;border-radius:var(--radius);background:#2f4a3a;align-items:center;gap:8px;max-width:536px;margin:0 auto;padding:10px 12px;font-size:.9rem;display:flex;position:fixed;box-shadow:0 4px 16px #0006}.update-prompt span{flex:1}.app.with-tabs{padding-bottom:calc(env(safe-area-inset-bottom) + 76px)}.tab-bar{z-index:10;padding:6px 8px calc(env(safe-area-inset-bottom) + 6px);background:var(--surface);border-top:1px solid #3a3a3a;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tab-bar a{color:var(--muted);flex-direction:column;align-items:center;gap:2px;padding:4px 0;font-size:.75rem;text-decoration:none;display:flex}.tab-bar a span{font-size:1.3rem}.tab-bar a.active{color:var(--accent)}.opening-group-head{align-items:stretch;gap:6px;display:flex}.opening-group-head .position-item{flex:1;min-width:0}.opening-group-head .plain{color:var(--muted);flex-shrink:0;font-size:.8rem}.opening-members{margin:6px 0 0 12px}.game-area{flex-direction:column;display:flex}@media (width<=592px){.game-area{margin-inline:-16px}.game-area .player-bar,.game-area .move-strip{padding-inline:12px}}.move-strip{white-space:nowrap;scrollbar-width:none;gap:10px;margin:0;padding:6px 0;font-size:.85rem;list-style:none;display:flex;overflow-x:auto}.move-strip::-webkit-scrollbar{display:none}.move-strip li{gap:3px;display:flex}.move-strip li.current{color:var(--accent);font-weight:700}.player-bar{align-items:center;gap:10px;min-height:44px;padding:6px 4px;display:flex}.player-avatar{background:var(--surface);border-radius:6px;flex-shrink:0;place-items:center;width:32px;height:32px;font-size:1.1rem;font-weight:600;display:grid}.player-avatar img{object-fit:cover;border-radius:6px;width:100%;height:100%}.player-bar.to-move .player-avatar{outline:2px solid var(--accent)}.player-info{flex-direction:column;flex:1;min-width:0;display:flex}.player-name{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:600;overflow:hidden}.player-title{background:#8a5a2b;border-radius:3px;margin-right:4px;padding:0 4px;font-size:.75rem}.player-captured.cg-wrap{align-items:center;min-height:16px;font-size:.8rem;display:flex}.player-captured.cg-wrap piece{will-change:auto;width:16px;height:16px;margin-right:-4px;display:inline-block;position:static;transform:none}.player-captured .muted{margin-left:8px}.thinking{gap:3px;display:flex}.thinking i{background:var(--muted);border-radius:50%;width:6px;height:6px;animation:1s ease-in-out infinite thinking}.thinking i:nth-child(2){animation-delay:.15s}.thinking i:nth-child(3){animation-delay:.3s}@keyframes thinking{0%,80%,to{opacity:.3}40%{opacity:1}}.move-comparison{margin-top:8px;font-size:.85rem}.move-comparison table{border-collapse:collapse;width:100%}.move-comparison th,.move-comparison td{text-align:right;padding:3px 4px}.move-comparison th:first-child,.move-comparison td:first-child{text-align:left}.move-comparison th{color:var(--muted);font-weight:400}.engine-fallback{margin-top:8px}.engine-panel h2{flex-shrink:0}.engine-arrow-toggle{color:var(--accent);margin-left:8px;font-size:.75rem}.comparison-score{white-space:nowrap}.comparison-score b{min-width:2.6em;display:inline-block}.mini-result-bar{vertical-align:middle;border-radius:2px;width:56px;height:8px;margin-left:4px;display:inline-flex;overflow:hidden}.move-comparison tr.wrong td{color:#f0b0b0}.move-comparison tr.answer td{color:var(--accent)}.play-log{flex-direction:column;gap:4px;margin:0;padding:0;font-size:.85rem;list-style:none;display:flex}.play-log li.me{border-left:2px solid var(--accent);padding-left:8px}.play-log .chip{margin-left:4px}.today-summary{margin:4px 0 0;font-size:1rem}.hub-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.hub-title{justify-content:space-between;gap:8px;font-size:.9rem;display:flex}.hub-title a{color:var(--muted);flex-shrink:0;font-size:.8rem}.hub-account{display:contents}.blunder-step{flex-direction:column;align-items:flex-start;gap:6px;margin:8px 0;display:flex}.blunder-step .hint{margin:0}.hub-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;font-size:.85rem;display:flex}.hub-actions .button-link{padding:6px 12px}.week-bars{grid-template-columns:repeat(7,1fr);gap:6px;height:110px;margin-top:8px;display:grid}.week-day{flex-direction:column;justify-content:flex-end;align-items:center;gap:2px;font-size:.7rem;display:flex}.week-bar{background:var(--accent);border-radius:3px 3px 0 0;width:70%;min-height:2px}.segmented.small.explorer-tabs{grid-template-columns:repeat(5,1fr)}.explorer{flex-direction:column;gap:10px;display:flex}.stats-rows.compact li{padding:2px 0;font-size:.85rem}.insights{flex-direction:column;gap:4px;margin:10px 0 0;padding-left:18px;font-size:.85rem;display:flex}.opponent-picker{flex-direction:column;gap:6px;margin-top:8px;display:flex}.opponent-input{gap:6px;display:flex}.opponent-input input{flex:1}.opponent-picker .chips{align-items:center;font-size:.8rem}.period-picker .segmented.small{grid-template-columns:repeat(6,1fr)}.period-dates{align-items:center;gap:8px;margin-top:8px;display:flex}.period-dates input{flex:1}.timeline-legend{flex-wrap:wrap;gap:4px 12px;margin:4px 0 8px;font-size:.8rem;display:flex}.timeline-legend i{vertical-align:-1px;border-radius:2px;width:10px;height:10px;display:inline-block}.timeline{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.timeline li{grid-template-columns:4.5em 1fr;grid-template-areas:"label bar"".meta";align-items:center;column-gap:8px;font-size:.8rem;display:grid}.timeline-label{color:var(--muted);grid-area:label}.timeline-bar{border-radius:3px;grid-area:bar;height:12px;display:flex;overflow:hidden}.timeline-meta{color:var(--muted);grid-area:meta}.fill-buttons{flex-direction:column;gap:8px;margin-top:10px;display:flex}.fill-buttons button{text-align:left;padding:12px 14px}.eval-bar{background:#111;border-radius:4px;height:22px;position:relative;overflow:hidden}.eval-white{background:#eee;height:100%;transition:width .3s;display:block}.eval-score{color:#fff;background:#000000a6;border-radius:3px;padding:0 6px;font-size:.8rem;line-height:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.eval-lines{flex-direction:column;gap:4px;margin:8px 0 0;padding-left:20px;font-size:.85rem;display:flex}.eval-lines b{min-width:3.5em;display:inline-block}.chip.engine-chip{color:#b8c7e0;background:#2a2f3a}.stats-header select{width:auto;max-width:60%;padding:4px 8px;font-size:14px}.sync-panel p{margin:0 0 6px}.result-bar .bar-win{color:#10200f;background:#6fa86f}.result-bar .bar-draw{color:#111;background:#8a8a8a}.result-bar .bar-loss{color:#fff;background:#c05656}.chip.ok-chip{color:var(--accent);background:#1e2d1e}.account-move{flex-direction:column;gap:4px;display:flex}.account-move-actions{flex-wrap:wrap;align-items:center;gap:8px;padding:0 4px 6px;font-size:.8rem;display:flex}.account-move-actions button{padding:3px 10px;font-size:.8rem}.settings-form{flex-direction:column;gap:10px;display:flex}.settings-form label{flex-direction:column;gap:4px;font-size:.9rem;display:flex}.settings-form label.checkbox{flex-direction:row}.settings-form h3{margin:8px 0 0;font-size:.95rem}select{font:inherit;color:var(--text);background:var(--bg);border-radius:var(--radius);border:1px solid #3a3a3a;padding:8px 10px;font-size:16px}.range-picker{grid-template-columns:5.5em 1fr auto 1fr;align-items:center;gap:8px;font-size:.9rem;display:grid}.stale{opacity:.5;transition:opacity .15s}.checkbox{align-items:center;gap:8px;margin:8px 0 0;font-size:.9rem;display:flex}.checkbox input{width:auto}.opening-results{flex-direction:column;gap:4px;max-height:50dvh;margin:8px 0 0;padding:0;list-style:none;display:flex;overflow-y:auto}.opening-results button{text-align:left;white-space:normal;background:var(--bg);flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:8px 10px;display:flex}.opening-result-name{font-size:.9rem}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip-toggle{cursor:pointer;border:1px solid #3a3a3a;border-radius:999px;padding:6px 12px;font-size:.85rem}.chip-toggle.selected{border-color:var(--accent);color:var(--accent)}.group-list{flex-direction:column;gap:4px;max-height:40dvh;margin:8px 0;padding:0;list-style:none;display:flex;overflow-y:auto}.group-row{border-radius:var(--radius);background:var(--bg);cursor:pointer;align-items:flex-start;gap:8px;padding:6px 8px;font-size:.85rem;display:flex}.group-row input{width:auto;margin-top:3px}.group-row.rare{opacity:.8}.group-row-body{flex-direction:column;gap:2px;display:flex}.repertoire-tabs{border-radius:var(--radius);background:var(--surface);grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;display:grid}.repertoire-tabs a{text-align:center;color:var(--muted);border-radius:8px;padding:8px 0;font-size:.9rem;text-decoration:none}.repertoire-tabs a.active{background:var(--bg);color:var(--accent);font-weight:600}.button-link{border-radius:var(--radius);background:var(--surface);color:var(--text);white-space:nowrap;border:1px solid #3a3a3a;justify-content:center;align-items:center;padding:10px 14px;text-decoration:none;display:inline-flex}.button-link.primary{background:var(--accent);border-color:var(--accent);color:#10200f;font-weight:600}button.plain{background:0 0;border:none;padding:0 4px}.menu{position:relative}.menu summary{cursor:pointer;border-radius:var(--radius);background:var(--surface);border:1px solid #3a3a3a;padding:6px 10px;list-style:none}.menu summary::-webkit-details-marker{display:none}.menu-items{z-index:5;background:var(--surface);border-radius:var(--radius);border:1px solid #3a3a3a;flex-direction:column;gap:4px;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 6px 20px #0006}.line-chips{flex-wrap:wrap;gap:4px;margin:0 0 8px;display:flex}.line-section .inline-check{white-space:nowrap;flex-shrink:0;align-items:center;gap:4px;font-size:.85rem;display:flex}.line-list{flex-direction:column;gap:8px;margin:8px 0 0;padding:0;list-style:none;display:flex}.line-list li{align-items:center;gap:6px;display:flex}.line-list li>button{flex-shrink:0;padding:6px 10px}.line-list li>button.plain{padding:4px}.line-info{flex-direction:column;flex:1;gap:2px;min-width:0;font-size:.85rem;display:flex}.line-name{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.line-bar{background:#7f7f7f40;border-radius:2px;height:4px;display:block;overflow:hidden}.line-bar>span{background:var(--accent);height:100%;display:block}.mode-list{flex-direction:column;gap:8px;display:flex}.mode-button{text-align:left;white-space:normal;flex-direction:column;align-items:flex-start;gap:4px;padding:14px;display:flex}.mode-title{font-size:1.05rem;font-weight:600}.progress{background:var(--surface);border-radius:2px;height:4px;overflow:hidden}.progress>div{background:var(--accent);height:100%;transition:width .3s}.feedback{min-height:64px}.feedback p{margin:0}.feedback .note{color:var(--muted);margin-top:6px;font-size:.9rem}.feedback.correct{border:1px solid var(--accent)}.feedback.wrong{border:1px solid #e57373}.feedback.new{border:1px solid #6a9fd4}.move-chip{gap:4px;padding:2px 6px;font-size:.9rem;display:inline-flex}.summary-score{margin:0 0 8px;font-size:1.6rem;font-weight:600}.summary-score .muted{font-size:.9rem;font-weight:400}.missed-list{margin:0;padding-left:18px}.opening-cards{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.opening-card{border-radius:var(--radius);background:var(--bg);flex-direction:column;gap:6px;padding:10px 12px;font-size:.85rem;display:flex}.opening-card-title{color:var(--text);font-size:.95rem;font-weight:600;text-decoration:none}.opening-card-stats{flex-direction:column;gap:2px;display:flex}.opening-card-mastery{flex-direction:column;gap:4px;display:flex}.opening-card-mastery .mastery-bar{height:8px}.opening-weak{border-top:1px solid #333;flex-direction:column;gap:4px;margin:0;padding:6px 0 0;list-style:none;display:flex}.opening-weak a{color:var(--text);text-decoration:none}.button-link.disabled{opacity:.4;pointer-events:none}.mastery-bar{background:#3a3a3a;border-radius:6px;height:12px;display:flex;overflow:hidden}.mastery-bar .mastered,.dot.mastered{background:var(--accent)}.mastery-bar .learning,.dot.learning{background:#6a9fd4}.dot.new{background:#3a3a3a}.dot{border-radius:50%;width:10px;height:10px;margin:0 2px 0 8px;display:inline-block}.legend{margin:8px 0;font-size:.85rem}.stat-tiles{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px;display:grid}.tile{border-radius:var(--radius);background:var(--bg);flex-direction:column;gap:2px;padding:10px 12px;display:flex}.tile b{font-size:1.3rem}.section-hint{margin:-4px 0 8px}.position-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.position-item{border-radius:var(--radius);background:var(--bg);color:var(--text);white-space:normal;overflow-wrap:anywhere;text-align:left;flex-direction:column;gap:2px;padding:8px 10px;font-size:.9rem;text-decoration:none;display:flex}.position-line{color:#d4b86a;font-size:.8rem}.chip.gap{background:#5a4520}.graph-page{max-width:none;height:100dvh}.graph-toolbar{gap:6px;display:flex}.header-toggle{padding:6px 10px;font-size:.85rem}.header-toggle.selected{border-color:var(--accent);color:var(--accent)}.graph-body{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.graph-position{gap:12px;padding:10px;display:flex}.graph-position-board{flex-shrink:0;width:min(44vw,36dvh)}@media (width>=900px){.graph-body.with-board{flex-direction:row}.graph-position{flex-direction:column;flex-shrink:0;align-self:flex-start;width:360px}.graph-position-board{width:100%}}.graph-legend{margin:0}.dot.weak{background:#e57373}.graph-canvas{border-radius:var(--radius);background:var(--bg);border:1px solid #333;flex:1;min-height:240px;overflow:hidden}.graph-canvas .react-flow{--xy-background-color:var(--bg)}.graph-node{width:104px;height:48px;color:var(--text);background:#2a2a2a;border:2px solid #555;border-radius:8px;flex-direction:column;justify-content:center;padding:4px 6px;font-size:13px;line-height:1.2;display:flex;position:relative}.graph-node.opponent-turn{background:#242424;border-style:dashed;border-color:#444}.graph-node.new{border-color:#777}.graph-node.learning{background:#1f2a36;border-color:#6a9fd4}.graph-node.mastered{border-color:var(--accent);background:#1e2d1e}.graph-node.weak{background:#3a2222;border-color:#e57373}.graph-node.no-move{border-style:dashed;border-color:#d4a13a}.graph-node.tone-good{border-color:var(--accent);background:#1e2d1e}.graph-node.tone-bad{background:#3a2222;border-color:#e57373}.graph-node-caption{color:var(--muted);white-space:nowrap;font-size:10px}.header-graph{padding:6px 10px;font-size:.85rem}.graph-page .app-header select{width:auto;padding:4px 8px;font-size:14px}.graph-node.selected,.graph-gap.selected{outline-offset:2px;outline:2px solid #fff}.graph-node.with-board{justify-content:flex-start;gap:3px;width:124px;height:162px;padding:5px}.mini-board-placeholder{background:repeating-conic-gradient(var(--square-dark) 0 25%, var(--square-light) 0 50%) 0 0 / 28px 28px;opacity:.5;border-radius:2px;flex-shrink:0;width:112px;height:112px}.mini-board.cg-wrap{border-radius:2px;flex-shrink:0;grid-template-rows:repeat(8,14px);grid-template-columns:repeat(8,14px);width:112px;height:112px;display:grid;overflow:hidden}.mini-square{position:relative}.mini-square.light{background:var(--square-light)}.mini-square.dark{background:var(--square-dark)}.mini-square.last:after{content:"";background:var(--square-last);position:absolute;inset:0}.mini-board.cg-wrap .mini-square piece{z-index:1;will-change:auto;width:100%;height:100%;position:absolute;inset:0;transform:none}.graph-node-label{white-space:nowrap;font-weight:600}.graph-node-opening{color:#d4b86a;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.graph-badge{margin-left:4px;font-size:10px;font-weight:400}.graph-toggle{background:#3a3a3a;border-radius:10px;min-width:22px;height:20px;padding:0 5px;font-size:11px;line-height:18px;position:absolute;bottom:-10px;right:-8px}.graph-gap{color:#e57373;background:#2a1e1e;border:2px dashed #e57373;border-radius:8px;justify-content:center;align-items:center;width:92px;height:34px;font-size:12px;display:flex}.graph-node .react-flow__handle,.graph-gap .react-flow__handle{opacity:0}.react-flow__edge.edge-mine .react-flow__edge-path{stroke:var(--accent)}.react-flow__edge.edge-opponent .react-flow__edge-path{stroke:#9a9a9a;stroke-dasharray:5 4}.graph-avoid{border-style:solid;text-decoration:line-through}.react-flow__edge.edge-avoid .react-flow__edge-path{stroke:#e57373;stroke-width:2px}.react-flow__edge.edge-gap .react-flow__edge-path{stroke:#e57373;stroke-dasharray:3 4}.graph-sheet{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:20;gap:12px;max-width:560px;margin:0 auto;display:flex;position:fixed;box-shadow:0 8px 30px #00000080}.graph-sheet-info{flex-direction:column;flex:1;gap:4px;min-width:0;font-size:.9rem;display:flex}.graph-sheet-info p{margin:0}.graph-sheet-actions{gap:6px;margin-top:auto;display:flex}.graph-sheet-actions>*{padding:8px 10px}.promotion-backdrop{z-index:10;background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.promotion-picker{background:var(--surface);border-radius:var(--radius);gap:8px;padding:12px;display:flex}.promotion-choice{width:64px;height:64px;padding:6px}.promotion-picker .promotion-choice piece{width:100%;height:100%;display:block;position:static;transform:none}.panel-title-row{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.link-list{margin:0;padding-left:18px;font-size:.9rem;line-height:1.8}.link-list.candidates{flex-direction:column;gap:8px;padding-left:0;list-style:none;display:flex}.link-list.candidates li{border-radius:6px;align-items:flex-start;gap:10px;padding:4px;line-height:1.4;display:flex}.link-list.candidates li.selected{outline:1px solid var(--accent)}.link-node{text-align:left;background:var(--surface);cursor:pointer;border:1px solid #555;border-radius:6px;align-items:flex-start;gap:6px;width:100%;height:100%;padding:5px;font-size:.75rem;line-height:1.25;display:flex}.link-node.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.link-node .mini-board.cg-wrap,.link-list .mini-board.cg-wrap{grid-template-rows:repeat(8,10px);grid-template-columns:repeat(8,10px);width:80px;height:80px}.link-row-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.link-row-actions{flex-wrap:wrap;gap:6px;display:flex}.link-detail{align-items:flex-start;gap:12px;display:flex}.link-detail-info{flex:1;min-width:0}.link-detail-info p{margin:0 0 6px}.link-detail-actions{flex-wrap:wrap;gap:6px;display:flex}.link-list button{padding:3px 10px;font-size:.85rem}.link-list button.plain{padding:0 6px}.react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#ffffff80;--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:#f0f0f099;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;background-color:var(--xy-background-color,var(--xy-background-color-default));--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #00000014;--xy-node-boxshadow-selected-default:0 0 0 .5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:#0059dc14;--xy-selection-border-default:1px dotted #0059dccc;--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:#96969640;--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:#3c3c3c99;--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#555;--xy-background-pattern-lines-color-default:#333;--xy-background-pattern-cross-color-default:#333;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:#f0f0f040;--xy-node-boxshadow-hover-default:0 1px 4px 1px #ffffff14;--xy-node-boxshadow-selected-default:0 0 0 .5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:#c8c8dc14;--xy-selection-border-default:1px dotted #c8c8dccc;--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px #00000014;--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__pane{z-index:1;touch-action:none}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{pointer-events:none;position:absolute;overflow:visible}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:.5s linear infinite dashdraw}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:.5s linear infinite dashdraw}svg.react-flow__connectionline{z-index:1001;position:absolute;overflow:visible}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default;position:absolute}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:0 0;pointer-events:none}.react-flow__nodesselection-rect{pointer-events:all;cursor:grab;position:absolute}.react-flow__handle{pointer-events:none;background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;width:6px;min-width:5px;height:6px;min-height:5px;position:absolute}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;bottom:0;left:50%;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{z-index:5;margin:15px;position:absolute}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px)translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px)translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));margin:0;padding:2px 3px;font-size:10px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10px}}.react-flow__edgelabel-renderer{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__viewport-portal{-webkit-user-select:none;user-select:none;width:100%;height:100%;position:absolute;top:0;left:0}.react-flow__minimap{background:var(--xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default)))}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(--xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default)));stroke:var(--xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default)));stroke-width:var(--xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default)))}.react-flow__minimap-node{fill:var(--xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default)));stroke:var(--xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default)));stroke-width:var(--xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default)))}.react-flow__background-pattern.dots{fill:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default)))}.react-flow__background-pattern.lines{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default)))}.react-flow__background-pattern.cross{stroke:var(--xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default)))}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));flex-direction:column;display:flex}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)));width:26px;height:26px;color:var(--xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default)));cursor:pointer;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:4px;display:flex}.react-flow__controls-button svg{fill:currentColor;width:100%;max-width:12px;max-height:12px}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));width:150px;color:var(--xy-node-color,var(--xy-node-color-default));text-align:center;border:var(--xy-node-border,var(--xy-node-border-default));background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));padding:10px;font-size:12px}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(--xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default)));color:var(--xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default)))}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(--xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default)))}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;width:5px;height:5px;translate:-50% -50%}.react-flow__resize-control.handle.left{top:50%;left:0}.react-flow__resize-control.handle.right{top:50%;left:100%}.react-flow__resize-control.handle.top{top:0;left:50%}.react-flow__resize-control.handle.bottom{top:100%;left:50%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;height:100%;top:0;transform:translate(-50%)}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{width:100%;height:1px;left:0;transform:translateY(-50%)}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}.cg-wrap{box-sizing:content-box;display:block;position:relative}cg-container{width:100%;height:100%;display:block;position:absolute;top:0}cg-board{-webkit-user-select:none;user-select:none;background-size:cover;width:100%;height:100%;line-height:0;position:absolute;top:0;left:0}.cg-wrap.manipulable cg-board{cursor:pointer}cg-board square{pointer-events:none;width:12.5%;height:12.5%;position:absolute;top:0;left:0}cg-board square.move-dest{pointer-events:auto}cg-board square.last-move{will-change:transform}.cg-wrap piece{z-index:2;will-change:transform;pointer-events:none;background-size:cover;width:12.5%;height:12.5%;position:absolute;top:0;left:0}cg-board piece.dragging{cursor:move;z-index:11!important}piece.anim{z-index:8}piece.fading{z-index:1;opacity:.5}.cg-wrap piece.ghost{opacity:.3}.cg-wrap piece svg{pointer-events:none;z-index:2;opacity:.6;width:100%;height:100%;position:relative;top:0;left:0;overflow:hidden}.cg-wrap cg-auto-pieces,.cg-wrap .cg-shapes,.cg-wrap .cg-custom-svgs{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;overflow:visible}.cg-wrap cg-auto-pieces{z-index:2}.cg-wrap cg-auto-pieces piece{opacity:.3}.cg-wrap .cg-shapes{opacity:.6;z-index:2;overflow:hidden}.cg-wrap .cg-custom-svgs{z-index:9}.cg-wrap .cg-custom-svgs svg{overflow:visible}.cg-wrap coords{pointer-events:none;opacity:.8;font-family:sans-serif;font-size:9px;display:flex;position:absolute}.cg-wrap coords.ranks{flex-flow:column-reverse;width:12px;height:100%;top:-20px;left:4px}.cg-wrap coords.ranks.black{flex-flow:column}.cg-wrap coords.ranks.left{align-items:flex-end;left:-15px}.cg-wrap coords.files{text-transform:uppercase;text-align:center;flex-flow:row;width:100%;height:16px;bottom:-4px;left:24px}.cg-wrap coords.files.black{flex-flow:row-reverse}.cg-wrap coords coord{flex:auto}.cg-wrap coords.ranks coord{transform:translateY(39%)}.cg-wrap coords.squares{text-transform:uppercase;text-align:right;flex-flow:column-reverse;width:12.5%;height:100%;bottom:0;left:0}.cg-wrap coords.squares.black{flex-flow:column}.cg-wrap coords.squares.left{text-align:left}.cg-wrap coords.squares coord{padding:6% 4%}.cg-wrap coords.squares.rank2{transform:translate(100%)}.cg-wrap coords.squares.rank3{transform:translate(200%)}.cg-wrap coords.squares.rank4{transform:translate(300%)}.cg-wrap coords.squares.rank5{transform:translate(400%)}.cg-wrap coords.squares.rank6{transform:translate(500%)}.cg-wrap coords.squares.rank7{transform:translate(600%)}.cg-wrap coords.squares.rank8{transform:translate(700%)}.cg-wrap piece.pawn.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIGZpbGw9IiNmZmYiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==)}.cg-wrap piece.bishop.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIGZpbGw9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJidXR0Ij48cGF0aCBkPSJNOSAzNmMzLjM5LS45NyAxMC4xMS40MyAxMy41LTIgMy4zOSAyLjQzIDEwLjExIDE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TkgMS4yMy0xIDItMSAwLTQuMDAzIDEtNC00IDAtMiA2LTEyIDYtMTJzMS44OS0xLjkgMi0zLjVjLS43My0uOTk0LS41LTItLjUtMyAxLTEgMyAyLjUgMyAyLjVoMnMuNzgtMS45OTIgMi41LTNjMSAwIDEgMyAxIDMiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNOS41IDI1LjVhLjUuNSAwIDEgMS0xIDAgLjUuNSAwIDEgMSAxIDB6bTUuNDMzLTkuNzVhLjUgMS41IDMwIDEgMS0uODY2LS41LjUgMS41IDMwIDEgMSAuODY2LjV6IiBmaWxsPSIjMDAwIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.rook.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik05IDM5aDI3di0zSDl2M3ptMy0zdi00aDIxdjRIMTJ6bS0xLTIyVjloNHYyaDVWOWg1djJoNVY5aDR2NSIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiLz48cGF0aCBkPSJNMzQgMTRsLTMgM0gxNGwtMy0zIi8+PHBhdGggZD0iTTMxIDE3djEyLjVIMTRWMTciIHN0cm9rZS1saW5lY2FwPSJidXR0IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMxIDI5LjVsMS41IDIuNWgtMjBsMS41LTIuNSIvPjxwYXRoIGQ9Ik0xMSAxNGgyMyIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIvPjwvZz48L3N2Zz4=)}.cg-wrap piece.queen.white{background-image:url(data:image/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piece.king.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMi41IDExLjYzVjZNMjAgOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTIyLjUgMjVzNC41LTcuNSAzLTEwLjVjMCAwLTEtMi41LTMtMi41cy0zIDIuNS0zIDIuNWMtMS41IDMgMyAxMC41IDMgMTAuNSIgZmlsbD0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMTEuNSAzN2M1LjUgMy41IDE1LjUgMy41IDIxIDB2LTdzOS00LjUgNi0xMC41Yy00LTYuNS0xMy41LTMuNS0xNiA0VjI3di0zLjVjLTMuNS03LjUtMTMtMTAuNS0xNi00LTMgNiA1IDEwIDUgMTBWMzd6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTExLjUgMzBjNS41LTMgMTUuNS0zIDIxIDBtLTIxIDMuNWM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.pawn.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTgu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