@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-ext-wght-normal-BOFOeGcA.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Syne Variable;font-style:normal;font-display:swap;font-weight:400 800;src:url(/assets/syne-greek-wght-normal-5tOOQDeJ.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Syne Variable;font-style:normal;font-display:swap;font-weight:400 800;src:url(/assets/syne-latin-ext-wght-normal-JjI8ZrW1.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Syne Variable;font-style:normal;font-display:swap;font-weight:400 800;src:url(/assets/syne-latin-wght-normal-BVsvWWA4.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-mono-latin-ext-400-normal-C2zvOubV.woff2)format("woff2"),url(/assets/dm-mono-latin-ext-400-normal-1aZr6b2b.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/dm-mono-latin-400-normal-4GdczIuU.woff2)format("woff2"),url(/assets/dm-mono-latin-400-normal--0xN8mdc.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/dm-mono-latin-ext-500-normal-BtRyHRi6.woff2)format("woff2"),url(/assets/dm-mono-latin-ext-500-normal-Dw3M13d8.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/dm-mono-latin-500-normal-DRMDZjhP.woff2)format("woff2"),url(/assets/dm-mono-latin-500-normal-CN8Miw6E.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.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%)}.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+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIGZpbGw9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJidXR0Ij48cGF0aCBkPSJNOSAzNmMzLjM5LS45NyAxMC4xMS40MyAxMy41LTIgMy4zOSAyLjQzIDEwLjExIDEuMDMgMTMuNSAyIDAgMCAxLjY1LjU0IDMgMi0uNjguOTctMS42NS45OS0zIC41LTMuMzktLjk3LTEwLjExLjQ2LTEzLjUtMS0zLjM5IDEuNDYtMTAuMTEuMDMtMTMuNSAxLTEuMzU0LjQ5LTIuMzIzLjQ3LTMtLjUgMS4zNTQtMS45NCAzLTIgMy0yeiIvPjxwYXRoIGQ9Ik0xNSAzMmMyLjUgMi41IDEyLjUgMi41IDE1IDAgLjUtMS41IDAtMiAwLTIgMC0yLjUtMi41LTQtMi41LTQgNS41LTEuNSA2LTExLjUtNS0xNS41LTExIDQtMTAuNSAxNC01IDE1LjUgMCAwLTIuNSAxLjUtMi41IDQgMCAwLS41LjUgMCAyeiIvPjxwYXRoIGQ9Ik0yNSA4YTIuNSAyLjUgMCAxIDEtNSAwIDIuNSAyLjUgMCAxIDEgNSAweiIvPjwvZz48cGF0aCBkPSJNMTcuNSAyNmgxME0xNSAzMGgxNW0tNy41LTE0LjV2NU0yMCAxOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.knight.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMiAxMGMxMC41IDEgMTYuNSA4IDE2IDI5SDE1YzAtOSAxMC02LjUgOC0yMSIgZmlsbD0iI2ZmZiIvPjxwYXRoIGQ9Ik0yNCAxOGMuMzggMi45MS01LjU1IDcuMzctOCA5LTMgMi0yLjgyIDQuMzQtNSA0LTEuMDQyLS45NCAxLjQxLTMuMDQgMC0zLTEgMCAuMTkgMS4yMy0xIDItMSAwLTQuMDAzIDEtNC00IDAtMiA2LTEyIDYtMTJzMS44OS0xLjkgMi0zLjVjLS43My0uOTk0LS41LTItLjUtMyAxLTEgMyAyLjUgMyAyLjVoMnMuNzgtMS45OTIgMi41LTNjMSAwIDEgMyAxIDMiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNOS41IDI1LjVhLjUuNSAwIDEgMS0xIDAgLjUuNSAwIDEgMSAxIDB6bTUuNDMzLTkuNzVhLjUgMS41IDMwIDEgMS0uODY2LS41LjUgMS41IDMwIDEgMSAuODY2LjV6IiBmaWxsPSIjMDAwIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.rook.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik05IDM5aDI3di0zSDl2M3ptMy0zdi00aDIxdjRIMTJ6bS0xLTIyVjloNHYyaDVWOWg1djJoNVY5aDR2NSIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiLz48cGF0aCBkPSJNMzQgMTRsLTMgM0gxNGwtMy0zIi8+PHBhdGggZD0iTTMxIDE3djEyLjVIMTRWMTciIHN0cm9rZS1saW5lY2FwPSJidXR0IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMxIDI5LjVsMS41IDIuNWgtMjBsMS41LTIuNSIvPjxwYXRoIGQ9Ik0xMSAxNGgyMyIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIvPjwvZz48L3N2Zz4=)}.cg-wrap piece.queen.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik04IDEyYTIgMiAwIDEgMS00IDAgMiAyIDAgMSAxIDQgMHptMTYuNS00LjVhMiAyIDAgMSAxLTQgMCAyIDIgMCAxIDEgNCAwek00MSAxMmEyIDIgMCAxIDEtNCAwIDIgMiAwIDEgMSA0IDB6TTE2IDguNWEyIDIgMCAxIDEtNCAwIDIgMiAwIDEgMSA0IDB6TTMzIDlhMiAyIDAgMSAxLTQgMCAyIDIgMCAxIDEgNCAweiIvPjxwYXRoIGQ9Ik05IDI2YzguNS0xLjUgMjEtMS41IDI3IDBsMi0xMi03IDExVjExbC01LjUgMTMuNS0zLTE1LTMgMTUtNS41LTE0VjI1TDcgMTRsMiAxMnoiIHN0cm9rZS1saW5lY2FwPSJidXR0Ii8+PHBhdGggZD0iTTkgMjZjMCAyIDEuNSAyIDIuNSA0IDEgMS41IDEgMSAuNSAzLjUtMS41IDEtMS41IDIuNS0xLjUgMi41LTEuNSAxLjUuNSAyLjUuNSAyLjUgNi41IDEgMTYuNSAxIDIzIDAgMCAwIDEuNS0xIDAtMi41IDAgMCAuNS0xLjUtMS0yLjUtLjUtMi41LS41LTIgLjUtMy41IDEtMiAyLjUtMiAyLjUtNC04LjUtMS41LTE4LjUtMS41LTI3IDB6IiBzdHJva2UtbGluZWNhcD0iYnV0dCIvPjxwYXRoIGQ9Ik0xMS41IDMwYzMuNS0xIDE4LjUtMSAyMiAwTTEyIDMzLjVjNi0xIDE1LTEgMjEgMCIgZmlsbD0ibm9uZSIvPjwvZz48L3N2Zz4=)}.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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==)}.cg-wrap piece.bishop.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIGZpbGw9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJidXR0Ij48cGF0aCBkPSJNOSAzNmMzLjM5LS45NyAxMC4xMS40MyAxMy41LTIgMy4zOSAyLjQzIDEwLjExIDEuMDMgMTMuNSAyIDAgMCAxLjY1LjU0IDMgMi0uNjguOTctMS42NS45OS0zIC41LTMuMzktLjk3LTEwLjExLjQ2LTEzLjUtMS0zLjM5IDEuNDYtMTAuMTEuMDMtMTMuNSAxLTEuMzU0LjQ5LTIuMzIzLjQ3LTMtLjUgMS4zNTQtMS45NCAzLTIgMy0yeiIvPjxwYXRoIGQ9Ik0xNSAzMmMyLjUgMi41IDEyLjUgMi41IDE1IDAgLjUtMS41IDAtMiAwLTIgMC0yLjUtMi41LTQtMi41LTQgNS41LTEuNSA2LTExLjUtNS0xNS41LTExIDQtMTAuNSAxNC01IDE1LjUgMCAwLTIuNSAxLjUtMi41IDQgMCAwLS41LjUgMCAyeiIvPjxwYXRoIGQ9Ik0yNSA4YTIuNSAyLjUgMCAxIDEtNSAwIDIuNSAyLjUgMCAxIDEgNSAweiIvPjwvZz48cGF0aCBkPSJNMTcuNSAyNmgxME0xNSAzMGgxNW0tNy41LTE0LjV2NU0yMCAxOGg1IiBzdHJva2U9IiNlY2VjZWMiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48L2c+PC9zdmc+)}.cg-wrap piece.knight.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMiAxMGMxMC41IDEgMTYuNSA4IDE2IDI5SDE1YzAtOSAxMC02LjUgOC0yMSIgZmlsbD0iIzAwMCIvPjxwYXRoIGQ9Ik0yNCAxOGMuMzggMi45MS01LjU1IDcuMzctOCA5LTMgMi0yLjgyIDQuMzQtNSA0LTEuMDQyLS45NCAxLjQxLTMuMDQgMC0zLTEgMCAuMTkgMS4yMy0xIDItMSAwLTQuMDAzIDEtNC00IDAtMiA2LTEyIDYtMTJzMS44OS0xLjkgMi0zLjVjLS43My0uOTk0LS41LTItLjUtMyAxLTEgMyAyLjUgMyAyLjVoMnMuNzgtMS45OTIgMi41LTNjMSAwIDEgMyAxIDMiIGZpbGw9IiMwMDAiLz48cGF0aCBkPSJNOS41IDI1LjVhLjUuNSAwIDEgMS0xIDAgLjUuNSAwIDEgMSAxIDB6bTUuNDMzLTkuNzVhLjUgMS41IDMwIDEgMS0uODY2LS41LjUgMS41IDMwIDEgMSAuODY2LjV6IiBmaWxsPSIjZWNlY2VjIiBzdHJva2U9IiNlY2VjZWMiLz48cGF0aCBkPSJNMjQuNTUgMTAuNGwtLjQ1IDEuNDUuNS4xNWMzLjE1IDEgNS42NSAyLjQ5IDcuOSA2Ljc1UzM1Ljc1IDI5LjA2IDM1LjI1IDM5bC0uMDUuNWgyLjI1bC4wNS0uNWMuNS0xMC4wNi0uODgtMTYuODUtMy4yNS0yMS4zNC0yLjM3LTQuNDktNS43OS02LjY0LTkuMTktNy4xNmwtLjUxLS4xeiIgZmlsbD0iI2VjZWNlYyIgc3Ryb2tlPSJub25lIi8+PC9nPjwvc3ZnPg==)}.cg-wrap piece.rook.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik05IDM5aDI3di0zSDl2M3ptMy41LTdsMS41LTIuNWgxN2wxLjUgMi41aC0yMHptLS41IDR2LTRoMjF2NEgxMnoiIHN0cm9rZS1saW5lY2FwPSJidXR0Ii8+PHBhdGggZD0iTTE0IDI5LjV2LTEzaDE3djEzSDE0eiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMTQgMTYuNUwxMSAxNGgyM2wtMyAyLjVIMTR6TTExIDE0VjloNHYyaDVWOWg1djJoNVY5aDR2NUgxMXoiIHN0cm9rZS1saW5lY2FwPSJidXR0Ii8+PHBhdGggZD0iTTEyIDM1LjVoMjFtLTIwLTRoMTltLTE4LTJoMTdtLTE3LTEzaDE3TTExIDE0aDIzIiBmaWxsPSJub25lIiBzdHJva2U9IiNlY2VjZWMiIHN0cm9rZS13aWR0aD0iMSIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIvPjwvZz48L3N2Zz4=)}.cg-wrap piece.queen.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIHN0cm9rZT0ibm9uZSI+PGNpcmNsZSBjeD0iNiIgY3k9IjEyIiByPSIyLjc1Ii8+PGNpcmNsZSBjeD0iMTQiIGN5PSI5IiByPSIyLjc1Ii8+PGNpcmNsZSBjeD0iMjIuNSIgY3k9IjgiIHI9IjIuNzUiLz48Y2lyY2xlIGN4PSIzMSIgY3k9IjkiIHI9IjIuNzUiLz48Y2lyY2xlIGN4PSIzOSIgY3k9IjEyIiByPSIyLjc1Ii8+PC9nPjxwYXRoIGQ9Ik05IDI2YzguNS0xLjUgMjEtMS41IDI3IDBsMi41LTEyLjVMMzEgMjVsLS4zLTE0LjEtNS4yIDEzLjYtMy0xNC41LTMgMTQuNS01LjItMTMuNkwxNCAyNSA2LjUgMTMuNSA5IDI2eiIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiLz48cGF0aCBkPSJNOSAyNmMwIDIgMS41IDIgMi41IDQgMSAxLjUgMSAxIC41IDMuNS0xLjUgMS0xLjUgMi41LTEuNSAyLjUtMS41IDEuNS41IDIuNS41IDIuNSA2LjUgMSAxNi41IDEgMjMgMCAwIDAgMS41LTEgMC0yLjUgMCAwIC41LTEuNS0xLTIuNS0uNS0yLjUtLjUtMiAuNS0zLjUgMS0yIDIuNS0yIDIuNS00LTguNS0xLjUtMTguNS0xLjUtMjcgMHoiIHN0cm9rZS1saW5lY2FwPSJidXR0Ii8+PHBhdGggZD0iTTExIDM4LjVhMzUgMzUgMSAwIDAgMjMgMCIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiLz48cGF0aCBkPSJNMTEgMjlhMzUgMzUgMSAwIDEgMjMgMG0tMjEuNSAyLjVoMjBtLTIxIDNhMzUgMzUgMSAwIDAgMjIgMG0tMjMgM2EzNSAzNSAxIDAgMCAyNCAwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlY2VjZWMiLz48L2c+PC9zdmc+)}.cg-wrap piece.king.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxwYXRoIGQ9Ik0yMi41IDExLjYzVjYiIHN0cm9rZS1saW5lam9pbj0ibWl0ZXIiLz48cGF0aCBkPSJNMjIuNSAyNXM0LjUtNy41IDMtMTAuNWMwIDAtMS0yLjUtMy0yLjVzLTMgMi41LTMgMi41Yy0xLjUgMyAzIDEwLjUgMyAxMC41IiBmaWxsPSIjMDAwIiBzdHJva2UtbGluZWNhcD0iYnV0dCIgc3Ryb2tlLWxpbmVqb2luPSJtaXRlciIvPjxwYXRoIGQ9Ik0xMS41IDM3YzUuNSAzLjUgMTUuNSAzLjUgMjEgMHYtN3M5LTQuNSA2LTEwLjVjLTQtNi41LTEzLjUtMy41LTE2IDRWMjd2LTMuNWMtMy41LTcuNS0xMy0xMC41LTE2LTQtMyA2IDUgMTAgNSAxMFYzN3oiIGZpbGw9IiMwMDAiLz48cGF0aCBkPSJNMjAgOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMyIDI5LjVzOC41LTQgNi4wMy05LjY1QzM0LjE1IDE0IDI1IDE4IDIyLjUgMjQuNWwuMDEgMi4xLS4wMS0yLjFDMjAgMTggOS45MDYgMTQgNi45OTcgMTkuODVjLTIuNDk3IDUuNjUgNC44NTMgOSA0Ljg1MyA5IiBzdHJva2U9IiNlY2VjZWMiLz48cGF0aCBkPSJNMTEuNSAzMGM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwbS0yMSAzLjVjNS41LTMgMTUuNS0zIDIxIDAiIHN0cm9rZT0iI2VjZWNlYyIvPjwvZz48L3N2Zz4=)}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--board-step:8px;--bg:var(--t-surface);--surface:var(--t-low);--surface-2:var(--t-cont);--surface-3:var(--t-high);--surface-4:var(--t-highest);--border:#ffffff12;--border-strong:#ffffff21;--text:var(--t-on);--text-2:var(--t-on-var);--muted:color-mix(in srgb, var(--t-on-var) 72%, var(--t-surface));--accent:var(--t-on);--accent-hover:#fff;--accent-ink:#0b0b0c;--accent-soft:#ffffff14;--brand:var(--t-primary);--brand-ink:var(--t-on-primary);--brand-card:var(--t-pc);--brand-card-text:var(--t-opc);--card:var(--t-cont);--card-hover:var(--t-high);--side:var(--t-low);--card-edge:inset 0 0 0 1px #ffffff0f;--card-row:#ffffff06;--win:#7fc35f;--danger:#ef6b5f;--white-piece:#f2f2f3;--black-piece:#111113;--bar-light:#ececee;--bar-dark:var(--t-high);--warn:#e0b25b;--streak:#ff8f3f;--heart:#db61a2;--btn:#ffffff16;--btn-hover:#ffffff24;--tone-sky:var(--brand);--tone-amber:var(--streak);--tone-violet:#a78bfa;--tone-rose:#fb7185;--tone-green:#4ade80;--tone-blue:#38bdf8;--tone-pink:#f472b6;--tint:#ffffff06;--guide:#ffffff24;--guide-strong:#ffffff4d;--float-bg:color-mix(in srgb, var(--t-surface) 95%, transparent);--scrim:#000000a8;--shadow-pop:0 18px 60px #0009;--shadow-chip:0 2px 6px #0006;--dark-piece-glow:drop-shadow(0 0 1px #ffffff8c);--font-ui:"DM Sans Variable", "DM Sans", "Helvetica Neue", Arial, sans-serif;--font-mono:"DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;--font-display:"Syne Variable", Syne, var(--font-ui);--nav-h:56px;--player-h:48px;--gap:24px;--pad-x:28px;--pad-y:20px;--panel-w:400px;--evalbar-w:20px;--side-w:0px;--tabbar-h:0px;--safe-top:0px;--safe-bottom:env(safe-area-inset-bottom);--app-h:100dvh;font-family:var(--font-ui);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.45}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:var(--t-cont);--surface:var(--t-lowest);--surface-2:var(--t-low);--surface-3:var(--t-high);--surface-4:var(--t-highest);--border:#00000014;--border-strong:#00000026;--text:var(--t-on);--text-2:var(--t-on-var);--muted:color-mix(in srgb, var(--t-on-var) 82%, var(--t-lowest));--accent:var(--t-on);--accent-hover:#000;--accent-ink:#fff;--accent-soft:#0000000d;--brand:var(--t-primary);--brand-ink:var(--t-on-primary);--brand-card:var(--t-pc);--brand-card-text:var(--t-opc);--card:var(--t-lowest);--card-hover:var(--t-low);--side:var(--t-low);--card-edge:inset 0 0 0 1px #0000000d;--card-row:#00000006;--win:#4c9a2a;--danger:#d4433a;--warn:#a2700f;--streak:#e2620b;--heart:#bf3989;--btn:#0000000f;--btn-hover:#0000001a;--tone-violet:#7c3aed;--tone-rose:#e11d48;--tone-green:#16a34a;--tone-blue:#0284c7;--tone-pink:#db2777;--tint:#00000006;--guide:#00000024;--guide-strong:#0000004d;--float-bg:color-mix(in srgb, var(--t-lowest) 97%, transparent);--scrim:#14141a52;--shadow-pop:0 18px 50px #00000024, 0 2px 8px #0000000f;--shadow-chip:0 2px 6px #0000002e;--dark-piece-glow:none}:root[data-palette=gold]{--t-surface:#16130d;--t-lowest:#110e09;--t-low:#1d1a14;--t-cont:#221e17;--t-high:#2c2821;--t-highest:#37322b;--t-on:#ede3d3;--t-on-var:#d0c5b4;--t-primary:#efc570;--t-on-primary:#3d2b00;--t-pc:#4b3a19;--t-opc:#f6dfb2;--t-sc:#4a4031;--t-osc:#f8dfbb}:root[data-palette=gold][data-theme=light]{--t-surface:#fff8f3;--t-lowest:#fff;--t-low:#fff2e2;--t-cont:#fdebd5;--t-high:#f7e6d0;--t-highest:#f1e0ca;--t-on:#221a0d;--t-on-var:#514531;--t-primary:#8a5c00;--t-on-primary:#fff;--t-pc:#fdd481;--t-opc:#3f2c00;--t-sc:#f8dfbb;--t-osc:#55442a}:root,:root[data-palette=sky]{--t-surface:#0b151a;--t-lowest:#060f15;--t-low:#131d23;--t-cont:#172127;--t-high:#222b31;--t-highest:#2c363c;--t-on:#dae4ec;--t-on-var:#bbc8d2;--t-primary:#7bd0ff;--t-on-primary:#00354a;--t-pc:#004c69;--t-opc:#c4e7ff;--t-sc:#374955;--t-osc:#d1e5f4}:root[data-theme=light],:root[data-palette=sky][data-theme=light]{--t-surface:#f5faff;--t-lowest:#fff;--t-low:#ebf5fd;--t-cont:#e5eff7;--t-high:#e0e9f2;--t-highest:#dae4ec;--t-on:#131d23;--t-on-var:#3c4851;--t-primary:#00668a;--t-on-primary:#fff;--t-pc:#c4e7ff;--t-opc:#004c69;--t-sc:#d1e5f4;--t-osc:#374955}:root[data-palette=indigo]{--t-surface:#12131c;--t-lowest:#0d0d17;--t-low:#1a1b25;--t-cont:#1e1f29;--t-high:#292934;--t-highest:#33343f;--t-on:#e3e1ef;--t-on-var:#c6c5d6;--t-primary:#bdc2ff;--t-on-primary:#0010a2;--t-pc:#3c4279;--t-opc:#e0e0ff;--t-sc:#444559;--t-osc:#e1e0f9}:root[data-palette=indigo][data-theme=light]{--t-surface:#fbf8ff;--t-lowest:#fff;--t-low:#f4f2ff;--t-cont:#eeecfb;--t-high:#e8e7f5;--t-highest:#e3e1ef;--t-on:#1a1b25;--t-on-var:#454654;--t-primary:#2c3fff;--t-on-primary:#fff;--t-pc:#e0e0ff;--t-opc:#3c4279;--t-sc:#e1e0f9;--t-osc:#444559}:root[data-palette=coral]{--t-surface:#1e100c;--t-lowest:#180b08;--t-low:#271814;--t-cont:#2b1c18;--t-high:#372622;--t-highest:#42312c;--t-on:#f9dcd6;--t-on-var:#e0bfb8;--t-primary:#f6b8a9;--t-on-primary:#621100;--t-pc:#5f3a30;--t-opc:#fbdcd4;--t-sc:#5d4038;--t-osc:#ffdad2}:root[data-palette=coral][data-theme=light]{--t-surface:#fff8f6;--t-lowest:#fff;--t-low:#fff1ed;--t-cont:#ffe9e4;--t-high:#ffe2db;--t-highest:#f9dcd6;--t-on:#271814;--t-on-var:#58413c;--t-primary:#a3432b;--t-on-primary:#fff;--t-pc:#ffdad2;--t-opc:#723425;--t-sc:#ffdad2;--t-osc:#5d4038}:root[data-palette=forest]{--t-surface:#0b1610;--t-lowest:#06100b;--t-low:#131e18;--t-cont:#17221c;--t-high:#212c26;--t-highest:#2c3731;--t-on:#d9e6dc;--t-on-var:#bacbbf;--t-primary:#00e2a0;--t-on-primary:#003825;--t-pc:#005137;--t-opc:#a9f2cd;--t-sc:#364b40;--t-osc:#cfe9d9}:root[data-palette=forest][data-theme=light]{--t-surface:#effdf3;--t-lowest:#fff;--t-low:#eaf7ed;--t-cont:#e4f1e7;--t-high:#deebe2;--t-highest:#d9e6dc;--t-on:#131e18;--t-on-var:#3b4a42;--t-primary:#006c4b;--t-on-primary:#fff;--t-pc:#a9f2cd;--t-opc:#005137;--t-sc:#cfe9d9;--t-osc:#364b40}:root[data-palette=ivory]{--t-surface:#131313;--t-lowest:#0e0e0e;--t-low:#1b1b1b;--t-cont:#1f1f1f;--t-high:#2a2a2a;--t-highest:#353535;--t-on:#e2e2e2;--t-on-var:#c6c6c6;--t-primary:#fff;--t-on-primary:#1b1b1b;--t-pc:#d4d4d4;--t-opc:#000;--t-sc:#474747;--t-osc:#e2e2e2}:root[data-palette=ivory][data-theme=light]{--t-surface:#f9f9f9;--t-lowest:#fff;--t-low:#f3f3f3;--t-cont:#eee;--t-high:#e8e8e8;--t-highest:#e2e2e2;--t-on:#1b1b1b;--t-on-var:#474747;--t-primary:#000;--t-on-primary:#e2e2e2;--t-pc:#3b3b3b;--t-opc:#fff;--t-sc:#d4d4d4;--t-osc:#1b1b1b}:root[data-palette=lime]{--t-surface:#0a0a0b;--t-lowest:#050506;--t-low:#111113;--t-cont:#161618;--t-high:#202023;--t-highest:#2a2a2e;--t-on:#f0f0f0;--t-on-var:#a7adb7;--t-primary:#bcdc8a;--t-on-primary:#213400;--t-pc:#34441f;--t-opc:#dcecc3;--t-sc:#2a2a2e;--t-osc:#e4e4e7}:root[data-palette=lime][data-theme=light]{--t-surface:#f7f8f3;--t-lowest:#fff;--t-low:#f1f3eb;--t-cont:#ebeee4;--t-high:#e5e8dd;--t-highest:#dfe2d7;--t-on:#18181b;--t-on-var:#464b52;--t-primary:#4f7417;--t-on-primary:#fff;--t-pc:#dcecbc;--t-opc:#22380a;--t-sc:#e2e6d6;--t-osc:#2a3320}:root[data-black]{--bg:#000;--surface:var(--t-lowest);--surface-2:var(--t-low);--surface-3:var(--t-cont);--surface-4:var(--t-high);--muted:color-mix(in srgb, var(--t-on-var) 72%, #000);--card:var(--t-low);--card-hover:var(--t-cont);--side:var(--t-lowest);--bar-dark:var(--t-cont);--float-bg:#000000f2}*,:before,:after{box-sizing:border-box}html,body{overflow-x:clip}html{-webkit-tap-highlight-color:transparent}@media (hover:none){button:active:not(:disabled),a:active{opacity:.7}}html{scrollbar-gutter:stable}body{background:var(--bg);min-height:100vh;margin:0}:root[data-app]{--safe-top:var(--safe-area-inset-top,env(safe-area-inset-top));--safe-bottom:var(--safe-area-inset-bottom,env(safe-area-inset-bottom));--app-h:calc(100dvh - var(--safe-top))}:root[data-app] body{box-sizing:border-box;padding-top:var(--safe-top)}:root[data-app] :is(.shell,.boot){min-height:var(--app-h)}:root[data-app] body:before{content:"";z-index:19;height:var(--safe-top);background:var(--bg);position:fixed;top:0;left:0;right:0}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--text);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:12.5px}.mono{font-family:var(--font-mono)}svg{flex-shrink:0}.btn{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:6px;height:40px;padding:0 16px;font-size:14px;font-weight:600;transition:background .15s,border-color .15s,color .15s,transform .1s;display:inline-flex}.btn:active:not(:disabled){transform:translateY(1px)}.btn svg{fill:currentColor;width:16px;height:16px}.btn.small{height:32px;padding:0 12px;font-size:13px}.btn.big{width:100%;height:48px;font-size:15px}.btn.primary{background:var(--accent);color:var(--accent-ink)}.btn.primary:hover:not(:disabled){background:var(--accent-hover)}.btn.primary:disabled{background:var(--surface-4);color:var(--muted)}.btn.ghost{background:var(--btn);color:var(--text);font-weight:550}.btn.ghost:hover:not(:disabled){background:var(--btn-hover)}.btn.ghost:disabled{color:var(--muted);opacity:.6}.btn.danger:hover:not(:disabled){color:var(--danger);background:color-mix(in srgb, var(--danger) 16%, transparent)}.icon-btn{width:36px;height:36px;color:var(--text-2);background:0 0;border:0;border-radius:8px;place-items:center;transition:background .15s,color .15s;display:grid}.icon-btn svg{fill:currentColor;width:20px;height:20px}.icon-btn:hover,.icon-btn.active{background:var(--surface-3);color:var(--text)}.input{border:1px solid var(--border-strong);background:var(--bg);width:100%;height:40px;color:var(--text);font:inherit;border-radius:8px;padding:0 12px;transition:border-color .15s}.input:focus{border-color:var(--text-2);outline:none}.input.mono,.textarea{font-family:var(--font-mono);font-size:12.5px}.textarea{resize:vertical;height:220px;padding:10px 12px;line-height:1.5}:root[data-side=sidebar]{--side-w:260px}:root[data-side=rail]{--side-w:84px}.shell{align-items:flex-start;min-height:100vh;display:flex}.shell[hidden]{display:none}.shell-page{flex:1;min-width:0;container:page/inline-size}.offline-bar{background:color-mix(in srgb, var(--warn) 14%, var(--surface));color:var(--text-2);text-align:center;justify-content:center;align-items:center;gap:8px;margin:0;padding:7px 16px;font-size:13px;animation:.25s ease-out offline-in;display:flex}.offline-bar svg{fill:none;width:16px;height:16px;stroke:var(--warn);stroke-width:2px;stroke-linecap:round;flex:none}@keyframes offline-in{0%{opacity:0;transform:translateY(-100%)}}.brand-logo{background:var(--brand);width:30px;height:30px;color:var(--brand-ink);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.brand-logo svg{width:22px;height:22px}.sidebar{z-index:30;box-sizing:border-box;background:var(--side);height:calc(100vh - 24px);min-height:420px;box-shadow:var(--card-edge);scrollbar-width:none;border-radius:22px;flex-direction:column;flex:0 0 248px;gap:4px;margin:12px 0 12px 12px;padding:16px 12px 12px;display:flex;position:sticky;top:12px;overflow:hidden auto}.sidebar.rail{flex-basis:72px}:root{--side-t:.32s;--side-ease:cubic-bezier(.32, .72, 0, 1)}@media (prefers-reduced-motion:reduce){:root{--side-t:0s}}.sidebar-wordmark,.sidebar-label,.soon-tag,.user-card-text,.user-card-gear{transition:opacity .2s .12s,visibility}.sidebar.rail :is(.sidebar-wordmark,.sidebar-label,.soon-tag,.user-card-text,.user-card-gear){opacity:0;visibility:hidden;transition:opacity .1s ease, visibility 0s linear var(--side-t)}.sidebar-head{white-space:nowrap;align-items:center;gap:6px;padding:0 0 16px;display:flex;position:relative}.sidebar-brand{color:var(--text);letter-spacing:-.02em;border-radius:10px;align-items:center;gap:10px;margin-left:3px;padding:6px;font-size:17px;font-weight:650;text-decoration:none;display:flex}.sidebar .sidebar-toggle{width:100%;height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;flex:none;padding:0 14px;font-size:14px}.sidebar .sidebar-toggle:hover{background:var(--surface-3);color:var(--text)}.sidebar-toggle svg{transition:transform var(--side-t) var(--side-ease);margin-left:auto}.sidebar-toggle .sidebar-label{flex:1;min-width:0}.sidebar.rail .sidebar-toggle{gap:0}.sidebar .sidebar-donate{height:38px;color:var(--heart);flex:none;margin-bottom:-8px;font-size:14px}.sidebar .sidebar-donate:hover{background:color-mix(in srgb, var(--heart) 12%, transparent);color:var(--heart)}.sidebar .sidebar-donate svg{fill:currentColor}.sidebar:not(.rail) .sidebar-toggle .sidebar-label{text-align:left;padding-left:32px}.sidebar.rail .sidebar-toggle svg{transform:rotate(180deg)}.icon-fill{fill:currentColor;stroke:none}.sidebar-toggle svg,.sidebar-item svg,.tab-item svg,.page-header-action svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.sidebar-nav{flex-direction:column;gap:2px;display:flex}.sidebar-item{white-space:nowrap;height:42px;color:var(--text-2);border-radius:11px;align-items:center;gap:12px;padding:0 12px 0 14px;font-size:14.5px;font-weight:550;text-decoration:none;transition:background .12s,color .12s;display:flex;overflow:hidden}.sidebar-item svg{flex-shrink:0;width:20px;height:20px}.sidebar-item:hover:not(.soon),.sidebar-item.active{background:var(--surface-3);color:var(--text)}.sidebar-item.soon{color:var(--muted);opacity:.6;cursor:default}.soon-tag{background:var(--surface-3);letter-spacing:.05em;text-transform:uppercase;border-radius:999px;margin-left:auto;padding:2px 7px;font-size:10px}.sidebar-foot{flex-direction:column;gap:10px;margin-top:auto;padding-top:16px;display:flex}.sidebar .user-card{box-sizing:border-box;flex:none;width:224px}.page-header{top:var(--safe-top);z-index:20;height:var(--nav-h);padding:0 var(--pad-x);background:var(--bg);align-items:center;gap:16px;display:flex;position:sticky}.page-header.phone-only,.page-header-home{display:none}.analysis-page .page-header{top:0}:root[data-app] .page-header:before{content:"";height:var(--safe-top);background:inherit;position:absolute;bottom:100%;left:0;right:0}.page-header-home{color:var(--text);letter-spacing:-.02em;align-items:center;gap:10px;font-size:17px;font-weight:650;text-decoration:none}.page-header-title{letter-spacing:-.01em;margin:0;font-size:18px;font-weight:650}.page-header-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.tabbar{z-index:35;padding:6px 8px calc(6px + var(--safe-bottom));border-top:1px solid var(--border);background:color-mix(in srgb, var(--brand) 12%, var(--surface));flex-direction:column;gap:8px;transition:translate .24s cubic-bezier(.22,1,.36,1),opacity .2s;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar>*{box-sizing:border-box;width:100%;max-width:600px;margin-inline:auto}.tabbar-tabs{grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:relative}.tabbar .tabbar-play{border-radius:12px;justify-content:center;align-items:center;height:46px;margin-top:0;text-decoration:none;display:flex}.tab-item{min-height:48px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11.5px;font-weight:550;text-decoration:none;display:flex}.tab-item svg{width:22px;height:22px}.tab-item.active{color:var(--text)}.tab-item.soon{opacity:.45}.analysis-host[hidden],.page-host[hidden]{z-index:-1;visibility:hidden;pointer-events:none;display:block;position:fixed;inset:0;overflow:hidden}.layout{--board-size:round(down, max(360px, min(calc(100vh - var(--nav-h) - 2 * var(--pad-y) - 2 * var(--player-h) - 2 * 10px), calc(100cqw - var(--panel-w) - var(--evalbar-w) - 12px - var(--gap) - 2 * var(--pad-x)), 880px)), var(--board-step));--column-h:calc(var(--board-size) + 2 * var(--player-h) + 2 * 10px)}.layout.sized{--board-size:round(down, max(280px, min( round(nearest, var(--board-user), var(--board-step)), calc(100cqw - var(--panel-w) - var(--evalbar-w) - 12px - var(--gap) - 2 * var(--pad-x)), calc(100vh - var(--nav-h) - 2 * var(--pad-y) - 2 * var(--player-h) - 2 * 10px))), var(--board-step))}.layout{grid-template-columns:auto var(--panel-w);justify-content:center;align-items:start;gap:var(--gap);padding:var(--pad-y) var(--pad-x);grid-template-areas:"board panel";display:grid}@media (width>=1001px){.analysis-page .layout{--nav-h:0px}.layout,.play-layout{padding-top:calc(var(--pad-y) + max(0px, (100vh - var(--nav-h) - 2 * var(--pad-y) - var(--column-h)) / 2))}}@media (width>=1400px){.analysis-page .layout{--panel-w:440px}}@media (width>=1700px){.analysis-page .layout{--panel-w:480px}}.board-column{grid-area:board}.layout>.panel{contain:size;height:auto;top:calc(var(--nav-h) + var(--pad-y));max-height:calc(100vh - var(--nav-h) - 2 * var(--pad-y));grid-area:panel;align-self:stretch;position:sticky}.board-column{width:calc(var(--evalbar-w) + 12px + var(--board-size));flex-direction:column;gap:10px;max-width:100%;display:flex}.panel-body>.gi-section{flex-direction:column;flex-shrink:0;gap:6px;padding:16px;display:flex}.panel-body>.gi-opening{gap:4px;padding-top:18px;padding-bottom:18px}.gi-eco{font-variant-numeric:tabular-nums;color:var(--muted);font-size:12px;font-weight:600}.gi-family{text-wrap:balance;margin:0;font-size:21px;font-weight:650;line-height:1.2}.gi-variation{color:var(--text-2);margin:2px 0 0;font-size:14px;line-height:1.4}.gi-text{color:var(--text-2);margin:0;font-size:13.5px;line-height:1.5}.gi-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin:0;display:grid}.gi-field{flex-direction:column;gap:3px;min-width:0;display:flex}.gi-field dt{color:var(--muted);font-size:12px}.gi-field dd{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:13.5px;font-weight:500;overflow:hidden}.gi-result{align-items:center;gap:7px;display:flex}.gi-result .result-pill{padding:0 6px;font-size:12px}.gi-link{color:var(--text);text-decoration:underline;-webkit-text-decoration-color:var(--border-strong);text-decoration-color:var(--border-strong);text-underline-offset:3px}.gi-link:hover{text-decoration-color:currentColor}.panel-body>.site-links{padding:16px}.result-pill{border:1px solid var(--border-strong);color:var(--text);border-radius:6px;flex-shrink:0;padding:1px 8px;font-size:12.5px;font-weight:600;line-height:1.5}.board-row{gap:12px;display:flex;position:relative}.board-resize{z-index:5;cursor:nwse-resize;touch-action:none;opacity:0;width:22px;height:22px;transition:opacity .15s;position:absolute;bottom:-7px;right:-7px}.board-resize:after{content:"";border-right:2px solid var(--text-2);border-bottom:2px solid var(--text-2);border-bottom-right-radius:3px;width:9px;height:9px;position:absolute;bottom:7px;right:7px}.board-row:hover .board-resize,.board-resize:active{opacity:1}.player-bar{height:var(--player-h);padding-left:calc(var(--evalbar-w) + 12px);align-items:center;gap:12px;display:flex}.player-avatar{border-radius:24%;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:15px;font-weight:600;display:grid}.player-avatar.white{background:var(--white-piece);color:var(--black-piece);box-shadow:inset 0 0 0 1px var(--border-strong)}.player-avatar.black{background:var(--black-piece);color:var(--white-piece);box-shadow:inset 0 0 0 1px var(--border-strong)}.player-avatar{overflow:hidden}.player-avatar img{object-fit:cover;width:100%;height:100%}.player-avatar-mark{width:58%;height:58%}.player-info{flex-direction:column;gap:2px;min-width:0;display:flex}.player-name{align-items:baseline;gap:8px;min-width:0;line-height:1.2;display:flex}.player-username{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.player-rating{color:var(--muted);font-family:var(--font-mono);font-size:12px}.player-result{background:var(--surface-4);font-family:var(--font-mono);border-radius:5px;padding:0 6px;font-size:12px;font-weight:600}.player-material{align-items:center;gap:6px;height:18px;display:flex}.captured{gap:4px;display:flex}.captured-group{display:flex}.captured-piece{width:19px;height:19px;margin-right:-9px}.captured-group .captured-piece:last-child{margin-right:0}.captured piece.black{filter:var(--dark-piece-glow)}.material-lead{color:var(--muted);font-family:var(--font-mono);margin-left:2px;font-size:12px}.eval-bar{width:var(--evalbar-w);height:var(--board-size);flex-shrink:0;position:relative}.eval-bar-track{box-shadow:inset 0 0 0 1px var(--border-strong);border-radius:4px;position:absolute;inset:0;overflow:hidden}.eval-bar.white-bottom .eval-bar-track{background:var(--eval-dark)}.eval-bar.black-bottom .eval-bar-track{background:var(--eval-light)}.eval-bar-fill{transform-origin:bottom;will-change:transform;transition:transform .7s cubic-bezier(.22,1,.36,1);position:absolute;inset:0}.white-bottom .eval-bar-fill{background:var(--eval-light)}.black-bottom .eval-bar-fill{background:var(--eval-dark)}.eval-bar-clip{pointer-events:none;position:absolute;inset:0 -12px;overflow:hidden}.eval-bar-rider{z-index:1;pointer-events:none;will-change:transform;transition:transform .7s cubic-bezier(.22,1,.36,1);position:absolute;inset:0 12px}.eval-bar-chip{color:#1d232c;width:38px;font-family:var(--font-mono);text-align:center;letter-spacing:-.04em;font-variant-numeric:tabular-nums;white-space:nowrap;box-shadow:0 0 0 1px #0000002e, var(--shadow-chip);background:#eceef1;border-radius:4px;padding:3px 0;font-size:11px;font-weight:600;line-height:1.2;position:absolute;top:0;left:50%;transform:translate(-50%,-50%)}.board{width:var(--board-size);height:var(--board-size);flex-shrink:0;position:relative}.board-cg{border-radius:8px;width:100%;height:100%;overflow:hidden}.board cg-container{width:100%!important;height:100%!important}.board cg-board{background-color:var(--sq-light);background-image:var(--board-image)}.board cg-board square.last-move{background-color:var(--last-move)}.board cg-board square.selected{background-color:#ffd66699}.board cg-board square.cls-brilliant{background-color:#8b5cf68c}.board cg-board square.cls-great{background-color:#2f80ed80}.board cg-board square.cls-best{background-color:#4f9a3c8c}.board cg-board square.cls-excellent{background-color:#4f9a3c80}.board cg-board square.cls-good{background-color:#7a9a6880}.board cg-board square.cls-book{background-color:#a98a6280}.board cg-board square.cls-inaccuracy{background-color:#c99a168c}.board cg-board square.cls-mistake{background-color:#d9711f8c}.board cg-board square.cls-miss{background-color:#cf4b638c}.board cg-board square.cls-blunder{background-color:#c7372f99}.board cg-board square.cls-forced{background-color:#5b5f6880}.board cg-board square.end-loss{background-color:#e0383ed1}.board cg-board square.end-win{background-color:#4f9a3ccc}.board cg-board square.end-draw{background-color:#6b707bbf}.board cg-board square:is(.end-loss,.end-win,.end-draw){animation:end-intro var(--end-intro) ease var(--slide-ms) both}@keyframes end-intro{0%{opacity:0}8%,82%{opacity:1}to{opacity:0}}.board cg-board square.move-dest{background:radial-gradient(#0000002e 19%,#0000 20%)}.board cg-board square.oc.move-dest{background:radial-gradient(#0000 0% 78%,#0000002e 79%)}.board cg-board square.move-dest:hover{background:#ffffff38}.board cg-board square.premove-dest{background:radial-gradient(#0000002e 19%,#0000 20%)}.board cg-board square.oc.premove-dest{background:radial-gradient(#0000 0% 78%,#0000002e 79%)}.board cg-board square.premove-dest:hover{background:#ffffff38}.board cg-board square.current-premove{background-color:#c81e469e}.board cg-board square.check{background:radial-gradient(#ff2828f2 0%,#e70000bf 30%,#a9000000 75%)}.board .cg-wrap .cg-shapes{opacity:.88}.board .cg-wrap .cg-shapes>g>g{animation:.2s ease-out fade-in}.board-badge{--badge-x:35%;--badge-y:-35%;z-index:12;pointer-events:none;width:12.5%;height:12.5%;position:absolute}.board-badge .class-icon{width:40%;height:40%;transform:translate(var(--badge-x), var(--badge-y));filter:drop-shadow(0 0 0 var(--bg)) drop-shadow(0 2px 4px #00000080);animation:badge-in .2s cubic-bezier(.34, 1.56, .64, 1) calc(var(--slide-ms) * .6) backwards;position:absolute;top:0;right:0}.board-badge.late .class-icon{animation-delay:0s}.board-badge.quick .class-icon{animation:.1s ease-out badge-quick}@keyframes badge-quick{0%{opacity:0}}@keyframes badge-in{0%{transform:translate(var(--badge-x), var(--badge-y)) scale(.4);opacity:0}}.board-badge.legendary .class-icon{animation:badge-legendary .5s cubic-bezier(.34, 1.56, .64, 1) var(--slide-ms) backwards}@keyframes badge-legendary{0%{transform:translate(var(--badge-x), var(--badge-y)) scale(.4);opacity:0}50%{transform:translate(var(--badge-x), var(--badge-y)) scale(1.45)}}.board-quake{z-index:20;pointer-events:none;border-radius:8px;position:absolute;inset:0;overflow:hidden}.board.legendary cg-board piece.anim{z-index:30!important}.quake-dim{background:radial-gradient(ellipse at var(--fx) var(--fy), #0a08188c, #0a0818b3 75%);animation:quake-dim-in var(--lift) cubic-bezier(.45, 0, .55, 1) both, quake-dim-out .55s ease-out var(--slow-ms) forwards;position:absolute;inset:0}@keyframes quake-dim-in{0%{opacity:0}}@keyframes quake-dim-out{0%{opacity:1}to{opacity:0}}.board-quake:after{content:"";background:radial-gradient(circle at var(--x) var(--y), #8b5cf680, #8b5cf626 45%, transparent 75%);opacity:0;animation:quake-wash .8s ease-out var(--slow-ms);position:absolute;inset:0}@keyframes quake-wash{0%{opacity:1}}.quake-flash{left:var(--x);top:var(--y);aspect-ratio:1;opacity:0;width:12.5%;animation:quake-flash .5s ease-out var(--slow-ms);background:#8b5cf6;position:absolute;translate:-50% -50%}@keyframes quake-flash{0%{opacity:.85}}.quake-bubble{left:var(--x);top:var(--y);aspect-ratio:1;opacity:0;width:330%;animation:quake-bubble .6s cubic-bezier(.25, .6, .35, 1) var(--slow-ms);border:3px solid #ddd2ffe6;border-radius:50%;position:absolute;translate:-50% -50%;scale:0;box-shadow:0 0 24px #8b5cf6e6,inset 0 0 40px #8b5cf673}@keyframes quake-bubble{0%{opacity:1;scale:0}70%{opacity:.9}to{opacity:0;scale:1}}.board-end{--badge-x:35%;z-index:12;pointer-events:none;width:12.5%;height:12.5%;position:absolute}.board-end-chip{box-sizing:border-box;justify-content:center;align-items:center;display:flex;position:absolute;top:0}.board-end-chip.pill{color:var(--tone);font-weight:700;font-size:clamp(10px, calc(var(--board-size) / 46), 13px);white-space:nowrap;transform-origin:20%;animation:end-chip-in .3s cubic-bezier(.34, 1.4, .64, 1) var(--slide-ms) backwards;background:#fff;border-radius:999px;padding:2px 8px;line-height:1.3;left:40%;translate:0 -55%;box-shadow:0 2px 8px #0000004d}@keyframes end-chip-in{0%{opacity:0;scale:.6}}.board-end-chip.pill.top-row{translate:0 6%}.board-badge.edge-right,.board-end.edge-right{--badge-x:0%}.board-badge.top-row{--badge-y:0%}.board-end-chip.pill.edge-right{transform-origin:80%;left:auto;right:3%}.board-end-chip.badge{width:40%;height:40%;translate:var(--badge-x) -35%;background:var(--tone);filter:drop-shadow(0 2px 4px #00000080);border-radius:30%;right:0;overflow:hidden}.board-end-glyph{width:100%;height:100%}.board .cg-wrap coords{font-family:var(--font-ui);font-weight:600;font-size:clamp(9px, calc(var(--board-size) / 58), 13px);opacity:1;text-transform:lowercase}.board .cg-wrap coords.ranks,.board .cg-wrap coords.ranks.left{align-items:flex-start;width:auto;height:100%;top:0;left:0}.board .cg-wrap coords.ranks coord{flex:1 1 0;padding:3px 0 0 5px;transform:none}.board .cg-wrap coords.files{width:100%;height:auto;bottom:0;left:0}.board .cg-wrap coords.files coord{text-align:right;flex:1 1 0;padding:0 5px 2px 0}.board .orientation-white .ranks :nth-child(odd),.board .orientation-white .files :nth-child(odd),.board .orientation-black .ranks :nth-child(2n),.board .orientation-black .files :nth-child(2n){color:var(--sq-light)}.board .orientation-white .ranks :nth-child(2n),.board .orientation-white .files :nth-child(2n),.board .orientation-black .ranks :nth-child(odd),.board .orientation-black .files :nth-child(odd){color:var(--sq-dark)}.promotion{z-index:20;border-radius:8px;position:absolute;inset:0}.promotion-choices{width:12.5%;box-shadow:var(--shadow-pop);background:#f4f4f2;border-radius:8px;flex-direction:column;display:flex;position:absolute;overflow:hidden}.promotion-choices.top{top:0}.promotion-choices.bottom{flex-direction:column-reverse;bottom:0}.promotion-piece{aspect-ratio:1;background:0 0;border:0;padding:6%;transition:background .12s}.promotion-piece:hover{background:#dcdcd8}.promotion-cancel{aspect-ratio:2.2;color:#6b6b66;background:#eaeae6;border:0;border-top:1px solid #e2e2de;place-items:center;transition:background .12s,color .12s;display:grid}.promotion-choices.bottom .promotion-cancel{border-top:0;border-bottom:1px solid #e2e2de}.promotion-cancel:hover{color:#2b2b28;background:#dcdcd8}.promotion-cancel svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;width:30%}.piece-icon,.piece-icon piece{width:100%;height:100%}.panel{width:var(--panel-w);height:var(--column-h);flex-direction:column;min-height:0;display:flex}.panel-card{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.panel-top{border-bottom:1px solid var(--border);flex-shrink:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:4px;padding:8px 8px 4px;display:grid}.panel-top-side{align-items:center;gap:2px;min-width:0;display:flex}.panel-top-side.end{justify-content:flex-end}.panel-title-icon{vertical-align:-5px;width:20px;height:20px;color:var(--tone-sky);margin-right:8px}.panel-title{text-align:center;min-width:0;font-family:var(--font-display);letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:18px;font-weight:600;overflow:hidden}.panel-top .icon-btn:hover{background:var(--btn);color:var(--text)}.panel-top .icon-btn svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.panel-header{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;display:flex}.panel-header .icon-btn{margin-left:8px}.panel-header .tabs-bar{border-bottom:0;flex:1}.tabs-bar{border-bottom:1px solid var(--border);flex-shrink:0;display:grid;position:relative}.tabs-ink{bottom:-1px;left:calc(100% / var(--n) * var(--i));width:calc(100% / var(--n));background:var(--ink);pointer-events:none;height:2px;transition:left .3s cubic-bezier(.2,.8,.2,1),background .3s;position:absolute}@media (prefers-reduced-motion:reduce){.tabs-ink{transition:none}}.tabs-tab{--tone:var(--tone-sky);min-width:0;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;flex-direction:column;justify-content:center;align-items:center;gap:5px;margin-bottom:-1px;padding:12px 4px 10px;font-size:12.5px;font-weight:500;text-decoration:none;transition:color .15s,border-color .15s,background .15s;display:flex}.tabs-tab:disabled{opacity:.45;cursor:default}.tabs-tab.tone-amber{--tone:var(--tone-amber)}.tabs-tab.tone-violet{--tone:var(--tone-violet)}.tabs-tab.tone-rose{--tone:var(--tone-rose)}.tabs-tab.tone-green{--tone:var(--tone-green)}.tabs-tab:hover{color:var(--text);background:var(--tint)}.tabs-tab.active{color:var(--text);font-weight:600}.tabs-tab:not(:has(.tabs-icon)){padding:12px 4px 11px;font-size:14px}.tabs-icon{color:var(--tone);display:flex;position:relative}.tabs-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;opacity:.6;width:19px;height:19px;transition:opacity .15s}.tabs-tab:hover .tabs-icon svg,.tabs-tab.active .tabs-icon svg{opacity:1}.tabs-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.tabs-count{color:var(--muted);font-variant-numeric:lining-nums tabular-nums;margin-left:7px;font-size:.86em;font-weight:500}@media (width<=520px){.tabs-label:has(.tabs-count){flex-direction:column;align-items:center;gap:1px;display:flex}.tabs-count{margin-left:0}}.tabs-badge{box-sizing:border-box;background:var(--tone);min-width:16px;height:16px;color:var(--bg);text-align:center;font-variant-numeric:lining-nums tabular-nums;border-radius:8px;padding:0 4px;font-size:10px;font-weight:700;line-height:16px;position:absolute;top:-6px;left:13px}.panel-body{scrollbar-width:thin;scrollbar-color:var(--surface-4) transparent;flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.panel-body:has(>.move-list){overflow:hidden}.panel-body>*+*{border-top:1px solid var(--border)}.panel-body>.coach,.panel-body>.summary,.panel-body>.variation-actions{padding:14px}.panel-body>.move-list{padding:6px 8px}.panel-body>.engine-panel,.panel-body>.eval-graph{background:0 0;border:0;border-radius:0}.panel-nav{border-top:1px solid var(--border);flex-shrink:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:10px;display:grid}.ctrl.flip,.board-menu{margin-left:6px}.line-icon *{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.line-icon .solid{fill:currentColor}.line-icon .icon-fill{fill:currentColor;stroke:none}.ctrl .line-icon{width:20px;height:20px}.board-menu{display:grid;position:relative}.board-menu-list{z-index:40;border:1px solid var(--border);background:var(--surface-2);border-radius:12px;flex-direction:column;min-width:210px;padding:6px;animation:.12s ease-out fade-in;display:flex;position:absolute;bottom:calc(100% + 8px);right:0;box-shadow:0 12px 32px #00000059}.board-menu-item{height:38px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 10px;font-size:13.5px;display:flex}.board-menu-item:hover{background:var(--btn-hover)}.board-menu-item svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;color:var(--text-2)}.board-menu-item kbd{font-family:var(--font-mono);color:var(--muted);margin-left:auto;font-size:11px}.ctrl{background:var(--btn);height:42px;color:var(--text);border:0;border-radius:10px;place-items:center;transition:background .12s,color .12s,transform .1s;display:grid}.ctrl:hover:not(:disabled){background:var(--btn-hover)}.ctrl:active:not(:disabled){transform:translateY(1px)}.ctrl.active{background:var(--text);color:var(--bg)}.ctrl:disabled{opacity:.3}.ctrl svg{fill:currentColor;width:18px;height:18px}.section-label{color:var(--text-2);font-size:13px;font-weight:600}@keyframes fade-in{0%{opacity:0}}@keyframes rise-in{0%{opacity:0;transform:translateY(6px)}}@keyframes pop-in{0%{opacity:0;transform:translateY(-4px)scale(.98)}}.panel-body>*{animation:.22s cubic-bezier(.22,1,.36,1) rise-in}.summary .faceoff-row{animation:.3s cubic-bezier(.22,1,.36,1) backwards rise-in}.summary .grades .faceoff-row:first-child{animation-delay:.1s}.summary .grades .faceoff-row:nth-child(2){animation-delay:.13s}.summary .grades .faceoff-row:nth-child(3){animation-delay:.16s}.summary .grades .faceoff-row:nth-child(4){animation-delay:.19s}.summary .grades .faceoff-row:nth-child(5){animation-delay:.22s}.summary .grades .faceoff-row:nth-child(6){animation-delay:.25s}.summary .grades .faceoff-row:nth-child(7){animation-delay:.28s}.summary .grades .faceoff-row:nth-child(8){animation-delay:.31s}.summary .grades .faceoff-row:nth-child(9){animation-delay:.34s}.summary .grades .faceoff-row:nth-child(10){animation-delay:.37s}.summary .grades .faceoff-row:nth-child(n+11){animation-delay:.4s}.dialog{opacity:0;will-change:opacity, transform;transition:opacity .16s ease-in, transform .16s ease-in, overlay .16s allow-discrete, display .16s allow-discrete;transform:translateY(10px)scale(.97)}.dialog[open]{opacity:1;transition-duration:.24s;transition-timing-function:cubic-bezier(.16,1,.3,1);transform:none}@starting-style{.dialog[open]{opacity:0;transform:translateY(10px)scale(.97)}}.dialog::backdrop{transition:background-color .2s ease, overlay .2s allow-discrete, display .2s allow-discrete;background:0 0}.dialog[open]::backdrop{background:var(--scrim)}@starting-style{.dialog[open]::backdrop{background:0 0}}@media (prefers-reduced-motion:reduce){*,:before,:after,::backdrop{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important}}.coach{flex-direction:column;flex-shrink:0;gap:8px;display:flex}.coach-head{align-items:center;gap:10px;min-width:0;display:flex}.coach-kicker{font-family:var(--font-mono);color:var(--muted);font-size:13px}.coach-title{letter-spacing:-.02em;flex:1;min-width:0;margin:0;font-size:22px;font-weight:600;line-height:1.25}.eval-pill{background:var(--surface-3);border:1px solid var(--border-strong);font-family:var(--font-mono);border-radius:6px;flex-shrink:0;padding:4px 8px;font-size:13px;font-weight:600}.coach-detail{color:var(--text-2);margin:0;font-size:15px;line-height:1.55}.coach-actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.coach.stepping .coach-detail{min-height:3.1em}.coach.stepping .coach-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.coach-word{animation:.24s ease-out backwards coach-word;animation-delay:calc(var(--i) * 32ms)}@keyframes coach-word{0%{opacity:0;filter:blur(3px)}}@media (prefers-reduced-motion:reduce){.coach-word{animation:none}}.coach-actions.row{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.coach-actions.row>.btn{width:100%;min-width:0}.coach-actions.row>.coach-explain{grid-column:1}.coach-actions.row>.coach-middle{grid-column:2}.coach-actions.row>.coach-next{grid-column:3}.coach.stepping.speaking .coach-detail{min-height:6.2em}.panel-body>.move-verdicts{flex-direction:column;gap:6px;padding:12px 14px;display:flex}.move-verdict{align-items:center;gap:10px;min-width:0;min-height:28px;display:flex}.move-verdict-text{white-space:nowrap;font-size:16px;font-weight:600}.move-verdict-line{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-family:var(--font-mono);color:var(--muted);font-size:13px;overflow:hidden}.view-nav{flex:1;justify-content:space-between;align-items:center;min-height:48px;padding:4px 8px;display:flex}.view-nav .btn{gap:6px}.coach-speech{--bubble:var(--text);--bubble-ink:var(--surface);align-items:flex-start;gap:12px;display:flex}.coach-avatar{flex:none;width:60px;height:70px;position:relative}.coach-beta{background:var(--tone-sky);color:var(--bg);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;pointer-events:auto;border-radius:999px;padding:1px 6px;font-size:10px;font-weight:700;line-height:14px;position:absolute;bottom:-6px;left:50%;transform:translate(-50%)}.coach-bubble{background:var(--bubble);min-width:0;color:var(--bubble-ink);--text:var(--bubble-ink);--text-2:color-mix(in srgb, var(--bubble-ink) 86%, var(--bubble));--muted:color-mix(in srgb, var(--bubble-ink) 62%, var(--bubble));--surface-3:color-mix(in srgb, var(--bubble-ink) 7%, var(--bubble));--border-strong:color-mix(in srgb, var(--bubble-ink) 16%, var(--bubble));border-radius:14px;flex-direction:column;flex:1;gap:6px;padding:12px 14px 13px;display:flex;position:relative}.coach-bubble .coach-title{font-size:19px}.coach-bubble .coach-kicker{display:none}.coach-bubble:before{content:"";background:var(--bubble);border-radius:2px;width:12px;height:12px;position:absolute;top:24px;left:-6px;transform:rotate(45deg)}.rook-coach{width:100%;height:100%;display:block;overflow:visible}.rook-body{fill:var(--text)}.rook-carve,.rook-fill{fill:var(--surface)}.rook-line,.rook-thin{fill:none;stroke:var(--surface);stroke-width:3.4px;stroke-linecap:round;stroke-linejoin:round}.rook-thin{stroke-width:2.6px}.rook-white{fill:#fff;stroke:var(--surface);stroke-width:2.2px}.rook-star{fill:#ffd166}.rook-drop{fill:var(--tone-sky)}.rook-react{transform-box:view-box;transform-origin:60px 128px;animation:.32s ease-out rook-react}@keyframes rook-react{0%{transform:translateY(3px)scale(.96)}55%{transform:translateY(-3px)scale(1.06)}}@media (prefers-reduced-motion:reduce){.rook-react{animation:none}}.coach-explain svg,.explain-line .btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.coach-explain[aria-pressed=true],.coach-explain[aria-pressed=true]:hover:not(:disabled){background:color-mix(in srgb, var(--tone-sky) 16%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--tone-sky) 60%, transparent);font-weight:600}.panel-body>.explain{padding:10px 10px 14px}.explain{flex-direction:column;gap:2px;display:flex}.explain-head{align-items:center;padding:0 6px 2px;display:flex}.explain-head h3{min-width:0;color:var(--text-2);flex:1;margin:0;font-size:13px;font-weight:600}.explain-close{width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;display:flex}.explain-close:hover{background:var(--btn);color:var(--text)}.explain-close svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:15px;height:15px}.explain-row{color:var(--text);font:inherit;text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:96px minmax(0,1fr);align-items:start;gap:10px;padding:7px 10px;display:grid}button.explain-row{cursor:pointer}.explain-row.active{background:color-mix(in srgb, var(--tone-sky) 10%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--tone-sky) 45%, transparent)}.explain-label{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);overflow-wrap:anywhere;padding-top:2px;font-size:12px;font-weight:600}.explain-label.san{font-family:var(--font-mono);letter-spacing:0;text-transform:none;padding-top:1px;font-size:13px}.explain-row.active .explain-label{color:var(--tone-sky)}.explain-text{color:var(--text-2);font-size:14px;line-height:1.5}.explain-row.active .explain-text{color:var(--text)}.explain-line{background:var(--surface-3);border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;margin:6px 6px 0;padding:9px 10px 9px 12px;display:grid}.explain-line .explain-label{grid-column:1/-1}.explain-line+.explain-line{margin-top:4px}.explain-moves{font-family:var(--font-mono);font-size:13.5px;line-height:1.5}.explain-line .btn svg{fill:currentColor;stroke:none;width:14px;height:14px}.review-progress{flex:100%;grid-template-columns:1fr auto;align-items:center;gap:12px;display:grid}.review-steps{flex-direction:column;flex:100%;gap:2px;margin:4px 0 0;padding:0;list-style:none;display:flex}.review-steps li{align-items:center;gap:12px;min-height:30px;font-size:14px;font-weight:500;display:flex}.review-steps li.now{font-weight:600}.review-steps li.later{color:var(--muted)}.review-step-mark{box-sizing:border-box;border:2px solid var(--surface-4);border-radius:50%;flex-shrink:0;width:20px;height:20px}.review-steps li.now .review-step-mark{border-color:var(--brand);background:radial-gradient(circle, var(--brand) 0 3.5px, transparent 4px)}.review-steps li.done .review-step-mark{background:var(--win) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;border:0}.review-step-count{font-family:var(--font-mono);color:var(--muted);margin-left:auto;font-size:12.5px;font-weight:400}.turning-point{border:1px solid color-mix(in srgb, var(--danger) 40%, transparent);background:color-mix(in srgb, var(--danger) 10%, transparent);color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:10px;align-items:center;gap:10px;margin:0 14px;padding:9px 12px;font-size:14px;display:flex}.turning-point:hover{background:color-mix(in srgb, var(--danger) 16%, transparent)}.turning-point-label{color:var(--muted)}.turning-point svg:last-child{width:16px;height:16px;fill:var(--muted);margin-left:auto}.summary{--faceoff-cols:minmax(0, 1fr) 148px minmax(0, 1fr);flex-direction:column;display:flex}.faceoff-row{grid-template-columns:var(--faceoff-cols);align-items:center;column-gap:8px;display:grid}.faceoff-name{text-overflow:ellipsis;white-space:nowrap;text-align:center;min-width:0;color:var(--text-2);font-size:13px;font-weight:500;overflow:hidden}.faceoff-row.scores{margin-top:6px}.faceoff-score{letter-spacing:-.035em;font-variant-numeric:tabular-nums;border-radius:10px;place-items:center;height:64px;font-size:32px;font-weight:600;display:grid}.faceoff-score.white{background:var(--white-piece);color:var(--black-piece);box-shadow:inset 0 0 0 1px var(--border-strong)}.faceoff-score.black{background:var(--black-piece);color:var(--white-piece);box-shadow:inset 0 0 0 1px var(--border-strong)}.faceoff-caption{text-align:center;color:var(--muted);font-size:13px}.grades{border-top:1px solid var(--border);flex-direction:column;margin-top:14px;padding-top:8px;display:flex}.faceoff-row.grade{height:30px}.faceoff-row.grade.zero{opacity:.35}.count{text-align:center;font-variant-numeric:tabular-nums;font-size:15px;font-weight:600}.grade-label{color:var(--text-2);white-space:nowrap;align-items:center;gap:9px;padding-left:18px;font-size:13.5px;display:flex}.panel-body>.summary-cta{background:linear-gradient(180deg, transparent, var(--surface) 18px);border-top:0;margin-top:auto;padding:14px;position:sticky;bottom:0}.class-icon{display:block}.class-icon text{font-family:var(--font-ui)}.engine-panel{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-shrink:0;overflow:hidden}.engine-header{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:8px 12px;display:flex}.engine-title{flex-direction:column;line-height:1.2;display:flex}.engine-name{font-weight:600}.engine-meta{color:var(--muted);font-size:12px}.engine-stats{white-space:nowrap;font-family:var(--font-mono);color:var(--text-2);gap:10px;margin-left:auto;font-size:12px;display:flex}.depth.searching:before{content:"";background:var(--win);vertical-align:1px;border-radius:50%;width:6px;height:6px;margin-right:6px;animation:1.2s ease-in-out infinite pulse;display:inline-block}@keyframes pulse{50%{opacity:.25}}.switch{flex-shrink:0;display:inline-flex;position:relative}.switch input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.switch-track{background:var(--surface-4);border-radius:10px;width:34px;height:20px;transition:background .18s;position:relative}.switch-track:after{content:"";background:var(--muted);border-radius:50%;width:14px;height:14px;transition:transform .18s,background .18s;position:absolute;top:3px;left:3px}.switch input:checked+.switch-track{background:var(--text)}.switch input:checked+.switch-track:after{background:var(--bg);transform:translate(14px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--text);outline-offset:2px}.engine-lines{flex-direction:column;gap:3px;padding:6px;display:flex}.engine-line{background:var(--surface-3);border-radius:6px;align-items:center;gap:8px;min-height:27px;padding:2px 6px 2px 3px;display:flex}.engine-line.skeleton:after{content:"";background:linear-gradient(90deg, var(--surface-3) 0%, var(--surface-4) 50%, var(--surface-3) 100%);background-size:200% 100%;border-radius:4px;flex:1;height:14px;animation:1.4s linear infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.score-badge{text-align:center;min-width:50px;font-family:var(--font-mono);border-radius:4px;flex-shrink:0;padding:1px 6px;font-size:12px;font-weight:600}.score-badge.white{background:var(--white-piece);color:var(--black-piece);box-shadow:inset 0 0 0 1px var(--border-strong)}.score-badge.black{background:var(--black-piece);color:var(--white-piece);box-shadow:inset 0 0 0 1px var(--border-strong)}.score-badge.even{background:var(--surface-4);color:var(--text)}.engine-pv{white-space:nowrap;flex:1;min-width:0;display:flex;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,#000 85%,#0000);mask-image:linear-gradient(90deg,#000 85%,#0000)}.pv-move{color:var(--text-2);background:0 0;border:0;border-radius:4px;flex-shrink:0;padding:1px 3px;font-size:13px}.pv-move:hover{background:var(--surface-4);color:var(--text)}.pv-num{color:var(--muted);font-family:var(--font-mono);margin-right:3px;font-size:12px}.engine-empty{text-align:center;color:var(--muted);padding:18px 14px}.engine-empty.error{color:var(--danger)}.engine-loading{flex-direction:column;gap:8px;padding:12px 14px 14px;display:flex}.progress{background:var(--surface-4);border-radius:2px;height:4px;overflow:hidden}.progress-fill{background:var(--text);border-radius:2px;height:100%;transition:width .3s}.eval-graph{background:var(--surface);border:1px solid var(--border);cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:10px;flex-shrink:0;position:relative;overflow:hidden}.eval-graph svg{width:100%;height:100%;display:block}.eval-graph-stop{stop-color:var(--text)}.eval-graph-line{fill:none;stroke:var(--text);stroke-width:1.6px}.eval-graph-mid{stroke:var(--guide);stroke-width:1px;vector-effect:non-scaling-stroke;stroke-dasharray:3 4}.eval-graph-cursor{stroke:var(--text);stroke-opacity:.45;stroke-width:1.5px}.eval-graph-hover{stroke:var(--guide-strong);stroke-width:1px}.eval-graph-dot{width:9px;height:9px;box-shadow:0 0 0 2px var(--surface);pointer-events:none;border-radius:50%;transition:transform .15s;position:absolute;transform:translate(-50%,-50%)}.eval-graph-dot.current{transform:translate(-50%,-50%)scale(1.5)}.eval-graph-reveal{transition:clip-path .4s linear;position:absolute;inset:0}.eval-graph-area.pending{fill:var(--surface-3);opacity:.7}.eval-graph-line.pending{stroke:var(--muted)}.eval-graph-scan{background:var(--brand);width:2px;box-shadow:0 0 12px 2px color-mix(in srgb, var(--brand) 55%, transparent);margin-left:-1px;transition:left .4s linear;animation:1.2s ease-in-out infinite alternate eval-scan-glow;position:absolute;top:0;bottom:0}@keyframes eval-scan-glow{0%{opacity:.55}to{opacity:1}}@media (prefers-reduced-motion:reduce){.eval-graph-reveal,.eval-graph-scan{transition:none;animation:none}}.eval-graph-empty{color:var(--muted);pointer-events:none;place-items:center;font-size:12.5px;display:grid;position:absolute;inset:0}.move-list{scrollbar-width:thin;scrollbar-color:var(--surface-4) transparent;flex:1;min-height:120px;padding:2px 0;overflow-y:auto}.move-list.empty{color:var(--muted);text-align:center;place-items:center;padding:20px;display:grid}.move-row{border-radius:6px;grid-template-columns:44px minmax(0,1fr) minmax(0,1fr);align-items:center;height:34px;display:grid}.move-row:nth-of-type(2n){background:var(--tint)}.move-num{color:var(--muted);font-family:var(--font-mono);padding-left:10px;font-size:12px}.move-cell{min-width:0}.move-cell.timed{align-items:center;gap:6px;padding-right:10px;display:flex}.move-time{width:56px;min-width:0;color:var(--muted);font-family:var(--font-mono);font-variant-numeric:tabular-nums;flex-direction:column;flex:0 56px;align-items:flex-end;gap:2px;margin-left:auto;font-size:11px;line-height:1;display:flex}.move-time-bar{background:var(--muted);opacity:.45;border-radius:2px;align-self:flex-end;height:3px}.move{color:var(--text);background:0 0;border:0;border-radius:6px;align-items:center;gap:6px;padding:3px 8px;font-size:14px;font-weight:500;transition:background .1s;display:inline-flex}.move:hover{background:var(--surface-3)}.move.current{background:var(--surface-4);font-weight:600}.move.placeholder{color:var(--muted);cursor:default}.san{align-items:center;display:inline-flex}.figurine{width:1.35em;height:1.35em;margin:-.15em 0 -.15em -.1em;display:inline-block}.variations{background:var(--tint);border-radius:6px;padding:4px 12px 6px 44px}.variation{color:var(--text-2);font-size:13px;line-height:1.9}.variation .move{color:var(--text-2);padding:1px 4px;font-size:13px;font-weight:400}.variation .move.current{color:var(--text)}.var-num{color:var(--muted);font-family:var(--font-mono);margin:0 1px 0 4px;font-size:12px}.subvariation{color:var(--muted)}.game-result{text-align:center;font-family:var(--font-mono);color:var(--text-2);padding:10px 0 6px;font-weight:600}.variation-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.variation-actions .muted{margin-right:auto}.dialog{border:1px solid var(--border-strong);background:var(--surface);width:min(580px,100vw - 32px);max-height:min(720px,100vh - 48px);color:var(--text);box-shadow:var(--shadow-pop);border-radius:14px;padding:0}.dialog-inner{max-height:inherit;flex-direction:column;display:flex}.dialog-header{justify-content:space-between;align-items:center;padding:16px 16px 8px 20px;display:flex}.dialog-header h2{letter-spacing:-.01em;margin:0;font-size:18px;font-weight:600}.tab-body{flex-direction:column;gap:12px;min-height:0;padding:16px 20px 20px;display:flex;overflow:hidden}.inline-form{gap:8px;display:flex}.form-error{color:var(--danger);margin:0;font-size:13px}.form-actions{justify-content:flex-end;display:flex}.game-list{scrollbar-width:thin;scrollbar-color:var(--surface-4) transparent;max-height:440px;margin:0 -8px;padding:0;list-style:none;overflow-y:auto}.game-row{text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:30px 1fr auto;align-items:center;gap:12px;width:100%;padding:9px 8px;transition:background .12s;display:grid}.game-row:hover{background:var(--surface-3)}.outcome{width:28px;height:28px;font-family:var(--font-mono);border-radius:7px;place-items:center;font-size:12.5px;font-weight:600;display:grid}.outcome.win{color:var(--win);background:#7fc35f26}.outcome.loss{color:var(--danger);background:#ef6b5f24}.outcome.draw{background:var(--surface-4);color:var(--text-2)}.game-players{flex-direction:column;min-width:0;display:flex}.game-opponent{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:7px;font-weight:600;display:flex;overflow:hidden}.game-sub{white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.dot.white{background:var(--white-piece);box-shadow:inset 0 0 0 1px var(--border-strong)}.dot.black{background:var(--black-piece);box-shadow:inset 0 0 0 1px var(--border-strong)}.game-meta{font-size:12.5px;font-family:var(--font-mono);flex-direction:column;align-items:flex-end;display:flex}.engine-status{border:1px solid var(--border);background:var(--bg);border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.engine-status-dot{background:var(--win);width:8px;height:8px;box-shadow:0 0 0 3px color-mix(in srgb, var(--win) 22%, transparent);border-radius:50%;flex-shrink:0;margin:6px 2px 0}.engine-status.loading .engine-status-dot{background:var(--muted);box-shadow:none;animation:1.2s ease-in-out infinite pulse}.engine-status.error .engine-status-dot{background:var(--danger);box-shadow:0 0 0 3px color-mix(in srgb, var(--danger) 22%, transparent)}.engine-status-text{flex-direction:column;flex:1;gap:1px;min-width:0;line-height:1.35;display:flex}.engine-status-name{font-size:13px;font-weight:600}.engine-status-detail{color:var(--muted);font-size:12px}.engine-status.error .engine-status-detail{color:var(--danger)}.engine-status .progress{margin-top:6px}.setting{flex-direction:column;gap:7px;display:flex}.setting-label{flex-direction:column;gap:1px;font-weight:600;display:flex}.hint{color:var(--muted);font-size:12px;font-weight:400}.hint.warn{color:var(--warn);margin:-6px 0 0}.segmented{background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:3px;display:flex}.segmented button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:6px;flex:1;padding:5px 6px;font-size:12.5px;font-weight:500}.segmented button:hover{color:var(--text)}.segmented button.active{background:var(--surface-4);color:var(--text);font-weight:600}@media (width<=1000px){:root{--pad-x:16px;--tabbar-h:calc(61px + var(--safe-bottom))}:root:has(.tabbar-play){--tabbar-h:calc(115px + var(--safe-bottom))}.layout,.layout.sized{--board-size:min(calc(100vw - 32px - var(--evalbar-w) - 12px), 640px)}.board-resize{display:none}.page-header,.page-header.phone-only{border-bottom:1px solid var(--border);gap:10px;display:flex}.page-header:not(.has-back){background:var(--bg);border-bottom:0}:root[data-scrolled] .page-header:not(.has-back){box-shadow:0 1px 0 var(--border)}:root[data-installed] .page-header:not(.has-back){background:0 0}:root[data-installed][data-scrolled] .page-header:not(.has-back){background:color-mix(in srgb, var(--brand) 12%, var(--surface));box-shadow:none}.page-header-home{display:flex}.page-header-title{display:none}.settings-layer{left:16px;right:16px;top:calc(var(--nav-h) + 8px);bottom:auto}.settings-popover{width:auto;max-height:calc(100vh - var(--nav-h) - var(--tabbar-h) - 24px);transform-origin:100% 0}.layout{grid-template-columns:minmax(0, calc(var(--board-size) + var(--evalbar-w) + 12px));grid-template-areas:"board""panel";padding:14px 16px 24px}.panel,.layout>.panel{contain:none;width:100%;height:auto;max-height:none;position:static}:is(.panel-body,.panel-body:has(>.move-list)){overflow:visible}.move-list{max-height:340px}:root{--player-h:34px;--mobile-nav-h:62px}.board-column{gap:6px}.player-avatar{width:28px;height:28px;font-size:13px}.panel-nav{left:0;right:0;bottom:var(--tabbar-h);z-index:30;background:var(--surface);padding:10px 16px;position:fixed}.layout{padding-bottom:calc(var(--mobile-nav-h) + var(--tabbar-h) + 24px);row-gap:12px}}@media (width<=520px){.page-header-label{display:none}.page-header-action{width:36px;padding:0}}@media (width<=460px){.summary{--faceoff-cols:minmax(0, 1fr) 128px minmax(0, 1fr)}.faceoff-score{height:56px;font-size:27px}.grade-label{padding-left:8px}}.sponsor-card{border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:10px;align-items:center;gap:12px;padding:10px 12px;text-decoration:none;transition:border-color .15s,background .15s;display:flex}.sponsor-card:hover{border-color:var(--border-strong);background:var(--surface-3)}.sponsor-icon{background:var(--surface-4);width:40px;height:40px;color:var(--text-2);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.sponsor-icon svg{fill:currentColor;width:22px;height:22px}.sponsor-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.sponsor-title{white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;font-weight:600;overflow:hidden}.sponsor-blurb{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;overflow:hidden}.sponsor-label{white-space:nowrap;text-overflow:ellipsis;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-top:2px;font-size:10.5px;overflow:hidden}.sponsor-go{color:var(--muted);flex-shrink:0}.site-links{color:var(--muted);justify-content:center;gap:8px;font-size:12px;display:flex}.site-links.phone-only{display:none}@media (width<=1000px){.site-links.phone-only{display:flex}}.site-links a{color:var(--muted);text-decoration:none}.site-links a:hover{color:var(--text)}.share-banner{border:1px solid var(--border);background:var(--surface-2);color:var(--text-2);border-radius:10px;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:4px 8px;margin-bottom:12px;padding:8px 6px 8px 14px;font-size:13px;display:flex}.share-banner.damaged,.share-banner.newer-version{color:var(--text)}.share-banner-action{color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600}.share-banner-action:hover{text-decoration:underline}.share-banner-close{width:28px;height:28px;margin-left:auto}.share-banner-close svg{width:16px;height:16px}.share-link{flex-direction:column;gap:10px;padding:4px 20px 16px;display:flex}.share-link .segmented button:disabled{opacity:.4;cursor:default}.copy-field,.copy-area{align-items:center;gap:8px;display:flex;position:relative}.copy-field .input{flex:1;min-width:0}.copy-area{align-items:stretch}.copy-area .textarea{flex:1;height:200px}.copy-area .copy-btn{background:var(--surface-3);position:absolute;top:8px;right:8px}.copy-btn{background:var(--btn);min-width:40px;height:40px;color:var(--text);white-space:nowrap;border:0;border-radius:8px;flex-shrink:0;place-items:center;padding:0 10px;font-size:13px;font-weight:600;display:grid}.copy-btn:hover:not(:disabled){background:var(--btn-hover)}.copy-btn.copied{color:var(--good,#7fbf5f)}.copy-btn svg{fill:currentColor;width:17px;height:17px}.share-body{overflow-y:auto}.share-options{color:var(--text-2);flex-wrap:wrap;gap:8px 20px;font-size:13px;display:flex}.share-options label{align-items:center;gap:8px;display:inline-flex}.share-options label.disabled{opacity:.45}.media-preview{background:var(--bg);border:1px solid var(--border);border-radius:10px;flex-shrink:0;place-items:center;min-height:200px;display:grid;overflow:hidden}.media-preview img{object-fit:contain;width:100%;max-height:min(44vh,460px);display:block}.media-actions{gap:8px}.gif-options{flex-wrap:wrap;gap:8px;display:flex}.gif-options .segmented{flex:200px}.gif-progress{justify-items:center;gap:8px;width:min(320px,80%);display:grid}.gif-progress .progress{width:100%}.gif-size{align-self:center;margin-right:auto}.embed-preview{border-radius:8px;flex-shrink:0;overflow:hidden}.embed-preview iframe{transform-origin:0 0;border:0;border-radius:8px;display:block}.copy-area .embed-code{height:92px;padding-right:56px}.home{box-sizing:border-box;max-width:1240px;padding:26px var(--pad-x) 48px 12px;flex-wrap:wrap;align-items:flex-start;gap:20px;margin-inline:auto;display:flex}.home-main{flex-direction:column;flex:2 560px;gap:20px;min-width:0;display:flex}.home-side{flex-direction:column;flex:300px;gap:20px;min-width:0;display:flex}.home-welcome{flex-direction:column;gap:2px;margin:6px 4px 0;display:flex}.home-welcome h1{letter-spacing:-.01em;margin:0;font-size:22px;font-weight:650}.home-welcome span{color:var(--muted);font-size:13.5px;line-height:1.45}.home-card{box-sizing:border-box;background:var(--card);box-shadow:var(--card-edge);color:var(--text);font:inherit;text-align:left;border:0;border-radius:18px;padding:20px}.home-card h2{margin:0;font-size:18px;font-weight:650}.home-card-head{align-items:center;gap:12px;padding:0 12px 10px;display:flex}.games-empty{align-items:center;gap:16px;padding:18px 12px 12px;display:flex}.games-empty svg{box-sizing:border-box;background:var(--surface-3);fill:none;width:44px;height:44px;stroke:var(--text-2);stroke-width:1.8px;stroke-linejoin:round;border-radius:14px;flex-shrink:0;padding:11px}.games-empty p{flex-direction:column;gap:2px;margin:0;display:flex}.games-empty strong{font-weight:600}.games-empty span{color:var(--muted);font-size:13.5px}.quick-card{cursor:pointer;align-items:center;gap:14px;width:100%;transition:background .12s;display:flex}.quick-card:hover{background:var(--card-hover)}.icon-tile{--tile:var(--text-2);background:color-mix(in srgb, var(--tile) 16%, transparent);width:28px;height:28px;color:var(--tile);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}:root[data-theme=light] .icon-tile{background:color-mix(in srgb, var(--tile) 13%, transparent)}.icon-tile svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:15px}.icon-tile .filled{fill:currentColor;stroke:none}.icon-tile.small{border-radius:7px;width:24px;height:24px}.icon-tile.small svg{width:13px;height:13px}.icon-tile.big{border-radius:12px;width:40px;height:40px}.icon-tile.big svg{width:19px;height:19px}.icon-tile.play{--tile:var(--tone-green)}.icon-tile.puzzles,.icon-tile.streak{--tile:var(--streak)}.icon-tile.games{--tile:var(--tone-blue)}.icon-tile.analyze{--tile:var(--tone-pink)}.icon-tile.review,.icon-tile.accuracy{--tile:var(--brand)}.icon-tile.legendary{--tile:var(--tone-violet)}.icon-tile.mistakes{--tile:var(--danger)}.icon-tile.clock{--tile:var(--tone-amber)}.icon-tile.openings{--tile:var(--tone-rose)}.quick-card strong{font-size:15.5px;font-weight:600;display:block}.quick-card small{color:var(--muted);font-size:13px;display:block}.quick-go{color:var(--muted);margin-left:auto;font-size:18px}.quick-lines{flex-direction:column;gap:2px;min-width:0;display:flex}.crash-page{box-sizing:border-box;flex-direction:column;align-items:flex-start;gap:12px;width:min(520px,100%);margin:0 auto;padding:72px 20px;display:flex}.crash-page h1{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:24px}.crash-page p{color:var(--muted);margin:0;font-size:14.5px}.crash-page code{box-sizing:border-box;background:var(--card);width:100%;box-shadow:var(--card-edge);color:var(--text-2);overflow-wrap:anywhere;border-radius:10px;padding:10px 12px;font-size:13px}.crash-actions{gap:10px;margin-top:4px;display:flex}.batch-card{cursor:default;position:relative;overflow:hidden}.batch-card:hover{background:var(--card)}.batch-action{color:var(--muted);flex-shrink:0;margin-left:auto;font-size:13.5px}.batch-bar{border-radius:0;height:3px;position:absolute;inset:auto 0 0}.batch-bar .progress-fill{background:var(--brand);border-radius:0}.batch-card strong{white-space:nowrap}.batch-count{flex-direction:column;gap:2px;margin:16px 0 0;display:flex}.batch-count strong{color:var(--text);font-size:18px;font-weight:600}.batch-count span{font-size:13.5px}.batch-time{color:var(--text);margin:12px 0 0}.batch-note{border:1px solid color-mix(in srgb, var(--warn) 45%, transparent);background:color-mix(in srgb, var(--warn) 12%, transparent);color:var(--text);border-radius:10px;gap:10px;margin:12px 0 0;padding:10px 12px;font-size:13.5px;line-height:1.45;display:flex}.batch-note strong{font-weight:600}.batch-note svg{fill:none;width:18px;height:18px;stroke:var(--warn);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;margin-top:1px}.home-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.home-actions .quick-card small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.home-actions .quick-lines .skel+.skel{margin-top:6px}.form-strip{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:18px 0;display:grid}.form-part{min-width:0;color:inherit;flex-direction:column;gap:4px;padding:0 22px;text-decoration:none;display:flex}.form-part+.form-part{border-left:1px solid var(--border)}.form-streak{flex-direction:row;align-items:center;gap:18px}.form-col{flex-direction:column;gap:4px;min-width:0;display:flex}.form-label,.form-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:16px;overflow:hidden}.form-sub{align-items:center;gap:8px;height:16px;display:flex}.form-row{align-items:baseline;gap:8px;height:32px;display:flex}.form-row .skel{align-self:center}.form-value{font:700 30px/32px var(--font-display);font-variant-numeric:lining-nums;letter-spacing:-.02em}.form-value.streak{color:var(--streak)}.form-value.empty,.form-phase.empty{color:var(--text-2);white-space:nowrap;font-size:18px}.form-phase{font-size:18px;font-weight:650;line-height:32px}.form-unit{color:var(--muted);font-size:13px}.form-trend{font-size:13px;font-weight:650}.form-trend.up{color:var(--win)}.form-trend.down{color:var(--danger)}.form-bars{flex:0 110px;align-self:flex-end;align-items:flex-end;gap:3px;min-width:0;height:30px;margin-left:auto;display:flex}.form-bars i{background:color-mix(in srgb, var(--brand) 32%, transparent);border-radius:2px;flex:1}.form-bars i.last{background:var(--brand)}.form-week{flex:none;gap:6px;margin:0;padding:0;list-style:none;display:flex}.form-week li{color:var(--muted);flex-direction:column;align-items:center;gap:5px;font-size:10px;line-height:12px;display:flex}.form-week i{box-sizing:border-box;background:color-mix(in srgb, var(--text) 10%, transparent);border-radius:50%;width:16px;height:16px}.form-week .solved i{background:var(--streak)}.form-week .today i{border:2px solid var(--streak);background:0 0}.form-week .today span{color:var(--text);font-weight:650}.form-week .later i{border:1px solid var(--border-strong);background:0 0}.accent-card{background:var(--brand-card);color:var(--brand-card-text);border-radius:20px;flex-direction:column;gap:8px;padding:22px;display:flex}.accent-card h2{letter-spacing:-.02em;font-size:22px;font-weight:700}.accent-card p{opacity:.78;margin:0;font-size:14px}.accent-btn{background:var(--brand);height:50px;color:var(--brand-ink);border-radius:12px;margin-top:8px;font-size:16px;font-weight:700}.accent-btn:hover:not(:disabled){filter:brightness(1.08)}@media (width<=1000px){.home{padding:16px 16px calc(var(--tabbar-h) + 24px);gap:14px}.home-main{display:contents}.home-main>*,.home-side{flex:100%}.home-welcome{order:-2;margin:0;font-size:20px}}.plan-card{flex-direction:column;gap:14px;display:flex}.plan-head{align-items:center;gap:14px;display:flex}.plan-head>div{min-width:0}.plan-head p{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:2px 0 0;font-size:13.5px;overflow:hidden}.plan-ring{flex-shrink:0;width:48px;height:48px}.plan-ring circle{fill:none;stroke-width:5px}.plan-ring .track{stroke:color-mix(in srgb, var(--text) 9%, transparent)}.plan-ring .fill{stroke:var(--brand);stroke-linecap:round;transition:stroke-dasharray .4s}.plan-ring text{font:700 13px var(--font-display);fill:var(--text);text-anchor:middle}.plan-steps{gap:10px;margin:0;padding:0;list-style:none;display:grid}.plan-steps.column{gap:0;transition:grid-template-rows .45s cubic-bezier(.2,.8,.2,1)}.plan-steps.column>li{min-height:0;transition:padding-top .45s cubic-bezier(.2,.8,.2,1),opacity .3s;overflow:hidden}.plan-steps.column>li+li{padding-top:8px}.plan-steps.column>li.off{opacity:0;padding-top:0}@media (prefers-reduced-motion:reduce){.plan-steps.column,.plan-steps.column>li{transition:none}}.plan-steps.column .plan-step{flex-direction:row;align-items:center;gap:12px;padding:12px}.plan-steps.column .plan-text{flex:1;min-width:0}.plan-steps.column .plan-text strong,.plan-steps.column .plan-text small{white-space:nowrap;text-overflow:ellipsis;min-height:1.45em;display:block}.plan-steps.column .plan-go{margin:0}.plan-steps.column .plan-step:not(.next) .plan-go{display:none}.plan-step{box-sizing:border-box;background:color-mix(in srgb, var(--text) 4%, transparent);width:100%;height:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:14px;flex-direction:column;align-items:flex-start;gap:10px;padding:14px;transition:background .12s;display:flex}.plan-step:hover{background:color-mix(in srgb, var(--text) 7%, transparent)}.plan-step.next{background:color-mix(in srgb, var(--brand) 13%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent)}.plan-step.next:hover{background:color-mix(in srgb, var(--brand) 18%, transparent)}.plan-check{box-sizing:border-box;border:2px solid var(--border-strong);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.plan-step.next .plan-check{border-color:var(--brand)}.plan-step.done .plan-check{background:var(--win);border:0}.plan-check svg{fill:none;width:15px;height:15px;stroke:var(--bg);stroke-width:2.8px;stroke-linecap:round;stroke-linejoin:round}.plan-text{flex-direction:column;align-self:stretch;gap:2px;display:flex}.plan-text strong,.plan-text small{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.9em;line-height:1.45;display:-webkit-box;overflow:hidden}.plan-text strong{font-size:14.5px;font-weight:600}.plan-step.done .plan-text strong{color:var(--text-2)}.plan-text small{color:var(--muted);font-size:12.5px}.plan-go{color:var(--brand);white-space:nowrap;margin-top:auto;font-size:13.5px;font-weight:650;line-height:1.45}.plan-step:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.plan-step:not(.next) .plan-go{visibility:hidden}a.see-all{text-decoration:none}.plan-card.compact{flex-direction:row;align-items:center;gap:8px;padding:0 4px}.plan-card.compact h2{margin:0;font-size:14px;font-weight:600}.plan-ticks{flex:1;justify-content:flex-end;gap:2px;min-width:0;margin:0;padding:0;list-style:none;display:flex}.plan-tick{height:36px;color:var(--text-2);font:inherit;white-space:nowrap;background:0 0;border:0;border-radius:9px;align-items:center;gap:5px;padding:0 4px;font-size:13px;font-weight:500;display:inline-flex}.plan-tick .plan-check{width:16px;height:16px}.plan-tick.next{color:var(--text);font-weight:600}.plan-tick.done{color:var(--muted)}@media (width<=340px){.plan-card.compact h2{display:none}.plan-ticks{justify-content:space-between}.plan-tick{gap:3px;padding:0 2px}}.skel-lines{flex-direction:column;display:flex}.home-footer{border-top:1px solid var(--border);color:var(--muted);flex-wrap:wrap;flex:100%;align-items:center;gap:10px 20px;margin-top:8px;padding:18px 4px 0;font-size:13px;display:flex}.home-footer-brand{color:var(--text-2);align-items:center;gap:9px;display:inline-flex}.home-footer-brand .brand-logo{border-radius:6px;width:22px;height:22px}.home-footer-brand .brand-logo svg{width:16px;height:16px}.home-footer nav{gap:18px;display:flex}.home-footer a{color:var(--muted);text-decoration:none}.home-footer a:hover{color:var(--text)}.home-footer-logos{gap:14px;margin-left:auto;display:flex}.home-footer-logos a{display:inline-flex}.home-footer-logos svg{fill:currentColor;width:16px;height:16px}.user-card{background:var(--card);transition:background-color var(--side-t) var(--side-ease);border-radius:16px;align-items:center;gap:10px;padding:8px 6px 8px 5px;display:flex}.sidebar.rail .user-card{background-color:#0000}.sidebar.rail .user-card.folded-guest{align-items:flex-end;min-height:144px}.user-avatar{background:var(--text);width:38px;height:38px;color:var(--bg);font:inherit;border:0;border-radius:11px;flex-shrink:0;place-items:center;font-size:16px;font-weight:700;display:grid}.user-avatar.guest{background:var(--surface-4);color:var(--text-2)}.user-card-text{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.user-card-text strong{white-space:nowrap;text-overflow:ellipsis;font-size:14px;font-weight:600;overflow:hidden}.user-card-text span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.user-card-gear svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.user-avatar{overflow:hidden}.user-avatar img{object-fit:cover;width:100%;height:100%}button.user-avatar.guest:hover{color:var(--text)}.user-card-signup{text-align:left;background:0 0;border:0;padding:0}.user-card-text.user-card-signup span{color:var(--brand)}.user-card-signup:hover span{text-underline-offset:2px;text-decoration:underline}.user-card.guest-card{flex-direction:column;align-items:stretch;gap:6px;padding:8px}.guest-card .guest-signup{border-radius:10px;height:40px;margin:0;font-size:15px}.guest-card .guest-login{border-radius:10px;height:40px;font-size:15px;font-weight:600}.guest-card-tools{grid-template-columns:repeat(3,1fr);gap:6px;margin-top:2px;display:grid}.guest-card-tools .icon-btn{background:var(--btn);width:auto;height:34px;color:var(--text-2);border-radius:9px}.guest-card-tools .icon-btn:hover,.guest-card-tools .icon-btn.active{background:var(--btn-hover);color:var(--text)}.guest-card-tools svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.user-card-text .user-card-sync.offline{color:var(--warn)}.link-btn{color:var(--text-2);background:0 0;border:0;padding:0;font-size:13px}.link-btn:hover:not(:disabled){color:var(--text);text-underline-offset:2px;text-decoration:underline}.link-btn:disabled{color:var(--muted)}.auth-page{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:100dvh;display:grid}.auth-brand{--pad:clamp(32px, 5vw, 72px);--intro-scale:3;--ease-move:cubic-bezier(.65, 0, .2, 1);box-sizing:border-box;height:100dvh;padding:32px var(--pad);background:var(--side);color:var(--text);grid-template-rows:auto minmax(0,1fr) auto;gap:24px;display:grid;position:sticky;top:0;overflow:hidden}.auth-mark{z-index:2;color:inherit;transform-origin:0 0;transition:transform .95s var(--ease-move);justify-self:start;align-items:center;gap:10px;font-size:22px;text-decoration:none;animation:.6s both auth-fade;display:inline-flex;position:relative}.auth-brand[data-phase=intro] .auth-mark{transform:translateY(calc(50dvh - 32px - 30px * var(--intro-scale) - 12px)) scale(var(--intro-scale))}.auth-intro{top:50%;left:var(--pad);right:var(--pad);pointer-events:none;transition:opacity .45s ease, transform .8s var(--ease-move);margin-top:8px;animation:.7s .15s both auth-rise;position:absolute}.auth-brand:not([data-phase=intro]) .auth-intro{opacity:0;transform:translateY(-28px)}.auth-intro-line{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:clamp(24px,2.4vw,34px);font-weight:700}.auth-intro-sub{opacity:.72;margin:10px 0 0;font-size:16px;line-height:1.5}@keyframes auth-fade{0%{opacity:0}}@keyframes auth-rise{0%{opacity:0;transform:translateY(14px)}}.tour{place-self:center;width:min(100%,460px);min-height:0}.tour-stage{display:grid}.tour-slide{opacity:0;visibility:hidden;grid-area:1/1;transition:opacity .4s,transform .6s,visibility 0s .6s;transform:translate(-40px)}.tour-slide.is-active{opacity:1;visibility:visible;transition-delay:0s;animation:.8s cubic-bezier(.2,.8,.2,1) both tour-in;transform:none}@keyframes tour-in{0%{opacity:0;transform:translate(56px)}}.tour-slide h2{font-family:var(--font-display);letter-spacing:-.025em;margin:0;font-size:clamp(28px,2.6vw,38px);font-weight:700;line-height:1.08}.tour-slide p{opacity:.75;max-width:38ch;margin:10px 0 0;font-size:16px;line-height:1.5}.tour-scene{width:min(100%,400px,46dvh);margin-bottom:40px;position:relative}.tour-board .mini-board{border-radius:10px;overflow:hidden;box-shadow:0 28px 60px -24px #0000008c}.tour-board{position:relative}.tour-board .mini-badge{width:8%}.is-active .tour-board .mini-badge{animation:.5s cubic-bezier(.3,1.6,.5,1) .6s both tour-pop}@keyframes tour-pop{0%{scale:0}}.tour-note{z-index:3;background:var(--card);max-width:300px;color:var(--text);box-shadow:var(--shadow-pop);border-radius:12px;align-items:center;gap:10px;padding:10px 16px 10px 10px;display:flex;position:absolute;bottom:-24px;right:-32px}.is-active .tour-note{animation:.5s .35s both auth-rise}.tour-note>span:last-child{flex-direction:column;gap:1px;font-size:12.5px;line-height:1.35;display:flex}.tour-note strong{font-size:14px;font-weight:650}.tour-note>span:last-child span{color:var(--text-2)}.tour-flame,.tour-check,.tour-level{border-radius:7px;flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.tour-flame{background:var(--streak)}.tour-check{background:var(--tone-green)}.tour-flame svg,.tour-check svg{width:16px;height:16px}.tour-flame path{fill:#fff}.tour-check path{fill:none;stroke:#fff;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round}.tour-level{background:var(--brand);color:var(--brand-ink);font-size:14px;font-weight:700}.tour-ladder{aspect-ratio:1;box-sizing:border-box;background:color-mix(in srgb, currentColor 7%, transparent);border-radius:10px;align-items:flex-end;gap:7px;padding:26px 22px;display:flex}.tour-ladder span{height:var(--h);box-sizing:border-box;background:color-mix(in srgb, currentColor 14%, transparent);transform-origin:bottom;border-radius:6px 6px 3px 3px;flex-direction:column;flex:1;justify-content:space-between;align-items:center;padding:8px 0 7px;display:flex}.is-active .tour-ladder span{animation:tour-grow .6s calc(.25s + var(--i) * 55ms) cubic-bezier(.2, .8, .2, 1) both}@keyframes tour-grow{0%{transform:scaleY(0)}}.tour-ladder b{font-family:var(--font-mono);opacity:.8;font-size:10px;font-weight:500}.tour-ladder i{font-size:14px;font-style:normal;font-weight:700}.tour-ladder .is-pick{background:var(--brand);color:var(--brand-ink)}.tour-devices{aspect-ratio:1;display:block;position:relative}.tour-laptop,.tour-phone{box-sizing:border-box;border:3px solid color-mix(in srgb, currentColor 55%, transparent);background:color-mix(in srgb, currentColor 6%, var(--side));place-items:center;display:grid;position:absolute}.tour-laptop{aspect-ratio:16/10;border-radius:12px 12px 4px 4px;width:84%;font-size:14px;top:14%;left:0}.tour-laptop:after{content:"";background:color-mix(in srgb, currentColor 55%, transparent);border-radius:0 0 10px 10px;height:12px;position:absolute;top:100%;left:-9%;right:-9%}.tour-phone{aspect-ratio:9/18;background:var(--side);border-radius:18px;width:31%;font-size:9px;bottom:16%;right:0}.tour-profile{grid-template-columns:auto auto;justify-items:center;gap:1em 1.4em;display:grid}.tour-phone .tour-profile{grid-template-columns:auto}.tour-avatar{background:var(--brand);border-radius:50%;grid-column:1/-1;width:3em;height:3em}.tour-lines{grid-column:1/-1;justify-items:center;gap:.4em;margin-top:-.4em;display:grid}.tour-lines span{background:color-mix(in srgb, currentColor 40%, transparent);border-radius:1em;width:6em;height:.55em}.tour-lines span+span{opacity:.5;width:4em}.tour-stat{justify-items:center;display:grid}.tour-stat b{font-size:1.7em;font-weight:700;line-height:1.1}.tour-stat span{opacity:.7;font-size:.85em}.is-active .tour-phone{animation:.6s .3s both auth-rise}.auth-brand-foot{justify-content:space-between;align-items:center;gap:24px;font-size:13px;display:flex}.auth-brand-foot p{opacity:.6;text-align:right;margin:0}.tour-steps{gap:4px;transition:opacity .5s;display:flex}.auth-brand:not([data-phase=tour]) .tour-steps{opacity:0}.tour-step{width:38px;height:22px;color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;padding:0;display:grid}.tour-step:before,.tour-step span{content:"";border-radius:2px;grid-area:1/1;height:3px}.tour-step:before{background:color-mix(in srgb, currentColor 22%, transparent)}.tour-step span{background:var(--brand);transform-origin:0;transform:scaleX(0)}.tour-step.is-done span{transform:none}.auth-brand[data-phase=tour] .tour-step.is-active span{animation:5.5s linear forwards tour-fill}.auth-brand:has(.tour:hover,.tour-steps:hover) .tour-step.is-active span{animation-play-state:paused}@keyframes tour-fill{to{transform:none}}.tour-step:focus-visible{outline-offset:2px;border-radius:4px;outline:2px solid}@media (width<=1300px){.auth-brand{--intro-scale:2.5}}@media (width<=1080px){.auth-brand{--intro-scale:2}}@media (prefers-reduced-motion:reduce){.auth-mark,.auth-intro,.tour-slide{transition:none}.auth-mark,.auth-intro,.tour-slide.is-active,.tour-board .mini-badge,.tour-note,.tour-phone,.tour-ladder span,.tour-step span,.auth-switch{animation:none!important}.tour-step.is-active span{transform:none}}.auth-switch{flex-direction:column;gap:16px;display:flex}.auth-switch.from-right{animation:.35s cubic-bezier(.2,.8,.2,1) both auth-switch-right}.auth-switch.from-left{animation:.35s cubic-bezier(.2,.8,.2,1) both auth-switch-left}@keyframes auth-switch-right{0%{opacity:0;transform:translate(24px)}}@keyframes auth-switch-left{0%{opacity:0;transform:translate(-24px)}}.auth-panel{place-items:start center;padding:max(40px,18vh) 24px 40px;display:grid}.auth-box{flex-direction:column;gap:16px;width:min(380px,100%);display:flex}.auth-box h2{letter-spacing:-.02em;margin:0;font-size:24px;font-weight:650}.auth-box .tabs-bar{border-bottom-color:var(--border-strong);margin-bottom:8px}.auth-box .tabs-tab{font-size:16px}.auth-field{flex-direction:column;gap:6px;display:flex}.auth-label{color:var(--text-2);font-size:13px;font-weight:600}.auth-field .input,.auth-form .input{height:48px;font-size:15px}.auth-field .input[aria-invalid=true]{border-color:color-mix(in srgb, var(--danger) 60%, transparent)}.auth-label{justify-content:space-between;align-items:baseline;display:flex}.auth-forgot{font-size:12px;font-weight:500}.auth-password{display:block;position:relative}.auth-password .input{padding-right:48px}.auth-eye{position:absolute;top:6px;right:6px}.auth-eye svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.auth-notice{text-align:center;color:var(--win);margin:0;font-size:13px}.auth-hint{color:var(--muted);font-size:12px;line-height:1.45}.auth-hint.bad{color:var(--danger)}.auth-hint.good{color:var(--win)}.auth-lead{color:var(--text-2);overflow-wrap:anywhere;margin:-6px 0 4px;font-size:14px;line-height:1.5}.auth-lead strong{color:var(--text);font-weight:600}.auth-google .google-g{width:18px;height:18px}.auth-google:disabled{opacity:.45}.auth-or{color:var(--muted);align-items:center;gap:12px;font-size:12px;display:flex}.auth-or:before,.auth-or:after{content:"";background:var(--border-strong);flex:1;height:1px}.auth-form{flex-direction:column;gap:12px;display:flex}.auth-form .input.auth-code{text-align:center;font-family:var(--font-mono);letter-spacing:.3em;font-size:22px}.auth-links{color:var(--muted);justify-content:center;gap:8px;margin:0;font-size:13px;display:flex}.auth-error{text-align:center}.auth-fine{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.auth-fine a{color:var(--text-2)}.auth-wait{color:var(--text-2);text-align:center;margin:0}.auth-guest{color:var(--muted);align-self:center;margin-top:8px;font-size:13px;text-decoration:none}.auth-guest:hover{color:var(--text);text-underline-offset:2px;text-decoration:underline}@media (width<=860px){.auth-page{min-height:var(--app-h);grid-template-rows:auto 1fr;grid-template-columns:1fr}.auth-brand{background:0 0;flex-direction:column;align-items:center;height:auto;padding:48px 20px 8px;display:flex;position:static}.auth-brand .auth-intro,.auth-brand .tour-cards{display:none}.auth-brand[data-phase] .auth-mark{transition:none;transform:none}.auth-brand[data-phase] .auth-intro{opacity:1;margin:0;position:static;transform:none}.auth-intro-line{font-size:24px}.auth-intro-sub{margin-top:6px;font-size:14px}.tour,.auth-brand-foot{display:none}.auth-panel{place-items:start center;padding:28px 16px 40px}}.account-confirm{background:var(--surface-2);border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.account-confirm p{color:var(--text-2);margin:0;font-size:13px;line-height:1.45}.account-confirm-actions{justify-content:flex-end;gap:8px;display:flex}.username-dialog{width:min(460px,100vw - 32px)}.header-avatar{width:36px;height:36px;font-size:15px}.header-account{align-items:center;gap:6px;display:flex}.header-account .btn.small{border-radius:9px;height:34px}.header-account .header-signup{margin:0;font-size:13px}.play-setup{padding:26px var(--pad-x) 48px;justify-content:center;display:flex}.setup-card{flex-direction:column;gap:10px;width:min(560px,100%);padding:24px;display:flex}.setup-card h2{letter-spacing:-.02em;font-size:24px;font-weight:700}.setup-card>p{margin:0}.setup-label{color:var(--text-2);margin:10px 0 0;font-size:13px;font-weight:600}.level-pick{flex-direction:column;gap:4px;display:flex}.level-readout{justify-content:space-between;align-items:baseline;display:flex}.level-readout strong{color:var(--text);margin-left:4px;font-size:22px;font-weight:700}.level-readout span{color:var(--brand);font-variant-numeric:tabular-nums;font-size:13.5px;font-weight:600}.level-slider{--fill:calc(10px + (100% - 20px) * var(--p));appearance:none;cursor:pointer;background:0 0;width:100%;height:28px;margin:0}.level-slider::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--brand) var(--fill), var(--surface-4) var(--fill));border-radius:3px;height:6px}.level-slider::-moz-range-track{background:linear-gradient(to right, var(--brand) var(--fill), var(--surface-4) var(--fill));border-radius:3px;height:6px}.level-slider::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:20px;height:20px;margin-top:-7px;transition:transform .12s;box-shadow:0 1px 3px #00000073}.level-slider::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:20px;height:20px;transition:transform .12s;box-shadow:0 1px 3px #00000073}.level-slider:active::-webkit-slider-thumb{transform:scale(1.12)}.level-slider:active::-moz-range-thumb{transform:scale(1.12)}.level-slider:focus-visible{outline:none}.level-slider:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px color-mix(in srgb, var(--brand) 45%, transparent)}.level-slider:focus-visible::-moz-range-thumb{box-shadow:0 0 0 4px color-mix(in srgb, var(--brand) 45%, transparent)}.level-ticks{justify-content:space-between;padding:0 4px;display:flex}.level-ticks span{text-align:center;width:12px;color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;transition:color .12s}.level-ticks span.active{color:var(--text);font-weight:700}.setup-card .segmented button{padding:8px 6px;font-size:13.5px}.setup-start{margin-top:12px}.clock-grid{flex-direction:column;gap:6px;display:flex}.clock-row{grid-template-columns:76px repeat(4,minmax(0,1fr));align-items:center;gap:6px;display:grid}.clock-group{color:var(--muted);font-size:12.5px}.clock-chip{background:var(--surface-3);height:36px;color:var(--text);font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;border:0;border-radius:9px;font-size:13.5px;font-weight:600;transition:background .12s,transform .12s}.clock-chip.untimed{font-weight:500}.clock-chip:hover{background:var(--surface-4)}.clock-chip.active{background:var(--brand-card);color:var(--brand-card-text);box-shadow:inset 0 0 0 2px var(--brand)}.clock-chip:active{transform:scale(.96)}:root.page-change .shell-page{view-transition-name:page}:root.page-change .sidebar{view-transition-name:sidebar}:root.page-change .tabbar{view-transition-name:tabbar}:root.page-change::view-transition-old(root){animation:none}:root.page-change::view-transition-new(root){animation:none}::view-transition-group(page){animation:none}::view-transition-group(sidebar){animation:none}::view-transition-group(tabbar){animation:none}::view-transition-old(sidebar){animation:none}::view-transition-new(sidebar){animation:none}::view-transition-old(tabbar){display:none}::view-transition-new(tabbar){animation:none}::view-transition-old(page){animation:.12s ease-in both page-out}::view-transition-new(page){animation:.34s cubic-bezier(.22,1,.36,1) 40ms both page-in}.page-leaving,.page-arriving{will-change:transform;animation-duration:.28s;animation-timing-function:cubic-bezier(.25,.1,.15,1);animation-fill-mode:both}.page-leaving{z-index:1;pointer-events:none;height:100dvh;position:fixed;top:0;left:0;right:0;overflow:hidden}.shell-page:has(.page-arriving){overflow-x:clip}.page-leaving>*{translate:0 var(--left-at)}.page-leaving .page-header{top:calc(var(--left-at) * -1);position:relative}.page-leaving.forward{animation-name:slide-to-left}.page-arriving.forward{animation-name:slide-from-right}.page-leaving.back{animation-name:slide-to-right}.page-arriving.back{animation-name:slide-from-left}:root[data-slide]::view-transition-old(page){mix-blend-mode:normal;animation-duration:.28s;animation-timing-function:cubic-bezier(.25,.1,.15,1);animation-delay:0s;animation-fill-mode:both}:root[data-slide]::view-transition-new(page){mix-blend-mode:normal;animation-duration:.28s;animation-timing-function:cubic-bezier(.25,.1,.15,1);animation-delay:0s;animation-fill-mode:both}:root[data-slide=forward]::view-transition-old(page){animation-name:slide-to-left}:root[data-slide=forward]::view-transition-new(page){animation-name:slide-from-right}:root[data-slide=back]::view-transition-old(page){animation-name:slide-to-right}:root[data-slide=back]::view-transition-new(page){animation-name:slide-from-left}@keyframes slide-to-left{to{transform:translate(-100%)}}@keyframes slide-from-right{0%{transform:translate(100%)}}@keyframes slide-to-right{to{transform:translate(100%)}}@keyframes slide-from-left{0%{transform:translate(-100%)}}@keyframes page-out{to{opacity:0}}@keyframes page-in{0%{opacity:0;transform:translateY(10px)}}@supports not (view-transition-name:none){.home-page,.page-host,.analysis-host,.puzzles-page{animation:.22s ease-out fade-in}.page-host[hidden],.analysis-host[hidden]{animation:none}}.setup-card,.result-card{animation:.3s cubic-bezier(.22,1,.36,1) rise-in}.play-layout{--board-size:round(down, max(280px, min(calc(100vh - var(--nav-h) - 2 * var(--pad-y) - 2 * var(--player-h) - 2 * 10px), calc(100cqw - var(--panel-w) - var(--gap) - 2 * var(--pad-x)), 880px)), var(--board-step));--column-h:calc(var(--board-size) + 2 * var(--player-h) + 2 * 10px);grid-template-columns:auto var(--panel-w);justify-content:center;align-items:start;gap:var(--gap);padding:var(--pad-y) var(--pad-x);animation:.25s ease-out fade-in;display:grid}.play-board{width:var(--board-size);flex-direction:column;grid-area:auto;gap:10px;display:flex}.play-page .player-bar{padding-left:0}.player-clock{background:var(--surface-2);color:var(--text-2);font-family:var(--font-mono);font-variant-numeric:tabular-nums;border-radius:8px;margin-left:auto;padding:4px 10px;font-size:18px;font-weight:600}.player-clock.running{background:var(--text);color:var(--bg)}.player-clock.running.low{color:#fff;background:#c7372f}.play-layout>.play-panel{width:var(--panel-w);height:var(--column-h);grid-area:auto}.play-panel-head{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:4px;padding:12px 10px 10px 16px;display:flex}.play-panel-head .icon-btn:disabled{opacity:.35;background:0 0}@media (width>=1001px){.play-layout.play-game{--nav-h:0px;padding-top:calc(var(--pad-y) + max(0px, (100vh - var(--nav-h) - 2 * var(--pad-y) - var(--column-h)) / 2))}:root[data-focus]{--side-w:0px}:root[data-focus] .sidebar{display:none}:root[data-focus] .play-layout.play-game{--pad-y:16px;--players-w:180px;--board-size:round(down, max(280px, min(calc(100vh - 2 * var(--pad-y)), calc(100cqw - var(--players-w) - var(--panel-w) - 2 * var(--gap) - 2 * var(--pad-x)), 1000px)), var(--board-step));--column-h:var(--board-size);grid-template-columns:var(--players-w) auto var(--panel-w)}.play-players{height:var(--column-h);grid-template-rows:1fr 1fr;gap:16px;display:grid}.play-players .player-bar{text-align:center;flex-direction:column;gap:10px;height:auto;padding:0}.play-players .player-bar:first-child .player-clock{margin-top:auto}.play-players .player-bar:last-child{justify-content:flex-end}.play-players .player-bar:last-child .player-clock{order:-1;margin-bottom:auto}.play-players .player-avatar{width:64px;height:64px;font-size:24px}.play-players .player-info{align-items:center}.play-players .player-name{flex-direction:column;align-items:center;gap:2px}.play-players .player-clock{text-align:center;border-radius:10px;min-width:128px;margin-left:0;padding:8px 16px;font-size:32px}.play-focus-close{z-index:40;position:fixed;top:14px;left:14px}}.play-panel-title{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.setup-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.setup-head h2{margin:0}.panel-gear svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.play-panel-head .muted{font-size:13px}.play-status{font-weight:600}.play-opening{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.play-actions,.result-card{border-top:1px solid var(--border);flex-shrink:0;padding:12px}.play-nav{border-top:1px solid var(--border);flex-shrink:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px 12px;display:grid}.play-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.play-actions.play-tools{border-top:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:0 12px 12px}.play-tools .ctrl{position:relative}.panel-strip{flex-shrink:0;align-items:center;gap:2px;padding:0 8px 8px;display:flex}.panel-strip-end{margin-left:auto}.play-tools .ctrl svg{width:20px;height:20px}.play-tool-half{font-size:20px;font-weight:500;line-height:1}.play-tool-count{color:var(--text-2);font-variant-numeric:tabular-nums;font-size:11px;font-weight:650;position:absolute;top:5px;right:8px}.result-card{flex-direction:column;gap:10px;display:flex}.result-card p{margin:0;font-size:13px}.result-card .accent-btn{margin-top:0}.result-more{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}@media (width<=1000px){.play-setup{padding:16px 16px calc(var(--tabbar-h) + 24px)}.play-layout{--board-size:min(calc(100vw - 32px), 640px);grid-template-columns:minmax(0, var(--board-size));padding:14px 16px calc(var(--tabbar-h) + 24px);row-gap:12px}.play-layout>.play-panel{order:0;width:auto;height:auto}}.games-empty .btn{flex-shrink:0;margin-left:auto}.games-card{padding:20px 8px 10px}.games-card .home-card-head{padding:0 12px 6px}.games-card .games-empty{padding:12px}@media (width<=520px){.games-empty{flex-wrap:wrap}.games-empty .btn{margin-left:0}}.puzzle-head{border-bottom:1px solid var(--border);flex-direction:column;flex-shrink:0;gap:4px;padding:14px 16px 12px;display:flex}.puzzle-head>.muted{font-size:13px}.puzzle-rating{align-items:baseline;gap:10px;display:flex}.puzzle-rating .muted{font-size:13px}.puzzle-rating strong{font-family:var(--font-mono);font-variant-numeric:tabular-nums;letter-spacing:-.02em;font-size:26px;font-weight:700}.rating-delta{font-family:var(--font-mono);border-radius:6px;align-self:center;padding:2px 8px;font-size:13px;font-weight:700;animation:.3s cubic-bezier(.22,1,.36,1) rise-in}.rating-delta.up{background:color-mix(in srgb, var(--win) 18%, transparent);color:var(--win)}.rating-delta.down{background:color-mix(in srgb, var(--danger) 18%, transparent);color:var(--danger)}.puzzle-body{gap:12px;padding:14px 16px}.puzzle-info{flex-direction:column;gap:10px;animation:.3s cubic-bezier(.22,1,.36,1) rise-in;display:flex}.puzzle-info p,.mistake-played p,.mistake-best{margin:0;line-height:1.45}.theme-chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.theme-chips li{background:var(--surface-3);color:var(--text-2);border-radius:999px;padding:4px 10px;font-size:13px}.puzzle-source{color:var(--muted);font-size:13px}.puzzle-source:hover{color:var(--text)}.puzzle-message{flex-direction:column;align-items:flex-start;gap:12px;margin:auto 0;display:flex}.puzzle-message p{flex-direction:column;gap:4px;margin:0;line-height:1.45;display:flex}.puzzle-message p span{color:var(--text-2)}.puzzle-message-actions{gap:8px;display:flex}.mistake-played{align-items:flex-start;gap:10px;display:flex}.mistake-best{animation:.3s cubic-bezier(.22,1,.36,1) rise-in}.mistake-nav{grid-template-columns:50px;justify-content:end}.play-actions .puzzle-next{height:40px;margin-top:0;font-size:14px}.puzzle-rating strong.date{font-family:var(--font-ui);font-size:22px}.puzzle-message-actions .btn{text-decoration:none}.daily-card{flex-direction:column;gap:14px;display:flex}.daily-head{align-items:center;gap:10px;display:flex}.daily-head h2{flex:1;margin:0;font-size:16px}.daily-head>:last-child{margin-left:auto}.daily-head h2 .muted{margin-left:6px;font-size:13px;font-weight:500}.daily-board{cursor:pointer;background:0 0;border:0;padding:0}.daily-board .mini-board{border-radius:10px;transition:box-shadow .15s;overflow:hidden}.daily-board:focus-visible{outline:none}.daily-board:focus-visible .mini-board{box-shadow:0 0 0 3px var(--card), 0 0 0 6px var(--brand)}@media (hover:hover){.daily-board:hover .mini-board{box-shadow:0 0 0 3px var(--card), 0 0 0 6px var(--brand)}}.daily-board .skel-board{border-radius:10px}.mini-board{aspect-ratio:1;background:var(--board-image) center / cover;grid-template-columns:repeat(8,1fr);display:grid}.mini-board span{aspect-ratio:1}.mini-board span.last{background:var(--last-move)}.daily-foot{justify-content:space-between;align-items:center;gap:12px;display:flex}.daily-foot p{flex-direction:column;gap:2px;margin:0;font-size:14px;display:flex}.daily-foot .muted{font-size:13px}.skel-line{align-items:center;height:1.45em;display:flex}@media (width<=1000px){.puzzle-layout .feedback{order:-3}.puzzle-layout .play-actions{border-top:0;border-bottom:1px solid var(--border);order:-2}.puzzle-layout .play-nav{border-top:0;border-bottom:1px solid var(--border);order:-1}.puzzle-layout .panel-body{min-height:0}}.feedback{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:14px;padding:14px 16px;transition:background .2s;display:flex}.feedback.good{background:color-mix(in srgb, var(--win) 9%, transparent)}.feedback.bad{background:color-mix(in srgb, var(--danger) 9%, transparent)}.feedback-icon{border-radius:50%;flex-shrink:0;place-items:center;width:46px;height:46px;animation:.32s cubic-bezier(.34,1.56,.64,1) badge-in;display:grid}.feedback.turn .feedback-icon{background:var(--surface-3);border-radius:12px}.feedback.turn .feedback-icon .piece-icon{width:38px;height:38px}.feedback-icon svg{fill:none;stroke:#fff;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.feedback.good .feedback-icon{background:var(--win)}.feedback.bad .feedback-icon{background:var(--danger)}.feedback.neutral .feedback-icon{background:var(--surface-4)}.feedback.neutral .feedback-icon svg{stroke:var(--text-2)}.feedback-text{flex-direction:column;gap:2px;min-width:0;display:flex}.feedback-text strong{letter-spacing:-.01em;font-size:19px;font-weight:700}.feedback.good .feedback-text strong{color:var(--win)}.feedback.bad .feedback-text strong{color:var(--danger)}.feedback-text span{color:var(--text-2);font-size:13px}.flame{fill:var(--muted);flex-shrink:0}.flame .flame-core{fill:var(--surface-2)}.flame.lit{fill:var(--streak)}.flame.lit .flame-core{fill:#ffd27a}.streak-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:6px;display:grid}.streak-tile{background:var(--surface-2);border-radius:12px;grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-items:center;column-gap:8px;padding:10px 12px;display:grid}.streak-tile>svg{grid-row:span 2}.streak-tile strong{font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-size:22px;font-weight:700;line-height:1.1;animation:.32s cubic-bezier(.34,1.56,.64,1) badge-in}.streak-tile span{color:var(--muted);white-space:nowrap;grid-column:2;font-size:12px}.streak-tile.hot{background:color-mix(in srgb, var(--streak) 14%, var(--surface-2))}.streak-tile.hot strong{color:var(--streak)}.tile-icon{fill:none;width:20px;height:20px;stroke:var(--muted);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.streak-tile.hot .tile-icon{stroke:var(--streak)}.day-streak{background:var(--surface-3);color:var(--muted);white-space:nowrap;border-radius:999px;align-self:center;align-items:center;gap:4px;margin-left:auto;padding:4px 10px 4px 7px;font-size:12px;display:inline-flex}.day-streak strong{font-family:var(--font-mono);font-size:14px;animation:.32s cubic-bezier(.34,1.56,.64,1) badge-in}.day-streak.lit{background:color-mix(in srgb, var(--streak) 16%, transparent);color:var(--streak)}.puzzle-below{min-height:30px}.session-chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.session-chips a{font-family:var(--font-mono);color:#fff;border-radius:7px;padding:4px 9px;font-size:13px;font-weight:700;text-decoration:none;animation:.3s cubic-bezier(.34,1.56,.64,1) badge-in;display:inline-block}.session-chips a.up{background:var(--win);color:#0d2a06}.session-chips a.down{background:var(--danger);color:#fff}.puzzle-prefs{border-top:1px solid var(--border);flex-direction:column;gap:10px;margin-top:auto;padding-top:12px;display:flex}.pref-row{color:var(--text-2);justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.pref-select{background:var(--btn);height:32px;color:var(--text);font:inherit;border:0;border-radius:8px;padding:0 10px;font-size:13px}.play-actions.single{grid-template-columns:minmax(0,1fr)}.sprint-title{font-size:20px;font-weight:700}.sprint-modes{flex-direction:column;gap:8px;display:flex}.sprint-mode{border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:12px;grid-template-columns:1fr auto;gap:2px 12px;padding:14px 16px;transition:border-color .15s,background .15s;display:grid}.sprint-mode:hover{background:var(--surface-3)}.sprint-mode.active{border-color:var(--brand);background:color-mix(in srgb, var(--brand) 10%, var(--surface-2))}.sprint-mode strong{font-size:17px}.sprint-mode span{color:var(--text-2);grid-column:1;font-size:13px}.sprint-mode .sprint-best{color:var(--muted);font-variant-numeric:tabular-nums;grid-area:1/2/span 2;align-self:center}.sprint-head{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:16px;padding:14px 16px;display:flex}.sprint-clock{background:var(--text);color:var(--bg);font-family:var(--font-mono);font-variant-numeric:tabular-nums;border-radius:10px;padding:6px 12px;font-size:24px;font-weight:700}.sprint-clock.low{color:#fff;background:#c7372f}.sprint-score{align-items:baseline;gap:6px;display:flex}.sprint-score strong{font-family:var(--font-mono);font-size:30px;font-weight:700;animation:.32s cubic-bezier(.34,1.56,.64,1) badge-in}.sprint-score span{color:var(--muted);font-size:13px}.sprint-strikes{gap:4px;margin-left:auto;display:flex}.sprint-strikes span{background:var(--surface-3);width:26px;height:26px;color:var(--muted);border-radius:8px;place-items:center;font-weight:800;display:grid}.sprint-strikes span.used{background:var(--danger);color:#fff;animation:.32s cubic-bezier(.34,1.56,.64,1) badge-in}.sprint-result{text-align:center;flex-direction:column;align-items:center;gap:4px;padding:18px 0 6px;display:flex}.sprint-result strong{font-family:var(--font-mono);font-size:64px;font-weight:800;line-height:1;animation:.4s cubic-bezier(.34,1.56,.64,1) badge-in}.sprint-result>span{color:var(--text-2)}.new-best{background:var(--streak);border-radius:999px;margin-top:8px;padding:4px 12px;font-weight:800;color:#2a1200!important}.sprint-note{text-align:center;color:var(--text-2);margin:0}@media (width>=1001px){.play-layout.puzzle-layout{--board-size:round(down, max(280px, min(calc(100vh - var(--nav-h) - 2 * var(--pad-y) - 40px), calc(100cqw - var(--panel-w) - var(--gap) - 2 * var(--pad-x)), 880px)), var(--board-step));--column-h:calc(var(--board-size) + 40px)}}@media (width<=1000px){.puzzle-layout .sprint-head,.puzzle-layout .puzzle-head{order:-4}.puzzle-below{min-height:0}}.skel{--skel-ink:var(--text);background:color-mix(in srgb, var(--skel-ink) 8%, transparent);border-radius:6px;flex:none;max-width:100%;animation:.3s ease-out .15s backwards skel-in;display:block;position:relative;overflow:hidden}.skel:after{content:"";background:linear-gradient(100deg, transparent 25%, color-mix(in srgb, var(--skel-ink) 8%, transparent) 50%, transparent 75%);will-change:transform;animation:1.6s cubic-bezier(.4,0,.6,1) infinite skel-shine;position:absolute;inset:0;transform:translate(-100%)}.accent-card .skel{--skel-ink:var(--brand-card-text)}@keyframes skel-in{0%{opacity:0}}@keyframes skel-shine{to{transform:translate(100%)}}.boot{box-sizing:border-box;gap:24px;min-height:100vh;padding:12px;display:flex}.boot-side{box-sizing:border-box;background:var(--surface);border-radius:22px;flex-direction:column;flex:0 0 248px;gap:22px;height:calc(100vh - 24px);padding:20px 18px;display:flex}.boot-main{flex-direction:column;flex:1;gap:14px;max-width:1100px;padding:36px 8px;display:flex}.boot-head,.boot-tabs{display:none}.boot-card{border-radius:18px;height:180px;margin-top:10px}.boot-card.tall{height:260px}@media (width<=1000px){.boot{padding:0 16px}.boot-side{display:none}.boot-main{padding:0}.boot-head{height:var(--nav-h);align-items:center;gap:10px;margin-bottom:12px;display:flex}.boot-tabs{height:calc(61px + var(--safe-bottom));background:color-mix(in srgb, var(--brand) 12%, var(--surface));display:block;position:fixed;bottom:0;left:0;right:0}}.boot-home,.boot-phone,:root[data-boot=home] .boot:not(.boot-home){display:none}:root[data-boot=home] .boot-home{padding:0;display:block}.boot-desk{align-items:flex-start;min-height:100vh;display:flex}.boot-sidebar{gap:22px;padding:20px 18px}:root[data-boot-rail] .boot-sidebar{flex-basis:72px}:root[data-boot-rail] .boot-sidebar .skel{display:none}.boot-fill{box-sizing:border-box;min-height:var(--h)}.boot-title{width:40%;height:18px}.boot-welcome{gap:12px;height:53.4px}.boot-home .boot-first,:root[data-boot-first] .boot-home .boot-returning{display:none}:root[data-boot-first] .boot-home .boot-first{display:flex}.boot-games-empty{--h:132px}@container page (width>=920px) and (width<=1048px){.boot-games-empty{--h:149.4px}}.boot-quick{--h:83.3px}@container page (width>=920px) and (width<=1048px){.boot-quick{--h:102.2px}}.boot-games{--h:528px}:root[data-boot-reviews] .boot-games{--h:560px}.boot-plan{--h:321.4px}:root[data-boot-reviews] .boot-plan{--h:394.6px}.boot-daily-head{width:50%;height:28.3px}.boot-board{aspect-ratio:1;border-radius:10px;width:100%}.boot-daily-foot{height:41.1px}@media (width<=1000px){.boot-desk{display:none}.boot-phone{display:block}.boot-phone-head{height:var(--nav-h);align-items:center;gap:10px;padding:0 16px;display:flex}.boot-phone-welcome{--h:59px;justify-content:flex-end;gap:14px}:root[data-boot-user] .boot-phone-welcome{--h:81px}.boot-phone .boot-tabs{height:calc(115px + var(--safe-bottom))}.boot-play{background:var(--surface-3);border-radius:12px;width:calc(100% - 16px);max-width:600px;height:46px;margin:7px auto 0}.boot-first-welcome{--h:32px}.boot-hero{--h:254px}.boot-daily-compact{--h:126px}@media (width<=385px){.boot-hero{--h:273px}}@media (width<=340px){.boot-first-welcome{--h:59px}.boot-hero{--h:302px}.boot-daily-compact{--h:145px}}}.skel-board{aspect-ratio:1;width:100%;position:relative;overflow:hidden}.skel-board:before{content:"";background:repeating-conic-gradient(color-mix(in srgb, var(--skel-ink) 5%, transparent) 0 25%, transparent 0 50%) 0 0 / 25% 25%;position:absolute;inset:0}.skel-gap{margin-top:8px}.skel-round{border-radius:50%}.skel-pill{border-radius:999px}.skel-button{border-radius:12px}.skel-group{pointer-events:none}@media (prefers-reduced-motion:reduce){.skel:after{opacity:0;animation:none}}:root.settling :is(.legendary-strip,.legendary-teaser){view-transition-name:legendary-strip}:root.settling .daily-card{view-transition-name:daily-card}:root.settling .plan-card{view-transition-name:plan-card}:root.settling .form-strip{view-transition-name:form-strip}:root.settling .home-actions>:first-child{view-transition-name:review-action}:root.settling .home-main>.games-card{view-transition-name:home-games}:root.settling :is(.legendary-strip,.legendary-teaser,.daily-card,.plan-card,.form-strip,.home-actions>:first-child,.home-main>.games-card){view-transition-class:card}::view-transition{pointer-events:none}::view-transition-group(*){animation-duration:.45s;animation-timing-function:cubic-bezier(.2,.8,.2,1)}::view-transition-group(.card){border-radius:18px;overflow:clip}.see-all{margin-left:auto;font-size:14px}.games-error,.games-loading{color:var(--muted);margin:4px 12px 10px;font-size:13.5px}.games-error{color:var(--danger)}.home-games-chips{margin-left:8px}.home-games-chips .filter-chip{height:30px;padding:0 12px;font-size:12.5px}.home-day+.home-day{margin-top:6px}.home-day-head{box-sizing:border-box;height:34px;color:var(--muted);align-items:center;gap:10px;margin:0;padding:0 12px;font-size:13px;font-weight:450;display:flex}.home-day-head b{color:var(--text);flex:none;font-weight:650}.home-games{flex-direction:column;gap:4px;margin:0;padding:0 4px;list-style:none;display:flex}.home-game{box-sizing:border-box;background:var(--surface-3);width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:12px;grid-template-columns:52px minmax(0,1.2fr) minmax(120px,1fr) 76px;align-items:center;gap:16px;padding:8px 12px 8px 8px;transition:background .12s;display:grid}button.home-game:hover{background:var(--surface-4)}:root[data-theme=light] .home-game{background:var(--side)}:root[data-theme=light] button.home-game:hover{background:var(--surface-3)}.home-game-board{width:52px;height:52px;position:relative}.home-game-board>.mini-board,.home-game-board>.skel{border-radius:6px;width:100%;height:100%;display:grid;overflow:hidden}.home-game-result{background:var(--surface-4);color:var(--text);font:700 11px/16px var(--font-ui);border-radius:6px;padding:1px 6px;font-style:normal;position:absolute;top:-4px;left:-4px}.home-game-result.win{background:var(--win);color:var(--bg)}.home-game-result.loss{background:var(--danger);color:var(--bg)}.home-game-text{flex-direction:column;gap:4px;min-width:0;display:flex}.home-game-title,.home-game-detail{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.home-game-title{font-size:14.5px;line-height:20px}.home-game-title strong{font-weight:650}.home-game-title span{color:var(--muted);font-size:13px}.home-game-detail{color:var(--muted);font-size:12.5px;line-height:16px}.home-game-moves{flex-direction:column;gap:6px;min-width:0;display:flex}.quality-strip{box-sizing:border-box;border-radius:4px;gap:1px;height:14px;display:flex;overflow:hidden}.quality-strip i{flex:1}.quality-strip.empty{border:1px dashed var(--border-strong)}.home-game-under{color:var(--muted);white-space:nowrap;justify-content:space-between;gap:8px;font-size:12px;line-height:16px;display:flex;overflow:hidden}.home-game-under b{color:var(--text);font-weight:650}.home-game-under>:last-child{text-overflow:ellipsis;min-width:0;overflow:hidden}.home-game-go{color:var(--muted);white-space:nowrap;justify-self:end;font-size:13.5px;font-weight:600;transition:color .15s}button.home-game:hover .home-game-go{color:var(--text)}.home-game-go.review{color:var(--brand)}button.home-game:hover .home-game-go.review{color:color-mix(in srgb, var(--brand) 75%, var(--text))}@media (width<=640px){.home-day-head{align-items:baseline;height:auto;min-height:34px;padding:8px 12px}.home-game{grid-template-columns:48px minmax(0,1fr) auto;gap:8px 12px}.home-game-board{grid-row:span 2;align-self:start;width:48px;height:48px}.home-game-moves{grid-area:2/2/auto/-1}.home-game-go,.home-game-go-space{grid-area:1/3}.home-game-go{font-size:13px}}.home-games-none{color:var(--muted);margin:0;padding:14px 12px 8px;font-size:13.5px}.quality-key{color:var(--muted);flex-wrap:wrap;gap:6px 14px;margin:0;padding:14px 12px 2px;font-size:12px;list-style:none;display:flex}.quality-key li{align-items:center;gap:6px;height:16px;display:inline-flex}.quality-key i{border-radius:2px;width:10px;height:10px}.daily-foot .muted{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.daily-foot p{min-width:0}.latest-accuracy{font-family:var(--font-mono);font-size:13px}.latest-more{color:inherit;opacity:.75;align-self:center}.latest-more:hover:not(:disabled){color:inherit;opacity:1}.save-nudge{background:var(--brand-card);color:var(--brand-card-text);border-radius:16px;align-items:center;gap:14px;padding:14px 12px 14px 16px;display:flex}.save-nudge-icon{background:var(--brand);width:40px;height:40px;color:var(--brand-ink);border-radius:11px;flex-shrink:0;place-items:center;display:grid}.save-nudge-icon svg,.save-nudge-close svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.save-nudge-text{flex-direction:column;flex:1;gap:2px;min-width:0;line-height:1.4;display:flex}.save-nudge-text strong{font-size:15px;font-weight:650}.save-nudge-text span{opacity:.75;font-size:13px}.save-nudge-cta{flex-shrink:0;height:40px;margin:0;padding:0 20px;font-size:14px}.save-nudge-close{color:inherit;opacity:.6;flex-shrink:0}.save-nudge-close:hover{opacity:1}@media (width<=640px){.save-nudge{flex-wrap:wrap}.save-nudge-text{flex-basis:calc(100% - 110px)}.save-nudge-cta{order:4;width:100%}}.hero-card{gap:14px;padding:26px}.hero-card h2{font-size:26px}.hero-card>p{max-width:520px;font-size:15px}.hero-alt{font-size:13px}.hero-alt .link-btn{color:inherit;text-underline-offset:2px;text-decoration:underline}.username-form{flex-direction:column;gap:12px;display:flex}.site-switch{background:color-mix(in srgb, var(--bg) 45%, transparent);border-radius:12px;align-self:flex-start;gap:4px;padding:4px;display:flex}.site-switch button{height:36px;color:inherit;font:inherit;opacity:.8;background:0 0;border:0;border-radius:9px;padding:0 16px;font-weight:550}.site-switch button.on{background:var(--accent);color:var(--accent-ink);opacity:1;font-weight:600}.username-row{flex-wrap:wrap;gap:10px;display:flex}.username-row .input{border-radius:12px;flex:240px;width:auto;height:48px;font-size:15px}.username-row .accent-btn{height:48px;margin:0;padding:0 22px}.username-error{color:var(--danger);margin:0;font-size:13.5px;font-weight:500}.chip{background:var(--surface-3);color:var(--text);font:inherit;border:0;border-radius:999px;align-items:center;gap:6px;padding:4px 10px;font-size:12.5px;display:inline-flex}button.chip{cursor:pointer}button.chip:hover{background:var(--surface-4)}.puzzles-card{flex-direction:column;gap:12px;display:flex}.puzzles-card header{align-items:center;gap:10px;display:flex}.puzzles-card header h2{flex:1}.puzzles-card .muted{font-size:13px}.games-title strong{color:var(--text-2);font-weight:550}.games-toolbar{flex-wrap:wrap;row-gap:8px}.games-toolbar .filter-chip{height:30px;padding:0 12px;font-size:12.5px}.games-sources{margin-left:auto}.games-picked{color:var(--text-2);align-items:center;gap:10px;margin:0 12px 4px;font-size:13px;font-weight:550;display:flex}.games-older{margin:12px auto 4px;display:flex}.filter-chips{flex-wrap:wrap;gap:6px;display:flex}.filter-chip{--chip:var(--text);background:var(--btn);height:34px;color:var(--text-2);font:inherit;border:0;border-radius:999px;align-items:center;gap:7px;padding:0 13px;font-size:13px;font-weight:550;transition:background .15s,color .15s;display:inline-flex}.filter-chip.win{--chip:var(--win)}.filter-chip.loss{--chip:var(--danger)}.filter-chip.draw{--chip:var(--muted)}.filter-chip:not(.all):before{content:"";background:var(--chip);border-radius:50%;width:7px;height:7px}.filter-chip:hover{background:var(--btn-hover);color:var(--text)}.filter-chip.on{background:color-mix(in srgb, var(--chip) 18%, transparent);color:var(--text);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--chip) 45%, transparent)}.filter-count{color:var(--muted);font-variant-numeric:lining-nums tabular-nums;font-size:12px}.result-bar{border-radius:3px;flex:none;gap:2px;width:64px;height:6px;display:flex;overflow:hidden}.result-bar i,.result-dot:before{background:var(--muted)}.result-bar .win,.result-dot.win:before{background:var(--win)}.result-bar .loss,.result-dot.loss:before{background:var(--danger)}.result-dot{align-items:center;gap:5px;display:inline-flex}.result-dot:before{content:"";border-radius:50%;width:6px;height:6px}.record-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.record-strip .form-bars{align-self:center}.record-strip .result-bar{border-radius:4px;flex:1;height:8px}.form-spark{width:100%;height:100%;overflow:visible}.form-spark path{fill:none;stroke:var(--brand);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.group-card{padding:20px 8px 8px}.group-card .home-card-head{padding:0 12px 8px}.group-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.group-row{box-sizing:border-box;width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:8px 12px;transition:background .12s;display:flex}button.group-row:hover{background:var(--surface-3)}.group-row.on{background:color-mix(in srgb, var(--brand) 14%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent)}.group-text{flex-direction:column;flex:1;justify-content:center;gap:3px;min-width:0;min-height:37px;display:flex}.skel-group .group-text{gap:8px}.group-text strong,.group-text small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.group-text strong{font-size:14px;font-weight:600;line-height:18px}.group-text small{color:var(--muted);align-items:center;gap:6px;font-size:12px;line-height:16px;display:flex}.side-dot{width:8px;height:8px;box-shadow:inset 0 0 0 1px var(--border-strong);border-radius:50%;flex:none}.side-dot.white{background:#f2f2f2}.side-dot.black{background:#1a1a1a}.time-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.time-head,.time-row{text-align:right;font-variant-numeric:tabular-nums;grid-template-columns:minmax(0,1fr) 48px 52px 60px;align-items:center;gap:8px;padding:0 12px;display:grid}.time-head{height:24px;color:var(--muted);font-size:12px}.time-row{box-sizing:border-box;width:100%;min-height:44px;color:var(--text-2);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;font-size:13px;transition:background .12s}.time-row:hover{background:var(--surface-3)}.time-row.on{background:color-mix(in srgb, var(--brand) 14%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--brand) 40%, transparent)}.time-name{text-align:left;white-space:nowrap;align-items:baseline;gap:8px;min-width:0;display:flex;overflow:hidden}.time-name strong{color:var(--text);font-size:14px;font-weight:600}.time-name small{text-overflow:ellipsis;color:var(--muted);font-size:12px;overflow:hidden}.time-rating{color:var(--text);font-weight:650}.group-note{color:var(--muted);margin-left:auto;font-size:12px}.group-score{text-align:right;font-variant-numeric:tabular-nums;flex:none;width:38px;font-size:13px;font-weight:650}:root{font-synthesis-weight:none}h1,h2{font-family:var(--font-display);font-variant-numeric:lining-nums;letter-spacing:-.02em}.puzzle-rating strong,.streak-tile strong,.sprint-score strong,.sprint-result strong,.player-clock,.sprint-clock{font-family:var(--font-ui);font-variant-numeric:tabular-nums;letter-spacing:-.01em}.sidebar-brand .wordmark{font-size:20px}.wordmark{font-family:var(--font-display);letter-spacing:-.045em;white-space:nowrap;font-weight:800}.wordmark-tail{color:var(--brand);font-weight:500}.page-header-home .wordmark{font-size:19px}.sidebar-item{font-family:var(--font-display);letter-spacing:-.01em;word-spacing:.14em;font-size:15px;font-weight:600}.sidebar-item.active svg{color:var(--brand)}.latest-accuracy{font-family:var(--font-ui);font-variant-numeric:tabular-nums}.sidebar-item.featured{background:var(--brand-card);color:var(--brand-card-text);margin-top:13px;position:relative}.sidebar-item.featured:before{content:"";background:var(--border);height:1px;position:absolute;top:-8px;left:12px;right:12px}.sidebar-item.featured svg{color:var(--brand-card-text)}.sidebar-item.featured:hover,.sidebar-item.featured.active{background:color-mix(in srgb, var(--brand-card-text) 10%, var(--brand-card));color:var(--brand-card-text)}.sidebar-item.featured:before{transition:left var(--side-t) var(--side-ease), right var(--side-t) var(--side-ease)}.sidebar.rail .sidebar-item.featured:before{left:8px;right:8px}.account-photo{cursor:pointer;border:0;padding:0;position:relative;overflow:hidden}.account-photo-edit{opacity:0;background:#00000080;place-items:center;transition:opacity .12s;display:grid;position:absolute;inset:0}.account-photo:hover .account-photo-edit,.account-photo:focus-visible .account-photo-edit{opacity:1}.account-photo-edit svg{fill:none;stroke:#fff;stroke-width:1.8px;stroke-linejoin:round;width:18px;height:18px}.settings-page{box-sizing:border-box;max-width:1080px;padding:26px var(--pad-x) 48px 12px;flex-direction:column;gap:16px;margin-inline:auto;display:flex}.settings-title{letter-spacing:-.01em;margin:0;font-size:22px;font-weight:650}.settings-layout{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:16px;display:grid}.settings-nav{background:var(--card);box-shadow:var(--card-edge);border-radius:18px;flex-direction:column;gap:2px;padding:10px;display:flex;position:sticky;top:12px}.settings-nav-item{height:42px;color:var(--text-2);border-radius:11px;align-items:center;gap:12px;padding:0 12px;font-size:14.5px;font-weight:550;text-decoration:none;transition:background .12s,color .12s;display:flex}.settings-nav-item:hover,.settings-nav-item.active{background:var(--surface-3);color:var(--text)}.settings-nav-item svg,.settings-back svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:20px;height:20px}.settings-nav-chevron{color:var(--muted);margin-left:auto;display:grid}.settings-nav-chevron svg{width:16px;height:16px}.settings-body{background:var(--card);min-width:0;box-shadow:var(--card-edge);border-radius:18px;flex-direction:column;padding:24px 28px 28px;animation:.18s ease-out fade-in;display:flex}.settings-section-head{padding-bottom:18px}.settings-section-head h2{margin:0;font-size:20px;font-weight:650}.settings-section-head p{max-width:560px;color:var(--muted);margin:4px 0 0;font-size:13.5px}.settings-row{border-top:1px solid var(--border);align-items:center;gap:16px;padding:16px 0;display:flex}.settings-row.wide{flex-direction:column;align-items:stretch}.settings-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.settings-row-label{font-weight:600}.settings-row.danger .settings-row-label{color:var(--danger)}.settings-row-control{flex-shrink:0;align-items:center;gap:8px;display:flex}.settings-row.wide .settings-row-control{display:block}.settings-value{color:var(--text-2);overflow-wrap:anywhere;font-size:13.5px}strong.settings-value{color:var(--text);font-weight:600}.settings-photo{align-items:center;gap:8px;display:flex}.settings-photo .user-avatar{border-radius:16px;width:56px;height:56px;margin-right:6px;font-size:22px}.settings-inline-form{flex-direction:column;gap:12px;max-width:420px;display:flex}.settings-form-actions{justify-content:flex-end;gap:8px;display:flex}.settings-loading{color:var(--muted);margin:0}.settings-danger{background:color-mix(in srgb, var(--danger) 7%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--danger) 22%, transparent);border-radius:14px;margin-top:20px;padding:0 16px}.settings-danger .settings-row{border-top:0}.settings-danger .account-confirm{margin-bottom:16px}.btn.ghost.danger{color:var(--danger)}.danger-btn{background:var(--danger);color:#fff}.danger-btn:hover:not(:disabled){background:color-mix(in srgb, var(--danger) 85%, #000)}.settings-guest{background:var(--surface-3);border-radius:16px;flex-direction:column;gap:16px;padding:22px 24px 24px;display:flex}.settings-guest h3{margin:0;font-size:17px;font-weight:650}.settings-perks{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.settings-perks li{color:var(--text-2);align-items:center;gap:12px;display:flex}.settings-perks svg{box-sizing:border-box;background:color-mix(in srgb, var(--brand) 14%, transparent);fill:none;width:34px;height:34px;stroke:var(--brand);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;border-radius:10px;flex-shrink:0;padding:8px}.settings-guest-actions{gap:10px;margin-top:4px;display:flex}.settings-guest-actions .btn{border-radius:10px;height:42px;padding:0 20px}.signup-btn{background:var(--brand);color:var(--brand-ink);font-weight:700}.signup-btn:hover:not(:disabled){filter:brightness(1.08)}.user-card-who{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;flex:1;align-items:center;gap:10px;margin:-4px 0 -4px -3px;padding:4px 6px 4px 3px;transition:background .12s;display:flex}.user-card-who:hover,.user-card-who.active{background:var(--btn)}.sidebar .user-card-who{max-width:200px;transition:background .12s, max-width var(--side-t) var(--side-ease);overflow:hidden}.sidebar.rail .user-card-who{max-width:44px}.sidebar.rail .user-card-who:hover,.sidebar.rail .user-card-who.active{background:0 0}.account-menu{z-index:70;border:1px solid var(--border-strong);background:var(--surface-2);width:248px;box-shadow:var(--shadow-pop);border-radius:14px;flex-direction:column;padding:6px;animation:.14s cubic-bezier(.22,1,.36,1) pop-in;display:flex;position:fixed}.account-menu.up{transform-origin:0 100%}.account-menu.down{transform-origin:100% 0}.account-menu-who{align-items:center;gap:10px;padding:8px 8px 10px;display:flex}.account-menu-who .user-avatar{border-radius:10px;width:36px;height:36px;font-size:15px}.account-menu-text{flex-direction:column;min-width:0;line-height:1.3;display:flex}.account-menu-text strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.account-menu-text span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.account-menu-item{height:38px;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 10px;font-size:13.5px;display:flex}.account-menu-item:hover:not(:disabled){background:var(--btn-hover)}.account-menu-item svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;color:var(--text-2)}.account-menu-item.danger,.account-menu-item.danger svg{color:var(--danger)}.account-menu-sep{background:var(--border);height:1px;margin:4px 6px}.account-menu-confirm p{color:var(--text-2);margin:4px 10px 6px;font-size:12.5px;line-height:1.45}.switch-row{cursor:pointer;align-items:center;gap:16px;display:flex}.switch-row-text{flex-direction:column;flex:1;gap:1px;min-width:0;font-weight:600;display:flex}.linked-sites{flex-direction:column;gap:10px;display:flex}.linked-site{--site:var(--tone-green);background:var(--surface-3);border-radius:14px;flex-direction:column;gap:12px;padding:14px 16px;display:flex}.linked-site.lichess{--site:var(--tone-amber)}.linked-head{align-items:center;gap:12px;display:flex}.linked-dot{background:var(--site);width:10px;height:10px;box-shadow:0 0 0 4px color-mix(in srgb, var(--site) 20%, transparent);border-radius:50%;flex-shrink:0}.linked-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.linked-text span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.linked-text b{color:var(--text);font-weight:600}.linked-actions{gap:6px;display:flex}.linked-form{gap:8px;display:flex}.linked-form .input{flex:1;min-width:0}.board-options{flex-direction:column;gap:18px;display:flex}.board-strip{width:round(down, 100%, var(--board-step));border-radius:10px;flex-shrink:0;align-self:center;overflow:hidden;container-type:inline-size}.board-strip .board{--board-size:100cqw;margin-bottom:-62.5cqw}.option-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.option-row-text{flex-direction:column;flex:160px;gap:1px;min-width:0;font-weight:600;display:flex}.option-row-control{flex:0 auto;min-width:0}.option-row .segmented{min-width:220px}.dialog.options-dialog:not([open]){transform:translateY(10px)}@starting-style{.dialog.options-dialog[open]{transform:translateY(10px)}}.confirm-dialog{width:min(400px,100vw - 32px)}.confirm-body{color:var(--muted);padding:4px 20px 0;font-size:14.5px;line-height:1.5}.confirm-actions{grid-template-columns:1fr 1fr;gap:10px;padding:20px;display:grid}.options-dialog{width:min(560px,100vw - 24px);height:min(700px,100vh - 48px)}.options-dialog .dialog-inner{height:100%}.options-dialog .options-body{flex:1}.options-dialog .tabs-bar{flex-shrink:0}.options-body{scrollbar-width:thin;flex-direction:column;gap:18px;min-height:0;padding:18px 20px 20px;display:flex;overflow-y:auto}.options-heading{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:6px 0 -4px;font-size:11.5px;font-weight:700}.options-heading:first-child{margin-top:0}.options-block{flex-direction:column;gap:10px;display:flex}.options-body .hint.warn{margin:0}.options-foot{border-top:1px solid var(--border);flex-shrink:0;justify-content:flex-end;padding:12px 20px 14px;display:flex}.board-settings{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:28px;padding-top:18px;display:grid}.board-swatches{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.board-swatch:first-child{grid-column:1/-1}.board-swatch{background:var(--surface-3);color:var(--text-2);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:12px;align-items:center;gap:10px;padding:6px 10px 6px 6px;font-size:13px;transition:background .12s,color .12s,box-shadow .12s;display:flex}.board-swatch:hover{background:var(--surface-4);color:var(--text)}.board-swatch.active{color:var(--text);box-shadow:inset 0 0 0 2px var(--text);font-weight:600}.board-swatch-squares{border-radius:7px;flex-shrink:0;width:30px;height:30px}.board-preview{--board-size:300px;border-radius:10px;overflow:hidden}.theme-tiles{border-top:1px solid var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:18px;display:grid}.theme-tile{background:var(--surface-3);color:var(--text);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:16px;flex-direction:column;gap:12px;padding:10px 10px 14px;transition:background .12s,box-shadow .12s;display:flex}.theme-tile:hover{background:var(--surface-4)}.theme-tile.active{box-shadow:inset 0 0 0 2px var(--text)}.theme-tile-text{flex-direction:column;gap:1px;padding:0 4px;display:flex}.theme-tile-text span{color:var(--muted);font-size:12.5px}.theme-sketch{--s-bg:color-mix(in srgb, var(--brand) 7%, #0d0d0f);--s-card:color-mix(in srgb, var(--brand) 11%, #1f1f24);--s-ink:color-mix(in srgb, var(--brand) 14%, #3a3a42);aspect-ratio:16/10;background:var(--s-bg);border-radius:10px;gap:6px;padding:8px;display:flex}.theme-sketch.black{--s-bg:#000;--s-card:color-mix(in srgb, var(--brand) 8%, #141416);--s-ink:color-mix(in srgb, var(--brand) 12%, #303036);box-shadow:inset 0 0 0 1px #ffffff14}.theme-sketch.light{--s-bg:color-mix(in srgb, var(--brand) 10%, #f6f6f7);--s-card:#fff;--s-ink:color-mix(in srgb, var(--brand) 14%, #d9d9de);box-shadow:inset 0 0 0 1px #00000014}.theme-sketch.system{padding:0;position:relative}.theme-sketch.system>.theme-sketch{position:absolute;inset:0}.theme-sketch.system>.theme-sketch.light{clip-path:inset(0 0 0 50%)}.theme-sketch-side{background:var(--s-card);border-radius:5px;width:22%}.theme-sketch-main{flex-direction:column;flex:1;gap:5px;display:flex}.theme-sketch-title{background:var(--s-ink);border-radius:3px;width:50%;height:8%}.theme-sketch-cards{flex:1;grid-template-columns:1fr 1fr;gap:5px;display:grid}.theme-sketch-cards span,.theme-sketch-wide{background:var(--s-card);border-radius:5px}.theme-sketch-cards span:first-child{background:color-mix(in srgb, var(--brand) 70%, var(--s-card))}.theme-sketch-wide{flex:1.3}.engine-gear{margin-right:-6px}.engine-gear svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.panel-body>.review-options{flex-direction:column;gap:16px;padding:14px;display:flex}@media (width<=1000px){.settings-page{padding:16px 16px calc(var(--tabbar-h) + 24px)}.settings-layout{grid-template-columns:minmax(0,1fr)}.settings-nav{position:static}.settings-nav-item{height:50px}.settings-body{padding:18px 18px 22px}.settings-back{color:var(--text-2);border-radius:8px;align-self:flex-start;align-items:center;gap:4px;margin:-4px 0 12px -6px;padding:4px 8px 4px 2px;font-weight:550;text-decoration:none;display:flex}.board-settings{grid-template-columns:minmax(0,1fr)}.board-preview{--board-size:min(320px, calc(100vw - 68px));order:-1;justify-self:center}}@media (width<=640px){.settings-row:not(.wide){flex-wrap:wrap}.theme-tiles{grid-template-columns:minmax(0,1fr)}.theme-tile{flex-direction:row;align-items:center}.theme-sketch{flex-shrink:0;width:120px}.board-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}}.auth-layer.entering,.auth-layer.leaving{z-index:60;box-sizing:border-box;padding-top:var(--safe-top);position:fixed;inset:0;overflow:hidden}.auth-layer.leaving{pointer-events:none}.auth-layer.entering:before,.auth-layer.leaving:before{content:"";z-index:-1;background:var(--bg);position:absolute;inset:0}.auth-layer.entering:before{animation:.3s both auth-fade}.auth-layer.entering .auth-brand{will-change:transform;animation:.55s cubic-bezier(.2,.8,.2,1) both auth-from-left}.auth-layer.entering .auth-panel{animation:.45s .12s both auth-rise}.auth-layer.leaving:before{animation:.32s 60ms both auth-fade-out}.auth-layer.leaving .auth-brand{will-change:transform;animation:.4s cubic-bezier(.5,0,.75,0) both auth-to-left}.auth-layer.leaving .auth-panel{animation:.2s both auth-fade-out}@keyframes auth-from-left{0%{transform:translate(-100%)}}@keyframes auth-to-left{to{transform:translate(-100%)}}@keyframes auth-fade-out{to{opacity:0}}.coach-report{width:30px;height:30px;color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:8px;flex-shrink:0;place-items:center;padding:0;font-size:13px;display:grid}.coach-report:hover:not(:disabled){color:var(--text);background:var(--btn)}.coach-report svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.coach-report:disabled{color:var(--muted);cursor:default}.coach-report:disabled svg{fill:currentColor}.report-move{background:var(--surface-2);border-radius:10px;align-items:center;gap:10px;margin:2px 20px 0;padding:10px 12px;font-size:15px;font-weight:600;display:flex}.report-move-name{flex:1;align-items:center;gap:6px;display:inline-flex}.report-verdict{font-size:14px}.report-body{flex-direction:column;gap:12px;padding:16px 20px 0;display:flex}.report-note{resize:vertical;height:auto;min-height:84px;font:inherit;padding:10px 12px;font-size:14px;line-height:1.5}.confirm-actions.single{grid-template-columns:1fr}.tab-item.active{color:var(--brand);font-weight:650}.tab-item.active svg{stroke-width:2.3px}.tab-icon{border-radius:15px;place-items:center;width:52px;height:30px;display:grid}.tab-item{position:relative}.tab-photo{background:var(--surface-4);width:26px;height:26px;color:var(--text);box-shadow:0 0 0 2px var(--border-strong);border-radius:50%;place-items:center;font-size:12px;font-weight:700;display:grid;overflow:hidden}.tab-photo img{object-fit:cover;width:100%;height:100%}.tab-item.active .tab-photo{box-shadow:0 0 0 2px var(--brand)}.page-header-back,.page-header-phone-title{display:none}@media (width<=1000px){:root[data-immersive]{--tabbar-h:0px}:root[data-immersive] .tabbar{opacity:0;pointer-events:none;translate:0 calc(100% + 20px)}.page-header.has-back{gap:4px;padding-left:6px}.page-header-back{width:44px;height:44px;display:grid}.page-header-back svg{fill:currentColor;width:22px;height:22px}.page-header-phone-title{flex-direction:column;min-width:0;line-height:1.25;display:flex}.page-header-phone-title strong{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;overflow:hidden}.page-header-phone-title span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}}.you-page{box-sizing:border-box;max-width:640px;padding:16px 16px calc(var(--tabbar-h) + 24px);flex-direction:column;gap:12px;margin:0 auto;display:flex}.you-who{align-items:center;gap:14px;padding:8px 4px 6px;display:flex}.you-avatar{border-radius:50%;width:60px;height:60px;font-size:24px}.you-name{flex-direction:column;flex:1;min-width:0;line-height:1.25;display:flex}.you-name strong{font-family:var(--font-display);font-variant-numeric:lining-nums;letter-spacing:-.01em;overflow-wrap:anywhere;font-size:21px;font-weight:700}.you-name span{color:var(--muted);font-size:13px}.you-guest-actions{gap:8px;margin-top:6px;display:flex}.you-guest .you-guest-actions .btn{flex:1;height:48px;margin:0;padding:0 12px}.you-list{padding:4px 0;overflow:hidden}.you-row{min-height:52px;color:var(--text);cursor:pointer;align-items:center;gap:12px;padding:0 16px;font-size:15px;text-decoration:none;display:flex}.you-row+.you-row{box-shadow:inset 0 1px 0 var(--border)}a.you-row:active{background:var(--card-hover)}.you-row>svg{fill:none;width:20px;height:20px;stroke:var(--text-2);stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.you-row>svg:last-child{width:16px;height:16px;stroke:var(--muted);stroke-width:2px}.you-row-label{flex:1;font-weight:600}.you-row-hint{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.you-swatch{border-radius:5px;width:20px;height:20px}.you-theme{width:auto}.you-theme button{padding:0 12px}@media (width<=359px){.you-theme button{padding:0 8px}}.you-install{flex-direction:row;align-items:center;gap:12px;padding:14px 16px}.you-install-icon{background:var(--text);border-radius:12px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid}.you-install-icon svg{width:24px;height:24px;fill:var(--bg)}.you-install-text{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.you-install-text strong{font-size:15px}.you-install-text span{opacity:.75;font-size:13px}.you-install .btn.small{height:38px;padding:0 16px}.you-page .you-logout{height:48px;color:var(--danger)}.you-who .btn{text-decoration:none}.you-links{flex-wrap:wrap;justify-content:center;gap:10px 22px;padding:6px 0;font-size:13px;display:flex}.you-links a{color:var(--text-2);text-decoration:none}.phone-home{box-sizing:border-box;max-width:640px;padding:14px 16px calc(var(--tabbar-h) + 24px);flex-direction:column;gap:12px;margin:0 auto;display:flex}.phone-welcome{flex-direction:column;padding:4px 4px 2px;display:flex}.phone-welcome>span{color:var(--text-2);font-size:15px;font-weight:500}.phone-welcome h1{font-family:var(--font-display);font-variant-numeric:lining-nums;letter-spacing:-.02em;overflow-wrap:anywhere;margin:0;font-size:27px;font-weight:700;line-height:1.15}.phone-welcome p{color:var(--text-2);white-space:nowrap;text-overflow:ellipsis;min-height:1.45em;margin:2px 0 0;font-size:14px;line-height:1.45;overflow:hidden}.phone-welcome p.skel-lines{display:flex}.home-streak{color:inherit;text-decoration:none}.daily-card.compact{gap:12px;padding:12px}.daily-row{align-items:stretch;gap:14px;display:flex}.daily-card.compact .daily-board{flex:0 0 124px}.daily-card.compact .daily-board .mini-board,.daily-card.compact .daily-board .skel-board{border-radius:7px}.daily-text{flex-direction:column;flex:1;gap:2px;min-width:0;font-size:14px;display:flex}.daily-text h2{margin:0 0 2px;font-size:16px}.daily-text h2 .muted{margin-left:4px;font-size:12.5px;font-weight:500}.daily-text>.muted{font-size:13px}.daily-go{border-radius:10px;height:36px;margin-top:auto}.legendary-strip{padding:12px 0 6px}.legendary-strip .home-card-head{padding:0 16px 8px}.legendary-strip h2{align-items:center;gap:8px;font-size:17px;display:flex}.legendary-row{grid-auto-columns:calc(12.5% - 10.5px);grid-auto-flow:column;gap:12px;margin:0;padding:7px 16px;list-style:none;display:grid}.legendary-row>li{min-width:0}.legendary-row .legendary-card{gap:4px}.legendary-row .legendary-meta{margin-top:2px;font-size:12px}.legendary-row .legendary-vs{display:none}.legendary-vs{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.legendary-teaser{background:color-mix(in srgb, #8b5cf6 12%, var(--card));align-items:flex-start;gap:14px;padding:16px;display:flex}.legendary-teaser h2{font-size:17px}.legendary-teaser p{color:var(--text-2);margin:4px 0 0;font-size:13.5px;line-height:1.45}.legendary-teaser .class-icon{flex:none}@media (width>=1001px){.boot-legendary{--h:80px}:root[data-boot-legendary] .boot-legendary{--h:170px}}.phone-home{gap:10px}.phone-home .quick-card{gap:12px;padding:14px}.phone-home .quick-card strong{font-size:16px}.phone-home .quick-card small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.phone-home .game-review{border-radius:20px;flex-direction:row;gap:14px;padding:18px 16px}.phone-home .game-review:hover{background:var(--brand-card)}.phone-home .game-review .icon-tile.big{background:color-mix(in srgb, var(--brand) 22%, transparent);border-radius:16px;width:56px;height:56px}.phone-home .game-review strong{color:var(--brand-card-text);font-family:var(--font-display);letter-spacing:-.02em;font-size:21px;font-weight:700}.phone-home .game-review small{color:color-mix(in srgb, var(--brand-card-text) 78%, transparent);font-size:13.5px}.phone-home .game-review .quick-go{color:var(--brand-card-text);font-size:22px}.phone-swipe .quick-card{gap:8px;padding:10px 12px}.phone-swipe .quick-card .icon-tile.big{width:34px;height:34px}.phone-swipe .quick-card strong{font-size:14px}.phone-home .save-nudge{flex-wrap:nowrap;gap:8px;padding:8px 6px 8px 12px}.phone-home .save-nudge-icon,.phone-home .save-nudge-text span{display:none}.phone-home .save-nudge-text{flex:1}.phone-home .save-nudge-text strong{font-size:13px}.phone-home .save-nudge-cta{order:0;width:auto;height:34px;padding:0 12px}.phone-home .daily-card.compact{padding:10px}.phone-home .daily-card.compact .daily-board{flex-basis:104px}.phone-swipe,.phone-home .form-strip{scroll-snap-type:x proximity;scrollbar-width:none;flex-shrink:0;gap:10px;margin:0 -16px;padding:0 32px 0 16px;scroll-padding:0 16px;display:flex;overflow-x:auto;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000)}.phone-swipe::-webkit-scrollbar{display:none}.phone-home .form-strip::-webkit-scrollbar{display:none}.phone-swipe>*,.phone-home .form-part{box-sizing:border-box;scroll-snap-align:start;flex:none}.phone-swipe>.daily-card.compact{width:282px}.phone-swipe .daily-text h2 .muted{display:none}.phone-swipe .daily-text>.muted{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.phone-swipe>.quick-card{flex-direction:column;justify-content:center;align-items:flex-start;width:168px}.phone-swipe .quick-lines{width:100%}.phone-swipe .quick-go{display:none}.phone-home .form-strip{box-shadow:none;background:0 0;border:0;border-radius:0}.phone-home .form-part,.phone-home .form-part+.form-part{border:1px solid var(--border);background:var(--card);border-radius:16px;gap:2px;width:144px;padding:10px 12px}.phone-home .form-part:last-child{width:172px}.phone-home .form-part.form-streak{justify-content:space-between;gap:8px;width:196px}.phone-home .form-week{gap:2px}.phone-home .form-week i{width:8px;height:8px}.phone-home .form-week .today i{border-width:1.5px}.phone-home .form-week li{gap:4px;font-size:9px}.phone-home .form-row{height:26px}.phone-home .form-value{font-size:22px;line-height:26px}.phone-home .form-value.empty,.phone-home .form-phase{font-size:16px;line-height:26px}.phone-home .form-bars{display:none}.games-toolbar .filter-chip{white-space:nowrap}@media (width<=1000px){.games-page:not(.legendary-page) .games-toolbar .filter-chips:first-child{flex-wrap:nowrap;gap:4px;width:100%;min-width:0}.games-page:not(.legendary-page) .games-toolbar .filter-chip{flex:auto;justify-content:center;padding:0 8px}.games-page:not(.legendary-page) .games-toolbar .filter-chip:not(.all):before{content:none}.games-page .games-card,.games-page .home-day{min-width:0}.games-page .home-day-head b{flex:none}.games-page .home-day-head span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}}@media (width<=340px){.games-page:not(.legendary-page) .games-toolbar .filter-chip{padding:0 5px;font-size:12px}}.game-lines{margin:0;padding:0 12px 4px;list-style:none}.game-lines li+li{border-top:1px solid var(--border)}.game-lines-all{box-sizing:border-box;border:0;border-top:1px solid var(--border);width:100%;height:46px;color:var(--brand);background:0 0;justify-content:center;align-items:center;margin:0;padding:0;font-size:14px;font-weight:600;display:flex}.game-line{width:100%;height:42px;color:inherit;font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:flex}.game-line .home-game-result{flex:none;position:static}.game-line-who{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:14px;overflow:hidden}.game-line-who strong{font-weight:600}.game-line-who span,.game-line-time{color:var(--muted);font-size:12px}.game-line-end{width:60px;font-family:var(--font-mono);text-align:right;flex:none;font-size:13px}.game-line-end.review{color:var(--brand);font-family:var(--font-ui);font-size:12.5px;font-weight:600}.phone-home .games-card{padding-top:10px}.phone-home .games-card .home-card-head{padding:0 12px 4px}.phone-home .games-card h2{font-size:15px}.phone-welcome.first h1{font-size:23px}.phone-home .hero-card{gap:10px;padding:16px}.phone-home .hero-card h2{font-size:20px}.phone-home .hero-card>p{font-size:14px;line-height:1.4}.phone-home .hero-card .username-row{flex-direction:row}.phone-home .hero-card .username-row .input{flex:1;min-width:0}.phone-home .hero-card .username-row .accent-btn{flex-shrink:0;width:auto;padding:0 12px}.board-menu.down .board-menu-list{top:calc(100% + 6px);bottom:auto}.board-menu.down .ctrl.more{background:0 0;width:40px;height:40px}.ctrl.more svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:20px;height:20px}.eval-bar.horizontal{width:auto;height:16px;margin:0 12px}.eval-bar.horizontal .eval-bar-fill{transform-origin:0}.eval-bar.horizontal .eval-bar-chip{border-radius:4px;width:auto;padding:0 5px;font-size:10.5px;line-height:14px;top:50%;left:0}.phone-views{background:var(--bg);border-radius:12px;flex:1;gap:2px;margin:8px;padding:3px;display:flex}.phone-views button{height:34px;color:var(--text-2);font:inherit;background:0 0;border:0;border-radius:9px;flex:1;justify-content:center;align-items:center;gap:6px;font-size:13.5px;font-weight:600;display:flex}.phone-views button.active{background:var(--surface-4);color:var(--text)}.phone-views-score{background:var(--bar-light);color:var(--black-piece);font-family:var(--font-mono);border-radius:5px;padding:1px 5px;font-size:11px;font-weight:500}.move-strip{scrollbar-width:none;gap:4px;margin:0 -4px;padding:2px 4px;display:flex;overflow-x:auto}.move-strip::-webkit-scrollbar{display:none}.move-strip-move{height:34px;color:var(--text);font:inherit;font-family:var(--font-mono);background:0 0;border:0;border-radius:9px;flex-shrink:0;align-items:center;gap:5px;padding:0 10px;font-size:13.5px;display:inline-flex}.move-strip-move.current{background:var(--surface-4)}.move-strip-num{color:var(--muted)}@media (width<=1000px){.analysis-page .layout,.analysis-page .layout.sized{--board-size:min(100vw, 640px);--evalbar-w:0px;grid-template-columns:minmax(0, var(--board-size));padding:4px 0 calc(var(--mobile-nav-h) + 24px);justify-content:center;row-gap:12px}.analysis-page .board-column{width:var(--board-size);gap:6px}.analysis-page .board-row{gap:0}.analysis-page .player-bar{padding:0 12px}.analysis-page .board-cg{border-radius:0}.analysis-page .panel{box-sizing:border-box;width:auto;margin:0 12px}.analysis-page .panel-card{border-radius:16px}.analysis-page .panel-nav{padding:10px 12px calc(10px + var(--safe-bottom));border-top:1px solid var(--border);grid-template-columns:1fr 1fr 1fr 2.2fr 1fr;gap:8px}.analysis-page .panel-nav .ctrl{border-radius:14px;height:48px}.analysis-page .panel-nav .ctrl.next{background:var(--brand);color:var(--brand-ink)}.analysis-page .panel-nav .ctrl.next:disabled{background:var(--btn);color:var(--muted)}}.player-eval{display:none}.analysis-page .player-bar .player-clock+.player-eval{margin-left:8px}@media (width<=1000px){.analysis-page.report .board-column{visibility:hidden;pointer-events:none;position:absolute!important}.analysis-page.report .layout,.analysis-page.report .layout.sized{padding-bottom:96px}.analysis-page.report .panel{margin-top:8px}.analysis-page.report .panel-nav{display:none}.analysis-page.report .panel-body>.summary-cta{z-index:30;padding:10px 12px calc(10px + var(--safe-bottom));border-top:1px solid var(--border);background:var(--surface);animation:none;position:fixed;bottom:0;left:0;right:0}}@media (width<=1000px) and (height>=560px){.analysis-page.pinned{--nav-h:48px;--player-h:24px;--mobile-nav-h:calc(57px + var(--safe-bottom));height:var(--app-h);flex-direction:column;display:flex;overflow:hidden}.analysis-page.pinned .page-header{flex-shrink:0}.analysis-page.pinned .layout,.analysis-page.pinned .layout.sized{--board-size:min(100vw, 640px, calc(var(--app-h) - var(--safe-bottom) - 348px));min-height:0;padding:0 0 var(--mobile-nav-h);flex-direction:column;flex:1;display:flex}.analysis-page.pinned .board-column{flex-shrink:0;align-self:center;gap:0}.analysis-page.pinned .move-strip{margin:0;padding:0 8px}.analysis-page.pinned .move-strip-move{height:30px}.analysis-page.pinned .player-avatar{width:18px;height:18px;font-size:10px}.analysis-page.pinned .player-bar{gap:8px}.analysis-page.pinned .player-info{flex-direction:row;align-items:center;gap:8px}.analysis-page.pinned .player-name{font-size:13px}.analysis-page.pinned .player-eval{font-family:var(--font-mono);color:var(--text-2);margin-left:auto;font-size:12px;font-weight:600;display:block}.analysis-page.pinned .eval-bar.horizontal{height:10px;margin:0 12px 2px}.analysis-page.pinned .eval-bar-track{border-radius:3px}.analysis-page.pinned .eval-bar-chip{display:none}.analysis-page.pinned .panel{flex-direction:column;flex:1;min-height:0;margin:0;display:flex}.analysis-page.pinned .panel-card{background:0 0;border:0;border-radius:0}.analysis-page.pinned .panel-header{border-bottom:0}.analysis-page.pinned .view-nav{min-height:40px;padding:2px 6px}.analysis-page.pinned .coach.speaking .coach-detail{min-height:4.2em}.analysis-page.pinned .phone-views{margin:2px 12px 0;padding:2px}.analysis-page.pinned .phone-views button{height:30px}:is(.analysis-page.pinned .panel-body,.analysis-page.pinned .panel-body:has(>.move-list)){overscroll-behavior:contain;flex:1;min-height:0;overflow-y:auto}.analysis-page.pinned .panel-body>*{animation:none}.analysis-page.pinned .panel-body>.coach{grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:6px 12px;display:grid}.analysis-page.pinned .coach-head{grid-column:1/-1;gap:8px}.analysis-page.pinned .coach-title{white-space:nowrap;text-overflow:ellipsis;font-size:18px;overflow:hidden}.analysis-page.pinned .coach-detail{font-size:14px;line-height:1.4}.analysis-page.pinned .panel-body>.coach.speaking{flex-direction:column;gap:6px;display:flex}.analysis-page.pinned .coach.speaking .coach-actions{flex-direction:row;justify-content:flex-end}.analysis-page.pinned .coach-bubble .coach-title{font-size:16px}.analysis-page.pinned .coach-speech{gap:8px}.analysis-page.pinned .coach-avatar{width:40px;height:47px}.analysis-page.pinned .coach-beta{padding:0 4px;font-size:8px;line-height:12px;bottom:-5px}.analysis-page.pinned .coach-bubble{border-radius:10px;gap:2px;padding:6px 10px 7px}.analysis-page.pinned .coach-bubble:before{width:10px;height:10px;top:14px;left:-5px}.analysis-page.pinned .coach-actions{flex-flow:column;gap:3px;margin-top:0}.analysis-page.pinned .coach-actions .btn{height:28px;padding:0 10px;font-size:13px}.analysis-page.pinned .panel-nav{padding:6px 12px calc(6px + var(--safe-bottom))}.analysis-page.pinned .panel-nav .ctrl{height:44px}.analysis-page.engine-top .layout,.analysis-page.engine-top .layout.sized{--board-size:min(100vw, 640px, calc(var(--app-h) - var(--safe-bottom) - 289px - var(--engine-rows) * 22px))}.analysis-page.pinned .board-column>.engine-panel{background:0 0;border:0;border-radius:0}.analysis-page.pinned .engine-header{border-bottom:0;height:24px;padding:0 12px}.analysis-page.pinned .engine-header .switch{transform-origin:0;margin-right:-8px;transform:scale(.75)}.analysis-page.pinned .engine-name{font-size:12.5px}.analysis-page.pinned .engine-meta{display:none}.analysis-page.pinned .engine-gear{width:28px;height:28px}.analysis-page.pinned .board-column>.engine-panel>:not(.engine-header){box-sizing:border-box;height:calc(var(--engine-rows) * 22px);margin:0;padding:0 8px;overflow:hidden}.analysis-page.pinned .engine-lines{gap:0}.analysis-page.pinned .engine-line{background:0 0;border-radius:0;min-height:22px;padding:0 4px 0 0}.analysis-page.pinned .score-badge{padding:0 5px;font-size:11px}.analysis-page.pinned .pv-move{padding:0 2px;font-size:12px}@media (width<=340px){.analysis-page.pinned .coach .eval-pill{display:none}}.analysis-page.explaining .panel-body>.coach,.analysis-page.explaining .panel-header,.analysis-page.explaining .board-column>.player-bar:last-child{display:none}.analysis-page.explaining .panel-body>.explain{border-top:0}}@media (width>=641px) and (width<=1000px){.analysis-page .board-cg{border-radius:8px}}.board-menu.down .ctrl.more.active{background:var(--btn);color:var(--text)}@media (width<=1000px){.page-header.has-back .page-header-action{background:0 0;width:40px;height:40px}}@media (hover:none){.board-menu-item kbd{display:none}}@media (width<=1000px){.play-layout.play-game{--board-size:min(100vw, 640px);padding:6px 0 24px}.play-game .play-board{gap:6px}.play-game .player-bar{padding:0 12px}.play-game .board-cg{border-radius:0}.play-game .player-clock{text-align:right;border-radius:11px;min-width:88px;padding:6px 12px;font-size:22px}.play-game>.play-panel{margin:0 12px}.play-game .panel-card{border-radius:16px}.play-game .play-panel-head{padding:10px 16px}.play-game .panel-body{padding:8px 8px 4px}}@media (width>=641px) and (width<=1000px){.play-game .board-cg{border-radius:8px}}@media (width<=1000px) and (height>=560px){.play-page:has(>.play-game){min-height:var(--app-h);flex-direction:column;display:flex}.play-page:has(>.play-game)>.page-header{flex-shrink:0}.play-layout.play-game{padding-bottom:calc(6px + var(--safe-bottom));flex-direction:column;flex:1;align-items:center;row-gap:8px;display:flex}.play-game>.play-panel{width:calc(var(--board-size) - 24px);flex-direction:column;flex:1;margin:0;display:flex}.play-game .panel-card{background:0 0;border:0;border-radius:0}.play-game .play-panel-head{border-bottom:0}.play-game .play-nav{border-top:0;margin-top:auto}.play-game .result-card{border-top:0}}.blog-list{box-sizing:border-box;max-width:640px;padding:8px 16px calc(var(--tabbar-h) + 24px);flex-direction:column;gap:12px;margin:0 auto;display:flex}.blog-heading{font-family:var(--font-display);letter-spacing:-.02em;margin:0 0 4px;font-size:28px;font-weight:650}.blog-note{color:var(--muted);margin:0}a.blog-card{color:var(--text);gap:14px;padding:12px;text-decoration:none;display:flex}a.blog-card.latest{flex-direction:column}.blog-card-board{border-radius:10px;flex-shrink:0;width:104px;overflow:hidden}.latest .blog-card-board{align-self:center;width:100%;max-width:420px}.blog-card-text{flex-direction:column;gap:5px;min-width:0;display:flex}.latest .blog-card-text{padding:0 4px 4px}a.blog-card:not(.latest) .blog-card-desc{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.latest strong{font-size:20px}.blog-card strong{font-size:17px;font-weight:650;line-height:1.3}.blog-card-meta{color:var(--muted);font-size:12.5px}.blog-card-desc{color:var(--text-2);font-size:14px;line-height:1.45}.blog-card-skel{height:128px;display:block}.blog-card-skel.latest{height:480px}.blog-page.reading{box-sizing:border-box;height:var(--app-h);padding-bottom:var(--tabbar-h);flex-direction:column;display:flex}.blog-frame{background:var(--bg);border:0;flex:1;width:100%}.puzzle-hub{box-sizing:border-box;max-width:640px;padding:16px 16px calc(var(--tabbar-h) + 24px);flex-direction:column;gap:12px;margin:0 auto;display:flex}.puzzle-hub-head{justify-content:space-between;align-items:baseline;padding:0 4px;display:flex}.puzzle-hub-head h1{font-family:var(--font-display);letter-spacing:-.02em;margin:0;font-size:28px;font-weight:700}.puzzle-hub-head span{color:var(--text-2);font-size:13px}.puzzle-hub-head strong{color:var(--text);font-size:16px}.hub-streaks{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.hub-streak{background:var(--card);box-shadow:var(--card-edge);border-radius:16px;flex-direction:column;gap:2px;padding:12px;display:flex}.hub-streak strong{letter-spacing:-.02em;font-variant-numeric:lining-nums tabular-nums;align-items:center;gap:4px;font-size:26px;font-weight:800;line-height:1.1;display:flex}.hub-streak span{color:var(--text-2);font-size:12px}.hub-streak.hot{background:color-mix(in srgb, var(--streak) 13%, var(--card));box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--streak) 25%, transparent)}.hub-streak.hot strong{color:var(--streak)}.tabbar-play-row{gap:8px;display:flex}.tabbar-play-row .tabbar-play{flex:1}.tabbar-more{background:var(--brand);width:46px;height:46px;color:var(--brand-ink);border:0;border-radius:12px;flex-shrink:0;place-items:center;padding:0;display:grid}.tabbar-more svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:22px;height:22px}.tabbar-modes{flex-direction:column;gap:6px;display:flex}.tabbar-mode{background:var(--brand);height:46px;color:var(--brand-ink);border-radius:12px;justify-content:center;align-items:center;gap:10px;font-size:16px;font-weight:700;text-decoration:none;animation:.26s cubic-bezier(.22,1,.36,1) both mode-rise;display:flex}@keyframes mode-rise{0%{translate:0 calc(var(--from) * 52px);opacity:0}}.tabbar-play-row{z-index:1;position:relative}@media (prefers-reduced-motion:reduce){.tabbar-mode{animation:none}}.tabbar-mode-icon{display:grid}.tabbar-mode-icon svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.tabbar-mode-badge{box-sizing:border-box;background:var(--brand-ink);min-width:22px;height:22px;color:var(--brand);border-radius:11px;place-items:center;padding:0 6px;font-size:12px;font-weight:800;display:grid}.tabbar-backdrop{z-index:34;background:#00000080;position:fixed;inset:0}.path-intro{color:var(--muted);margin:4px 0 0;font-size:13.5px}.path-intro strong{color:var(--text-2);font-weight:600}.puzzle-path{--tile:58px;flex-direction:column;gap:14px;margin:8px 0 0;padding:0;list-style:none;display:flex}.path-stop{translate:calc(var(--swing) * 62px) 0;flex-direction:column;align-items:center;gap:7px;display:flex;position:relative}.path-stop.current{--tile:74px}.path-tile-link{border-radius:16px;text-decoration:none;display:block}.path-tile{box-sizing:border-box;width:var(--tile);height:var(--tile);color:#0000008c;border-radius:16px;place-items:center;font-size:18px;font-weight:700;display:grid;position:relative}.path-tile.ahead.light{background:var(--sq-light)}.path-tile.ahead.dark{background:var(--sq-dark)}.path-tile.ahead{opacity:.6}.path-tile.done,.path-tile.current{background:var(--brand);color:var(--brand-ink)}.path-tile.current{box-shadow:0 0 0 6px color-mix(in srgb, var(--brand) 25%, transparent)}.path-tile svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.path-tile.current{font-size:24px}.path-marker{background:var(--text);width:30px;height:30px;color:var(--bg);box-shadow:0 0 0 3px var(--bg);border-radius:50%;place-items:center;display:grid;position:absolute;top:-14px;right:-14px}.path-tile .path-marker svg{fill:currentColor;stroke:none;width:18px;height:18px}.path-dots{gap:4px;display:flex}.path-dots i{background:var(--border-strong);border-radius:50%;width:6px;height:6px}.path-dots i.on{background:var(--brand)}.path-label{width:140px;color:var(--muted);flex-direction:column;gap:2px;font-size:12.5px;display:flex;position:absolute;top:50%;translate:0 -50%}.path-stop .path-label{top:calc(var(--tile) / 2)}.label-right .path-label{left:calc(50% + var(--tile) / 2 + 18px)}.label-left .path-label{right:calc(50% + var(--tile) / 2 + 18px);text-align:right}.path-label strong{color:var(--text);font-size:14px;font-weight:650}@media (width<=1000px){.puzzles-page .play-layout{--board-size:min(100vw, 640px);padding:6px 0 24px}.puzzles-page .board-cg{border-radius:0}.puzzles-page .play-layout>.play-panel{margin:0 12px}.puzzles-page .panel-card{border-radius:16px}}@media (width>=641px) and (width<=1000px){.puzzles-page .board-cg{border-radius:8px}}@media (width<=1000px){.puzzles-page .puzzle-layout .puzzle-head{order:1}}.tour-cards{display:none}@media (width<=860px){.tour-cards{scroll-snap-type:x mandatory;scrollbar-width:none;gap:10px;margin:0 -20px;padding:0 20px;scroll-padding:0 20px;list-style:none;display:flex;overflow-x:auto}.tour-cards::-webkit-scrollbar{display:none}.tour-card{--tone:var(--brand);scroll-snap-align:start;background:var(--card);box-shadow:var(--card-edge);border-radius:16px;flex-direction:column;flex:0 0 78%;gap:4px;padding:14px 16px;display:flex}.tour-card.mistakes{--tone:var(--tone-rose)}.tour-card.puzzles{--tone:var(--tone-amber)}.tour-card.play{--tone:var(--tone-green)}.tour-card.sync{--tone:var(--tone-violet)}.tour-card strong{font-family:var(--font-display);color:var(--tone);font-size:17px;font-weight:700}.tour-card span{color:var(--text-2);font-size:13.5px;line-height:1.4}}.palette-picker{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;display:grid}.palette-option{background:var(--btn);color:var(--text-2);font:inherit;cursor:pointer;border:0;border-radius:14px;flex-direction:column;align-items:center;gap:8px;padding:14px 8px 12px;font-size:13.5px;font-weight:600;transition:background .12s,color .12s,box-shadow .12s;display:flex}.palette-option:hover{background:var(--btn-hover);color:var(--text)}.palette-option.active{color:var(--text);box-shadow:inset 0 0 0 2px var(--brand)}.palette-swatch{border-radius:50%;width:30px;height:30px;box-shadow:inset 0 0 0 1px #0000002e}.palette-head{margin-top:28px}.palette-picker.compact{gap:6px;display:flex}.palette-picker.compact .palette-option{background:0 0;border-radius:50%;padding:3px}.palette-picker.compact .palette-swatch{width:24px;height:24px}.palette-picker.compact .palette-option.active{box-shadow:0 0 0 2px var(--text)}.mini-board{position:relative}.mini-arrow{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.mini-arrow line{stroke-width:.17px;stroke-linecap:round;opacity:.8}.mini-board .mini-badge{--badge-x:-50%;--badge-y:-50%;z-index:2;aspect-ratio:1;width:6%;translate:var(--badge-x) var(--badge-y);filter:drop-shadow(0 1px 2px #00000080);position:absolute}.mini-board .mini-badge.edge-right{--badge-x:-100%}.mini-board .mini-badge.edge-top{--badge-y:0%}.mini-badge .class-icon{width:100%;height:100%;display:block}.legendary-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px 16px;margin:0;padding:6px 16px 16px;list-style:none;display:grid}.legendary-page .home-main{flex-direction:column;gap:16px;display:flex}.legendary-page .quick-card{color:inherit;text-decoration:none}.legendary-card{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:4px;padding:0;display:grid}.legendary-card .mini-board{border-radius:6px;transition:box-shadow .15s;overflow:hidden}.legendary-card:focus-visible{outline:none}.legendary-card:focus-visible .mini-board{box-shadow:0 0 0 3px var(--card), 0 0 0 6px var(--brand)}@media (hover:hover){.legendary-card:hover .mini-board{box-shadow:0 0 0 3px var(--card), 0 0 0 6px var(--brand)}}.legendary-meta{color:var(--muted);justify-content:space-between;align-items:baseline;gap:8px;font-size:.85rem;display:flex}.legendary-meta strong{color:#a78bfa;font-weight:700}.legendary-empty{justify-items:start;gap:8px;display:grid}.legendary-empty h2,.legendary-empty p{margin:0}@media (width<=600px){.legendary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px}.legendary-grid .legendary-meta{font-size:12.5px}.legendary-grid .legendary-meta>span{display:none}.legendary-page .games-sources{flex-wrap:nowrap;margin-left:0}.legendary-page .games-toolbar .filter-chip{white-space:nowrap;padding:0 10px}}@media (width<=1000px){.legendary-page .home-welcome h1{display:none}}.move-preview{z-index:60;pointer-events:none;box-shadow:var(--shadow-pop);border-radius:8px;position:fixed;overflow:hidden}.explain-move{border-radius:4px}@media (hover:hover){.explain-move:hover{background:var(--btn-hover)}}
