/* eric-yen.com "under the tree" look (2026-11-20). Linked after site.css on every page, and alone on the home page.
   Cream paper by day, moonlit navy by night (:root[data-theme="dark"], set by site-head.js and the ☀︎/☾ button).
   Fonts are all self-hosted (the CSP allows font-src 'self' only):
     Fraunces 500/600 (OFL)   display Latin: names, headings       assets/tree/fonts/fraunces-*.woff2  (Latin only)
     Charter + LXGW WenKai TC  reading text                        sliced at deploy by tools/subset_fonts.py
     Hand ZH = 辰宇落雁 (OFL) / Hand EN = Caveat (OFL)               .hand lines; hand-zh is cut at deploy to the
                                                                     characters inside class="hand" elements */

/* FONT-FACE:START */
@font-face { font-family: "Charter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/charter-400.woff2") format("woff2");
  unicode-range: U+20-7E, U+A9, U+B7, U+E9, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: "Charter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/charter-700.woff2") format("woff2");
  unicode-range: U+20-7E, U+A9, U+B7, U+E9, U+2013-2014, U+2018-2019, U+201C-201D, U+2026; }
@font-face { font-family: "LXGW WenKai TC"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/lxgw-wenkai-tc-400.woff2") format("woff2");
  unicode-range: U+20-7E, U+A9, U+B7, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+2192-2193, U+2197, U+2600, U+263E, U+3001-3002, U+3008-300F, U+30FB, U+4E00, U+4E0A-4E0B, U+4E0D, U+4E2D, U+4E45, U+4E4B, U+4E5D, U+4E5F, U+4E86, U+4E8B-4E8C, U+4E94, U+4EAB, U+4EBA, U+4ED6, U+4EE5, U+4EFB, U+4EFD, U+4F46, U+4F4D, U+4F54, U+4F5C, U+4F60, U+4F7F, U+4F86, U+4F9D, U+4FE1, U+500B, U+503C, U+5047, U+504F, U+505A, U+505C, U+5065, U+5075, U+5099, U+50CF, U+50F9, U+5143, U+5148, U+514D, U+5165, U+5167-5169, U+516C, U+5171, U+5176-5177, U+518D, U+51FA, U+5206-5207, U+521D, U+5225, U+5230, U+5236, U+524D, U+5275, U+52A0, U+52A9, U+52D5, U+5341, U+534A, U+5361, U+53BB, U+53CB, U+53CD, U+53D6-53D7, U+53E3, U+53EA, U+53EF, U+53F8, U+5408, U+540C, U+5427, U+5446, U+5473, U+547C, U+548C, U+54C1, U+54EA, U+555F, U+559C, U+55AE, U+55CE, U+5617, U+5668, U+56CA, U+56DB, U+56DE, U+56FA, U+570B, U+5712, U+5716, U+5718, U+5728, U+5740, U+5750-5751, U+57CB, U+57FA, U+5802, U+584A, U+591C, U+5920, U+5927, U+5929, U+5931, U+597D, U+5982, U+59CB, U+5B57, U+5B78, U+5B8C, U+5B9A, U+5BB6, U+5BB9, U+5BC4, U+5BE6, U+5BEB-5BEC, U+5C08, U+5C0D-5C0F, U+5C31, U+5C64-5C65, U+5DE5-5DE6, U+5DF1-5DF2, U+5E03, U+5E0C, U+5E2B, U+5E38, U+5E6B, U+5E73-5E74, U+5E7D-5E7E, U+5E95, U+5EA6, U+5EB7, U+5EFA, U+5F0F, U+5F35, U+5F80, U+5F85, U+5F8C, U+5F97, U+5F9E, U+5FC3, U+5FD9, U+5FF5, U+600E, U+601D, U+60C5, U+60DC, U+60F3, U+6108, U+6162, U+616E, U+6210-6211, U+6216, U+624B, U+6253, U+627E, U+6280, U+628A, U+6295, U+62AC, U+62DB, U+6309, U+6368, U+6372, U+63A2, U+63A5, U+63A8, U+63DB, U+640D, U+64AD, U+6557, U+6559, U+6574, U+6578, U+6587, U+6599, U+65B0, U+65B9, U+65BC, U+65C5, U+65E5, U+6613, U+662F, U+6642, U+665A, U+666F, U+6697, U+66A2, U+66AB, U+66F4, U+66F8, U+66FE, U+6703, U+6709, U+670B, U+671B, U+672C, U+6771, U+679C, U+67E5, U+6848, U+68C4, U+68F5, U+695A, U+696D, U+69CB, U+6A23, U+6A39, U+6A58, U+6A5F, U+6B21, U+6B61, U+6B63, U+6B72, U+6B77, U+6BB5, U+6BCF, U+6C7A, U+6C92, U+6CBB, U+6D0B, U+6D3B, U+6D6E, U+6D77, U+6DF1, U+6DFA, U+6E05, U+6E2C, U+6E96, U+6ED1, U+7063, U+706B, U+7121, U+7126, U+71B1, U+71C3, U+7247, U+734E, U+73A9, U+73ED, U+73FE, U+7406, U+751F, U+7522, U+7528, U+7531, U+754C, U+7559, U+756B, U+7642, U+767C-767D, U+7684, U+76EE, U+770B, U+771F, U+7761, U+77E5, U+7814, U+78BA, U+790E, U+793A, U+79D1, U+79FB, U+7A0B, U+7A2E, U+7A31, U+7A69, U+7A76, U+7A7A, U+7A7F, U+7ACB, U+7AD9, U+7AE0, U+7AEF, U+7B2C, U+7B56, U+7B97, U+7BA1, U+7BB1, U+7BC7, U+7C73, U+7D04, U+7D22, U+7D50, U+7D66, U+7D93, U+7DB2, U+7DDA, U+7DE9, U+7DF4, U+7E3D, U+7E7C, U+7E8C, U+7F3A, U+7F6E, U+7FD2, U+8001, U+8003, U+8005, U+800C, U+806F, U+8072, U+8077, U+80CC, U+81A0, U+81EA, U+81FA, U+8207, U+8272, U+82B1, U+82D7, U+82F1, U+843D, U+8457, U+84CB, U+85A6, U+865B, U+8853, U+88DC, U+88E1, U+897F, U+8981, U+898F, U+8996, U+89BA, U+89BD, U+8A00, U+8A08, U+8A0A, U+8A13, U+8A2D, U+8A55, U+8A66, U+8A71, U+8A8D, U+8A9E, U+8AAA, U+8AB2, U+8ABF, U+8ACB, U+8B70, U+8B80, U+8B8A, U+8B93, U+8C93, U+8CB7, U+8CBB-8CBC, U+8CC7, U+8D70, U+8D8A, U+8DDD, U+8DDF, U+8DEF, U+8E29, U+8EAB, U+8EBA, U+8FD1, U+9000-9001, U+9003, U+9019, U+9023, U+904A-904B, U+904D-904E, U+9053, U+9060, U+9069, U+907F, U+9084, U+908A, U+90A3, U+90E8, U+90FD, U+914D, U+9192, U+91CD, U+91D1, U+9215, U+9322, U+9375, U+93E1, U+9580, U+958B, U+9593, U+95DC, U+9650, U+968A, U+96BB, U+96E2, U+96FB, U+9748, U+9762, U+97F3, U+9801-9802, U+982D, U+986F, U+98A8, U+98DF, U+9996, U+9A57, U+9AD8, U+9EBC, U+9EDE, U+FE0E, U+FF01, U+FF08-FF09, U+FF0C, U+FF0F, U+FF1A-FF1B, U+FF1F, U+FF5C; }
