@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2)format("woff2"),url(/assets/KaTeX_AMS-Regular-DMm9YOAa.woff)format("woff"),url(/assets/KaTeX_AMS-Regular-DRggAlZN.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2)format("woff2"),url(/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff)format("woff"),url(/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2)format("woff2"),url(/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff)format("woff"),url(/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2)format("woff2"),url(/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff)format("woff"),url(/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2)format("woff2"),url(/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff)format("woff"),url(/assets/KaTeX_Fraktur-Regular-CB_wures.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(/assets/KaTeX_Main-Bold-Cx986IdX.woff2)format("woff2"),url(/assets/KaTeX_Main-Bold-Jm3AIy58.woff)format("woff"),url(/assets/KaTeX_Main-Bold-waoOVXN0.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2)format("woff2"),url(/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff)format("woff"),url(/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2)format("woff2"),url(/assets/KaTeX_Main-Italic-BMLOBm91.woff)format("woff"),url(/assets/KaTeX_Main-Italic-3WenGoN9.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Main-Regular-B22Nviop.woff2)format("woff2"),url(/assets/KaTeX_Main-Regular-Dr94JaBh.woff)format("woff"),url(/assets/KaTeX_Main-Regular-ypZvNtVU.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2)format("woff2"),url(/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff)format("woff"),url(/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(/assets/KaTeX_Math-Italic-t53AETM-.woff2)format("woff2"),url(/assets/KaTeX_Math-Italic-DA0__PXp.woff)format("woff"),url(/assets/KaTeX_Math-Italic-flOr_0UB.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff)format("woff"),url(/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff)format("woff"),url(/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2)format("woff2"),url(/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff)format("woff"),url(/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Script-Regular-D3wIWfF6.woff2)format("woff2"),url(/assets/KaTeX_Script-Regular-D5yQViql.woff)format("woff"),url(/assets/KaTeX_Script-Regular-C5JkGWo-.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2)format("woff2"),url(/assets/KaTeX_Size1-Regular-C195tn64.woff)format("woff"),url(/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2)format("woff2"),url(/assets/KaTeX_Size2-Regular-oD1tc_U0.woff)format("woff"),url(/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC)format("woff2"),url(/assets/KaTeX_Size3-Regular-CTq5MqoE.woff)format("woff"),url(/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2)format("woff2"),url(/assets/KaTeX_Size4-Regular-BF-4gkZK.woff)format("woff"),url(/assets/KaTeX_Size4-Regular-DWFBv043.ttf)format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2)format("woff2"),url(/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff)format("woff"),url(/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf)format("truetype")}.katex{text-indent:0;text-rendering:auto;font:1.21em/1.2 KaTeX_Main,Times New Roman,serif;position:relative}.katex *{border-color:currentColor;-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.16.45"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{white-space:nowrap;width:min-content;position:relative}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .mathsfit,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;table-layout:fixed;display:inline-table}.katex .vlist-r{display:table-row}.katex .vlist{vertical-align:bottom;display:table-cell;position:relative}.katex .vlist>span{height:0;display:block;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{width:0;overflow:hidden}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{vertical-align:bottom;width:2px;min-width:2px;font-size:1px;display:table-cell}.katex .vbox{flex-direction:column;align-items:baseline;display:inline-flex}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{flex-direction:row;display:inline-flex}.katex .thinbox{width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .smash{line-height:0;display:inline}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;width:100%;display:inline-block}.katex .hdashline{border-bottom-style:dashed;width:100%;display:inline-block}.katex .sqrt>.root{margin-left:.277778em;margin-right:-.555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.833333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.714286em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.857143em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14286em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71429em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96286em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55429em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.416667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.583333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.833333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.347222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.416667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.486111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.694444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.833333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44028em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.289352em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.347222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.405093em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.520833em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.578704em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.694444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.833333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.289296em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.385728em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.433944em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.578592em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.694311em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.833173em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.200965em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.241158em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.281351em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.321543em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.361736em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.401929em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.482315em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.694534em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.833601em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{width:.12em;display:inline-block}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{min-width:1px;display:inline-block}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;height:inherit;width:100%;display:block;position:absolute}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;min-width:0;max-width:none;min-height:0;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{width:50.2%;position:absolute;left:0;overflow:hidden}.katex .halfarrow-right{width:50.2%;position:absolute;right:0;overflow:hidden}.katex .brace-left{width:25.1%;position:absolute;left:0;overflow:hidden}.katex .brace-center{width:50%;position:absolute;left:25%;overflow:hidden}.katex .brace-right{width:25.1%;position:absolute;right:0;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{text-align:left;display:inline-block;position:absolute;right:calc(50% + .3em)}.katex .cd-label-right{text-align:right;display:inline-block;position:absolute;left:calc(50% + .3em)}.katex-display{text-align:center;margin:1em 0;display:block}.katex-display>.katex{text-align:center;white-space:nowrap;display:block}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}body{counter-reset:katexEqnNo mmlEqnNo}*{box-sizing:border-box}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#080f12;--bg-soft:#101a1d;--panel:#0b1418e6;--panel-strong:#0d181cf7;--border:#7cb8bc33;--border-strong:#7ad6db6b;--text:#f1f7f4;--muted:#a7bbb8;--accent:#7dd3c7;--accent-soft:#1d5c58;--accent-warm:#f2c084;--shadow:0 24px 80px #00000057;color:var(--text);background:linear-gradient(140deg,#20484342 0%,#0000 34%),linear-gradient(220deg,#48341c29 0%,#0000 30%),linear-gradient(#0c1518 0%,#060b0d 100%);font-family:IBM Plex Sans,Segoe UI,sans-serif}html{min-height:100%}body{min-height:100vh;color:var(--text);background:linear-gradient(#04090a38,#04090a38),repeating-linear-gradient(135deg,#7dd3c707 0 2px,#0000 2px 14px);margin:0;line-height:1.6}body:before{content:"";pointer-events:none;background:linear-gradient(#0000 55%,#0000004d 100%);position:fixed;inset:0}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}.eyebrow{color:var(--accent);letter-spacing:.22em;text-transform:uppercase;margin:0 0 .35rem;font-size:.78rem}.app-shell{gap:2rem;max-width:1600px;min-height:100vh;margin:0 auto;padding:1.5rem;display:flex}.sidebar-shell{flex:none;position:relative}.sidebar-toggle,.sidebar-backdrop{display:none}.sidebar,.board-panel,.leaderboard-card,.profile-card,.about-card,.footer-card{background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);position:relative;overflow:hidden}.chessboard-wrapper{-webkit-backdrop-filter:none;backdrop-filter:none;overflow:visible}.sidebar:before,.board-panel:before,.leaderboard-card:before,.profile-card:before,.about-card:before,.footer-card:before{content:"";pointer-events:none;background:linear-gradient(#ffffff0b,#0000 22%);position:absolute;inset:0}.sidebar{background:linear-gradient(#0a0c0efa 0%,#050708fa 100%);border-color:#f2c0842e;flex-direction:column;gap:1.15rem;width:324px;min-height:calc(100vh - 3rem);padding:1.25rem 1rem 1rem 0;display:flex;box-shadow:inset 0 1px #fff8ef0f,0 28px 70px #0000006b}.sidebar-nav{gap:1rem;display:grid}.sidebar-account-actions{border-top:1px solid #f2c08424;margin-top:auto;padding:.9rem 0 0}.sidebar-nav-section{gap:.45rem;display:grid}.sidebar-section-label{color:#f2c084c2;letter-spacing:.18em;text-transform:uppercase;margin:0;padding:0 .9rem;font-size:.78rem;font-weight:600}.sidebar-section-items{gap:.35rem;display:grid}.sidebar-nav-button{text-align:left;background:0 0;border-color:#0000;justify-content:flex-start;align-items:center;gap:.82rem;min-height:3rem;padding:.82rem .95rem;display:flex}.sidebar-nav-button svg,.sidebar-toggle svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1.15rem;height:1.15rem}.sidebar-nav-label{min-width:0;font-weight:500}.sidebar-arena-controls{gap:1rem;display:grid}.sidebar-brand{border-bottom:1px solid #f2c08424;gap:.7rem;padding:.25rem 1rem .9rem;display:grid}.sidebar-meta{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.sidebar-meta-copy{color:#e2dacac7;padding-left:.05rem;font-size:.8rem}.sidebar-brand h2,.header-copy h1,.board-panel h3,.about-card h2,.profile-card h2,.leaderboard-card h2,.footer-card h2{letter-spacing:-.03em;margin:0;font-family:Space Grotesk,IBM Plex Sans,sans-serif;font-size:clamp(1.8rem,3vw,2.6rem);line-height:1}.sidebar-note,.about-card p,.footer-card p,.empty-state,.leaderboard-card td,.board-status-grid div{color:var(--muted)}.about-card h3{color:var(--text);margin:0;font-family:IBM Plex Sans,Segoe UI,sans-serif;font-size:1.02rem}.nav-button,.sidebar select,.sidebar button,.history-buttons .nav-button{border:1px solid var(--border);color:var(--text);cursor:pointer;background:#fff8ef08;border-radius:999px;padding:.85rem 1.05rem;transition:transform .2s,background-color .2s,border-color .2s}.nav-button:hover,.sidebar button:hover,.sidebar select:hover{background:color-mix(in srgb, var(--accent) 14%, transparent);border-color:var(--border-strong);transform:translateY(-1px)}.nav-button:disabled{opacity:.45;cursor:default;transform:none}.nav-button.active{background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));border-color:color-mix(in srgb, var(--accent) 52%, transparent)}.sidebar-nav-button:hover{background:color-mix(in srgb, var(--accent) 12%, transparent);border-color:color-mix(in srgb, var(--accent) 28%, transparent)}.sidebar-nav-button.active{background:linear-gradient(90deg, color-mix(in srgb, var(--accent) 24%, transparent), color-mix(in srgb, var(--accent) 9%, transparent));border-color:color-mix(in srgb, var(--accent) 38%, transparent);box-shadow:inset 3px 0 0 color-mix(in srgb, var(--accent) 88%, white 12%)}.sidebar-sign-out-button{width:100%}.nav-button-with-icon{justify-content:center;align-items:center;gap:.55rem;display:inline-flex}.nav-button-with-icon img{width:1rem;height:1rem;display:block}.sidebar label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.9rem}.page-content{flex-direction:column;flex:1;gap:1.75rem;min-width:0;display:flex}.app-shell.auth-page-shell{place-content:center;place-items:center;width:100%;max-width:none;min-height:100dvh;margin:0;padding:clamp(1rem,3vw,2rem);display:grid}.auth-standalone-page{flex:none;place-items:center;gap:0;width:min(100%,1120px);min-height:calc(100dvh - 2*clamp(1rem,3vw,2rem));display:grid}.auth-page-shell .auth-page-card{justify-self:center;width:100%}.auth-page-shell .auth-page-copy,.auth-page-shell .auth-panel-page{justify-self:center}.auth-page-shell .auth-page-copy{text-align:center}.app-auth-entry-button{top:max(1rem, env(safe-area-inset-top,0px));right:max(1rem, env(safe-area-inset-right,0px));z-index:25;border-radius:12px;min-height:2.75rem;padding-inline:1rem;position:fixed}.board-page-shell .page-content,.board-page-shell .page-route-fallback{min-height:calc(100vh - 3rem)}.page-content>.leaderboard-card,.page-content>.profile-card,.page-content>.about-card{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;padding:0;animation:none}.page-content>.leaderboard-card:before,.page-content>.profile-card:before,.page-content>.about-card:before{content:none}.header-bar{border:1px solid var(--border);background:#12181fbd;border-radius:24px;justify-content:space-between;align-items:start;gap:1.25rem;padding:1.25rem 1.4rem;display:flex}.header-copy{max-width:680px}.header-copy h1{font-size:clamp(2rem,4vw,3rem)}.header-note{color:var(--muted);margin:.6rem 0 0}.header-actions{justify-items:end;gap:.85rem;display:grid}.auth-actions{justify-items:end;gap:.55rem;display:grid}.auth-panel{width:min(100%,360px)}.auth-panel-compact{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;align-items:stretch;width:auto}.auth-panel-page{justify-items:stretch;width:min(100%,460px)}.auth-page-card{gap:1.2rem;max-width:600px;padding:clamp(1.2rem,3vw,1.6rem);display:grid}.auth-page-card-profile{justify-content:center}.auth-page-main{justify-items:center;gap:1.25rem;min-width:0;display:grid}.auth-page-copy{max-width:42ch}.auth-benefit-list{flex-wrap:wrap;justify-content:center;gap:.45rem;margin:.95rem 0 0;padding:0;list-style:none;display:flex}.auth-benefit-list li{color:var(--text);background:#65e0d212;border:1px solid #65e0d247;border-radius:999px;padding:.4rem .65rem;font-size:.86rem;line-height:1.2}.auth-mode-toggle,.auth-form{width:100%}.auth-mode-toggle{align-items:stretch;gap:.5rem;display:flex}.auth-mode-toggle .nav-button{text-align:center;white-space:normal;flex:1 1 0;justify-content:center;align-self:stretch;align-items:center;min-height:3.35rem;display:flex}.auth-panel-compact .nav-button{text-align:center;white-space:normal;justify-content:center;align-items:center;height:100%;min-height:3.35rem;display:flex}.auth-form{gap:.7rem;display:grid}.auth-step-copy h3,.auth-completion-card h3{margin:0}.auth-wizard{gap:1rem}.auth-wizard-actions{flex-wrap:wrap;justify-content:space-between;gap:.65rem;display:flex}.auth-form-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.auth-text-button{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;justify-self:start;padding:0}.auth-text-button:disabled{color:var(--muted);cursor:not-allowed}.auth-progress{grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:.45rem;display:grid}.auth-progress-segment{background:#ffffff24;border-radius:999px;height:6px;display:block}.auth-progress-segment.complete{background:#edf3f8f5}.auth-upload-preview{border:1px solid var(--border);border-radius:18px;width:92px;height:92px;overflow:hidden}.auth-upload-preview img{object-fit:cover;width:100%;height:100%}.auth-completion-card{border:1px solid var(--border);background:#ffffff08;border-radius:20px;gap:.75rem;padding:1rem;display:grid}.auth-inline-note{color:var(--muted);margin:-.15rem 0 0;font-size:.9rem}.profile-field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.header-status{border:1px solid var(--border);background:#fff8ef08;border-radius:18px;max-width:280px;padding:.9rem 1rem}.header-status p{color:var(--muted);margin:.35rem 0 0}.auth-help{width:100%;max-width:320px;color:var(--muted);text-align:right;margin:0;font-size:.86rem}.auth-panel-page .auth-help{text-align:left;max-width:none}.auth-help-left{text-align:left}.auth-help-success{color:#bfe7ce}.auth-help-warning{color:#f0d48a}.auth-help-error{color:#efb1b1}.google-auth-button,.apple-auth-button{color:#1f2937;width:100%;min-height:48px;font:inherit;cursor:pointer;background:#fff;border:1px solid #11182729;border-radius:16px;justify-content:center;align-items:center;gap:.75rem;padding:.8rem 1rem;font-weight:600;line-height:1.2;transition:transform .16s,box-shadow .16s,border-color .16s;display:inline-flex}.apple-auth-button{color:#fff;background:#050505;border-color:#ffffff2e}.google-auth-button:hover:not(:disabled),.apple-auth-button:hover:not(:disabled){border-color:#1118273d;transform:translateY(-1px);box-shadow:0 12px 28px #0a0e1424}.apple-auth-button:hover:not(:disabled){border-color:#ffffff52;box-shadow:0 12px 28px #00000038}.google-auth-button:focus-visible{outline-offset:3px;outline:2px solid #4285f473}.apple-auth-button:focus-visible{outline-offset:3px;outline:2px solid #ffffff80}.google-auth-button:disabled,.apple-auth-button:disabled{cursor:not-allowed;opacity:.6}.google-auth-button__mark,.apple-auth-button__mark{flex:0 0 20px;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.google-auth-button__mark svg,.apple-auth-button__mark svg{width:18px;height:18px;display:block}.apple-auth-button__mark svg{fill:currentColor;width:20px;height:24px}.google-auth-button__text,.apple-auth-button__text{display:inline-block}.auth-card{gap:.8rem;display:grid}.chessboard-wrapper{-webkit-backdrop-filter:none;backdrop-filter:none;gap:1.5rem;padding:0;display:grid;overflow:visible}.chessboard-toolbar,.history-toolbar{justify-content:space-between;align-items:center;gap:1rem;display:flex}.toolbar-actions,.side-toggle,.history-buttons{flex-wrap:wrap;gap:.65rem;display:flex}.interaction-toggle{flex-wrap:wrap;gap:.45rem;display:flex}.toolbar-actions{flex:0 auto}.time-control-select{gap:.4rem;display:grid}.time-control-select .eyebrow{letter-spacing:.18em;font-size:.88rem}.time-control-select-row{border:1px solid var(--border);background:#fff8ef0a;border-radius:16px;align-items:center;gap:.55rem;padding:.6rem .8rem;display:flex}.time-control-select-row img{width:1.3rem;height:1.3rem}.time-control-select-row select{min-width:12rem;color:inherit;font:inherit;background:0 0;border:0;font-size:1.02rem;font-weight:600}.board-stage{display:block;position:relative}.board-play-area{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:1rem;display:grid}.board-primary-column{min-width:0}.board-frame{--board-light:#f0d9b5;--board-dark:#b58863;--board-frame:#0e141ae0;--board-border:#8fb0c92e;width:min(100%,clamp(680px,60vw,820px));margin:0 auto;position:relative}.board-surface{width:min(100%,clamp(680px,60vw,820px));margin:0 auto;position:relative}.player-clock{background:#090e13c7;border:1px solid #8fb0c92e;border-radius:20px;justify-content:space-between;align-items:center;gap:.9rem;width:min(100%,clamp(680px,60vw,820px));margin:.5rem auto;padding:.7rem .9rem;transition:border-color .12s,box-shadow .12s,background .12s;display:flex}.arena-page .player-clock{margin-top:.2rem;margin-bottom:.2rem}.player-clock.active{border-color:color-mix(in srgb, var(--accent) 58%, transparent);box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);background:#121c25eb}.player-clock.expired{background:#2b1212e0;border-color:#c47c7c80}.player-clock-copy{gap:.24rem;display:grid}.player-clock-copy .eyebrow{letter-spacing:.18em;font-size:.88rem}.player-clock-copy strong{font-size:1.16rem;line-height:1.15}.player-clock-value{align-items:center;gap:.55rem;font-family:IBM Plex Sans,sans-serif;font-size:1.42rem;font-weight:700;line-height:1;display:flex}.player-clock-value img{width:1.2rem;height:1.2rem}.drunk-magnus-thought{pointer-events:none;z-index:6;justify-content:flex-start;width:min(100%,clamp(680px,60vw,820px));display:flex;position:absolute;top:4.8rem;left:50%;transform:translate(-50%)}.drunk-magnus-thought-bottom{justify-content:flex-end;top:auto;bottom:4.8rem}.drunk-magnus-thought span{color:#fff4cf;background:#1f1a12eb;border:1px solid #f7cb7057;border-radius:18px;max-width:min(23rem,78%);padding:.72rem .9rem;font-size:.95rem;font-weight:650;line-height:1.25;position:relative;box-shadow:0 14px 28px #0000003d}.drunk-magnus-thought span:before{content:"";background:#1f1a12eb;border-top:1px solid #f7cb7057;border-left:1px solid #f7cb7057;width:.8rem;height:.8rem;position:absolute;top:-.46rem;left:1.35rem;transform:rotate(45deg)}.drunk-magnus-thought-bottom span:before{border:1px solid #f7cb7057;border-top:0;border-left:0;inset:auto 1.35rem -.46rem auto}#chessBoard{aspect-ratio:1;width:100%;min-width:0;height:100%}.board-host{width:min(100%,clamp(680px,60vw,820px));min-width:280px;margin:0 auto;position:relative}.board-host-inner{aspect-ratio:1;width:100%;margin:0;position:relative}.board-loading-placeholder{background:conic-gradient(var(--board-light,#f0d9b5) 0 25%, var(--board-dark,#b58863) 0 50%, var(--board-light,#f0d9b5) 0 75%, var(--board-dark,#b58863) 0) 0 0 / 25% 25%;opacity:.82;border-radius:14px;width:100%;height:100%;min-height:260px}.board-frame .white-1e1d7{background:var(--board-light)!important}.board-frame .black-3c85d{background:var(--board-dark)!important}.board-click-grid{z-index:2;grid-template-rows:repeat(8,1fr);grid-template-columns:repeat(8,1fr);display:grid;position:absolute;inset:0}.board-touch-grid{z-index:2;pointer-events:none;position:absolute;inset:0}.board-click-cell{cursor:pointer;background:0 0;border:0;padding:0}.endgame-overlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:3;background:#070b0ead;border-radius:22px;place-items:center;padding:1rem;display:grid;position:absolute;inset:0}.endgame-modal{border:1px solid var(--border-strong);text-align:center;background:#12181ff5;border-radius:22px;width:min(100%,340px);padding:1.2rem 1.15rem;box-shadow:0 16px 44px #00000057}.endgame-modal h4{margin:0;font-family:Cormorant Garamond,Georgia,serif;font-size:2rem}.endgame-subtitle,.endgame-quip{color:var(--muted);margin:.5rem 0 0}.endgame-quip{font-size:.96rem}.endgame-actions{flex-wrap:wrap;justify-content:center;gap:.65rem;margin-top:1rem;display:flex}.setup-actions-opening{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.setup-actions-opening .nav-button{justify-content:center;min-width:0}.setup-actions-opening .nav-button:first-child{order:2;grid-column:1/-1}.endgame-overlay-loss .endgame-modal{border-color:#c47c7c61}.endgame-overlay-win .endgame-modal{border-color:#70ac9161}.pregame-overlay{background:#050a0ec2}.pregame-modal{border-color:#8fb0c957}.setup-modal{text-align:left;grid-template-rows:auto auto auto minmax(0,1fr) auto;row-gap:.65rem;width:min(100%,460px);height:min(76dvh,42rem);max-height:min(76dvh,42rem);display:grid;overflow:hidden}.setup-modal.setup-step-opponent{height:min(76dvh,42rem);max-height:min(76dvh,42rem)}.setup-modal.setup-step-opponent .endgame-subtitle,.setup-modal.setup-step-opponent .endgame-quip{margin-top:0}.setup-content-scroll{scrollbar-color:#9eb4d36b #ffffff0a;scrollbar-width:thin;height:100%;min-height:0;max-height:none;margin-top:0;padding-right:.2rem;overflow-y:auto}.setup-content-scroll-opponent{height:100%;max-height:none}.setup-option-grid{align-content:start;gap:.7rem;display:grid}.setup-opening-fun-group{border-top:1px solid #fff8ef1f;gap:.65rem;margin-top:1.1rem;padding-top:.9rem;display:grid}.setup-opening-group-heading{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:700}.setup-depth-panel{grid-template-rows:minmax(0,1fr) auto auto;gap:.65rem;min-height:0;display:grid}.setup-option-button{border:1px solid var(--border);width:100%;color:inherit;text-align:left;cursor:pointer;background:#fff8ef08;border-radius:18px;align-content:start;gap:.35rem;padding:.9rem .95rem;transition:border-color .18s,background-color .18s,transform .18s;display:grid}.setup-option-button:hover,.setup-option-button.active{border-color:var(--border-strong);background:#8fb0c91a;transform:translateY(-1px)}.setup-option-button.unavailable{opacity:.72;cursor:not-allowed;transform:none}.subscription-lock-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.14em;width:1em;height:1em;margin-left:.4rem}.setup-option-button.unavailable:hover{border-color:var(--border);background:#fff8ef08;transform:none}.setup-option-meta{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;flex-wrap:wrap;align-items:center;gap:.45rem;font-size:.78rem;display:flex}.setup-availability-pill{letter-spacing:.06em;border:1px solid;border-radius:999px;align-items:center;padding:.18rem .48rem;font-size:.72rem;display:inline-flex}.setup-availability-pill.available{color:#b8dcb4}.setup-availability-pill.unavailable{color:#d7a8a8}.setup-option-button strong{font-size:1rem}.setup-style-axis{color:#f4d58d;font-size:.86rem;font-weight:600}.setup-option-button span{color:var(--muted);font-size:.92rem}.setup-summary{gap:.9rem;margin-top:1rem;display:grid}.setup-depth-panel{gap:.75rem;min-height:0;margin-top:1rem;display:grid}.setup-choice-grid{align-content:start;gap:.8rem;margin-top:1rem;display:grid}.setup-summary-row{gap:.4rem;display:grid}.setup-summary-row strong{font-size:1.02rem}.highlight-last-move{background-color:color-mix(in srgb, var(--accent) 22%, transparent)!important;border:1px solid color-mix(in srgb, var(--accent) 36%, transparent)!important}.highlight-selected-square{box-shadow:inset 0 0 0 999px color-mix(in srgb, var(--accent) 18%, transparent);outline:2px solid color-mix(in srgb, var(--accent) 58%, transparent);outline-offset:-2px}.board-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.board-status-grid>div,.analysis-panel{border:1px solid var(--border);background:#fff8ef08;border-radius:22px;padding:1.1rem 1.15rem}.board-status-grid label,.depth-control span{color:var(--muted);text-transform:uppercase;letter-spacing:.14em;margin-bottom:.45rem;font-size:.8rem;display:block}.board-status-grid>div>div{word-break:break-word;font-family:IBM Plex Sans,sans-serif;font-size:.95rem}.analysis-panel{gap:1rem;display:grid}.home-quickplay{justify-items:center;gap:1.25rem;min-width:0;display:grid}.home-live-arena{min-width:0}.home-copy{text-align:center;max-width:760px;margin-inline:auto}.home-copy h2{margin:0;font-size:clamp(2rem,4vw,3.4rem);line-height:1.05}.home-copy p:last-child{color:var(--muted);max-width:62ch;margin:.75rem auto 0}.arena-page-intro{text-align:center;width:min(100%,760px);margin-inline:auto}.arena-page-intro h2{margin:0;font-size:clamp(2rem,4vw,3.4rem);line-height:1.05}.arena-page-intro p:last-child{color:var(--muted);max-width:64ch;margin:.75rem auto 0}.home-play-surface{grid-template-columns:minmax(0,1fr);justify-items:center;width:100%;min-width:0;display:grid}.home-about-garrychess{text-align:center;gap:.95rem;max-width:78ch;margin-inline:auto;padding-top:.25rem;display:grid}.home-about-garrychess h3{margin:0;font-family:Space Grotesk,IBM Plex Sans,sans-serif;font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.1}.home-about-garrychess p{color:var(--muted);margin:0;line-height:1.65}.home-about-garrychess .home-about-hook{color:var(--text);font-size:clamp(1.08rem,1.55vw,1.35rem);font-weight:700;line-height:1.35}.home-board-panel{gap:0;width:min(100%,680px);min-width:0;display:grid;position:relative}.home-board-toolbar{justify-content:stretch;width:100%;margin-bottom:.65rem;display:flex}.home-board-shuffle-action{background:color-mix(in srgb, var(--accent) 22%, transparent);border-color:color-mix(in srgb, var(--accent) 62%, transparent);justify-content:center;width:100%;min-height:3.25rem;padding:.62rem 1rem;font-size:.95rem}.home-board-shell{aspect-ratio:1;justify-self:center;width:calc(100% - 2px);min-height:0;position:relative}.home-board-capture{background:#0b1113;gap:0;width:100%;display:grid}.home-board-capture .home-player-bar{width:100%;max-width:100%;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:#0f1719;border-color:#a9b5b824}.home-board-capture .home-player-bar.active{box-shadow:none;background:#0f1719;border-color:#a9b5b824}.home-endgame-overlay{border-radius:0}.home-settings-sheet{z-index:4;background:linear-gradient(#0b0f11fa,#06090bfa);border:1px solid #a9b5b838;gap:.85rem;width:min(22rem,100% - 1rem);padding:1rem;display:grid;position:absolute;bottom:3.6rem;right:0;box-shadow:0 24px 60px #0000007a}.home-share-sheet{z-index:5;background:linear-gradient(#0b0f11fa,#06090bfa);border:1px solid #a9b5b838;grid-template-columns:4.25rem minmax(0,1fr);align-items:center;gap:.8rem;width:min(28rem,100% - 1rem);padding:.85rem;display:grid;position:absolute;bottom:4.15rem;right:0;box-shadow:0 24px 60px #0000007a}.home-share-preview{object-fit:cover;border:1px solid #a9b5b838;width:4.25rem;height:4.25rem}.home-share-copy{gap:.1rem;min-width:0;display:grid}.home-share-copy strong{color:var(--text);font-size:.94rem;line-height:1.15}.home-share-copy span{color:var(--muted);font-size:.8rem;line-height:1.35}.home-share-actions{grid-column:1/-1;grid-template-columns:minmax(0,1fr) 2.75rem;gap:.5rem;display:grid}.home-share-actions .nav-button{text-align:center;background:color-mix(in srgb, var(--accent) 20%, transparent);border-color:color-mix(in srgb, var(--accent) 58%, transparent);justify-content:center;align-items:center;min-width:0;min-height:2.75rem;padding:.5rem .65rem;text-decoration:none;display:inline-flex}.home-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;display:grid}.home-settings-grid .nav-button{background:#ffffff09;border-color:#a9b5b82e;justify-content:center;min-width:0;padding-inline:.8rem}.home-settings-grid .nav-button:hover{background:#ffffff12;border-color:#d6e0e247}.home-settings-grid .nav-button.active{background:#1f2426f0;border-color:#d6e0e261}.home-settings-grid .nav-button:focus-visible,.home-icon-action:focus-visible{outline-offset:2px;outline:2px solid #d6e0e257}.home-icon-action.active{background:color-mix(in srgb, var(--accent) 28%, transparent);border-color:color-mix(in srgb, var(--accent) 68%, transparent)}.home-orientation-button{grid-column:1/-1}.home-player-bar{border-radius:0;justify-self:center;width:calc(100% - 60px);margin:0;padding-block:.56rem}.home-player-bar-value{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-weight:500}.home-player-clock-value{font-size:1.06rem}.home-player-clock-value img{width:1rem;height:1rem}.arena-opponent-title{align-items:baseline;gap:.45rem;min-width:0;display:inline-flex}.opponent-inspired-by{color:var(--muted);white-space:nowrap;font-size:.68em;font-weight:500}.home-bot-tags{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.45rem;max-width:52%;display:flex}.home-bot-tags span{border:1px solid var(--border);color:var(--muted);text-transform:uppercase;padding:.25rem .55rem;font-size:.78rem}.home-actions{grid-template-columns:repeat(2,minmax(0,1fr)) repeat(2,4.25rem);align-items:stretch;gap:.55rem;margin-top:.65rem;display:grid}.home-actions.in-game{grid-template-columns:repeat(2,minmax(0,1fr)) repeat(2,4.25rem)}.home-actions.home-input-choice{grid-template-columns:repeat(2,minmax(0,1fr))}.home-actions .nav-button{justify-content:center;min-width:0;height:100%;min-height:3.45rem}.home-action-label-short{display:none}.home-actions .home-icon-action{background:color-mix(in srgb, var(--accent) 20%, transparent);border-color:color-mix(in srgb, var(--accent) 58%, transparent);border-radius:16px;flex-direction:column;gap:.08rem;width:4.25rem;min-width:4.25rem;height:100%;min-height:3.45rem;padding:.32rem .35rem .3rem;text-decoration:none}.home-icon-action svg{fill:none;stroke:currentColor;stroke-width:2.35px;stroke-linecap:round;stroke-linejoin:round;width:1.25rem;height:1.25rem}.home-icon-action .home-settings-icon{fill:currentColor;stroke:none}.home-icon-label{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:700;line-height:1;display:block;overflow:hidden}.primary-action{border-color:color-mix(in srgb, var(--accent) 76%, transparent);background:color-mix(in srgb, var(--accent) 16%, transparent)}.research-card{gap:1.75rem;width:100%;min-width:0;max-width:1040px;display:grid;overflow:hidden}.research-header{min-width:0;max-width:900px}.research-subtitle{max-width:70ch;margin:.8rem 0 0;font-size:1rem;line-height:1.7}.research-tab-nav{flex-wrap:wrap;gap:.65rem;display:flex}.research-figure{gap:.65rem;margin:0;display:grid}.research-figure img{border:1px solid var(--border);border-radius:8px;width:100%;box-shadow:0 20px 44px #00000047}.research-figure figcaption{color:var(--muted);font-size:.85rem;line-height:1.6}.research-markdown{gap:0;min-width:0;display:grid}.research-grid,.research-contributions{gap:1rem;min-width:0;display:grid}.research-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.research-contributions{grid-template-columns:repeat(3,minmax(0,1fr))}.research-panel{background:0 0;border:0;border-top:1px solid #ffffff14;border-radius:0;min-width:0;padding:1.5rem 0}.research-panel>.eyebrow{color:#f1ede69e;letter-spacing:.12em;margin-bottom:.45rem;font-size:.72rem;display:block}.research-panel h3{letter-spacing:.01em;margin-bottom:.9rem;font-size:1.08rem}.research-panel p,.research-panel li{overflow-wrap:break-word;font-size:.98rem;line-height:1.78}.research-markdown>.research-panel:first-child{border-top:0;padding-top:0}.research-panel p:last-child,.research-panel ul:last-child{margin-bottom:0}.linkedin-profile-link{width:fit-content;color:var(--text);border:1px solid var(--border-strong);background:#8fb0c91a;align-items:center;gap:.55rem;margin-top:.85rem;padding:.62rem .85rem;text-decoration:none;display:inline-flex}.linkedin-profile-link:hover{background:#8fb0c929}.linkedin-profile-link svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1rem;height:1rem}.research-paper-summary{border-left:2px solid #ffffff1f;min-width:0;min-height:100%;padding:.2rem 0 .2rem 1.2rem}.research-paper-summary>.eyebrow{margin-bottom:.35rem}.research-paper-access{gap:.25rem;min-width:0;max-width:860px;display:grid}.research-paper-link{color:#c4e0f5f0;text-underline-offset:.2em;overflow-wrap:anywhere;text-decoration:underline}.research-paper-link:hover{color:#fff}.research-github-link{width:fit-content;color:var(--text);background:#8fb0c914;border:1px solid #8fb0c959;border-radius:8px;align-items:center;gap:.55rem;margin-top:.35rem;padding:.58rem .72rem;text-decoration:none;display:inline-flex}.research-github-link:hover{background:#8fb0c924;border-color:#8fb0c98a}.research-github-icon{flex:none;width:1rem;height:1rem}.research-panel code{color:var(--text);background:#8fb0c914;border-radius:8px;padding:.1rem .35rem;font-family:IBM Plex Sans,monospace;font-size:.92em}.research-equation{background:#fff8ef06;border:0;border-left:3px solid #ffffff24;border-radius:0;min-width:0;max-width:100%;margin:.85rem 0;padding:.95rem 1rem;overflow:auto hidden}.research-equation code{background:0 0;padding:0;font-size:.98rem}.research-equation .katex-display{margin:.1rem 0;overflow:auto hidden}.research-equation .katex{font-size:1.02rem}.research-list{color:var(--muted);margin:.25rem 0 0;padding-left:1.1rem}.research-list li+li{margin-top:.65rem}.research-roadmap-list{gap:1rem;display:grid}.research-roadmap-item{border-top:1px solid #ffffff14;grid-template-columns:auto minmax(0,1fr);gap:1rem;padding:1.25rem 0;display:grid}.research-roadmap-item>div:last-child{min-width:0}.research-roadmap-icon{width:2.35rem;height:2.35rem;color:var(--text);background:#8fb0c91f;border:1px solid #8fb0c98f;border-radius:50%;place-items:center;font-family:Space Grotesk,IBM Plex Sans,sans-serif;font-weight:700;display:grid}.research-roadmap-item h3{margin:.2rem 0 .8rem;font-size:1.08rem}.research-findings{gap:.8rem;display:grid}.research-findings p{color:var(--muted);margin:0}.research-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;min-width:0;display:grid}.research-metric-card{background:0 0;border:0;border-bottom:1px solid #ffffff14;border-radius:0;padding:.85rem 0}.research-metric-card p{color:var(--muted);margin:.35rem 0 0}.research-table-wrap{max-width:100%;margin-top:.75rem;overflow-x:auto}.research-table{border-collapse:collapse;width:100%;min-width:720px}.research-table th,.research-table td{text-align:left;vertical-align:top;border-bottom:1px solid #ffffff14;padding:.8rem .75rem}.research-table th{color:var(--text);letter-spacing:.08em;text-transform:uppercase;font-size:.82rem}.research-table td{color:var(--muted)}.research-footnote{color:var(--muted);margin-top:.8rem;font-size:.9rem;line-height:1.6}.research-figure-stack{gap:1.5rem;min-width:0;display:grid}.contribution-card{gap:.6rem}.engine-note{border-top:1px solid #ffffff14;padding-top:.25rem}.engine-note strong{margin-bottom:.35rem;display:block}.engine-note p{color:var(--muted);margin:0}.depth-control input{width:100%;accent-color:var(--accent)}.depth-value{color:var(--muted);margin-top:.45rem;display:block}.analysis-toggle{border:1px solid var(--border);background:#fff8ef05;border-radius:18px;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1rem;display:flex}.analysis-results{padding-top:.25rem}.analysis-results p{color:var(--muted);margin:0}.analysis-line-list{gap:.75rem;display:grid}.analysis-line{border:1px solid var(--border);background:#fff8ef08;border-radius:18px;gap:.2rem;padding:.85rem .95rem;display:grid}.analysis-line span,.analysis-line small{color:var(--muted)}.status-panel p{color:var(--muted);margin:0}.status-panel p+p{margin-top:.75rem}.move-history{border:1px solid var(--border);background:#fff8ef08;border-radius:22px;grid-template-rows:auto minmax(0,1fr) auto;place-self:stretch end;gap:.55rem;width:100%;min-height:100%;padding:.8rem .85rem;display:grid;overflow:hidden}.arena-mobile-actions{display:none}.history-toolbar{gap:.35rem;min-height:0}.history-copy{gap:.15rem;display:grid}.history-copy strong{font-size:.98rem}.move-table-shell{flex:auto;height:100%;min-height:0;display:flex}.move-table-scroll{scrollbar-width:none;-ms-overflow-style:none;background:#0c12186b;border:1px solid #8fb0c929;border-radius:18px;flex:auto;height:100%;min-height:0;overflow:auto}.move-table-scroll::-webkit-scrollbar{display:none}.move-table{border-collapse:collapse;width:100%;font-family:IBM Plex Sans,sans-serif}.move-table thead th{z-index:1;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;background:#0c1218f5;padding:.65rem .85rem;font-size:.78rem;position:sticky;top:0}.move-table tbody th,.move-table tbody td{text-align:left;border-top:1px solid #8fb0c91f;padding:.2rem .35rem}.move-table tbody th{width:2.4rem;color:var(--muted);padding-left:.8rem;font-size:.82rem;font-weight:600}.move-table-button{width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;justify-content:space-between;align-items:center;gap:.4rem;padding:.45rem .6rem;font-size:.92rem;transition:background-color .18s,color .18s;display:flex}.move-table-button:hover{background:#8fb0c91a}.move-table-button.active{color:#f8fbff;background:#8fb0c92e}.move-table-placeholder{color:#edf3f859;padding:.45rem .6rem;display:inline-block}.move-table-empty{background:#0c121857;border:1px dashed #8fb0c929;border-radius:18px;flex:auto;place-items:center;width:100%;height:100%;min-height:0;display:grid}.history-actions{grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:.6rem;display:grid}.history-icon-button{border:1px solid var(--border);height:2.75rem;min-height:2.75rem;color:var(--text);cursor:pointer;background:#fff8ef08;border-radius:16px;justify-content:center;align-items:center;transition:transform .2s,background-color .2s,border-color .2s;display:inline-flex}.history-icon-button:hover{background:color-mix(in srgb, var(--accent) 12%, transparent);border-color:var(--border-strong);transform:translateY(-1px)}.history-icon-button:disabled{opacity:.45;cursor:default;transform:none}.history-icon-button.active{background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 9%, transparent));border-color:color-mix(in srgb, var(--accent) 52%, transparent)}.history-icon-button svg,.history-icon-button img{stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:1.45rem;height:1.45rem;display:block}.history-icon-button .home-settings-icon{fill:currentColor;stroke:none}.arena-settings-backdrop{display:none}.arena-settings-sheet{border:1px solid var(--border);background:#12181ff5;border-radius:20px;gap:1rem;width:min(100%,19rem);padding:1rem;display:grid;box-shadow:0 16px 44px #00000057}.board-settings-sheet{z-index:40;pointer-events:auto;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#070b0e80;border-radius:22px;align-content:end;justify-items:end;padding:1rem;display:grid;position:absolute;inset:0}.board-settings-sheet .arena-settings-sheet{pointer-events:auto}.arena-settings-header{justify-content:space-between;align-items:start;gap:.75rem;display:flex}.arena-settings-header strong{margin-top:.2rem;font-family:IBM Plex Sans,sans-serif;display:block}.arena-settings-group{gap:.55rem;display:grid}.arena-settings-button{justify-content:center;width:100%}.profile-layout{grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:1rem;display:grid}.profile-panel{border:1px solid var(--border);background:#fff8ef08;border-radius:22px;gap:1rem;padding:1.1rem 1.15rem;display:grid}.profile-supporting-copy{color:var(--muted);margin:0}.profile-field{gap:.45rem;min-width:0;display:grid}.profile-field input,.profile-field textarea,.profile-field select,.profile-filters input,.profile-filters select{border:1px solid var(--border);color:var(--text);background:#fff8ef08;border-radius:16px;width:100%;min-width:0;max-width:100%;padding:.9rem 1rem}.profile-field textarea{resize:vertical}.profile-callout{border:1px solid var(--border);background:#fff8ef05;border-radius:18px;padding:1rem}.profile-callout p{color:var(--muted);margin:.45rem 0 0}.profile-theme-list{gap:.65rem;display:grid}.community-page{gap:1.15rem;display:grid}.community-hero{gap:.55rem;max-width:760px;display:grid}.community-hero h1,.community-hero p{margin:0}.community-hero p:last-child{color:var(--muted)}.community-tab-nav,.community-search-row,.community-form-actions,.community-owner-actions{flex-wrap:wrap;align-items:center;gap:.7rem;display:flex}.community-tab-nav{background:linear-gradient(135deg,#7dd3c70b,#f2c08406),#050c0d47;border:1px solid #7cb8bc2e;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;padding:.55rem;display:grid}.community-tab-card{min-width:0;min-height:4.6rem;color:var(--text);text-align:left;cursor:pointer;background:linear-gradient(#fff8ef0b,#fff8ef05),#08101394;border:1px solid #7cb8bc38;border-radius:8px;align-content:center;gap:.32rem;padding:.82rem .9rem;transition:transform .18s,background-color .18s,border-color .18s,box-shadow .18s;display:grid;box-shadow:inset 0 1px #fff8ef0a}.community-tab-card:hover{background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, transparent), #fff8ef05), #081013a8;border-color:color-mix(in srgb, var(--accent) 46%, transparent);transform:translateY(-1px);box-shadow:inset 0 1px #fff8ef0f,0 10px 24px #00000029}.community-tab-card.active{background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), #f2c0840e);border-color:color-mix(in srgb, var(--accent) 62%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 13%, transparent), 0 12px 28px #0000002e}.community-tab-card span{font-weight:800;line-height:1.08}.community-tab-card small{color:var(--muted);font-size:.8rem;line-height:1.28}@media (width<=640px){.community-tab-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;padding:.4rem}.community-tab-card{min-height:4.2rem;padding:.65rem .55rem}.community-tab-card small{display:none}}.community-search-field{flex:280px}.community-search-row{align-items:flex-end}.community-refresh-button{min-height:3.05rem;color:var(--text);white-space:nowrap;cursor:pointer;background:linear-gradient(#fff8ef0c,#fff8ef05),#08101394;border:1px solid #7cb8bc3d;border-radius:8px;justify-content:center;align-items:center;gap:.42rem;padding:.72rem .95rem;font-weight:800;line-height:1;transition:transform .18s,border-color .18s,background-color .18s,color .18s;display:inline-flex;box-shadow:inset 0 1px #fff8ef0a}.community-refresh-button:hover:not(:disabled){color:var(--accent);border-color:color-mix(in srgb, var(--accent) 52%, transparent);background:linear-gradient(180deg, color-mix(in srgb, var(--accent) 11%, transparent), #fff8ef05), #081013a8;transform:translateY(-1px)}.community-refresh-button:disabled{cursor:wait;opacity:.68}.community-refresh-button svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1rem;height:1rem}.community-section{gap:.8rem;display:grid}.community-section-heading{justify-content:flex-start;align-items:center;gap:.75rem;display:flex}.community-section-heading h2{margin:0}.community-section-count,.community-rank-pill,.community-status-pill{border:1px solid var(--border);min-height:1.45rem;color:var(--muted);text-transform:uppercase;border-radius:999px;align-items:center;padding:.18rem .45rem;font-size:.72rem;display:inline-flex}.community-section-count{color:#f3eadcb8;text-transform:none;background:#fff8ef09;border-color:#7cb8bc33;gap:.34rem;min-height:1.8rem;padding:.2rem .58rem}.community-section-count strong,.community-section-count small{line-height:1}.community-section-count strong{color:#fff;font-variant-numeric:tabular-nums;font-size:.82rem}.community-section-count small{color:#f3eadc94;letter-spacing:0;font-size:.64rem}.community-bot-grid{grid-template-columns:repeat(auto-fill,minmax(360px,380px));grid-auto-rows:1fr;justify-content:start;align-items:stretch;gap:.9rem;width:100%;display:grid}.community-bot-card-face,.community-empty-state,.community-create-form,.community-auth-panel{border:1px solid var(--border);background:#fff8ef06;border-radius:8px}.community-bot-card{min-width:0;height:100%}.community-bot-card.failed .community-bot-card-face{border-color:#ff757561}.community-bot-card.featured .community-bot-card-face{border-color:color-mix(in srgb, var(--accent) 72%, transparent);background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 6%, transparent), #0a191507 42%), #fff8ef06;box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent), 0 0 22px color-mix(in srgb, var(--accent) 11%, transparent)}.community-bot-card.featured .community-rank-pill{color:var(--accent);border-color:color-mix(in srgb, var(--accent) 48%, transparent);background:color-mix(in srgb, var(--accent) 8%, transparent)}.community-bot-card.featured .community-style-toggle{border-color:color-mix(in srgb, var(--accent) 40%, transparent)}.community-bot-card.featured .community-style-toggle:hover{color:var(--accent);background:color-mix(in srgb, var(--accent) 10%, transparent);border-color:color-mix(in srgb, var(--accent) 65%, transparent)}.community-bot-card-inner{min-width:0;height:100%;min-height:13.9rem;display:grid;position:relative}.community-bot-card-face{backface-visibility:hidden;min-width:0;height:100%;transform-style:preserve-3d;gap:.58rem;padding:.85rem .85rem .9rem;transition:border-color .18s,box-shadow .18s,background-color .18s,opacity .18s;display:grid;position:relative;box-shadow:inset 0 1px #fff8ef0b,0 12px 28px #00000029}.community-bot-card-face:before{content:"";pointer-events:none;border-radius:inherit;opacity:.5;background:linear-gradient(90deg,#7dd3c707,#0000 58%),linear-gradient(#fff8ef05,#0000 22%);position:absolute;inset:0}.community-bot-card:hover .community-bot-card-face{border-color:#7dd3c761;box-shadow:inset 0 1px #fff8ef11,0 16px 34px #00000038}.community-bot-card-front{pointer-events:auto;background:linear-gradient(145deg,#7dd3c705,#fff8ef03 52%,#f2c08403),#fff8ef05;grid-template-rows:auto auto auto auto minmax(0,1fr)}.community-bot-card-topline,.community-bot-meta-line,.community-bot-rating-strip{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.community-bot-card-topline{z-index:1;min-height:2.1rem;padding-right:6.35rem;position:relative}.community-status-pill.ready,.community-status-pill.posttraining{color:var(--accent)}.community-status-pill.failed{color:#ff9b9b}.community-rank-pill{color:var(--accent)}.community-bot-main{z-index:1;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:.7rem;min-width:0;padding-right:6.35rem;display:grid;position:relative}.community-bot-main h3,.community-bot-main p,.community-bot-description,.community-bot-meta-line span{overflow-wrap:anywhere;word-break:break-word;min-width:0;margin:0}.community-bot-main p,.community-bot-description,.community-bot-meta-line span{color:var(--muted)}.community-bot-main h3{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:1.24rem;font-weight:800;line-height:1.15;display:-webkit-box;overflow:hidden}.community-bot-main p,.community-bot-description{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.community-bot-main>div{min-width:0}.community-bot-description{-webkit-line-clamp:2;line-clamp:2;z-index:1;min-height:2.75em;font-size:1rem;line-height:1.42;position:relative}.community-bot-description-full{-webkit-line-clamp:unset;line-clamp:unset;display:block;overflow:visible}.community-bot-rating-strip{z-index:1;align-items:stretch;gap:.52rem;position:relative}.community-bot-rating-badge,.community-bot-style-icon{color:var(--muted);background:#050c0d57;border:1px solid #7dd3c733;border-radius:8px;align-items:center;gap:.35rem;font-size:.94rem;display:inline-flex}.community-bot-rating-badge{background:linear-gradient(135deg,#7dd3c71f,#050c0d57),#050c0d57;border-color:#7dd3c747;flex:none;min-height:1.72rem;padding:.18rem .42rem}.community-bot-style-stack{z-index:1;justify-items:stretch;gap:.2rem;width:5.95rem;display:grid;position:absolute;top:.72rem;right:.72rem}.community-bot-style-stack-label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.68rem;font-weight:800;line-height:1}.community-bot-style-icon{justify-content:flex-start;gap:.28rem;width:100%;min-height:1.62rem;padding:.12rem .3rem;box-shadow:0 5px 12px #0000002e}.community-bot-style-icon.primary{background:linear-gradient(135deg,#f2c08424,#7dd3c714),#050c0d94;border-color:#f2c08494}.community-bot-rating-badge img,.community-bot-style-icon img{object-fit:contain;flex:none;width:1.06rem;height:1.06rem}.community-bot-style-icon span{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:800;line-height:1.05;overflow:hidden}.community-bot-rating-badge span{color:var(--text);font-weight:700}.community-bot-meta-line{color:var(--muted);z-index:1;font-size:.86rem;position:relative}.community-bot-meta-line span{white-space:nowrap}.community-bot-card .community-owner-actions{z-index:1;justify-content:flex-start;margin-top:auto;padding-top:.15rem;padding-right:3.8rem;position:relative}.community-bot-card.has-report-action .community-owner-actions{padding-right:5.1rem}.community-bot-card.has-block-action .community-owner-actions{padding-right:7.45rem}.community-bot-card .community-owner-actions .nav-button{min-width:5.35rem;box-shadow:none;padding:.42rem .58rem}.community-style-report{border:1px solid var(--border);background:#fff8ef06;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;padding:.6rem;display:grid}.community-style-report-empty{color:var(--muted);display:block}.community-style-phase-summary{gap:.15rem;min-width:0;display:grid}.community-style-phase-summary span,.community-style-ranking h4,.community-style-ranking p,.community-style-note{color:var(--muted);margin:0;font-size:.74rem}.community-style-note{line-height:1.35}.community-style-phase-summary strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.community-style-toggle{border:1px solid var(--border);min-height:1.9rem;color:var(--text);font:inherit;cursor:pointer;background:#fff8ef09;border-radius:8px;justify-self:start;margin-top:auto;padding:.3rem .6rem;font-size:.82rem;font-weight:700;transition:background-color .2s,border-color .2s,color .2s}.community-style-toggle-details{z-index:2;background:#050c0d9e;justify-content:center;align-items:center;width:2rem;min-width:2rem;min-height:2rem;padding:0;font-size:1.05rem;line-height:1;display:inline-flex;position:absolute;bottom:.62rem;right:.62rem}.community-block-toggle{right:5.28rem}.community-report-toggle{right:2.95rem}.community-block-toggle:disabled{cursor:wait;opacity:.58}.community-style-toggle-details svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:1.16rem;height:1.16rem}.community-style-toggle:hover{color:var(--accent);background:color-mix(in srgb, var(--accent) 12%, transparent);border-color:color-mix(in srgb, var(--accent) 52%, transparent)}.community-style-details{gap:.62rem;padding-top:.2rem;display:grid}.community-style-back-kicker{color:var(--muted);text-transform:uppercase;font-size:.74rem}.community-style-report-overlay{z-index:80;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#020708ad;place-items:center;padding:1.4rem;display:grid;position:fixed;inset:0}.community-style-report-panel{background:linear-gradient(145deg, #113031db, #050c0df5 42%), var(--panel);border:1px solid #7dd3c742;border-radius:10px;grid-template-rows:auto minmax(0,1fr);width:min(100%,680px);max-height:min(82dvh,760px);display:grid;overflow:hidden;box-shadow:0 28px 70px #00000075}.community-style-report-panel-header{border-bottom:1px solid #7dd3c729;justify-content:space-between;align-items:start;gap:1rem;padding:1rem 1rem .85rem;display:flex}.community-style-report-panel-header h2{margin:.15rem 0 0;font-size:1.42rem;line-height:1.1}.community-style-report-panel-scroll{gap:.85rem;min-height:0;padding:1rem;display:grid;overflow-y:auto}.community-style-phase-card{border:1px solid var(--border);background:linear-gradient(135deg,#7dd3c714,#fff8ef05 42%),#fff8ef05;border-radius:8px;gap:.58rem;padding:.72rem;display:grid}.community-style-phase-card-head{grid-template-columns:2.15rem minmax(0,1fr) auto;align-items:center;gap:.55rem;min-width:0;display:grid}.community-style-phase-icon{background:#050c0d6b;border:1px solid #7dd3c73d;border-radius:8px;justify-content:center;align-items:center;width:2.15rem;height:2.15rem;display:inline-flex}.community-style-phase-icon img{object-fit:contain;width:1.36rem;height:1.36rem}.community-style-phase-card-head>div{gap:.04rem;min-width:0;display:grid}.community-style-phase-card-head span,.community-style-contrast span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:800;line-height:1.1}.community-style-phase-card-head strong,.community-style-contrast strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;line-height:1.2;overflow:hidden}.community-style-phase-card-head em{color:var(--accent);white-space:nowrap;font-size:.72rem;font-style:normal;font-weight:800}.community-style-match-chips{flex-wrap:wrap;gap:.35rem;display:flex}.community-style-match-chips span{color:#f2c084e6;text-overflow:ellipsis;white-space:nowrap;background:#f2c0840d;border:1px solid #f2c08438;border-radius:999px;min-width:0;max-width:100%;padding:.18rem .42rem;font-size:.74rem;font-weight:700;line-height:1.25;overflow:hidden}.community-style-phase-description{color:var(--muted);margin:0;font-size:.88rem;line-height:1.42}.community-style-contrast{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.45rem;min-width:0;padding-top:.1rem;display:grid}.community-style-ranking-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.community-style-ranking{gap:.4rem;min-width:0;display:grid}.community-style-ranking ol{gap:.28rem;margin:0;padding:0;list-style:none;display:grid}.community-style-ranking li{min-width:0;color:var(--text);justify-content:space-between;gap:.65rem;font-size:.82rem;display:flex}.community-style-ranking li span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.community-style-ranking li strong{color:var(--muted);font-weight:700}.community-bot-avatar{object-fit:cover;background:linear-gradient(135deg,#7dd3c724,#f2c0841f),#fff8ef0a;border:1px solid #7dd3c75c;border-radius:8px;width:60px;height:60px;padding:.12rem;box-shadow:0 0 0 2px #050c0d57,0 8px 18px #0000003d}.community-bot-avatar-placeholder{color:var(--accent);background:linear-gradient(135deg,#7dd3c729,#f2c08417);justify-content:center;align-items:center;font-weight:800;display:inline-flex}@media (width<=820px){.community-bot-grid{grid-template-columns:minmax(0,1fr)}.community-style-report-overlay{align-items:end;padding:.75rem}.community-style-report-panel{width:100%;max-height:calc(100dvh - 1.5rem)}}@media (width<=420px){.community-bot-grid{grid-template-columns:minmax(0,100%)}.community-bot-card-face{padding:.82rem}.community-bot-card-topline,.community-bot-main{padding-right:0}.community-bot-main{grid-template-columns:58px minmax(0,1fr)}.community-bot-avatar{width:58px;height:58px}.community-bot-style-stack{order:3;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;position:static}.community-bot-style-stack-label{grid-column:1/-1}.community-bot-style-icon{min-width:0}.community-bot-rating-strip{display:grid}.community-style-phase-card-head{grid-template-columns:2.15rem minmax(0,1fr)}.community-style-phase-card-head em{grid-column:2;justify-self:start}}@media (width<=520px){.community-style-report,.community-style-ranking-grid{grid-template-columns:1fr}.community-style-report-panel{max-height:88dvh}}@media (prefers-reduced-motion:reduce){.community-bot-card-inner,.community-bot-card,.community-bot-card-face{transition:none}}.community-empty-state,.community-auth-panel,.community-create-form{padding:1rem}.community-create-form{gap:.9rem;display:grid}.community-source-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem;display:grid}.community-checkbox-row{color:var(--text);align-items:center;gap:.55rem;display:flex}.community-checkbox-row input{flex:none;width:1rem;height:1rem}.community-inline-status{border:1px solid var(--border);color:var(--accent);background:#fff8ef06;border-radius:8px;padding:.8rem .9rem}.community-source-rules{gap:.45rem;display:grid}.community-source-rules p{color:var(--muted);margin:0;line-height:1.45}.community-source-rules strong{color:var(--text)}.community-training-expectation{gap:.22rem;display:grid}.community-training-expectation strong{color:var(--text)}.community-training-expectation span{color:var(--muted);line-height:1.42}.community-manage-coming-soon{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.community-manage-coming-soon strong{color:var(--text)}.community-terms-panel{border:1px solid var(--border);background:#fff8ef05;border-radius:8px;gap:.65rem;padding:.9rem;display:grid}.community-terms-panel h3,.community-terms-body p,.community-terms-body ul{margin:0}.community-terms-panel h3{font-size:.95rem}.community-terms-body{max-height:min(34vh,13rem);color:var(--muted);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;gap:.7rem;padding-right:.45rem;line-height:1.45;display:grid;overflow-y:auto}.community-error-copy{color:#ffb1b1}.community-load-more{justify-self:start}.community-play-view{gap:1rem;display:grid}.community-play-header{justify-content:space-between;align-items:start;gap:1rem;display:flex}.community-play-header h2,.community-play-header p{margin:0}.community-play-header p:last-child{color:var(--muted)}.community-play-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:.72rem;padding:.26rem 0 .08rem;display:flex}.community-engagement-button,.community-icon-action{min-width:0;min-height:3.05rem;color:var(--text);font:inherit;cursor:pointer;background:linear-gradient(#ffffff14,#ffffff06),#050c0dad;border:1px solid #a9b5b852;border-radius:14px;justify-content:center;align-items:center;gap:.56rem;padding:.72rem .95rem;font-size:.98rem;font-weight:800;line-height:1;transition:border-color .16s,background .16s,box-shadow .16s,transform .16s;display:inline-flex;box-shadow:inset 0 1px #ffffff14,0 10px 22px #00000038}.community-engagement-button:hover,.community-icon-action:hover{background:linear-gradient(#7dd3c721,#ffffff09),#050c0dc7;border-color:#7dd3c79e;transform:translateY(-1px);box-shadow:inset 0 1px #ffffff1f,0 14px 28px #00000047}.community-engagement-button:disabled,.community-icon-action:disabled{cursor:default;opacity:.74;transform:none}.community-engagement-button.active,.community-icon-action.active{color:#f7d9a8;background:linear-gradient(#f2c0842e,#7dd3c70f),#050c0dcc;border-color:#f2c084b8}.community-engagement-button img,.community-icon-action svg{flex:none;width:1.22rem;height:1.22rem}.community-engagement-button img{object-fit:contain}.community-icon-action svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round}.community-icon-action .home-settings-icon{fill:currentColor;stroke:none}.community-icon-action small{min-height:1.18rem;color:var(--muted);background:#ffffff12;border-radius:999px;align-items:center;padding:0 .34rem;font-size:.72rem;font-weight:800;line-height:1;display:inline-flex}.community-exit-action{color:#eef6f6d6}.community-board-actions-wrap{gap:.75rem;margin-top:.8rem;display:grid}.community-game-result-panel,.community-board-settings,.community-share-sheet{background:linear-gradient(#0b0f11f5,#06090bf5);border:1px solid #a9b5b838;border-radius:10px;box-shadow:0 18px 50px #00000047}.community-game-result-panel{justify-content:space-between;align-items:center;gap:.85rem;padding:.85rem;display:flex}.community-game-result-panel span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.76rem;display:block}.community-game-result-panel strong{color:var(--text);margin-top:.16rem;font-size:1.08rem;display:block}.community-game-result-panel.won{background:linear-gradient(#18443152,#06090bf5);border-color:#6fd3a86b}.community-game-result-panel.lost{background:linear-gradient(#56241e42,#06090bf5);border-color:#ffa4915c}.community-game-result-panel.draw{border-color:#a9b5b857}.community-game-result-actions{flex-wrap:wrap;justify-content:flex-end;gap:.45rem;display:flex}.community-game-result-actions .nav-button{min-width:0;min-height:2.25rem;padding:.45rem .7rem}.community-board-settings{gap:.8rem;padding:.9rem;display:grid}.community-share-sheet{grid-template-columns:4.25rem minmax(0,1fr);align-items:center;gap:.8rem;padding:.85rem;display:grid}.community-share-preview{object-fit:cover;border:1px solid #a9b5b838;width:4.25rem;height:4.25rem}.community-share-preview-placeholder{color:var(--muted);background:#fff8ef09;justify-content:center;align-items:center;display:inline-flex}.community-share-preview-placeholder svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:1.45rem;height:1.45rem}.community-share-copy{gap:.1rem;min-width:0;display:grid}.community-share-copy strong{color:var(--text);font-size:.94rem;line-height:1.15}.community-share-copy span{color:var(--muted);font-size:.8rem;line-height:1.35}.community-share-actions{grid-column:1/-1;grid-template-columns:minmax(0,1fr) 2.75rem;gap:.5rem;display:grid}.community-share-actions .nav-button{text-align:center;background:color-mix(in srgb, var(--accent) 20%, transparent);border-color:color-mix(in srgb, var(--accent) 58%, transparent);justify-content:center;align-items:center;min-width:0;min-height:2.75rem;padding:.5rem .65rem;text-decoration:none;display:inline-flex}.community-play-layout{grid-template-columns:minmax(320px,620px) minmax(240px,1fr);align-items:start;gap:1rem;display:grid}.community-play-side{gap:.75rem;min-width:0;display:grid}.community-move-history{border-radius:8px;align-self:start;min-height:19rem;max-height:34rem}.community-history-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.community-board-frame{width:100%;max-width:620px;margin:0}.community-board-frame .board-surface,.community-board-frame .board-host,.community-board-frame .board-host-inner{aspect-ratio:1;width:min(100%,620px)}.community-player-strip{border:1px solid var(--border);color:var(--muted);background:#fff8ef06;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;padding:.7rem .85rem;display:grid}.community-player-strip strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.theme-option{border:1px solid var(--border);color:var(--text);text-align:left;background:#fff8ef08;border-radius:18px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:.95rem 1rem;display:grid}.theme-option-copy{gap:.2rem;min-width:0;display:grid}.theme-option small{color:var(--muted)}.theme-swatch{aspect-ratio:1;border:1px solid var(--board-border,#8fb0c933);background:conic-gradient(var(--board-light,#f0d9b5) 0 25%, var(--board-dark,#b58863) 0 50%, var(--board-light,#f0d9b5) 0 75%, var(--board-dark,#b58863) 0) 0 0 / 50% 50%;border-radius:9px;width:2.45rem;box-shadow:inset 0 0 0 1px #ffffff14}.theme-option.active{border-color:var(--border-strong);background:#8fb0c91a}.profile-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.saved-game-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.9rem;display:grid}.saved-game-card{border:1px solid var(--border);background:#fff8ef08;border-radius:18px;gap:.75rem;padding:.95rem;display:grid}.saved-game-copy p{color:var(--muted);margin:.25rem 0 0;font-size:.92rem}.board-thumbnail{aspect-ratio:1;border:1px solid var(--board-border,#8fb0c933);border-radius:12px;grid-template-rows:repeat(8,1fr);grid-template-columns:repeat(8,1fr);width:100%;max-width:220px;display:grid;overflow:hidden}.board-thumbnail-square{place-items:center;display:grid}.board-thumbnail-square.light{background:var(--board-light,#f0d9b5)}.board-thumbnail-square.dark{background:var(--board-dark,#b58863)}.board-thumbnail-square img{object-fit:contain;width:85%;height:85%}.profile-hub{gap:1.2rem;width:100%;min-width:0;display:grid;overflow:visible}.profile-card{z-index:2;width:100%;min-width:0;overflow:visible}.footer-card{z-index:1}.footer-card.app-footer{box-sizing:border-box;z-index:0;width:100%;padding:1.35rem 1.75rem calc(1.45rem + env(safe-area-inset-bottom,0px));box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;text-align:center;background:0 0;border:0;margin:0;animation:none;position:relative}.footer-card.app-footer:before{content:none}.footer-legal-note{max-width:980px;color:var(--muted);text-align:center;margin:0 auto;font-size:.82rem;line-height:1.55}.profile-tab-nav{flex-wrap:wrap;gap:.65rem;min-width:0;max-width:100%;display:flex}.profile-tab-content{gap:1rem;width:100%;min-width:0;display:grid}.profile-section-card,.profile-hero-card{border:1px solid var(--border);background:#fff8ef08;border-radius:22px;min-width:0;max-width:100%;padding:1.15rem 1.2rem;overflow:visible}.profile-notification-row{border:1px solid var(--border);background:#ffffff06;border-radius:12px;justify-content:space-between;align-items:center;gap:1rem;padding:.95rem;display:flex}.profile-notification-row strong,.profile-notification-row p{margin:0}.profile-toggle{color:var(--text);flex:none;align-items:center;gap:.55rem;font-weight:700;display:inline-flex}.profile-toggle input{width:1.2rem;height:1.2rem;accent-color:var(--accent)}.profile-danger-zone{background:linear-gradient(135deg,#f8717114,#fff8ef06 48%),#fff8ef08;border-color:#f8717157}.profile-danger-actions{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.profile-danger-button{color:#fecaca;background:#7f1d1d38;border-color:#f8717185}.profile-danger-button:hover:not(:disabled){background:#7f1d1d57;border-color:#f87171d1}.profile-delete-confirmation{gap:.65rem;display:grid}.profile-section-heading{justify-content:space-between;align-items:start;gap:1rem;min-width:0;margin-bottom:1rem;display:flex}.profile-sync-pill{border:1px solid var(--border);color:var(--muted);white-space:nowrap;border-radius:999px;padding:.28rem .55rem;font-size:.78rem}.profile-sync-pill.error{color:#f87171;border-color:#f871716b}.profile-puzzle-summary,.profile-puzzle-grid{gap:.75rem;display:grid}.profile-puzzle-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:.9rem}.profile-puzzle-summary article,.profile-puzzle-card{border:1px solid var(--border);background:#ffffff06;border-radius:14px;padding:.85rem .9rem}.profile-puzzle-summary strong,.profile-puzzle-card strong{margin-top:.25rem;font-family:Space Grotesk,IBM Plex Sans,sans-serif;font-size:1.15rem;display:block}.profile-puzzle-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.profile-puzzle-card small{color:var(--muted);margin-top:.25rem;display:block}.profile-awards-grid{flex-wrap:wrap;align-items:start;gap:1rem;display:flex}.profile-award-badge{min-width:7rem;color:var(--text);cursor:default;background:#f2c08414;border:1px solid #f2c08461;border-radius:14px;justify-items:center;gap:.55rem;padding:.95rem .8rem;display:grid}.profile-award-badge:focus-visible{outline-offset:3px;outline:2px solid #f2c084cc}.profile-award-pawn{justify-content:center;align-items:center;width:4.25rem;height:4.25rem;display:inline-flex;position:relative}.profile-award-pawn-svg{fill:#f2c084;filter:drop-shadow(0 10px 18px #f2c0842e);width:100%;height:100%}.profile-award-count{color:#24170f;background:#f7efe3;border:1px solid #16110db8;border-radius:999px;min-width:1.65rem;padding:.16rem .38rem;font-size:.75rem;font-weight:800;line-height:1.1;position:absolute;top:-.35rem;right:-.55rem;box-shadow:0 8px 18px #0000003d}.profile-award-caption{color:#f2c084;opacity:0;font-size:.84rem;font-weight:700;transition:opacity .16s,transform .16s;transform:translateY(4px)}.profile-award-badge:hover .profile-award-caption,.profile-award-badge:focus-visible .profile-award-caption{opacity:1;transform:translateY(0)}.profile-hero-card{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1.1rem;display:grid}.profile-avatar{border:1px solid var(--border);color:#10141a;background:linear-gradient(135deg,#f2c084f2,#577ea2e6);border-radius:24px;justify-content:center;align-items:center;display:flex;overflow:hidden}.profile-avatar-large{width:112px;height:112px}.profile-avatar img{object-fit:cover;width:100%;height:100%}.profile-avatar-initial{font-weight:800;line-height:1}.profile-avatar-large .profile-avatar-initial{font-size:2.6rem}.profile-full-name,.profile-location,.profile-meta-line,.profile-bio{color:var(--muted);margin:.3rem 0 0}.auth-status-message{color:#f2c084;margin:0}.donation-page-shell{gap:1.35rem;display:grid}.puzzle-page-shell{gap:1.2rem;display:grid;overflow:visible}.puzzle-board-shell{display:grid}.puzzle-board-stage{gap:.45rem;min-width:0;display:grid}.puzzle-stage-topline{grid-template-columns:minmax(0,1fr);align-items:start;gap:1rem;display:grid}.daily-gm-active-header{gap:.25rem;display:grid}.daily-gm-active-header h2{margin:0}.puzzle-meta-strip{flex-wrap:wrap;align-content:flex-start;gap:.55rem;min-height:2.35rem;margin-top:.55rem;display:flex}.puzzle-meta-pill{border:1px solid color-mix(in srgb, var(--accent) 24%, transparent);min-height:2rem;color:var(--muted);letter-spacing:.06em;text-transform:uppercase;background:#0b1522cc;border-radius:999px;align-items:center;padding:.35rem .7rem;font-size:.82rem;line-height:1.1;display:inline-flex}.puzzle-style-intro{max-width:780px;color:var(--muted);margin:.45rem 0 0;font-size:.94rem;line-height:1.5}.puzzle-board-frame{--board-light:#f0d9b5;--board-dark:#b58863;--board-frame:#151b23db;--board-border:#8fb0c92e;min-height:0;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;position:relative;overflow:visible}.puzzle-player-bar{background:#090e13ad;width:min(100%,clamp(560px,54vw,700px))}.puzzle-board-top-slot{--puzzle-dialog-height:7rem;width:min(100%,clamp(560px,54vw,700px));height:var(--puzzle-dialog-height);min-height:var(--puzzle-dialog-height);grid-template-rows:minmax(0,1fr);align-items:stretch;margin:0 auto .85rem;display:grid}.puzzle-hint-button{padding-inline:.8rem}.puzzle-hint-row{align-items:stretch;width:min(100%,clamp(560px,54vw,700px));height:2.9rem;min-height:2.9rem;margin:-.15rem auto .65rem;display:flex}.puzzle-board-top-slot .puzzle-hint-row{width:100%;margin:0}.puzzle-board-top-slot .eyebrow{margin:0}.puzzle-active-actions{flex-wrap:nowrap;justify-content:stretch;gap:0;overflow:hidden}.puzzle-active-actions .nav-button{text-align:center;text-overflow:ellipsis;white-space:nowrap;border-radius:0;flex:1 1 0;justify-content:center;align-items:center;gap:.35rem;width:auto;min-width:0;height:2.65rem;min-height:0;padding:.62rem clamp(.42rem,1.2vw,.8rem);line-height:1;display:inline-flex;overflow:hidden}.puzzle-active-actions .nav-button+.nav-button{margin-left:-1px}.puzzle-active-actions .nav-button:hover{transform:none}.puzzle-active-actions .nav-button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.puzzle-active-actions .nav-button svg{flex:none}.daily-gm-active-actions{gap:0;display:flex}.daily-gm-active-actions .nav-button{min-width:0}.puzzle-review-button-highlight{background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 28%, transparent), color-mix(in srgb, var(--accent) 14%, transparent));border-color:color-mix(in srgb, var(--accent) 72%, transparent);box-shadow:0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent), 0 12px 28px color-mix(in srgb, var(--accent) 16%, transparent)}.puzzle-review-button-highlight:hover{background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--accent) 18%, transparent));border-color:color-mix(in srgb, var(--accent) 82%, transparent)}.puzzle-player-elo{border:1px solid color-mix(in srgb, var(--accent) 32%, transparent);min-height:2rem;color:var(--text);white-space:nowrap;background:#0b1522b8;border-radius:999px;justify-content:center;align-items:center;gap:.38rem;padding:.34rem .62rem;font-family:IBM Plex Sans,sans-serif;font-size:1rem;font-weight:750;line-height:1;display:inline-flex}.puzzle-player-elo-icon{fill:none;stroke:#8fe2d8eb;stroke-width:1.85px;stroke-linecap:round;stroke-linejoin:round;width:1.02rem;height:1.02rem}.puzzle-board-surface{width:min(100%,clamp(560px,54vw,700px));margin:0 auto;position:relative}.puzzle-board-host{z-index:2;min-width:280px}.puzzle-exit-button{background:#0b152294;border-color:#8fb0c947;min-height:2.3rem;padding:.48rem .8rem;line-height:1}.donation-hero{align-items:start;gap:.95rem;display:grid}.donation-hero-copy{max-width:780px}.puzzle-accuracy-card,.puzzle-coach-bubble,.puzzle-overlay-card,.puzzle-option-card,.puzzle-player-card{background:linear-gradient(#ffffff08,#0000 55%),#0c151feb;border:1px solid #d7e5f11f;border-radius:22px;padding:1.2rem 1.25rem}.donation-summary-strip{flex-wrap:wrap;gap:.55rem;display:flex}.donation-summary-strip span{min-height:2rem;color:var(--muted);background:#8fb0c90e;border:1px solid #8fb0c92e;border-radius:999px;align-items:center;padding:.32rem .65rem;font-size:.84rem;display:inline-flex}.donation-flow-panel{gap:.9rem;display:grid}.donation-toggle-row,.donation-amount-grid,.donation-provider-grid{gap:.8rem;display:grid}.puzzle-option-grid,.puzzle-player-grid{gap:.8rem;min-width:0;display:grid}.puzzle-scenario-step{gap:1rem;display:grid}.daily-gm-puzzles-panel{border:1px solid color-mix(in srgb, var(--accent) 24%, transparent);background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 58%), #ffffff06;border-radius:12px;gap:.45rem;padding:.62rem .7rem;display:grid}.daily-gm-puzzles-heading{justify-content:space-between;align-items:center;gap:.75rem;min-width:0;display:flex}.daily-gm-puzzles-heading h4{margin:.08rem 0 0;font-size:.95rem;line-height:1.1}.daily-gm-manage-button{min-height:1.9rem;color:var(--accent);cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:0;flex:none;align-items:center;gap:.28rem;padding:.28rem .48rem;font-weight:800;display:inline-flex}.daily-gm-manage-button svg{fill:none;stroke:currentColor;stroke-width:2.35px;stroke-linecap:round;stroke-linejoin:round;width:1rem;height:1rem}.daily-gm-manage-button:hover,.daily-gm-manage-button:focus-visible{border-color:color-mix(in srgb, var(--accent) 28%, transparent);background:color-mix(in srgb, var(--accent) 8%, transparent)}.daily-gm-summary-row{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.daily-gm-summary-chip{border:1px solid color-mix(in srgb, var(--accent) 24%, transparent);min-height:1.55rem;color:var(--text);background:#ffffff06;border-radius:999px;align-items:center;padding:.22rem .5rem;font-size:.75rem;font-weight:700;display:inline-flex}.daily-gm-summary-chip.muted{color:var(--muted)}.daily-gm-player-page{gap:.85rem;display:grid}.daily-gm-player-grid{grid-template-columns:minmax(0,1fr);gap:.55rem;display:grid}.daily-gm-player-card{background:linear-gradient(#ffffff08,#0000 55%),#0c151fdb;border:1px solid #d7e5f11f;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.32rem .85rem;min-width:0;padding:.68rem .72rem;display:grid}.daily-gm-player-card.completed{opacity:.66}.daily-gm-player-card.completed:hover,.daily-gm-player-card.completed:focus-within{opacity:.86}.daily-gm-player-card-main{align-items:center;gap:.64rem;min-width:0;display:flex}.daily-gm-player-avatar{border:1px solid color-mix(in srgb, var(--accent) 26%, transparent);background:color-mix(in srgb, var(--accent) 12%, #ffffff0a);width:2.35rem;height:2.35rem;color:var(--accent);border-radius:10px;flex:none;place-items:center;font-weight:900;display:grid}.daily-gm-player-card strong,.daily-gm-player-card p{margin:0}.daily-gm-player-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;display:block;overflow:hidden}.daily-gm-player-card p{color:var(--muted);font-size:.8rem}.daily-gm-player-meta,.daily-gm-player-actions{align-items:center;display:flex}.daily-gm-player-meta{flex-wrap:wrap;gap:.45rem;min-width:0}.daily-gm-player-actions{flex-wrap:nowrap;grid-area:1/2/span 2;justify-content:flex-end;gap:0;width:max-content;max-width:100%;overflow:hidden}.daily-gm-player-meta span{min-height:1.55rem;color:var(--muted);border:1px solid #8fb0c92e;border-radius:999px;align-items:center;padding:.18rem .48rem;font-size:.75rem;font-weight:700;display:inline-flex}.daily-gm-player-meta .daily-gm-player-event{min-width:0;max-width:100%;min-height:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:0;padding:0;overflow:hidden}.daily-gm-player-meta .daily-gm-completed-tag{border-color:color-mix(in srgb, var(--accent) 38%, transparent);background:color-mix(in srgb, var(--accent) 10%, transparent);color:var(--accent)}.daily-gm-player-actions .nav-button{text-align:center;text-overflow:ellipsis;white-space:nowrap;border-radius:0;flex:1 1 0;min-width:4.3rem;height:2.05rem;min-height:0;padding:.38rem .62rem;font-size:.8rem;line-height:1;overflow:hidden}.daily-gm-player-actions .nav-button+.nav-button{margin-left:-1px}.daily-gm-player-actions .nav-button:hover{transform:none}.puzzle-share-action{justify-content:center;align-items:center;text-decoration:none}.puzzle-share-action svg{fill:none;stroke:currentColor;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;width:1rem;height:1rem}.puzzle-share-sheet{z-index:5;background:linear-gradient(#0b0f11fa,#06090bfa);border:1px solid #a9b5b838;border-radius:10px;grid-template-columns:4.25rem minmax(0,1fr);align-items:center;gap:.8rem;width:min(28rem,100% - 2rem);padding:.85rem;display:grid;position:absolute;bottom:4.3rem;right:1rem;box-shadow:0 24px 60px #0000007a}.puzzle-share-preview{object-fit:cover;border:1px solid #a9b5b838;width:4.25rem;height:4.25rem}.puzzle-share-copy{gap:.1rem;min-width:0;display:grid}.puzzle-share-copy strong{color:var(--text);font-size:.94rem;line-height:1.15}.puzzle-share-copy span{color:var(--muted);font-size:.8rem;line-height:1.35}.puzzle-share-actions{grid-column:1/-1;grid-template-columns:minmax(0,1fr) 2.75rem;gap:.5rem;display:grid}.puzzle-share-actions .nav-button{text-align:center;background:color-mix(in srgb, var(--accent) 20%, transparent);border-color:color-mix(in srgb, var(--accent) 58%, transparent);justify-content:center;align-items:center;min-width:0;min-height:2.75rem;padding:.5rem .65rem;text-decoration:none;display:inline-flex}.puzzle-filter-panel{border:1px solid color-mix(in srgb, var(--accent) 22%, transparent);background:#ffffff06;border-radius:14px;gap:.8rem;padding:.9rem;display:grid}.puzzle-chip-grid,.puzzle-toggle-grid,.puzzle-theme-grid{flex-wrap:wrap;gap:.55rem;display:flex}.puzzle-theme-section-grid{gap:.8rem;display:grid}.puzzle-theme-section{border:1px solid color-mix(in srgb, var(--accent) 18%, transparent);background:#ffffff05;border-radius:12px;gap:.6rem;padding:.75rem;display:grid}.puzzle-theme-section-header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.puzzle-chip-card{border:1px solid color-mix(in srgb, var(--accent) 18%, transparent);appearance:none;text-align:left;color:var(--text);cursor:pointer;box-shadow:none;background:#080e165c;border-radius:10px;flex:220px;gap:.35rem;padding:.85rem;display:grid}.puzzle-chip-card:hover{border-color:color-mix(in srgb, var(--accent) 34%, transparent);background:color-mix(in srgb, var(--accent) 6%, transparent)}.puzzle-chip-card strong{align-items:center;gap:.35rem;font-family:Space Grotesk,IBM Plex Sans,sans-serif;display:inline-flex}.puzzle-chip-card span{color:var(--accent);text-transform:uppercase;letter-spacing:.08em;font-size:.8rem}.puzzle-chip-card p{color:var(--muted);margin:0}.puzzle-toggle,.puzzle-theme-toggle{border:1px solid color-mix(in srgb, var(--accent) 28%, transparent);min-height:2.25rem;color:var(--text);cursor:pointer;background:#ffffff06;border-radius:999px;align-items:center;gap:.3rem;padding:.45rem .7rem;display:inline-flex}.puzzle-theme-toggle{font-size:.82rem}.puzzle-chip-card.selected,.puzzle-toggle.selected,.puzzle-theme-toggle.selected{background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, transparent), color-mix(in srgb, var(--accent) 9%, transparent));border-color:color-mix(in srgb, var(--accent) 54%, transparent)}.puzzle-chip-card.selected{background:color-mix(in srgb, var(--accent) 8%, transparent);border-color:color-mix(in srgb, var(--accent) 36%, transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent)}.puzzle-chip-card.locked,.puzzle-toggle.locked{opacity:.76}.puzzle-option-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.donation-toggle-row{grid-template-columns:repeat(2,minmax(0,1fr))}.donation-amount-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.donation-amount-button{min-height:2.7rem;color:var(--text);cursor:pointer;background:#fff8ef05;border:1px solid #8fb0c93d;border-radius:8px;padding:.6rem .75rem;font-family:Space Grotesk,IBM Plex Sans,sans-serif;font-size:1rem;transition:border-color .16s,background-color .16s}.donation-amount-button:hover{border-color:var(--border-strong)}.donation-amount-button.selected{background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 9%, transparent));border-color:color-mix(in srgb, var(--accent) 52%, transparent)}.donation-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.donation-provider-card,.donation-choice-panel{gap:.9rem;display:grid}.donation-choice-panel{border-top:1px solid #ffffff14;border-bottom:1px solid #ffffff14;padding:1rem 0 1.1rem}.donation-choice-copy{max-width:640px}.donation-choice-controls{grid-template-columns:minmax(210px,.55fr) minmax(260px,1fr);align-items:center;gap:.8rem;display:grid}.donation-checkout-row,.donation-status-band{justify-content:space-between;align-items:center;gap:1rem;display:flex}.donation-checkout-row{padding-top:.15rem}.donation-checkout-row .profile-supporting-copy,.donation-status-band .profile-supporting-copy{margin-bottom:0}.donation-status-band{border-top:1px solid #ffffff14;padding:.85rem 0}.puzzle-player-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.puzzle-option-card,.puzzle-player-card{text-align:left;color:var(--text);cursor:pointer;gap:.65rem;min-width:0;display:grid}.puzzle-option-card strong,.puzzle-player-card strong{overflow-wrap:anywhere;align-items:center;gap:.35rem;min-width:0;font-family:Space Grotesk,IBM Plex Sans,sans-serif;font-size:1.05rem;line-height:1.15;display:inline-flex}.puzzle-option-card p,.puzzle-player-card p{color:var(--muted);margin:0}.puzzle-option-card.selected,.puzzle-player-card.selected{background:linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, transparent), color-mix(in srgb, var(--accent) 9%, transparent));border-color:color-mix(in srgb, var(--accent) 54%, transparent)}.puzzle-option-card.locked,.puzzle-player-card.locked{opacity:.72}.puzzle-option-tier{color:#f1d49a;border:1px solid #e8bf7c59;border-radius:999px;width:fit-content;padding:.18rem .45rem;font-size:.75rem;font-weight:700}.subscription-gate-card{border:1px solid var(--border-strong);background:linear-gradient(180deg, #ffffff09, transparent 58%), var(--panel-strong,#0d181cf7);width:min(560px,100%);color:var(--text);border-radius:8px;gap:1rem;padding:1.35rem;display:grid;box-shadow:0 24px 60px #00000057}.course-subscription-overlay{z-index:30;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#03070ec2;place-items:center;padding:1.2rem;display:grid;position:fixed;inset:0}.subscription-gate-card h3,.subscription-benefit-list{margin:0}.subscription-benefit-list{color:var(--muted);padding-left:1.1rem}.subscription-gate-actions{flex-wrap:wrap;align-items:stretch;gap:.75rem;display:flex}.stripe-subscription-button{max-width:100%;display:flex}.stripe-subscription-button stripe-buy-button{max-width:100%;display:block}.subscription-gate-secondary-button{color:#fff;cursor:pointer;background:#4c1cce;border:1px solid #4c1cce;border-radius:4px;align-self:center;height:51.59px;padding:0 1rem;font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:1}.subscription-gate-secondary-button:hover,.subscription-gate-secondary-button:focus-visible{background:#3f17ad;border-color:#3f17ad;outline:none}.subscription-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:1rem;display:grid}.courses-page-shell{gap:1.25rem;display:grid}.course-catalog-hero{max-width:860px}.course-catalog-hero-copy{gap:.45rem;display:grid}.course-catalog-hero-copy h2,.course-catalog-hero-copy p{margin:0}.course-catalog-sections{gap:1.5rem;display:grid}.course-catalog-section{gap:.85rem;display:grid}.course-catalog-section-header{gap:.28rem;max-width:820px;display:grid}.course-catalog-section-header h3,.course-catalog-section-header p{margin:0}.course-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:1rem;display:grid}.course-card-grid.course-card-grid-track{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.course-card{border:1px solid var(--border);background:#ffffff09;border-radius:8px;gap:.85rem;height:100%;padding:1rem;display:grid}.course-card>.course-action-row{align-self:end;margin-top:auto}.course-card.locked{border-color:#f2c08459}.course-card-header{justify-content:space-between;align-items:start;gap:1rem;display:flex}.course-card-header h3,.course-side-panel h2{margin:0}.course-module-list,.course-boss-actions{gap:.65rem;display:grid}.course-upcoming-card h4,.course-upcoming-card p{margin:0}.course-upcoming-card{background:#ffffff06;border:1px solid #f2c08447;border-radius:8px;align-content:start;gap:.45rem;min-height:0;padding:.85rem;display:grid}.course-track-card{height:100%;min-height:11.5rem}.course-upcoming-card-header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.course-upcoming-card h4{font-size:.98rem;line-height:1.22}.course-module-row{background:#ffffff07;border:1px solid #ffffff14;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:.75rem;padding:.7rem;display:grid}.course-module-row p{margin:.18rem 0 0}.course-module-index,.course-module-count{min-width:1.85rem;min-height:1.85rem;color:var(--text);background:#4c1cce38;border-radius:6px;place-items:center;font-size:.78rem;font-weight:700;display:inline-grid}.course-module-count{padding:0 .45rem}.course-teaching-panel{background:#ffffff13;border:1px solid #beacff61;border-radius:8px;grid-template-rows:auto minmax(0,1fr);justify-self:center;gap:.65rem;width:min(100%,clamp(520px,50vw,660px));height:clamp(13.5rem,27vh,19rem);padding:.85rem;display:grid;box-shadow:0 14px 34px #00000029}.course-teaching-header{gap:.18rem;display:grid}.course-teaching-header h3{color:var(--text);margin:0;font-size:1.02rem;line-height:1.18}.course-teaching-scroll{scrollbar-width:none;-ms-overflow-style:none;min-height:0;color:var(--text-muted);gap:.65rem;padding-right:.25rem;font-size:.9rem;line-height:1.45;display:grid;overflow-y:auto}.course-teaching-scroll::-webkit-scrollbar{width:0;height:0}.course-teaching-lead,.course-teaching-section p,.course-teaching-callout p{margin:0}.course-teaching-lead{color:var(--text);font-weight:650}.course-teaching-callout{background:#ffffff12;border:1px solid #ffffff14;border-radius:8px;gap:.22rem;padding:.65rem;display:grid}.course-teaching-callout.practice{border-color:#60c99d57}.course-teaching-callout.feedback{border-color:#f2c0845c}.course-teaching-callout.hint,.course-teaching-callout.answer{border-color:#8fb0c957}.course-teaching-callout span,.course-teaching-callout small{color:var(--muted);font-size:.76rem;font-weight:700}.course-teaching-section{gap:.32rem;display:grid}.course-teaching-section h4{color:var(--text);margin:0;font-size:.88rem}.course-teaching-section ul{margin:0;padding-left:1.1rem}.course-teaching-section li+li{margin-top:.22rem}.course-progress-sectioned{gap:.45rem;display:grid}.course-progress-window{grid-template-columns:minmax(0,1fr);align-items:start;gap:.45rem;display:grid}.course-progress-window.has-controls{grid-template-columns:2rem minmax(0,1fr) 2rem}.course-progress-window-body{gap:.45rem;min-width:0;display:grid}.course-progress-window-button{border:1px solid var(--border);width:2rem;min-height:2rem;color:var(--text);background:#ffffff0e;border-radius:6px;place-items:center;padding:0;font-size:.9rem;font-weight:800;line-height:1;display:inline-grid}.course-progress-window-button:disabled{opacity:.35;cursor:not-allowed}.course-progress-window-button:not(:disabled):hover{border-color:var(--border-strong);background:#7dd3c71f}.course-progress-track{gap:.35rem;height:.62rem;display:flex}.course-progress-segment{background:#ffffff1f;border:1px solid #ffffff14;border-radius:999px;flex-basis:0;min-width:2.25rem;position:relative;overflow:hidden}.course-progress-segment-fill{border-radius:inherit;background:#4c1cce;height:100%;display:block}.course-progress-segment.easy .course-progress-segment-fill{background:#55b983}.course-progress-segment.medium .course-progress-segment-fill{background:#f2c084}.course-progress-segment.hard .course-progress-segment-fill{background:#d74343}.course-progress-segment.module .course-progress-segment-fill,.course-progress-segment.summary .course-progress-segment-fill{background:linear-gradient(90deg,#4c1cce,#7b61ff)}.course-progress-summary-label{color:var(--text-muted);font-size:.78rem;line-height:1.25}.course-progress-labels{color:var(--text-muted);gap:.45rem .75rem;font-size:.78rem;line-height:1.25;display:flex}.course-progress-label{text-align:center;flex-basis:0;gap:.12rem;min-width:0;display:grid;overflow:hidden}.course-progress-label strong{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.course-progress-label span{white-space:nowrap}.course-progress-label.compact{align-self:start;gap:.05rem;font-size:.72rem;line-height:1.15;display:grid}.course-progress-label.compact strong{font-size:.7rem}.course-progress-label.compact span{color:var(--text);font-weight:700}.course-play-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:1.25rem;display:grid}.course-board-column{gap:.9rem;width:100%;min-width:0;display:grid}.course-play-header{justify-content:space-between;align-items:start;gap:1rem;display:flex}.course-play-header h2{margin:0}.course-play-header .profile-supporting-copy{margin:.25rem 0 0}.course-board-frame{justify-self:center;width:min(100%,clamp(520px,50vw,660px));padding:.65rem;position:relative}.course-board-host{aspect-ratio:1;width:100%;min-width:0;max-width:100%}.course-board-host-inner{width:100%;height:100%}.course-player-color-bar{min-height:2.45rem;color:var(--text);text-transform:uppercase;background:#121418c7;border:1px solid #ffffff24;border-radius:8px;justify-content:center;align-items:center;margin-top:.55rem;padding:.55rem .8rem;font-size:.82rem;font-weight:800;line-height:1;display:flex}.course-player-color-bar.black{background:#121418eb}.course-player-color-bar.white{color:#15181d;background:#f5f1e7e6}.course-board-overlay{z-index:5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#121418db;border:1px solid #ffffff29;border-radius:8px;gap:.45rem;max-width:min(26rem,100% - 2.2rem);padding:.75rem .85rem;display:grid;position:absolute;bottom:1.1rem;right:1.1rem;box-shadow:0 16px 40px #00000047}.course-board-frame.has-player-color-bar .course-board-overlay{bottom:4.2rem}.course-module-intro-overlay{z-index:7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#121418eb;border:1px solid #8fb0c94d;border-radius:8px;gap:.75rem;width:min(30rem,100% - 2rem);padding:1rem;display:grid;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 18px 48px #00000057}.course-module-intro-overlay h3,.course-module-intro-overlay p{margin:0}.course-module-intro-overlay h3{font-size:1.2rem}.course-module-intro-overlay p{color:var(--text-muted);line-height:1.45}.course-module-intro-progress{gap:.35rem;display:flex}.course-module-intro-progress span{background:#ffffff2e;border-radius:999px;width:1.6rem;height:.32rem}.course-module-intro-progress span.active{background:#9ae6b4}.course-completion-overlay{z-index:6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#121418e6;border:1px solid #55b98359;border-radius:8px;gap:.75rem;width:min(31rem,100% - 2rem);padding:1rem;display:grid;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 18px 48px #00000057}.course-completion-overlay h3,.course-completion-overlay p{margin:0}.course-completion-overlay h3{font-size:1.25rem}.course-completion-overlay p{color:var(--text-muted);line-height:1.45}.course-style-probability-panel{background:#55b98312;border:1px solid #55b98333;border-radius:8px;gap:.55rem;padding:.75rem;display:grid}.course-style-probability-bars{gap:.5rem;display:grid}.course-style-probability-row{gap:.25rem;display:grid}.course-style-probability-label{color:var(--text);justify-content:space-between;gap:.75rem;font-size:.82rem;line-height:1.2;display:flex}.course-style-probability-label span{overflow-wrap:anywhere;min-width:0}.course-style-probability-label strong{color:#9ae6b4;white-space:nowrap;font-size:.8rem}.course-style-probability-track{background:#ffffff1f;border-radius:999px;height:.48rem;overflow:hidden}.course-style-probability-fill{border-radius:inherit;background:linear-gradient(90deg,#3ca76b,#9ae6b4);height:100%;display:block}.course-complete-panel{gap:.8rem;display:grid}.course-line-panel{border:1px solid var(--border);background:#ffffff09;border-radius:8px;gap:.8rem;padding:1rem;display:grid}.course-action-row,.course-line-header,.course-line-tabs{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.course-action-row{border-radius:8px;align-items:stretch;gap:0;width:fit-content;max-width:100%;overflow:hidden}.course-action-row .nav-button{text-align:center;white-space:normal;overflow-wrap:anywhere;border-radius:0;justify-content:center;align-items:center;min-width:0;min-height:2.65rem;padding:.62rem clamp(.58rem,1.4vw,.9rem);line-height:1.12;display:inline-flex}.course-action-row .nav-button+.nav-button{margin-left:-1px}.course-action-row .nav-button:first-child{border-top-left-radius:8px;border-bottom-left-radius:8px}.course-action-row .nav-button:last-child{border-top-right-radius:8px;border-bottom-right-radius:8px}.course-action-row .nav-button:hover{z-index:1;position:relative;transform:none}.course-board-actions-slot{align-items:flex-start;min-height:3.1rem;display:flex}.course-board-actions{margin-top:.45rem}.course-line-header{justify-content:space-between}.course-feedback,.course-answer,.course-hint{color:var(--text);margin:0}.course-answer{color:#f2c084}.course-hint{color:var(--text)}.subscription-plan-card{border:1px solid var(--border);background:linear-gradient(#ffffff09,#0000 58%),#fff8ef06;border-radius:18px;align-content:start;gap:.95rem;min-width:0;padding:1.25rem;display:grid}.subscription-plan-card.premium{background:linear-gradient(#8fb0c91a,#0000 62%),#fff8ef08}.subscription-plan-card.current{border-color:#8fb0c9ad;box-shadow:0 18px 42px #8fb0c91f}.subscription-plan-header{justify-content:space-between;align-items:flex-start;gap:.85rem;display:flex}.subscription-plan-header h3{margin:.15rem 0 0;font-family:Space Grotesk,IBM Plex Sans,sans-serif;font-size:1.45rem}.subscription-plan-badge{color:var(--text);white-space:nowrap;background:#8fb0c924;border:1px solid #8fb0c98c;border-radius:999px;padding:.28rem .55rem;font-size:.78rem}.puzzle-player-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.75rem;min-width:0;display:flex}.puzzle-player-header span{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;flex:none;font-size:.82rem}.puzzle-accuracy-card{min-width:0;padding:.8rem .9rem}.puzzle-accuracy-card strong{margin-top:.25rem;font-family:Space Grotesk,IBM Plex Sans,sans-serif;font-size:1.02rem;display:block}.puzzle-coach-bubble{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:linear-gradient(#ffffff05,#0000 55%),#08121cdb;border-radius:18px;align-content:center;gap:.35rem;width:100%;max-width:none;height:100%;min-height:0;padding:.9rem 1.1rem;display:grid;overflow:hidden}.puzzle-coach-bubble p{color:var(--text);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;line-height:1.35;display:-webkit-box;overflow:hidden}.puzzle-review-prompt{z-index:8;width:min(100%,clamp(560px,54vw,700px));box-shadow:none;background:0 0;border:0;margin:.35rem auto 0;padding:0;position:relative}.puzzle-review-actions{justify-content:flex-end;gap:.65rem;display:flex}.puzzle-review-panel{z-index:8;background:linear-gradient(#ffffff06,#0000 55%),#0a121ef2;border:1px solid #8db8ff33;border-radius:18px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label actions""title actions""copy actions";align-items:center;gap:.18rem 1rem;width:100%;height:100%;min-height:0;padding:.9rem 1.1rem;display:grid;position:relative;overflow:hidden;box-shadow:0 22px 50px #00000052}.puzzle-review-panel .eyebrow{grid-area:label}.puzzle-review-panel strong,.puzzle-review-panel p{margin:0}.puzzle-review-panel strong{grid-area:title}.puzzle-review-panel p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;grid-area:copy;font-size:.9rem;line-height:1.25;display:-webkit-box;overflow:hidden}.puzzle-review-commentary{color:var(--muted);font-size:.92rem;line-height:1.4}.puzzle-review-panel-actions{flex-wrap:wrap;grid-area:actions;justify-content:flex-end;gap:.65rem;display:flex}.puzzle-review-actions .nav-button{justify-content:center;align-items:center;display:inline-flex}.puzzle-review-actions .nav-button svg{color:#fff;width:18px;height:18px}.puzzle-overlay{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:4;background:#03070ec2;place-items:center;padding:1.2rem;display:grid;position:absolute;inset:0}.puzzle-subscription-overlay{z-index:14}.puzzle-overlay-card{gap:1rem;width:min(760px,100%);max-height:calc(100% - .5rem);display:grid;overflow:auto;box-shadow:0 24px 60px #00000057}.puzzle-setup-card{grid-template-rows:auto auto auto minmax(0,1fr) auto;overflow:hidden}.puzzle-setup-scroll{scrollbar-color:#9eb4d36b #ffffff0a;scrollbar-width:thin;min-height:0;padding-right:.2rem;overflow-y:auto}.puzzle-overlay-card h3{margin:0}.puzzle-overlay-actions,.puzzle-terminal-actions{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.puzzle-terminal-actions{flex-wrap:wrap}.puzzle-next-button{margin-left:auto}.puzzle-next-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.donation-history-table{gap:0;display:grid}.donation-history-header,.donation-history-row{grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:.8rem;display:grid}.donation-history-header{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;padding:.65rem 0;font-size:.76rem;font-weight:700}.donation-history-row{border-top:1px solid #8fb0c929;padding:.8rem 0}.donation-history-cell{min-width:0;color:var(--muted)}.donation-history-amount{color:var(--text);font-weight:700}.donation-history-total{color:var(--muted);margin:0}.donation-history-card{gap:.75rem;padding-top:.1rem;display:grid}.profile-history-table{gap:.7rem;display:grid}.profile-history-header,.profile-history-row{grid-template-columns:minmax(0,1.35fr) minmax(0,1.35fr) repeat(5,minmax(0,.8fr)) auto;gap:.8rem;display:grid;position:relative}.profile-history-header{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-top:.55rem;padding:0 1rem;font-size:.76rem;font-weight:700}.profile-history-cell{min-width:0}.profile-history-cell-player{text-align:left;justify-self:start}.profile-history-cell-center{text-align:center;justify-self:center}.profile-history-cell-end{text-align:right;justify-self:end}.profile-history-row{border:1px solid var(--border);background:#ffffff05;border-radius:16px;align-items:center;padding:.9rem 1rem;font-size:.94rem}.profile-history-player,.profile-history-row>.profile-history-cell:not(.profile-history-player){color:var(--muted)}.profile-history-player{align-self:center}.profile-history-player strong{color:var(--text)}.profile-history-preview{justify-content:flex-end;align-items:center;display:flex;position:relative}.profile-history-preview-indicator{border:1px solid color-mix(in srgb, var(--accent) 50%, transparent);background:color-mix(in srgb, var(--accent) 18%, transparent);border-radius:999px;width:.72rem;height:.72rem}.profile-history-preview-popover{border:1px solid var(--border-strong);opacity:0;pointer-events:none;z-index:12;background:#12181ff7;border-radius:16px;width:min(220px,60vw);padding:.5rem;transition:opacity .18s,transform .18s;position:absolute;top:calc(100% + .5rem);right:0;transform:translateY(4px);box-shadow:0 18px 32px #00000047}@media (hover:hover) and (pointer:fine) and (width>=901px){.profile-history-row:hover .profile-history-preview-popover{opacity:1;transform:translateY(0)}.profile-history-row:hover .profile-history-preview-indicator{border-color:color-mix(in srgb, var(--accent) 80%, transparent);background:color-mix(in srgb, var(--accent) 40%, transparent)}}.empty-inline{opacity:.75}.leaderboard-card,.profile-card,.about-card,.footer-card{padding:1.75rem}.leaderboard-card table{border-collapse:collapse;width:100%}.leaderboard-card th,.leaderboard-card td{text-align:left;border-bottom:1px solid #ffffff0d;padding:1rem .75rem}.leaderboard-card th{color:var(--text);text-transform:uppercase;letter-spacing:.14em;font-size:.82rem}.leaderboard-card tbody tr:hover{background:color-mix(in srgb, var(--accent) 7%, transparent)}.filter-row{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.filter-row input{border:1px solid var(--border);color:var(--text);background:#fff8ef08;border-radius:18px;padding:.9rem 1rem}.filter-row input::placeholder{color:#c7baa5a6}.leaderboard-page{gap:1.25rem;width:min(1100px,100%);display:grid}.leaderboard-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.leaderboard-header h1{margin:.15rem 0 .45rem;font-size:clamp(2rem,6vw,3.4rem);line-height:.95}.leaderboard-header p{max-width:720px;color:var(--muted);margin:0}.leaderboard-mode-toggle{border:1px solid var(--border);background:#fff8ef09;border-radius:999px;min-width:max-content;padding:.18rem;display:inline-flex}.leaderboard-mode-button{min-height:2.35rem;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:.45rem .85rem;font-size:.9rem;font-weight:800}.leaderboard-mode-button.active{background:color-mix(in srgb, var(--accent) 20%, transparent);color:var(--text)}.leaderboard-table-shell{border:1px solid var(--border);border-radius:14px;overflow-x:auto}.leaderboard-mobile-sort,.leaderboard-mobile-list{display:none}.leaderboard-table{border-collapse:separate;border-spacing:0;width:100%;min-width:760px}.leaderboard-table-drills{min-width:1320px}.leaderboard-table th,.leaderboard-table td{text-align:left;border-bottom:1px solid #ffffff0f;padding:.95rem .85rem}.leaderboard-table th{color:var(--muted);text-transform:uppercase;font-size:.78rem}.leaderboard-sort-header{min-height:2.2rem;color:inherit;font:inherit;text-transform:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:.35rem;padding:0;display:inline-flex}.leaderboard-sort-header span:last-child{color:#c7baa585;font-size:.9rem}.leaderboard-sort-header.active{color:var(--text)}.leaderboard-sort-header.active span:last-child{color:var(--accent)}.leaderboard-active-metric{color:var(--text);font-weight:750}.leaderboard-table tbody tr:last-child td{border-bottom:0}.leaderboard-table tbody tr:hover{background:color-mix(in srgb, var(--accent) 7%, transparent)}.leaderboard-row-first{box-shadow:inset 0 0 0 2px #ecc459f2}.leaderboard-row-second{box-shadow:inset 0 0 0 2px #c0c6ccf2}.leaderboard-row-third{box-shadow:inset 0 0 0 2px #be7e46f2}.leaderboard-rank{border:1px solid var(--border);background:#fff8ef0f;border-radius:999px;justify-content:center;align-items:center;width:2.4rem;height:2.4rem;font-weight:750;display:inline-flex}.leaderboard-player{gap:.18rem;display:grid}.leaderboard-player span,.leaderboard-error{color:var(--muted)}.leaderboard-mobile-sort-button{border:1px solid var(--border);min-height:2.35rem;color:var(--text);cursor:pointer;background:#fff8ef08;border-radius:999px;padding:.46rem .7rem;font-size:.88rem;font-weight:700}.leaderboard-mobile-sort-button.active{border-color:color-mix(in srgb, var(--accent) 58%, transparent);background:color-mix(in srgb, var(--accent) 18%, transparent)}.leaderboard-mobile-card{background:0 0;border-bottom:1px solid #ffffff12;gap:.75rem;min-width:0;padding:.82rem 0;display:grid}.leaderboard-mobile-card:last-of-type{border-bottom:0}.leaderboard-mobile-card-head{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;min-width:0;display:grid}.leaderboard-mobile-primary{text-align:right;justify-items:end;gap:.05rem;display:grid}.leaderboard-mobile-primary span,.leaderboard-mobile-metric span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:750}.leaderboard-mobile-primary strong{font-size:1.18rem}.leaderboard-mobile-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;display:grid}.leaderboard-mobile-metric{border:1px solid color-mix(in srgb, var(--accent) 16%, transparent);background:#fff8ef06;border-radius:8px;gap:.08rem;min-width:0;padding:.48rem .55rem;display:grid}.leaderboard-empty{color:var(--muted);text-align:center;padding:1.4rem 0}.leaderboard-pagination{flex-wrap:wrap;justify-content:center;gap:.45rem;display:flex}.leaderboard-page-button{border:1px solid var(--border);min-width:2.35rem;min-height:2.35rem;color:var(--text);font:inherit;cursor:pointer;background:#fff8ef0a;border-radius:999px;font-weight:700}.leaderboard-page-button.active{border-color:color-mix(in srgb, var(--accent) 70%, white);background:color-mix(in srgb, var(--accent) 18%, transparent)}.leaderboard-page-button:disabled{cursor:not-allowed;opacity:.35}@media (width<=720px){.leaderboard-page{gap:1rem}.leaderboard-header{display:grid}.leaderboard-header h1{font-size:2.35rem;line-height:1}.leaderboard-mode-toggle{justify-self:start}.leaderboard-table-shell{display:none}.leaderboard-mobile-sort{flex-wrap:wrap;gap:.45rem;display:flex}.leaderboard-mobile-list{gap:.62rem;display:grid}}@media (width<=390px){.leaderboard-mobile-card-head{grid-template-columns:auto minmax(0,1fr)}.leaderboard-mobile-primary{text-align:left;grid-column:1/-1;justify-items:start}}.empty-state{border:1px solid var(--border);text-align:center;background:#fff8ef08;border-radius:22px;padding:2.5rem 1.5rem}@keyframes driftIn{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.leaderboard-card,.profile-card,.about-card,.footer-card{animation:.55s both driftIn}@media (width<=1180px){.app-shell{max-width:1320px}.profile-layout{grid-template-columns:1fr}}@media (width<=1320px){.board-play-area{grid-template-columns:1fr}.board-frame,.board-surface,.board-host,.player-clock{width:100%;max-width:none}.move-history{min-height:0}.arena-page .board-primary-column{justify-items:center;width:100%;display:grid}.arena-page .arena-mobile-actions{grid-template-columns:repeat(4,minmax(3.25rem,1fr));gap:.6rem;width:min(100%,clamp(560px,54vw,700px));max-width:700px;padding:.6rem 0 0;display:grid}.arena-page .arena-mobile-actions.hidden,.arena-page .move-history .history-actions{display:none}.course-board-frame{width:min(100%,clamp(520px,58vw,660px));max-width:660px}.course-board-host{width:100%;min-width:0;max-width:100%}}@media (width>=1025px) and (width<=1320px){.board-page-shell>.sidebar-shell{z-index:30;position:relative}.arena-page .chessboard-wrapper{justify-items:center}.arena-page .board-frame,.arena-page .board-surface,.arena-page .board-host,.arena-page .player-clock,.arena-page .drunk-magnus-thought{width:min(100%,clamp(560px,54vw,700px));max-width:700px}.arena-page .move-history{justify-self:center;width:min(100%,clamp(560px,54vw,700px));max-width:700px}.arena-page .board-frame.setup-active .endgame-overlay.pregame-overlay{z-index:20;border-radius:0;min-height:100dvh;padding:1rem;position:fixed;inset:0}.arena-page .board-frame.setup-active .endgame-modal.pregame-modal.setup-modal.setup-step-opponent{height:min(100dvh - 2rem,42rem);max-height:calc(100dvh - 2rem)}.puzzles-page .puzzle-board-surface,.puzzles-page .puzzle-player-bar,.puzzles-page .puzzle-board-top-slot,.puzzles-page .puzzle-hint-row{width:min(100%,clamp(560px,54vw,700px))}.puzzles-page .puzzle-board-host{width:100%;min-width:0}}@media (width<=1180px){.app-shell{flex-direction:column;padding:1rem}.sidebar-shell{--sidebar-mobile-toggle-top:calc(env(safe-area-inset-top,0px) + 1rem);--sidebar-mobile-panel-top-padding:calc(env(safe-area-inset-top,0px) + .85rem);width:auto;position:static}.sidebar-shell.sidebar-shell-ios{--sidebar-mobile-toggle-top:calc(env(safe-area-inset-top,0px) + 2.75rem);--sidebar-mobile-panel-top-padding:calc(env(safe-area-inset-top,0px) + 3.55rem)}.sidebar-toggle{top:var(--sidebar-mobile-toggle-top);z-index:40;border:1px solid var(--border);width:54px;height:54px;color:var(--text);box-shadow:var(--shadow);background:#0b181bf0;border-radius:18px;justify-content:center;align-items:center;display:inline-flex;position:fixed;left:1rem}.sidebar-toggle svg{stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:24px;height:24px}.sidebar-shell.open .sidebar-toggle{left:calc(min(344px,100vw - 2rem) - 4.35rem)}.sidebar-backdrop.visible{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:30;background:#04090ab8;display:block;position:fixed;inset:0}.sidebar{width:min(344px,100vw - 2rem);height:100dvh;min-height:100dvh;padding:var(--sidebar-mobile-panel-top-padding) .75rem calc(env(safe-area-inset-bottom,0px) + .85rem) 0;opacity:1;pointer-events:none;z-index:35;border-left:0;align-items:stretch;transition:transform .24s;animation:none;display:flex;position:fixed;top:0;left:0;overflow-y:auto;transform:translate(calc(-100% - 1.5rem))}.sidebar-brand,.sidebar-arena-controls{display:grid}.sidebar-nav-button{justify-content:flex-start;min-height:0;padding:.78rem .9rem}.sidebar-nav-label{clip:auto;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.sidebar.visible{pointer-events:auto;transform:translate(0)}.sidebar-shell.open~.page-content{pointer-events:none;-webkit-user-select:none;user-select:none;transition:transform .24s;transform:translate(.5rem)}.chessboard-wrapper,.footer-card{padding:1.2rem}.page-content>.leaderboard-card,.page-content>.profile-card,.page-content>.about-card{width:100%;max-width:100%;padding:0}.page-content{width:100%;min-width:0;max-width:100%;padding-top:4.25rem}.chessboard-toolbar,.history-toolbar,.header-bar{flex-direction:column;align-items:stretch}.history-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.arena-lower-grid,.home-play-surface{grid-template-columns:1fr}.home-board-shell{width:min(100%,620px)}.profile-filters,.profile-field-row,.profile-hero-card,.profile-history-row,.profile-notification-row,.donation-hero,.subscription-plan-grid,.donation-history-row,.donation-history-header{grid-template-columns:1fr}.profile-tab-nav{gap:.55rem}.profile-tab-nav .nav-button{min-width:0;padding:.72rem .9rem}.profile-section-card,.profile-hero-card{border-radius:18px;padding:1rem}.puzzle-board-shell{gap:.85rem}.puzzle-stage-topline{grid-template-columns:1fr}.puzzle-meta-strip{min-height:4.6rem}.puzzle-board-host{width:100%}.puzzle-coach-bubble{border-radius:16px;padding:.55rem .65rem;font-size:.82rem}.puzzle-coach-bubble .eyebrow{letter-spacing:.14em;font-size:.62rem}.puzzle-coach-bubble p{margin-top:.12rem;font-size:.78rem;line-height:1.3}.puzzle-hint-row{margin:.22rem auto .42rem}.puzzle-board-top-slot{--puzzle-dialog-height:6.4rem;height:var(--puzzle-dialog-height);min-height:var(--puzzle-dialog-height);margin-bottom:.62rem;padding:0 .45rem}.puzzle-board-top-slot .puzzle-hint-row{margin:0}.puzzle-hint-button{min-height:2rem;padding:.42rem .62rem;font-size:.78rem}.puzzle-active-actions .nav-button{height:2.5rem;min-height:0;padding:.5rem clamp(.28rem,1.6vw,.62rem);font-size:.82rem}.daily-gm-active-actions .nav-button{padding-inline:clamp(.28rem,1.6vw,.55rem)}.puzzle-review-prompt{width:100%;margin-top:.55rem}.puzzle-review-panel{grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:"label actions""title actions""copy actions";align-items:center;row-gap:.18rem;margin-top:0;padding:.48rem .62rem}.puzzle-review-panel-actions{flex-direction:column;justify-content:center;align-items:stretch;gap:.28rem}.puzzle-review-panel-actions .nav-button{justify-content:center;width:6.4rem;min-height:1.55rem;padding:.22rem .44rem;font-size:.74rem}.puzzle-overlay{padding:.75rem}.puzzle-option-grid,.puzzle-player-grid,.daily-gm-player-grid,.donation-provider-grid,.donation-amount-grid,.donation-toggle-row,.donation-choice-controls{grid-template-columns:1fr}.donation-checkout-row,.donation-status-band{flex-direction:column;align-items:stretch}.donation-checkout-row .nav-button,.donation-status-band .nav-button{width:100%}.daily-gm-player-card{grid-template-columns:minmax(0,1fr)}.daily-gm-player-actions{grid-area:auto/1;justify-content:flex-start;width:min(100%,14rem)}.research-grid,.research-hero,.research-contributions,.research-metric-grid,.research-roadmap-item{grid-template-columns:1fr}.research-card,.research-header,.research-markdown,.research-panel,.research-paper-summary,.research-paper-access,.research-table-wrap,.research-figure,.research-figure-stack{min-width:0}.auth-actions,.header-actions{justify-items:stretch}.header-actions{width:100%}.header-actions .auth-actions.auth-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;width:100%;padding:.1rem 0}.header-actions .auth-actions.auth-panel>*{width:100%}.header-actions .auth-actions.auth-panel .header-status,.header-actions .auth-actions.auth-panel .nav-button{text-align:center;justify-content:center;align-items:center;max-width:none;min-height:3.25rem;display:flex}.header-actions .auth-actions.auth-panel .header-status{padding:.85rem .9rem}.auth-help{text-align:left;max-width:none}.board-status-grid{grid-template-columns:1fr}#chessBoard{min-width:240px}.board-host{min-width:0}.time-control-select-row{width:100%}.time-control-select-row select{width:100%;min-width:0}.player-clock{padding:.65rem .8rem}.player-clock-copy strong{font-size:1.05rem}.player-clock-value{font-size:1.2rem}.board-touch-grid{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none}.endgame-overlay{inset:0}.move-table-scroll{max-height:22rem}.arena-settings-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:30;background:#070b0e94;border:0;padding:0;display:block;position:fixed;inset:0}.board-settings-sheet{padding:.75rem;inset:0}.board-settings-sheet .arena-settings-sheet{width:100%}}@media (width<=820px){.auth-standalone-page{width:min(100%,640px);min-height:0}.app-shell.home-page-shell{padding-left:0;padding-right:0}.home-copy h2{font-size:2rem}.home-copy,.home-about-garrychess{text-align:left;width:min(100%,680px);padding-inline:1rem}.home-copy p:last-child{margin-inline:0}.home-about-garrychess{justify-self:center}.home-play-surface{width:100%;margin-inline:auto;position:static;left:auto}.home-board-panel,.home-board-shell,.home-actions,.home-player-bar{width:100%;max-width:100%}.home-actions{grid-template-columns:repeat(2,minmax(0,1fr)) repeat(2,4rem);gap:.45rem;padding:0}.home-actions.in-game{grid-template-columns:repeat(2,minmax(0,1fr)) repeat(2,4rem)}.home-actions.home-input-choice{grid-template-columns:repeat(2,minmax(0,1fr))}.home-actions .nav-button{border-radius:16px;height:100%;min-height:3.25rem;padding:.5rem .65rem;font-size:.92rem}.home-action-label-wide{display:none}.home-action-label-short{display:inline}.home-actions .home-icon-action{border-radius:14px;width:4rem;min-width:4rem;height:100%;min-height:3.25rem}.home-icon-action svg{width:1.1rem;height:1.1rem}.home-player-bar-value{letter-spacing:.06em;font-size:.62rem;font-weight:500}.home-live-arena .endgame-overlay:not(.pregame-overlay) .endgame-quip{display:none}}@media (width<=520px){.auth-page-shell{padding:max(.75rem, env(safe-area-inset-top,0px)) .75rem max(.75rem, env(safe-area-inset-bottom,0px))}.auth-standalone-page{width:100%}.auth-form-actions,.auth-wizard-actions{grid-template-columns:1fr;display:grid}.auth-form-actions .nav-button,.auth-wizard-actions .nav-button{width:100%}.app-auth-entry-button{top:max(.75rem, env(safe-area-inset-top,0px));right:max(.75rem, env(safe-area-inset-right,0px));max-width:calc(100vw - 5.25rem);min-height:2.5rem;padding-inline:.8rem;font-size:.82rem}}@media (width<=640px){.home-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-bot-tags{max-width:48%;display:flex}.home-bot-tags span:not(:first-child){display:none}.home-bot-tags span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.home-settings-sheet{width:100%;position:static}.home-share-sheet{grid-template-columns:3.75rem minmax(0,1fr);width:100%;position:static}.home-share-preview{width:3.75rem;height:3.75rem}.home-share-actions{grid-template-columns:minmax(0,1fr) 2.7rem}.puzzle-stage-topline{align-items:flex-start;gap:.75rem;display:flex}.puzzle-meta-strip,.puzzle-mobile-optional-copy{display:none}.puzzle-overlay-card{padding:1rem}.puzzle-overlay-actions,.puzzle-terminal-actions{grid-template-columns:1fr;display:grid}.puzzle-next-button{justify-self:stretch;margin-left:0}.research-card{gap:1.25rem}.research-panel{padding:1.1rem 0}.research-paper-summary{padding-left:.8rem}.community-page.about-card{overflow:visible}.community-play-view,.community-play-layout{max-width:100dvw}.community-board-frame{width:calc(100dvw - 8px);max-width:calc(100dvw - 8px);margin-left:calc(50% - 50dvw + 4px);position:relative;left:auto;overflow:visible}.community-board-frame .board-surface,.community-board-frame .board-host,.community-board-frame .board-host-inner,.community-player-strip,.community-board-actions-wrap{width:calc(100dvw - 8px);min-width:0;max-width:calc(100dvw - 8px)}.community-player-strip,.community-board-actions-wrap{border-left:0;border-right:0;border-radius:0}.research-subtitle,.research-panel p,.research-panel li,.research-figure figcaption,.research-footnote{overflow-wrap:anywhere;word-break:normal}.course-card-grid,.course-play-layout{grid-template-columns:1fr}.course-board-frame{width:calc(100vw - 2px);max-width:calc(100vw - 2px);margin-left:calc(1px - 50vw);padding:0;left:50%}.course-board-host,.course-board-host-inner{width:100%;max-width:100%}}@media (width<=1024px){.community-play-layout{grid-template-columns:1fr;justify-items:center}.community-board-frame,.community-board-frame .board-surface,.community-board-frame .board-host,.community-board-frame .board-host-inner,.community-board-actions-wrap,.community-player-strip,.community-play-side{width:min(100%,620px);max-width:620px}.community-play-header{flex-direction:column;align-items:stretch}.community-play-actions{justify-content:center}.community-game-result-panel{flex-direction:column;align-items:stretch}.community-game-result-actions{justify-content:stretch}.community-game-result-actions .nav-button{flex:5rem}.community-board-actions-wrap,.community-player-strip,.community-play-side{justify-self:center}.app-shell.board-page-shell{padding-left:0;padding-right:0}.puzzles-page,.puzzles-page .puzzle-page-shell,.puzzles-page .puzzle-board-shell,.puzzles-page .puzzle-board-stage{max-width:100dvw;overflow-x:clip}.puzzles-page .puzzle-board-stage{margin-right:calc(-1 * env(safe-area-inset-right,0px));margin-left:calc(-1 * env(safe-area-inset-left,0px))}.puzzles-page .puzzle-setup-flow-active .puzzle-board-stage{gap:0;min-height:calc(100dvh - 4.25rem)}.puzzles-page .puzzle-setup-flow-active .puzzle-stage-topline,.puzzles-page .puzzle-setup-flow-active .puzzle-board-top-slot,.puzzles-page .puzzle-setup-flow-active .puzzle-board-surface,.puzzles-page .puzzle-setup-flow-active .puzzle-player-bar,.puzzles-page .puzzle-setup-flow-active .puzzle-hint-row{display:none}.puzzles-page .puzzle-board-frame{width:100dvw;max-width:100dvw;padding:0;overflow:clip}.puzzles-page .puzzle-setup-flow-active .puzzle-board-frame{min-height:calc(100dvh - 4.25rem)}.puzzles-page .puzzle-board-surface,.puzzles-page .puzzle-board-top-slot,.puzzles-page .puzzle-board-host,.puzzles-page .puzzle-player-bar,.puzzles-page .puzzle-hint-row{width:100dvw;min-width:0;max-width:100dvw}.puzzles-page .puzzle-setup-flow-active .puzzle-overlay{padding:.75rem}.puzzles-page .puzzle-setup-flow-active .puzzle-setup-card{height:100%;max-height:100%}.arena-page{gap:0}.arena-page .arena-page-intro{text-align:left;width:min(100%,680px);padding:0 1rem 1rem}.arena-page .arena-page-intro h2{font-size:2rem}.arena-page .arena-page-intro p:last-child{margin-inline:0}.arena-page .header-bar,.arena-page .footer-card,.arena-page .move-history{display:none}.arena-page .arena-mobile-actions .history-icon-button{min-width:0}.arena-page .chessboard-wrapper{min-height:calc(100dvh - 4.25rem);box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}.arena-page .chessboard-wrapper.setup-flow-active{gap:0}.arena-page .chessboard-wrapper.setup-flow-active .arena-page-intro{display:none}.arena-page .chessboard-wrapper.setup-flow-active .board-play-area{min-height:calc(100dvh - 4.25rem)}.arena-page .board-play-area{grid-template-columns:1fr;gap:0;min-height:calc(100dvh - 4.25rem)}.arena-page .board-frame{--arena-mobile-board-width:100%;grid-template-rows:auto auto auto;align-content:start;width:100%;max-width:100%;min-height:auto;display:grid}.arena-page .board-surface{place-items:center;width:100%;max-width:none;min-height:0;padding:0;display:grid}.arena-page .board-host{width:var(--arena-mobile-board-width);min-width:0;max-width:100%}.arena-page .player-clock{width:var(--arena-mobile-board-width);border-radius:0;max-width:100%;margin:0 auto;padding-block:.56rem}.arena-page .drunk-magnus-thought{width:var(--arena-mobile-board-width);max-width:100%;top:3.9rem}.arena-page .arena-mobile-actions{width:100%;max-width:100%;padding:.6rem .75rem calc(env(safe-area-inset-bottom,0px) + .75rem)}.arena-page .drunk-magnus-thought-bottom{top:auto;bottom:3.9rem}.arena-page .drunk-magnus-thought span{max-width:86%;font-size:.88rem}.arena-page .board-frame.setup-active{grid-template-rows:minmax(0,1fr);min-height:calc(100dvh - 4.25rem)}.arena-page .board-frame.setup-active>.player-clock,.arena-page .board-frame.setup-active .board-host-inner,.arena-page .board-frame.setup-active .board-click-grid{display:none}.arena-page .board-frame.setup-active .board-surface,.arena-page .board-frame.setup-active .board-host{width:100%;height:100%;min-height:100%;padding:0}.arena-page .board-frame.setup-active .endgame-overlay.pregame-overlay{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;height:calc(100dvh - 4.25rem);min-height:0;padding:0 .75rem 1rem;position:static;inset:auto;overflow:hidden}.arena-page .board-frame.setup-active .endgame-modal.pregame-modal.setup-modal{width:100%;max-width:none;height:100%;min-height:0;max-height:none;box-shadow:none;background:0 0;border:0;border-radius:0;padding:1rem .75rem 1.25rem}.arena-page .board-frame.setup-active .endgame-modal.pregame-modal.setup-modal.setup-step-opponent{height:100%;min-height:auto;max-height:none}.arena-page .board-frame.setup-active .setup-option-grid{gap:.55rem}.arena-page .board-frame.setup-active .setup-option-button{border-radius:16px;padding:.78rem .82rem}.arena-page .board-frame.setup-active .setup-step-interaction .setup-choice-grid{gap:.55rem}.arena-page .board-frame.setup-active .setup-step-interaction .setup-option-button{gap:.2rem;min-height:0;padding:.72rem .78rem}.arena-page .board-frame.setup-active .setup-step-interaction .setup-option-button strong{font-size:.98rem}.arena-page .board-frame.setup-active .setup-step-interaction .setup-option-button span{font-size:.84rem;line-height:1.3}.arena-page .board-frame.setup-active .endgame-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;width:100%;display:grid}.arena-page .board-frame.setup-active .endgame-actions .nav-button{justify-content:center;width:100%;min-width:0}.arena-page .board-frame.setup-active .setup-content-scroll{height:100%;max-height:none;overflow-y:auto}.arena-page .board-frame.setup-active .setup-content-scroll-opponent{height:100%;max-height:none;padding-right:.15rem;overflow-y:auto}.arena-page .board-frame.setup-active .setup-content-scroll-mood,.arena-page .board-frame.setup-active .setup-content-scroll-opening{max-height:none}}@media (width<=640px){.community-play-layout{justify-items:stretch}.community-board-frame,.community-board-frame .board-surface,.community-board-frame .board-host,.community-board-frame .board-host-inner,.community-player-strip,.community-board-actions-wrap{width:calc(100dvw - 8px);max-width:calc(100dvw - 8px)}.community-play-side{width:100%;max-width:100%}.puzzles-page .puzzle-board-frame,.puzzles-page .puzzle-board-top-slot,.puzzles-page .puzzle-board-surface,.puzzles-page .puzzle-board-host,.puzzles-page .puzzle-player-bar,.puzzles-page .puzzle-hint-row{width:calc(100dvw - 8px);max-width:calc(100dvw - 8px)}.daily-gm-active-actions{gap:0}.daily-gm-active-actions .nav-button{height:2.5rem;min-height:0;padding:.5rem .35rem;font-size:.82rem}.daily-gm-active-actions .puzzle-share-action span{display:none}}@media (width>=641px) and (width<=1024px){.puzzles-page .puzzle-board-stage{margin-left:0;margin-right:0}.puzzles-page .puzzle-board-frame,.puzzles-page .puzzle-board-top-slot,.puzzles-page .puzzle-board-surface,.puzzles-page .puzzle-board-host,.puzzles-page .puzzle-player-bar,.puzzles-page .puzzle-hint-row{width:min(100%,clamp(560px,70vw,700px));max-width:700px}.puzzles-page .puzzle-board-frame{padding:0}.course-board-frame{width:min(100%,clamp(500px,68vw,620px));max-width:620px}}.drills-page{color:#f3eadc;width:min(1180px,100vw - 24px);max-width:100%;margin:0 auto;padding:28px 0 36px;overflow-x:hidden}.drills-setup-panel{background:linear-gradient(135deg,#7dd3c70e,#f2c08406 42%,#0000),#0c151feb;border:1px solid #7dd3c729;border-radius:8px;gap:22px;min-width:0;max-width:100%;margin-bottom:18px;padding:clamp(18px,2.2vw,26px);display:grid;box-shadow:inset 0 1px #fff8ef0d,0 18px 46px #00000038}.drills-setup-heading{border-bottom:1px solid #fff8ef17;gap:8px;padding-bottom:18px;display:grid}.drills-setup-heading h1{color:#fff;margin:0;font-family:Cormorant Garamond,Georgia,serif;font-size:clamp(1.95rem,3vw,2.7rem);line-height:.98}.drills-setup-heading p:not(.eyebrow){color:#f3eadcc2;max-width:920px;margin:0;font-size:.98rem;line-height:1.55}.drills-scenario-sections{gap:22px;min-width:0;display:grid}.drills-scenario-section{gap:12px;min-width:0;display:grid}.drills-scenario-section+.drills-scenario-section{border-top:1px solid #7dd3c738;padding-top:20px}.drills-scenario-section-heading{align-items:center;gap:12px;display:flex}.drills-scenario-section-heading h2{color:#fff;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:800}.drills-scenario-section-heading:after{content:"";background:#ffffff1a;flex:1;height:1px}.drills-scenario-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:12px;min-width:0;display:grid}.drills-scenario-button{color:#f3eadc;cursor:pointer;text-align:left;background:linear-gradient(#fff8ef0a,#fff8ef04),#060d1075;border:1px solid #7dd3c72e;border-radius:8px;grid-template-rows:auto auto 1fr;align-content:start;gap:8px;min-width:0;min-height:132px;padding:14px;transition:transform .18s,border-color .18s,background-color .18s,box-shadow .18s;display:grid;box-shadow:inset 0 1px #fff8ef09}.drills-scenario-button:hover{background:linear-gradient(#7dd3c716,#fff8ef05),#060d108a;border-color:#7dd3c76b;transform:translateY(-1px);box-shadow:inset 0 1px #fff8ef0e,0 10px 24px #00000029}.drills-scenario-button span,.drills-scenario-button small{color:#f3eadcad}.drills-scenario-button span{color:#7dd3c7d1;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:800}.drills-scenario-button strong{color:#fff;overflow-wrap:anywhere;font-size:1.04rem;line-height:1.2}.drills-scenario-button small{align-self:end;font-size:.84rem;line-height:1.4}.drills-scenario-button.active{background:linear-gradient(135deg,#7dd3c729,#f2c0840e),#060d1094;border-color:#7dd3c79e;box-shadow:inset 0 0 0 1px #7dd3c738,0 12px 28px #0000002e}.drills-metrics-row,.drills-review-move-row,.drills-action-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.drills-start-button{justify-self:end;min-width:180px}.drills-action-row{align-items:stretch}.drills-action-row .nav-button{flex:160px;justify-content:center}.drills-terminal-actions{grid-template-columns:repeat(auto-fit,minmax(84px,1fr));display:grid}.drills-terminal-actions .nav-button{flex:initial;min-width:0;min-height:40px;padding:.58rem .75rem;font-size:.9rem}.drills-board-actions .nav-button,.drills-start-button{color:#fff}.drills-board-actions .nav-button.active,.drills-start-button.active{background:#7dd3c729;border-color:#7dd3c794;box-shadow:inset 0 0 0 1px #7dd3c73d}.drills-secondary-button{color:#fff;background:#7dd3c714;border-color:#7dd3c747}.drills-workspace{grid-template-columns:minmax(360px,650px);justify-content:center;align-items:start;gap:18px;display:grid}.drills-board-frame{background:#12171ff5;border:1px solid #7dd3c73d;border-radius:8px;overflow:hidden}.drills-board-context,.drills-board-actions{color:#fff;background:#070a0eb8;gap:10px;padding:14px;display:grid}.drills-board-context{border-bottom:1px solid #7dd3c72e}.drills-board-context h2{margin:0;font-size:1.35rem}.drills-board-context p{color:#ffffffb8;margin:0;font-size:.9rem;line-height:1.35}.drills-dialogue-box{color:#fff;background:#7dd3c714;border:1px solid #7dd3c742;border-radius:8px;gap:5px;min-height:74px;margin-top:4px;padding:10px 12px;display:grid}.drills-dialogue-box span{color:#7dd3c7eb;letter-spacing:0;text-transform:uppercase;font-size:.72rem;font-weight:800}.drills-dialogue-box p{color:#ffffffdb}.drills-dialogue-box.tone-majorGain,.drills-dialogue-box.tone-minorGain{background:#7dd3c71a;border-color:#7dd3c76b}.drills-dialogue-box.tone-minorLoss,.drills-dialogue-box.tone-majorLoss{background:#f8717114;border-color:#f871715c}.drills-board-actions{border-top:1px solid #7dd3c72e}.drills-inline-status{color:#ffffffb8;justify-content:space-between;align-items:center;gap:12px;font-size:.9rem;display:flex}.drills-inline-status strong{color:#fff}.drills-board-with-eval{grid-template-columns:34px minmax(0,1fr);align-items:stretch;gap:10px;padding:10px;display:grid}.drills-board-frame .board-surface{width:100%;min-width:0}.drills-board-frame .board-host{aspect-ratio:1;width:100%;min-width:0;max-width:100%}.drills-board-frame .board-host-inner{width:100%;height:100%}.drills-result-overlay{z-index:4;color:#fff;text-align:center;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#070a0edb;border:1px solid #ffffff2e;border-radius:8px;gap:3px;width:min(72%,250px);padding:10px 12px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 14px 34px #0000003d}.drills-result-overlay span{color:#ffffffc2;letter-spacing:0;text-transform:uppercase;font-size:.68rem;font-weight:800;line-height:1}.drills-result-overlay strong{font-size:1rem;line-height:1.15}.drills-result-overlay p{color:#ffffffc7;margin:0;font-size:.8rem;line-height:1.25}.drills-result-overlay.success{background:linear-gradient(#14532de6,#070a0ee0);border-color:#4ade8080}.drills-result-overlay.failure{background:#070a0ec7;border-color:#f8717142;box-shadow:0 12px 28px #0003}.drills-result-overlay.failure strong{color:#fecaca}.board-surface.drills-result-flash-success .board-host-inner{animation:1.15s ease-out drill-result-success-flash}.board-surface.drills-result-flash-failure .board-host-inner{animation:1.15s ease-out drill-result-failure-flash}@keyframes drill-result-success-flash{0%,to{box-shadow:inset 0 0 #22c55e00}12%,58%{box-shadow:inset 0 0 0 4px #22c55eeb,0 0 0 3px #22c55e33}}@keyframes drill-result-failure-flash{0%,to{box-shadow:inset 0 0 #f8717100}12%,58%{box-shadow:inset 0 0 0 4px #f87171eb,0 0 0 3px #f8717133}}.drills-player-strip{color:#fff;background:#070a0eb8;align-items:center;gap:10px;min-height:48px;padding:10px 14px;display:flex}.drills-player-strip span{color:#ffffffad;font-size:.86rem}.drills-player-strip strong{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;max-width:min(34ch,42%);overflow:hidden}.drills-player-strip>span:first-child{flex:0 0 70px}.drills-player-meta{text-align:right;white-space:nowrap;flex:none;margin-left:auto}.drills-player-meta-with-elo{align-items:center;gap:10px;display:inline-flex}.drills-player-elo{color:#fff;white-space:nowrap;background:#0b1522b8;border:1px solid #7dd3c752;border-radius:999px;justify-content:center;align-items:center;gap:.38rem;min-height:2rem;padding:.34rem .62rem;font-size:1rem;font-weight:750;line-height:1;display:inline-flex}.drills-player-strip .drills-player-elo span{color:#fff;font-size:1rem}.drills-player-elo-icon{fill:none;stroke:#7dd3c7eb;stroke-width:1.85px;stroke-linecap:round;stroke-linejoin:round;width:1.02rem;height:1.02rem}.drills-player-state{text-align:left;white-space:nowrap;flex:none;min-width:0}.drills-player-state:empty{display:none}.drills-side-panel{border-radius:8px;gap:14px;padding:18px;display:grid}.drills-side-panel h2{margin:3px 0 6px;font-size:1.35rem}.drills-engine-summary{background:#fff8ef0b;border:1px solid #dcbe9124;border-radius:8px;gap:4px;padding:10px 12px;display:grid}.drills-engine-summary span{color:#f3eadca3;font-size:.82rem}.drills-engine-summary strong{color:#f3eadc}.drill-eval-bar{grid-template-rows:22px minmax(0,1fr) 22px;align-self:stretch;gap:5px;height:100%;min-height:100%;display:grid}.drill-eval-bar.pending{opacity:.72}.drill-eval-rail{background:#111318;border:1px solid #f3eadc52;border-radius:4px;height:100%;min-height:100%;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #00000061}.drill-eval-white{background:#f3eadc;position:absolute;left:0;right:0}.drill-eval-label{border:1px solid #f3eadc3d;border-radius:4px;place-items:center;font-size:.78rem;font-weight:800;display:grid}.board-orientation-white .drill-eval-label-top,.board-orientation-black .drill-eval-label-bottom{color:#f3eadc;background:#111318}.board-orientation-white .drill-eval-label-bottom,.board-orientation-black .drill-eval-label-top{color:#111318;background:#f3eadc}.drills-metrics-row span,.drills-source-card{background:#fff8ef0b;border:1px solid #dcbe9124;border-radius:8px}.drills-metrics-row span{color:#f3eadcc7;padding:8px 10px;font-size:.84rem}.drills-source-card{gap:5px;padding:12px;display:grid}.drills-source-card strong{text-transform:capitalize}.drills-source-card span{color:#f3eadcad;font-size:.84rem}.drills-review-panel{gap:9px;display:grid}.drills-review-lines{grid-template-rows:repeat(3,42px);gap:9px;display:grid}.drills-review-move-row button{color:#fff;cursor:pointer;background:#7dd3c714;border:1px solid #7dd3c747;border-radius:999px;padding:7px 10px}.drills-review-line{background:#7dd3c70f;border:1px solid #7dd3c72e;border-radius:8px;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:8px 10px;display:grid}.drills-review-line.placeholder{visibility:hidden}.drills-review-line span,.drill-review-square-label{color:#fff;place-items:center;font-weight:800;display:inline-grid}.drills-review-line span{border-radius:999px;width:24px;height:24px}.drill-square-renderer{width:100%;height:100%;position:relative}.drill-last-move-highlight{z-index:1;pointer-events:none;background:#facc151f;border-radius:3px;position:absolute;inset:2px;box-shadow:inset 0 0 0 2px #facc1561}.drill-move-quality-badge{z-index:4;color:#fff;pointer-events:none;border-radius:999px;place-items:center;width:22px;height:22px;font-size:.88rem;font-weight:900;line-height:1;display:inline-grid;position:absolute;top:0;right:0;transform:translate(50%,-50%);box-shadow:0 2px 8px #00000047}.drill-move-quality-badge.quality-best{background:#16a34a}.drill-move-quality-badge.quality-brilliant{background:#38bdf8;font-size:.72rem}.drill-move-quality-badge.quality-great{background:#2563eb}.drill-move-quality-badge.quality-mistake{background:#f59e0b}.drill-move-quality-badge.quality-blunder{background:#dc2626}.drill-review-square-label{z-index:3;pointer-events:none;border-radius:999px;width:22px;height:22px;position:absolute;bottom:5px;left:5px;box-shadow:0 2px 8px #00000038}.analysis-page{color:#f3eadc;width:min(1180px,100vw - 24px);max-width:100%;margin:0 auto;padding:28px 0 36px;overflow-x:hidden}.analysis-setup-panel{background:linear-gradient(135deg,#7dd3c70e,#f2c08406 42%,#0000),#0c151feb;border:1px solid #7dd3c729;border-radius:8px;gap:22px;padding:clamp(18px,2.2vw,26px);display:grid;box-shadow:inset 0 1px #fff8ef0d,0 18px 46px #00000038}.analysis-setup-heading{border-bottom:1px solid #fff8ef17;gap:8px;padding-bottom:18px;display:grid}.analysis-setup-heading h1{color:#fff;margin:0;font-family:Cormorant Garamond,Georgia,serif;font-size:clamp(1.95rem,3vw,2.7rem);line-height:.98}.analysis-mode-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;min-width:0;display:grid}.analysis-mode-button{color:#f3eadc;cursor:pointer;text-align:left;background:linear-gradient(#fff8ef0a,#fff8ef04),#060d107a;border:1px solid #7dd3c733;border-radius:8px;grid-template-rows:auto 1fr auto;align-content:start;gap:10px;min-width:0;min-height:138px;padding:15px;transition:transform .18s,border-color .18s,background-color .18s,box-shadow .18s;display:grid;box-shadow:inset 0 1px #fff8ef09}.analysis-mode-button:not(:disabled):hover{background:linear-gradient(#7dd3c717,#fff8ef05),#060d108f;border-color:#7dd3c775;transform:translateY(-1px);box-shadow:inset 0 1px #fff8ef0e,0 10px 24px #00000029}.analysis-mode-button.locked{cursor:not-allowed;opacity:.68}.analysis-mode-kicker{color:#7dd3c7db;letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:7px;font-size:.72rem;font-weight:800;display:inline-flex}.analysis-lock-icon{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:.92rem;height:.92rem}.analysis-mode-button strong{color:#fff;overflow-wrap:anywhere;font-size:1.08rem;line-height:1.22}.analysis-mode-button small{color:#f3eadcad;font-size:.84rem;line-height:1.4}.analysis-workspace{grid-template-columns:minmax(360px,650px);justify-content:center;align-items:start;gap:18px;display:grid}.analysis-board-frame{background:#12171ff5;border:1px solid #7dd3c73d;border-radius:8px;overflow:hidden}.analysis-board-context,.analysis-board-actions{color:#fff;background:#070a0eb8;gap:10px;padding:14px;display:grid}.analysis-board-context{border-bottom:1px solid #7dd3c72e}.analysis-context-heading{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.analysis-context-heading h2{min-width:0;margin:0;font-size:1.35rem}.analysis-context-heading span{color:#ffedd5db;white-space:nowrap;background:#f2c08414;border:1px solid #f2c0843d;border-radius:999px;flex:0 auto;padding:5px 9px;font-size:.78rem;font-weight:750}.analysis-board-with-eval{grid-template-columns:34px minmax(0,1fr);align-items:stretch;gap:10px;padding:10px;display:grid}.analysis-board-frame .board-surface{width:100%;min-width:0}.analysis-board-frame .board-host{aspect-ratio:1;width:100%;min-width:0;max-width:100%}.analysis-board-frame .board-host-inner{width:100%;height:100%}.analysis-board-actions{border-top:1px solid #7dd3c72e}.analysis-inline-status,.analysis-action-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.analysis-inline-status{color:#ffffffb8;justify-content:space-between;font-size:.9rem}.analysis-inline-status strong{color:#fff}.analysis-review-lines{grid-template-rows:repeat(3,42px);gap:9px;display:grid}.analysis-action-row{align-items:stretch}.analysis-action-row .nav-button{flex:120px;justify-content:center;min-height:40px;padding:.58rem .75rem}.analysis-secondary-button{color:#fff;background:#7dd3c714;border-color:#7dd3c747}@media (width<=920px){.drills-page,.analysis-page{width:min(100vw - 18px,720px);padding-top:12px}.drills-scenario-grid,.drills-workspace,.analysis-mode-grid,.analysis-workspace{grid-template-columns:1fr}.drills-player-strip{flex-wrap:wrap;gap:8px}.drills-player-strip>span:first-child{flex-basis:56px}.drills-player-meta{text-align:left;flex-basis:calc(100% - 64px);margin-left:64px}.drills-board-with-eval,.analysis-board-with-eval{grid-template-columns:28px minmax(0,1fr);gap:7px;padding:7px}.analysis-context-heading{flex-direction:column;align-items:flex-start}.analysis-context-heading span{white-space:normal}}
