@import"https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css";@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,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL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esbf9YZiIERiHjaNodDW6LgcirX/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{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;position:relative;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.17.0"}.katex .katex-mathml{border:0;-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.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;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.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{display:inline;line-height:0}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.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;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.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:.8333333333em}.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.1666666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.3333333333em}.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.6666666667em}.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.4566666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.1466666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.7142857143em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.8571428571em}.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.1428571429em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.2857142857em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.4285714286em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.7142857143em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.0571428571em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.4685714286em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.9628571429em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.5542857143em}.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:.5555555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.6666666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.7777777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.8888888889em}.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.1111111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.3333333333em}.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.3044444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.7644444444em}.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:.4166666667em}.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:.5833333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.6666666667em}.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:.8333333333em}.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.7283333333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.0733333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.4166666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.4861111111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.5555555556em}.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:.6944444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.8333333333em}.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.4402777778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.7277777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.2893518519em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.3472222222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.4050925926em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.462962963em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.5208333333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.6944444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.8333333333em}.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.2002314815em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.4398148148em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.2410800386em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.2892960463em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.337512054em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.3857280617em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.4339440694em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.4821600771em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.5785920926em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.6943105111em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.8331726133em}.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.1996142719em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.2009646302em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.2411575563em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.2813504823em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.3215434084em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.3617363344em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.4019292605em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.4823151125em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.578778135em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.6945337621em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.8336012862em}.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{display:inline-block;width:.12em}.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{display:inline-block;min-width:1px}.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;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex svg{fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.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{border:.04em solid;box-sizing:border-box}.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{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;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{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.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{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;color:#1f2933;background:#eceff3;font-family:Pretendard,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button{font:inherit}.app-shell{min-height:100vh;display:flex;flex-direction:column}.game-layout{min-height:0;flex:1;display:grid;grid-template-columns:220px minmax(0,1fr)}.game-layout.is-stage-layout{grid-template-columns:auto minmax(0,1fr)}.palette-panel{min-height:0;overflow-y:auto;padding:14px 12px;background:#f8fafc;border-right:1px solid #d7dde5}.palette-title{margin-bottom:12px;color:#243043;font-size:.95rem;font-weight:800}.palette-section{margin-bottom:18px}.palette-section-title{margin-bottom:8px;color:#64748b;font-size:.78rem;font-weight:800;text-transform:uppercase}.palette-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.palette-item{min-height:42px;padding:5px 6px;background:#fff;border:1px solid #d5dce6;border-radius:8px;box-shadow:0 3px 8px #1f293312;cursor:grab;touch-action:none}.palette-item:active{cursor:grabbing}.stage-panel{width:246px;min-height:0;overflow:hidden;padding:14px 10px;background:#f8fafc;border-right:1px solid #d7dde5;transition:width .18s ease}.stage-panel.is-collapsed{width:54px;padding:14px 8px}.stage-panel-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.stage-panel-title{color:#243043;font-size:.95rem;font-weight:900}.stage-collapse-button{display:grid;place-items:center;width:32px;height:32px;color:#475569;background:#fff;border:1px solid #d5dce6;border-radius:8px;cursor:pointer;font-size:.9rem;font-weight:900;line-height:1}.stage-collapse-button:hover{background:#eef2f7}.stage-list{display:grid;gap:7px;max-height:calc(100vh - 118px);overflow-y:auto;padding-right:2px}.stage-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;padding:7px 8px 7px 10px;color:#243043;background:#fff;border:1px solid #d5dce6;border-radius:8px;box-shadow:0 3px 8px #1f29330d;cursor:pointer;text-align:left}.stage-list-item:hover:not(:disabled){background:#f3f7fb;border-color:#b9c8da}.stage-list-item.is-active{border-color:#2f80ed;box-shadow:0 0 0 1px #2f80ed2e,0 5px 12px #1f293314}.stage-list-item:disabled{color:#98a2b3;background:#eef2f7;cursor:not-allowed}.stage-list-name{min-width:0;overflow:hidden;font-size:.88rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.stage-list-status{display:grid;place-items:center;min-width:34px}.stage-lock-icon{width:18px;height:18px;color:#94a3b8;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.stage-reward-term{display:grid;place-items:center;width:72px;overflow:hidden}.stage-reward-term .term{background:#fff;border-color:#d5dce6;box-shadow:0 2px 5px #1f29330f}.stage-reward-term .factor-button{background:transparent}.shape-bundle-preview{display:flex;align-items:center;justify-content:center;gap:5px}.shape-bundle-preview.is-small{gap:2px}.preview-shape{width:34px;height:34px;filter:drop-shadow(0 1px 1px rgba(31,41,51,.12))}.shape-bundle-preview.is-small .preview-shape{width:24px;height:24px}.palette-drag-preview{position:fixed;z-index:100;padding:9px 12px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;box-shadow:0 12px 28px #1f29332e;pointer-events:none;transform:translate(-50%,-50%)}.rule-panel{position:fixed;top:auto;right:16px;bottom:16px;z-index:30;display:grid;gap:10px;width:min(350px,calc(100vw - 252px));padding:16px 12px 12px;background:#fffffff0;border:1px solid rgba(203,213,225,.95);border-radius:10px;box-shadow:0 14px 32px #1f293324;pointer-events:none}.rule-panel-title{position:absolute;left:12px;top:-28px;height:28px;display:flex;align-items:center;padding:0 13px;color:#243043;background:#fffffff5;border:1px solid rgba(203,213,225,.95);border-bottom:0;border-radius:9px 9px 0 0;box-shadow:0 -7px 18px #1f293314;font-size:.84rem;font-weight:900;line-height:1}.rule-block{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px}.rule-number{display:grid;place-items:center;align-self:start;width:18px;height:18px;margin-top:4px;color:#475569;background:#f1f5f9;border:1px solid #d5dce6;border-radius:999px;font-size:.72rem;font-weight:800;line-height:1}.rule-panel-section{display:grid;justify-items:center;gap:1px}.rule-diagram-row{--rule-left-column: 120px;--rule-action-column: 56px;--rule-right-column: 120px;display:grid;grid-template-columns:var(--rule-left-column) var(--rule-action-column) var(--rule-right-column);align-items:center;justify-items:center;width:calc(var(--rule-left-column) + var(--rule-action-column) + var(--rule-right-column))}.rule-diagram-row-transform{--rule-left-column: 42px;--rule-action-column: 38px;--rule-right-column: 42px}.rule-diagram-row-merge{align-items:center}.rule-action{position:relative;display:grid;place-items:center;width:var(--rule-action-column);height:30px;color:#64748b}.rule-action-label{position:absolute;left:50%;top:-4px;min-height:12px;transform:translate(-50%,-100%);font-size:.64rem;font-weight:800;line-height:1;letter-spacing:0}.rule-diagram-row-transform .rule-action-label{top:3px}.rule-arrow-icon{width:28px;height:18px;color:#64748b;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.rule-shape-only{display:grid;place-items:center;width:42px;height:40px}.rule-panel-divider{height:1px;background:#d7dde5}.rule-merge-stack{position:relative;display:grid;justify-items:center;gap:4px;width:max-content}.rule-merge-lines{position:absolute;inset:0;z-index:1;pointer-events:none}.rule-flow-line{position:absolute;left:var(--rule-line-left);top:var(--rule-line-top);width:1px;height:var(--rule-line-height);opacity:.42;background-image:repeating-linear-gradient(to bottom,var(--rule-line-color, #e5484d) 0,var(--rule-line-color, #e5484d) 4px,transparent 4px,transparent 8px);background-size:100% 8px;transform:translate(-50%)}.rule-flow-line.is-flowing-down{animation:rule-flow-down .52s linear infinite}.rule-flow-line.is-flowing-up{animation:rule-flow-up .52s linear infinite}.rule-panel .term,.rule-panel .factor-button{cursor:default}.rule-panel .term{box-shadow:0 4px 10px #1f293314}.rule-panel .factor-button{background:transparent}.rule-color-ladder{display:flex;align-items:center;justify-content:center;padding-top:1px;pointer-events:auto}.rule-color-chain{position:relative;display:grid;align-items:center;justify-items:center;column-gap:2px;min-height:32px}.rule-color-selection{position:relative;grid-row:1;z-index:3;justify-self:stretch;align-self:center;height:30px;margin:0 -5px;background:#f1f5f9d9;border:1px solid #94a3b8;border-radius:999px;box-shadow:0 2px 6px #1f29331a;pointer-events:none}.rule-color-dot-button,.rule-color-arrow-button{position:relative;grid-row:1;display:grid;place-items:center;height:28px;padding:0;background:transparent;border:0;border-radius:999px;cursor:pointer}.rule-color-dot-button{width:18px}.rule-color-arrow-button{width:20px}.rule-color-dot-button:before,.rule-color-arrow-button:before{content:"";position:absolute;z-index:1;background:#f8fafc;border-radius:999px;opacity:0;pointer-events:none}.rule-color-dot-button:before{inset:4px 2px}.rule-color-arrow-button:before{top:2px;bottom:2px;left:50%;width:42px;transform:translate(-50%)}.rule-color-dot-button:hover:before,.rule-color-arrow-button:hover:before{opacity:1}.rule-color-dot-button:focus-visible,.rule-color-arrow-button:focus-visible{outline:2px solid #2f80ed;outline-offset:2px}.rule-color-dot{position:relative;z-index:5;width:11px;height:11px;background:var(--rule-color);border:1px solid rgba(31,41,51,.16);border-radius:999px;box-shadow:0 1px 2px #1f29331a;pointer-events:none}.rule-color-arrow-icon{position:relative;z-index:5;width:14px;height:12px;color:#64748b;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.top-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 24px;background:#fff;border-bottom:1px solid #d7dde5}.top-bar h1{margin:0;font-size:1.45rem;line-height:1.1;letter-spacing:0}.level-name{margin-top:4px;color:#64748b;font-size:.92rem}.top-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.display-toggle,.mode-toggle{display:inline-flex;align-items:center;padding:2px;background:#eef2f7;border:1px solid #cbd5e1;border-radius:8px}.display-button,.mode-button{min-width:68px;height:28px;padding:0 9px;color:#64748b;background:transparent;border:0;border-radius:6px;cursor:pointer;font-size:.78rem;font-weight:800;line-height:1}.display-button.is-active,.mode-button.is-active{color:#1f2933;background:#fff;box-shadow:0 1px 4px #1f29331f}.display-button:focus-visible,.mode-button:focus-visible{outline:2px solid #2f80ed;outline-offset:2px}.locale-toggle{display:inline-flex;align-items:center;padding:2px;background:#eef2f7;border:1px solid #cbd5e1;border-radius:8px}.locale-button{min-width:34px;height:28px;padding:0 8px;color:#64748b;background:transparent;border:0;border-radius:6px;cursor:pointer;font-size:.78rem;font-weight:800;line-height:1}.locale-button.is-active{color:#1f2933;background:#fff;box-shadow:0 1px 4px #1f29331f}.locale-button:focus-visible{outline:2px solid #2f80ed;outline-offset:2px}.clear-message{min-width:68px;color:#087443;font-weight:800;text-align:right}.text-button{min-height:38px;padding:0 14px;color:#243043;background:#f6f8fb;border:1px solid #cbd5e1;border-radius:8px;cursor:pointer}.text-button:hover:not(:disabled){background:#edf2f7}.text-button:disabled{color:#98a2b3;cursor:not-allowed}.board{position:relative;flex:1;min-height:620px;overflow:hidden;background:linear-gradient(rgba(36,48,67,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(36,48,67,.045) 1px,transparent 1px),#fbfaf7;background-size:32px 32px}.board.is-stage-board{height:100%;min-height:0;overflow:hidden}.stage-goal-banner{position:sticky;left:0;top:0;z-index:8;display:grid;gap:3px;width:max-content;max-width:min(760px,calc(100% - 32px));margin:18px auto 0;padding:4px 18px 10px;pointer-events:none;text-align:center}.stage-goal-stage{color:#64748b;font-size:.82rem;font-weight:900;letter-spacing:0}.stage-goal-text{color:#1f2933;font-size:clamp(1.8rem,4vw,3.1rem);font-weight:950;letter-spacing:0;line-height:1.04;text-shadow:0 2px 0 rgba(255,255,255,.9)}.stage-completion-overlay{position:absolute;inset:0;z-index:40;display:grid;place-items:center;width:100%;min-height:100%;padding:28px;background:#fbfaf79e;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.stage-completion-card{position:relative;z-index:2;display:grid;justify-items:center;gap:12px;min-width:min(360px,calc(100vw - 48px));padding:26px 28px 24px;background:#fffffff5;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 22px 54px #1f29332e;animation:completion-card-enter .42s cubic-bezier(.16,1,.3,1) both}.stage-completion-title{color:#1f2933;font-size:2.2rem;font-weight:950;line-height:1}.stage-completion-term{display:grid;place-items:center;min-height:76px}.stage-completion-subtitle{color:#64748b;font-size:.95rem;font-weight:800}.stage-next-button{min-height:40px;padding:0 18px;color:#fff;background:#243043;border:1px solid #1f2933;border-radius:8px;box-shadow:0 7px 16px #1f29332e;cursor:pointer;font-weight:900}.stage-next-button:hover{background:#111827}.stage-completion-burst{position:absolute;left:50%;top:50%;z-index:1;width:1px;height:1px;pointer-events:none}.stage-completion-particle{position:absolute;left:0;top:0;width:9px;height:9px;background:#f97316;border-radius:2px;opacity:0;transform:rotate(var(--particle-angle)) translate(0) rotate(calc(var(--particle-angle) * -1));animation:completion-particle .98s ease-out var(--particle-delay) both}.stage-completion-particle:nth-child(3n){background:#2f80ed}.stage-completion-particle:nth-child(3n+1){background:#22a06b}.stage-completion-particle:nth-child(4n){width:12px;height:5px}.sticky-group{position:absolute;display:flex;flex-direction:column;gap:8px;width:max-content;touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;z-index:1}.sticky-group.is-stuck{cursor:default;isolation:isolate}.sticky-group.is-stuck:before{content:"";position:absolute;inset:-8px;z-index:0;background:#fff;border:1px solid #d5dce6;border-radius:8px;box-shadow:0 12px 24px #1f29331c;pointer-events:none}.sticky-group.is-math-display.is-stuck{padding-left:0;padding-right:0}.sticky-group.is-math-display.is-stuck:before{background:#fff;border-color:#d5dce6;box-shadow:0 12px 24px #1f29331a}.sticky-group.is-math-display.is-stuck .term{background:transparent;border-color:transparent;box-shadow:none}.sticky-group.is-splitting:before{inset:-8px auto auto -8px;width:calc(var(--group-full-width, 0px) + 16px);height:calc(var(--group-full-height, 0px) + 16px)}.sticky-group.is-merging:before{inset:-8px auto auto -8px;width:calc(100% + 16px);height:calc(100% + 16px);animation:group-card-merge-shrink .72s cubic-bezier(.45,0,.2,1) forwards}.sticky-group.is-splitting:before{animation:group-card-split-grow .56s cubic-bezier(.16,1,.3,1) both}.sticky-group.is-dragging{cursor:grabbing;z-index:10}.sticky-group.is-merging,.sticky-group.is-splitting{pointer-events:none;z-index:20}.sticky-group.is-math-display.is-merging:before{inset:-8px;width:auto;height:auto;transform-origin:top center;animation:math-card-gather .56s cubic-bezier(.45,0,.2,1) forwards}.sticky-group.is-math-display.is-splitting:before{inset:-8px;width:auto;height:auto;transform-origin:top center;animation:math-card-release .52s cubic-bezier(.16,1,.3,1) both}.sticky-group.is-math-display.is-merging .term,.sticky-group.is-math-display.is-splitting .term{transform-origin:left center;will-change:transform,opacity}.sticky-group.is-math-display.is-merging .term{--math-term-gather-opacity: 0;animation:math-term-gather .56s cubic-bezier(.45,0,.2,1) forwards}.sticky-group.is-math-display.is-merging .term[data-term-index="0"],.sticky-group.is-math-display.is-merging .term.has-math-group-suffix{--math-term-gather-opacity: .92}.sticky-group.is-math-display.is-merging .term.has-math-group-suffix>:not(.math-group-suffix){animation:math-inline-fade .18s ease-out forwards}.sticky-group.is-math-display.is-splitting .term{--math-term-release-y: var(--math-merge-y, 0px);--math-term-release-opacity: 0;animation:math-term-release .48s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--term-index, 0) * 28ms)}.sticky-group.is-math-display.is-splitting .term[data-term-index="0"]{--math-term-release-y: -3px;--math-term-release-opacity: .88;animation-duration:.42s;animation-delay:0ms}.sticky-group.is-snap-hidden{opacity:0;pointer-events:none}.sticky-group.is-snap-target{z-index:9}.snap-guide-bar{position:absolute;left:-10px;right:-10px;top:var(--snap-guide-top);z-index:6;height:4px;border-radius:999px;background:#22a06b85;box-shadow:0 0 0 1px #22a06b26;pointer-events:none;transform:translateY(-50%)}.sticky-group.is-merging .group-connection-line,.sticky-group.is-splitting .group-connection-line{opacity:.7}.group-actions{position:absolute;top:-34px;right:0;z-index:3;display:flex;justify-content:flex-end;gap:6px;min-height:28px;opacity:0;visibility:hidden;transform:translateY(-3px);transition:opacity .12s ease,transform .12s ease,visibility .12s ease}.sticky-group:hover .group-actions,.sticky-group:focus-within .group-actions{opacity:1;visibility:visible;transform:translateY(0)}.group-action-button{min-width:54px;height:28px;padding:0 10px;color:#243043;background:#fff;border:1px solid #b9c8da;border-radius:8px;box-shadow:0 3px 8px #1f29331a;cursor:pointer;font-size:.8rem;font-weight:700;line-height:1}.group-action-button:hover{background:#eef5ff;border-color:#8fb2dc}.group-action-button:focus-visible{outline:2px solid #2f80ed;outline-offset:2px}.group-connection-layer{position:absolute;left:0;top:0;z-index:1;overflow:visible;pointer-events:none}.group-connection-line{position:absolute;left:var(--to-left);top:var(--to-top);width:var(--to-length);height:1.35px;opacity:.48;background-image:repeating-linear-gradient(to right,var(--line-color) 0,var(--line-color) 6px,transparent 6px,transparent 11px);background-size:11px 100%;transform:translateY(-50%) rotate(var(--to-angle));transform-origin:0 50%}.group-connection-line.is-connection-moving{animation:connection-line-move .19s ease-out both}.group-connection-line.is-flowing-down{animation:connection-flow-down .52s linear infinite}.group-connection-line.is-flowing-up{animation:connection-flow-up .52s linear infinite}.group-connection-line.is-connection-moving.is-flowing-down{animation:connection-line-move .19s ease-out both,connection-flow-down .52s linear infinite}.group-connection-line.is-connection-moving.is-flowing-up{animation:connection-line-move .19s ease-out both,connection-flow-up .52s linear infinite}.group-connection-line.is-eating-line{left:calc(var(--vertical-left) - .675px);top:var(--vertical-top);width:1.35px;height:var(--vertical-height);background-image:repeating-linear-gradient(to bottom,var(--line-color) 0,var(--line-color) 5px,transparent 5px,transparent 10px);background-size:100% 10px;transform:none;transform-origin:50% 0;animation:connection-line-eat-vertical .42s cubic-bezier(.45,0,.2,1) forwards}.group-connection-line.is-spitting-line{left:calc(var(--vertical-left) - .675px);top:var(--vertical-top);width:1.35px;height:var(--vertical-height);background-image:repeating-linear-gradient(to bottom,var(--line-color) 0,var(--line-color) 5px,transparent 5px,transparent 10px);background-size:100% 10px;transform:none;transform-origin:50% 0;animation:connection-line-spit-vertical .52s cubic-bezier(.16,1,.3,1) both}.snap-slot{width:100%;height:calc(var(--term-cell-size, 44px) + 18px);border:1px dashed rgba(47,128,237,.36);border-radius:8px;background:#2f80ed0d;animation:snap-slot-open .16s ease-out}.term{position:relative;z-index:auto;display:flex;align-items:center;gap:var(--factor-gap, 8px);width:max-content;min-width:0;min-height:calc(var(--term-cell-size, 44px) + var(--term-padding-y-total, 18px));padding:var(--term-padding-y, 9px) var(--term-padding-x, 12px);background:#fff;border:1px solid #d5dce6;border-radius:8px;box-shadow:0 5px 14px #1f29331a;transition:transform .17s ease,opacity .17s ease,box-shadow .17s ease,min-height .16s ease}.term.is-selected{background:#fff;border-color:#9ab7df;box-shadow:0 5px 14px #1f29331a}.term.is-math-term{align-items:center;gap:2px;min-height:auto;padding:8px 12px;background:#fff;border-color:#d5dce6;border-radius:8px;box-shadow:0 5px 14px #1f293314;color:#1f2937;font-size:1.08rem;font-weight:400}.term.is-math-term.is-selected{background:#fff;border-color:#9ab7df;box-shadow:0 5px 14px #1f293317}.stage-reward-term .term.is-math-term{min-height:0;padding:4px 6px;font-size:.78rem}.stage-completion-term .term.is-math-term{font-size:1.18rem}.math-formula{display:inline-flex;align-items:center;line-height:1}.math-formula .katex{font-size:inherit;line-height:1}.math-term-sign{margin-right:2px;color:#64748b;font-size:.92em}.math-factor-slot{display:inline-flex;align-items:center;gap:2px}.math-dot{margin:0 2px;color:#64748b;font-size:.82em;transition:opacity 90ms ease}.term.is-math-term.is-reordering-term .math-dot{opacity:0}.math-outer-bracket,.math-group-bracket{color:#475569;font-size:1.22em}.math-outer-bracket-left,.math-group-bracket-left{margin-right:2px}.math-outer-bracket-right,.math-group-bracket-right{margin-left:2px}.math-group-prefix,.math-group-suffix{display:inline-flex;align-items:center}.math-group-prefix{margin-right:2px}.math-group-suffix{margin-left:2px}.math-prime{color:#475569;font-size:.86em}.math-outer-prime,.math-group-inline-prime{margin-left:1px;align-self:flex-start}.sticky-group.is-stuck .term,.sticky-group.is-stuck .term.is-math-term{background:transparent;border-color:transparent;box-shadow:none}.sticky-group.is-stuck .factor-button{pointer-events:none}.term.is-group-handle,.term.is-detachable{cursor:grab}.sticky-group.is-dragging .term.is-group-handle,.sticky-group.is-dragging .term.is-detachable{cursor:grabbing}.term.is-detachable{box-shadow:inset 0 0 0 1px #64748b14,0 5px 14px #1f29331a}.sticky-group.is-stuck .term.is-detachable{border-color:transparent;box-shadow:none}.sticky-group.is-stuck .term.is-detachable:hover{border-color:#b9c8da;box-shadow:inset 0 0 0 1px #64748b14,0 5px 14px #1f29331a}.sticky-group.is-snap-target .term.is-preview-source{border-color:#2f80ed;box-shadow:inset 0 0 0 1px #2f80ed5c,0 5px 14px #2f80ed29}.sticky-group.is-math-display.is-stuck .term.is-detachable:hover{border-color:#b9c8da;box-shadow:inset 0 0 0 1px #64748b14,0 5px 14px #1f29331a}.sticky-group.is-math-display.is-snap-target .term.is-preview-source{border-color:#2f80ed;box-shadow:inset 0 0 0 1px #2f80ed52,0 5px 14px #2f80ed24}.term.is-term-moving{animation:term-preview-move .21s ease-out both}.term.is-fresh{animation:none}.factor-button{position:relative;z-index:2;width:var(--factor-cell-size, 44px);height:var(--factor-cell-size, 44px);display:grid;place-items:center;padding:0;background:transparent;border:0;border-radius:8px;cursor:pointer;overflow:visible;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px)));transition:transform .15s ease,width .16s ease,height .16s ease,background .12s ease}.factor-button:before{content:"";position:absolute;inset:-4px;z-index:0;border-radius:12px;opacity:0;transform:scale(.86);transition:opacity .14s ease,transform .14s ease;pointer-events:none}.factor-button.is-active-factor:before{inset:calc(var(--factor-cell-size, 44px) * -.13);border-radius:999px;opacity:.66;background:radial-gradient(circle,#ffffffdb 0 20%,#fff0a280 34%,#ffd8562e 55%,#ffd85600 70%),radial-gradient(circle,#ffb83624 0 42%,#ffb83600 68%);box-shadow:0 0 7px #ffec8c66,0 0 14px #ffc74847,0 0 22px #ff9e2e29;filter:blur(2px);transform:scale(1);animation:selected-halo-pulse 1.5s ease-in-out infinite}.factor-button.is-active-factor.is-math-factor:before{opacity:0;background:none;box-shadow:none;filter:none;animation:none}.factor-button.is-active-factor{z-index:3}.factor-button.is-dimmed-factor{background:transparent}.factor-button:hover:not(.is-disabled){background:transparent}.factor-button.is-dimmed-factor:hover:not(.is-disabled){background:transparent}.factor-button:focus-visible{outline:2px solid #2f80ed;outline-offset:2px}.factor-button.is-disabled{cursor:grab}.factor-button.is-math-factor{width:auto;height:auto;min-width:0;min-height:0;padding:1px 3px;border-radius:4px;color:#1f2937;transition:transform .12s ease,background .12s ease}.factor-button.is-math-factor:hover:not(.is-disabled){background:#0f172a0d}.factor-button.is-reordering-factor{z-index:4;cursor:grabbing;transition:none}.factor-button.is-math-factor.is-reordering-factor{z-index:8;transition:transform 55ms linear,background .12s ease}.factor-button.is-transition-locked-factor,.factor-button.is-transition-locked-factor .factor-shape{transition:none}.factor-button.is-auto-sorting-factor{animation:factor-auto-sort .19s ease-out both}.factor-button.is-math-factor.is-auto-sorting-factor{animation:math-factor-auto-sort .18s cubic-bezier(.16,1,.3,1) both}.factor-shape{position:relative;z-index:1;width:var(--factor-shape-size, 40px);height:var(--factor-shape-size, 40px);filter:drop-shadow(0 2px 2px rgba(31,41,51,.16));transform:scale(var(--factor-scale, 1));transform-origin:50% 50%;transition:transform .16s ease;will-change:transform}.factor-button.is-active-factor:not(.is-math-factor) .factor-shape{filter:drop-shadow(0 2px 2px rgba(31,41,51,.14)) drop-shadow(0 0 4px rgba(255,236,140,.5)) drop-shadow(0 0 9px rgba(255,185,50,.32))}.math-factor-content{position:relative;z-index:1;display:inline-flex;align-items:baseline;justify-content:center;gap:4px;min-width:max-content;color:#1f2937;white-space:nowrap;transform:none;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}.math-factor-content.is-previewing-unselect{display:inline-grid;align-items:baseline;justify-items:center;position:relative}.math-factor-measure-state,.math-factor-core-state{grid-area:1 / 1;display:inline-flex;align-items:baseline;justify-content:center}.math-factor-measure-state{visibility:hidden}.math-factor-core-state{z-index:1}.math-selection-shell{position:absolute;inset:0 -1px;z-index:2;display:flex;align-items:baseline;justify-content:space-between;color:#475569;pointer-events:none}.math-selection-left,.math-selection-right{animation:math-selection-detach .36s ease-out 90ms forwards}.math-selection-left{transform-origin:right center;--math-selection-x: -5px}.math-selection-right{transform-origin:left center;--math-selection-x: 5px}.factor-button.is-dimmed-factor .math-factor-content{opacity:1;transform:none}.factor-button.is-dimmed-factor .factor-shape{transform:scale(var(--factor-scale, 1))}.factor-button.is-reordering-factor .factor-shape{animation:factor-wiggle .22s ease-in-out infinite}.factor-button.is-reordering-factor .math-factor-content{animation:none}.factor-button.is-math-factor.is-reordering-factor .math-factor-content{transform:translateY(-4px);border-radius:6px;background:#fffffff0;box-shadow:0 5px 12px #1f293324,0 0 0 1px #9ab7df61}.factor-button.is-merge-pulled-factor{z-index:5;animation:factor-merge-pull .42s cubic-bezier(.45,0,.2,1) forwards}.factor-button.is-merge-anchor-factor{z-index:9;animation:factor-merge-anchor .72s cubic-bezier(.45,0,.2,1) forwards}.factor-button.is-split-spit-factor{z-index:5;animation:factor-split-spit .38s cubic-bezier(.16,1,.3,1) both}.factor-button.is-split-anchor-factor{z-index:9;animation:factor-split-anchor .38s ease-out both}@keyframes merge-pop{0%{transform:scale(.92)}52%{transform:scale(1.08)}to{transform:scale(1)}}@keyframes snap-slot-open{0%{height:18px;opacity:0}to{height:calc(var(--term-cell-size, 44px) + 18px);opacity:1}}@keyframes factor-merge-pull{0%{opacity:1;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px))) scale(1)}68%{opacity:.95;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px) + var(--merge-x, 0px)),var(--merge-y, 0px)) scale(.56)}to{opacity:0;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px) + var(--merge-x, 0px)),var(--merge-y, 0px)) scale(.18)}}@keyframes factor-merge-anchor{0%{opacity:1;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px))) scale(1)}45%{opacity:1;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px))) scale(1)}62%{opacity:1;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px))) scale(1)}to{opacity:1;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px) + var(--settle-x, 0px)),var(--settle-y, 0px)) scale(1)}}@keyframes factor-split-spit{0%{opacity:0;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px) + var(--split-x, 0px)),var(--split-y, 0px)) scale(.22)}62%{opacity:1;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px))) scale(1.08)}to{opacity:1;transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px))) scale(1)}}@keyframes factor-split-anchor{0%{transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px))) scale(.82)}48%{transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px))) scale(1.2)}to{transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px))) scale(1)}}@keyframes group-card-merge-shrink{0%{left:-8px;top:-8px;width:calc(100% + 16px);height:calc(100% + 16px)}45%,62%{left:-8px;top:-8px;width:calc(100% + 16px);height:calc(100% + 16px)}to{left:var(--merge-card-left, 0px);top:var(--merge-card-top, 0px);width:var(--merge-card-width, 0px);height:var(--merge-card-height, 0px)}}@keyframes group-card-split-grow{0%{width:calc(var(--group-collapsed-width, 0px) + 16px);height:calc(var(--group-collapsed-height, 0px) + 16px)}to{width:calc(var(--group-full-width, 0px) + 16px);height:calc(var(--group-full-height, 0px) + 16px)}}@keyframes term-preview-move{0%{transform:translate(var(--term-dx, 0px),var(--term-dy, 0px))}to{transform:translate(0)}}@keyframes math-card-gather{0%{opacity:1;transform:scaleY(1)}to{opacity:.88;transform:scaleY(var(--math-merge-card-scale-y, .5))}}@keyframes math-card-release{0%{opacity:.88;transform:scaleY(var(--math-merge-card-scale-y, .5))}to{opacity:1;transform:scaleY(1)}}@keyframes math-term-gather{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:var(--math-term-gather-opacity, 0);transform:translateY(var(--math-merge-y, 0px)) scale(.985)}}@keyframes math-term-release{0%{opacity:var(--math-term-release-opacity, 0);transform:translateY(var(--math-term-release-y, 0px)) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes math-inline-fade{to{opacity:0}}@keyframes math-selection-detach{to{opacity:0;transform:translate(var(--math-selection-x, 0px),-3px) scale(.96)}}@keyframes connection-flow-down{0%{background-position-x:0}to{background-position-x:11px}}@keyframes connection-flow-up{0%{background-position-x:0}to{background-position-x:-11px}}@keyframes connection-line-move{0%{left:var(--from-left);top:var(--from-top);width:var(--from-length);transform:translateY(-50%) rotate(var(--from-angle))}to{left:var(--to-left);top:var(--to-top);width:var(--to-length);transform:translateY(-50%) rotate(var(--to-angle))}}@keyframes connection-line-eat-vertical{0%{top:var(--vertical-top);height:var(--vertical-height);opacity:.52}to{top:var(--vertical-collapsed-top);height:0;opacity:0}}@keyframes connection-line-spit-vertical{0%{top:var(--vertical-collapsed-top);height:0;opacity:0}to{top:var(--vertical-top);height:var(--vertical-height);opacity:.5}}@keyframes factor-wiggle{0%{transform:translate(-.35px,-3px) rotate(-1deg) scale(var(--factor-wiggle-scale, 1.035))}25%{transform:translate(.55px,-3.35px) rotate(.7deg) scale(var(--factor-wiggle-scale, 1.035))}50%{transform:translate(-.55px,-2.75px) rotate(1deg) scale(var(--factor-wiggle-scale, 1.035))}75%{transform:translate(.35px,-3.25px) rotate(-.7deg) scale(var(--factor-wiggle-scale, 1.035))}to{transform:translate(-.35px,-3px) rotate(-1deg) scale(var(--factor-wiggle-scale, 1.035))}}@keyframes selected-halo-pulse{0%,to{opacity:.72;transform:scale(.96)}50%{opacity:.96;transform:scale(1.08)}}@keyframes factor-auto-sort{0%{transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px) + var(--sort-dx, 0px)))}to{transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px)))}}@keyframes math-factor-auto-sort{0%{transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px) + var(--sort-dx, 0px)))}to{transform:translate(calc(var(--drag-x, 0px) + var(--slot-x, 0px)))}}@keyframes completion-card-enter{0%{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes completion-particle{0%{opacity:0;transform:rotate(var(--particle-angle)) translate(0) rotate(calc(var(--particle-angle) * -1)) scale(.4)}18%{opacity:1}to{opacity:0;transform:rotate(var(--particle-angle)) translate(var(--particle-distance)) rotate(calc(var(--particle-angle) * -1)) scale(1)}}@keyframes rule-flow-down{0%{background-position-y:0}to{background-position-y:8px}}@keyframes rule-flow-up{0%{background-position-y:0}to{background-position-y:-8px}}@media(max-width:640px){.game-layout{grid-template-columns:1fr}.stage-panel,.palette-panel{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;max-height:220px;border-right:0;border-bottom:1px solid #d7dde5}.stage-panel.is-collapsed{width:100%;max-height:58px}.stage-panel-header,.palette-title{grid-column:1 / -1;margin-bottom:0}.stage-list{grid-column:1 / -1;grid-template-columns:1fr 1fr;max-height:138px}.top-bar{align-items:flex-start;flex-direction:column;padding:14px 16px}.top-actions{justify-content:flex-start}.board{min-height:680px}.stage-goal-text{font-size:1.75rem}.rule-panel{top:auto;right:10px;bottom:10px;width:min(350px,calc(100vw - 20px))}}