@font-face { font-family: "LXGW WenKai TC"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/lxgw-wenkai-tc-400-products.woff2") format("woff2");
  unicode-range: U+4E1F, U+4EA4, U+4EC0, U+4FBF, U+5347, U+5373, U+53C8, U+5411, U+544A, U+56E0, U+5831, U+5834, U+586B, U+5915-5916, U+592A, U+5979, U+5B83, U+5C07, U+61C2, U+639B, U+6478, U+6539, U+653E, U+661F, U+6708, U+677F, U+6790, U+683C, U+6BDB, U+6C89, U+6D6A, U+6EFF, U+700F, U+70BA, U+7403, U+7576, U+76E1, U+788E, U+7D30, U+7D44, U+7FFB, U+807D, U+80FD, U+842C, U+8655, U+8A18, U+8A73, U+8B1B, U+8D77, U+8D85, U+8F49, U+8FFD, U+9078, U+9080, U+9304, U+9577, U+967D, U+96E3, U+96F2, U+975E, U+9806, U+9ED1; }
@font-face { font-family: "LXGW WenKai TC"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/lxgw-wenkai-tc-400-404.woff2") format("woff2");
  unicode-range: U+932F; }
@font-face { font-family: "LXGW WenKai TC"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/lxgw-wenkai-tc-400-books.woff2") format("woff2");
  unicode-range: U+2605, U+4E09, U+4E14, U+4E16, U+4E26, U+4E39, U+4E3B, U+4E4E, U+4E8E, U+4E9B, U+4EC1, U+4ECA, U+4ED8, U+4EE3, U+4EF6, U+4EFF, U+4F01, U+4F34, U+4F38, U+4F3C, U+4F48, U+4F4E-4F4F, U+4F55, U+4F5B, U+4F8B, U+4FC2, U+4FDD, U+4FEE, U+5011, U+5019, U+501F, U+5026, U+5091, U+50B3, U+512A, U+516B, U+516D, U+5178, U+518A, U+5217, U+5229, U+5247, U+526F, U+5283, U+529B, U+529F, U+52AA, U+52C7, U+52D2, U+52D9, U+52DF, U+52E2, U+52F5, U+5316-5317, U+5340, U+5343, U+5354, U+5370-5371, U+5377, U+537B, U+539F, U+53AD, U+53C3, U+53CA, U+53E4-53E6, U+53EB, U+53F0, U+53F2-53F3, U+5404, U+540D, U+5438, U+5468, U+547D, U+54E1, U+54F2, U+5546, U+554F, U+559D, U+56F0, U+5708, U+5730, U+578B, U+57CE, U+57F7, U+57F9, U+5805, U+5883, U+58D3, U+591A, U+5922, U+5947, U+5951, U+5957, U+59A8, U+5A92, U+5ABD, U+5B50, U+5B58, U+5B98, U+5BA2, U+5BCC, U+5BDF, U+5BF6, U+5C11, U+5C3E, U+5C40, U+5C55, U+5C6C, U+5CB8, U+5DE7, U+5DEE, U+5E02, U+5E36, U+5E45, U+5E78-5E79, U+5EE3, U+5F15, U+5F37, U+5F4E, U+5F62, U+5F71, U+5F88, U+5FAA, U+5FAE, U+5FB7, U+5FC5, U+5FEB, U+6025, U+606D, U+60D8, U+60F1, U+610F, U+611B, U+611F, U+614B, U+6163, U+6167, U+6182, U+61C9, U+6232, U+6236, U+6240, U+624D, U+626E, U+6298, U+62C6, U+62C9, U+62D2, U+62DC, U+62FF, U+6301, U+6307, U+6311, U+6389, U+63D0, U+63EE, U+641E, U+642C-642D, U+6490, U+64C5, U+64C7, U+64CD, U+64D4, U+64E0, U+64EC, U+64F4, U+652F, U+6536, U+6545, U+6548, U+6562-6563, U+65B7, U+65CF, U+65E9, U+660E, U+666E, U+667A, U+66FF-6700, U+670D, U+671F, U+6728, U+672A-672B, U+67B6, U+67D0, U+6821, U+6838-6839, U+6846, U+687F, U+689D, U+68D2, U+6975, U+6982, U+69D3, U+6A02, U+6A19, U+6A21, U+6AA2, U+6B64-6B65, U+6B78, U+6B8A, U+6BCD, U+6BD4, U+6C23, U+6C34, U+6C42, U+6CBF, U+6CD5, U+6D1B, U+6D41, U+6D88, U+6DAF, U+6E1B, U+6E9D, U+6EAB, U+6F14, U+6FC3, U+7136, U+7167, U+7169, U+71DF, U+722D, U+7236, U+723E, U+7248, U+724C, U+7279, U+7368, U+7372, U+7378, U+7387, U+738B, U+74B0, U+74E6, U+751A, U+7565, U+758A, U+75DB, U+7662, U+767E, U+76DF, U+76E4, U+76F4, U+773E, U+77ED, U+77FD, U+7834, U+793E, U+798F, U+79AE, U+7A4D, U+7A6B, U+7AF6, U+7B46, U+7B49, U+7B54, U+7BAD, U+7BC0, U+7BC4, U+7C21, U+7C89, U+7CBE, U+7CFB, U+7D0D, U+7D19, U+7D2F, U+7D42, U+7D55, U+7D71, U+7DAD, U+7E2E, U+7E3E, U+7E41, U+7E54, U+7F85, U+7F8E, U+7FA4, U+7FA9, U+8017, U+804A, U+8070, U+8166, U+81F3, U+8209-820A, U+822C, U+832B, U+85AA, U+85CF, U+883B, U+884C, U+8868, U+888B, U+88AB, U+88C1, U+88DD, U+88F8, U+88FD, U+8907, U+8986, U+898B, U+89C0, U+89D2, U+89E3, U+8A02, U+8A0E, U+8A2A, U+8A31, U+8A62, U+8A6E, U+8A72, U+8AA0, U+8AA4, U+8AC7, U+8AD6, U+8B49, U+8B58, U+8B6F, U+8C37, U+8C61, U+8CA1, U+8CC0, U+8CE3, U+8CFA, U+8CFC, U+8DA3, U+8DD1, U+8F03, U+8F15, U+8F2A, U+8F2F, U+8FA6, U+8FAD, U+8FEB, U+8FED, U+8FF7, U+900F, U+901A, U+901F-9020, U+9031-9032, U+9054, U+908F, U+90CE, U+90F5, U+916C, U+91CB, U+91CF, U+92B7, U+9435, U+95B1, U+95C6, U+9631, U+963F, U+9644, U+9662, U+9664, U+9677, U+968E, U+969B, U+96A8, U+96AA, U+96B1, U+9700, U+9760, U+97FF, U+9805, U+9810, U+9818, U+984C, U+9858, U+985E, U+9867, U+98DB, U+990A, U+9928, U+994B, U+99AC, U+9A5F, U+9AD4, U+9B31, U+9EC3, U+9F13, U+FF1D; }
