.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,.cg-wrap .cg-shapes-below,.cg-wrap .cg-custom-below{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-shapes-below{z-index:1;overflow:hidden}.cg-wrap .cg-custom-below{z-index:1}.cg-wrap .cg-custom-svgs{z-index:9}.cg-wrap .cg-custom-svgs svg,.cg-wrap .cg-custom-below 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%)}:root{--bg:#1d1915;--surface:#26211c;--surface-2:#302922;--border:#3d342b;--text:#ece3d4;--text-dim:#a89a86;--accent:#d9a441;--accent-text:#1d1915;--variation:#8fb6d9;--comment:#9cc58b;--danger:#d0533f;--success:#7fb069;--light:#e9cfa3;--dark:#7d5233;--frame:#3b2616;--frame-text:#f3e3c3;--radius:10px;--topbar:52px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--text);margin:0;font:15px/1.45 Segoe UI,system-ui,-apple-system,Helvetica Neue,Arial,sans-serif}#app{height:100%}h1{margin:0 0 .4rem;font-size:1.5rem}h2{letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim);margin:0 0 .6rem;font-size:.78rem}a{color:var(--accent)}.dim{color:var(--text-dim)}.small{font-size:.85rem}.mono{font-family:ui-monospace,Cascadia Mono,Consolas,monospace}.error{color:var(--danger);margin:.4rem 0}.success{color:var(--success);margin:.4rem 0}.splash{height:100%;color:var(--text-dim);place-items:center;display:grid}button{font:inherit;color:inherit}.button{background:var(--accent);color:var(--accent-text);cursor:pointer;border:none;border-radius:8px;padding:9px 16px;font-weight:600}.button:hover:not(:disabled){filter:brightness(1.08)}.button:disabled{opacity:.5;cursor:default}.button.ghost{color:var(--text);border:1px solid var(--border);background:0 0}.button.wide{width:100%}.link{color:var(--accent);cursor:pointer;background:0 0;border:none;padding:2px 4px;font-size:.9rem}.link:hover{text-decoration:underline}.link.danger{color:var(--danger)}.link.center{margin:.8rem auto 0;display:block}.icon-button{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;min-width:44px;height:38px;font-size:1.05rem}.icon-button:hover:not(:disabled){background:var(--surface-2)}.icon-button.active{color:var(--accent);border-color:var(--border)}.text-input,select,textarea{background:var(--surface-2);border:1px solid var(--border);color:var(--text);font:inherit;border-radius:8px;width:100%;padding:8px 10px}select{width:auto}.text-input:focus,select:focus,textarea:focus{border-color:var(--accent);outline:none}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.field{color:var(--text-dim);flex-direction:column;gap:4px;margin-bottom:.8rem;font-size:.9rem;display:flex}.password-row{align-items:center;gap:6px;display:flex}.field.grow{flex:1}.check{align-items:center;gap:8px;margin-bottom:.6rem;display:flex}input[type=range]{accent-color:var(--accent)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px}.shell{flex-direction:column;height:100%;display:flex}.content{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.topbar{height:var(--topbar);border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:18px;padding:0 16px;display:flex}.brand{color:var(--text);align-items:center;gap:8px;font-size:1.1rem;font-weight:700;text-decoration:none;display:flex}.brand.big{justify-content:center;margin-bottom:.8rem;font-size:1.6rem}.brand-mark{color:var(--accent);font-size:1.3em}.tabs{flex:1;gap:4px;display:flex}.tabs a,.user{color:var(--text-dim);border-radius:8px;align-items:center;gap:6px;padding:6px 10px;text-decoration:none;display:flex}.tabs svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linejoin:round;stroke-linecap:round;width:20px;height:20px}.tabs a.active,.user.active,.tabs a:hover,.user:hover{color:var(--text);background:var(--surface-2)}.link-state{color:var(--text-dim);font-size:.8rem}.link-state:before{content:"";background:var(--danger);border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.link-state.open:before{background:var(--success)}.analysis{flex:1;grid-template-columns:minmax(0,1fr) minmax(320px,400px);gap:16px;min-height:0;padding:12px 16px 16px;display:grid}.board-column{flex-direction:column;min-width:0;min-height:0;display:flex}.board-area{flex:1;justify-content:center;align-items:center;min-height:0;display:flex}.board-row{align-items:center;gap:8px;display:flex}.board-toolbar{justify-content:center;align-items:center;gap:4px;padding-top:8px;display:flex}.toolbar-gap{width:14px}.side{flex-direction:column;gap:12px;min-height:0;display:flex;overflow-y:auto}.board-frame{background:var(--frame);border-radius:8px;flex-shrink:0;position:relative;box-shadow:0 6px 24px #00000059}.board-squares{left:var(--margin);top:var(--margin);position:absolute}.cg-host{width:100%;height:100%}.coords{color:var(--frame-text);font-weight:600;font-size:var(--font);-webkit-user-select:none;user-select:none;display:flex;position:absolute}.coords span{flex:1;place-items:center;display:grid}.coords.files{left:var(--margin);right:var(--margin);height:var(--margin)}.coords.files.top{top:0}.coords.files.bottom{bottom:0}.coords.ranks{top:var(--margin);bottom:var(--margin);width:var(--margin);flex-direction:column}.coords.ranks.left{left:0}.coords.ranks.right{right:0}cg-board{background-color:var(--light);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' shape-rendering='crispEdges'%3E%3Crect width='8' height='8' fill='%23e9cfa3'/%3E%3Cpath fill='%237d5233' 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'/%3E%3C/svg%3E");background-size:cover}cg-board square.last-move{background-color:#d9a4416b}cg-board square.selected{background-color:#d9a4418c}cg-board square.move-dest{background:radial-gradient(#281e1473 19%,#0000 21%)}cg-board square.oc.move-dest{background:radial-gradient(#0000 0% 79%,#281e1473 80%)}cg-board square.move-dest:hover{background:#d9a44159}cg-board square.check{background:radial-gradient(#d0533ff2 0%,#d0533f66 45%,#0000 75%)}.cg-wrap piece.pawn.white,.piece-img.wP{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='white-pawn'%20class='white%20pawn'%3e%3cpath%20d='M22.5%209c-2.21%200-4%201.79-4%204%200%20.89.29%201.71.78%202.38C17.33%2016.5%2016%2018.59%2016%2021c0%202.03.94%203.84%202.41%205.03-3%201.06-7.41%205.55-7.41%2013.47h23c0-7.92-4.41-12.41-7.41-13.47%201.47-1.19%202.41-3%202.41-5.03%200-2.41-1.33-4.5-3.28-5.62.49-.67.78-1.49.78-2.38%200-2.21-1.79-4-4-4z'%20fill='%23fff'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.knight.white,.piece-img.wN{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='white-knight'%20class='white%20knight'%20fill='none'%20fill-rule='evenodd'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M%2022,10%20C%2032.5,11%2038.5,18%2038,39%20L%2015,39%20C%2015,30%2025,32.5%2023,18'%20style='fill:%23ffffff;%20stroke:%23000000;'/%3e%3cpath%20d='M%2024,18%20C%2024.38,20.91%2018.45,25.37%2016,27%20C%2013,29%2013.18,31.34%2011,31%20C%209.958,30.06%2012.41,27.96%2011,28%20C%2010,28%2011.19,29.23%2010,30%20C%209,30%205.997,31%206,26%20C%206,24%2012,14%2012,14%20C%2012,14%2013.89,12.1%2014,10.5%20C%2013.27,9.506%2013.5,8.5%2013.5,7.5%20C%2014.5,6.5%2016.5,10%2016.5,10%20L%2018.5,10%20C%2018.5,10%2019.28,8.008%2021,7%20C%2022,7%2022,10%2022,10'%20style='fill:%23ffffff;%20stroke:%23000000;'/%3e%3cpath%20d='M%209.5%2025.5%20A%200.5%200.5%200%201%201%208.5,25.5%20A%200.5%200.5%200%201%201%209.5%2025.5%20z'%20style='fill:%23000000;%20stroke:%23000000;'/%3e%3cpath%20d='M%2015%2015.5%20A%200.5%201.5%200%201%201%2014,15.5%20A%200.5%201.5%200%201%201%2015%2015.5%20z'%20transform='matrix(0.866,0.5,-0.5,0.866,9.693,-5.173)'%20style='fill:%23000000;%20stroke:%23000000;'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.bishop.white,.piece-img.wB{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='white-bishop'%20class='white%20bishop'%20fill='none'%20fill-rule='evenodd'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cg%20fill='%23fff'%20stroke-linecap='butt'%3e%3cpath%20d='M9%2036c3.39-.97%2010.11.43%2013.5-2%203.39%202.43%2010.11%201.03%2013.5%202%200%200%201.65.54%203%202-.68.97-1.65.99-3%20.5-3.39-.97-10.11.46-13.5-1-3.39%201.46-10.11.03-13.5%201-1.354.49-2.323.47-3-.5%201.354-1.94%203-2%203-2zM15%2032c2.5%202.5%2012.5%202.5%2015%200%20.5-1.5%200-2%200-2%200-2.5-2.5-4-2.5-4%205.5-1.5%206-11.5-5-15.5-11%204-10.5%2014-5%2015.5%200%200-2.5%201.5-2.5%204%200%200-.5.5%200%202zM25%208a2.5%202.5%200%201%201-5%200%202.5%202.5%200%201%201%205%200z'/%3e%3c/g%3e%3cpath%20d='M17.5%2026h10M15%2030h15m-7.5-14.5v5M20%2018h5'%20stroke-linejoin='miter'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.rook.white,.piece-img.wR{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='white-rook'%20class='white%20rook'%20fill='%23fff'%20fill-rule='evenodd'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M9%2039h27v-3H9v3zM12%2036v-4h21v4H12zM11%2014V9h4v2h5V9h5v2h5V9h4v5'%20stroke-linecap='butt'/%3e%3cpath%20d='M34%2014l-3%203H14l-3-3'/%3e%3cpath%20d='M31%2017v12.5H14V17'%20stroke-linecap='butt'%20stroke-linejoin='miter'/%3e%3cpath%20d='M31%2029.5l1.5%202.5h-20l1.5-2.5'/%3e%3cpath%20d='M11%2014h23'%20fill='none'%20stroke-linejoin='miter'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.queen.white,.piece-img.wQ{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='white-queen'%20class='white%20queen'%20fill='%23fff'%20fill-rule='evenodd'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M8%2012a2%202%200%201%201-4%200%202%202%200%201%201%204%200zM24.5%207.5a2%202%200%201%201-4%200%202%202%200%201%201%204%200zM41%2012a2%202%200%201%201-4%200%202%202%200%201%201%204%200zM16%208.5a2%202%200%201%201-4%200%202%202%200%201%201%204%200zM33%209a2%202%200%201%201-4%200%202%202%200%201%201%204%200z'/%3e%3cpath%20d='M9%2026c8.5-1.5%2021-1.5%2027%200l2-12-7%2011V11l-5.5%2013.5-3-15-3%2015-5.5-14V25L7%2014l2%2012zM9%2026c0%202%201.5%202%202.5%204%201%201.5%201%201%20.5%203.5-1.5%201-1.5%202.5-1.5%202.5-1.5%201.5.5%202.5.5%202.5%206.5%201%2016.5%201%2023%200%200%200%201.5-1%200-2.5%200%200%20.5-1.5-1-2.5-.5-2.5-.5-2%20.5-3.5%201-2%202.5-2%202.5-4-8.5-1.5-18.5-1.5-27%200z'%20stroke-linecap='butt'/%3e%3cpath%20d='M11.5%2030c3.5-1%2018.5-1%2022%200M12%2033.5c6-1%2015-1%2021%200'%20fill='none'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.king.white,.piece-img.wK{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='white-king'%20class='white%20king'%20fill='none'%20fill-rule='evenodd'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M22.5%2011.63V6M20%208h5'%20stroke-linejoin='miter'/%3e%3cpath%20d='M22.5%2025s4.5-7.5%203-10.5c0%200-1-2.5-3-2.5s-3%202.5-3%202.5c-1.5%203%203%2010.5%203%2010.5'%20fill='%23fff'%20stroke-linecap='butt'%20stroke-linejoin='miter'/%3e%3cpath%20d='M11.5%2037c5.5%203.5%2015.5%203.5%2021%200v-7s9-4.5%206-10.5c-4-6.5-13.5-3.5-16%204V27v-3.5c-3.5-7.5-13-10.5-16-4-3%206%205%2010%205%2010V37z'%20fill='%23fff'/%3e%3cpath%20d='M11.5%2030c5.5-3%2015.5-3%2021%200m-21%203.5c5.5-3%2015.5-3%2021%200m-21%203.5c5.5-3%2015.5-3%2021%200'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.pawn.black,.piece-img.bP{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='black-pawn'%20class='black%20pawn'%3e%3cpath%20d='M22.5%209c-2.21%200-4%201.79-4%204%200%20.89.29%201.71.78%202.38C17.33%2016.5%2016%2018.59%2016%2021c0%202.03.94%203.84%202.41%205.03-3%201.06-7.41%205.55-7.41%2013.47h23c0-7.92-4.41-12.41-7.41-13.47%201.47-1.19%202.41-3%202.41-5.03%200-2.41-1.33-4.5-3.28-5.62.49-.67.78-1.49.78-2.38%200-2.21-1.79-4-4-4z'%20fill='%23000'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.knight.black,.piece-img.bN{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='black-knight'%20class='black%20knight'%20fill='none'%20fill-rule='evenodd'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M%2022,10%20C%2032.5,11%2038.5,18%2038,39%20L%2015,39%20C%2015,30%2025,32.5%2023,18'%20style='fill:%23000000;%20stroke:%23000000;'/%3e%3cpath%20d='M%2024,18%20C%2024.38,20.91%2018.45,25.37%2016,27%20C%2013,29%2013.18,31.34%2011,31%20C%209.958,30.06%2012.41,27.96%2011,28%20C%2010,28%2011.19,29.23%2010,30%20C%209,30%205.997,31%206,26%20C%206,24%2012,14%2012,14%20C%2012,14%2013.89,12.1%2014,10.5%20C%2013.27,9.506%2013.5,8.5%2013.5,7.5%20C%2014.5,6.5%2016.5,10%2016.5,10%20L%2018.5,10%20C%2018.5,10%2019.28,8.008%2021,7%20C%2022,7%2022,10%2022,10'%20style='fill:%23000000;%20stroke:%23000000;'/%3e%3cpath%20d='M%209.5%2025.5%20A%200.5%200.5%200%201%201%208.5,25.5%20A%200.5%200.5%200%201%201%209.5%2025.5%20z'%20style='fill:%23ececec;%20stroke:%23ececec;'/%3e%3cpath%20d='M%2015%2015.5%20A%200.5%201.5%200%201%201%2014,15.5%20A%200.5%201.5%200%201%201%2015%2015.5%20z'%20transform='matrix(0.866,0.5,-0.5,0.866,9.693,-5.173)'%20style='fill:%23ececec;%20stroke:%23ececec;'/%3e%3cpath%20d='M%2024.55,10.4%20L%2024.1,11.85%20L%2024.6,12%20C%2027.75,13%2030.25,14.49%2032.5,18.75%20C%2034.75,23.01%2035.75,29.06%2035.25,39%20L%2035.2,39.5%20L%2037.45,39.5%20L%2037.5,39%20C%2038,28.94%2036.62,22.15%2034.25,17.66%20C%2031.88,13.17%2028.46,11.02%2025.06,10.5%20L%2024.55,10.4%20z%20'%20style='fill:%23ececec;%20stroke:none;'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.bishop.black,.piece-img.bB{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='black-bishop'%20class='black%20bishop'%20fill='none'%20fill-rule='evenodd'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M9%2036c3.39-.97%2010.11.43%2013.5-2%203.39%202.43%2010.11%201.03%2013.5%202%200%200%201.65.54%203%202-.68.97-1.65.99-3%20.5-3.39-.97-10.11.46-13.5-1-3.39%201.46-10.11.03-13.5%201-1.354.49-2.323.47-3-.5%201.354-1.94%203-2%203-2zm6-4c2.5%202.5%2012.5%202.5%2015%200%20.5-1.5%200-2%200-2%200-2.5-2.5-4-2.5-4%205.5-1.5%206-11.5-5-15.5-11%204-10.5%2014-5%2015.5%200%200-2.5%201.5-2.5%204%200%200-.5.5%200%202zM25%208a2.5%202.5%200%201%201-5%200%202.5%202.5%200%201%201%205%200z'%20fill='%23000'%20stroke-linecap='butt'/%3e%3cpath%20d='M17.5%2026h10M15%2030h15m-7.5-14.5v5M20%2018h5'%20stroke='%23fff'%20stroke-linejoin='miter'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.rook.black,.piece-img.bR{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='black-rook'%20class='black%20rook'%20fill='%23000'%20fill-rule='evenodd'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M9%2039h27v-3H9v3zM12.5%2032l1.5-2.5h17l1.5%202.5h-20zM12%2036v-4h21v4H12z'%20stroke-linecap='butt'/%3e%3cpath%20d='M14%2029.5v-13h17v13H14z'%20stroke-linecap='butt'%20stroke-linejoin='miter'/%3e%3cpath%20d='M14%2016.5L11%2014h23l-3%202.5H14zM11%2014V9h4v2h5V9h5v2h5V9h4v5H11z'%20stroke-linecap='butt'/%3e%3cpath%20d='M12%2035.5h21M13%2031.5h19M14%2029.5h17M14%2016.5h17M11%2014h23'%20fill='none'%20stroke='%23fff'%20stroke-width='1'%20stroke-linejoin='miter'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.queen.black,.piece-img.bQ{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='black-queen'%20class='black%20queen'%20fill='%23000'%20fill-rule='evenodd'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cg%20fill='%23000'%20stroke='none'%3e%3ccircle%20cx='6'%20cy='12'%20r='2.75'/%3e%3ccircle%20cx='14'%20cy='9'%20r='2.75'/%3e%3ccircle%20cx='22.5'%20cy='8'%20r='2.75'/%3e%3ccircle%20cx='31'%20cy='9'%20r='2.75'/%3e%3ccircle%20cx='39'%20cy='12'%20r='2.75'/%3e%3c/g%3e%3cpath%20d='M9%2026c8.5-1.5%2021-1.5%2027%200l2.5-12.5L31%2025l-.3-14.1-5.2%2013.6-3-14.5-3%2014.5-5.2-13.6L14%2025%206.5%2013.5%209%2026zM9%2026c0%202%201.5%202%202.5%204%201%201.5%201%201%20.5%203.5-1.5%201-1.5%202.5-1.5%202.5-1.5%201.5.5%202.5.5%202.5%206.5%201%2016.5%201%2023%200%200%200%201.5-1%200-2.5%200%200%20.5-1.5-1-2.5-.5-2.5-.5-2%20.5-3.5%201-2%202.5-2%202.5-4-8.5-1.5-18.5-1.5-27%200z'%20stroke-linecap='butt'/%3e%3cpath%20d='M11%2038.5a35%2035%201%200%200%2023%200'%20fill='none'%20stroke-linecap='butt'/%3e%3cpath%20d='M11%2029a35%2035%201%200%201%2023%200M12.5%2031.5h20M11.5%2034.5a35%2035%201%200%200%2022%200M10.5%2037.5a35%2035%201%200%200%2024%200'%20fill='none'%20stroke='%23fff'/%3e%3c/g%3e%3c/svg%3e")}.cg-wrap piece.king.black,.piece-img.bK{background-image:url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c!--%20Piece%20by%20Colin%20M.L.%20Burnett%20(Cburnett),%20used%20under%20the%20BSD%20license.%20--%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%20width='45'%20height='45'%20viewBox='0%200%2045%2045'%3e%3cg%20id='black-king'%20class='black%20king'%20fill='none'%20fill-rule='evenodd'%20stroke='%23000'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3cpath%20d='M22.5%2011.63V6'%20stroke-linejoin='miter'/%3e%3cpath%20d='M22.5%2025s4.5-7.5%203-10.5c0%200-1-2.5-3-2.5s-3%202.5-3%202.5c-1.5%203%203%2010.5%203%2010.5'%20fill='%23000'%20stroke-linecap='butt'%20stroke-linejoin='miter'/%3e%3cpath%20d='M11.5%2037c5.5%203.5%2015.5%203.5%2021%200v-7s9-4.5%206-10.5c-4-6.5-13.5-3.5-16%204V27v-3.5c-3.5-7.5-13-10.5-16-4-3%206%205%2010%205%2010V37z'%20fill='%23000'/%3e%3cpath%20d='M20%208h5'%20stroke-linejoin='miter'/%3e%3cpath%20d='M32%2029.5s8.5-4%206.03-9.65C34.15%2014%2025%2018%2022.5%2024.5l.01%202.1-.01-2.1C20%2018%209.906%2014%206.997%2019.85c-2.497%205.65%204.853%209%204.853%209M11.5%2030c5.5-3%2015.5-3%2021%200m-21%203.5c5.5-3%2015.5-3%2021%200m-21%203.5c5.5-3%2015.5-3%2021%200'%20stroke='%23fff'/%3e%3c/g%3e%3c/svg%3e")}.promotion{z-index:20;background:#1d1915b8;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex;position:absolute;inset:0}.promotion-choices{gap:8px;display:flex}.promotion-piece{border:2px solid var(--border);background:var(--light);cursor:pointer;border-radius:50%;width:72px;height:72px;padding:6px}.promotion-piece:hover{border-color:var(--accent)}.piece-img{background-size:cover;width:100%;height:100%;display:block}.eval-bar{border:1px solid var(--border);background:#3a3530;border-radius:4px;flex-direction:column-reverse;width:14px;display:flex;overflow:hidden}.eval-bar.flipped{flex-direction:column}.eval-white{background:#f1ebe0;transition:height .4s}.engine-head{align-items:center;gap:8px;display:flex}.engine-name{flex:1}.multipv{color:var(--text-dim);align-items:center;gap:6px;font-size:.9rem;display:flex}.multipv select{padding:4px 8px}.engine-status{margin:.4rem 0;font-size:.88rem}.lines{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.line{border-top:1px solid var(--border);align-items:baseline;gap:8px;padding-top:6px;display:flex}.score{text-align:center;font-variant-numeric:tabular-nums;border-radius:6px;min-width:52px;padding:1px 6px;font-weight:700}.score.white{color:#1d1915;background:#ece3d4}.score.black{color:#ece3d4;background:#0f0d0b}.pv{font-size:.92rem;line-height:1.7}.pv-move{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:0 3px}.pv-move:hover{background:var(--surface-2);color:var(--accent)}.notation{flex-direction:column;flex:1;min-height:260px;display:flex}.card-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px;display:flex}.card-actions{flex-wrap:wrap;display:flex}.moves{flex:1;min-height:120px;padding:4px 0;line-height:1.9;overflow-y:auto}.moves.empty{text-align:center;color:var(--text-dim);place-items:center;display:grid}.move-pair{white-space:nowrap}.move-number{color:var(--text-dim);font-variant-numeric:tabular-nums;margin:0 2px 0 6px}.move{cursor:pointer;background:0 0;border:none;border-radius:5px;padding:1px 5px;font-weight:600}.move:hover{background:var(--surface-2)}.move.current{background:var(--accent);color:var(--accent-text)}.variation{color:var(--variation);white-space:normal}.variation .move{font-weight:400}.move-comment{color:var(--comment);white-space:normal;margin:0 6px}.node-actions{justify-content:flex-end;gap:8px;display:flex}.comment{resize:vertical;min-height:64px;margin-top:8px}.modal{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:12px;width:min(560px,100vw - 32px);padding:18px 20px}.modal::backdrop{background:#0000008c}.modal h2{text-transform:none;letter-spacing:0;color:var(--text);font-size:1.05rem}.modal-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.pgn-input{min-height:220px;font-family:ui-monospace,Consolas,monospace;font-size:.85rem}.file-input{color:var(--text-dim);margin-top:8px;font-size:.9rem;display:block}.file-input input{margin-top:4px;display:block}.toast{background:var(--surface-2);border:1px solid var(--border);z-index:50;border-radius:8px;padding:8px 14px;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.login{place-items:center;min-height:100%;padding:16px;display:grid}.login-card{width:min(400px,100%);padding:24px}.login-card h1{text-align:center;margin-bottom:1rem}.page{flex-direction:column;gap:14px;width:100%;max-width:900px;margin:0 auto;padding:20px 16px;display:flex;overflow-y:auto}.page.narrow{max-width:520px}.inline-form{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.inline-form .field{margin-bottom:0}.invite-created{border-color:var(--accent);flex-direction:column;gap:8px;display:flex}.invite-code{letter-spacing:.08em;color:var(--accent);font-size:1.5rem}.invite-link{word-break:break-all;color:var(--text-dim);font-size:.85rem}.invite-created .button{align-self:flex-start}.table{border-collapse:collapse;width:100%}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);padding:8px 6px}.table th{color:var(--text-dim);font-size:.85rem;font-weight:600}.state.open{color:var(--success)}.state.expired{color:var(--text-dim)}.button.big{padding:13px 18px;font-size:1.05rem}.button.danger{background:var(--danger);color:#fff}a.button{text-align:center;text-decoration:none;display:inline-block}.row{flex-wrap:wrap;gap:8px;display:flex}.play{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:start;max-width:1000px;display:grid}.play .live-banner,.play>.error{grid-column:1/-1}.play-card{flex-direction:column;gap:12px;padding:16px;display:flex}.play-card h2{text-transform:none;letter-spacing:0;color:var(--text);margin:0;font-size:1.1rem}.play-card select{width:100%;padding:10px}.choices{border:none;margin:0;padding:0}.choices legend{color:var(--text-dim);margin-bottom:6px;padding:0;font-size:.9rem}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{background:var(--surface-2);border:1px solid var(--border);cursor:pointer;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-height:44px;padding:8px 12px;line-height:1.2;display:flex}.chip small{color:var(--text-dim);font-size:.72rem}.chip.selected{border-color:var(--accent);color:var(--accent);background:#d9a44129}.live-banner{border-color:var(--accent);color:var(--text);justify-content:space-between;align-items:center;text-decoration:none;display:flex}.live-banner span{color:var(--accent);font-weight:600}.challenge-wait{flex-direction:column;gap:12px;padding:18px;display:flex}.waiting{color:var(--text-dim);align-items:center;gap:10px;display:flex}.spinner{border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;width:18px;height:18px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.game{flex:1;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:16px;min-height:0;padding:12px 16px;display:grid}.game-board{flex-direction:column;align-items:center;gap:6px;min-height:0;display:flex}.game-area{flex:1;justify-content:center;align-items:center;width:100%;min-height:0;display:flex}.player{align-items:center;gap:10px;width:100%;max-width:900px;padding:4px 2px;display:flex}.dot{border:1px solid var(--border);border-radius:50%;flex-shrink:0;width:14px;height:14px}.dot.white{background:#f1ebe0}.dot.black{background:#0f0d0b}.player-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600;overflow:hidden}.player .you{color:var(--text-dim);font-weight:400}.thinking{color:var(--accent);font-weight:400}.clock{--seg-on:#3dff6e;--seg-glow:#3dff6ea6;opacity:.55;background:#040a05;border:1px solid #1b2a1d;border-radius:6px;justify-content:flex-end;align-items:center;min-width:120px;height:44px;padding:6px 10px;transition:opacity .2s;display:inline-flex;box-shadow:inset 0 2px 6px #000000e6,0 1px #ffffff0a}.clock .seven-segment{width:auto;height:100%;display:block}.clock .seg{fill:var(--seg-on);opacity:.07}.clock .seg.on,.clock.running{opacity:1}.clock.running .seven-segment{filter:drop-shadow(0 0 3px var(--seg-glow))}.clock.low{--seg-on:#ff3b2f;--seg-glow:#ff3b2fb3}@media (width<=600px){.clock{min-width:96px;height:36px}}.game-side{flex-direction:column;gap:10px;min-height:0;display:flex}.game-moves{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-wrap:wrap;align-content:flex-start;gap:4px 12px;max-height:50vh;padding:10px 12px;display:flex;overflow-y:auto}.move-row{white-space:nowrap}.move-row .san{margin-left:4px;font-weight:600}.game-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.game-actions .button{flex:1;min-height:46px}.confirm-text{width:100%;font-weight:600}.result{text-align:center;border-color:var(--accent)}.result-score{font-size:2rem;display:block}.result-actions{flex-direction:column;gap:8px;display:flex}.offer{border-color:var(--accent)}.game-info{margin:0}.game-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.game-row{text-align:left;cursor:pointer;align-items:center;gap:12px;width:100%;display:flex}.game-row:hover{border-color:var(--accent)}.game-row-main{flex-direction:column;flex:1;min-width:0;display:flex}.outcome{text-align:center;background:var(--surface-2);border-radius:6px;min-width:78px;padding:3px 6px;font-size:.85rem;font-weight:700}.outcome.win{color:var(--success)}.outcome.loss{color:var(--danger)}.outcome.playing{color:var(--accent)}.openings h2{margin:.7rem 0 .3rem}.openings h2:first-child{margin-top:0}.opening-name,.last-move{margin:0}.table-scroll{overflow-x:auto}.continuations th,.continuations td{white-space:nowrap;padding:6px;font-size:.88rem}.continuations .num{text-align:right;font-variant-numeric:tabular-nums}.continuations .san{font-weight:700}.continuations .piece{color:var(--text-dim)}.continuations .opening-cell{text-overflow:ellipsis;max-width:180px;overflow:hidden}.continuations tr.clickable{cursor:pointer}.continuations tr.clickable:hover td{background:var(--surface-2);color:var(--accent)}.review h2{margin:.8rem 0 .4rem}.review .card-head h2{margin:0}.progress{flex-direction:column;gap:4px;display:flex}.progress:before{content:"";background:var(--surface-2);border-radius:3px;height:6px;display:block}.progress-bar{background:var(--accent);border-radius:3px;height:6px;margin-top:-10px;transition:width .3s}.review-players{grid-template-columns:1fr 1fr;gap:10px;margin:6px 0 10px;display:grid}.review-player{background:var(--surface-2);border-radius:8px;flex-direction:column;padding:8px 10px;display:flex}.review-name{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;font-weight:600;display:flex;overflow:hidden}.review-accuracy{margin-top:4px;font-size:1.6rem;line-height:1.2}.review-counts{margin:6px 0 0;padding:0;font-size:.85rem;list-style:none}.review-counts li{align-items:center;gap:6px;display:flex}.review-counts strong{margin-left:auto}.count-dot{border-radius:50%;flex-shrink:0;width:9px;height:9px}.eval-graph{cursor:pointer;border-radius:6px;width:100%;height:110px;display:block}.graph-black{fill:#3a3530}.graph-white{fill:#ece3d4}.graph-mid{stroke:#8a7f70;stroke-width:.6px;stroke-dasharray:3 3}.graph-cursor{stroke:var(--accent);stroke-width:1.4px}.graph-dot{stroke:#1d1915;stroke-width:.8px}.moments{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.moment{text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;width:100%;padding:6px 8px}.moment:hover,.moment.selected{background:var(--surface-2);border-color:var(--border)}.moment-move{font-weight:700}.moment-notes{background:var(--surface-2);border-radius:8px;margin:8px 0;padding:8px 12px}.moment-notes p{margin:.2rem 0}.moment-notes ul{margin:.3rem 0;padding-left:1.1rem}.move-mark{margin-left:1px;font-weight:700}.rating-change .up{color:var(--success)}.rating-change .down{color:var(--danger)}tr.inactive td{color:var(--text-dim)}.row-actions{white-space:nowrap;text-align:right}@media (width<=860px){.shell{padding-bottom:calc(60px + env(safe-area-inset-bottom))}.tabs{z-index:30;background:var(--surface);border-top:1px solid var(--border);padding:4px 4px env(safe-area-inset-bottom);justify-content:space-around;gap:0;position:fixed;bottom:0;left:0;right:0}.tabs a{flex-direction:column;flex:1;gap:2px;padding:6px 0;font-size:.72rem}.tabs a.active{color:var(--accent);background:0 0}.tabs svg{width:24px;height:24px}.topbar{height:46px}.link-state{margin-left:auto;display:inline}.game{grid-template-rows:auto auto;grid-template-columns:1fr;align-content:start;gap:8px;padding:6px 8px;overflow-y:auto}.game-area{flex:none;height:min(100vw - 16px,100dvh - 226px)}.clock{min-width:84px;font-size:1.35rem}.game-moves{flex-wrap:nowrap;max-height:none;overflow:auto hidden}.play{grid-template-columns:1fr;padding:12px 10px}.analysis{grid-template-rows:auto auto;grid-template-columns:1fr;padding:8px;overflow-y:auto}.board-area{height:min(calc(100vw - 16px), calc(100dvh - var(--topbar) - 64px));flex:none}.board-toolbar{padding-top:4px}.side{overflow:visible}.topbar{gap:10px;padding:0 10px}}.chat{flex-direction:column;gap:8px;display:flex}.chat-head{align-items:center;gap:8px;display:flex}.chat-lock{color:var(--success);font-size:.8rem}.chat-unread{background:var(--accent);color:var(--accent-text);border-radius:999px;margin-left:auto;padding:1px 8px;font-size:.75rem}.chat-lines{flex-direction:column;gap:6px;min-height:60px;max-height:220px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.chat-line{background:var(--bg);border:1px solid var(--border);overflow-wrap:anywhere;border-radius:12px;flex-direction:column;max-width:85%;padding:6px 10px;display:flex}.chat-line.mine{background:color-mix(in srgb, var(--accent) 18%, var(--surface));border-color:color-mix(in srgb, var(--accent) 40%, var(--border));align-self:flex-end}.chat-line.theirs{align-self:flex-start}.chat-time{color:var(--text-dim);align-self:flex-end;font-size:.7rem}.chat-form{gap:6px;display:flex}.chat-form input{background:var(--bg);min-width:0;color:var(--text);border:1px solid var(--border);border-radius:var(--radius);font:inherit;flex:1;padding:8px 10px}.chat-form input:focus{outline:2px solid var(--accent);outline-offset:-1px}.chat-status{margin:0}.chat-safety summary{cursor:pointer;color:var(--text-dim)}.chat-safety code{color:var(--text);letter-spacing:.05em}.chat-safety p{margin:6px 0 0}.link-button{color:var(--accent);cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.page.wide{max-width:1100px}.page.learn{flex-direction:column;gap:14px;display:flex}.learn-intro h1{margin:0 0 4px}.learn-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;display:grid}.learn-card{flex-direction:column;gap:8px;display:flex}.learn-card h2{margin:0;font-size:1.15rem}.learn-card p{margin:0}.learn-card>.button,.learn-card .row{margin-top:auto}.learn-card.featured{border-color:color-mix(in srgb, var(--accent) 45%, var(--border));grid-column:1/-1}.learn-stat strong{color:var(--accent);font-size:1.2rem}.learn-run-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.learn-layout{grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr);align-items:start;gap:16px;display:grid}@media (width<=760px){.learn-layout{grid-template-columns:1fr}}.learn-board{justify-content:center;min-width:0;display:flex}.learn-panel{flex-direction:column;gap:10px;display:flex}.learn-panel p{margin:0}.learn-prompt{font-size:1.1rem;font-weight:700}.learn-moves{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.options{grid-template-columns:1fr 1fr;gap:8px;display:grid}.option{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;cursor:pointer;text-align:center;min-height:48px;padding:12px 10px;font-weight:600}.option:hover:not(:disabled){border-color:var(--accent)}.option:disabled{cursor:default}.option.right{background:color-mix(in srgb, var(--success) 30%, var(--surface));border-color:var(--success)}.option.wrong{background:color-mix(in srgb, var(--danger) 30%, var(--surface));border-color:var(--danger)}.option.faded{opacity:.5}.feedback{border-radius:var(--radius);border-left:4px solid var(--border);background:var(--bg);padding:8px 10px}.feedback.right{border-left-color:var(--success)}.feedback.wrong{border-left-color:var(--danger)}.note{border-radius:var(--radius);background:color-mix(in srgb, var(--comment) 12%, var(--surface));color:var(--text);padding:8px 10px}.progress{background:var(--bg);border-radius:3px;height:6px;overflow:hidden}.progress-bar{background:var(--accent);height:100%;transition:width .3s}.learn-end{text-align:center;flex-direction:column;align-items:center;gap:10px;display:flex}.learn-score{margin:0;font-size:1.4rem}.learn-next{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.lesson-list,.family-list,.card-list{flex-direction:column;margin:8px 0 0;padding:0;list-style:none;display:flex}.lesson-list li,.family-list li,.card-list li{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.lesson-list p{margin:2px 0 0}.button.small{white-space:nowrap;padding:4px 12px;font-size:.85rem}.toast-inline{border-radius:var(--radius);background:var(--surface-2);margin:0;padding:8px 12px}.splash.small{font-size:1rem}.theory-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.theory-head .chip{margin-left:auto}.rich-text{max-height:360px;margin-top:6px;line-height:1.5;overflow-y:auto}.rich-text h4{margin:10px 0 4px;font-size:1rem}.rich-text h5{color:var(--text-dim);margin:8px 0 2px;font-size:.95rem}.rich-text p{margin:0 0 8px}.rich-text ul{margin:0 0 8px;padding-left:18px}.theory-source{margin:8px 0 0}.theory-source a{color:var(--accent)}
