@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-cyrillic-ext-400-normal-DN8azYTI.woff2)format("woff2"),url(./alegreya-cyrillic-ext-400-normal-Cj1kF6KR.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-cyrillic-400-normal-72Io3whm.woff2)format("woff2"),url(./alegreya-cyrillic-400-normal-VT77nruV.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-greek-ext-400-normal-ueNFnE5s.woff2)format("woff2"),url(./alegreya-greek-ext-400-normal-UcF-MPys.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-greek-400-normal-BI7tMDVB.woff2)format("woff2"),url(./alegreya-greek-400-normal-BTnTTGc4.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-vietnamese-400-normal-D8CgJdBg.woff2)format("woff2"),url(./alegreya-vietnamese-400-normal-D-Jsyxvv.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-latin-ext-400-normal-BJ1luULk.woff2)format("woff2"),url(./alegreya-latin-ext-400-normal-I24-Fo_X.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-latin-400-normal-BLlBRtDv.woff2)format("woff2"),url(./alegreya-latin-400-normal-BuQWlRPA.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Alegreya;font-style:italic;font-display:swap;font-weight:400;src:url(./alegreya-cyrillic-ext-400-italic-CJ53xJ73.woff2)format("woff2"),url(./alegreya-cyrillic-ext-400-italic-281qz-PX.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya;font-style:italic;font-display:swap;font-weight:400;src:url(./alegreya-cyrillic-400-italic-CzOFVsaV.woff2)format("woff2"),url(./alegreya-cyrillic-400-italic-DSxbt1-2.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya;font-style:italic;font-display:swap;font-weight:400;src:url(./alegreya-greek-ext-400-italic-BqZ1xVE4.woff2)format("woff2"),url(./alegreya-greek-ext-400-italic-EKR1I7m6.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Alegreya;font-style:italic;font-display:swap;font-weight:400;src:url(./alegreya-greek-400-italic-DpcfyKEk.woff2)format("woff2"),url(./alegreya-greek-400-italic-D9g29fJh.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya;font-style:italic;font-display:swap;font-weight:400;src:url(./alegreya-vietnamese-400-italic-CJsk7YCA.woff2)format("woff2"),url(./alegreya-vietnamese-400-italic-DD2hiUnx.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya;font-style:italic;font-display:swap;font-weight:400;src:url(./alegreya-latin-ext-400-italic-Cf8WgXZg.woff2)format("woff2"),url(./alegreya-latin-ext-400-italic-BQgzjtbe.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Alegreya;font-style:italic;font-display:swap;font-weight:400;src:url(./alegreya-latin-400-italic-BXpar-rJ.woff2)format("woff2"),url(./alegreya-latin-400-italic-CJvUQvZT.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-cyrillic-ext-700-normal-Dx8o6fqX.woff2)format("woff2"),url(./alegreya-cyrillic-ext-700-normal-A6q6xEOT.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-cyrillic-700-normal-Bftrb-m-.woff2)format("woff2"),url(./alegreya-cyrillic-700-normal-_o_NBoYw.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-greek-ext-700-normal-DzPShcR4.woff2)format("woff2"),url(./alegreya-greek-ext-700-normal-DQPzd-kK.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-greek-700-normal-ByoPpMZf.woff2)format("woff2"),url(./alegreya-greek-700-normal-mWQ2Ne64.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-vietnamese-700-normal-CvM8am9u.woff2)format("woff2"),url(./alegreya-vietnamese-700-normal-CdvEC7Dz.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-latin-ext-700-normal-CEFih5UF.woff2)format("woff2"),url(./alegreya-latin-ext-700-normal-B6bzkdlx.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-latin-700-normal-Vpz_43wJ.woff2)format("woff2"),url(./alegreya-latin-700-normal-BS7r-qZs.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-cyrillic-ext-800-normal-NAvnb1cP.woff2)format("woff2"),url(./alegreya-cyrillic-ext-800-normal-B_J1akGT.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-cyrillic-800-normal-TM6to0H1.woff2)format("woff2"),url(./alegreya-cyrillic-800-normal-BgJWiuWK.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-greek-ext-800-normal-DvP9ppwE.woff2)format("woff2"),url(./alegreya-greek-ext-800-normal-0h2SvCJs.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-greek-800-normal-CdnvfvV-.woff2)format("woff2"),url(./alegreya-greek-800-normal-BVt059E1.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-vietnamese-800-normal-omuMHNvS.woff2)format("woff2"),url(./alegreya-vietnamese-800-normal-BdE69900.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-latin-ext-800-normal-BjVZYKz5.woff2)format("woff2"),url(./alegreya-latin-ext-800-normal-oEt9nZ3Z.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Alegreya;font-style:normal;font-display:swap;font-weight:800;src:url(./alegreya-latin-800-normal-BcufLBxY.woff2)format("woff2"),url(./alegreya-latin-800-normal-C-QiqklE.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-sans-cyrillic-ext-400-normal-CBouUAPx.woff2)format("woff2"),url(./alegreya-sans-cyrillic-ext-400-normal-ClLgPhqT.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-sans-cyrillic-400-normal-CFUoBDld.woff2)format("woff2"),url(./alegreya-sans-cyrillic-400-normal-C2XSGevv.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-sans-greek-ext-400-normal-CaUEPd_u.woff2)format("woff2"),url(./alegreya-sans-greek-ext-400-normal-D6j-TQLM.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-sans-greek-400-normal-B87Md6o9.woff2)format("woff2"),url(./alegreya-sans-greek-400-normal-8U5NAP_q.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-sans-vietnamese-400-normal-D7fwYHgb.woff2)format("woff2"),url(./alegreya-sans-vietnamese-400-normal-BFvpiE3j.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-sans-latin-ext-400-normal-D7N6b6bd.woff2)format("woff2"),url(./alegreya-sans-latin-ext-400-normal-DpBVrRWA.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:400;src:url(./alegreya-sans-latin-400-normal-DtLlO8BS.woff2)format("woff2"),url(./alegreya-sans-latin-400-normal-DmA8jeke.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-cyrillic-ext-500-normal-BjdEjhHc.woff2)format("woff2"),url(./alegreya-sans-cyrillic-ext-500-normal-CBZLRaMr.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-cyrillic-500-normal-kQHBM3cE.woff2)format("woff2"),url(./alegreya-sans-cyrillic-500-normal-gEBUHwKD.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-greek-ext-500-normal-8OvC5Vmr.woff2)format("woff2"),url(./alegreya-sans-greek-ext-500-normal-Cp0bGOKK.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-greek-500-normal-CjlmbScm.woff2)format("woff2"),url(./alegreya-sans-greek-500-normal-BwxJMQU_.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-vietnamese-500-normal-CFLbXWhL.woff2)format("woff2"),url(./alegreya-sans-vietnamese-500-normal-B1LHNMw0.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-latin-ext-500-normal-TH5u60nj.woff2)format("woff2"),url(./alegreya-sans-latin-ext-500-normal-CxFoZ42m.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(./alegreya-sans-latin-500-normal-DS713u5J.woff2)format("woff2"),url(./alegreya-sans-latin-500-normal-vXxrTKJT.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-cyrillic-ext-700-normal-Cpzx2u2L.woff2)format("woff2"),url(./alegreya-sans-cyrillic-ext-700-normal-YOec_wOb.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-cyrillic-700-normal-BMO00Gdb.woff2)format("woff2"),url(./alegreya-sans-cyrillic-700-normal-qSextXl4.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-greek-ext-700-normal-ChNZoGr1.woff2)format("woff2"),url(./alegreya-sans-greek-ext-700-normal-BVJ8GoGc.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-greek-700-normal-CTof9pYC.woff2)format("woff2"),url(./alegreya-sans-greek-700-normal-BZuMtSJ5.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-vietnamese-700-normal-CHYTK2w7.woff2)format("woff2"),url(./alegreya-sans-vietnamese-700-normal-D0056cUE.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-latin-ext-700-normal-HuHd3-Mg.woff2)format("woff2"),url(./alegreya-sans-latin-ext-700-normal-CkNjzB9Y.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(./alegreya-sans-latin-700-normal-DEbcy2sF.woff2)format("woff2"),url(./alegreya-sans-latin-700-normal-BnzUNlma.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--ink:#0e1424;--ink-deep:#080c18;--panel:#18213a;--panel-2:#1f2a48;--rule:#34405f;--vellum:#e8dfc8;--vellum-dim:#a9a28f;--muted:#7d86a3;--fire:#ff8a3d;--ember:#9e3319;--water:#3ec6e0;--spark:#c9a8ff;--wood:#72cc4d;--mana:#7fa8ff;--hp:#6fe08c;--danger:#ff5f57;--gold:#e9c46a;--serif:"Alegreya", Georgia, serif;--sans:"Alegreya Sans", system-ui, sans-serif;--r-sm:4px;--r-md:8px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--ink);height:100%;color:var(--vellum);margin:0}body{font-family:var(--sans);-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.45;overflow:hidden}#app{position:fixed;inset:0}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.hidden{display:none!important}.muted{color:var(--muted)}h1,h2,h3{font-family:var(--serif);letter-spacing:.01em;margin:0;font-weight:700}a{color:var(--water)}.btn{border-radius:var(--r-sm);background:var(--panel-2);border:1px solid var(--rule);cursor:pointer;font-family:var(--sans);justify-content:center;align-items:center;gap:8px;padding:9px 16px;font-size:15px;font-weight:500;transition:background .12s,border-color .12s,transform 80ms;display:inline-flex}.btn:hover{background:#283559;border-color:#4a5880}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--vellum);color:var(--ink);border-color:var(--vellum);font-weight:700}.btn.primary:hover{background:#fff7e2}.btn.danger{color:#ffb3ad;border-color:#6b2f37}.btn.small{padding:5px 10px;font-size:13px}.btn:disabled{opacity:.45;cursor:not-allowed}.field{gap:4px;display:grid}.field>span{color:var(--vellum-dim);font-size:13px}.field input[type=text],.field input[type=password],.field input[type=number],.field select,textarea{background:var(--ink-deep);border:1px solid var(--rule);border-radius:var(--r-sm);outline:none;padding:8px 10px}.field input:focus,textarea:focus,.field select:focus{border-color:var(--vellum-dim)}.field small{color:var(--muted);font-size:12px}input[type=range]{accent-color:var(--vellum)}input[type=checkbox]{accent-color:var(--vellum);width:16px;height:16px}.toasts{z-index:100;pointer-events:none;gap:8px;display:grid;position:fixed;top:16px;left:50%;transform:translate(-50%)}.toast{background:var(--panel);border:1px solid var(--rule);border-radius:var(--r-sm);padding:8px 14px;transition:opacity .35s,transform .35s;box-shadow:0 6px 24px #0008}.toast-error{color:#ffc5bf;border-color:#7a3540}.toast.out{opacity:0;transform:translateY(-6px)}.menu-screen,.menu-screen .match{position:absolute;inset:0}.menu-screen .match .hud{display:none}.menu-veil{pointer-events:none;background:linear-gradient(90deg,#080c18f0 0%,#080c18d1 34%,#080c1826 70%,#080c1800 100%);position:absolute;inset:0}.menu-col{gap:28px;width:min(420px,100vw - 40px);display:grid;position:absolute;top:50%;left:clamp(20px,7vw,120px);transform:translateY(-50%)}.wordmark{font-family:var(--serif);letter-spacing:-.01em;font-size:clamp(52px,7vw,88px);font-weight:800;line-height:.9}.wordmark .cells{vertical-align:.06em;grid-template-columns:repeat(3,.16em);gap:.03em;margin-left:.12em;display:inline-grid}.wordmark .cells i{background:0 0;border-radius:.03em;width:.16em;height:.16em}.wordmark .cells i.f{background:var(--fire);box-shadow:0 0 .12em var(--fire)}.wordmark .cells i.w{background:var(--water);box-shadow:0 0 .12em var(--water)}.wordmark .cells i.s{background:var(--spark);box-shadow:0 0 .12em var(--spark)}.tagline{font-family:var(--serif);color:var(--vellum-dim);max-width:34ch;margin-top:10px;font-size:19px;font-style:italic}.menu-list{gap:2px;display:grid}.menu-item{text-align:left;cursor:pointer;font-family:var(--serif);color:var(--vellum);background:0 0;border:none;border-bottom:1px solid #34405f99;grid-template-columns:1fr auto;align-items:baseline;gap:12px;padding:12px 2px;font-size:24px;transition:color .12s,padding .15s;display:grid}.menu-item small{font-family:var(--sans);color:var(--muted);font-size:14px}.menu-item:hover,.menu-item:focus-visible{color:#fff;padding-left:10px}.menu-item:hover small{color:var(--vellum-dim)}.profile-row{align-items:end;gap:10px;display:flex}.profile-row .field{flex:1}.hue-swatch{border:2px solid var(--rule);cursor:pointer;border-radius:50%;width:38px;height:38px;padding:0}.menu-foot{color:var(--muted);font-size:13px}.page{background:radial-gradient(1200px 700px at 80% -10%, #1a2445 0%, var(--ink) 60%);position:absolute;inset:0;overflow:auto}.page-inner{max-width:1180px;margin:0 auto;padding:28px 24px 60px}.page-head{align-items:center;gap:16px;margin-bottom:24px;display:flex}.page-head h1{font-size:34px}.page-head .spacer{flex:1}.back{border:1px solid var(--rule);cursor:pointer;background:0 0;border-radius:50%;width:38px;height:38px;font-size:18px}.back:hover{border-color:var(--vellum-dim)}.card{border:1px solid var(--rule);border-radius:var(--r-md);background:#18213acc;padding:20px}.card h2{margin-bottom:12px;font-size:22px}.card h3{margin:16px 0 8px;font-size:17px}.grid2{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;display:grid}.stack{gap:14px;display:grid}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.match{background:var(--ink-deep);position:absolute;inset:0;overflow:hidden}.game-canvas{cursor:crosshair;width:100%;height:100%;display:block;position:absolute;inset:0}.hud{pointer-events:none;font-family:var(--sans);position:absolute;inset:0}.hud button{pointer-events:auto}.hud-top{justify-items:center;gap:8px;display:grid;position:absolute;top:10px;left:0;right:0}.round-info{color:var(--vellum-dim);background:#080c188c;border-radius:999px;padding:3px 12px;font-size:14px}.banner{opacity:0;text-align:center;text-shadow:0 2px 18px #000;margin-top:12vh;transition:opacity .3s,transform .3s;transform:translateY(-8px)}.banner.show{opacity:1;transform:none}.banner-main{font-family:var(--serif);font-size:clamp(40px,6vw,72px);font-weight:800}.banner-sub{color:var(--vellum-dim);font-size:18px}.killfeed{justify-items:end;gap:4px;font-size:14px;display:grid;position:absolute;top:12px;right:14px}.feed-line{border-radius:var(--r-sm);background:#080c18a6;padding:3px 10px;transition:opacity .5s}.feed-line.out{opacity:0}.tags{position:absolute;inset:0}.tag{white-space:nowrap;text-shadow:0 1px 3px #000,0 0 8px #000;font-size:12px;font-weight:700;transition:opacity .2s;position:absolute;top:0;left:0}.hud-bottom{justify-items:center;gap:6px;display:grid;position:absolute;bottom:10px;left:0;right:0}.spell-name{font-family:var(--serif);color:var(--vellum);text-shadow:0 1px 6px #000;min-height:22px;font-size:16px}.bars{grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;width:min(560px,96vw);display:grid}.bar{align-items:center;gap:6px;display:flex}.hp-bar{justify-content:flex-end}.bar .cells{gap:2px;display:flex}.bar .cells i{background:#080c18bf;border:1px solid #34405fe6;border-radius:2px;width:14px;height:9px;display:block;overflow:hidden}.bar .cells i b{transform-origin:0;height:100%;display:block}.hp-bar .cells i b{background:var(--hp);box-shadow:0 0 6px var(--hp)}.hp-bar .cells{flex-direction:row}.mana-bar .cells i b{background:var(--mana);box-shadow:0 0 6px var(--mana)}.mana-bar .cells i.cost{border-color:var(--vellum)}.bar-num{font-variant-numeric:tabular-nums;min-width:26px;color:var(--vellum-dim);font-size:13px}.hp-bar .bar-num{text-align:right;order:-1}.pips{gap:6px;display:flex}.dash-pip,.mirror-pip{border:1px solid var(--rule);width:22px;height:22px;color:var(--muted);background:#080c18bf;border-radius:50%;place-items:center;font-size:11px;display:grid}.dash-pip{background:conic-gradient(#e9c46a40 calc((1 - var(--cd,0)) * 360deg), #080c18bf 0)}.dash-pip.ready{border-color:var(--gold);background:#e9c46a4d}.mirror-pip.on{border-color:var(--vellum);color:var(--vellum)}.hotbar{border:1px solid var(--rule);border-radius:var(--r-md);background:#080c18b8;gap:4px;padding:5px;display:flex}.slot{border:1px solid var(--rule);border-radius:var(--r-sm);cursor:pointer;background:#18213ae6;place-items:center;width:56px;height:56px;padding:0;display:grid;position:relative}.slot.selected{border-color:var(--vellum);box-shadow:0 0 0 1px var(--vellum), 0 0 14px #e8dfc859}.slot.poor .slot-thumb{opacity:.4}.slot.banned:after{content:"";background:linear-gradient(45deg, transparent 46%, var(--danger) 47%, var(--danger) 53%, transparent 54%);position:absolute;inset:6px}.slot.empty{opacity:.5}.slot-key{color:var(--muted);font-size:11px;position:absolute;top:1px;left:4px}.slot-cost{color:var(--mana);font-variant-numeric:tabular-nums;font-size:11px;position:absolute;bottom:1px;right:4px}.hud.dead .hud-bottom{opacity:.4}.scoreboard{border:1px solid var(--rule);border-radius:var(--r-md);z-index:8;background:#0e1424f0;min-width:360px;max-width:calc(100vw - 32px);padding:14px 18px;position:absolute;top:60px;left:50%;overflow-x:auto;transform:translate(-50%)}.scoreboard .board-title{margin-bottom:2px;font-size:24px}.scoreboard .board-sub{color:var(--muted);margin:0 0 8px;font-size:13px}.scoreboard th.num,.scoreboard td.num{text-align:right}.scoreboard td.eff{color:var(--gold);font-weight:700}.scoreboard tr.best td{background:#e9c46a14}.best-tag{color:var(--gold);border:1px solid #7a6a3a;border-radius:999px;margin-left:8px;padding:1px 7px;font-size:11px}.scoreboard table{border-collapse:collapse;width:100%}.scoreboard th{color:var(--muted);text-align:left;padding:4px 8px;font-size:13px;font-weight:500}.scoreboard td{font-variant-numeric:tabular-nums;border-top:1px solid #34405f99;padding:5px 8px}.scoreboard tr.gone{opacity:.45}.dot{border-radius:50%;width:9px;height:9px;margin-right:7px;display:inline-block}.pause{z-index:20;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#080c1899;place-items:center;display:grid;position:absolute;inset:0}.pause-card{background:var(--panel);border:1px solid var(--rule);border-radius:var(--r-md);gap:14px;width:min(480px,92vw);padding:24px 28px;display:grid}.pause-card h2{font-size:30px}.pause-actions{flex-wrap:wrap;gap:10px;display:flex}.keys{grid-template-columns:auto 1fr;gap:4px 14px;margin:6px 0 0;font-size:14px;display:grid}.keys dt{color:var(--vellum);font-weight:700}.keys dd{color:var(--vellum-dim);margin:0}.side-panel{border:1px solid var(--rule);border-radius:var(--r-md);z-index:5;background:#0e1424db;gap:10px;width:240px;padding:12px 14px;font-size:14px;display:grid;position:absolute;top:12px;left:12px}.side-panel h3{font-size:17px}.side-panel .row{gap:6px}.side-panel label.check{cursor:pointer;align-items:center;gap:8px;display:flex}.side-panel.collapsed>:not(.panel-head){display:none}.panel-head{justify-content:space-between;align-items:center;display:flex}.panel-head button{cursor:pointer;color:var(--muted);background:0 0;border:none}.overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:30;background:#080c18b8;place-items:center;display:grid;position:absolute;inset:0}.book{background:var(--panel);border:1px solid var(--rule);border-radius:var(--r-md);gap:16px;width:min(980px,96vw);max-height:92vh;padding:22px;display:grid;overflow:auto}.book-head{align-items:center;gap:12px;display:flex}.book-head h2{flex:1;font-size:28px}.book-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.spell-card{border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--ink-deep);cursor:grab;text-align:left;grid-template-columns:52px 1fr;align-items:center;gap:10px;padding:8px;display:grid}.spell-card:hover{border-color:#4a5880}.spell-card.dragging{opacity:.4}.spell-card .nm{font-family:var(--serif);font-size:15px;font-weight:700;line-height:1.15}.spell-card .meta{color:var(--muted);font-size:12px}.spell-card.banned{border-color:#6b2f37}.book-hotbar{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.book-hotbar .slot{cursor:pointer;width:64px;height:64px}.book-hotbar .slot.drop{border-color:var(--gold);box-shadow:0 0 12px #e9c46a66}.book-hint{color:var(--muted);text-align:center;font-size:13px}.workshop{grid-template-columns:minmax(0,1fr) 360px;gap:20px;display:grid}@media (max-width:960px){.workshop{grid-template-columns:1fr}}.designer{gap:14px;display:grid}.palette{flex-wrap:wrap;gap:6px;display:flex}.swatch{border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--ink-deep);cursor:pointer;align-items:center;gap:7px;padding:6px 10px;font-size:14px;display:flex}.swatch i{border-radius:3px;width:14px;height:14px;display:block}.swatch.on{border-color:var(--vellum);background:var(--panel-2)}.design-grid{background:var(--rule);border:1px solid var(--rule);border-radius:var(--r-sm);aspect-ratio:1;-webkit-user-select:none;user-select:none;touch-action:none;gap:2px;width:min(440px,100%);padding:2px;display:grid}.design-grid div{background:var(--ink-deep);cursor:crosshair;border-radius:2px}.design-grid div.c3{background:var(--fire);box-shadow:inset 0 0 6px #fff6}.design-grid div.c4{background:var(--ember)}.design-grid div.c5{background:var(--water);box-shadow:inset 0 0 6px #fff6}.design-grid div.c6{background:var(--spark);box-shadow:inset 0 0 6px #fff8}.design-grid div.c8{background:var(--wood);box-shadow:inset 0 0 6px #fff5}.design-grid div.fwd{outline-offset:-3px;outline:1px dashed #e9c46a99}.dir-pick{grid-template-columns:repeat(3,34px);gap:3px;display:grid}.dir-pick button{border:1px solid var(--rule);background:var(--ink-deep);border-radius:var(--r-sm);cursor:pointer;width:34px;height:34px;font-size:15px}.dir-pick button.on{border-color:var(--gold);color:var(--gold)}.dir-pick span{display:block}.preview-box{aspect-ratio:1;border:1px solid var(--rule);border-radius:var(--r-sm);background:var(--ink-deep);width:100%;position:relative;overflow:hidden}.preview-box canvas{width:100%;height:100%;position:absolute;inset:0}.stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stat{background:var(--ink-deep);border:1px solid var(--rule);border-radius:var(--r-sm);padding:8px}.stat b{font-family:var(--serif);font-variant-numeric:tabular-nums;font-size:22px;display:block}.stat span{color:var(--muted);font-size:12px}.my-spells{gap:6px;max-height:260px;display:grid;overflow:auto}.room-code{font-family:var(--serif);letter-spacing:.12em;font-size:46px;font-weight:800}.players{gap:8px;display:grid}.player-row{background:var(--ink-deep);border:1px solid var(--rule);border-radius:var(--r-sm);grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:8px 10px;display:grid}.player-row .loadout{gap:2px;display:flex}.player-row .loadout img{background:var(--panel);border-radius:3px;width:24px;height:24px}.player-row .loadout img.banned{outline:1px solid var(--danger);opacity:.5}.badge{border:1px solid var(--rule);color:var(--vellum-dim);border-radius:999px;padding:2px 8px;font-size:12px}.badge.ready{color:var(--hp);border-color:#3a7a50}.badge.host{color:var(--gold);border-color:#7a6a3a}.chat{grid-template-rows:1fr auto;gap:8px;height:220px;display:grid}.chat-log{background:var(--ink-deep);border:1px solid var(--rule);border-radius:var(--r-sm);align-content:start;gap:3px;padding:8px 10px;font-size:14px;display:grid;overflow:auto}.chat-log .sys{color:var(--muted);font-style:italic}.settings-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.setting{gap:4px;display:grid}.setting .lbl{justify-content:space-between;font-size:14px;display:flex}.setting .lbl b{font-variant-numeric:tabular-nums}.setting small{color:var(--muted);font-size:12px}.ban-list{gap:6px;display:grid}.ban-item{align-items:center;gap:8px;font-size:14px;display:flex}.json-box{width:100%;min-height:160px;font-family:ui-monospace,monospace;font-size:12px}.in-match-chat{z-index:6;pointer-events:none;gap:6px;width:320px;display:grid;position:absolute;bottom:120px;left:12px}.in-match-chat .lines{text-shadow:0 1px 3px #000;gap:2px;font-size:14px;display:grid}.in-match-chat .lines div{transition:opacity .6s}.in-match-chat .lines div.old{opacity:0}.in-match-chat input{pointer-events:auto;border:1px solid var(--rule);border-radius:var(--r-sm);background:#080c18d9;outline:none;padding:6px 8px}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important}}.controls{gap:16px;display:grid}.controls h3{margin-bottom:6px;font-size:16px}.bind-rows{gap:4px;display:grid}.bind-row{grid-template-columns:minmax(140px,1fr) 130px 130px 30px;align-items:center;gap:6px;font-size:14px;display:grid}.bind-row.warn>span:first-child:after{content:" — unbound";color:#ffb3ad}.bind{border-radius:var(--r-sm);background:var(--ink-deep);border:1px solid var(--rule);cursor:pointer;font-family:var(--sans);text-align:center;min-height:30px;padding:5px 8px;font-size:14px}.bind:hover:not(:disabled){border-color:var(--vellum-dim)}.bind.empty{color:var(--muted)}.bind:disabled{opacity:.35;cursor:default}.bind.listening{border-color:var(--gold);color:var(--gold);box-shadow:0 0 0 1px var(--gold)}.bind.fixed-key{cursor:default;color:var(--vellum-dim)}.bind-reset{color:var(--muted);cursor:pointer;background:0 0;border:none;font-size:16px}.bind-reset:disabled{opacity:.25;cursor:default}@media (max-width:560px){.bind-row{grid-template-columns:1fr 1fr 1fr 24px}}.buffs{gap:6px;min-height:0;display:flex}.buff{border:1px solid var(--rule);font-variant-numeric:tabular-nums;background:#080c18bf;border-radius:999px;padding:2px 9px;font-size:13px}.buff.ward{color:#f1d58c;border-color:#9c8441}.buff.haste{color:#a9f3f2;border-color:#3f8f92}.buff.over{color:#ffb0d6;border-color:#9a4775}