@font-face { font-family: "LXGW WenKai TC"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/lxgw-wenkai-tc-400-rest.woff2") format("woff2");
  unicode-range: U+E9, U+2190, U+2264, U+2318, U+23F8, U+2460-2462, U+25BE, U+26A0, U+2705, U+2713, U+3010-3011, U+4E03, U+4E32, U+4E7E, U+4E82, U+4E92, U+4E9E, U+4EAE, U+4ECB, U+4ECD, U+4F11, U+4F30, U+4F3A, U+4F50, U+4F75, U+4F9B, U+4FC3, U+5012, U+5074, U+50B7, U+50C5, U+5132, U+5145, U+5149, U+51A0, U+51C6, U+51CC, U+520A, U+5212, U+5224, U+522A, U+523B, U+525B, U+5269-526A, U+52DE, U+52E4, U+5305, U+533F, U+53C9, U+53E2, U+5426, U+542B, U+543B, U+5448, U+5496, U+552E-552F, U+5538, U+5561, U+55AC, U+55C6, U+55E8, U+5632, U+5634, U+56B4, U+570D, U+5713, U+57DF, U+5806, U+585E, U+589E, U+58C7, U+58DE, U+5925, U+593E, U+594F, U+59D3, U+5B63, U+5B88-5B89, U+5B9C, U+5BA3, U+5BB3, U+5BBF, U+5BC6, U+5C01, U+5C0A-5C0B, U+5C16, U+5C1A, U+5C24, U+5CF0, U+5E33, U+5E72, U+5E8F, U+5E97, U+5E9C, U+5EAB, U+5EE0, U+5EF6, U+5F31, U+5F48, U+5F59, U+5F7C, U+5F8B, U+5F91, U+5FB5, U+5FBD, U+5FCD, U+5FD8, U+5FFD, U+6027-6028, U+602A, U+606F, U+6089, U+6094, U+60A8, U+60E0, U+6191, U+622A, U+6230, U+623F, U+6263, U+6279, U+627F, U+6284, U+6293, U+6296-6297, U+62B1, U+62BD, U+6316, U+6388, U+6392, U+63A1, U+63A7, U+63CF, U+63D2, U+63ED, U+63F4, U+641C, U+6436, U+6458, U+6469, U+647A, U+6488, U+649E, U+64A5, U+64B0, U+64CA-64CB, U+64CE, U+64DA, U+64E6, U+64FA, U+64FE, U+6514, U+6524, U+653F, U+6551, U+659F, U+65D7, U+65FA, U+6649, U+6688, U+66DD, U+66F2, U+6717, U+671D, U+6750, U+675F, U+67D3, U+68A2, U+6A6B, U+6A94, U+6ABB, U+6B04, U+6B0A, U+6B3E, U+6B7B, U+6BBA, U+6C38, U+6C61, U+6CB3, U+6CC1, U+6CDB, U+6CE8, U+6CF0, U+6D1E, U+6DB5, U+6DE1, U+6DF7, U+6E21, U+6E38, U+6E6F, U+6E90, U+6EFE, U+6F02, U+6F38, U+6F5B, U+6F64, U+6FFE, U+7051, U+7070, U+719F, U+7206, U+721B, U+722C, U+7246, U+72AF, U+72C0, U+731C, U+7533, U+7570, U+758F, U+7591, U+767B, U+76E3, U+76EF, U+76F8, U+773C, U+77EF, U+786C, U+7891, U+78B0, U+78BC, U+7919, U+795E, U+7968, U+79C1, U+79D8, U+7A00, U+7A3D, U+7A81, U+7A84, U+7A97, U+7BE9, U+7C3F, U+7C64, U+7C97, U+7CFE, U+7D00, U+7D05, U+7D14, U+7D17, U+7D1A-7D1B, U+7D20, U+7D2B, U+7D39, U+7D61, U+7D72, U+7D81, U+7D9C, U+7DA0, U+7DB4, U+7DD2, U+7DE3, U+7DE8, U+7E2B, U+7E37, U+7E5E, U+7F6A, U+805A, U+805E, U+809D, U+80A1, U+80B2, U+8106, U+8154, U+8173, U+81F4, U+826F, U+82E5, U+8349, U+83AB, U+8449, U+8463, U+8490, U+85CD, U+865F, U+87F2, U+884D, U+885D, U+8861, U+8972, U+8A34, U+8A3B, U+8A5E, U+8A87, U+8AB0, U+8AFE, U+8B0A, U+8B1D, U+8B66, U+8C8C, U+8CA0, U+8CA8-8CA9, U+8CAC, U+8CB4, U+8CEA, U+8CF4, U+8DA8, U+8DB3, U+8DE8, U+8DF3, U+8E64, U+8E8D, U+8EB2, U+8EDF, U+8EF8, U+8F09, U+8F14, U+8F38, U+8FA8, U+8FF0, U+9010, U+9014, U+9055, U+905E, U+9077, U+914C, U+91DD, U+9280, U+929C, U+9396, U+9418, U+9470, U+9589, U+964D, U+9663, U+9694, U+9699, U+969C, U+96B8, U+96C6, U+96DE, U+96F6-96F7, U+9738, U+975C, U+97D3, U+9808, U+983B, U+9846, U+984D, U+984F, U+98C4, U+98E2, U+98EF, U+98FE, U+9913, U+9A19, U+9CE5, U+9ED8, U+9F20, U+9F4A, U+9F61, U+FE0F, U+FF06, U+FF0B, U+FF5E, U+1F6A9; }
