/* mochipoke.com — tokens and components from the designer's package (mochipoke-verstka 21.11, tokens.css): manga ink
   outlines, hard shadows without blur, paper with screentone, sakura = stretches, gold = sparkles. Fonts are self-hosted
   subsets (Dela Gothic One, M PLUS Rounded 1c; SIL OFL, /fonts/OFL.txt). No inline styles anywhere (CSP style-src 'self'). */
/* fonts.mjs:begin */
@font-face { font-family: "Dela Gothic One"; src: url("/fonts/DelaGothicOne.woff2") format("woff2"); font-display: swap; unicode-range: U+20-7E, U+A1, U+A7, U+AB, U+B7, U+BB, U+BF, U+C1, U+C4, U+C7-C9, U+D6, U+DC, U+DF-E4, U+E7-EA, U+EC-EE, U+F1-F6, U+F9-FC, U+104-105, U+107, U+10C-10D, U+111, U+119, U+141-142, U+144, U+153, U+15A-15B, U+160-161, U+17A-17E, U+410-427, U+429, U+42B-44F, U+451, U+2013-2014, U+2018-2019, U+201C-201E, U+2022, U+2026, U+202F, U+2116, U+2190, U+2192-2193, U+25A6, U+25B6, U+25CF, U+2605, U+2661, U+2709, U+2726, U+275A, U+2B06, U+3001-3002, U+3005, U+300C-300D, U+301C, U+3042, U+3044, U+3046, U+3048, U+304A-3051, U+3053-3055, U+3057-305B, U+305D-3061, U+3063-306B, U+306D-3070, U+3073, U+3075-307C, U+307E-3084, U+3087-308D, U+308F, U+3092-3093, U+30A1-30A4, U+30A6-30AD, U+30AF-30B1, U+30B3-30BD, U+30BF-30C1, U+30C3-30C4, U+30C6-30CB, U+30CD, U+30CF-30D0, U+30D3-30D7, U+30D9-30ED, U+30EF, U+30F3, U+30FB-30FC; }
@font-face { font-family: "Dela Gothic One"; src: url("/fonts/DelaGothicOne-2.woff2") format("woff2"); font-display: swap; unicode-range: U+4E00, U+4E0A-4E0B, U+4E0D-4E0E, U+4E16, U+4E21, U+4E2D, U+4E38, U+4E3B, U+4E86, U+4E88-4E89, U+4E8B-4E8C, U+4E92, U+4EA1, U+4EBA, U+4ECA, U+4ED5-4ED6, U+4ED8, U+4EE3-4EE5, U+4EF6, U+4EFB, U+4F1A, U+4F1D, U+4F38, U+4F4D, U+4F4F, U+4F53, U+4F55, U+4F5C, U+4F7F, U+4F8B, U+4F9B, U+4F9D, U+4FA1, U+4FB5, U+4FC2, U+4FDD, U+4FE1, U+500B, U+5024, U+505C, U+50B7, U+50CF, U+512A, U+5143, U+5148, U+514D, U+5165, U+5168, U+516C-516D, U+5171, U+5177, U+5185, U+518D, U+5199, U+51A0, U+51E6, U+51FA, U+5206-5207, U+521D, U+5224-5225, U+5229, U+5236-5237, U+523B, U+524A, U+524D, U+5270, U+529B, U+52A0, U+52AA, U+52B9, U+52D5, U+52D9, U+5341, U+534A, U+5358, U+5370, U+539F, U+53B3, U+53BB, U+53C2, U+53CB, U+53CD-53CE, U+53D6-53D7, U+53E4, U+53EF, U+53F7, U+5404, U+5408, U+540C-540D, U+5411, U+5426, U+542B, U+544A, U+547D, U+548C, U+54C1, U+54E1, U+5546, U+554F, U+5584, U+559C, U+55AA, U+55B6, U+5632, U+5668, U+56DE, U+56E0, U+56F2-56F3, U+56FD, U+5728, U+5730, U+57FA, U+5831, U+5834, U+584A, U+5857, U+5883, U+58F2, U+5909, U+5916, U+591A, U+5927, U+5931, U+5951, U+5968, U+596A, U+597D, U+59A8, U+59CB, U+59D4, U+5A92, U+5ACC, U+5B50, U+5B57-5B58, U+5B88-5B89, U+5B8C, U+5B9A, U+5B9F, U+5BA2, U+5BB3, U+5BB9, U+5BC6, U+5BFE, U+5C02, U+5C0A-5C0B, U+5C0E-5C0F, U+5C11, U+5C40, U+5C45, U+5C4A, U+5C55, U+5C5E, U+5C65, U+5DDE, U+5DE5, U+5E03, U+5E0C, U+5E30, U+5E38, U+5E45, U+5E74, U+5E81, U+5E83, U+5EA6, U+5EF6, U+5F15, U+5F31, U+5F35, U+5F37, U+5F53, U+5F71, U+5F85, U+5F8B-5F8C, U+5F93, U+5F97, U+5FA1, U+5FA9, U+5FAE, U+5FC3, U+5FC5, U+5FDC, U+6027, U+60AA, U+60C5, U+60D1, U+610F, U+611B, U+614B, U+61D0, U+6210, U+623B, U+6240, U+624B, U+6255, U+6271, U+627F-6280, U+628A, U+6291, U+6295, U+629E, U+62BC, U+62C5, U+62D2, U+62D8, U+62E0, U+62EC, U+6301, U+6307, U+63A5, U+63A8, U+63AA, U+63B2, U+63B4, U+63CF-63D0, U+63DB, U+63E1, U+63FA, U+640D, U+6483, U+64A4, U+64AE, U+64CD, U+652F, U+6539, U+653B, U+653E, U+6545, U+6557, U+6570, U+6587, U+6599, U+65AD, U+65B0, U+65B9, U+65BD, U+65E2, U+65E5, U+65E9, U+660E, U+6613, U+661F, U+662F, U+6642, U+66F4, U+66F8, U+6700, U+6708-6709, U+671B, U+671F, U+672A-672C, U+6750, U+675F, U+6761, U+6765, U+679A, U+679C, U+67D4, U+6839, U+6848, U+68C4, U+691C, U+696D, U+69CB, U+69D8, U+6A19, U+6A21, U+6A29-6A2A, U+6A5F, U+6B21, U+6B27, U+6B62-6B63, U+6B73, U+6B7B, U+6B8B, U+6BB5, U+6BCE, U+6BD4, U+6C0F, U+6C34, U+6C38, U+6C42, U+6C7A, U+6CC1, U+6CD5, U+6CE3, U+6CE8, U+6D3E, U+6D41, U+6D88, U+6DFB, U+6E08, U+6E1B, U+6E21, U+6E2C, U+6E80, U+6E96, U+6EDE, U+706F, U+70B9, U+7121, U+7136, U+7167, U+7247-7248, U+7269, U+7279, U+72B6, U+72EC, U+738B, U+73FE, U+7406, U+751F, U+7528, U+7531, U+7533, U+753B, U+754C, U+756A, U+7570, U+767A-767B, U+7684, U+76CA, U+76E3, U+76EE, U+76F4, U+76F8, U+7701, U+771F, U+7763, U+77E5, U+77ED, U+78BA, U+793A, U+793E, U+79C1, U+79D2, U+79F0, U+79FB, U+7A0E, U+7A2E, U+7A3F, U+7ACB, U+7AEF, U+7B11, U+7B2C, U+7B49, U+7B54, U+7B56, U+7B87, U+7B97, U+7BA1, U+7BC4, U+7C3F, U+7C92, U+7D04, U+7D19, U+7D1B, U+7D20, U+7D30, U+7D42, U+7D4C, U+7D50, U+7D61, U+7D71, U+7D75, U+7D99-7D9A, U+7DE0, U+7E2E, U+7E70, U+7F6E, U+7F72, U+7FA9, U+7FFB, U+8003, U+8005, U+8077, U+80FD, U+8105-8106, U+8108, U+8170, U+81EA, U+81F3, U+822C, U+8272, U+82B1, U+82E5-82E6, U+82F1, U+8336, U+8377, U+8776, U+884C, U+8853, U+8868, U+88C1, U+8907, U+8981, U+898B, U+898F, U+89A7, U+89E3, U+8A00, U+8A02, U+8A08, U+8A17-8A18, U+8A2A, U+8A2D, U+8A31, U+8A33-8A34, U+8A3C, U+8A55, U+8A66, U+8A71-8A73, U+8A8D, U+8A9E, U+8AAC-8AAD, U+8AB0, U+8AB2, U+8ABF, U+8ACB, U+8AFE, U+8B1B, U+8B58, U+8B70, U+8B72, U+8B77, U+8C61, U+8CA0, U+8CA8-8CA9, U+8CAC, U+8CBB-8CBC, U+8CBF, U+8CEA, U+8CFC, U+8D64, U+8D77, U+8D85, U+8D8A, U+8DB3, U+8DE1, U+8DEF, U+8DF3, U+8EAB, U+8EE2, U+8EFD, U+8F09, U+8F44, U+8F9E, U+8FB1, U+8FBC, U+8FD1, U+8FD4, U+8FF0, U+8FF7, U+8FFD, U+9001, U+900F, U+901A, U+901F, U+9023, U+9038, U+9045, U+904B, U+904E, U+9055, U+9060, U+9069, U+9075, U+9078, U+907F, U+90E8, U+90F5, U+914D, U+91CD, U+91CF, U+91D1, U+91E3, U+9332, U+9577, U+9589, U+958B, U+9593, U+95A2, U+9632, U+964D, U+9650, U+9664, U+9694, U+969B, U+96C6, U+96D1, U+96E2, U+96EA, U+96FB, U+975E, U+9762, U+97F3, U+97FF, U+9805, U+9808, U+9818, U+982C-982D, U+983B-983C, U+984C-984D, U+9854, U+9858, U+985E, U+9867, U+9F62, U+FF08-FF09, U+FF0F, U+FF1A-FF1B, U+FF1F; }
@font-face { font-family: "M PLUS Rounded 1c"; font-weight: 500; src: url("/fonts/MPLUSRounded1c-500.woff2") format("woff2"); font-display: swap; unicode-range: U+20-7E, U+A1, U+A7, U+AB, U+B7, U+BB, U+BF, U+C1, U+C4, U+C7-C9, U+D6, U+DC, U+DF-E4, U+E7-EA, U+EC-EE, U+F1-F6, U+F9-FC, U+104-105, U+107, U+10C-10D, U+111, U+119, U+141-142, U+144, U+153, U+15A-15B, U+160-161, U+17A-17E, U+410-427, U+429, U+42B-44F, U+451, U+2013-2014, U+2018-2019, U+201C-201E, U+2022, U+2026, U+202F, U+2116, U+2190, U+2192-2193, U+25A6, U+25B6, U+25CF, U+2605, U+2661, U+2709, U+2726, U+275A, U+2B06, U+3001-3002, U+3005, U+300C-300D, U+301C, U+3042, U+3044, U+3046, U+3048, U+304A-3051, U+3053-3055, U+3057-305B, U+305D-3061, U+3063-306B, U+306D-3070, U+3073, U+3075-307C, U+307E-3084, U+3087-308D, U+308F, U+3092-3093, U+30A1-30A4, U+30A6-30AD, U+30AF-30B1, U+30B3-30BD, U+30BF-30C1, U+30C3-30C4, U+30C6-30CB, U+30CD, U+30CF-30D0, U+30D3-30D7, U+30D9-30ED, U+30EF, U+30F3, U+30FB-30FC; }
@font-face { font-family: "M PLUS Rounded 1c"; font-weight: 500; src: url("/fonts/MPLUSRounded1c-500-2.woff2") format("woff2"); font-display: swap; unicode-range: U+4E00, U+4E0A-4E0B, U+4E0D-4E0E, U+4E16, U+4E21, U+4E2D, U+4E38, U+4E3B, U+4E86, U+4E88-4E89, U+4E8B-4E8C, U+4E92, U+4EA1, U+4EBA, U+4ECA, U+4ED5-4ED6, U+4ED8, U+4EE3-4EE5, U+4EF6, U+4EFB, U+4F1A, U+4F1D, U+4F38, U+4F4D, U+4F4F, U+4F53, U+4F55, U+4F5C, U+4F7F, U+4F8B, U+4F9B, U+4F9D, U+4FA1, U+4FB5, U+4FC2, U+4FDD, U+4FE1, U+500B, U+5024, U+505C, U+50B7, U+50CF, U+512A, U+5143, U+5148, U+514D, U+5165, U+5168, U+516C-516D, U+5171, U+5177, U+5185, U+518D, U+5199, U+51A0, U+51E6, U+51FA, U+5206-5207, U+521D, U+5224-5225, U+5229, U+5236-5237, U+523B, U+524A, U+524D, U+5270, U+529B, U+52A0, U+52AA, U+52B9, U+52D5, U+52D9, U+5341, U+534A, U+5358, U+5370, U+539F, U+53B3, U+53BB, U+53C2, U+53CB, U+53CD-53CE, U+53D6-53D7, U+53E4, U+53EF, U+53F7, U+5404, U+5408, U+540C-540D, U+5411, U+5426, U+542B, U+544A, U+547D, U+548C, U+54C1, U+54E1, U+5546, U+554F, U+5584, U+559C, U+55AA, U+55B6, U+5632, U+5668, U+56DE, U+56E0, U+56F2-56F3, U+56FD, U+5728, U+5730, U+57FA, U+5831, U+5834, U+584A, U+5857, U+5883, U+58F2, U+5909, U+5916, U+591A, U+5927, U+5931, U+5951, U+5968, U+596A, U+597D, U+59A8, U+59CB, U+59D4, U+5A92, U+5ACC, U+5B50, U+5B57-5B58, U+5B88-5B89, U+5B8C, U+5B9A, U+5B9F, U+5BA2, U+5BB3, U+5BB9, U+5BC6, U+5BFE, U+5C02, U+5C0A-5C0B, U+5C0E-5C0F, U+5C11, U+5C40, U+5C45, U+5C4A, U+5C55, U+5C5E, U+5C65, U+5DDE, U+5DE5, U+5E03, U+5E0C, U+5E30, U+5E38, U+5E45, U+5E74, U+5E81, U+5E83, U+5EA6, U+5EF6, U+5F15, U+5F31, U+5F35, U+5F37, U+5F53, U+5F71, U+5F85, U+5F8B-5F8C, U+5F93, U+5F97, U+5FA1, U+5FA9, U+5FAE, U+5FC3, U+5FC5, U+5FDC, U+6027, U+60AA, U+60C5, U+60D1, U+610F, U+611B, U+614B, U+61D0, U+6210, U+623B, U+6240, U+624B, U+6255, U+6271, U+627F-6280, U+628A, U+6291, U+6295, U+629E, U+62BC, U+62C5, U+62D2, U+62D8, U+62E0, U+62EC, U+6301, U+6307, U+63A5, U+63A8, U+63AA, U+63B2, U+63B4, U+63CF-63D0, U+63DB, U+63E1, U+63FA, U+640D, U+6483, U+64A4, U+64AE, U+64CD, U+652F, U+6539, U+653B, U+653E, U+6545, U+6557, U+6570, U+6587, U+6599, U+65AD, U+65B0, U+65B9, U+65BD, U+65E2, U+65E5, U+65E9, U+660E, U+6613, U+661F, U+662F, U+6642, U+66F4, U+66F8, U+6700, U+6708-6709, U+671B, U+671F, U+672A-672C, U+6750, U+675F, U+6761, U+6765, U+679A, U+679C, U+67D4, U+6839, U+6848, U+68C4, U+691C, U+696D, U+69CB, U+69D8, U+6A19, U+6A21, U+6A29-6A2A, U+6A5F, U+6B21, U+6B27, U+6B62-6B63, U+6B73, U+6B7B, U+6B8B, U+6BB5, U+6BCE, U+6BD4, U+6C0F, U+6C34, U+6C38, U+6C42, U+6C7A, U+6CC1, U+6CD5, U+6CE3, U+6CE8, U+6D3E, U+6D41, U+6D88, U+6DFB, U+6E08, U+6E1B, U+6E21, U+6E2C, U+6E80, U+6E96, U+6EDE, U+706F, U+70B9, U+7121, U+7136, U+7167, U+7247-7248, U+7269, U+7279, U+72B6, U+72EC, U+738B, U+73FE, U+7406, U+751F, U+7528, U+7531, U+7533, U+753B, U+754C, U+756A, U+7570, U+767A-767B, U+7684, U+76CA, U+76E3, U+76EE, U+76F4, U+76F8, U+7701, U+771F, U+7763, U+77E5, U+77ED, U+78BA, U+793A, U+793E, U+79C1, U+79D2, U+79F0, U+79FB, U+7A0E, U+7A2E, U+7A3F, U+7ACB, U+7AEF, U+7B11, U+7B2C, U+7B49, U+7B54, U+7B56, U+7B87, U+7B97, U+7BA1, U+7BC4, U+7C3F, U+7C92, U+7D04, U+7D19, U+7D1B, U+7D20, U+7D30, U+7D42, U+7D4C, U+7D50, U+7D61, U+7D71, U+7D75, U+7D99-7D9A, U+7DE0, U+7E2E, U+7E70, U+7F6E, U+7F72, U+7FA9, U+7FFB, U+8003, U+8005, U+8077, U+80FD, U+8105-8106, U+8108, U+8170, U+81EA, U+81F3, U+822C, U+8272, U+82B1, U+82E5-82E6, U+82F1, U+8336, U+8377, U+8776, U+884C, U+8853, U+8868, U+88C1, U+8907, U+8981, U+898B, U+898F, U+89A7, U+89E3, U+8A00, U+8A02, U+8A08, U+8A17-8A18, U+8A2A, U+8A2D, U+8A31, U+8A33-8A34, U+8A3C, U+8A55, U+8A66, U+8A71-8A73, U+8A8D, U+8A9E, U+8AAC-8AAD, U+8AB0, U+8AB2, U+8ABF, U+8ACB, U+8AFE, U+8B1B, U+8B58, U+8B70, U+8B72, U+8B77, U+8C61, U+8CA0, U+8CA8-8CA9, U+8CAC, U+8CBB-8CBC, U+8CBF, U+8CEA, U+8CFC, U+8D64, U+8D77, U+8D85, U+8D8A, U+8DB3, U+8DE1, U+8DEF, U+8DF3, U+8EAB, U+8EE2, U+8EFD, U+8F09, U+8F44, U+8F9E, U+8FB1, U+8FBC, U+8FD1, U+8FD4, U+8FF0, U+8FF7, U+8FFD, U+9001, U+900F, U+901A, U+901F, U+9023, U+9038, U+9045, U+904B, U+904E, U+9055, U+9060, U+9069, U+9075, U+9078, U+907F, U+90E8, U+90F5, U+914D, U+91CD, U+91CF, U+91D1, U+91E3, U+9332, U+9577, U+9589, U+958B, U+9593, U+95A2, U+9632, U+964D, U+9650, U+9664, U+9694, U+969B, U+96C6, U+96D1, U+96E2, U+96EA, U+96FB, U+975E, U+9762, U+97F3, U+97FF, U+9805, U+9808, U+9818, U+982C-982D, U+983B-983C, U+984C-984D, U+9854, U+9858, U+985E, U+9867, U+9F62, U+FF08-FF09, U+FF0F, U+FF1A-FF1B, U+FF1F; }
@font-face { font-family: "M PLUS Rounded 1c"; font-weight: 700; src: url("/fonts/MPLUSRounded1c-700.woff2") format("woff2"); font-display: swap; unicode-range: U+20-7E, U+A1, U+A7, U+AB, U+B7, U+BB, U+BF, U+C1, U+C4, U+C7-C9, U+D6, U+DC, U+DF-E4, U+E7-EA, U+EC-EE, U+F1-F6, U+F9-FC, U+104-105, U+107, U+10C-10D, U+111, U+119, U+141-142, U+144, U+153, U+15A-15B, U+160-161, U+17A-17E, U+410-427, U+429, U+42B-44F, U+451, U+2013-2014, U+2018-2019, U+201C-201E, U+2022, U+2026, U+202F, U+2116, U+2190, U+2192-2193, U+25A6, U+25B6, U+25CF, U+2605, U+2661, U+2709, U+2726, U+275A, U+2B06, U+3001-3002, U+3005, U+300C-300D, U+301C, U+3042, U+3044, U+3046, U+3048, U+304A-3051, U+3053-3055, U+3057-305B, U+305D-3061, U+3063-306B, U+306D-3070, U+3073, U+3075-307C, U+307E-3084, U+3087-308D, U+308F, U+3092-3093, U+30A1-30A4, U+30A6-30AD, U+30AF-30B1, U+30B3-30BD, U+30BF-30C1, U+30C3-30C4, U+30C6-30CB, U+30CD, U+30CF-30D0, U+30D3-30D7, U+30D9-30ED, U+30EF, U+30F3, U+30FB-30FC; }
@font-face { font-family: "M PLUS Rounded 1c"; font-weight: 700; src: url("/fonts/MPLUSRounded1c-700-2.woff2") format("woff2"); font-display: swap; unicode-range: U+4E00, U+4E0A-4E0B, U+4E0D-4E0E, U+4E16, U+4E21, U+4E2D, U+4E38, U+4E3B, U+4E86, U+4E88-4E89, U+4E8B-4E8C, U+4E92, U+4EA1, U+4EBA, U+4ECA, U+4ED5-4ED6, U+4ED8, U+4EE3-4EE5, U+4EF6, U+4EFB, U+4F1A, U+4F1D, U+4F38, U+4F4D, U+4F4F, U+4F53, U+4F55, U+4F5C, U+4F7F, U+4F8B, U+4F9B, U+4F9D, U+4FA1, U+4FB5, U+4FC2, U+4FDD, U+4FE1, U+500B, U+5024, U+505C, U+50B7, U+50CF, U+512A, U+5143, U+5148, U+514D, U+5165, U+5168, U+516C-516D, U+5171, U+5177, U+5185, U+518D, U+5199, U+51A0, U+51E6, U+51FA, U+5206-5207, U+521D, U+5224-5225, U+5229, U+5236-5237, U+523B, U+524A, U+524D, U+5270, U+529B, U+52A0, U+52AA, U+52B9, U+52D5, U+52D9, U+5341, U+534A, U+5358, U+5370, U+539F, U+53B3, U+53BB, U+53C2, U+53CB, U+53CD-53CE, U+53D6-53D7, U+53E4, U+53EF, U+53F7, U+5404, U+5408, U+540C-540D, U+5411, U+5426, U+542B, U+544A, U+547D, U+548C, U+54C1, U+54E1, U+5546, U+554F, U+5584, U+559C, U+55AA, U+55B6, U+5632, U+5668, U+56DE, U+56E0, U+56F2-56F3, U+56FD, U+5728, U+5730, U+57FA, U+5831, U+5834, U+584A, U+5857, U+5883, U+58F2, U+5909, U+5916, U+591A, U+5927, U+5931, U+5951, U+5968, U+596A, U+597D, U+59A8, U+59CB, U+59D4, U+5A92, U+5ACC, U+5B50, U+5B57-5B58, U+5B88-5B89, U+5B8C, U+5B9A, U+5B9F, U+5BA2, U+5BB3, U+5BB9, U+5BC6, U+5BFE, U+5C02, U+5C0A-5C0B, U+5C0E-5C0F, U+5C11, U+5C40, U+5C45, U+5C4A, U+5C55, U+5C5E, U+5C65, U+5DDE, U+5DE5, U+5E03, U+5E0C, U+5E30, U+5E38, U+5E45, U+5E74, U+5E81, U+5E83, U+5EA6, U+5EF6, U+5F15, U+5F31, U+5F35, U+5F37, U+5F53, U+5F71, U+5F85, U+5F8B-5F8C, U+5F93, U+5F97, U+5FA1, U+5FA9, U+5FAE, U+5FC3, U+5FC5, U+5FDC, U+6027, U+60AA, U+60C5, U+60D1, U+610F, U+611B, U+614B, U+61D0, U+6210, U+623B, U+6240, U+624B, U+6255, U+6271, U+627F-6280, U+628A, U+6291, U+6295, U+629E, U+62BC, U+62C5, U+62D2, U+62D8, U+62E0, U+62EC, U+6301, U+6307, U+63A5, U+63A8, U+63AA, U+63B2, U+63B4, U+63CF-63D0, U+63DB, U+63E1, U+63FA, U+640D, U+6483, U+64A4, U+64AE, U+64CD, U+652F, U+6539, U+653B, U+653E, U+6545, U+6557, U+6570, U+6587, U+6599, U+65AD, U+65B0, U+65B9, U+65BD, U+65E2, U+65E5, U+65E9, U+660E, U+6613, U+661F, U+662F, U+6642, U+66F4, U+66F8, U+6700, U+6708-6709, U+671B, U+671F, U+672A-672C, U+6750, U+675F, U+6761, U+6765, U+679A, U+679C, U+67D4, U+6839, U+6848, U+68C4, U+691C, U+696D, U+69CB, U+69D8, U+6A19, U+6A21, U+6A29-6A2A, U+6A5F, U+6B21, U+6B27, U+6B62-6B63, U+6B73, U+6B7B, U+6B8B, U+6BB5, U+6BCE, U+6BD4, U+6C0F, U+6C34, U+6C38, U+6C42, U+6C7A, U+6CC1, U+6CD5, U+6CE3, U+6CE8, U+6D3E, U+6D41, U+6D88, U+6DFB, U+6E08, U+6E1B, U+6E21, U+6E2C, U+6E80, U+6E96, U+6EDE, U+706F, U+70B9, U+7121, U+7136, U+7167, U+7247-7248, U+7269, U+7279, U+72B6, U+72EC, U+738B, U+73FE, U+7406, U+751F, U+7528, U+7531, U+7533, U+753B, U+754C, U+756A, U+7570, U+767A-767B, U+7684, U+76CA, U+76E3, U+76EE, U+76F4, U+76F8, U+7701, U+771F, U+7763, U+77E5, U+77ED, U+78BA, U+793A, U+793E, U+79C1, U+79D2, U+79F0, U+79FB, U+7A0E, U+7A2E, U+7A3F, U+7ACB, U+7AEF, U+7B11, U+7B2C, U+7B49, U+7B54, U+7B56, U+7B87, U+7B97, U+7BA1, U+7BC4, U+7C3F, U+7C92, U+7D04, U+7D19, U+7D1B, U+7D20, U+7D30, U+7D42, U+7D4C, U+7D50, U+7D61, U+7D71, U+7D75, U+7D99-7D9A, U+7DE0, U+7E2E, U+7E70, U+7F6E, U+7F72, U+7FA9, U+7FFB, U+8003, U+8005, U+8077, U+80FD, U+8105-8106, U+8108, U+8170, U+81EA, U+81F3, U+822C, U+8272, U+82B1, U+82E5-82E6, U+82F1, U+8336, U+8377, U+8776, U+884C, U+8853, U+8868, U+88C1, U+8907, U+8981, U+898B, U+898F, U+89A7, U+89E3, U+8A00, U+8A02, U+8A08, U+8A17-8A18, U+8A2A, U+8A2D, U+8A31, U+8A33-8A34, U+8A3C, U+8A55, U+8A66, U+8A71-8A73, U+8A8D, U+8A9E, U+8AAC-8AAD, U+8AB0, U+8AB2, U+8ABF, U+8ACB, U+8AFE, U+8B1B, U+8B58, U+8B70, U+8B72, U+8B77, U+8C61, U+8CA0, U+8CA8-8CA9, U+8CAC, U+8CBB-8CBC, U+8CBF, U+8CEA, U+8CFC, U+8D64, U+8D77, U+8D85, U+8D8A, U+8DB3, U+8DE1, U+8DEF, U+8DF3, U+8EAB, U+8EE2, U+8EFD, U+8F09, U+8F44, U+8F9E, U+8FB1, U+8FBC, U+8FD1, U+8FD4, U+8FF0, U+8FF7, U+8FFD, U+9001, U+900F, U+901A, U+901F, U+9023, U+9038, U+9045, U+904B, U+904E, U+9055, U+9060, U+9069, U+9075, U+9078, U+907F, U+90E8, U+90F5, U+914D, U+91CD, U+91CF, U+91D1, U+91E3, U+9332, U+9577, U+9589, U+958B, U+9593, U+95A2, U+9632, U+964D, U+9650, U+9664, U+9694, U+969B, U+96C6, U+96D1, U+96E2, U+96EA, U+96FB, U+975E, U+9762, U+97F3, U+97FF, U+9805, U+9808, U+9818, U+982C-982D, U+983B-983C, U+984C-984D, U+9854, U+9858, U+985E, U+9867, U+9F62, U+FF08-FF09, U+FF0F, U+FF1A-FF1B, U+FF1F; }
@font-face { font-family: "M PLUS Rounded 1c"; font-weight: 800; src: url("/fonts/MPLUSRounded1c-800.woff2") format("woff2"); font-display: swap; unicode-range: U+20-7E, U+A1, U+A7, U+AB, U+B7, U+BB, U+BF, U+C1, U+C4, U+C7-C9, U+D6, U+DC, U+DF-E4, U+E7-EA, U+EC-EE, U+F1-F6, U+F9-FC, U+104-105, U+107, U+10C-10D, U+111, U+119, U+141-142, U+144, U+153, U+15A-15B, U+160-161, U+17A-17E, U+410-427, U+429, U+42B-44F, U+451, U+2013-2014, U+2018-2019, U+201C-201E, U+2022, U+2026, U+202F, U+2116, U+2190, U+2192-2193, U+25A6, U+25B6, U+25CF, U+2605, U+2661, U+2709, U+2726, U+275A, U+2B06, U+3001-3002, U+3005, U+300C-300D, U+301C, U+3042, U+3044, U+3046, U+3048, U+304A-3051, U+3053-3055, U+3057-305B, U+305D-3061, U+3063-306B, U+306D-3070, U+3073, U+3075-307C, U+307E-3084, U+3087-308D, U+308F, U+3092-3093, U+30A1-30A4, U+30A6-30AD, U+30AF-30B1, U+30B3-30BD, U+30BF-30C1, U+30C3-30C4, U+30C6-30CB, U+30CD, U+30CF-30D0, U+30D3-30D7, U+30D9-30ED, U+30EF, U+30F3, U+30FB-30FC; }
@font-face { font-family: "M PLUS Rounded 1c"; font-weight: 800; src: url("/fonts/MPLUSRounded1c-800-2.woff2") format("woff2"); font-display: swap; unicode-range: U+4E00, U+4E0A-4E0B, U+4E0D-4E0E, U+4E16, U+4E21, U+4E2D, U+4E38, U+4E3B, U+4E86, U+4E88-4E89, U+4E8B-4E8C, U+4E92, U+4EA1, U+4EBA, U+4ECA, U+4ED5-4ED6, U+4ED8, U+4EE3-4EE5, U+4EF6, U+4EFB, U+4F1A, U+4F1D, U+4F38, U+4F4D, U+4F4F, U+4F53, U+4F55, U+4F5C, U+4F7F, U+4F8B, U+4F9B, U+4F9D, U+4FA1, U+4FB5, U+4FC2, U+4FDD, U+4FE1, U+500B, U+5024, U+505C, U+50B7, U+50CF, U+512A, U+5143, U+5148, U+514D, U+5165, U+5168, U+516C-516D, U+5171, U+5177, U+5185, U+518D, U+5199, U+51A0, U+51E6, U+51FA, U+5206-5207, U+521D, U+5224-5225, U+5229, U+5236-5237, U+523B, U+524A, U+524D, U+5270, U+529B, U+52A0, U+52AA, U+52B9, U+52D5, U+52D9, U+5341, U+534A, U+5358, U+5370, U+539F, U+53B3, U+53BB, U+53C2, U+53CB, U+53CD-53CE, U+53D6-53D7, U+53E4, U+53EF, U+53F7, U+5404, U+5408, U+540C-540D, U+5411, U+5426, U+542B, U+544A, U+547D, U+548C, U+54C1, U+54E1, U+5546, U+554F, U+5584, U+559C, U+55AA, U+55B6, U+5632, U+5668, U+56DE, U+56E0, U+56F2-56F3, U+56FD, U+5728, U+5730, U+57FA, U+5831, U+5834, U+584A, U+5857, U+5883, U+58F2, U+5909, U+5916, U+591A, U+5927, U+5931, U+5951, U+5968, U+596A, U+597D, U+59A8, U+59CB, U+59D4, U+5A92, U+5ACC, U+5B50, U+5B57-5B58, U+5B88-5B89, U+5B8C, U+5B9A, U+5B9F, U+5BA2, U+5BB3, U+5BB9, U+5BC6, U+5BFE, U+5C02, U+5C0A-5C0B, U+5C0E-5C0F, U+5C11, U+5C40, U+5C45, U+5C4A, U+5C55, U+5C5E, U+5C65, U+5DDE, U+5DE5, U+5E03, U+5E0C, U+5E30, U+5E38, U+5E45, U+5E74, U+5E81, U+5E83, U+5EA6, U+5EF6, U+5F15, U+5F31, U+5F35, U+5F37, U+5F53, U+5F71, U+5F85, U+5F8B-5F8C, U+5F93, U+5F97, U+5FA1, U+5FA9, U+5FAE, U+5FC3, U+5FC5, U+5FDC, U+6027, U+60AA, U+60C5, U+60D1, U+610F, U+611B, U+614B, U+61D0, U+6210, U+623B, U+6240, U+624B, U+6255, U+6271, U+627F-6280, U+628A, U+6291, U+6295, U+629E, U+62BC, U+62C5, U+62D2, U+62D8, U+62E0, U+62EC, U+6301, U+6307, U+63A5, U+63A8, U+63AA, U+63B2, U+63B4, U+63CF-63D0, U+63DB, U+63E1, U+63FA, U+640D, U+6483, U+64A4, U+64AE, U+64CD, U+652F, U+6539, U+653B, U+653E, U+6545, U+6557, U+6570, U+6587, U+6599, U+65AD, U+65B0, U+65B9, U+65BD, U+65E2, U+65E5, U+65E9, U+660E, U+6613, U+661F, U+662F, U+6642, U+66F4, U+66F8, U+6700, U+6708-6709, U+671B, U+671F, U+672A-672C, U+6750, U+675F, U+6761, U+6765, U+679A, U+679C, U+67D4, U+6839, U+6848, U+68C4, U+691C, U+696D, U+69CB, U+69D8, U+6A19, U+6A21, U+6A29-6A2A, U+6A5F, U+6B21, U+6B27, U+6B62-6B63, U+6B73, U+6B7B, U+6B8B, U+6BB5, U+6BCE, U+6BD4, U+6C0F, U+6C34, U+6C38, U+6C42, U+6C7A, U+6CC1, U+6CD5, U+6CE3, U+6CE8, U+6D3E, U+6D41, U+6D88, U+6DFB, U+6E08, U+6E1B, U+6E21, U+6E2C, U+6E80, U+6E96, U+6EDE, U+706F, U+70B9, U+7121, U+7136, U+7167, U+7247-7248, U+7269, U+7279, U+72B6, U+72EC, U+738B, U+73FE, U+7406, U+751F, U+7528, U+7531, U+7533, U+753B, U+754C, U+756A, U+7570, U+767A-767B, U+7684, U+76CA, U+76E3, U+76EE, U+76F4, U+76F8, U+7701, U+771F, U+7763, U+77E5, U+77ED, U+78BA, U+793A, U+793E, U+79C1, U+79D2, U+79F0, U+79FB, U+7A0E, U+7A2E, U+7A3F, U+7ACB, U+7AEF, U+7B11, U+7B2C, U+7B49, U+7B54, U+7B56, U+7B87, U+7B97, U+7BA1, U+7BC4, U+7C3F, U+7C92, U+7D04, U+7D19, U+7D1B, U+7D20, U+7D30, U+7D42, U+7D4C, U+7D50, U+7D61, U+7D71, U+7D75, U+7D99-7D9A, U+7DE0, U+7E2E, U+7E70, U+7F6E, U+7F72, U+7FA9, U+7FFB, U+8003, U+8005, U+8077, U+80FD, U+8105-8106, U+8108, U+8170, U+81EA, U+81F3, U+822C, U+8272, U+82B1, U+82E5-82E6, U+82F1, U+8336, U+8377, U+8776, U+884C, U+8853, U+8868, U+88C1, U+8907, U+8981, U+898B, U+898F, U+89A7, U+89E3, U+8A00, U+8A02, U+8A08, U+8A17-8A18, U+8A2A, U+8A2D, U+8A31, U+8A33-8A34, U+8A3C, U+8A55, U+8A66, U+8A71-8A73, U+8A8D, U+8A9E, U+8AAC-8AAD, U+8AB0, U+8AB2, U+8ABF, U+8ACB, U+8AFE, U+8B1B, U+8B58, U+8B70, U+8B72, U+8B77, U+8C61, U+8CA0, U+8CA8-8CA9, U+8CAC, U+8CBB-8CBC, U+8CBF, U+8CEA, U+8CFC, U+8D64, U+8D77, U+8D85, U+8D8A, U+8DB3, U+8DE1, U+8DEF, U+8DF3, U+8EAB, U+8EE2, U+8EFD, U+8F09, U+8F44, U+8F9E, U+8FB1, U+8FBC, U+8FD1, U+8FD4, U+8FF0, U+8FF7, U+8FFD, U+9001, U+900F, U+901A, U+901F, U+9023, U+9038, U+9045, U+904B, U+904E, U+9055, U+9060, U+9069, U+9075, U+9078, U+907F, U+90E8, U+90F5, U+914D, U+91CD, U+91CF, U+91D1, U+91E3, U+9332, U+9577, U+9589, U+958B, U+9593, U+95A2, U+9632, U+964D, U+9650, U+9664, U+9694, U+969B, U+96C6, U+96D1, U+96E2, U+96EA, U+96FB, U+975E, U+9762, U+97F3, U+97FF, U+9805, U+9808, U+9818, U+982C-982D, U+983B-983C, U+984C-984D, U+9854, U+9858, U+985E, U+9867, U+9F62, U+FF08-FF09, U+FF0F, U+FF1A-FF1B, U+FF1F; }
/* fonts.mjs:end */

