@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}:root{--ink: #1c2733;--ink-soft: #4e5d6d;--ink-faint: #8a97a5;--paper: #eef1f5;--paper-board: #fbfcfe;--grid-line: rgba(62, 99, 221, .065);--surface: #ffffff;--line: #d9e0e8;--line-strong: #c3cdd8;--accent: #4f46e5;--gold: #f5a524;--gold-bright: #ffd76a;--gold-deep: #d98d0b;--ok: #2fb344;--shadow-soft: 0 1px 2px rgba(18, 28, 45, .06), 0 8px 22px rgba(18, 28, 45, .08);--shadow-lift: 0 2px 4px rgba(18, 28, 45, .08), 0 16px 36px rgba(18, 28, 45, .14);--radius-card: 12px;--font-display: "Bricolage Grotesque", Pretendard, ui-sans-serif, system-ui, sans-serif;--font-body: Pretendard, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--top-bar-height: 62px}*{box-sizing:border-box}html,body{margin:0;min-width:320px;min-height:100vh}body{color:var(--ink);background:var(--paper);font-family:var(--font-body);-webkit-font-smoothing:antialiased}button{font:inherit;-webkit-tap-highlight-color:transparent}.icon-button{display:grid;place-items:center;width:40px;height:40px;padding:0;color:var(--ink-soft);background:var(--surface);border:1px solid var(--line);border-radius:10px;cursor:pointer;transition:background .13s ease,border-color .13s ease,transform .13s ease}.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-button:hover{background:#f2f5f9;border-color:var(--line-strong)}.icon-button:active{transform:scale(.94)}.icon-button:focus-visible,.locale-button:focus-visible,.display-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.locale-toggle{display:inline-flex;align-items:center;padding:3px;background:#1c27330d;border:1px solid var(--line);border-radius:999px}.locale-button{min-width:40px;height:34px;padding:0 10px;color:var(--ink-faint);background:transparent;border:0;border-radius:999px;cursor:pointer;font-size:.78rem;font-weight:800;line-height:1}.locale-button.is-active{color:var(--ink);background:var(--surface);box-shadow:0 1px 4px #121c2d24}.home{min-height:100dvh;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 clamp(16px,5vw,48px) 16px;background:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px),radial-gradient(900px 420px at 50% -8%,rgba(245,165,36,.08),transparent 60%),var(--paper);background-size:32px 32px,32px 32px,auto,auto}.home-header{display:flex;justify-content:flex-end;width:100%;padding:14px 0 0}.home-stage{display:grid;justify-items:center;gap:6px;margin-top:auto;text-align:center}.home-logo-mark{width:clamp(34px,6vh,46px);height:clamp(34px,6vh,46px);filter:drop-shadow(0 3px 6px rgba(217,141,11,.4));animation:brand-spin 14s linear infinite}.home-logo{margin:2px 0 0;font-family:var(--font-display);font-size:clamp(2.4rem,8vw,3.4rem);font-weight:800;letter-spacing:-.02em;line-height:1}.home-tagline{margin:0 0 10px;color:var(--ink-soft);font-size:.95rem;font-weight:600}.duality-stage{display:grid;justify-items:center;gap:10px;width:min(340px,calc(100vw - 32px));padding:16px 14px 12px;background:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px),var(--paper-board);background-size:26px 26px;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-soft)}.duality-card-holder{display:grid;place-items:center;min-height:74px}.duality-card-holder .term,.duality-card-holder .factor-button{cursor:default}.duality-caption{display:flex;align-items:center;gap:8px}.duality-caption-side{padding:2px 10px;color:var(--ink-faint);border:1px solid var(--line);border-radius:999px;font-size:.7rem;font-weight:700;transition:all .3s ease}.duality-caption-side.is-on{color:#3a2703;background:var(--gold-bright);border-color:var(--gold)}.home-menu{display:grid;gap:10px;width:min(400px,100%);margin:20px 0 auto}.home-menu-button{display:flex;align-items:center;gap:13px;min-height:62px;padding:8px 16px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-soft);cursor:pointer;text-align:left;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}.home-menu-button:hover{transform:translateY(-2px);border-color:var(--gold);box-shadow:var(--shadow-lift)}.home-menu-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.home-menu-button.is-tutorial{color:#3a2703;background:linear-gradient(180deg,var(--gold-bright),var(--gold));border-color:var(--gold-deep);box-shadow:0 5px 16px #f5a52466,inset 0 1px #ffffff80}.home-menu-button.is-tutorial .home-menu-sub,.home-menu-button.is-tutorial .home-menu-meta{color:#3a2703bf}.home-menu-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;background:#f2f5f9;border-radius:12px}.home-menu-button.is-tutorial .home-menu-icon{background:#ffffff8c}.home-menu-icon>svg{width:20px;height:20px;fill:currentColor;stroke:none}.home-menu-icon.home-menu-glyphs{display:flex;align-items:center;justify-content:center;gap:3px;width:auto;min-width:40px;padding:0 9px}.home-menu-glyph{width:13px;height:13px;filter:drop-shadow(0 1px 1px rgba(18,28,45,.14))}.home-menu-label{flex:1;min-width:0;display:grid;gap:1px}.home-menu-name{font-family:var(--font-display);font-size:1.02rem;font-weight:800}.home-menu-sub{color:var(--ink-faint);font-size:.72rem;font-weight:700}.home-menu-meta{flex:none;color:var(--ink-soft);font-family:var(--font-display);font-size:.95rem;font-weight:800}.home-menu-meta i{color:var(--ink-faint);font-size:.78em;font-style:normal}.home-footer{display:grid;justify-items:center;gap:3px;padding:12px 0 2px}.home-about-link{min-height:36px;padding:6px 14px;color:var(--ink-faint);background:transparent;border:0;border-radius:999px;cursor:pointer;font-size:.8rem;font-weight:700}.home-about-link:hover{color:var(--ink);background:#1c27330d}.home-footer-formula{color:var(--ink-faint);font-size:.78rem}.about-math{color:var(--ink-soft);font-size:.86em;white-space:nowrap}.app-shell{min-height:100vh;display:flex;flex-direction:column}.top-bar{position:relative;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:12px;height:var(--top-bar-height);padding:0 16px;background:var(--surface);border-bottom:1px solid var(--line)}.top-bar-left,.top-bar-right{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.top-bar-right{justify-content:flex-end}.top-bar-title{display:grid;min-width:0}.top-bar-world{overflow:hidden;font-family:var(--font-display);font-size:.98rem;font-weight:800;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.top-bar-world-short{display:none}.top-bar-stage{color:var(--ink-faint);font-size:.74rem;font-weight:700}.display-toggle{position:relative;flex:none;display:inline-flex;align-items:center;padding:3px;background:#1c27330f;border:1px solid var(--line);border-radius:999px}.display-toggle-thumb{position:absolute;left:3px;top:3px;bottom:3px;width:calc(50% - 3px);background:var(--surface);border-radius:999px;box-shadow:0 1px 5px #121c2d2e;transition:transform .24s cubic-bezier(.3,.7,.25,1)}.display-toggle-thumb.is-math{transform:translate(100%)}.display-button{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:86px;height:34px;padding:0 14px;color:var(--ink-faint);background:transparent;border:0;border-radius:999px;cursor:pointer;font-size:.82rem;font-weight:800;line-height:1;transition:color .2s ease}.display-button.is-active{color:var(--ink)}.display-button-icon{width:15px;height:15px;fill:currentColor;stroke:none}.display-button-icon-integral{display:inline-grid;place-items:center;width:auto;font-size:1rem;font-style:italic;font-weight:700;line-height:1}.game-layout{min-height:0;flex:1;display:grid;grid-template-columns:auto minmax(0,1fr)}.game-layout.is-playground-layout{grid-template-columns:232px minmax(0,1fr)}.game-layout.is-single-layout{grid-template-columns:minmax(0,1fr)}.palette-panel{min-height:0;overflow-y:auto;padding:14px 12px;background:#f6f8fb;border-right:1px solid var(--line)}.palette-header{display:grid;gap:10px;margin-bottom:14px}.palette-title{color:var(--ink);font-family:var(--font-display);font-size:.95rem;font-weight:800}.palette-theme-toggle{display:inline-flex;padding:3px;background:#1c27330f;border:1px solid var(--line);border-radius:999px}.palette-theme-button{flex:1;height:28px;padding:0 8px;color:var(--ink-faint);background:transparent;border:0;border-radius:999px;cursor:pointer;font-size:.72rem;font-weight:800}.palette-theme-button.is-active{color:var(--ink);background:var(--surface);box-shadow:0 1px 4px #121c2d24}.palette-section{margin-bottom:18px}.palette-section-title{margin-bottom:8px;color:var(--ink-faint);font-size:.72rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.palette-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.palette-item{min-height:44px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:0 2px 6px #121c2d0f;cursor:grab;touch-action:none;transition:border-color .13s ease,transform .13s ease}.palette-item:hover{border-color:var(--line-strong);transform:translateY(-1px)}.palette-item:active{cursor:grabbing}.stage-select{min-height:100vh;display:flex;flex-direction:column;padding:0 clamp(14px,4vw,40px) 48px;background:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px),var(--paper);background-size:32px 32px}.stage-select-header{display:flex;align-items:center;gap:12px;width:100%;max-width:1040px;margin:0 auto;padding:16px 0 12px}.stage-select-title{flex:1;min-width:0;display:grid;gap:1px}.stage-select-sub{color:var(--ink-faint);font-size:.7rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.stage-select-name{margin:0;overflow:hidden;font-family:var(--font-display);font-size:clamp(1.25rem,4.5vw,1.7rem);font-weight:800;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.stage-select-count{font-family:var(--font-display);font-size:1.15rem;font-weight:800}.stage-select-count i{color:var(--ink-faint);font-size:.78em;font-style:normal}.stage-select-progress{width:100%;max-width:1040px;height:6px;margin:0 auto 20px;background:#e4eaf1;border-radius:999px;overflow:hidden}.stage-select-progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--gold),#f7c04a);transition:width .4s ease}.stage-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));gap:12px;width:100%;max-width:1040px;margin:0 auto}.stage-tile{position:relative;display:grid;grid-template-rows:auto 1fr auto;gap:4px;min-height:132px;padding:12px 13px 10px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-soft);cursor:pointer;text-align:left;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.stage-tile:hover:not(:disabled){transform:translateY(-2px);border-color:var(--line-strong);box-shadow:var(--shadow-lift)}.stage-tile:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.stage-tile.is-locked{color:var(--ink-faint);background:#edf0f4;border-color:#e2e7ee;box-shadow:none;cursor:not-allowed}.stage-tile.is-next{border-color:var(--gold);animation:stage-next-pulse 2.2s ease-in-out infinite}.stage-tile-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.stage-tile-num{font-family:var(--font-display);font-size:1.05rem;font-weight:800}.stage-tile.is-locked .stage-tile-num{color:#adb8c4}.stage-tile-depth{display:flex;gap:3px}.stage-tile-depth-dot{display:block;width:7px;height:7px;border-radius:999px;box-shadow:inset 0 0 0 1px #121c2d1f}.stage-tile.is-locked .stage-tile-depth-dot{opacity:.35}.stage-tile-visual{display:grid;place-items:center;min-height:58px;overflow:hidden}.stage-tile-reward{display:grid;place-items:center;max-width:100%}.stage-tile-reward .term{box-shadow:0 2px 6px #121c2d14}.stage-tile-reward .factor-button{background:transparent}.stage-tile-play{display:grid;place-items:center;width:46px;height:46px;background:linear-gradient(180deg,var(--gold-bright),var(--gold));border:1px solid var(--gold-deep);border-radius:999px;box-shadow:0 4px 12px #f5a5246b,inset 0 1px #ffffff80}.stage-tile-play-icon{width:20px;height:20px;fill:#3a2703;stroke:none}.stage-tile-lock{width:22px;height:22px;color:#b3bdc9;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.stage-tile-foot{min-height:1em;color:var(--ink-faint);font-size:.72rem;font-weight:700}.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(18,28,45,.12))}.shape-bundle-preview.is-small .preview-shape{width:24px;height:24px}.palette-drag-preview{position:fixed;z-index:100;padding:9px 12px;background:var(--surface);border:1px solid var(--line-strong);border-radius:10px;box-shadow:var(--shadow-lift);pointer-events:none;transform:translate(-50%,-50%)}.board{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;background:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px),var(--paper-board);background-size:32px 32px}.stage-goal-banner{position:sticky;left:0;top:10px;z-index:0;display:grid;gap:3px;width:max-content;max-width:min(760px,calc(100% - 32px));margin:14px auto 0;padding:4px 18px 10px;pointer-events:none;text-align:center}.stage-goal-stage{color:var(--ink-faint);font-size:.8rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.stage-goal-text{color:var(--ink);font-family:var(--font-display);font-size:clamp(1.5rem,3.4vw,2.5rem);font-weight:800;letter-spacing:-.01em;line-height:1.06;text-shadow:0 2px 0 rgba(255,255,255,.9)}.sticky-group{position:absolute;display:flex;flex-direction:column;gap:8px;width:max-content;touch-action:none;user-select:none;-webkit-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:-9px;z-index:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow-soft);pointer-events:none}.sticky-group.is-dragging{cursor:grabbing;z-index:10}.sticky-group.is-dragging .term{box-shadow:var(--shadow-lift)}.sticky-group.is-dragging.is-stuck:before{box-shadow:var(--shadow-lift)}.sticky-group.is-merging,.sticky-group.is-splitting{pointer-events:none;z-index:20}.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:#2fb3448c;box-shadow:0 0 0 1px #2fb3442e,0 0 8px #2fb34459;pointer-events:none;transform:translateY(-50%)}.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.5px;opacity:.52;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,.group-connection-line.is-spitting-line{left:calc(var(--vertical-left) - .75px);top:var(--vertical-top);width:1.5px;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}.group-connection-line.is-eating-line{animation:connection-line-eat-vertical .42s cubic-bezier(.45,0,.2,1) forwards}.group-connection-line.is-spitting-line{animation:connection-line-spit-vertical .52s cubic-bezier(.16,1,.3,1) both}.sticky-group.is-merging .group-connection-line,.sticky-group.is-splitting .group-connection-line{opacity:.7}.merge-button{position:absolute;left:50%;bottom:-21px;z-index:14;display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 18px;color:#3a2703;background:linear-gradient(180deg,var(--gold-bright),var(--gold));border:1px solid var(--gold-deep);border-radius:999px;box-shadow:0 5px 16px #f5a52480,inset 0 1px #ffffff80;cursor:pointer;font-size:.88rem;font-weight:800;line-height:1;white-space:nowrap;transform:translate(-50%);animation:merge-ready-pulse 1.8s ease-in-out infinite;transition:filter .12s ease}.merge-button:hover{filter:brightness(1.05)}.merge-button:active{animation:none;transform:translate(-50%) scale(.96)}.merge-button-icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.split-button{position:absolute;top:-12px;right:-12px;z-index:14;display:grid;place-items:center;width:28px;height:28px;padding:0;color:var(--ink-soft);background:var(--surface);border:1px solid var(--line-strong);border-radius:999px;box-shadow:0 2px 6px #121c2d24;cursor:pointer;opacity:.85;transition:opacity .12s ease,transform .12s ease,border-color .12s ease}.split-button:hover{opacity:1;transform:scale(1.08);border-color:var(--accent);color:var(--accent)}.split-button:after{content:"";position:absolute;inset:-8px;border-radius:999px}.split-button-icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.group-action-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.term{position:relative;z-index:auto;display:flex;align-items:center;justify-content:flex-start;width:max-content;min-width:0;min-height:calc(var(--term-cell-size, 44px) + var(--term-padding-y-total, 18px) + 2px);padding:var(--term-padding-y, 9px) var(--term-padding-x, 12px);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow-soft);transition:width .28s cubic-bezier(.3,.7,.25,1),transform .17s ease,opacity .17s ease,box-shadow .17s ease,border-color .17s ease,min-height .2s ease}.term-inner{position:relative;width:max-content}.term-content{display:flex;align-items:center;gap:var(--factor-gap, 8px);width:max-content;animation:term-content-enter .26s ease both}.term.is-selected{border-color:#b9c8da}.term.is-math-term{color:var(--ink);font-size:var(--math-font-size, 1.05rem);font-weight:400}.term.is-math-term .term-content{gap:2px}.sticky-group.is-stuck .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}.sticky-group.is-stuck .term.is-detachable:hover{border-color:var(--line-strong);box-shadow:inset 0 0 0 1px #64748b14,0 5px 14px #121c2d1a}.sticky-group.is-snap-target .term.is-preview-source{border-color:var(--accent);box-shadow:inset 0 0 0 1px #4f46e54d,0 5px 14px #4f46e524}.term.is-term-moving{animation:term-preview-move .21s ease-out both}.term.is-fresh{animation:term-fresh-settle .46s cubic-bezier(.2,.9,.3,1.15) both}.sticky-group.is-merging .term,.sticky-group.is-splitting .term{transition: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;perspective:340px;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:after{content:"";position:absolute;inset:-4px;border-radius:12px}.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:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.factor-button.is-disabled{cursor:grab}.factor-button.is-reordering-factor{z-index:4;cursor:grabbing;transition:none}.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-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(18,28,45,.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(18,28,45,.14)) drop-shadow(0 0 4px rgba(255,236,140,.5)) drop-shadow(0 0 9px rgba(255,185,50,.32))}.factor-button.is-reordering-factor .factor-shape{animation:factor-wiggle .22s ease-in-out infinite}.sign-beam{position:absolute;inset:0;z-index:7;overflow:visible;pointer-events:none}.sign-beam i{display:block}.sign-beam-left,.sign-beam-right{position:absolute;top:50%;height:4px;border-radius:999px;animation:beam-out .46s cubic-bezier(.2,.7,.3,1) forwards}.sign-beam-left{left:-10px;width:calc(var(--beam-x, 50%) + 10px);background:linear-gradient(to left,#ffdf8a,#ffd76a8c 55%,#ffd76a00);transform-origin:right center}.sign-beam-right{left:var(--beam-x, 50%);right:-10px;background:linear-gradient(to right,#ffdf8a,#ffd76a8c 55%,#ffd76a00);transform-origin:left center}.sign-beam-core{position:absolute;left:var(--beam-x, 50%);top:50%;width:26px;height:26px;border-radius:999px;background:radial-gradient(circle,#fff 0 24%,#ffc43dd9 46%,#ffc43d00 72%);animation:beam-core .46s ease-out forwards}.sign-beam.is-retract .sign-beam-left,.sign-beam.is-retract .sign-beam-right{animation:beam-in .42s cubic-bezier(.6,0,.6,1) forwards}.sign-beam.is-retract .sign-beam-core{animation:beam-core-in .42s ease-in forwards}.factor-button.is-sign-flipping .factor-shape{animation:factor-othello-flip .48s cubic-bezier(.3,.7,.3,1) both;animation-delay:var(--flip-delay, 0ms)}.factor-button.is-sign-flip-origin .factor-shape{animation:factor-flip-origin-burst .52s cubic-bezier(.3,.7,.3,1) both}.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:3px;color:var(--ink-soft);font-size:.92em}.math-factor-slot{display:inline-flex;align-items:center;gap:2px}.math-dot{margin:0 2px;color:var(--ink-faint);font-size:.82em;transition:opacity 90ms ease}.term.is-math-term.is-reordering-term .math-dot{opacity:0}.math-bracket{flex:none;align-self:stretch;width:7px;min-height:1.35em;margin:1px 2px;border:2px solid #3c4a5a;border-radius:1px}.math-bracket.is-left{border-right:0}.math-bracket.is-right{border-left:0}.math-prime{color:#3c4a5a;font-size:.86em}.math-outer-prime{align-self:flex-start;margin-left:1px}.math-factor-content{position:relative;z-index:1;display:inline-flex;align-items:baseline;justify-content:center;gap:4px;min-width:max-content;color:var(--factor-level-color, var(--ink));white-space:nowrap;transition:color .2s ease,transform .12s ease}.factor-button.is-math-factor{width:auto;height:auto;min-width:0;min-height:0;padding:2px 4px;border-radius:6px;transition:transform .12s ease,background .12s ease}.factor-button.is-math-factor:hover:not(.is-disabled){background:#1c27330f}.factor-button.is-math-factor.is-active-factor .math-factor-content{text-shadow:0 0 14px color-mix(in srgb,var(--factor-level-color, #f5a524) 45%,transparent)}.factor-button.is-math-factor.is-reordering-factor{z-index:8;transition:transform 55ms linear,background .12s ease}.factor-button.is-math-factor.is-reordering-factor .math-factor-content{transform:translateY(-4px);border-radius:6px;background:#fffffff0;box-shadow:0 5px 12px #121c2d24,0 0 0 1px #9ab7df61}.factor-button.is-math-factor.is-auto-sorting-factor{animation:factor-auto-sort .18s cubic-bezier(.16,1,.3,1) both}.math-group-shell{position:relative;z-index:1;display:flex;align-items:stretch;gap:3px}.math-group-sign{align-self:center;margin-right:3px;color:var(--ink-soft);font-size:1.02rem}.math-bracket.is-group-bracket{align-self:stretch;width:8px;margin:2px 0}.math-group-rows{display:flex;flex-direction:column;gap:8px}.math-row{display:flex;--row-shift: calc(-1 * var(--row-index, 0) * (var(--row-height, 52px) + 8px))}.math-group-prime{align-self:flex-start;margin-top:2px;font-size:.95rem}.sticky-group.is-math-display.is-stuck .term{background:transparent;border-color:transparent;box-shadow:none}.sticky-group.is-math-display.is-merging .math-group-rows{overflow:hidden;animation:math-rows-collapse .56s cubic-bezier(.5,0,.2,1) forwards}.sticky-group.is-math-display.is-merging .math-row{animation:math-row-gather .56s cubic-bezier(.5,0,.2,1) forwards}.sticky-group.is-math-display.is-merging .math-row:first-child{--row-gather-opacity: 1}.sticky-group.is-math-display.is-merging .math-row:not(:first-child){--row-gather-opacity: 0}.sticky-group.is-math-display.is-splitting .math-group-rows{overflow:hidden;animation:math-rows-expand .52s cubic-bezier(.16,1,.3,1) both}.sticky-group.is-math-display.is-splitting .math-row{animation:math-row-release .44s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--row-index, 0) * 45ms)}.sticky-group.is-merging:not(.is-math-display):before{inset:-9px auto auto -9px;width:calc(100% + 18px);height:calc(100% + 18px);animation:group-card-merge-shrink .72s cubic-bezier(.45,0,.2,1) forwards}.sticky-group.is-splitting:not(.is-math-display):before{inset:-9px auto auto -9px;width:calc(var(--group-full-width, 0px) + 18px);height:calc(var(--group-full-height, 0px) + 18px);animation:group-card-split-grow .56s cubic-bezier(.16,1,.3,1) both}.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}.stage-completion-overlay{background:#fbfcfeb3}.stage-completion-card{justify-items:center;text-align:center}.stage-completion-card .rule-modal-footer{justify-content:center}.stage-completion-title{margin:4px 0 0;color:var(--ink);font-family:var(--font-display);font-size:1.9rem;font-weight:800;line-height:1}.stage-completion-term{display:grid;place-items:center;min-height:72px}.stage-completion-subtitle{margin:0;color:var(--ink-soft);font-size:.95rem;font-weight:700}.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:var(--gold);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:#3e63dd}.stage-completion-particle:nth-child(3n+1){background:#2fb344}.stage-completion-particle:nth-child(5n){background:#d6409f}.stage-completion-particle:nth-child(4n){width:12px;height:5px}.tutorial-coach{position:fixed;z-index:70;display:grid;gap:8px;padding:13px 16px;background:#fffffff7;border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:14px;box-shadow:var(--shadow-lift);pointer-events:none}.tutorial-coach-next{pointer-events:auto}.coach-reveal{display:grid;gap:7px}.coach-reveal-map{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 16px;padding:8px 10px;background:#f6f8fb;border-radius:10px;font-size:.9rem}.coach-reveal-pair{display:inline-flex;align-items:center;gap:4px}.coach-reveal-glyph{width:15px;height:15px;filter:drop-shadow(0 1px 1px rgba(18,28,45,.14))}.coach-reveal-fold{margin:0;color:var(--ink);font-size:.9rem;font-weight:600;line-height:1.5}.coach-reveal-fold .math-formula{font-size:.95rem}.coach-ring{position:fixed;z-index:66;border:2.5px solid var(--gold);border-radius:14px;animation:coach-ring-pulse 1.6s ease-in-out infinite;pointer-events:none}.coach-connector{position:fixed;inset:0;z-index:65;width:100%;height:100%;pointer-events:none}.coach-connector path{fill:none;stroke:var(--gold);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:6 6;animation:coach-dash .7s linear infinite}.coach-connector circle{fill:var(--gold-deep)}.tutorial-coach-dots{display:flex;gap:5px}.tutorial-coach-dot{width:7px;height:7px;background:#e3e9f0;border-radius:999px;transition:background .2s ease,transform .2s ease}.tutorial-coach-dot.is-done{background:var(--gold)}.tutorial-coach-dot.is-current{background:var(--gold);transform:scale(1.35);box-shadow:0 0 0 3px #f5a52440}.tutorial-coach-text{margin:0;color:var(--ink);font-size:.93rem;font-weight:600;line-height:1.55;animation:coach-text-enter .26s ease both}.tutorial-coach-next{justify-self:end;min-height:36px;padding:0 16px;color:#3a2703;background:linear-gradient(180deg,var(--gold-bright),var(--gold));border:1px solid var(--gold-deep);border-radius:10px;cursor:pointer;font-size:.86rem;font-weight:800}.rule-hud{position:fixed;right:14px;bottom:14px;z-index:30;display:flex;flex-direction:column;gap:7px;width:200px;padding:10px 10px 9px;background:#fffffff5;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-soft)}.rule-hud-header{display:flex;align-items:center;justify-content:space-between}.rule-hud-title{color:var(--ink-faint);font-family:var(--font-display);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.rule-hud-collapse{display:grid;place-items:center;width:22px;height:22px;padding:0;color:var(--ink-faint);background:transparent;border:0;border-radius:999px;cursor:pointer}.rule-hud-collapse:hover{color:var(--ink);background:#eef2f7}.rule-hud-collapse-chevron,.rule-hud-chip-chevron,.rule-hud-tab-chevron{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.rule-hud-chip{position:fixed;right:14px;bottom:14px;z-index:30;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;color:var(--ink-soft);background:#fffffff5;border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow-soft);cursor:pointer;font-size:.8rem;font-weight:800}.rule-hud-chip:hover{color:var(--ink);box-shadow:var(--shadow-lift)}.rule-hud-chip .rule-hud-chip-chevron{transform:rotate(180deg)}.rule-hud-tab{display:none;position:absolute;left:50%;bottom:-19px;z-index:1;place-items:center;width:54px;height:20px;padding:0;color:var(--ink-faint);background:#fffffff5;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;box-shadow:0 6px 10px #121c2d14;cursor:pointer;transform:translate(-50%)}.rule-hud-tab .rule-hud-tab-chevron{transform:rotate(180deg)}.rule-hud-tab:after,.rule-hud-chip:after{content:"";position:absolute;inset:-10px -16px -12px}.rule-hud-block{position:relative;display:flex;align-items:center;gap:8px;padding:7px 9px;background:#f6f8fb;border:1px solid transparent;border-radius:10px;cursor:pointer;text-align:left;transition:background .13s ease,border-color .13s ease,box-shadow .13s ease}.rule-hud-block:hover{background:var(--surface);border-color:var(--line-strong);box-shadow:var(--shadow-soft)}.rule-hud-block:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.rule-hud-block.is-static{cursor:default}.rule-hud-block.is-static:hover{background:#f6f8fb;border-color:transparent;box-shadow:none}.rule-hud-num{display:grid;place-items:center;flex:none;width:17px;height:17px;color:var(--ink-soft);background:var(--surface);border:1px solid var(--line);border-radius:999px;font-size:.66rem;font-weight:800}.rule-hud-content{flex:1;display:grid;gap:3px;justify-items:center;min-width:0}.rule-hud-transform-row{display:inline-flex;align-items:center;gap:6px}.rule-hud-glyph{width:15px;height:15px;filter:drop-shadow(0 1px 1px rgba(18,28,45,.14))}.rule-hud-glyph.is-target{width:19px;height:19px}.rule-hud-arrow{width:13px;height:10px;color:var(--ink-faint);fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.rule-hud-math-row{font-size:.76rem}.rule-hud-merge-math{font-size:.82rem}.rule-hud-merge{display:inline-flex;align-items:center;gap:7px}.rule-hud-merge-stack{display:grid;gap:4px;padding:5px 7px;border:1px dashed var(--line-strong);border-radius:8px}.rule-hud-merge-row,.rule-hud-merge-result{display:flex;align-items:center;gap:5px}.rule-hud-merge-result{padding:5px 7px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.rule-hud-expand{position:absolute;right:5px;top:5px;width:11px;height:11px;color:var(--ink-faint);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;opacity:.35;transition:opacity .13s ease}.rule-hud-block:hover .rule-hud-expand{opacity:1}.rule-hud-ladder{display:flex;align-items:center;justify-content:center;gap:4px;padding-top:1px}.rule-hud-ladder-arrow{position:relative;display:grid;place-items:center;width:16px;height:18px;padding:0;color:var(--ink-faint);background:transparent;border:0;border-radius:6px;cursor:pointer;opacity:.55;transition:opacity .13s ease,color .13s ease}.rule-hud-ladder-arrow:after,.rule-hud-ladder-dot:after{content:"";position:absolute;inset:-5px -3px}.rule-hud-ladder-arrow.is-active{color:var(--ink-soft);opacity:1}.rule-hud-ladder-arrow:hover:not(:disabled){opacity:1}.rule-hud-ladder-arrow:disabled{cursor:default}.rule-hud-ladder-arrow-icon{width:13px;height:11px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.rule-hud-ladder-dot{position:relative;width:12px;height:12px;padding:0;background:var(--dot-color);border:1px solid rgba(18,28,45,.16);border-radius:999px;cursor:pointer;opacity:.4;transition:opacity .13s ease,box-shadow .13s ease}.rule-hud-ladder-dot.is-active{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--dot-color)}.rule-hud-ladder-dot:disabled{cursor:default}.rule-modal-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:18px;background:#121c2d6b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.rule-modal{display:grid;gap:14px;width:min(440px,100%);max-height:calc(100vh - 36px);overflow-y:auto;padding:20px 22px 18px;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-lift);animation:completion-card-enter .32s cubic-bezier(.16,1,.3,1) both}.rule-modal-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.rule-modal-title{margin:0;font-family:var(--font-display);font-size:1.15rem;font-weight:800}.rule-modal-close{display:grid;place-items:center;width:30px;height:30px;padding:0;color:var(--ink-faint);background:#f2f5f9;border:1px solid var(--line);border-radius:999px;cursor:pointer;font-size:1.05rem;line-height:1}.rule-modal-close:hover{color:var(--ink)}.rule-modal-demo{display:grid;place-items:center;min-height:150px;padding:16px 12px;background:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px),var(--paper-board);background-size:24px 24px;border:1px solid var(--line);border-radius:14px}.rule-modal-text{margin:0;color:var(--ink-soft);font-size:.92rem;line-height:1.65}.rule-modal-sign-note{display:inline-block;margin-top:6px;color:#9a6a08}.rule-modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px}.rule-modal-primary{min-height:42px;padding:0 20px;color:#3a2703;background:linear-gradient(180deg,var(--gold-bright),var(--gold));border:1px solid var(--gold-deep);border-radius:12px;box-shadow:0 5px 14px #f5a52461;cursor:pointer;font-weight:800}.rule-modal-skip{min-height:42px;padding:0 14px;color:var(--ink-faint);background:transparent;border:0;border-radius:10px;cursor:pointer;font-weight:700}.rule-modal-skip:hover{color:var(--ink);background:#f2f5f9}.rule-demo{display:grid;gap:10px;justify-items:center;width:100%}.rule-demo .term,.rule-demo .factor-button{cursor:default}.rule-demo-card{position:relative;display:grid;place-items:center}.rule-demo-cheat{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 0;margin-top:2px;padding:8px 6px;background:#ffffffbf;border:1px dashed var(--line-strong);border-radius:10px}.rule-demo-cheat-row{display:inline-flex;align-items:center;gap:7px;padding:0 12px}.rule-demo-cheat-row+.rule-demo-cheat-row{border-left:1px solid var(--line)}.rule-cheat-glyph{width:17px;height:17px;filter:drop-shadow(0 1px 1px rgba(18,28,45,.14))}.rule-cheat-glyph.is-target{width:21px;height:21px}.rule-cheat-arrow{width:14px;height:11px;color:var(--ink-faint);fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.rule-demo-hint{color:var(--ink-faint);font-size:.7rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.rule-demo-merge{display:flex;align-items:flex-start;justify-content:center;flex-wrap:wrap;gap:10px 28px}.merge-demo-stage{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:4px 0}.merge-demo-row,.merge-demo-result{display:grid;place-items:center}.merge-demo-row-a{animation:merge-demo-row-a 4.2s ease-in-out infinite}.merge-demo-row-b{animation:merge-demo-row-b 4.2s ease-in-out infinite}.merge-demo-result{position:absolute;left:50%;top:0;transform:translate(-50%);animation:merge-demo-result 4.2s ease-in-out infinite}.merge-demo-result .term{box-shadow:0 0 0 2px #f5a52459,var(--shadow-soft)}@keyframes brand-spin{to{transform:rotate(360deg)}}@keyframes term-content-enter{0%{opacity:0;transform:translateY(2px) scale(.985)}to{opacity:1;transform:none}}@keyframes term-fresh-settle{0%{transform:scale(.94);box-shadow:0 0 0 3px #f5a52466,var(--shadow-soft)}60%{transform:scale(1.02)}to{transform:scale(1);box-shadow:var(--shadow-soft)}}@keyframes merge-ready-pulse{0%,to{box-shadow:0 5px 16px #f5a52480,0 0 #f5a52466,inset 0 1px #ffffff80}50%{box-shadow:0 5px 16px #f5a52480,0 0 0 7px #f5a52400,inset 0 1px #ffffff80}}@keyframes coach-ring-pulse{0%,to{box-shadow:0 0 0 4px #f5a52438}55%{box-shadow:0 0 0 9px #f5a52405}}@keyframes coach-dash{to{stroke-dashoffset:-12}}@keyframes stage-next-pulse{0%,to{box-shadow:0 0 #f5a52473,var(--shadow-soft)}55%{box-shadow:0 0 0 8px #f5a52400,var(--shadow-soft)}}@keyframes demo-tap{0%{opacity:.9;transform:scale(.4)}60%,to{opacity:0;transform:scale(1.8)}}@keyframes merge-demo-row-a{0%,46%{opacity:1}54%,90%{opacity:0}to{opacity:1}}@keyframes merge-demo-row-b{0%,35%{transform:none;opacity:1}48%{transform:translateY(calc(-1 * var(--merge-demo-shift, 44px)));opacity:1}54%,88%{transform:translateY(calc(-1 * var(--merge-demo-shift, 44px)));opacity:0}90%{transform:none;opacity:0}to{transform:none;opacity:1}}@keyframes merge-demo-result{0%,50%{opacity:0;transform:translate(-50%) scale(.92)}62%,88%{opacity:1;transform:translate(-50%) scale(1)}96%,to{opacity:0;transform:translate(-50%) scale(.98)}}@keyframes coach-text-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes beam-out{0%{transform:translateY(-50%) scaleX(0);opacity:1}55%{transform:translateY(-50%) scaleX(1);opacity:.95}to{transform:translateY(-50%) scaleX(1);opacity:0}}@keyframes beam-in{0%{transform:translateY(-50%) scaleX(1);opacity:.85}to{transform:translateY(-50%) scaleX(0);opacity:0}}@keyframes beam-core{0%{transform:translate(-50%,-50%) scale(.3);opacity:1}to{transform:translate(-50%,-50%) scale(1.7);opacity:0}}@keyframes beam-core-in{0%{transform:translate(-50%,-50%) scale(1.4);opacity:0}60%{opacity:.8}to{transform:translate(-50%,-50%) scale(.3);opacity:0}}@keyframes factor-othello-flip{0%{transform:rotateY(180deg) scale(var(--factor-scale, 1))}to{transform:rotateY(0) scale(var(--factor-scale, 1))}}@keyframes factor-flip-origin-burst{0%{transform:rotateY(180deg) scale(calc(var(--factor-scale, 1) * .7))}55%{transform:rotateY(24deg) scale(calc(var(--factor-scale, 1) * 1.28))}to{transform:rotateY(0) scale(var(--factor-scale, 1))}}@keyframes math-rows-collapse{0%{height:var(--rows-full-height)}to{height:var(--rows-collapsed-height)}}@keyframes math-rows-expand{0%{height:var(--rows-collapsed-height)}to{height:var(--rows-full-height)}}@keyframes math-row-gather{0%{transform:translateY(0);opacity:1}to{transform:translateY(var(--row-shift, 0px));opacity:var(--row-gather-opacity, 0)}}@keyframes math-row-release{0%{transform:translateY(var(--row-shift, 0px));opacity:0}to{transform:translateY(0);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:-9px;top:-9px;width:calc(100% + 18px);height:calc(100% + 18px)}45%,62%{left:-9px;top:-9px;width:calc(100% + 18px);height:calc(100% + 18px)}to{left:calc(var(--merge-card-left, 0px) - 1px);top:calc(var(--merge-card-top, 0px) - 1px);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) + 18px);height:calc(var(--group-collapsed-height, 0px) + 18px)}to{width:calc(var(--group-full-width, 0px) + 18px);height:calc(var(--group-full-height, 0px) + 18px)}}@keyframes term-preview-move{0%{transform:translate(var(--term-dx, 0px),var(--term-dy, 0px))}to{transform:translate(0)}}@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 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)}}@media(max-width:899px){.game-layout,.game-layout.is-playground-layout{grid-template-columns:minmax(0,1fr)}.game-layout.is-playground-layout{grid-template-rows:auto minmax(0,1fr)}.palette-panel{display:flex;align-items:flex-start;gap:16px;overflow-x:auto;overflow-y:hidden;padding:10px 12px;border-right:0;border-bottom:1px solid var(--line)}.palette-header,.palette-section{flex:none;margin-bottom:0}.palette-grid{grid-auto-flow:column;grid-template-columns:none;grid-template-rows:repeat(2,minmax(0,auto))}.top-bar{padding:0 10px}.top-bar-left{flex:1 1 auto;min-width:0}.top-bar-right{flex:0 0 auto}.display-button{min-width:0;height:38px;padding:0 12px}.top-bar-stage,.top-bar-world-full{display:none}.top-bar-world-short{display:inline}.stage-goal-banner{top:152px;margin-top:156px}.stage-goal-text{font-size:1.45rem}.rule-hud{left:0;right:0;top:var(--top-bar-height);bottom:auto;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:8px;width:100%;padding:8px 10px 9px;border-left:0;border-right:0;border-top:0;border-radius:0;box-shadow:0 6px 14px #121c2d0f}.rule-hud-header{display:none}.rule-hud-block{padding-right:20px}.rule-hud-ladder{flex-wrap:wrap}.rule-hud-block-transform{flex:1 1 100%}.rule-hud-block-merge,.rule-hud-block-ladder{flex:1 1 0;min-width:0}.rule-hud-block .rule-hud-content{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 0}.rule-hud-transform-row,.rule-hud-block-transform .rule-hud-math-row{flex:1 1 0;justify-content:center;min-width:0}.rule-hud-block-transform .rule-hud-math-row{display:inline-flex}.rule-hud-transform-row+.rule-hud-transform-row,.rule-hud-block-transform .rule-hud-math-row+.rule-hud-math-row{border-left:1px solid var(--line)}.rule-hud-tab{display:grid}.rule-hud-chip{left:50%;right:auto;top:var(--top-bar-height);bottom:auto;padding:3px 16px 5px;border-top:0;border-radius:0 0 12px 12px;font-size:.74rem;transform:translate(-50%)}.rule-hud-chip .rule-hud-chip-chevron{transform:none}.game-layout.is-playground-layout~.rule-hud{inset:auto 10px 10px;width:auto;border:1px solid var(--line);border-radius:14px}.game-layout.is-playground-layout~.rule-hud .rule-hud-tab{display:none}.game-layout.is-playground-layout~.rule-hud .rule-hud-header{display:flex;flex:1 1 100%}.game-layout.is-playground-layout~.rule-hud-chip{inset:auto 10px 10px auto;border-top:1px solid var(--line);border-radius:999px;transform:none}.game-layout.is-playground-layout~.rule-hud-chip .rule-hud-chip-chevron{transform:rotate(180deg)}}@media(max-width:640px){.icon-button{width:40px;height:40px}.top-bar-world{font-size:.9rem}.stage-tile{min-height:104px;padding:10px 11px 8px}.stage-tile-visual{min-height:42px}.stage-tile-play{width:40px;height:40px}.rule-demo-cheat-row{padding:0 8px;gap:5px}.rule-cheat-glyph{width:15px;height:15px}.rule-cheat-glyph.is-target{width:18px;height:18px}.home{padding:0 16px 14px}.stage-completion-title{font-size:1.7rem}.merge-button{height:42px;padding:0 20px}.split-button{width:32px;height:32px;top:-14px;right:-14px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