@font-face { font-family: "LXGW WenKai TC"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/lxgw-wenkai-tc-700.woff2") format("woff2");
  unicode-range: U+20-7E, U+B7, U+2014, U+2018-2019, U+201C-201D, U+2026, U+2713, U+3001-3002, U+3008-300F, U+30FB, U+4E00, U+4E0A-4E0B, U+4E0D, U+4E5D, U+4E86, U+4EBA, U+4ECB, U+4EE3, U+4EE5, U+4EFB, U+4F55, U+4F5C, U+4F60, U+4F86, U+4FEE, U+500B, U+505C, U+50B3, U+5132, U+5167, U+516C, U+524D, U+5275, U+52A0, U+53F8, U+540C, U+56DE, U+5929, U+597D, U+5B58, U+5B89, U+5C01, U+5C07, U+5DF1-5DF2, U+5E74, U+5E95, U+5EFA, U+5F8C, U+5FB5, U+5FBD, U+61C9, U+6211, U+6216, U+6295, U+6551, U+6578, U+6599, U+662F, U+66AB, U+6700, U+6703, U+671F, U+696D, U+6C38, U+6C42, U+6E90, U+7070, U+7248, U+7559, U+767C, U+7684, U+78BA, U+78BC, U+793A, U+79D1, U+79FB, U+7AE0, U+7B46, U+7C97, U+7CBE, U+7D00, U+7D05, U+7D39, U+7D93, U+7DA0, U+7F3A, U+7F6E, U+806F, U+8077, U+8166, U+81EA, U+8272, U+8490, U+85CF, U+88DD, U+89E3, U+8ACB, U+8B70, U+8C93, U+8CC7, U+8F38, U+8FD1, U+9019, U+904E, U+9060, U+9304, U+9396, U+958B, U+9664, U+96B1, U+96C6, U+96E2, U+96FB, U+9801, U+986F, U+FF01, U+FF08-FF09, U+FF0C, U+FF1A-FF1B, U+FF1F; }
