.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+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1sa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WNhcD0iYnV0dCIvPjxwYXRoIGQ9Ik0xMS41IDMwYzMuNS0xIDE4LjUtMSAyMiAwTTEyIDMzLjVjNi0xIDE1LTEgMjEgMCIgZmlsbD0ibm9uZSIvPjwvZz48L3N2Zz4=)}.cg-wrap 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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv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NWMtMy41LTcuNS0xMy0xMC41LTE2LTQtMyA2IDUgMTAgNSAxMFYzN3oiIGZpbGw9IiMwMDAiLz48cGF0aCBkPSJNMjAgOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMyIDI5LjVzOC41LTQgNi4wMy05LjY1QzM0LjE1IDE0IDI1IDE4IDIyLjUgMjQuNWwuMDEgMi4xLS4wMS0yLjFDMjAgMTggOS45MDYgMTQgNi45OTcgMTkuODVjLTIuNDk3IDUuNjUgNC44NTMgOSA0Ljg1MyA5IiBzdHJva2U9IiNlY2VjZWMiLz48cGF0aCBkPSJNMTEuNSAzMGM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwbS0yMSAzLjVjNS41LTMgMTUuNS0zIDIxIDAiIHN0cm9rZT0iI2VjZWNlYyIvPjwvZz48L3N2Zz4=)}:root{--bg:#f7f4ec;--surface:#fdfcf9;--ink:#1b2a30;--muted:#5e6b6f;--line:#dcd6c8;--accent:#21596e;--accent-soft:#dcebef;--accent-ink:#173f4e;--amber:#e08a3c;--amber-soft:#e08a3c29;--good:#23905f;--warn:#c98a0b;--bad:#d4483b;--orange:#d9722b;--sq-light:#eae4d3;--sq-dark:#6e98a3;--last-move:#e08a3c6b;--dest:#21596e80;--shadow:0 1px 2px #0000001f;--sans:"Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--mono:"JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;--bsize:min(560px, calc(100vh - 150px))}@media (prefers-color-scheme:dark){:root{--bg:#0f252d;--surface:#15313b;--ink:#e3ecee;--muted:#9db1b7;--line:#28474f;--accent:#4fa3b8;--accent-soft:#1c3f4a;--accent-ink:#94cfdd;--amber:#ee9d52;--amber-soft:#ee9d522e;--good:#43c58f;--warn:#e3ae3c;--bad:#ef6b5e;--orange:#f08c4d;--sq-light:#d5d0c2;--sq-dark:#4f7c88;--last-move:#ee9d5280;--dest:#0f252d8c;--shadow:0 1px 2px #00000040}}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--ink);font:16px/1.6 var(--sans);-webkit-font-smoothing:antialiased}button{font:inherit;color:inherit;cursor:pointer}.ghost{color:var(--muted);background:0 0;border:0;border-radius:3px;padding:6px 10px}.ghost:hover{background:var(--line);color:var(--ink)}:root{--topbar:53px;--stick:400px;--bsize:clamp(300px, calc(100vh - 320px), 560px)}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.muted{color:var(--muted)}.topbar{z-index:20;background:var(--bg);border-bottom:1px solid var(--line);align-items:center;gap:14px;padding:10px 24px;display:flex;position:sticky;top:0}.brand{letter-spacing:-.01em;align-items:center;gap:8px;font-size:18px;font-weight:700;display:inline-flex}.game-info{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-left:auto;font-size:13px;overflow:hidden}.game-info a{color:var(--accent);text-decoration:none}.game-info a:hover{text-decoration:underline}.drawer{z-index:40;background:var(--surface);width:min(380px,92vw);box-shadow:var(--shadow);padding:14px;position:fixed;top:0;bottom:0;left:0;overflow-y:auto}.drawer-head{justify-content:space-between;align-items:center;padding:4px 6px 12px;font-weight:700;display:flex}.scrim{z-index:30;background:#06161a73;position:fixed;inset:0}.drawer ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.drawer li button{text-align:left;background:0 0;border:1px solid #0000;border-radius:3px;width:100%;min-height:44px;padding:10px 12px}.drawer li button:hover{background:var(--bg)}.drawer li.on button{background:var(--accent-soft)}.li-top{color:var(--muted);align-items:center;gap:8px;margin-bottom:2px;font-size:13px;display:flex}.li-head{font-size:14px;line-height:1.4}.li-date{margin-left:auto}.dot{background:var(--muted);border-radius:50%;width:8px;height:8px}.dot.inaccuracy{background:var(--warn)}.dot.mistake{background:var(--orange)}.dot.blunder{background:var(--bad)}.layout{grid-template-columns:calc(var(--bsize) + 38px) minmax(0, 1fr);align-items:start;gap:44px;max-width:1240px;min-height:calc(100vh - 53px);margin:0 auto;padding:18px 24px 80px;display:grid}.left{top:calc(var(--topbar) + 14px);position:sticky}.board-row{height:var(--bsize);gap:10px;display:flex}.board-wrap{width:var(--bsize);height:var(--bsize);box-shadow:var(--shadow);touch-action:none;border-radius:3px;flex:none;overflow:hidden}.board{width:100%;height:100%}.story-wrap{touch-action:pan-y;margin-top:12px}.in-right{display:none}.bcap{background:var(--surface);border-radius:3px;padding:7px 12px 9px}.bcap.off{background:var(--accent-soft)}.bcap-head{align-items:center;gap:10px;min-height:32px;display:flex}.bcap-txt{flex:1;align-items:baseline;gap:10px;min-width:0;display:flex}.bcap-step{font:600 12px var(--mono);color:var(--muted);flex:none}.bcap-t{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;font-weight:650;overflow:hidden}.bcap-nav{flex:none;gap:6px;display:flex}.bcap-nav button{border:1px solid var(--line);min-width:36px;height:32px;color:var(--muted);background:0 0;border-radius:3px;padding:0 10px}.bcap-nav button.next:not(:disabled){background:var(--accent);border-color:var(--accent);color:#fff}.bcap-nav button:hover:not(:disabled){border-color:var(--accent);color:var(--ink)}.bcap-nav button.next:hover:not(:disabled){color:#fff}.bcap-nav button:disabled{opacity:.35;cursor:default}.bcap-sub{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:0 14px;font-size:13px;display:flex}.bcap-sub .linklike{color:var(--accent-ink);padding:0;font-size:13px}.bcap-body{margin-top:6px;font-size:15px;line-height:1.5}@media (width>=941px){.lv.tab-lesson .bcap.step .bcap-body,.lv.cmp .bcap.step .bcap-body{display:none}}@media (height<=520px) and (orientation:landscape) and (width<=940px){.lv.tab-lesson .bcap.step .bcap-body{display:none}}@media (prefers-color-scheme:dark){.bcap-nav button.next:not(:disabled),.bcap-nav button.next:hover:not(:disabled),.lv-steps li.on .ch-n{color:#06161a}}.lv-head .tags{margin-bottom:10px}.lv .lv-tabs{border-bottom:1px solid var(--line);margin:0 0 12px;display:flex}.lv-tabs button{min-height:40px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:0 14px;font-size:14px;font-weight:600}.lv-tabs button:hover{color:var(--ink)}.lv-tabs button.on{color:var(--ink);border-color:var(--accent)}.lv .right>.panel{display:none}.lv.tab-coach .right>.p-coach,.lv.tab-lesson .right>.p-lesson,.lv.tab-game .right>.p-game{display:block}.lv-sub{justify-content:space-between;align-items:center;gap:10px;margin:26px 0 8px;display:flex}.lv-sub h2.sec-title{margin:0}.lv-steps{border-top:1px solid var(--line);margin:0;padding:0;list-style:none}.lv-steps li{border-bottom:1px solid var(--line);cursor:pointer;gap:12px;padding:10px 8px;font-size:15px;line-height:1.5;display:flex}.lv-steps li:hover{background:color-mix(in srgb, var(--ink) 4%, transparent)}.lv-steps li.on{background:var(--accent-soft)}.lv-steps li:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.lv-steps .ch-n{border:1px solid var(--line);width:22px;height:22px;font:600 11.5px/1 var(--mono);color:var(--muted);border-radius:50%;flex:none;place-items:center;margin-top:1px;display:grid}.lv-steps li.on .ch-n{background:var(--accent);border-color:var(--accent);color:#fff}.lv-step-t{min-width:0}.lv-wait{margin:18px 0 0;font-size:14px}.p-lesson h2.sec-title{margin-top:26px}@media (width>=941px){.layout.lv{--bsize:clamp(300px, calc(100vh - 230px), 600px);max-width:1360px;min-height:0;padding-top:14px;padding-bottom:14px}.lv:not(.cmp) .right{top:calc(var(--topbar) + 14px);height:calc(100vh - var(--topbar) - 28px);flex-direction:column;display:flex;position:sticky}.lv:not(.cmp) .right>.panel{scrollbar-width:thin;flex:1;min-height:0;overflow-y:auto}.lv .p-game .gl-rows{max-height:none}.lv.tab-coach:not(.cmp) .right>.p-coach{flex-direction:column;display:flex;overflow:hidden}.p-coach .coach{flex-direction:column;flex:1;min-height:0;display:flex}.p-coach .coach-msgs{scrollbar-width:thin;flex:1;align-content:start;min-height:0;padding:2px 6px 8px 2px;overflow-y:auto}.p-coach .coach-in{padding-bottom:2px;position:static}.p-coach .coach-wait{min-height:0;overflow-y:auto}}.evalbar{background:var(--rest);width:28px;box-shadow:0 0 0 1px color-mix(in srgb, var(--ink) 18%, transparent);border-radius:3px;flex:none;position:relative;overflow:hidden}.eb-fill{height:var(--w);background:var(--fill);transition:height .5s cubic-bezier(.2,.8,.2,1);position:absolute;bottom:0;left:0;right:0}.eb-num{text-align:center;font:700 11px/14px var(--mono);letter-spacing:-.02em;transition:color .3s;position:absolute;left:0;right:0}.eb-num.in-fill{bottom:4px}.eb-num.in-rest{top:4px}.count{white-space:nowrap;font:600 12px var(--mono);color:var(--muted)}.linklike{color:var(--accent-ink);text-underline-offset:3px;font-size:inherit;background:0 0;border:0;padding:0 2px;text-decoration:underline}.linklike.strong{font-weight:700;text-decoration:none}.turn-res{margin-bottom:6px;font-weight:650;display:block}.turn-res.best{color:var(--good)}.maia{color:var(--muted);flex-wrap:wrap;gap:6px;margin:4px 8px 4px 0;font-size:12px;display:flex}.maia span:not(:first-child){background:var(--bg);color:var(--ink);border-radius:99px;padding:1px 9px}.moverow{align-items:flex-start;gap:6px;margin-top:10px;display:flex}.mr-btn{border:1px solid var(--line);background:var(--surface);width:34px;height:34px;color:var(--muted);border-radius:3px;flex:none;font-size:12px}.mr-btn:hover:not(:disabled){color:var(--ink);border-color:var(--accent)}.mr-btn:disabled{opacity:.35;cursor:default}.mr-scroll{flex:1;min-width:0}.mr-moves{max-height:60px;font:500 13.5px var(--mono);flex-wrap:wrap;align-items:center;gap:1px 2px;padding:3px 0;display:flex;overflow-y:auto}.mn{color:var(--muted);margin:0 1px 0 5px;font-size:12px}.mv-b{font:inherit;color:var(--ink);white-space:nowrap;background:0 0;border:0;border-radius:3px;padding:2px 6px}.mv-b:hover{background:var(--line)}.mv-b.on{background:var(--accent);color:#fff}.gl{font:700 12px var(--mono);margin-left:2px}.gl.inaccuracy{color:var(--warn)}.gl.mistake{color:var(--orange)}.gl.blunder{color:var(--bad)}.gl.best{color:var(--good)}.mv-b.on .gl{color:inherit;filter:brightness(1.7)}@media (prefers-color-scheme:dark){.mv-b.on,a.ll.active,.bottombar .primary{color:#06161a}}cg-board{background-color:var(--sq-light);background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'><g fill='%236e98a3'><rect x='1' y='0' width='1' height='1'/><rect x='3' y='0' width='1' height='1'/><rect x='5' y='0' width='1' height='1'/><rect x='7' y='0' width='1' height='1'/><rect x='0' y='1' width='1' height='1'/><rect x='2' y='1' width='1' height='1'/><rect x='4' y='1' width='1' height='1'/><rect x='6' y='1' width='1' height='1'/><rect x='1' y='2' width='1' height='1'/><rect x='3' y='2' width='1' height='1'/><rect x='5' y='2' width='1' height='1'/><rect x='7' y='2' width='1' height='1'/><rect x='0' y='3' width='1' height='1'/><rect x='2' y='3' width='1' height='1'/><rect x='4' y='3' width='1' height='1'/><rect x='6' y='3' width='1' height='1'/><rect x='1' y='4' width='1' height='1'/><rect x='3' y='4' width='1' height='1'/><rect x='5' y='4' width='1' height='1'/><rect x='7' y='4' width='1' height='1'/><rect x='0' y='5' width='1' height='1'/><rect x='2' y='5' width='1' height='1'/><rect x='4' y='5' width='1' height='1'/><rect x='6' y='5' width='1' height='1'/><rect x='1' y='6' width='1' height='1'/><rect x='3' y='6' width='1' height='1'/><rect x='5' y='6' width='1' height='1'/><rect x='7' y='6' width='1' height='1'/><rect x='0' y='7' width='1' height='1'/><rect x='2' y='7' width='1' height='1'/><rect x='4' y='7' width='1' height='1'/><rect x='6' y='7' width='1' height='1'/></g></svg>");background-size:100% 100%}@media (prefers-color-scheme:dark){cg-board{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'><g fill='%234f7c88'><path d='M1 0h1v1H1zM3 0h1v1H3zM5 0h1v1H5zM7 0h1v1H7zM0 1h1v1H0zM2 1h1v1H2zM4 1h1v1H4zM6 1h1v1H6zM1 2h1v1H1zM3 2h1v1H3zM5 2h1v1H5zM7 2h1v1H7zM0 3h1v1H0zM2 3h1v1H2zM4 3h1v1H4zM6 3h1v1H6zM1 4h1v1H1zM3 4h1v1H3zM5 4h1v1H5zM7 4h1v1H7zM0 5h1v1H0zM2 5h1v1H2zM4 5h1v1H4zM6 5h1v1H6zM1 6h1v1H1zM3 6h1v1H3zM5 6h1v1H5zM7 6h1v1H7zM0 7h1v1H0zM2 7h1v1H2zM4 7h1v1H4zM6 7h1v1H6z'/></g></svg>")}}.cg-wrap coords{font-family:var(--sans);opacity:.95;z-index:3;font-size:9.5px;font-weight:700;line-height:1}.cg-wrap coords.ranks{width:10px;height:100%;top:0;left:2px}.cg-wrap coords.ranks coord{padding-top:1px;transform:none}.cg-wrap coords.files{width:100%;height:10px;bottom:1px;left:0}.cg-wrap coords.files coord{text-align:right;padding-right:2px}.orientation-white :is(.ranks,.files) :nth-child(odd),.orientation-black :is(.ranks,.files) :nth-child(2n){color:var(--sq-light);text-shadow:0 0 2px var(--sq-dark), 0 0 2px var(--sq-dark), 0 0 1px var(--sq-dark)}.orientation-white :is(.ranks,.files) :nth-child(2n),.orientation-black :is(.ranks,.files) :nth-child(odd){color:var(--sq-dark);text-shadow:0 0 2px var(--sq-light), 0 0 2px var(--sq-light), 0 0 1px var(--sq-light)}.cg-wrap square.last-move{background-color:var(--last-move)}.right{min-width:0}.tabs{display:none}.tags{flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:14px;display:flex}.tags-fb{margin-left:auto}.cls{color:var(--c);background:color-mix(in srgb, var(--c) 14%, transparent);border-radius:999px;align-items:center;gap:8px;padding:3px 12px 3px 4px;font-size:13px;font-weight:700;display:inline-flex}.cls i{font:700 12px var(--mono);background:var(--c);color:#fff;border-radius:50%;place-items:center;min-width:22px;height:22px;font-style:normal;display:inline-grid}@media (prefers-color-scheme:dark){.cls i{color:#10161d}}.cls.other{padding-left:12px}.cls.inaccuracy{--c:var(--warn)}.cls.mistake{--c:var(--orange)}.cls.blunder{--c:var(--bad)}.cls.other{--c:var(--muted)}.mv{font:500 14px var(--mono);color:var(--muted)}.mv b{color:var(--ink);font-weight:600}.mv-sep{font-family:var(--sans);text-transform:uppercase;letter-spacing:.06em;margin:0 6px 0 12px;font-size:12px}.mv .best{color:var(--good);font-weight:600}.star{font-size:12px}.phase{color:var(--muted);text-transform:capitalize;border:1px solid var(--line);border-radius:99px;padding:0 9px;font-size:12px}.ltag{color:var(--muted);border:1px solid var(--line);white-space:nowrap;border-radius:99px;padding:0 9px;font-size:12px}.ltag.category{color:var(--ink)}.headline{letter-spacing:-.015em;text-wrap:balance;margin:0 0 14px;font-size:clamp(24px,2.6vw,31px);font-weight:700;line-height:1.22}.summary{margin:0;font-size:17px;line-height:1.65}.winbar{margin:22px 0 4px}.wb-track{background:var(--line);border-radius:99px;height:8px;position:relative}.wb-loss{background:linear-gradient(90deg, color-mix(in srgb, var(--bad) 35%, transparent), var(--bad));border-radius:99px;position:absolute;top:0;bottom:0}.wb-dot{border:2px solid var(--surface);border-radius:50%;width:14px;height:14px;position:absolute;top:50%;transform:translate(-50%,-50%)}.wb-dot.before{background:var(--good)}.wb-dot.after{background:var(--bad)}.wb-legend{color:var(--muted);flex-wrap:wrap;gap:6px 18px;margin-top:10px;font-size:13px;display:flex}.wb-legend b{color:var(--ink);font-variant-numeric:tabular-nums}h2.sec-title{text-transform:none;letter-spacing:0;color:var(--muted);margin:38px 0 12px;font-size:13px;font-weight:700}.card{background:var(--surface);box-shadow:var(--shadow);border-radius:3px;padding:4px 22px}.section{border-top:1px solid var(--line);scroll-margin-top:calc(var(--stick) + 56px);padding:16px 0}.section:first-child{border-top:0}.section summary{cursor:pointer;align-items:baseline;gap:12px;min-height:28px;font-size:17px;font-weight:650;list-style:none;display:flex}.section summary::-webkit-details-marker{display:none}.section .num{font:500 12px var(--mono);color:var(--accent)}.section summary:after{content:"+";color:var(--muted);margin-left:auto;font-weight:400}.section[open] summary:after{content:"−"}.section .body{margin:10px 0 0;padding-left:28px}a.ll{font-family:var(--mono);color:var(--accent-ink);background:var(--accent-soft);cursor:pointer;white-space:nowrap;border-radius:3px;padding:2px 7px;font-size:.88em;font-weight:500;text-decoration:none;transition:background .15s,box-shadow .15s;position:relative}a.ll:hover{box-shadow:inset 0 -2px 0 var(--accent)}a.ll:active{background:color-mix(in srgb, var(--accent) 35%, var(--accent-soft))}a.ll.active{background:var(--accent);color:#fff}a.ll.ext{font-family:inherit;font-size:inherit;white-space:normal;text-underline-offset:3px;background:0 0;padding:0;text-decoration:underline}@media (pointer:coarse){a.ll:after{content:"";position:absolute;inset:-11px -4px}}.fb-toggle{color:var(--muted);opacity:.75;background:0 0;border:0;border-radius:3px;padding:6px 8px;font-size:12.5px}.fb-toggle:hover{opacity:1;background:var(--line);color:var(--ink)}.fb-short{display:none}.saved{color:var(--good)}.sheet-scrim{z-index:55;background:#06161a59;position:fixed;inset:0}.sheet{z-index:60;background:var(--surface);border-radius:3px;width:340px;padding:14px 16px 16px;position:fixed;bottom:24px;right:24px;box-shadow:0 12px 40px #00000047}.sheet-grab{display:none}.sheet-title{justify-content:space-between;align-items:center;margin-bottom:8px;font-weight:650;display:flex}.fb-opts{flex-wrap:wrap;gap:6px;display:flex}.fb-opts button{border:1px solid var(--line);background:0 0;border-radius:99px;padding:7px 14px;font-size:13.5px}.fb-opts button:hover{border-color:var(--accent)}.fb-opts button.sel{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink);font-weight:650}.sheet input{width:100%;font:inherit;border:0;border-bottom:1px solid var(--line);color:var(--ink);background:0 0;outline:none;margin-top:12px;padding:8px 0;font-size:14px}.sheet input:focus{border-color:var(--accent)}details.how{border-top:1px solid var(--line);color:var(--muted);margin-top:28px;padding-top:14px;font-size:13.5px}details.how>summary{cursor:pointer;min-height:28px;color:var(--ink);font-weight:600}.all-lines{gap:4px;margin:10px 0 0;padding:0;list-style:none;display:grid}.all-lines button{text-align:left;width:100%;min-height:40px;color:var(--ink);background:0 0;border:0;border-radius:3px;justify-content:space-between;gap:12px;padding:9px 12px;font-size:14px;display:flex}.all-lines button:hover,.all-lines button.on{background:var(--accent-soft)}.trace{gap:8px;margin:12px 0;padding:0;list-style:none;display:grid}.trace li{grid-template-columns:90px 1fr;gap:12px;display:grid}.trace .k{font:500 12px var(--mono);color:var(--accent-ink);padding-top:2px}.metagrid{font:12px var(--mono);flex-wrap:wrap;gap:6px 18px;display:flex}h3.sub{text-transform:uppercase;letter-spacing:.08em;color:var(--ink);margin:20px 0 8px;font-size:12px}.enotes ul{margin:4px 0 12px;padding-left:18px}.en-l{color:var(--ink);margin-top:8px;font-weight:650}.enotes b{font-family:var(--mono);color:var(--ink);font-weight:600}.empty{text-align:center;color:var(--muted);padding:120px 20px}@media (width<=940px){:root{--bsize:clamp(236px, min(100vw - 24px, 58vh - 188px), 520px)}.topbar{gap:8px;padding:4px 8px}.topbar .ghost{min-width:44px;min-height:44px;font-size:18px}.hide-s,.game-info{display:none}.layout{min-height:0;padding:0 0 60px;display:block}.left{top:var(--topbar);z-index:10;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:center;padding:8px 12px 6px;display:flex}.board-row{flex-direction:column;gap:6px;height:auto}.evalbar{width:var(--bsize);border-radius:99px;height:16px}.eb-fill{width:var(--w);height:auto;transition-property:width;top:0;bottom:0;right:auto}.eb-num{height:16px;padding:0 8px;font-size:11px;line-height:16px;top:0!important;bottom:auto!important}.eb-num.in-fill{text-align:left;left:0;right:auto}.eb-num.in-rest{text-align:right;left:auto;right:0}.story-wrap{width:var(--bsize);margin-top:6px}.bcap{padding:2px 4px 6px 10px}.bcap-head{gap:6px;min-height:44px}.bcap-nav button{min-width:48px;height:40px;padding:0 8px}.bcap-t{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14.5px;line-height:1.25;display:-webkit-box}.bcap-txt{align-items:center}.bcap-sub .linklike{min-height:28px}.bcap-body{margin-top:2px;font-size:14.5px;line-height:1.4}.lv-head .phase{display:none}.p-game .gl-rows{max-height:none}.fb-toggle{min-height:44px;padding:6px 8px}.turn-res{margin-bottom:2px}.moverow{width:var(--bsize);align-items:stretch;gap:4px;margin-top:6px}.mr-btn{width:44px;height:44px}.mr-scroll{position:relative;-webkit-mask-image:linear-gradient(90deg,#0000 0,#000 12px calc(100% - 12px),#0000 100%);mask-image:linear-gradient(90deg,#0000 0,#000 12px calc(100% - 12px),#0000 100%)}.mr-moves{scrollbar-width:none;flex-wrap:nowrap;align-items:center;height:44px;max-height:none;padding:0 14px;overflow:auto hidden}.mr-moves::-webkit-scrollbar{display:none}.mv-b{min-height:40px;padding:0 9px;font-size:14px}.mn{flex:none}.right{max-width:720px;margin:0 auto;padding:0 16px}.tabs{top:var(--stick);z-index:9;background:var(--bg);border-bottom:1px solid var(--line);margin:0 -16px 16px;padding:0 16px;display:flex;position:sticky}.tabs button{min-height:44px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;flex:1;margin-bottom:-1px;font-weight:600}.tabs button.on{color:var(--ink);border-color:var(--accent)}h2.sec-title{margin-top:4px}.headline{font-size:23px}.summary{font-size:16.5px}.card{padding:2px 16px}.section .body{padding-left:0}.section summary{align-items:center;min-height:44px}.all-lines button{min-height:48px}.sheet{width:auto;padding:8px 18px calc(18px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;bottom:0;left:0;right:0}.sheet-grab{background:var(--line);border-radius:4px;width:38px;height:4px;margin:0 auto 10px;display:block}.fb-opts button{min-height:44px}.sheet input{min-height:44px;font-size:16px}.sheet-title .ghost{min-width:44px;min-height:44px;font-size:22px}}@media (height<=520px) and (orientation:landscape) and (width<=940px){:root{--bsize:calc(100vh - 44px - 16px - 44px - 24px)}.topbar{min-height:44px;padding:0 8px}.topbar .ghost{min-height:40px}.layout{grid-template-columns:calc(var(--bsize) + 24px) minmax(0, 1fr);align-items:start;gap:0;padding:0 0 40px;display:grid}.left{border-bottom:0;padding:6px 12px}.left .story-wrap{display:none}.in-right{top:var(--topbar);z-index:10;background:var(--bg);width:auto;margin:0;padding:6px 12px 6px 0;display:block;position:sticky}.moverow{margin-top:4px}.mr-btn{width:40px;height:40px}.mr-moves{height:40px}.right{max-width:none;margin:0;padding:0 16px 0 4px}.tabs{margin:0 0 12px;padding:0;position:static;top:auto}.section{scroll-margin-top:140px}}.board-box{width:100%;height:100%;position:relative}.badges{pointer-events:none;position:absolute;inset:0}.badge{min-width:20px;height:20px;font:800 11px/1 var(--mono);color:#fff;background:var(--warn);z-index:3;border-radius:99px;place-items:center;padding:0 4px;display:grid;position:absolute;transform:translate(-88%,-12%);box-shadow:0 1px 4px #0006,0 0 0 1.5px #fff}.badge.inaccuracy{background:#d99a12}.badge.mistake{background:#e8742a}.badge.blunder{background:#e0453a}.badge.best{background:#1fa971;font-size:12px}.c-inaccuracy{color:var(--warn)}.c-mistake{color:var(--orange)}.c-blunder{color:var(--bad)}.c-best{color:var(--good)}.turn-both{margin-bottom:4px;font-size:13.5px;display:block}.turn-both b{font-family:var(--mono);font-weight:600}.gamelist{background:var(--surface);box-shadow:var(--shadow);border-radius:3px;padding:12px 14px 8px}.egraph{cursor:pointer;background:color-mix(in srgb, var(--bg) 70%, transparent);border-radius:3px;width:100%;height:64px;margin-bottom:8px;display:block}.eg-area{fill:color-mix(in srgb, var(--muted) 9%, transparent)}.eg-line{fill:none;stroke:var(--muted);stroke-width:1.5px}.eg-mid{stroke:var(--line);stroke-width:1px;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}.eg-mark{stroke:var(--bad);stroke-width:2px}.eg-cur{stroke:var(--ink);stroke-width:1.5px;opacity:.7}.gl-rows{max-height:330px;position:relative;overflow-y:auto}.gl-row{font:500 14px var(--mono);grid-template-columns:34px 1fr 1fr;align-items:center;display:grid}.gn{color:var(--muted);padding-left:4px;font-size:12px}.gm{text-align:left;min-height:32px;font:inherit;color:var(--ink);background:0 0;border:0;border-radius:3px;flex-wrap:wrap;align-items:baseline;gap:2px;padding:5px 8px;display:flex}.gm:hover{background:var(--line)}.gm.on{background:var(--accent);color:#fff}.gm.on .gl{color:inherit;filter:brightness(1.7)}.gm.bad{background:color-mix(in srgb, var(--bad) 10%, transparent);font-weight:700}.gm.bad.on{background:var(--accent)}.bestm{font:600 11px var(--sans);color:var(--good);margin-left:6px}.gm.on .bestm{color:inherit}.vars{border-left:2px solid var(--accent);flex-wrap:wrap;align-items:center;gap:6px;margin:2px 0 8px 34px;padding:6px 0 6px 12px;display:flex}.vars-l{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);width:100%;font-size:11px}.var{border:1px solid var(--line);background:var(--bg);color:var(--ink);text-align:left;border-radius:99px;padding:4px 11px;font-size:12.5px}.var:hover,.var.on{border-color:var(--accent);background:var(--accent-soft)}.p-game{margin-top:0}@media (prefers-color-scheme:dark){.gm.on{color:#06161a}}@media (width<=940px){.gamelist{padding:10px 10px 4px}.gl-rows{max-height:none}.gm{align-items:center;min-height:44px}.var{min-height:40px}.p-game h2.sec-title{display:none}}.turn-actions{flex-wrap:wrap;align-items:center;gap:4px 12px;display:flex}.turn-actions .maia{margin:0}@media (width>=941px){.left{max-height:calc(100vh - var(--topbar) - 28px);scrollbar-width:none;overflow-y:auto}.left::-webkit-scrollbar{display:none}}.cmp-toggle.on{color:var(--accent-ink);background:var(--accent-soft)}.layout.cmp{gap:28px;max-width:1640px}.cmpbar{color:var(--muted);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:14px;padding-bottom:12px;font-size:13px;display:flex}.cmpbar label{align-items:center;gap:6px;display:inline-flex}.cmpbar select{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:3px;max-width:170px;padding:6px 8px;font-size:13px}.cmpbar input[type=checkbox]{width:16px;height:16px;accent-color:var(--accent)}.cmpbar-r{gap:14px;margin-left:auto;display:flex}.cmp-chiprow .tags{margin-bottom:12px}.cmp-cols{touch-action:pan-y;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px;display:grid}.wcol{background:var(--surface);box-shadow:var(--shadow);border:2px solid #0000;border-radius:3px;min-width:0;padding:16px 18px 12px;transition:border-color .2s}.wcol.active{border-color:color-mix(in srgb, var(--accent) 70%, transparent)}.wcol-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.wcol-tag{font:700 12px var(--sans);text-transform:none;letter-spacing:0;color:var(--accent-ink)}.wcol-sub{font:500 11.5px var(--mono);color:var(--muted);text-align:right}.wcol-headline{letter-spacing:-.01em;margin:0 0 10px;font-size:19px;line-height:1.25}.wcol-summary{margin:0 0 8px;font-size:15px;line-height:1.6}.wsec{border-top:1px solid var(--line);padding:10px 0}.wsec summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:28px;font-size:14.5px;font-weight:650;list-style:none;display:flex}.wsec summary::-webkit-details-marker{display:none}.wsec summary:after{content:"+";color:var(--muted)}.wsec[open] summary:after{content:"−"}.wsec p{margin:6px 0 0;font-size:14.5px;line-height:1.6}.wstudy-h{font:700 11.5px var(--sans);text-transform:none;letter-spacing:0;color:var(--muted);border-top:1px solid var(--line);margin:14px 0 6px;padding-top:12px}.wstudy{gap:4px;margin:0;padding:0;list-style:none;display:grid}.wstudy li{cursor:pointer;border-radius:3px;gap:10px;padding:8px;font-size:14px;line-height:1.5;display:flex}.wstudy li:hover{background:var(--bg)}.wstudy li.on{background:var(--accent-soft)}.wstudy .ch-n{margin-top:1px}.wstudy li.on .ch-n{background:var(--accent);border-color:var(--accent);color:#fff}.missing{text-align:center;padding:30px 0}.votebar{z-index:8;background:var(--surface);box-shadow:0 6px 30px #0000002e, 0 0 0 1px var(--line);border-radius:3px;gap:8px;margin-top:18px;padding:10px 14px;display:grid;position:sticky;bottom:12px}.vote-q{font-size:14px;font-weight:650}.vote-btns{grid-template-columns:1fr auto 1fr;gap:8px;display:grid}.vote-btns button{border:1px solid var(--line);background:0 0;border-radius:3px;min-height:40px;padding:0 14px;font-weight:600}.vote-btns button:hover:not(:disabled){border-color:var(--accent)}.vote-btns button.sel{background:var(--accent);border-color:var(--accent);color:#fff}.vote-btns button:disabled{opacity:.4;cursor:default}.votebar input{width:100%;font:inherit;border:0;border-bottom:1px solid var(--line);color:var(--ink);background:0 0;outline:none;padding:6px 0;font-size:14px}.vote-note{color:var(--muted);justify-self:start;font-size:12.5px}@media (prefers-color-scheme:dark){.vote-btns button.sel,.wstudy li.on .ch-n{color:#06161a}}.results{z-index:60;background:var(--surface);border-radius:16px;width:min(560px,92vw);max-height:80vh;padding:16px 20px 20px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 20px 60px #00000059}.results-head{justify-content:space-between;align-items:center;margin-bottom:8px;font-weight:700;display:flex}.results table{border-collapse:collapse;width:100%;font-size:14px}.results th{text-align:left;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:4px 6px;font-size:11.5px}.results td{border-top:1px solid var(--line);font-variant-numeric:tabular-nums;padding:7px 6px}.results td.lead{color:var(--good);font-weight:700}.small{font-size:12px}.tabs.seg{display:none}@media (width<=940px){.layout.cmp{display:block}.tabs.seg{display:flex}.cmp-cols{display:block}.wcol.off{display:none}.cmpbar{gap:8px 10px}.cmpbar select{max-width:150px;min-height:40px}.cmpbar .linklike,.cmpbar label.blindtog{min-height:40px}.wcol{padding:14px 14px 8px}.wstudy li{min-height:44px;padding:10px 6px}.votebar{padding:8px 10px;bottom:8px}.vote-btns button{min-height:48px;padding:0 10px}.results{width:94vw}}@media (height<=520px) and (orientation:landscape) and (width<=940px){.tabs.seg{position:static}}.wstudy li,.wsec,.vote-btns{scroll-margin-top:calc(var(--stick) + 60px);scroll-margin-bottom:150px}.cmpbar .lbl{margin-right:6px}@media (width>=941px){.votebar{grid-template-columns:auto 1fr auto;align-items:center;gap:12px}.votebar input{grid-column:1/-1}}@media (width<=940px){.cmpbar{grid-template-columns:1fr 1fr;gap:8px;display:grid}.cmpbar label{display:block}.cmpbar .lbl{display:none}.cmpbar select{width:100%;max-width:none}.cmpbar label.blindtog{grid-column:1;align-items:center;display:inline-flex}.cmpbar-r{grid-column:2;justify-content:flex-end;margin-left:0}.votebar{margin:16px 0 24px;position:static}.vote-q{font-size:13px}}.vote-nav{align-items:center;gap:8px;margin-left:auto;display:flex}.vote-nav button{border:1px solid var(--line);min-width:44px;height:40px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border-radius:3px;padding:0 14px}.vote-nav button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.vote-pos{font:12px var(--mono,monospace);color:var(--muted);font-variant-numeric:tabular-nums}@media (prefers-color-scheme:dark){.vote-nav button.primary{color:#06161a}}@property --p{syntax:"<number>";inherits:true;initial-value:0}@keyframes shrink-p{0%{--p:0}to{--p:1}}.cpane{display:none}@media (width<=940px) and (orientation:portrait){:root{--hc:188px;--cbs:min(calc(50vw - 14px), calc(var(--hc) - 14px));--D:calc(var(--bsize) + 32px);--hfull:calc(var(--bsize) + 220px)}html{overflow-anchor:none}.snap-pt{pointer-events:none;width:1px;height:1px;position:absolute;left:0}.left:not([data-mode=full]) .cg-wrap coords{display:none}.left[data-settled] .board-wrap{left:10px;top:calc(var(--D) + 6px);width:var(--cbs);height:var(--cbs);transform:none}.layout{min-height:calc(100vh + var(--D));--caph:80px;--hfull:calc(var(--bsize) + 88px + var(--caph));--D:calc(var(--hfull) - var(--hc));padding-bottom:60px}.layout:has(>.left[data-cap=turn]){--caph:132px}.layout:has(>.left[data-cap=answer]){--caph:172px}.layout:has(>.left[data-cap=step]){--caph:148px}.left .bcap .maia{display:none}.left{--p:0;--sc:.5;top:calc(var(--topbar) - var(--D));height:var(--hfull);background:var(--bg);border-bottom:1px solid var(--line);z-index:10;padding:0;display:block;position:sticky;overflow:hidden}.left .board-row{display:contents}@supports (animation-timeline:scroll()){.left{animation:linear both shrink-p;animation-timeline:scroll(root);animation-range:0px var(--D)}}.left .evalbar{top:0;left:calc((100vw - var(--bsize)) / 2);width:var(--bsize);height:16px;opacity:clamp(0, calc(1 - var(--p) * 3), 1);border-radius:99px;position:absolute}.left .evalbar .eb-fill{transition:none}.left .board-wrap{top:22px;left:calc((100vw - var(--bsize)) / 2);width:var(--bsize);height:var(--bsize);transform-origin:0 0;will-change:transform;transform:translate(calc(var(--p) * (10px - (100vw - var(--bsize)) / 2)), calc(var(--p) * (var(--D) - 16px))) scale(calc(1 + var(--p) * (var(--sc) - 1)));position:absolute}.left .story-wrap,.left>.moverow{left:calc((100vw - var(--bsize)) / 2);width:var(--bsize);opacity:clamp(0, calc(1 - var(--p) * 1.6), 1);transform:translateY(calc(var(--p) * (var(--D) - 16px + var(--bsize) * (var(--sc) - 1))));will-change:transform, opacity;margin:0;transition:none;position:absolute}.left .story-wrap{top:calc(var(--bsize) + 28px);height:var(--caph);max-height:none;overflow:hidden}.left .story-wrap .bcap{flex-direction:column;height:100%;display:flex}.left .bcap-body{flex:1;min-height:0;overflow-y:auto}.left>.moverow{top:calc(var(--bsize) + 34px + var(--caph));height:48px}.left[data-mode=compact] .story-wrap,.left[data-mode=compact]>.moverow,.left[data-mode=mid] .story-wrap,.left[data-mode=mid]>.moverow{pointer-events:none}.left .cpane{left:calc(var(--cbs) + 20px);top:calc(var(--D) + 6px);width:calc(100vw - var(--cbs) - 30px);height:calc(var(--hc) - 12px);opacity:clamp(0, calc((var(--p) - .45) * 2.2), 1);flex-direction:column;gap:4px;display:flex;position:absolute}.left[data-mode=full] .cpane,.left[data-mode=mid] .cpane{pointer-events:none}.cpane .moverow{flex:1;width:auto;min-height:0;margin:0;display:block;overflow:hidden}.cpane .moverow .mr-btn{display:none}.cpane .mr-scroll{height:100%;-webkit-mask-image:none;mask-image:none}.cpane .mr-moves{flex-wrap:wrap;align-content:flex-start;height:100%;max-height:none;padding:0;font-size:12.5px;overflow:hidden auto}.cpane .mv-b{min-height:30px;padding:0 6px;font-size:13px}.cpane .mn{margin-left:3px;font-size:11px}.c-ctl{flex:none;gap:6px;display:flex}.c-ctl button{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--muted);border-radius:3px;flex:1;font-size:16px}.c-ctl button.next{background:var(--accent);border-color:var(--accent);color:#fff}.c-ctl button:disabled{opacity:.4}.c-ctl button:last-child{flex:none;width:44px}.c-label{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12.5px;font-weight:650;line-height:1.25;display:-webkit-box;overflow:hidden}.c-eval{font:600 12px var(--mono);color:var(--muted);gap:8px;margin-top:2px;display:flex}.c-eval b{color:var(--ink)}.c-seg{border:1px solid var(--line);border-radius:3px;display:flex;overflow:hidden}.c-seg button{background:0 0;border:0;flex:1;min-height:36px;font-size:14px;font-weight:700}.c-seg button.on{background:var(--accent);color:#fff}.tabs{top:calc(var(--topbar) + var(--hc))}}@media (prefers-color-scheme:dark){.c-ctl button.next,.c-seg button.on{color:#06161a}}@keyframes shape-in{0%{opacity:0}to{opacity:1}}.cg-wrap svg.cg-shapes g g{animation:.5s ease-out both shape-in}.cg-wrap svg.cg-shapes g g:nth-child(2){animation-delay:.5s}.cg-wrap svg.cg-shapes g g:nth-child(3){animation-delay:1s}.cg-wrap svg.cg-shapes g g:nth-child(n+4){animation-delay:1.5s}.badge{animation:.4s ease-out .15s both shape-in}.badge:nth-child(2){animation-delay:.65s}@media (prefers-reduced-motion:reduce){.cg-wrap svg.cg-shapes g g,.badge{animation:none}}.ana{background:var(--surface);border:1px solid var(--line);border-radius:3px;flex-direction:column;gap:6px;margin:0 0 12px;padding:10px 12px;display:flex}.ana-top{align-items:baseline;gap:10px;display:flex}.ana-eval{font:700 22px var(--mono)}.ana-depth{font:12px var(--mono);color:var(--muted);flex:1}.ana-back{background:var(--accent);color:#fff;border:0;border-radius:3px;align-self:center;min-height:44px;padding:0 14px;font-weight:650}.ana-line{font:13px/1.4 var(--mono);overflow-wrap:anywhere;min-height:1.4em}.ana-best{color:var(--good);font-weight:700}.ana-moves{align-items:center;gap:6px;display:flex}.ana-nav{border:1px solid var(--line);background:var(--surface);width:44px;min-height:44px;color:var(--ink);border-radius:3px;flex:none;font-size:16px}.ana-nav:disabled{opacity:.35}.ana-list{flex-wrap:wrap;flex:1;align-items:center;min-width:0;max-height:76px;font-size:14px;display:flex;overflow-y:auto}.ana-list .mv-b{min-height:34px;color:var(--ink);background:0 0;border:0;border-radius:3px;padding:0 6px;font-weight:600}.ana-list .mv-b.on{background:var(--accent-soft);color:var(--accent-ink)}.ana-list .mn{color:var(--muted);margin-right:3px;font-size:12px;font-weight:500}.ana-hint{color:var(--muted);padding-left:4px;font-size:13px}.ana-credit{color:var(--muted);font-size:11px}.ana-credit a{color:inherit}@media (prefers-color-scheme:dark){.ana-back{color:#06161a}}@media (width<=940px) and (orientation:portrait){.ana{z-index:30;margin:0;position:fixed;bottom:8px;left:8px;right:8px;box-shadow:0 6px 24px #00000047}.ana-list{white-space:nowrap;flex-wrap:nowrap;max-height:44px;overflow:auto hidden}.layout:has(.ana){padding-bottom:210px}}a.ghost{justify-content:center;align-items:center;gap:4px;text-decoration:none;display:inline-flex}.mono{font-family:var(--mono)}.gd-pager{align-items:center;gap:4px;margin-left:auto;display:flex}.gd-pager .ghost:disabled{opacity:.35;cursor:default}.gd-list{max-width:760px;margin:0 auto;padding:18px 16px 80px}.gd-sum{color:var(--muted);margin-bottom:10px;font-size:13px}.gd-filters{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.gd-filters button,.gd-lines button,.gd-variants button{border:1px solid var(--line);background:0 0;border-radius:99px;min-height:36px;padding:6px 14px;font-size:13.5px}.gd-filters button:hover,.gd-lines button:hover,.gd-variants button:hover{border-color:var(--accent)}.gd-filters button.on,.gd-lines button.on,.gd-variants button.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink);font-weight:650}.gd-search,.gd-edit textarea,.gd-note{width:100%;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:3px;outline:none;padding:9px 12px;font-size:15px}.gd-search:focus,.gd-edit textarea:focus,.gd-note:focus{border-color:var(--accent)}.gd-list ul{gap:8px;margin:14px 0 0;padding:0;list-style:none;display:grid}.gd-list li a{background:var(--surface);box-shadow:var(--shadow);color:inherit;border:1px solid #0000;border-radius:3px;padding:12px 14px;text-decoration:none;display:block}.gd-list li a:hover{border-color:var(--accent)}.gd-li-top{flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:13.5px;display:flex}.gd-li-head{-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-top:4px;font-size:14.5px;line-height:1.4;display:-webkit-box;overflow:hidden}.gd-li-sub{font:12px var(--mono);color:var(--muted);margin-top:4px}.gd-badges{flex-wrap:wrap;gap:6px;margin-left:auto;display:inline-flex}.gd-title .gd-badges{margin-left:4px}.gd-badge{text-transform:capitalize;white-space:nowrap;border:1px solid;border-radius:99px;padding:1px 9px;font-size:11.5px;font-weight:700}.gd-badge.st-validated,.gd-badge.rv-approve{color:var(--good)}.gd-badge.st-unvalidated{color:var(--warn)}.gd-badge.st-disputed,.gd-badge.rv-dispute{color:var(--bad)}.gd-badge.rv-edit{color:var(--accent-ink)}.gd-badge.rv-none{color:var(--muted);border-style:dashed;font-weight:600}.gd-detail{--gbs:min(520px, calc(100vh - 150px));grid-template-columns:calc(var(--gbs) + 4px) minmax(0, 1fr);align-items:start;gap:44px;max-width:1240px;margin:0 auto;padding:18px 24px 80px;display:grid}.gd-left{top:calc(var(--topbar) + 14px);position:sticky}.gd-board{width:var(--gbs);height:var(--gbs);box-shadow:var(--shadow);touch-action:none;border-radius:3px;overflow:hidden}.gd-left .moverow{width:var(--gbs)}.gd-lines{width:var(--gbs);flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.gd-hint{color:var(--muted);width:var(--gbs);margin-top:10px;font-size:12.5px}.gd-warn{color:var(--bad);margin-top:4px;font-weight:650}.gd-nopos{color:var(--muted);text-align:center;background:var(--surface);border-radius:3px;padding:40px 16px}.gd-right{min-width:0;max-width:720px}.gd-title{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:10px;display:flex}.gd-headline{letter-spacing:-.01em;text-wrap:balance;margin:0 0 8px;font-size:clamp(21px,2.2vw,27px);font-weight:700;line-height:1.28}.gd-framing{color:var(--muted);margin:0 0 6px;font-size:14.5px}.gd-right h2.sec-title{margin-top:28px}.gd-pts{gap:8px;margin:0;padding-left:22px;font-size:15.5px;line-height:1.5;display:grid}.gd-pts.no li::marker{color:var(--bad);content:"✗ "}.gd-ev ul{font:12.5px/1.5 var(--mono);gap:6px;margin:8px 0 0;padding-left:18px;display:grid}.gd-ev blockquote{border-left:3px solid var(--accent);color:var(--ink);white-space:pre-wrap;margin:10px 0;padding:4px 0 4px 14px;font-size:14.5px}.gd-src{color:var(--muted);flex-wrap:wrap;gap:4px 14px;margin-top:10px;font-size:12.5px;display:flex}.gd-src a{color:var(--accent)}.gd-review{background:var(--surface);box-shadow:var(--shadow);border-radius:3px;gap:10px;padding:14px;display:grid}.gd-edit{gap:10px;display:grid}.gd-edit label{gap:4px;font-size:13px;font-weight:650;display:grid}.gd-edit textarea{resize:vertical;font-weight:400;line-height:1.45}.gd-note{resize:vertical}.gd-actions{flex-wrap:wrap;gap:8px;display:flex}.gd-actions button{border:1px solid var(--line);background:0 0;border-radius:3px;min-height:44px;padding:8px 16px;font-weight:650}.gd-actions button:hover:not(:disabled){border-color:var(--accent)}.gd-actions button:disabled{opacity:.5;cursor:default}.gd-actions .approve{color:var(--good)}.gd-actions .approve:hover:not(:disabled){border-color:var(--good);background:color-mix(in srgb, var(--good) 12%, transparent)}.gd-actions .dispute{color:var(--bad)}.gd-actions .dispute:hover:not(:disabled){border-color:var(--bad);background:color-mix(in srgb, var(--bad) 12%, transparent)}.gd-actions .primary{background:var(--accent);border-color:var(--accent);color:#fff}.gd-next{color:var(--muted);margin-left:auto}.gd-msg{color:var(--good);font-size:13.5px;font-weight:650}.gd-hist{gap:8px;margin:4px 0 0;padding:0;font-size:13.5px;list-style:none;display:grid}.gd-hist li{border-top:1px solid var(--line);padding-top:8px}.gd-edit-view{color:var(--muted);margin-top:3px}.gd-edit-view b{color:var(--ink)}.gd-variants{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.gd-lesson{padding:14px 18px}.gd-l-head{margin:0 0 8px;font-size:18px;line-height:1.3}.gd-l-sum{margin:8px 0 4px;font-size:15.5px}.gd-lesson .section{padding:10px 0}.gd-lesson .section summary{font-size:15px}.gd-judge{gap:8px;margin-top:12px;display:grid}.gd-score{color:var(--muted);font-size:13.5px}.gd-score b{color:var(--ink)}.gd-j{align-items:flex-start;gap:10px;font-size:14px;line-height:1.45;display:flex}.gd-j i{color:#fff;background:var(--muted);border-radius:50%;flex:none;place-items:center;width:22px;height:22px;margin-top:1px;font-size:12px;font-style:normal;font-weight:800;display:grid}.gd-j.ok i{background:var(--good)}.gd-j.bad i{background:var(--bad)}.gd-j span em{color:var(--muted);margin-top:1px;font-size:13px;font-style:normal;display:block}.gd-j.bad>span,.gd-j.ok>span{overflow-wrap:anywhere}.gd-lesson>.gd-j{margin-bottom:6px}@media (prefers-color-scheme:dark){.gd-actions .primary,.gd-j i{color:#06161a}}@media (width<=940px){.gd-detail{--gbs:clamp(236px, min(100vw - 24px, 46vh - 20px), 520px);padding:0 0 60px;display:block}.gd-left{top:var(--topbar);z-index:10;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:center;padding:8px 12px;display:flex}.gd-hint{margin-top:6px}.gd-hint .gd-warn{margin-top:2px}.gd-lines{scrollbar-width:none;flex-wrap:nowrap;margin-top:8px;overflow-x:auto}.gd-lines::-webkit-scrollbar{display:none}.gd-lines button{flex:none;min-height:40px}.gd-right{margin:0 auto;padding:14px 16px 0}.gd-pts li{padding:2px 0}.gd-note,.gd-edit textarea,.gd-search{font-size:16px}.gd-list li a{padding:12px}.gd-filters button,.gd-variants button{min-height:40px}}.cg-wrap square.selected{background-color:var(--dest)}.cg-wrap square.move-dest{background:radial-gradient(var(--dest) 19%, #0000 20%);cursor:pointer}.cg-wrap square.move-dest:hover{background:var(--accent-soft)}.cg-wrap square.move-dest.oc{background:radial-gradient(transparent 0%, transparent 79%, var(--dest) 80%)}.cg-wrap square.move-dest.oc:hover{background:var(--accent-soft)}.cg-wrap square.check{background:radial-gradient(red 0%,#e70000 25%,#a9000000 89%,#9e000000 100%)}.rd{max-width:1100px;margin:0 auto;padding:18px 16px 80px}.rd-dry{color:var(--muted);margin-left:auto;font-size:12.5px}.rd-input textarea,.rd-comment{width:100%;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);resize:vertical;border-radius:3px;outline:none;padding:9px 12px;font-size:15px}.rd-input textarea:focus,.rd-comment:focus{border-color:var(--accent)}.rd-row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.rd-row button:not(.ghost){border:1px solid var(--line);background:var(--surface);border-radius:3px;min-height:36px;padding:6px 14px;font-size:14px}.rd-row button:hover:not(:disabled){border-color:var(--accent)}.rd-row button.primary{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:650}.rd-row button:disabled{opacity:.5}.rd-status{color:var(--muted);align-items:center;gap:8px;font-size:13.5px;display:inline-flex}.rd-fail{color:var(--bad);overflow-wrap:anywhere;margin-top:6px;font-size:13.5px}.rd-skip{color:var(--warn);font-size:14px}.rd-filters{align-items:center;margin-top:18px}.rd-tally{color:var(--muted);margin-left:auto;font-size:13px}.rd-empty{color:var(--muted)}.rd-card{background:var(--surface);box-shadow:var(--shadow);border-left:3px solid #0000;border-radius:3px;margin-top:12px;padding:14px 16px}.rd-card.rated-good{border-left-color:var(--good)}.rd-card.rated-ok{border-left-color:var(--warn)}.rd-card.rated-bad{border-left-color:var(--bad)}.rd-head{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.rd-title{color:var(--ink);overflow-wrap:anywhere;font-weight:650;text-decoration:none}.rd-title:hover{color:var(--accent)}.rd-meta{color:var(--muted);overflow-wrap:anywhere;font-size:12.5px}.rd-body{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:16px;margin-top:10px;display:grid}.rd-boards{flex-wrap:wrap;gap:8px;display:flex}.rd-img{object-fit:contain;background:var(--bg);border-radius:3px;width:200px;height:200px;display:block}.rd-board{border-radius:3px;width:200px;height:200px;overflow:hidden}.rd-fig{margin:0}.rd-eval{flex-direction:column;gap:8px;margin-top:8px;display:flex}.rd-eval textarea{box-sizing:border-box;width:100%;font:inherit;border:1px solid var(--line);background:var(--bg);color:var(--ink);resize:vertical;border-radius:3px;padding:8px 10px}.rd-fig figcaption{color:var(--muted);text-align:center;margin-top:4px;font-size:12px}.rd-badges{margin:0 0 8px}.gd-badge.conf-high,.gd-badge.r-good{color:var(--good)}.gd-badge.conf-medium,.gd-badge.r-ok{color:var(--warn)}.gd-badge.conf-low,.gd-badge.r-bad{color:var(--bad)}.rd-spacer{flex:1}.rd-rate.on.rd-good{background:var(--good);border-color:var(--good);color:#fff}.rd-rate.on.rd-ok{background:var(--warn);border-color:var(--warn);color:#fff}.rd-rate.on.rd-bad{background:var(--bad);border-color:var(--bad);color:#fff}.rd-note{margin-top:8px;font-size:14px}.rd-more{margin-top:6px;font-size:13px}.rd-details{margin-top:6px;font-size:13.5px}.rd-details h4{margin:10px 0 2px;font-size:13px}.rd-details ul{margin:0;padding-left:18px}.rd-self{white-space:pre-wrap;color:var(--muted)}@media (width<=760px){.rd-body{grid-template-columns:minmax(0,1fr)}.rd-dry{display:none}.rd-boards{justify-content:center}.rd-img,.rd-board{width:min(44vw,200px);height:min(44vw,200px)}}.rd-badges .gd-badge{text-transform:none}.rd-asking{color:var(--muted);align-items:center;gap:8px;margin:6px 0 0;font-size:13.5px;display:flex}.rd-more{margin-top:0}.rd-feed{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:inline-flex}.rd-modes{margin-bottom:8px}.rd-shot{gap:8px;display:grid}.rd-shot textarea{width:100%;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);resize:vertical;border-radius:3px;outline:none;padding:9px 12px;font-size:15px}.rd-shot .rd-row{margin-top:0}.rd-file{border:1px dashed var(--line);cursor:pointer;border-radius:3px;align-items:center;min-height:36px;padding:6px 14px;font-size:14px;display:inline-flex;position:relative}.rd-file:hover{border-color:var(--accent)}.rd-file input{opacity:0;cursor:pointer;position:absolute;inset:0}.rd-or{color:var(--muted);font-size:13px}.rd-imgurl{flex:1;min-width:180px}.rd-preview{border-radius:3px;max-width:200px;max-height:200px}.rd-pgn{color:var(--muted);overflow-wrap:anywhere;margin:0 0 8px;font-size:13px}a.brand{color:var(--accent-ink);text-decoration:none}.bar-r{align-items:center;gap:6px;min-width:0;margin-left:auto;display:flex}.user-chip{text-overflow:ellipsis;white-space:nowrap;max-width:40vw;font-size:14px;display:inline-block;overflow:hidden}.topbar .back-link{padding-left:4px}.sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.notice h2{margin:0 0 6px;font-size:20px}@media (width<=940px){.topbar .user-chip{min-width:0;font-size:14px}.game-info{display:none}}.spin{border:2px solid var(--line);border-top-color:var(--accent);vertical-align:-3px;border-radius:50%;flex:none;width:16px;height:16px;animation:.8s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spin{animation-duration:2.4s}}.go{background:var(--accent);color:#fff;border:0;border-radius:3px;min-height:48px;padding:0 22px;font-weight:650}.go:hover:not(:disabled){filter:brightness(1.08)}.go:disabled{opacity:.45;cursor:default}@media (prefers-color-scheme:dark){.go,.explain:not(.ready),.coach .send{color:#06161a}}.btn-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}a.ghost{color:var(--muted)}.page{max-width:880px;min-height:calc(100vh - 53px);margin:0 auto;padding:28px 24px 80px}.page-head h1{letter-spacing:-.015em;overflow-wrap:anywhere;margin:0 0 4px;font-size:clamp(24px,3vw,32px);line-height:1.2}.page-head p{margin:0 0 20px}.notice{background:var(--surface);box-shadow:var(--shadow);border-radius:3px;max-width:520px;margin:24px auto;padding:22px 24px}.notice p{overflow-wrap:anywhere;margin:0 0 12px}.pad{margin:0;padding:18px 20px}.home{text-align:center;max-width:640px;margin:0 auto;padding:72px 24px 80px}.home h1{letter-spacing:-.025em;text-wrap:balance;margin:0 0 14px;font-size:clamp(32px,6vw,48px);line-height:1.1}.lede{color:var(--muted);text-wrap:balance;max-width:520px;margin:0 auto 30px;font-size:18px;line-height:1.55}.home-form{gap:8px;max-width:460px;margin:0 auto;display:flex}.home-form input{min-width:0;font:inherit;border:1px solid var(--line);background:var(--surface);height:52px;color:var(--ink);box-shadow:var(--shadow);border-radius:3px;outline:none;flex:1;padding:0 16px;font-size:17px}.home-form input:focus{border-color:var(--accent)}.home-form .go{height:52px;font-size:16px}.home-form.compact{max-width:none;margin:12px 0 0}.home-form.compact input,.home-form.compact .go{height:46px}.home-note{color:var(--muted);margin:12px 0 0;font-size:13px}.how-steps{counter-reset:s;text-align:left;gap:14px;margin:56px 0 0;padding:0;list-style:none;display:grid}.how-steps li{counter-increment:s;grid-template-columns:34px 1fr;align-items:start;column-gap:12px;display:grid}.how-steps li:before{content:counter(s);background:var(--accent-soft);width:28px;height:28px;color:var(--accent-ink);font:700 13px/28px var(--mono);text-align:center;border-radius:50%;grid-row:span 2}.how-steps b{font-weight:650}.how-steps span{color:var(--muted);font-size:15px;line-height:1.45}.filters{flex-wrap:wrap;gap:8px 16px;margin:0 0 14px;display:flex}.seg-f{flex-wrap:wrap;gap:6px;display:flex}.seg-f button{border:1px solid var(--line);min-height:34px;color:var(--muted);background:0 0;border-radius:3px;padding:5px 13px;font-size:13.5px}.seg-f button:hover{border-color:var(--accent);color:var(--ink)}.seg-f button.on{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink);font-weight:650}.glist{background:var(--line);border-block:1px solid var(--line);gap:1px;display:grid}.grow{background:var(--surface);box-shadow:var(--shadow);color:inherit;border:1px solid #0000;border-radius:3px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 16px;text-decoration:none;display:grid}a.grow:hover{border-color:var(--accent)}.res{width:40px;height:40px;font:800 16px var(--mono);background:var(--line);color:var(--muted);border-radius:3px;flex:none;place-items:center;display:grid}.res.win{background:color-mix(in srgb, var(--good) 16%, transparent);color:var(--good)}.res.loss{background:color-mix(in srgb, var(--bad) 14%, transparent);color:var(--bad)}.g-main{gap:1px;min-width:0;display:grid}.g-opp{align-items:center;gap:7px;min-width:0;font-weight:650;display:flex}.g-opp .nm{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.g-opp .title{font:700 11px var(--mono);color:var(--warn);background:color-mix(in srgb, var(--warn) 14%, transparent);border-radius:5px;padding:1px 5px}.rt{color:var(--muted);font-size:.92em;font-weight:500}.chip-c{width:11px;height:11px;box-shadow:0 0 0 1.5px var(--muted);border-radius:50%;flex:none}.chip-c.white{background:#f7f5ef}.chip-c.black{background:#1b2a30}.g-open{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.g-meta{color:var(--muted);flex-wrap:wrap;gap:0 12px;font-size:12.5px;display:flex}.g-meta .speed{font-weight:650}.g-badges{align-items:center;gap:10px;display:flex}.gb{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:99px;padding:2px 10px;font-size:12px;font-weight:600}.gb.inst{background:var(--accent-soft);color:var(--accent-ink);border-color:#0000}.gb.ready{background:color-mix(in srgb, var(--good) 14%, transparent);color:var(--good);border-color:#0000}.g-go{color:var(--muted);font-size:22px;line-height:1}a.grow:hover .g-go{color:var(--accent)}.grow.sk{pointer-events:none}.sk .res{background:var(--line)}.sk-l{background:var(--line);border-radius:6px;height:12px;margin:5px 0;animation:1.2s ease-in-out infinite pulse;display:block}.sk-l.w60{width:60%}.sk-l.w40{width:40%}.sk-l.w30{width:30%}@keyframes pulse{50%{opacity:.45}}@media (width<=600px){.page{padding:20px 16px 60px}.grow{grid-template-columns:auto minmax(0,1fr);gap:4px 12px;padding:12px}.g-badges{grid-column:2}.g-go{display:none}.seg-f button{min-height:40px}.home{padding:40px 16px 60px}}.gprog{grid-template-columns:min(340px,40%) 1fr;align-items:center;gap:36px;max-width:780px;margin:30px auto 0;display:grid}.gprog-board{aspect-ratio:1;width:100%;box-shadow:var(--shadow);border-radius:3px;overflow:hidden}.gprog-text h2{letter-spacing:-.01em;margin:0 0 12px;font-size:22px}.bar{background:var(--line);border-radius:99px;height:10px;margin:0 0 14px;overflow:hidden}.bar i{background:var(--accent);border-radius:99px;height:100%;transition:width .2s linear;display:block}@media (width<=700px){.gprog{grid-template-columns:1fr;gap:20px;margin-top:8px}.gprog-board{justify-self:center;width:min(100%,340px)}}.gv{--bsize:clamp(300px, calc(100vh - 150px), 580px);grid-template-columns:calc(var(--bsize) + 38px) minmax(0, 1fr);align-items:start;gap:40px;max-width:1240px;margin:0 auto;padding:18px 24px 80px;display:grid}.gv-left{top:calc(var(--topbar) + 14px);position:sticky}.gv-ctl{width:var(--bsize);align-items:center;gap:6px;margin:12px 0 0 38px;display:flex}.gv-ctl button{border:1px solid var(--line);background:var(--surface);min-width:40px;height:38px;color:var(--muted);border-radius:3px;font-size:14px}.gv-ctl button:hover:not(:disabled){border-color:var(--accent);color:var(--ink)}.gv-ctl button.next:not(:disabled){background:var(--accent);border-color:var(--accent);color:#fff}.gv-ctl button:disabled{opacity:.35;cursor:default}.gv-pos{text-align:center;font:600 13px var(--mono);color:var(--muted);flex:1}@media (prefers-color-scheme:dark){.gv-ctl button.next:not(:disabled){color:#06161a}}.gv-right{min-width:0;max-width:720px}.gv-head{align-items:center;gap:14px;margin-bottom:16px;display:flex}.gv-head h1{letter-spacing:-.01em;overflow-wrap:anywhere;margin:0;font-size:19px;line-height:1.3}.gv-head p{margin:2px 0 0;font-size:13.5px}.gv-head a,.gv-foot a{color:var(--accent)}.gv-right h2.sec-title{margin-top:26px}.count-pill{background:var(--line);color:var(--ink);letter-spacing:0;border-radius:99px;margin-left:4px;padding:0 8px;font-size:12px}.gv-hint{margin:-4px 0 10px;font-size:14px}.gv-foot{margin-top:10px}.ggraph{background:color-mix(in srgb, var(--surface) 80%, transparent);height:80px;box-shadow:var(--shadow);border-radius:3px;position:relative}.ggraph svg{cursor:pointer;border-radius:3px;width:100%;height:100%;display:block}.gg-l{color:var(--muted);pointer-events:none;opacity:.8;font-size:10.5px;position:absolute;left:8px}.gg-l.top{top:4px}.gg-l.bot{bottom:4px}.gdot{border:2px solid var(--surface);background:var(--warn);border-radius:50%;width:11px;height:11px;padding:0;position:absolute;transform:translate(-50%,-50%);box-shadow:0 1px 3px #00000059}.gdot.mistake{background:var(--orange)}.gdot.blunder{background:var(--bad)}.gdot.big{width:15px;height:15px}.gdot.on{outline:2px solid var(--ink);outline-offset:1px}.gdot:after{content:"";position:absolute;inset:-12px}.mlist{border-top:1px solid var(--line);gap:0;margin:0;padding:0;list-style:none;display:grid}.mc{border-bottom:1px solid var(--line);background:0 0;border-left:3px solid #0000;border-radius:0;align-items:center;display:flex}.mc.on{border-left-color:var(--accent);background:var(--surface)}.mc.minor{box-shadow:none}.mc-main{text-align:left;background:0 0;border:0;border-radius:3px;flex:1;align-items:center;gap:12px;min-width:0;min-height:56px;padding:9px 10px;display:flex}.mc-glyph{width:30px;height:30px;font:800 13px var(--mono);color:#fff;background:var(--warn);border-radius:50%;flex:none;place-items:center;display:grid}.mc-glyph.mistake{background:var(--orange)}.mc-glyph.blunder{background:var(--bad)}@media (prefers-color-scheme:dark){.mc-glyph{color:#10161d}}.mc-txt{gap:1px;min-width:0;display:grid}.mc-move{flex-wrap:wrap;align-items:baseline;gap:0 10px;display:flex}.mc-move b{font:700 15px var(--mono)}.mc-cls{color:var(--muted);font-size:12.5px}.mc-sub{color:var(--muted);font-size:13px}.mc-sub b{font-variant-numeric:tabular-nums;color:var(--ink)}.mc-sub b.loss{color:var(--bad)}.mc-sub b.best{color:var(--good);font-family:var(--mono)}.explain{min-height:36px;color:var(--accent-ink);white-space:nowrap;background:0 0;border-radius:3px;flex:none;justify-content:center;align-items:center;margin-right:12px;padding:0 12px;font-weight:650;text-decoration:none;display:inline-flex}.explain:hover{filter:brightness(1.08)}.explain.ready{background:var(--accent-soft);color:var(--accent-ink)}.minor-l{color:var(--muted);margin-right:14px;font-size:12px}.gv-moves{padding-bottom:8px}@media (width<=940px){.gv{--bsize:clamp(236px, min(100vw - 32px, 37vh), 440px);padding:0 0 60px;display:block}.gv-left{top:calc(var(--topbar) - 1px);z-index:8;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:center;padding:8px 16px;display:flex}.gv-ctl{margin-left:0}.gv-ctl button{min-width:48px;height:44px}.gv-right{margin:0 auto;padding:14px 16px 0}.gv-head h1{font-size:17px}}@media (width<=600px){.mc{flex-wrap:wrap}.explain{flex:1 0 100%;margin:0 12px 12px}.minor-l{display:none}}.lload{grid-template-columns:min(380px,42%) minmax(0,1fr);align-items:start;gap:44px;max-width:980px;margin:8px auto 0;display:grid}.ll-board{top:calc(var(--topbar) + 20px);position:sticky}.ll-cap{min-height:2.9em;color:var(--muted);text-align:center;margin-top:10px;font-size:13.5px;line-height:1.4}.ll-head h1{letter-spacing:-.015em;margin:0 0 4px;font-size:clamp(24px,3vw,30px);line-height:1.2}.ll-head p{margin:0 0 18px}.timer{font:600 13px var(--mono);color:var(--ink);font-variant-numeric:tabular-nums;margin-left:6px}.stages{gap:4px;margin:0;padding:0;list-style:none;display:grid}.stages li{color:var(--muted);align-items:flex-start;gap:12px;padding:7px 0;display:flex}.stages li.now,.stages li.done{color:var(--ink)}.st-ic{border:2px solid var(--line);border-radius:50%;flex:none;place-items:center;width:24px;height:24px;margin-top:1px;font-size:13px;font-weight:800;display:grid}.stages li.done .st-ic{background:var(--accent);border-color:var(--accent);color:#fff}.stages li.now .st-ic{border-color:#0000}@media (prefers-color-scheme:dark){.stages li.done .st-ic{color:#06161a}}.st-t{gap:1px;min-width:0;display:grid}.st-t b{font-weight:600}.stages li.done .st-t b{color:var(--muted);font-weight:500}.st-d{color:var(--muted);overflow-wrap:anywhere;font-size:13.5px;animation:.3s ease-out fact-in}.facts{gap:10px;margin-top:18px;display:grid}.facts h2.sec-title{margin:0 0 2px}.fact{background:var(--surface);box-shadow:var(--shadow);border-left:3px solid var(--accent);border-radius:3px;padding:11px 16px 12px;animation:.45s ease-out fact-in}.fact.human{border-left-color:var(--orange)}.fact.habit{border-left-color:var(--bad)}.fact.story{border-left-color:var(--good)}.fact p{margin:2px 0 0;font-size:15.5px;line-height:1.55}.fk{font:700 10.5px var(--sans);text-transform:none;letter-spacing:0;color:var(--muted)}@keyframes fact-in{0%{opacity:0;transform:translateY(-8px)}}@media (prefers-reduced-motion:reduce){.fact,.st-d{animation:none}}.notice.in{box-shadow:var(--shadow);max-width:none;margin:0}@media (width<=760px){.lload{grid-template-columns:1fr;gap:18px;margin-top:0}.ll-board{justify-self:center;width:min(100%,250px);position:static}.stages{display:none}.stepper{grid-template-columns:repeat(5,1fr);gap:5px;display:grid}.stepper b,.stepper em{grid-column:1/-1}.ll-cap{min-height:2.8em}}.ask-cta{border:1px solid var(--accent);background:var(--accent-soft);width:100%;min-height:48px;color:var(--accent-ink);border-radius:3px;margin-top:18px;font-weight:650}.ask-cta:hover{background:color-mix(in srgb, var(--accent) 22%, var(--accent-soft))}.coach-intro{color:var(--muted);margin:0 0 12px;font-size:15px}.coach-msgs{gap:10px;display:grid}.cm{border-radius:3px;max-width:min(94%,640px);padding:10px 14px;font-size:15.5px;line-height:1.55}.cm.user{background:var(--accent);color:#fff;overflow-wrap:anywhere;white-space:pre-wrap;border-bottom-right-radius:4px;justify-self:end}@media (prefers-color-scheme:dark){.cm.user{color:#06161a}}.cm.assistant{background:var(--surface);box-shadow:var(--shadow);border-bottom-left-radius:4px;justify-self:start}.cm.failed{background:color-mix(in srgb, var(--bad) 10%, var(--surface))}.cm-body p{margin:0 0 8px}.cm-body p:last-child{margin-bottom:0}.cm-steps{color:var(--muted);margin-bottom:6px;font-size:12.5px}.cm-steps summary{cursor:pointer;min-height:24px}.cm-steps ul{font-family:var(--mono);margin:4px 0 0;padding-left:18px}.cm.assistant.thinking{width:min(100%,560px)}.cm-live{color:var(--muted);gap:4px;margin:0;padding:0;font-size:13.5px;list-style:none;display:grid}.cm-live li{align-items:center;gap:8px;display:flex}.cm-live li.now{color:var(--ink);font-weight:550}.cm-live li.grp{margin-top:6px}.cm-live li.say{color:var(--ink);margin-top:6px;font-size:14px;font-weight:400;line-height:1.45;display:block}.cm-live li.say:first-child{margin-top:0}.cm-steps li.st-say{font-family:var(--sans);color:var(--ink);margin:6px 0 2px -18px;font-size:13.5px;line-height:1.45;list-style:none;display:block}.cm-look{color:var(--muted);align-items:center;gap:12px;margin-top:10px;font-size:12.5px;display:flex}.cm-look span{justify-items:start;gap:2px;display:grid}.cm-look-b{aspect-ratio:1;width:104px;box-shadow:var(--shadow);pointer-events:none;border-radius:3px;flex:none;overflow:hidden}.st-pos{font:inherit;text-align:left;color:inherit}.cm-opener{color:var(--muted);margin-bottom:8px;font-style:italic}.cm-steps li{gap:2px;display:grid}.cm-steps .st-out{color:var(--muted);font-size:12.5px}.cb-glance{color:var(--muted);align-items:center;gap:8px;font-size:12.5px;display:flex}.cg-bar{background:color-mix(in srgb, var(--ink) 18%, transparent);border-radius:99px;flex:1;height:6px;overflow:hidden}.cg-fill{background:var(--good);height:100%;transition:width .4s}.cm-live .ck{color:var(--good);text-align:center;width:16px;font-style:normal}.coach-in{z-index:7;background:var(--bg);padding:10px 0 calc(10px + env(safe-area-inset-bottom));margin-top:8px;position:sticky;bottom:0}.chips{flex-wrap:wrap;gap:6px;margin:10px 0 0;display:flex}.chip{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink);border-radius:3px;padding:6px 12px;font-size:13.5px}.chip:hover:not(:disabled){border-color:var(--accent)}.chip:disabled{opacity:.5}.coach-ctx{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0 2px 6px;font-size:12px;overflow:hidden}.coach-row{align-items:flex-end;gap:8px;display:flex}.coach-level{flex-wrap:wrap;align-items:center;gap:4px;margin-top:6px;display:flex}.coach-level button{font:inherit;border:1px solid var(--line);color:var(--muted,var(--ink));cursor:pointer;background:0 0;border-radius:999px;padding:3px 10px;font-size:12.5px}.coach-level button.on{border-color:var(--accent);color:var(--accent);font-weight:650}.coach-level button:disabled{opacity:.5;cursor:default}.coach-level select{font:inherit;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:3px;max-width:46%;margin-left:auto;padding:2px 4px;font-size:12px}.coach-row textarea{min-width:0;font:inherit;border:1px solid var(--line);background:var(--surface);min-height:46px;max-height:160px;color:var(--ink);resize:none;box-sizing:border-box;border-radius:3px;outline:none;flex:1;padding:11px 14px;font-size:16px;line-height:1.4}.coach-row textarea:focus{border-color:var(--accent)}.coach-row .send{min-height:46px}.coach .send{background:var(--accent);color:#fff;border:0;border-radius:3px;min-height:46px;padding:0 20px;font-weight:650}.coach .send:disabled{opacity:.45;cursor:default}@media (width<=940px){.tabs button{white-space:nowrap;flex:auto;padding:0 4px;font-size:14px}.cm{max-width:100%}.chip{min-height:40px}}.coach-end{height:1px;scroll-margin-bottom:200px}.chip{text-align:left}.coach-clear{font-size:inherit;margin-left:10px}.stepper span{background:var(--line);border-radius:99px;height:5px}.stepper span.done{background:var(--accent)}.stepper span.now{background:linear-gradient(90deg, var(--accent), var(--line));background-size:200% 100%;animation:1.4s linear infinite sweep}.stepper b{margin-top:6px;font-weight:650}.stepper em{color:var(--muted);font-size:13.5px;font-style:normal}@keyframes sweep{0%{background-position:100% 0}to{background-position:-100% 0}}@media (width>=761px){.stepper{display:none}}.slow-note{align-items:center;gap:8px;margin:0 0 4px;font-size:14px;display:flex}.mc-prep{color:var(--muted);align-items:center;gap:5px;font-size:12.5px;display:inline-flex}.mc-prep .spin{vertical-align:0;border-width:1.5px;width:11px;height:11px}.mc-prep.ok{color:var(--good)}.cprog{margin:6px 0 18px}.cpr-head{align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.cp-board{aspect-ratio:1;width:92px;box-shadow:var(--shadow);opacity:.9;pointer-events:none;border-radius:3px;flex:none;overflow:hidden}.cp-board cg-board{cursor:default}.cp-title{letter-spacing:-.01em;margin:0 0 4px;font-size:clamp(20px,2.4vw,24px);line-height:1.2}.cp-sub,.cp-hint{margin:0 0 4px;font-size:14px}.cprog .stages{margin-bottom:4px}.p-lesson.arrived .headline,.p-lesson.arrived .summary,.cm-intro.arrived{animation:.5s ease-out fact-in}.cm.cm-intro{max-width:100%}.cm-intro p{margin:0 0 8px}.cm-intro p:last-child{margin-bottom:0}.cm-intro .cm-headline{font-size:17px;font-weight:700;line-height:1.4}.cm-intro .cm-more{font-size:14px}@media (width<=760px){.cp-board{width:64px}}.explain.slip,.explain.slip:not(.ready){color:var(--muted);border:1px solid var(--line);background:0 0;padding:0 14px;font-weight:600}.explain.slip:hover{color:var(--ink);border-color:var(--accent);filter:none}@media (width<=760px){.explain.slip{flex:none;min-height:36px;margin:0 12px 12px auto}}.more-row{flex-direction:column;align-items:center;gap:8px;margin:18px 0 8px;display:flex}.more-btn{border:1px solid var(--line);border-radius:3px;align-items:center;gap:8px;min-height:44px;padding:0 22px;display:inline-flex}.note-fab{z-index:40;border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--muted);box-shadow:var(--shadow);border-radius:3px;padding:0 16px;font-weight:600;position:fixed;bottom:16px;right:16px}.note-fab:hover{color:var(--ink);border-color:var(--accent)}.note-sheet{z-index:61}.note-sheet textarea{box-sizing:border-box;resize:vertical;border:1px solid var(--line);background:var(--bg);width:100%;min-height:96px;color:var(--ink);font:inherit;border-radius:3px;margin-top:10px;padding:10px 12px}.note-sheet textarea:focus{border-color:var(--accent);outline:none}.note-kinds{gap:8px;margin:4px 0 10px;display:flex}.note-kinds button{border:1px solid var(--line);min-height:34px;color:var(--muted);background:0 0;border-radius:99px;padding:0 12px}.note-kinds button.sel{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-ink);font-weight:650}.note-row{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.note-hint{color:var(--muted);font-size:13px}.note-row .primary{background:var(--accent);color:#fff;border:0;border-radius:3px;min-height:40px;padding:0 20px;font-weight:650}.note-row .primary:disabled{opacity:.5}.cm-flag{float:right;color:var(--muted);opacity:.45;cursor:pointer;background:0 0;border:0;margin:2px 0 0 8px;font-size:14px}.cm-flag:hover{opacity:1;color:var(--accent)}@media (width<=640px){.note-fab{min-height:36px;padding:0 12px;font-size:13px;bottom:12px;right:12px}}@media (width>=941px){#root:has(>.note-fab) .topbar{padding-right:132px}.note-fab{top:calc((var(--topbar) - 36px) / 2);min-height:36px;box-shadow:none;bottom:auto}}.note-sheet{width:min(440px,100vw - 32px)}body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}@media (width>=941px){.topbar{padding-top:calc(10px + env(safe-area-inset-top))}}@media (width<=940px){.topbar{padding-top:calc(4px + env(safe-area-inset-top))}#root:has(>.note-fab) .topbar{padding-right:104px}.note-fab{top:calc((var(--topbar) + env(safe-area-inset-top) - 45px) / 2);bottom:auto;right:calc(4px + env(safe-area-inset-right));min-height:44px;box-shadow:none;color:var(--muted);background:0 0;border:0;border-radius:3px;padding:0 12px;font-size:15px;font-weight:600}.note-fab:active{background:var(--line);color:var(--ink)}.page,.home,.gv,.layout{padding-bottom:calc(60px + env(safe-area-inset-bottom))}.gv-tip{display:none}.sheet{bottom:var(--kb,0px);max-height:calc(100dvh - var(--kb,0px) - 12px);overflow-y:auto}html.typing .sheet{padding-bottom:12px}.note-kinds button{min-height:44px;padding:0 16px}.note-row .primary{min-height:44px;padding:0 24px}.note-sheet textarea{font-size:16px}.coach-in{bottom:var(--kb,0px)}html.typing .coach .chips,html.typing .coach-ctx{display:none}html.typing .coach-in{padding-bottom:8px}.cm-flag{opacity:.6;min-width:44px;min-height:40px;margin:-6px -12px -10px 4px;font-size:16px}.cm-steps summary{align-items:center;gap:6px;min-height:36px;display:flex}.cm-steps summary:before{content:"▸"}.cm-steps[open] summary:before{content:"▾"}.cm-steps summary::-webkit-details-marker{display:none}.cm-steps summary{list-style:none}a.ll{white-space:normal;-webkit-box-decoration-break:clone;box-decoration-break:clone}}@media (height<=520px) and (orientation:landscape) and (width<=940px){.topbar{padding-top:env(safe-area-inset-top)}}@media (width<=940px) and (orientation:portrait){.ana{bottom:calc(8px + var(--kb,0px) + env(safe-area-inset-bottom))}}@media (pointer:coarse){.gv-foot,.kbd-hint{display:none}}@media (width<=600px){.explain{flex-basis:calc(100% - 24px)}}@media (width<=940px) and (orientation:portrait){html.typing .layout:has(.coach-in textarea:focus) .tabs{display:none}}@media (width<=940px){.note-sheet{width:auto}}.ana-what{color:var(--muted);margin-bottom:6px;font-size:13px;line-height:1.4}.op-page{gap:16px;max-width:860px;margin:0 auto;padding:20px 16px 80px;display:grid}.op-h1{margin:6px 0 0;font-size:26px}.op-wait{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.op-tabs{flex-wrap:wrap;gap:8px;display:flex}.op-tabs button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:3px;padding:8px 14px;font-size:14px}.op-tabs button.sel{border-color:var(--accent);background:var(--accent-soft)}.op-sec{gap:8px;display:grid}.op-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.op-row{text-align:left;border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);cursor:pointer;border-radius:3px;gap:3px;padding:10px 12px;display:grid}.op-row[aria-expanded=true]{border-color:var(--accent)}.op-line{font-family:var(--mono);overflow-wrap:anywhere;font-size:13.5px}.op-meta,.op-cmp{color:var(--muted);font-size:13px}.op-cmp b{color:var(--ink)}.op-board{gap:6px;max-width:320px;margin:8px 0 4px;font-size:13px;display:grid}.op-score{font-variant-numeric:tabular-nums;align-items:center;gap:6px;display:inline-flex}.op-score i{background:var(--line);border-radius:3px;width:48px;height:6px;display:inline-block;overflow:hidden}.op-score b{background:var(--accent);height:100%;display:block}.op-fams{border-collapse:collapse;width:100%;font-size:14px}.op-fams td{border-bottom:1px solid var(--line);padding:5px 8px 5px 0}.op-fams td.num{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;width:60px}.cb{grid-template-columns:minmax(0,420px) minmax(0,1fr);align-items:start;gap:20px;display:grid}.cb-board{top:calc(var(--topbar,56px) + 12px);gap:6px;display:grid;position:sticky}.cb-back{justify-self:start;font-size:13px}@media (width<=760px){.cb{grid-template-columns:minmax(0,1fr)}.cb-board{top:var(--topbar,56px);z-index:8;background:var(--bg);border-bottom:1px solid var(--line);margin:0 -16px;padding:6px 16px 8px}.cb-board .sq-board{justify-self:center;width:min(100%,40vh)}.cb-board .vbar{font-size:13px}html.typing .cb:not(.cb-big) .cb-board{grid-template-columns:min(44vw,27vh) minmax(0,1fr);align-content:start;align-items:start;column-gap:12px}.cb:has(.coach-msgs .cm):not(.cb-big) .cb-board{grid-template-columns:min(44vw,27vh) minmax(0,1fr);align-content:start;align-items:start;column-gap:12px}html.typing .cb:not(.cb-big) .cb-board>.sq-board{grid-area:1/1/span 4;width:100%}.cb:has(.coach-msgs .cm):not(.cb-big) .cb-board>.sq-board{grid-area:1/1/span 4;width:100%}html.typing .cb:not(.cb-big) .cb-board>:not(.sq-board){grid-column:2}.cb:has(.coach-msgs .cm):not(.cb-big) .cb-board>:not(.sq-board){grid-column:2}html.typing .cb:not(.cb-big) .cb-board coords{display:none}.cb:has(.coach-msgs .cm):not(.cb-big) .cb-board coords{display:none}.cb:has(.coach-msgs .cm) .cb-size{display:block}html.typing .cb .cb-ctl{display:none}}.cb-ctl{justify-self:start;gap:18px;display:flex}.cb-ctl button{min-height:32px;font-size:13px}.cb-size{display:none}.cb-big .cb-ctl{justify-self:center}.coach-att{border:1px solid var(--line);background:var(--surface);width:46px;min-height:46px;color:var(--muted);cursor:pointer;border-radius:3px;flex:none;place-items:center;padding:0;display:grid}.coach-att:hover:not(:disabled){color:var(--accent);border-color:var(--accent)}.coach-att:disabled{opacity:.45;cursor:default}.coach-img{border:1px solid var(--line);background:var(--surface);border-radius:3px;align-items:center;gap:10px;margin:0 0 8px;padding:6px;font-size:13.5px;display:flex}.coach-img>img{object-fit:cover;border-radius:2px;flex:none;width:52px;height:52px}.coach-img.error{border-color:var(--bad,#c0392b)}.ci-t{flex-wrap:wrap;flex:1;align-items:center;gap:2px 10px;min-width:0;line-height:1.35;display:flex}.ci-t>span:first-child{align-items:center;gap:6px;display:inline-flex}.ci-t .linklike{font-size:inherit}.ci-x{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:3px;flex:none;font-size:22px;line-height:1}.ci-x:hover{color:var(--ink);background:var(--line)}.cm-body:has(>.cm-img){align-items:flex-start;gap:10px;display:flex}.cm-img{object-fit:cover;border:1px solid #ffffff59;border-radius:3px;flex:none;width:64px;height:64px;display:block}.cb{position:relative}.cb-drop{z-index:50;background:color-mix(in srgb, var(--bg) 78%, transparent);border:3px dashed var(--accent);pointer-events:none;place-items:center;display:grid;position:fixed;inset:0}.cb-drop span{background:var(--surface);color:var(--ink);box-shadow:var(--shadow);border-radius:3px;padding:14px 20px;font-weight:600}.cp-page{gap:14px;max-width:1120px;margin:0 auto;padding:18px 16px 80px;display:grid}.cp-head h1{margin:4px 0 2px;font-size:26px}.cp-head p{margin:0}.cp-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cp-fen{flex:260px;gap:6px;min-width:0;display:flex}.cp-fen input{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--ink);font-family:var(--mono);border-radius:3px;flex:1;padding:7px 10px;font-size:12.5px}.sq-board{aspect-ratio:1;width:100%;max-width:100%;box-shadow:var(--shadow);border-radius:3px;overflow:hidden}.op-board a{color:var(--accent);font-weight:500;text-decoration:none}.op-board a:hover{text-decoration:underline}.op-trouble{border:1px solid var(--line);background:var(--surface);border-radius:3px;gap:4px;padding:10px 12px;display:grid}.op-ask{color:var(--accent);justify-self:start;margin-top:4px;padding-left:0;font-size:13px}.gv-right{background:var(--surface);border-radius:3px;padding:18px}.gv-head{border-bottom:1px solid var(--line);margin-bottom:12px;padding-bottom:12px}.gv-right h2.sec-title{color:var(--ink);margin:20px 0 8px;font-size:15px;font-weight:600}.gv-ctl button{background:0 0;border-color:#0000}.gv-ctl button.next:not(:disabled){color:var(--ink);background:0 0;border-color:#0000}.ggraph{background:var(--bg);height:64px;box-shadow:none}.explain:not(.ready){color:var(--accent-ink)}.mc.on{background:color-mix(in srgb, var(--accent) 7%, var(--surface))}.op-list{gap:0}.op-row,.op-trouble{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:10px 12px}.op-row:hover{background:color-mix(in srgb, var(--ink) 4%, var(--surface))}.op-row[aria-expanded=true]{background:var(--accent-soft)}.op-sec>p{margin:0 0 8px}.op-sec h2.sec-title{color:var(--ink);margin:18px 0 4px;font-size:16px}@media (width>=941px){.gv{gap:24px}}@media (width<=940px){.gv-right{border-radius:0;padding:14px 16px}}@media (width<=600px){.explain{flex:none;min-height:44px;margin:0 10px 8px auto}}.vbar{background:var(--surface);border-radius:3px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:2px 10px;min-height:42px;padding:5px 10px;font-size:13px;display:flex}.vbar.off{background:var(--accent-soft)}.vbar-t{overflow-wrap:anywhere;min-width:0;font-size:14px}.vbar-t b{font-weight:650}.vbar-nav{flex-wrap:wrap;align-items:center;gap:2px 10px;display:flex}.vbar-nav .ghost{min-width:36px;min-height:32px;padding:0 8px}.vbar-nav .linklike{color:var(--accent-ink);font-size:13px}.vbar .err{flex-basis:100%}a.ll.game{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.ot-page{gap:12px;max-width:1320px;margin:0 auto;padding:14px 16px 80px;display:grid}.ot-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.ot-head h1{margin:4px 0 0;font-size:24px}.ot-tabs{border-bottom:1px solid var(--line);display:flex}.ot-tabs button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;min-height:38px;margin-bottom:-1px;padding:0 14px;font-size:14px;font-weight:600}.ot-tabs button:hover{color:var(--ink)}.ot-tabs button.on{color:var(--ink);border-color:var(--accent)}.ot-src{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.ot-other{gap:4px;display:inline-flex}.ot-other input{border:1px solid var(--line);background:var(--surface);width:150px;color:var(--ink);border-radius:3px;min-height:34px;padding:5px 10px;font-size:13.5px}.ot-other input:focus{border-color:var(--accent);outline:none}.ot-other button{border:1px solid var(--line);color:var(--accent-ink);background:0 0;border-radius:3px;padding:0 12px}.ot-other button:disabled{color:var(--muted);opacity:.6;cursor:default}.ot-filters{flex-wrap:wrap;align-items:center;gap:8px;font-size:13.5px;display:flex}.ot-filters select{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:3px;min-height:34px;padding:5px 8px;font-size:13.5px}.ot-check{color:var(--muted);align-items:center;gap:5px;display:inline-flex}.ot-sample{margin:-4px 0 0;font-size:13px}.ot-main{grid-template-columns:minmax(280px,460px) minmax(0,1fr);grid-template-areas:"board moves""board coach";align-items:start;gap:16px;display:grid}.ot-board{top:calc(var(--topbar,56px) + 10px);grid-area:board;gap:8px;display:grid;position:sticky}.ot-moves{grid-area:moves;gap:10px;padding:14px;display:grid}.ot-coach{grid-area:coach;padding:14px}.ot-switch{grid-area:switch;display:none}@media (width>=1240px){.ot-main{grid-template-columns:440px minmax(320px,400px) minmax(0,1fr);grid-template-areas:"board moves coach"}}.ot-crumbs{font-family:var(--mono);flex-wrap:wrap;align-items:center;gap:2px 4px;font-size:13px;display:flex}.ot-crumbs .crumb{color:var(--muted);min-height:30px;font:inherit;background:0 0;border:0;border-radius:3px;padding:4px 5px}.ot-crumbs .crumb:hover{color:var(--ink);background:var(--line)}.ot-crumbs .crumb.on{color:var(--ink);background:var(--accent-soft);font-weight:700}.ot-crumbs .ghost{min-width:34px;min-height:30px;padding:0 6px}.ot-note{margin:0;font-size:13px}.ot-node{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;font-size:14px;display:flex}.ot-node>div:first-child{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ot-table{border-collapse:collapse;width:100%;font-size:14px}.ot-table th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);padding:4px 6px;font-size:12px;font-weight:600}.ot-table td{border-bottom:1px solid var(--line);padding:7px 6px}.ot-table tbody tr{cursor:pointer}.ot-table tbody tr:hover,.ot-table tbody tr:focus-visible{background:var(--accent-soft);outline:none}.ot-table td.mv{font-family:var(--mono);white-space:nowrap;font-weight:650}.ot-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.ot-share{background:var(--line);vertical-align:middle;border-radius:3px;width:44px;height:6px;margin-right:8px;display:inline-block;overflow:hidden}.ot-share i{background:var(--accent);height:100%;display:block}.ot-other-moves{margin:0;font-size:12.5px}.ot-games h3{color:var(--muted);margin:4px 0;font-size:13px;font-weight:650}.ot-games ul{gap:4px;margin:0;padding:0;font-size:13.5px;list-style:none;display:grid}.ot-games li{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.ot-games a{font-size:12.5px}.ot-res{font-size:12px;font-weight:650}.ot-res.win{color:var(--good)}.ot-res.loss{color:var(--bad)}.ot-res.draw{color:var(--muted)}.wdl{font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:13px;display:inline-flex}.wdl i{background:var(--line);border-radius:3px;width:72px;height:8px;display:inline-flex;overflow:hidden}.wdl b{height:100%;display:block}.wdl b.w{background:var(--good)}.wdl b.d{background:color-mix(in srgb, var(--muted) 55%, var(--line))}.wdl b.l{background:var(--bad)}.wdl-s{min-width:34px;font-weight:650}.wdl-s.g{color:var(--good)}.wdl-s.r{color:var(--bad)}.ot-stats{gap:16px;max-width:860px;display:grid}.ot-stats .sec-title{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media (width<=860px){.ot-main{grid-template-columns:minmax(0,1fr);grid-template-areas:"board""switch""moves""coach";gap:12px}.ot-board{justify-self:center;width:min(100%,520px);position:static}.ot-switch{justify-content:center;display:flex}.ot-switch button{flex:1;max-width:220px;min-height:40px}.ot-main.pane-moves .ot-coach,.ot-main.pane-coach .ot-moves{display:none}.ot-moves,.ot-coach{padding:12px}.ot-coach .sec-title{display:none}.ot-head h1{font-size:21px}}.ot-filt-btn{display:none}@media (width<=860px){.ot-src{gap:8px}.ot-filt-btn{min-height:34px;font-size:13.5px;display:inline-flex}.ot-filt-btn.on{color:var(--accent-ink)}.ot-filters:not(.open){display:none}.ot-filters{flex-basis:100%}}.bar-page{display:contents}.avatar{background:var(--accent);width:26px;height:26px;color:var(--surface);letter-spacing:0;border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;line-height:1;display:inline-grid}.acct-chip{gap:8px}.acct-chip .acct-name{text-overflow:ellipsis;white-space:nowrap;max-width:12em;overflow:hidden}.topbar a.ghost.acct-chip{padding-left:4px}.bar-menu{flex:none;display:none;position:relative}.bm-btn{justify-content:center;align-items:center;min-width:44px;min-height:40px;padding:0 6px;display:inline-flex;position:relative}.bm-btn .avatar{width:30px;height:30px;font-size:14px}.bm-btn[aria-expanded=true]{background:var(--line);color:var(--ink)}.bm-icon{font-size:20px;line-height:1}.bm-badge{background:var(--amber);color:#1b1206;min-width:17px;height:17px;font:700 11px/17px var(--sans);text-align:center;box-shadow:0 0 0 2px var(--bg);border-radius:99px;padding:0 4px;font-style:normal;position:absolute;top:2px;right:0}.bm-list{z-index:45;background:var(--surface);border:1px solid var(--line);border-radius:3px;min-width:200px;max-width:calc(100vw - 24px);padding:4px 0;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 6px 24px #0000002e}.bm-list a{min-height:44px;color:var(--ink);white-space:nowrap;align-items:center;padding:0 16px;font-size:15px;text-decoration:none;display:flex}.bm-list a:hover,.bm-list a:focus-visible{background:var(--accent-soft);color:var(--accent-ink)}.bm-list .bm-page{display:contents}.topbar .bm-list .bm-page a.ghost{min-width:0;min-height:44px;color:var(--ink);border-radius:0;justify-content:flex-start;padding:0 16px;font-size:15px;display:flex}.bm-who{border-bottom:1px solid var(--line);align-items:center;gap:10px;margin-bottom:4px;padding:10px 16px 12px;display:flex}.bm-who span:last-child{min-width:0;line-height:1.3;display:grid}.bm-who b{font-size:15px}.bm-who small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;overflow:hidden}.bm-who .avatar{width:34px;height:34px;font-size:15px}.bm-list .bm-s{display:none}@media (width<=940px){.topbar .bar-wide{display:none}.bar-menu:not(.bm-narrow){display:block}}@media (width<=600px){.topbar{gap:10px;padding-left:12px}.topbar .brand{white-space:nowrap;flex:none;font-size:15px}.topbar a.ghost,.topbar .bar-r>*{white-space:nowrap;font-size:14px}.topbar .bar-r{gap:2px}.topbar .bar-r a.ghost{padding-left:8px;padding-right:8px}.topbar .user-chip,.topbar .bar-more{display:none}.bar-menu.bm-narrow{display:block}.bm-list .bm-s{display:flex}.bm-list .bm-page.bm-s{display:contents}}.ch{position:relative}.ch-list{z-index:30;background:var(--surface);border:1px solid var(--line);width:min(360px,100vw - 32px);max-height:60vh;box-shadow:var(--shadow);border-radius:3px;padding:4px 0;position:absolute;top:calc(100% + 4px);left:0;overflow-y:auto}.ch-list p{margin:8px;font-size:13.5px}.ch-list ul{margin:0;padding:0;list-style:none}.ch-list li+li{border-top:1px solid var(--line)}.ch-list button{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;border-radius:0;gap:2px;min-height:44px;padding:8px 12px;display:grid}.ch-list button:hover,.ch-list button.on{background:var(--accent-soft)}.ch-t{font-size:14px;font-weight:600}.ch-m{font-size:12px}.ot-who{font-size:.7em;font-weight:500}.ot-switch{scroll-margin-top:calc(var(--topbar,56px) + 8px)}.cp-board.cp-logo,.gprog-board.gprog-logo{box-shadow:none;opacity:1;place-items:center;display:grid;overflow:visible}.empty .al-loader{margin:0 auto}@media (width<=560px){.brand .bw{display:none}}.home a:not([class]),.profile a:not([class]){color:var(--accent);text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--accent) 45%, transparent);text-decoration-color:color-mix(in srgb, var(--accent) 45%, transparent);text-underline-offset:3px;font-weight:600}.home a:not([class]):hover,.profile a:not([class]):hover{text-decoration-color:currentColor}.cp-board .al-loader,.gprog-board .al-loader{width:100%}.cp-board .al-loader svg,.gprog-board .al-loader svg{width:100%;max-width:100%;height:auto}.cm-ideas{margin:0 0 8px;padding:0;font-size:.85em;list-style:none}.cm-ideas li{color:var(--muted,#777);gap:6px;padding:2px 0;display:flex}.cm-ideas li i{text-align:center;flex:none;width:1em;font-style:normal}.cm-ideas li.confirmed{color:inherit}.cm-ideas li.confirmed i{color:var(--good)}.cm-ideas li.refuted{text-decoration:line-through}.cm-ideas li.refuted i{color:var(--bad)}.cm-ideas:before{content:"First ideas to test";letter-spacing:.02em;color:var(--muted,#777);margin-bottom:2px;font-size:12px;font-weight:600;display:block}.grv{margin-top:4px}.grv-head{margin:0 0 8px;font-size:15.5px;font-weight:650;line-height:1.45}.grv-body p{margin:0 0 10px;font-size:14.5px;line-height:1.55}.grv-take{margin:4px 0 12px;padding-left:20px;font-size:14.5px;line-height:1.5}.grv-take li{margin-bottom:4px}.grv-take li::marker{color:var(--accent)}.grv-time{background:var(--bg);border-radius:3px;grid-template-columns:max-content minmax(0,1fr);align-items:baseline;gap:6px 14px;margin:8px 0 6px;padding:10px 12px;font-size:13px;display:grid}.grv-time dt{color:var(--muted)}.grv-time dd{flex-wrap:wrap;align-items:baseline;gap:4px 6px;margin:0;display:flex}.grv-chip{border:1px solid var(--line);background:var(--surface);font:600 12.5px var(--mono);color:var(--ink);border-radius:3px;padding:2px 7px}.grv-chip b{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:500}.grv-chip.inaccuracy{border-color:var(--warn)}.grv-chip.mistake{border-color:var(--orange)}.grv-chip.blunder{border-color:var(--bad)}.grv-chip:hover{border-color:var(--accent)}.grv-foot{margin:6px 0 0}.grv-redo{color:var(--accent-ink);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.grv-redo:disabled{opacity:.5;cursor:default}.grv-warn{color:var(--bad)}.grv-busy{align-items:center;gap:8px;margin:6px 0;display:flex}@media (width<=600px){.grv-time{grid-template-columns:1fr;gap:2px}.grv-time dd{margin-bottom:6px}.grv-go{width:100%}}.signin{text-align:center;place-content:center;justify-items:center;gap:6px;min-height:80vh;padding:24px 16px;display:grid}.signin h1{letter-spacing:-.01em;margin:6px 0 0;font-size:28px}.signin p{color:var(--muted);max-width:34ch;margin:0 0 12px}.signin .go{min-width:240px}.signin .err,.profile .err{color:var(--bad);margin:10px 0 0}.signin .small{margin-top:14px;font-size:13px}.profile{max-width:560px;margin:0 auto;padding:28px 16px 60px}.profile h1{margin:0 0 18px;font-size:26px}.profile form{gap:16px;display:grid}.pf-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.pf-field{gap:4px;min-width:0;display:grid}.pf-field label{font-size:14px;font-weight:600}.pf-field input{font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:3px;min-width:0;padding:10px 12px}.pf-field input[readonly]{color:var(--muted);background:0 0}.pf-field input:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.pf-field small{color:var(--muted);font-size:13px}.pf-actions{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.pf-ok{color:var(--good);font-weight:600}.pf-out{margin-top:28px}@media (width<=480px){.pf-row{grid-template-columns:1fr}}.pf-out a{color:var(--accent);font-weight:600}.si-ask{text-align:left;gap:14px;width:min(380px,100%);margin-top:4px;display:grid}.si-ask .go{justify-self:start}.pf-field textarea{font:inherit;border:1px solid var(--line);background:var(--surface);color:var(--ink);resize:vertical;border-radius:3px;min-width:0;padding:10px 12px}.pf-field textarea:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.pf-field label .muted{font-weight:400}.linkish{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:4px;font-weight:600}.signin .linkish.small{margin-top:10px;font-size:13px}.ac-list{gap:12px;margin:0;padding:0;list-style:none;display:grid}.ac-list>li{border:1px solid var(--line);background:var(--surface);border-radius:4px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 16px;display:flex}.ac-who{overflow-wrap:anywhere;flex:260px;gap:3px;min-width:0;display:grid}.ac-who a{color:var(--accent);font-size:14px}.ac-who p{margin:6px 0 0}.ac-act{gap:8px;display:flex}.ac-done{margin-top:24px}.ac-done summary{cursor:pointer;color:var(--muted);font-weight:600}.ac-done ul{overflow-wrap:anywhere;gap:4px;padding-left:18px;display:grid}.st-sql{max-height:9.5em;font:400 11.5px/1.45 var(--mono);color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;background:color-mix(in srgb, var(--ink) 5%, transparent);font-variant-ligatures:none;font-feature-settings:"liga" 0, "calt" 0;border-radius:4px;flex-basis:100%;margin-top:2px;padding:4px 6px;display:block;overflow:auto}.cm-live li:has(.st-sql){flex-wrap:wrap}@media (width<=940px) and (orientation:portrait){.gv{--bsize:clamp(200px, min(100vw - 32px, 32vh), 440px)}}@media (width<=940px) and (orientation:landscape) and (height<=560px){.gv{--bsize:clamp(170px, calc(100vh - var(--topbar,45px) - 84px), 360px);grid-template-columns:calc(var(--bsize) + 24px) minmax(0, 1fr);gap:16px;padding:0 16px 60px 0;display:grid}.gv-left{top:var(--topbar);border-bottom:0;padding:6px 12px}.gv-ctl{margin-top:8px}.gv-ctl button{min-width:40px;height:36px}.gv-right{max-width:none;padding:10px 0 0}.gv-tip{display:none}}@media (width<=760px) and (height<=700px) and (orientation:portrait){.cb-board .sq-board{width:min(100%,32vh)}}@media (width>=761px) and (width<=940px) and (orientation:landscape) and (height<=560px){.cb{grid-template-columns:max(180px, calc(100vh - var(--topbar,45px) - 96px)) minmax(0, 1fr);gap:16px}.cb-board{top:calc(var(--topbar,45px) + 6px)}}@media (width<=860px) and (orientation:landscape) and (height<=560px){.ot-main{grid-template-columns:max(180px, calc(100vh - var(--topbar,45px) - 100px)) minmax(0, 1fr);grid-template-areas:"board switch""board moves""board coach";align-items:start}.ot-board{top:calc(var(--topbar,45px) + 6px);width:100%;position:sticky}}@media (pointer:coarse){#cp-fen,.ot-src input,.coach-level select{font-size:16px}.grv-chip{min-height:30px;padding:4px 8px}.pf-out a{align-items:center;min-height:36px;display:inline-flex}.cm-more .linklike{min-height:32px}.ci-t .linklike{padding-block:5px;display:inline-block}.ot-games li{align-items:center;column-gap:10px}.ot-games .linklike,.ot-games a{align-items:center;min-height:32px;display:inline-flex}}@media (width<=600px){.topbar a.brand{justify-content:center;min-width:36px;min-height:36px}}@media (width<=360px) and (orientation:portrait){.layout:has(>.left[data-cap=turn]){--caph:160px}.layout:has(>.left[data-cap=step]){--caph:168px}}@media (width<=940px) and (orientation:portrait){.left .cpane{--cpl:calc((1 - var(--p)) * (100vw - var(--bsize)) / 2 + var(--p) * 10px + var(--bsize) * (1 + var(--p) * (var(--sc) - 1)) + 10px);left:var(--cpl);width:max(0px, calc(100vw - var(--cpl) - 10px))}}.usage{max-width:1040px;margin:0 auto;padding:24px 16px 60px}.us-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.us-head h1{margin:0;font-size:26px}.us-head .seg{border:1px solid var(--line);border-radius:4px;display:inline-flex;overflow:hidden}.us-head .seg button{min-height:34px;font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:6px 12px;font-size:13px}.us-head .seg button.on{background:var(--accent-soft);color:var(--accent-ink);font-weight:600}.us-tiles{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-bottom:20px;display:grid}.us-tile{border:1px solid var(--line);background:var(--surface);border-radius:4px;flex-direction:column;gap:4px;padding:14px 16px;font-size:13px;display:flex}.us-tile b{color:var(--ink);font-variant-numeric:tabular-nums;font-size:26px;font-weight:600}.usage section{margin-bottom:22px}.usage h2{margin:0 0 8px;font-size:15px}.us-charts,.us-two{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;display:grid}.us-bars{border-bottom:1px solid var(--line);grid-auto-columns:1fr;grid-auto-flow:column;align-items:end;gap:2px;height:140px;padding-bottom:20px;display:grid;position:relative}.us-bar{cursor:default;align-items:flex-end;height:100%;display:flex}.us-bar span{background:var(--accent);border-radius:4px 4px 0 0;width:100%;max-width:28px;margin:0 auto;display:block}.us-bar:hover span{filter:brightness(1.15)}.us-axis{color:var(--muted);justify-content:space-between;font-size:11px;display:flex;position:absolute;bottom:-2px;left:0;right:0}.us-scroll{overflow-x:auto}.us-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:13px}.us-table th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;padding:6px 10px;font-weight:600}.us-table td{border-bottom:1px solid var(--line);white-space:nowrap;padding:7px 10px}.us-table td:first-child{white-space:normal}.us-row{cursor:pointer}.us-row:hover{background:var(--accent-soft)}.us-sub td{color:var(--muted);padding-top:4px;padding-bottom:4px;font-size:12px}.us-sub td:first-child{padding-left:30px}.us-id{font-size:11px}.us-note{max-width:760px;font-size:12px}.us-row .linklike{text-align:left;white-space:normal;display:inline}.ot-stats .op-theory-head,.ot-stats .op-theory-row{grid-template-columns:minmax(0,2fr) minmax(0,1.25fr) minmax(0,1.3fr) 70px;align-items:center;gap:16px;display:grid}.ot-stats .op-theory-head{color:var(--muted);padding:8px 10px 2px;font-size:12px}.ot-stats .op-theory-head>:last-child{text-align:right}.ot-stats .op-theory-list{gap:0}.ot-stats .op-theory-list>li{border-bottom:1px solid var(--line)}.ot-stats .op-theory-list>li:first-child{border-top:1px solid var(--line)}.ot-stats .op-theory-row{background:0 0;border:0;border-radius:3px;padding:12px 10px;font-size:13px;line-height:1.5}.ot-stats .op-theory-row:hover{background:color-mix(in srgb, var(--ink) 4%, transparent)}.ot-stats .op-theory-row[aria-expanded=true]{background:var(--accent-soft)}.ot-stats .op-theory-row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.op-theory-position,.op-theory-move,.op-theory-book{gap:3px;min-width:0;display:grid}.op-opening-name{font-weight:600}.op-theory-position .op-line{color:var(--muted);font-size:12px}.op-theory-move b{font-family:var(--mono);font-size:14px;font-weight:600}.op-theory-move .op-meta{font-size:12px}.op-theory-move .op-score i{display:none}.op-theory-book{overflow-wrap:anywhere}.op-theory-reached{text-align:right;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.op-row-caret{width:12px;color:var(--muted);margin-left:8px;font-size:16px;line-height:1;display:inline-block}.ot-stats .op-theory-row:hover .op-row-caret{color:var(--accent)}.op-theory-book .op-meta,.op-theory-move .op-meta{color:var(--muted)}.op-theory-move .wdl-s{min-width:0}.op-column-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=640px){.ot-stats .op-theory-head{display:none}.ot-stats .op-theory-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px}.op-theory-position{grid-column:1/-1}.op-theory-reached{text-align:left;grid-column:1/-1;font-size:12px}.op-column-label{clip-path:none;white-space:normal;width:auto;height:auto;color:var(--muted);margin:0;padding:0;font-weight:400;position:static;overflow:visible}.op-row-caret{float:right}}.ot-stats .op-list>li:first-child{border-top:1px solid var(--line)}.ot-stats .op-row{background:0 0}.ot-stats .op-row:hover{background:color-mix(in srgb, var(--ink) 4%, transparent)}.ot-coach h2.sec-title{margin-top:0}