:root {
  --ink: #1B1430; --paper: #FFF7EE; --white: #fff; --sakura: #FF4F8B; --sakura-dark: #E0306E; --sakura-light: #FFD6E4;
  --hero: #FFE3EE; --blush: #FF8FB1; --blush-strong: #FF6F9F; --gold: #FFC23D; --lilac: #8B6CFF; --muted: #5A4E70;
  --night: #2A2048; --mochi: #FFFDF8; --leaf: #9BD98F;
  --display: "Dela Gothic One", "M PLUS Rounded 1c", system-ui, sans-serif;
  --body: "M PLUS Rounded 1c", system-ui, sans-serif;
  --line: 3px solid var(--ink); --line-thin: 2px solid var(--ink);
  --sh-s: 2px 2px 0 var(--ink); --sh-m: 3px 3px 0 var(--ink); --sh-l: 5px 5px 0 var(--ink);
  --tone: radial-gradient(#1B143012 1.2px, transparent 1.4px) 0 0 / 10px 10px;
  --jelly: 320ms cubic-bezier(.3, 1.6, .5, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tone), var(--paper); color: var(--ink); font: 500 16px/1.5 var(--body); -webkit-tap-highlight-color: transparent; }
a { color: var(--ink); } a:hover { color: var(--sakura-dark); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 12px; background: var(--white); border: var(--line-thin); }
.skip:focus { left: 8px; }
.grow { flex: 1; }

/* buttons */
.btn { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: var(--line-thin); border-radius: 10px;
  background: var(--white); color: var(--ink); box-shadow: var(--sh-s); font: 800 14px var(--body); cursor: pointer; text-decoration: none;
  transition: transform 70ms ease-out, box-shadow 70ms ease-out; }
.btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: none; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-primary { background: var(--sakura); border: var(--line); box-shadow: var(--sh-m); font: 17px var(--display); color: var(--ink); }
.btn-gold { background: var(--gold); }
.btn-big { min-height: 52px; padding: 0 24px; font-size: 18px; }
.btn-s { min-height: 40px; font-size: 13px; box-shadow: none; }
.btn-wide { width: 100%; }
.chip { min-height: 32px; padding: 0 10px; border: var(--line-thin); border-radius: 8px; background: var(--white); font: 800 12px var(--body); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--sakura-light); box-shadow: var(--sh-s); }
.link-btn { border: 0; background: none; font: 800 13px var(--body); color: var(--ink); cursor: pointer; padding: 6px 4px; }
.link-btn:hover { color: var(--sakura-dark); }