/* FONT-FACE:END */
@font-face { font-family: "Fraunces"; font-weight: 500; font-display: swap; src: url("/assets/tree/fonts/fraunces-500.woff2") format("woff2"); unicode-range: U+20-7E, U+2014, U+2019-201D, U+2191-2193; }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("/assets/tree/fonts/fraunces-600.woff2") format("woff2"); unicode-range: U+20-7E, U+2014, U+2019-201D, U+2191-2193; }
@font-face { font-family: "Hand ZH"; font-display: swap; src: url("/assets/tree/fonts/hand-zh.woff2") format("woff2"); }
@font-face { font-family: "Hand EN"; font-display: swap; src: url("/assets/tree/fonts/hand-en.woff2") format("woff2"); }

:root {
  --cream: #f3ecda; --paper: #f7f1e2; --ink: #2b2a20; --muted: #6f6a59; --line: rgba(43,42,32,.14); --leaf: #4f6b34; --sun: #9c4f1d;
  --display: "Fraunces", "Charter", "LXGW WenKai TC", serif;
  --serif: "Charter", "LXGW WenKai TC", "Songti TC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --hand: "Hand ZH", "LXGW WenKai TC", serif;
  --glass: rgba(243,236,218,.82);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --cream: #151a2b; --paper: #1b2136; --ink: #ece6d6; --muted: #a29fae; --line: rgba(236,230,214,.14); --leaf: #b9c99a; --sun: #e9a463;
  --glass: rgba(21,26,43,.8);
  color-scheme: dark;
}
.hand { font-family: var(--hand); font-weight: 400; letter-spacing: .04em; -webkit-text-stroke: .3px currentColor; }
:lang(en) .hand, .hand:lang(en) { font-family: "Hand EN", var(--display); font-weight: 500; font-size: 1.4em; letter-spacing: .01em; -webkit-text-stroke: 0; }

/* top-right switches: 中 / EN and ☀︎ / ☾ */
.ctl { position: fixed; top: 18px; right: 22px; z-index: 45; display: flex; gap: 6px; }
.ctl a, .ctl button { font: 500 12px var(--mono); color: var(--ink); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 0; border-radius: 999px; padding: 7px 12px; cursor: pointer; text-decoration: none; box-shadow: 0 4px 16px -8px rgba(40,30,10,.45); line-height: 1.4; }
.ctl .off { opacity: .45; } .ctl .cur { font-weight: 600; }
.ctl .moonI { display: none; } :root[data-theme="dark"] .ctl .sunI { display: none; } :root[data-theme="dark"] .ctl .moonI { display: inline; }

/* bottom dock: page sections (home) or site pages (inner pages) */
.dock { position: fixed; left: 0; right: 0; bottom: 22px; margin: 0 auto; width: fit-content; max-width: calc(100vw - 20px); z-index: 40;
  display: flex; align-items: center; gap: 2px; padding: 6px 6px 6px 10px; border-radius: 999px; background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 30px -10px rgba(40,30,10,.4); font: 13px var(--sans); }
.dock a { position: relative; padding: 8px 11px 10px; text-decoration: none; color: var(--muted); border-radius: 999px; white-space: nowrap; transition: color .25s; }
.dock a:hover, .dock a.on, .dock a[aria-current="page"] { color: var(--ink); }
.dock a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--sun); }
@media (max-width: 640px) { .dock { bottom: 14px; font-size: 12px; padding: 5px 5px 5px 6px; } .dock a { padding: 7px 7px 9px; } .ctl { top: 12px; right: 12px; } }