/* header */
.top { border-bottom: var(--line); background: var(--white); position: sticky; top: 0; z-index: 20; }
.top-in { max-width: 1360px; margin: 0 auto; padding: 10px 24px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.logo { font-family: var(--display); font-size: 22px; color: var(--sakura); -webkit-text-stroke: 1px var(--ink); text-decoration: none; }
.logo span { color: var(--ink); -webkit-text-stroke: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.nav a { min-height: 38px; padding: 0 12px; display: flex; align-items: center; border-radius: 8px; font-size: 14px; font-weight: 800; text-decoration: none; border: 2px solid transparent; }
.nav a[aria-current="true"], .nav a:hover { background: var(--sakura); border-color: var(--ink); box-shadow: var(--sh-s); color: var(--ink); }
/* language drop-down (chrome.mjs langMenu): the menu drops below the header, scrolls when taller than the window */
.lang-dd { position: relative; }
.lang-dd > summary { list-style: none; min-height: 38px; padding: 0 8px 0 10px; display: flex; align-items: center; gap: 4px; border: var(--line-thin); border-radius: 8px;
  background: var(--sakura-light); font-weight: 800; font-size: 13px; cursor: pointer; user-select: none; }
.lang-dd > summary::-webkit-details-marker { display: none; }
.lang-dd > summary:hover, .lang-dd[open] > summary { box-shadow: var(--sh-s); }
.dd-chev { width: 12px; height: 12px; transition: transform 120ms ease-out; }
.lang-dd[open] .dd-chev { transform: rotate(180deg); }
.lang-dd ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; margin: 0; padding: 6px; list-style: none; min-width: 200px;
  max-height: calc(100vh - 90px); overflow-y: auto; background: var(--white); border: var(--line-thin); border-radius: 10px; box-shadow: var(--sh-m); }
.lang-dd a { min-height: 38px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 8px;
  font-weight: 800; font-size: 14px; text-decoration: none; }
.lang-dd a small { font-size: 11px; color: var(--muted); }
.lang-dd a:hover { background: var(--hero); color: var(--ink); }
.lang-dd a[aria-current="page"] { background: var(--sakura-light); border: var(--line-thin); }
.btn-pro { font: 15px var(--display); }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: var(--line); background: var(--hero); }
.hero-lines { position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 46%, #FF4F8B1F 0deg 2deg, transparent 2deg 8deg); }
.hero-tone { position: absolute; inset: 0; background: radial-gradient(#1B14301A 1.4px, transparent 1.6px) 0 0 / 12px 12px; }
.hero-stars { position: absolute; inset: 0; fill: var(--gold); stroke: var(--ink); stroke-width: .6; }
.hero-in { position: relative; max-width: 920px; margin: 0 auto; padding: 44px 24px 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.hero-kicker { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: 4px; }
.hero-logo { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.hl-mochi { font: clamp(64px, 10vw, 96px)/1 var(--display); color: var(--sakura); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--ink); }
.hl-poke { padding: 6px 16px; border: 4px solid var(--ink); border-radius: 12px; background: var(--white); box-shadow: var(--sh-l); font: clamp(36px, 5.5vw, 52px)/1 var(--display); transform: rotate(-4deg); }
.hero h1 { margin: 6px 0 0; font-size: clamp(26px, 3.4vw, 34px); }
.spark { color: var(--gold); -webkit-text-stroke: 1.5px var(--ink); }
.hero-sub { margin: 0; font-size: 17px; font-weight: 700; max-width: 640px; }
.hero-card { position: relative; width: 100%; max-width: 720px; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 14px; border: var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--sh-l); }
.hero-mochi { position: absolute; right: -112px; top: -10px; transform: rotate(8deg); }
.bubble { position: absolute; left: -84px; top: 8px; padding: 6px 10px; border: var(--line-thin); border-radius: 14px 14px 4px 14px; background: var(--white); font-size: 12px; font-weight: 800; transform: rotate(-6deg); box-shadow: var(--sh-s); }
.hero-note { margin: 0; font-size: 14px; font-weight: 800; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.link-form { flex: 1 1 100%; display: flex; gap: 8px; }
.link-in { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: var(--line-thin); border-radius: 10px; background: var(--paper); color: var(--ink); font: 700 16px var(--body); box-shadow: inset 2px 2px 0 #1B143014; }
.link-in::placeholder { color: var(--muted); opacity: 1; }
.link-msg { flex: 1 1 100%; margin: 0; font-size: 13px; font-weight: 800; color: var(--muted); }
.link-msg.err { color: #C0245C; }
.link-msg:empty { height: 0; margin-top: -10px; overflow: hidden; } /* stays rendered: an aria-live region that is display:none may not be announced */
.ts:empty { display: none; }
#frameDlg { width: min(92vw, 640px); }
.frame-t { margin: 0 0 4px; font: 20px var(--display); }
.frame-note { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.cam-dlg video#frameVideo { max-height: 60vh; object-fit: contain; }
.frame-seek { width: 100%; height: 32px; margin: 0 0 10px; accent-color: var(--sakura); }

/* layout */
.wrap { max-width: 1360px; margin: 0 auto; padding: 28px 24px 56px; display: flex; flex-direction: column; gap: 28px; }
.editor-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; scroll-margin-top: 70px; }
.win { border: var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--sh-l); overflow: hidden; }
.win-bar { min-height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: var(--ink); color: var(--white); }
.win-name { font-family: var(--display); font-size: 14px; color: var(--blush); }
.win-sub { font-size: 13px; font-weight: 700; }
.win-dots { flex: 1; align-self: stretch; background: radial-gradient(#FF8FB155 1.2px, transparent 1.4px) 0 0 / 8px 8px; }
.win-heart { fill: var(--blush); }
.win-love { font-size: 11px; font-weight: 800; color: var(--gold); margin-right: 6px; }
.dot { width: 12px; height: 12px; border-radius: 99px; } .dot-p { background: var(--sakura); } .dot-g { background: var(--gold); } .dot-l { background: var(--lilac); }

.editor { flex: 999 1 760px; min-width: 0; display: flex; flex-direction: column; }
.editor-body { display: flex; flex-wrap: wrap; min-height: 560px; }
.toolbar { width: 60px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; border-right: var(--line); background: var(--paper); }
.tool { width: 44px; height: 44px; padding: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--ink); background: transparent; border: 2px solid transparent; cursor: pointer; }
.tool:hover { border-color: var(--ink); }
.tool[aria-pressed="true"] { background: var(--sakura); border-color: var(--ink); box-shadow: var(--sh-s); }
.tool[data-tool="glitter"][aria-pressed="true"], .tool[data-tool="stone"][aria-pressed="true"] { background: var(--gold); }
.tool[data-tool="blush"][aria-pressed="true"] { background: var(--blush); }
.tool[data-tool="erase"][aria-pressed="true"], .tool[data-tool="move"][aria-pressed="true"], .tool[data-tool="zoom"][aria-pressed="true"] { background: var(--sakura-light); }
.tb-sep { width: 30px; height: 3px; background: var(--ink); margin: 4px 0; }

.stage-col { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; }
.hintbar { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: var(--line); font-size: 14px; white-space: nowrap; overflow: hidden; }
.hintbar span:not(.grow) { font-weight: 700; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.stage { position: relative; flex: 1; min-height: 500px; margin: 12px; border: var(--line); border-radius: 10px; overflow: hidden; background: #EAF6FF; touch-action: none; user-select: none; }
.stage-lines { position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 74% 60%, #1B14301A 0deg 1.4deg, transparent 1.4deg 6deg); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#gl { touch-action: none; }
#fxo, #maskView { pointer-events: none; }
/* the brush outline in place of the hidden cursor: the painted area at the current zoom, white with an ink edge on any picture */
.brush-ring { position: absolute; left: 0; top: 0; pointer-events: none; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--ink), inset 0 0 0 1.5px var(--ink); }
.brush-ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px #fff; }
.stage[data-tool="blush"] .brush-ring { border-color: var(--blush); }
.stage[data-tool="glitter"] .brush-ring { border-color: var(--gold); }
.stage[data-tool="erase"] .brush-ring { border-style: dashed; }
.stage[data-tool="pull"] #gl { cursor: grab; } .stage[data-tool="pull"].grabbing #gl { cursor: grabbing; }
.stage[data-tool="push"] #gl { cursor: pointer; } .stage[data-tool="move"] #gl { cursor: move; } .stage[data-tool="zoom"] #gl { cursor: ns-resize; }
.stage[data-tool="soft"] #gl, .stage[data-tool="blush"] #gl, .stage[data-tool="glitter"] #gl, .stage[data-tool="erase"] #gl { cursor: none; }
.stage[data-tool="stone"] #gl { cursor: copy; }
.stage.region #gl { cursor: none; } .stage.region .brush-ring { border-color: var(--lilac); } /* pull area: Alt + brush */
.stage.ring-off #gl { cursor: crosshair; } /* after the rules above: no ring (no picture, eraser on rhinestones) never leaves a hidden cursor */
.drop-veil { position: absolute; inset: 10px; display: flex; align-items: center; justify-content: center; border: 3px dashed var(--sakura); border-radius: 10px; background: #FFF0F5E6; font: 24px var(--display); }
.stage-msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 80%; margin: 0; padding: 12px 16px; border: var(--line-thin); border-radius: 12px; background: var(--white); box-shadow: var(--sh-m); font-weight: 800; text-align: center; }
.pill { position: absolute; left: 12px; bottom: 12px; min-height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 4px; border: var(--line-thin); border-radius: 99px; background: var(--white); font-size: 12px; font-weight: 800; }
.pill-play { width: 26px; height: 26px; border: 0; border-radius: 99px; background: var(--sakura); display: flex; align-items: center; justify-content: center; gap: 3px; cursor: pointer; }
.pill-play span { width: 3px; height: 10px; background: var(--ink); }
.pill-play[aria-pressed="true"] span:first-child { width: 0; height: 0; background: none; border-left: 9px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.pill-play[aria-pressed="true"] span:last-child { display: none; }
.pill-sep { width: 2px; height: 16px; background: var(--ink); opacity: .3; }
.meter { width: 70px; height: 10px; border: var(--line-thin); border-radius: 99px; overflow: hidden; background: var(--white); }
.meter span { display: block; width: 30%; height: 100%; background: repeating-linear-gradient(-45deg, var(--sakura) 0 4px, var(--blush) 4px 8px); transition: width .15s; }
.mark { position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 800; opacity: .7; pointer-events: none; }

/* settings panel */
.panel { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-left: var(--line); background: var(--paper); }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.tabs button { min-height: 42px; border: var(--line-thin); border-radius: 8px; color: var(--ink); background: var(--white); font: 800 13px var(--body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--sakura); box-shadow: var(--sh-s); }
.tabs button:nth-child(2)[aria-selected="true"] { background: var(--blush); }
.tabs button:nth-child(3)[aria-selected="true"], .tabs button:nth-child(4)[aria-selected="true"] { background: var(--gold); }
.pane { display: flex; flex-direction: column; gap: 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: 800 11px/1.15 var(--body); color: var(--ink); cursor: pointer; text-align: center; overflow-wrap: anywhere; }
.tile-pic { position: relative; width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: var(--line-thin); background: var(--sakura-light); overflow: hidden; }
.tile[aria-pressed="true"] .tile-pic { outline: 3px solid var(--sakura); outline-offset: 1px; box-shadow: var(--sh-m); }
.tile:hover .tile-pic { transform: scale(1.04); transition: transform var(--jelly); }
.tp-mochi svg { transform: scaleX(1.25); } .tp-jelly svg { transform: scale(1.15, .9); } .tp-marsh svg { transform: scaleY(1.15); } .tp-slime svg { transform: scaleX(1.2); }
.tp-pudding svg { transform: scale(.9, 1.1); } .tp-gum svg { transform: scaleX(1.22); } .tp-dough svg { transform: skewX(-12deg); } .tp-hamster svg { transform: scale(1.2); }
.pro-tag { position: absolute; left: 3px; top: 3px; padding: 1px 5px; border-radius: 4px; background: var(--ink); color: var(--gold); font-size: 9px; }
.tl-sparkle { background: radial-gradient(circle at 30% 30%, #fff 0 4%, transparent 5%), radial-gradient(circle at 65% 55%, #fff 0 3%, transparent 4%), radial-gradient(circle at 45% 75%, #FFE9A8 0 3%, transparent 4%), #FFD6E4; }
.tl-holo { background: linear-gradient(135deg, #FFD6F0, #CFE9FF 35%, #E6FFD6 60%, #FFE9C2 85%); }
.tl-gold { background: radial-gradient(circle at 35% 30%, #FFF3C4, #FFC23D 45%, #C98A12); }
.tl-glass { background: linear-gradient(160deg, #FFFFFFEE 0 30%, #D6F2FF 31% 60%, #FFFFFF99 61%); }
.tl-gloss { background: radial-gradient(ellipse at 35% 30%, #fff 0 18%, #FFD6E4 40%, #FF8FB1); }
.tl-water { background: radial-gradient(circle at 30% 35%, #fff 0 8%, transparent 9%), radial-gradient(circle at 60% 60%, #ffffffcc 0 6%, transparent 7%), #BFE6FF; }
.tile-gem { background: #FFF0F5; }
.box { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: var(--line-thin); border-radius: 10px; background: var(--white); }
.blush-box { border: 2px dashed var(--sakura); background: #FFF0F5; }
.sl { display: grid; grid-template-columns: 110px 1fr 40px; align-items: center; gap: 8px; }
.sl label { font-size: 13px; font-weight: 800; }
.sl input { width: 100%; accent-color: var(--sakura); }
.sl input.lilac { accent-color: var(--lilac); } .sl input.gold { accent-color: #E0A200; }
.sl output { font-size: 12px; font-weight: 800; text-align: right; }
.row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cap { font-size: 13px; font-weight: 800; margin-right: 4px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; flex: 1; }
.check input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--sakura); }
.look3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.look3-i { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px 4px; border: var(--line-thin); border-radius: 8px; background: var(--white); font-size: 11px; font-weight: 800; }
.lf { transform-origin: 35px 27px; } .lf-0 { transform: scaleX(1.25); } .lf-1 { transform: scale(.94, 1.06); }
.look3-0 .lb { opacity: .35; } .look3-1 .lb { opacity: .55; } .look3-2 .lb { opacity: .95; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.sw { width: 30px; height: 30px; border: var(--line-thin); border-radius: 99px; cursor: pointer; }
.sw[aria-pressed="true"] { outline: 3px solid var(--sakura); outline-offset: 2px; }
.sw-blush-0 { background: #FF6F9F; } .sw-blush-1 { background: #FF8FB1; } .sw-blush-2 { background: #FF4F8B; } .sw-blush-3 { background: #FF9A7A; } .sw-blush-4 { background: #C98BFF; }
.sw-flake-0 { background: #FFD98C; } .sw-flake-1 { background: #FFFFFF; } .sw-flake-2 { background: #FF9FC4; } .sw-flake-3 { background: #B9A6FF; } .sw-flake-4 { background: #8FE3FF; }
.sw-stone-0 { background: #FF4F8B; } .sw-stone-1 { background: #dfe9f5; } .sw-stone-2 { background: #FFC23D; } .sw-stone-3 { background: #8B6CFF; }
.sw-stone-4 { background: #3fb6e8; } .sw-stone-5 { background: #d81b3c; } .sw-stone-6 { background: #129a5a; } .sw-stone-7 { background: #f7a8bd; }
.exports { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.note { margin: 0; font-size: 12px; font-weight: 700; color: var(--muted); }

/* house promo instead of an ad network */
.ad-col { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ad-col > .btn { white-space: nowrap; font-size: 13px; padding: 0 10px; }
.ad-box { flex: 1; min-height: 300px; display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 3px dashed var(--ink); border-radius: 10px; background: repeating-linear-gradient(45deg, var(--sakura-light) 0 10px, var(--white) 10px 20px); }
.ad-cap { font-size: 12px; font-weight: 800; color: var(--muted); }
.ad-card { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: var(--line-thin); border-radius: 10px; background: var(--white); box-shadow: var(--sh-m); text-decoration: none; }
.ad-card b { font-family: var(--display); font-weight: 400; font-size: 16px; }
.ad-card span { font-size: 13px; font-weight: 700; }
.ad-glitter b { color: var(--sakura-dark); } .ad-snow b { color: #2F7FD1; }
.ad-mochi { margin-top: auto; align-self: center; }

/* Pro */
.pro { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; padding: 26px 28px; border: var(--line); border-radius: 18px; background: var(--ink); box-shadow: 6px 6px 0 var(--sakura); color: var(--white); scroll-margin-top: 70px; }
.pro-dots { position: absolute; inset: 0; background: radial-gradient(#FF8FB126 1.4px, transparent 1.6px) 0 0 / 14px 14px, repeating-conic-gradient(from 0deg at 12% 50%, #FFC23D10 0deg 2deg, transparent 2deg 10deg); }
.pro-brand { position: relative; flex: 0 1 280px; display: flex; gap: 14px; align-items: center; }
.pro-only { font-size: 12px; font-weight: 800; letter-spacing: 3px; color: var(--gold); }
.pro-name { margin: 4px 0; font-size: 36px; line-height: 1; color: var(--blush); }
.pro-name span { color: var(--gold); }
.pro-thx { font-size: 12px; font-weight: 700; color: #E6DDFF; }
.pro-feats { position: relative; flex: 999 1 520px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.pf { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 2px solid var(--blush); border-radius: 12px; background: var(--night); box-shadow: 3px 3px 0 var(--sakura); }
.pf > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.pf b { font-size: 14px; } .pf > span:last-child > span { font-size: 12px; font-weight: 700; color: #E6DDFF; line-height: 1.35; }
.pf-i { flex-shrink: 0; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: var(--line-thin); border-radius: 10px; color: var(--ink); font-size: 16px; font-weight: 800; }
.pf-0 .pf-i { background: var(--gold); } .pf-1 .pf-i { background: var(--blush); } .pf-2 .pf-i { background: #E6DDFF; } .pf-3 .pf-i { background: #D6F2FF; }
.pro-card { position: relative; flex: 0 1 230px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px 16px 16px; border: 3px solid var(--gold); border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--gold); transform: rotate(1.5deg); text-align: center; }
.pro-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-3deg); padding: 3px 12px; border: var(--line-thin); border-radius: 99px; background: var(--sakura); font-size: 12px; font-weight: 800; white-space: nowrap; }
.pro-price { font: 34px var(--display); }
.pro-note { font-size: 11px; font-weight: 700; color: var(--muted); }

/* samples */
.samples { scroll-margin-top: 70px; }
.samples-in { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.samples h2 { margin: 0; font-size: 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.kana { font-size: 18px; color: var(--sakura-dark); }
.poses { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-top: 6px; }
.pose { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px 8px; border: var(--line); border-radius: 10px; background: var(--white); box-shadow: var(--sh-m); font: 800 13px var(--body); color: var(--ink); cursor: pointer; }
.pose img { width: 100%; height: auto; border: var(--line-thin); border-radius: 6px; background: repeating-conic-gradient(from 0deg at 50% 50%, #1B143014 0deg 2deg, transparent 2deg 9deg), var(--sakura-light); }
.pose-0 { transform: rotate(-1deg); } .pose-1 { transform: rotate(1deg); } .pose-2 { transform: rotate(-.5deg); } .pose-3 { transform: rotate(1.2deg); } .pose-4 { transform: rotate(-1.2deg); }
.pose:hover { transform: rotate(0) scale(1.03); transition: transform var(--jelly); }
.pose-1 img { background-color: #E6DDFF; } .pose-2 img { background-color: #D6F2FF; } .pose-3 img { background-color: #FFEBB8; } .pose-4 img { background-color: #DDF5E3; }
.tape { position: absolute; top: -10px; left: 50%; width: 64px; height: 18px; transform: translateX(-50%) rotate(-4deg); background: var(--gold); opacity: .85; border: 1.5px solid #1B143055; }
.pose-1 .tape { background: var(--blush); } .pose-2 .tape { background: #8FD3FF; } .pose-3 .tape { background: #C6B5FF; }

/* how + FAQ */
.how { scroll-margin-top: 70px; }
.how h2 { font-size: 30px; margin: 10px 0 14px; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.how-list li { position: relative; padding: 18px 16px 14px; border: var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--sh-m); }
.how-list b { font: 20px var(--display); }
.how-list p { margin: 6px 0 0; font-weight: 700; color: var(--muted); }
.how-n { position: absolute; right: 12px; top: -16px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: var(--line-thin); border-radius: 99px; background: var(--gold); font-family: var(--display); }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: var(--line-thin); border-radius: 10px; background: var(--white); padding: 0 14px; }
.faq summary { min-height: 48px; display: flex; align-items: center; font-weight: 800; cursor: pointer; }
.faq p { margin: 0 0 12px; font-weight: 700; color: var(--muted); }

/* dialog, toast */
.cam-dlg { border: var(--line); border-radius: 14px; box-shadow: var(--sh-l); padding: 12px; max-width: min(92vw, 640px); }
.cam-dlg video { width: 100%; border-radius: 8px; background: #000; display: block; margin-bottom: 10px; }
.cam-dlg::backdrop { background: #1B143088; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; padding: 10px 16px; border: var(--line-thin); border-radius: 12px; background: var(--white); box-shadow: var(--sh-m); font-weight: 800; }

/* footer */
.foot { border-top: var(--line); background: var(--white); }
.foot-in { max-width: 1360px; margin: 0 auto; padding: 22px 24px 8px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; font-weight: 800; }
.foot-docs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-seller { max-width: 1360px; margin: 0 auto; padding: 0 24px 22px; font-size: 12px; font-weight: 700; color: var(--muted); }

/* text pages: legal documents, 404 */
.doc { max-width: 860px; margin: 28px auto 56px; padding: 28px 32px; border: var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--sh-l); }
.doc h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 6px; }
.doc h2 { font-size: 22px; margin: 28px 0 8px; }
.doc h3 { font-size: 17px; margin: 18px 0 6px; }
.doc p, .doc li { font-weight: 500; }
.doc table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 14px; display: block; overflow-x: auto; }
.doc th, .doc td { border: var(--line-thin); padding: 6px 8px; text-align: left; vertical-align: top; }
.doc th { background: var(--sakura-light); }
.doc code { background: #FFF0F5; padding: 1px 4px; border-radius: 4px; }
.doc-langs { display: flex; gap: 10px; font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.doc-langs a[aria-current="page"] { text-decoration: none; background: var(--sakura-light); padding: 0 6px; border-radius: 6px; }
.nf { min-height: calc(100vh - 300px); justify-content: center; max-width: 640px; margin: 48px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nf h1 { font-size: 64px; margin: 0; color: var(--white); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }

/* tablet: the nav wraps into 2-3 rows beside the logo below ~1080px, and the hint is cut by its ellipsis */
@media (max-width: 1080px) {
  .logo { margin-right: auto; }
  .nav { order: 3; flex-basis: 100%; }
  .hintbar { flex-wrap: wrap; white-space: normal; padding: 6px 10px; row-gap: 2px; }
  #hint { order: 5; flex-basis: 100%; white-space: normal; }
}
/* the mascot and bubble sit outside the 720px hero card; below ~950px the hero clips them */
@media (max-width: 960px) { .hero-mochi, .bubble { display: none; } }
@media (max-width: 760px) {
  #frameDlg .row > .btn-primary { flex: 1 1 100%; order: -1; }
  #frameDlg .row > .btn:not(.btn-primary) { flex: 1; }
  .top-in { padding: 8px 12px; gap: 6px 10px; }
  .logo { font-size: 18px; }
  .btn-pro { min-height: 36px; padding: 0 10px; font-size: 13px; }
  .win-love, .win-heart { display: none; }
  .win-sub { white-space: nowrap; }
  .mark { bottom: auto; top: 10px; }
  .nav { overflow-x: auto; flex-wrap: nowrap; scroll-snap-type: x proximity; scroll-padding-inline: 12px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; flex: none; scroll-snap-align: start; }
  /* nav-fade.js: a fade where more links wait, so a cut word reads as "scrolls", not "broken" */
  .nav.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .nav.fade-l { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 40px), transparent); }
  .nav.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
  .hero-in { padding: 28px 14px 24px; }
  .wrap { padding: 16px 10px 40px; gap: 18px; }
  .editor-body { flex-direction: column; }
  .toolbar { width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; border-right: 0; border-bottom: var(--line); padding: 6px; }
  .tb-sep { width: 3px; height: 30px; margin: 0 4px; }
  .stage { min-height: 0; aspect-ratio: 3 / 4; margin: 8px; }
  .panel { border-left: 0; border-top: var(--line); }
  .sl { grid-template-columns: minmax(0, 118px) 1fr 40px; }
  .sl label { font-size: 12px; overflow-wrap: anywhere; }
  .pro { padding: 20px 16px; }
  .doc { margin: 14px 10px 40px; padding: 18px 16px; }
}
/* touch screens: controls get a 40x40 CSS px tap target */
@media (pointer: coarse) {
  .logo { display: inline-flex; align-items: center; min-height: 40px; }
  .nav a, .lang-dd > summary, .lang-dd a, .btn-pro, .link-btn, .chip { min-height: 40px; }
  .btn-pro { padding: 0 8px; }
  .sw { width: 40px; height: 40px; }
  .sl input { height: 40px; }
  .pill-play { position: relative; }
  .pill-play::after { content: ""; position: absolute; inset: -7px; }
  .foot-docs a, .foot-langs a, .doc-langs a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile:hover .tile-pic, .pose:hover { transform: none; } }

/* ---- marketing: the ad slot, the subscription window and the pages of the e-mail links (ADR-0013 §8; nothing shows until the kit unhides it) */
/* ad slot (footer-banner, 8:1). Our own and partner blocks: the kit draws a.kit-ad > img.kit-ad-img + span.kit-ad-text > headline, body, cta + span.kit-ad-label.
   A live block (div.kit-ad-live) brings its own CSS and is left alone. */
[data-ad-slot] { position: relative; }
.kit-ad:not(.kit-ad-live) { position: relative; display: block; border: var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--sh-m); color: var(--ink); text-decoration: none; }
.kit-ad:not(.kit-ad-live):hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: var(--sh-l); }
.kit-ad-img { display: block; width: 100%; height: auto; border-radius: 9px; }
.kit-ad:not(.kit-ad-live) > .kit-ad-label { position: absolute; z-index: 1; top: -14px; left: 16px; padding: 2px 10px; border: var(--line-thin); border-radius: 99px; background: var(--sakura-light); font: 800 12px/1.4 var(--body); box-shadow: var(--sh-s); }
.kit-ad:not(.kit-ad-live) > .kit-ad-label[data-label="ad"] { background: var(--gold); }
.kit-ad:not(.kit-ad-live) > .kit-ad-label[data-label="ours"]::after { content: " ♡"; }
/* text under the 8:1 picture (an empty .kit-ad-text means a picture-only banner) */
.kit-ad:has(.kit-ad-text:not(:empty)) .kit-ad-img { border-radius: 9px 9px 0 0; border-bottom: var(--line); }
.kit-ad-text { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 12px 18px; }
.kit-ad-text:empty { display: none; }
.kit-ad-headline { font: 19px/1.15 var(--display); }
.kit-ad-body { font-size: 14px; font-weight: 700; color: var(--muted); }
.kit-ad-cta { margin-left: auto; min-height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border: var(--line-thin); border-radius: 10px; background: var(--gold); box-shadow: var(--sh-s); font: 800 13px var(--body); color: var(--ink); }

/* subscription window (news.exe); data-state on the section: idle, sending, check_email, invalid, consent_outdated, rate_limited, robot_check, off, error */
.kit-nl-in { display: flex; gap: 22px; align-items: center; padding: 20px 22px 22px; }
.kit-nl-mochi { flex: none; width: 180px; height: auto; border: var(--line-thin); border-radius: 10px; background: repeating-conic-gradient(from 0deg at 50% 50%, #1B143014 0deg 2deg, transparent 2deg 9deg), var(--sakura-light); transform: rotate(-2deg); }
.kit-nl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.kit-nl-body h2 { margin: 0; font-size: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.kit-nl-body .kana { font: 800 14px var(--body); }
.kit-nl-lead { margin: 0; font-weight: 700; color: var(--muted); max-width: 52ch; }
.kit-nl-form { display: flex; gap: 8px; }
.kit-nl-form .btn-primary { flex: none; }
.kit-nl-ts:empty { display: none; }
.kit-nl-consent { max-width: 62ch; }
.kit-nl-consent p { display: inline; margin: 0; }
.kit-nl-consent a { font-weight: 800; }
.kit-nl-sent .link-btn { align-self: flex-start; }
.kit-nl-msg { display: none; padding: 6px 10px; border: var(--line-thin); border-radius: 10px; background: #FFF0F5; color: var(--ink); font-size: 14px; box-shadow: var(--sh-s); }
/* the two views: the question (mascot in love, form) and the answer after "check your e-mail" (mascot waving). */
.kit-nl-mochi-sent, .kit-nl-sent { display: none; }
.kit-nl[data-state="check_email"] .kit-nl-ask, .kit-nl[data-state="check_email"] .kit-nl-mochi-ask { display: none; }
.kit-nl[data-state="check_email"] .kit-nl-mochi-sent { display: block; }
.kit-nl[data-state="check_email"] .kit-nl-sent { display: flex; }
.kit-nl[data-state="invalid"] [data-nl-msg="invalid"], .kit-nl[data-state="rate_limited"] [data-nl-msg="rate_limited"], .kit-nl[data-state="robot_check"] [data-nl-msg="robot_check"],
.kit-nl[data-state="consent_outdated"] [data-nl-msg="consent_outdated"], .kit-nl[data-state="off"] [data-nl-msg="off"], .kit-nl[data-state="error"] [data-nl-msg="error"] { display: block; }
.kit-nl[data-state="sending"] .kit-nl-form .btn { opacity: .6; cursor: progress; pointer-events: none; box-shadow: none; transform: translate(2px, 2px); }

/* wide: the question on the left, the form on the right, so the window has no empty half */
@media (min-width: 1100px) {
  .kit-nl-in { gap: 40px; padding: 24px 32px 28px 28px; }
  .kit-nl-body.kit-nl-ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 40px; row-gap: 10px; align-items: start; align-content: center; }
  .kit-nl-ask > * { grid-column: 2; }
  .kit-nl-ask > h2 { grid-column: 1; grid-row: 1; }
  .kit-nl-ask > .kit-nl-lead { grid-column: 1; grid-row: 2 / span 5; max-width: none; }
  .kit-nl-ask > .kit-nl-form { grid-row: 1; }
}

/* /newsletter/confirm/ and /newsletter/unsubscribe/: the 404 layout, one view per data-state of [data-newsletter-page]: ready (working), confirmed or unsubscribed, expired, missing, off, error */
.kit-page h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; }
.kit-views { display: flex; flex-direction: column; align-items: center; }
.kit-view { display: none; flex-direction: column; align-items: center; gap: 12px; }
.kit-page[data-state="ready"] [data-view~="ready"], .kit-page[data-state="working"] [data-view~="working"], .kit-page[data-state="confirmed"] [data-view~="confirmed"],
.kit-page[data-state="unsubscribed"] [data-view~="unsubscribed"], .kit-page[data-state="expired"] [data-view~="expired"], .kit-page[data-state="missing"] [data-view~="missing"],
.kit-page[data-state="off"] [data-view~="off"], .kit-page[data-state="error"] [data-view~="error"] { display: flex; }
.kit-page[data-state="working"] [data-newsletter-action] { opacity: .6; cursor: progress; pointer-events: none; box-shadow: none; transform: translate(3px, 3px); }
.kit-page p { margin: 0; font-weight: 700; max-width: 460px; }
.kit-page .note { font-size: 13px; }

@media (max-width: 760px) {
  .kit-ad-text { flex-direction: column; align-items: flex-start; }
  .kit-ad-cta { margin-left: 0; margin-top: 4px; }
  .kit-nl-in { flex-direction: column; align-items: stretch; padding: 16px; }
  .kit-nl-mochi { width: 110px; align-self: center; }
  .kit-nl-body h2 { font-size: 24px; }
  .kit-nl-form { flex-direction: column; }
}
