@font-face { font-family: "MF Iansui"; src: url("/fonts/mf-iansui.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "MF Iansui"; src: url("/fonts/iansui-core.b6bcfebd.woff2") format("woff2"); font-display: swap; unicode-range: U+20-7E, U+B0, U+D7, U+ED, U+F7, U+2013-2014, U+2022, U+2026, U+2039-203A, U+2192, U+2194, U+2460, U+2473, U+25A1, U+25AA, U+25CB, U+25CE-25CF, U+2665, U+26A0, U+3000-3002, U+3008-3011, U+304B, U+3059, U+30FB, U+4E00-4E01, U+4E03, U+4E09-4E0B, U+4E0D, U+4E16, U+4E1F, U+4E26, U+4E2D, U+4E32, U+4E38-4E39, U+4E3B, U+4E43, U+4E45, U+4E4B, U+4E4E, U+4E58, U+4E5D, U+4E5F, U+4E73, U+4E7E, U+4E82, U+4E86, U+4E8B-4E8C, U+4E92, U+4E94-4E95, U+4E9B, U+4E9E, U+4EA4, U+4EAB-4EAC, U+4EAE, U+4EBA, U+4EC0-4EC1, U+4ECA-4ECB, U+4ED4, U+4ED6, U+4ED9, U+4EE3-4EE5, U+4EF6, U+4EFB, U+4EFD, U+4F0D, U+4F11, U+4F2F-4F30, U+4F34, U+4F38, U+4F3A, U+4F46, U+4F4D-4F4F, U+4F54-4F55, U+4F5B-4F5C, U+4F60, U+4F69, U+4F73, U+4F75, U+4F7F, U+4F86, U+4F8B, U+4F9B, U+4F9D, U+4FBF, U+4FC2, U+4FC4, U+4FCA, U+4FD7, U+4FDD, U+4FE1, U+4FEE-4FEF, U+500B, U+500D, U+5011-5012, U+5019, U+502B, U+503C, U+5047, U+504F, U+505A, U+505C, U+5074, U+5076-5077, U+5085, U+508D, U+5098-5099, U+50B3, U+50B7, U+50BE, U+50C5, U+50CF, U+50D1, U+50F9, U+512A, U+5132, U+5143, U+5148-5149, U+514B, U+514D, U+5152, U+5165, U+5167-5169, U+516B-516D, U+5171, U+5175-5178, U+5187, U+518A, U+518D, U+5192, U+51A0, U+51AC, U+51B0, U+51B7, U+51CC-51CD, U+51DD, U+51F1, U+51F8-51FA, U+51FD, U+5200, U+5203, U+5206-5208, U+5217, U+521D, U+5224-5225, U+5228-522A, U+522E, U+5230, U+5236-5237, U+523A-523B, U+5241, U+5247, U+5249-524A, U+524D, U+5256, U+525B, U+525D, U+5269-526A, U+5272, U+5275, U+5283, U+528D, U+5291, U+529B, U+529F-52A0, U+52A9-52AA, U+52C1, U+52D2, U+52D5, U+52D9, U+52E2, U+52FA-52FB, U+52FE-52FF, U+5305, U+5316-5317, U+5319, U+5340-5341, U+5343, U+5347-5348, U+534A, U+5351, U+5353, U+5357, U+535A, U+535C, U+5361, U+5370, U+5373, U+5375, U+5377-5378, U+537B, U+539A, U+539F, U+53B2, U+53BB, U+53C3, U+53C8-53CB, U+53CD, U+53D6-53D7, U+53E3-53E6, U+53EA-53EB, U+53EF-53F0, U+53F3, U+53F8, U+5403-5404, U+5408-540E, U+5410-5411, U+541E, U+5426-5427, U+542B, U+5433, U+5438-5439, U+543B-543C, U+544A, U+5462, U+5468, U+5473, U+547C, U+548C, U+5495-5496, U+54AC, U+54BE, U+54C1, U+54C8, U+54E1, U+54E5, U+54E9-54EA, U+552E-552F, U+5538, U+5543, U+5546, U+554F, U+555F, U+5561, U+5564, U+556A, U+5580, U+5584, U+5589-558A, U+5594, U+559C-559D, U+55AE, U+55C6, U+55CE, U+55F2, U+5609, U+5617, U+5634, U+564C, U+564E, U+5668, U+5674, U+5690, U+56A8, U+56BC, U+56C9, U+56DB, U+56DE, U+56E0, U+56FA, U+5708, U+570B, U+570D, U+5712-5713, U+5716, U+5718, U+571F, U+5728, U+5730, U+5733, U+573E, U+5740, U+5747, U+5750-5751, U+5761, U+576A, U+5775, U+5782-5783, U+578B, U+57A2, U+57CB, U+57CE, U+57D4-57D5, U+57E4, U+57F9-57FA, U+5800, U+5802, U+5805-5806, U+5821, U+5824, U+5831, U+5834-5835, U+584A, U+584C, U+5851, U+5854, U+5858, U+585E, U+586B, U+586D, U+5875, U+5879, U+5885, U+588A, U+5893, U+589E-589F, U+58A8-58A9, U+58BE, U+58C1, U+58C7, U+58D3, U+58DE, U+58E2, U+58EB, U+58EF, U+58FA, U+58FD, U+590F, U+5915-5916, U+591A, U+591C, U+5920, U+5927, U+5929-592B, U+592E, U+5931, U+593E, U+5947-5948, U+5957, U+5960, U+5967, U+5973, U+5976, U+597D, U+5982-5983, U+59B9, U+59C6, U+59CB, U+59D3-59D4, U+59DC, U+5A01, U+5A03, U+5A18, U+5A46, U+5A4A, U+5A66, U+5A92, U+5ABD, U+5AE9, U+5B24, U+5B50, U+5B54-5B55, U+5B57-5B58, U+5B5C-5B5D, U+5B5F, U+5B63, U+5B69, U+5B78, U+5B83, U+5B89, U+5B8B-5B8C, U+5B97-5B98, U+5B9A, U+5B9C, U+5BA2, U+5BA4, U+5BAE, U+5BB3, U+5BB5-5BB6, U+5BB9, U+5BC4, U+5BC6, U+5BCC, U+5BD2-5BD3, U+5BE6-5BE7, U+5BE9, U+5BEB-5BEC, U+5BEE, U+5BF6, U+5BF8, U+5BFA, U+5C01, U+5C04, U+5C07-5C08, U+5C0D-5C0F, U+5C11, U+5C16, U+5C1A, U+5C24, U+5C31, U+5C3A, U+5C3C, U+5C3E, U+5C45, U+5C4B-5C4C, U+5C4F, U+5C51, U+5C55, U+5C64, U+5C6C, U+5C6F, U+5C71, U+5CA1, U+5CB8, U+5CC7, U+5CE8, U+5CF0, U+5CF6, U+5CFD, U+5D01, U+5D0E, U+5D19, U+5DBC, U+5DD2, U+5DDE, U+5DE1-5DE2, U+5DE5-5DE8, U+5DEE, U+5DF1-5DF2, U+5DF4, U+5DF7, U+5DFE, U+5E02-5E03, U+5E15, U+5E2B, U+5E33, U+5E36, U+5E38, U+5E3D, U+5E4C, U+5E55, U+5E63, U+5E6B, U+5E72-5E74, U+5E78-5E79, U+5E7E, U+5E84, U+5E8F, U+5E95, U+5E97, U+5E9C, U+5EA6-5EA7, U+5EAB, U+5EAD, U+5EB7, U+5EC1, U+5ED3, U+5EDA, U+5EDF, U+5EE3, U+5EF3, U+5EF6, U+5EFA, U+5F04, U+5F08, U+5F0F, U+5F15, U+5F27, U+5F31, U+5F35, U+5F37, U+5F48, U+5F4C, U+5F4E, U+5F62, U+5F69, U+5F6D, U+5F70-5F71, U+5F80, U+5F85, U+5F88, U+5F8B-5F8C, U+5F91, U+5F97, U+5F9E, U+5FA9-5FAA, U+5FAE, U+5FB5, U+5FB7, U+5FC3, U+5FC5, U+5FD7, U+5FD9, U+5FE0, U+5FEB, U+5FFD, U+600E, U+6015, U+601D, U+6025, U+6027, U+602A, U+6046, U+6069, U+606F, U+609F, U+60A8, U+60B6, U+60C5, U+60E0, U+60F3, U+610F, U+611B, U+611F, U+6148, U+614B, U+6162-6163, U+6176, U+61C9, U+61F6, U+6200, U+6210-6211, U+6216, U+621A, U+6230, U+6232-6234, U+6236, U+623F-6241, U+6247, U+624B, U+624D-624E, U+6253, U+6258, U+6263, U+626D, U+6276, U+6279, U+627E, U+6284, U+628A, U+6293, U+6295, U+6298, U+62AB-62AC, U+62B9, U+62BD, U+62C7, U+62C9, U+62CB-62CD, U+62D4, U+62D6, U+62DB-62DC, U+62EC, U+62F3, U+62FC, U+62FF, U+6301, U+6307, U+6309, U+6311, U+6316, U+6328, U+633A, U+6346, U+634F, U+6355, U+6372, U+6377, U+6380, U+6383, U+6388-6389, U+638C, U+6390, U+6392, U+639B, U+63A1, U+63A5, U+63A7-63A8, U+63B0, U+63C9, U+63D0, U+63D2, U+63DB, U+63E1, U+63EE, U+6413, U+6416, U+641E, U+6425, U+642C-642D, U+6436, U+6454, U+6458, U+6469, U+6478, U+647A, U+6487-6488, U+6490, U+6492, U+6495, U+649E, U+64A5, U+64AB, U+64AE, U+64C0-64C2, U+64CB, U+64CD-64CE, U+64D4, U+64E0, U+64E6, U+64F0, U+64FA, U+6524, U+652A, U+652F, U+6536, U+6539, U+653E-653F, U+6545, U+6548, U+654F, U+6557, U+6559, U+6562-6563, U+6572, U+6574, U+6578, U+6587, U+6591, U+6597, U+6599, U+659C, U+65A4, U+65AF-65B0, U+65B7, U+65B9, U+65BC-65BD, U+65C1, U+65C5, U+65CB, U+65CF, U+65D7, U+65E5-65E6, U+65E9, U+65EC, U+65F1, U+6606-6607, U+660E-660F, U+6613, U+661F-6620, U+6625, U+662F, U+6642-6643, U+6652, U+665A, U+6668, U+666E-666F, U+6676, U+667A, U+667E, U+6691, U+6696-6697, U+66AB, U+66B1, U+66C6, U+66EC, U+66F2, U+66F4, U+66F8, U+66FC, U+66FE-6700, U+6703, U+6708-6709, U+670B, U+670D, U+671B, U+671D, U+671F, U+6728, U+672A-672D, U+6731, U+6734-6735, U+6749, U+674E-6751, U+6753, U+675E-675F, U+676F, U+6771, U+6777, U+677E-677F, U+6787, U+678B, U+6790, U+6797, U+679C-679D, U+67B6, U+67B8, U+67C4, U+67D0-67D1, U+67D3-67D4, U+67DA, U+67E5, U+67F3-67F5, U+67FF, U+6817, U+6821, U+682A, U+6838-6839, U+683C, U+6842-6843, U+6846, U+6848, U+684C, U+6850, U+6876, U+6885, U+6893, U+6897, U+689D, U+68A7-68A8, U+68C4, U+68C9, U+68CD, U+68D2, U+68D7, U+68DA, U+68EE, U+68F2, U+68FA, U+690D, U+6912, U+692A, U+6930, U+694A, U+6953, U+695A, U+6960, U+696D, U+6994-6995, U+69A8, U+69AE, U+69B4, U+69CC, U+69FD, U+6A02, U+6A13, U+6A19, U+6A21, U+6A23, U+6A39, U+6A44, U+6A4B, U+6A58-6A59, U+6A5F, U+6A62, U+6A6B, U+6A94, U+6AA2, U+6AAC, U+6AAF, U+6AB3, U+6AB8, U+6AC3, U+6ADB, U+6AFB, U+6B04, U+6B0A, U+6B16, U+6B21, U+6B3E, U+6B4C, U+6B61-6B66, U+6B6A, U+6B72, U+6B78, U+6B7B, U+6B8A, U+6B96, U+6B98, U+6BB5, U+6BBA, U+6BBC, U+6BCD, U+6BCF, U+6BD2, U+6BD4, U+6BDB, U+6BEB, U+6BEF, U+6C11, U+6C23, U+6C27-6C28, U+6C2F, U+6C34, U+6C38, U+6C41, U+6C46, U+6C50, U+6C55, U+6C5F-6C60, U+6C7A, U+6C7D, U+6C89, U+6C92, U+6C96, U+6C99, U+6CAB, U+6CB3, U+6CB8-6CB9, U+6CBB, U+6CBE-6CBF, U+6CC1, U+6CC9, U+6CD5, U+6CE1-6CE2, U+6CE5, U+6CE8, U+6CF0, U+6D0B, U+6D17, U+6D1B, U+6D1E, U+6D25, U+6D32, U+6D3B, U+6D3E, U+6D41, U+6D59, U+6D6A, U+6D6E, U+6D74, U+6D77-6D78, U+6D88, U+6DB2, U+6DBC, U+6DC7, U+6DCB, U+6DE1, U+6DE8, U+6DEE, U+6DF1, U+6DF7, U+6DF9-6DFA, U+6E05, U+6E1B, U+6E23, U+6E2C, U+6E2F, U+6E34, U+6E4A, U+6E56, U+6E6F, U+6E73, U+6E90, U+6E96, U+6E9D, U+6EA2, U+6EAA-6EAB, U+6EB6, U+6EC5, U+6EC7, U+6ECB, U+6ED1, U+6EEC, U+6EF4, U+6EF7, U+6EFE-6EFF, U+6F01-6F02, U+6F0F, U+6F14, U+6F22, U+6F2C, U+6F38, U+6F3F, U+6F54, U+6F5B, U+6F64, U+6F6D-6F6E, U+6F80, U+6F84, U+6F86, U+6F88, U+6F8E, U+6FA4, U+6FB1, U+6FB3, U+6FC1, U+6FC3, U+6FD5, U+6FDF, U+6FF1, U+6FFE, U+700F, U+701D, U+704C, U+7063, U+706B, U+7070, U+707D, U+708A, U+708E, U+7092, U+70AD, U+70B8, U+70BA, U+70C8, U+70CF, U+70D8, U+70E4, U+70F9, U+7119, U+7121-7122, U+7126, U+7130, U+7136, U+713F, U+7149, U+714C, U+714E, U+7159, U+7167, U+716E, U+7178, U+7184, U+718A, U+719F, U+71AC, U+71B1, U+71C8-71C9, U+71D2, U+71D5, U+71D9, U+71DC, U+71DF, U+71E5, U+71F4, U+71FB, U+7206, U+720C, U+7210, U+721B, U+722A, U+723D-723E, U+7246-7248, U+724C, U+7259, U+725B, U+7260-7261, U+7267, U+7269, U+7279, U+727D, U+72C0, U+731B, U+7334, U+7345, U+7368, U+7372, U+7378, U+7389, U+738B, U+73A9, U+73BB, U+73C0, U+73CD, U+73E0, U+73ED, U+73FE, U+7403, U+7406, U+7409, U+7425, U+743A, U+745E, U+746A, U+746F, U+7483, U+74B0, U+74DC, U+74E0, U+74E3-74E4, U+74E6, U+74F6, U+7515, U+7518, U+751C, U+751F, U+7522, U+7528-7529, U+7530-7532, U+7538, U+753A, U+754C, U+7559, U+7565-7566, U+756A-756B, U+7570, U+7576, U+7586, U+758A, U+7591, U+75D5, U+75D8, U+75DB, U+75E0, U+75F4, U+7626, U+7661-7662, U+767B-767E, U+7682, U+7684, U+7686-7687, U+76AE, U+76BA, U+76C6, U+76C8, U+76D2, U+76DB, U+76DF, U+76E1, U+76E4, U+76E7, U+76EE, U+76F4, U+76F8, U+7701, U+7709, U+770B, U+771F, U+7737, U+773C, U+775B, U+7761, U+77AC, U+77E5, U+77ED-77EE, U+77F3, U+77F8, U+77FD, U+7802, U+7814, U+7827, U+7834, U+786B-786C, U+7887, U+788E, U+7897, U+789F, U+78A7, U+78B0, U+78B3, U+78BA, U+78BC, U+78E8, U+78F7, U+7901, U+7926, U+793A, U+793E, U+7950, U+7955-7956, U+795D-795E, U+7968, U+796D, U+798F, U+79AE, U+79BD, U+79C0-79C1, U+79C8, U+79CB, U+79D1-79D2, U+79D8, U+79E4, U+79E7, U+79FB, U+7A00, U+7A09, U+7A0B, U+7A0D, U+7A1C, U+7A20, U+7A2E, U+7A31, U+7A3B, U+7A40, U+7A4D, U+7A57, U+7A69, U+7A6B, U+7A7A, U+7A7F, U+7A81, U+7A97, U+7AAF, U+7AC4-7AC5, U+7ACB, U+7AD9, U+7AE0, U+7AE5, U+7AEF, U+7AF6, U+7AF9, U+7AFF, U+7B11, U+7B2C, U+7B46, U+7B49-7B4B, U+7B4D, U+7B52, U+7B77, U+7B8F, U+7B94, U+7B97, U+7BA1, U+7BAD, U+7BB1, U+7BC0, U+7BC4, U+7BC9, U+7BE9, U+7C21, U+7C3D-7C3E, U+7C43, U+7C60, U+7C64, U+7C73, U+7C7D, U+7C84, U+7C89, U+7C92, U+7C97, U+7CA5, U+7CB9, U+7CBD-7CBF, U+7CCA, U+7CD5-7CD6, U+7CDC, U+7CE7, U+7CEC, U+7CEF-7CF0, U+7CFB, U+7D00, U+7D04-7D05, U+7D0B, U+7D0D, U+7D10, U+7D14, U+7D17, U+7D19-7D1A, U+7D20, U+7D22, U+7D2B, U+7D2E-7D30, U+7D39, U+7D44, U+7D50, U+7D55, U+7D5E, U+7D61, U+7D66, U+7D68, U+7D6E, U+7D71-7D72, U+7D81, U+7D93, U+7D9C, U+7DA0, U+7DAD, U+7DB2, U+7DB4, U+7DBF, U+7DCA, U+7DDA, U+7DE3, U+7DE8, U+7DEC, U+7DFB, U+7E23, U+7E2B, U+7E2E, U+7E31, U+7E3D, U+7E5E, U+7E69-7E6A, U+7E7C, U+7E8C, U+7E96, U+7E9C, U+7F3D, U+7F50, U+7F69, U+7F6E, U+7F72, U+7F85, U+7F8A, U+7F8E, U+7FA9, U+7FB9, U+7FC5, U+7FD2, U+7FE0, U+7FF9, U+7FFB, U+8001, U+8003, U+8005, U+800C, U+8010, U+8033, U+804A, U+8056, U+805E, U+806F, U+8072, U+807D, U+8089, U+808B-808C, U+809A, U+809D, U+80A1, U+80A5, U+80A9, U+80B2, U+80C3, U+80CC, U+80D6, U+80DB, U+80E1, U+80ED, U+80F8, U+80FD, U+8102, U+8106-8108, U+812B, U+812F, U+8139, U+814E, U+8150, U+8165-8166, U+8169, U+8170-8171, U+8173, U+8178-8179, U+817F, U+818F, U+819A, U+819C, U+81A0, U+81A8-81A9, U+81B3, U+81BD, U+81C2, U+81C9, U+81CD, U+81D8, U+81DF, U+81E8, U+81EA, U+81ED, U+81F3-81F4, U+81FA, U+8200, U+8207-820A, U+820C, U+8212, U+8214, U+821E, U+822C, U+8239-823A, U+8247, U+824B, U+8258, U+826F, U+8272, U+8277, U+827E, U+828B, U+828E, U+8292, U+829D, U+82A1, U+82A5, U+82AB-82AD, U+82AF, U+82B1, U+82B3, U+82B9, U+82BD, U+82D1, U+82D3-82D4, U+82D7, U+82DE, U+82E3, U+82E6, U+82F1, U+8302, U+8304-8305, U+832D, U+8334, U+8336, U+8339, U+833C, U+8349, U+8354, U+8373, U+8377-8378, U+837D, U+838A, U+838E, U+8392-8393, U+8396, U+83A2, U+83A7, U+83AB, U+83BF, U+83C7, U+83CC, U+83D6, U+83DC, U+83E0, U+83EF, U+83F1-83F2, U+8404, U+840A, U+8423, U+842C, U+8435, U+843C-843D, U+8449, U+8457, U+845B, U+8461, U+846B, U+8475, U+8482, U+8494, U+849C, U+84A1, U+84B2, U+84B8, U+84BC, U+84BF, U+84C9, U+84CB, U+84EC, U+84EE, U+8513-8514, U+8517, U+8525, U+852C-852D, U+853B, U+8548-854A, U+8568, U+8577, U+8579, U+857E, U+8584, U+858F, U+8591, U+85A6, U+85A9, U+85AF, U+85BA, U+85CD, U+85CF, U+85D5, U+85E4-85E5, U+85F7, U+85FB, U+8606-8607, U+860B, U+862D, U+863F, U+864E, U+8655, U+865B, U+865F, U+8671, U+8679, U+86B5, U+86CB, U+86D9, U+86E4, U+8702, U+870A, U+871C, U+8766, U+8778, U+878D, U+87A2, U+87BA, U+87C4, U+87EC, U+87F2-87F3, U+87F9, U+8805, U+8814, U+8823, U+8840, U+884C, U+8857, U+885B, U+8861, U+8863, U+8868, U+888B, U+8896, U+88AB, U+88C2, U+88D5, U+88DC-88DD, U+88E1, U+88F8-88F9, U+88FD, U+8907, U+8910, U+8912, U+897F, U+8981, U+8986, U+898B, U+898F, U+8996, U+89BA, U+89BD, U+89C0, U+89D2, U+89E3, U+8A00, U+8A02, U+8A08, U+8A0A, U+8A0E, U+8A18, U+8A23, U+8A2D, U+8A31, U+8A34, U+8A3B, U+8A55, U+8A5E, U+8A66, U+8A71-8A72, U+8A8C-8A8D, U+8A95, U+8A9E, U+8AA0, U+8AA4, U+8AAA, U+8AB0, U+8ABF, U+8ACB, U+8AD6, U+8AFE, U+8B1D, U+8B49, U+8B58, U+8B5C, U+8B70, U+8B77, U+8B80, U+8B8A, U+8B93, U+8B9A, U+8C37, U+8C46-8C47, U+8C49, U+8C4C, U+8C50, U+8C54, U+8C5A, U+8C61, U+8C6C, U+8C93, U+8C9D, U+8CA0-8CA2, U+8CA8-8CA9, U+8CAC, U+8CB4, U+8CB7-8CB8, U+8CBB-8CBC, U+8CC7, U+8CCA, U+8CD3, U+8CDE, U+8CE3-8CE4, U+8CEA, U+8CED, U+8CF4, U+8CFC, U+8D64, U+8D70, U+8D77, U+8D81, U+8D85, U+8D8A, U+8D95-8D96, U+8DA3, U+8DA8, U+8DB3, U+8DD1, U+8DDD, U+8DDF, U+8DEF, U+8DF3, U+8E44, U+8E8D, U+8EAB, U+8EB2, U+8EBA, U+8ECA, U+8ECC-8ECD, U+8EDF, U+8F03, U+8F09, U+8F14-8F15, U+8F29-8F2A, U+8F2F, U+8F49, U+8F9B, U+8FA3, U+8FA6, U+8FB0, U+8FB2, U+8FCE, U+8FD1, U+8FE6, U+8FEA, U+8FED, U+8FF0, U+8FF7, U+8FFD, U+9000-9001, U+9006, U+900F, U+9014, U+9019-901B, U+901F-9020, U+9022-9023, U+9031-9032, U+9047, U+904A-904B, U+904D-904E, U+9053-9054, U+9060, U+9069, U+906E, U+9077-9078, U+907F-9080, U+9084, U+908A, U+90A3, U+90E8, U+90ED, U+90F5, U+90FD, U+9109, U+9130, U+914D, U+9152, U+9165, U+916A, U+9175, U+9178, U+9183, U+918B, U+9192, U+91AB-91AC, U+91C0, U+91CB-91D1, U+91D8, U+91DC-91DD, U+920D, U+9215, U+9223, U+9234, U+9280, U+9285, U+9298, U+92B7, U+92BC, U+92C1, U+92EA, U+9304, U+9318, U+9322, U+932B, U+932F, U+934A-934B, U+9375, U+9396, U+93AE, U+93C8, U+93DF, U+93E1, U+9418, U+9435, U+9444, U+947C-947D, U+9577, U+9580, U+9583, U+9589, U+958B, U+9593, U+95C6, U+95DC, U+962A, U+9632, U+963F-9640, U+9644, U+964D, U+9650, U+9663-9664, U+9670, U+9676, U+9678, U+967D, U+9686, U+968A, U+968D-968E, U+9694, U+9699, U+969B-969C, U+96A8, U+96AA, U+96B1, U+96BB-96BC, U+96C0, U+96C4-96C6, U+96D5-96D6, U+96D9, U+96DC, U+96DE, U+96E2-96E3, U+96E8, U+96EA, U+96F2, U+96F6-96F7, U+96FB, U+9700, U+9704, U+9709, U+971C, U+9727, U+9732, U+9748, U+9752, U+9756, U+975C, U+975E, U+9760, U+9762, U+978B, U+97CC, U+97D3, U+97ED, U+97F3, U+97FF, U+9801-9802, U+9805-9806, U+9808, U+9810, U+9813, U+982D, U+9830, U+9846, U+984C, U+984F, U+985E, U+9867, U+986F, U+98A8, U+98B1, U+98C4, U+98DB, U+98DF, U+98E9, U+98EF, U+98F2, U+98FD-98FE, U+9903, U+9905, U+990A, U+9910, U+9918, U+991B, U+991E, U+9921, U+9928, U+9935, U+9943, U+9945, U+9952, U+9996, U+9999, U+99AC, U+9A0E, U+9A30, U+9A5A, U+9A5F, U+9AA8, U+9AD2, U+9AD4, U+9AD8, U+9AEE, U+9B03, U+9B06, U+9B1A, U+9B27, U+9B3C, U+9B41-9B42, U+9B5A, U+9B60, U+9B69, U+9B6F, U+9B77, U+9B91, U+9BAA, U+9BAD-9BAE, U+9BD6, U+9BDB, U+9BE1, U+9BE8, U+9C39, U+9C54, U+9C57, U+9CE5, U+9CF3, U+9D28, U+9D3B, U+9DAF, U+9DB4, U+9DE5, U+9DF9-9DFA, U+9E79, U+9E7C-9E7D, U+9E7F, U+9E97, U+9E9F, U+9EA5, U+9EA9, U+9EB4-9EB5, U+9EBB-9EBC, U+9EC3, U+9ECF, U+9ED1, U+9EDE, U+9F0E, U+9F13, U+9F20, U+9F3B, U+9F4A, U+9F8D, U+9F9C, U+FF01, U+FF05, U+FF08-FF09, U+FF0B-FF1B, U+FF1F, U+FF5E; }

:root {
  --paper: #F6F1E7;
  --card: #FBF7EE;
  --ink: #2E2A24;
  --ink-soft: #6B6253;
  --wood: #B98A55;
  --accent: #E4572E;
  --line: rgba(46, 42, 36, .14);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--paper); color: var(--ink);
  font-family: "MF Iansui", "PingFang TC", "Noto Serif TC", serif; -webkit-tap-highlight-color: transparent; }
body { overflow: hidden; }

/* 可左右滑動的舞台 */
#scroller { position: fixed; inset: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
  scrollbar-width: none; overscroll-behavior-x: contain; }
#scroller::-webkit-scrollbar { display: none; }
#scene { position: relative; overflow: hidden; }
.snap { position: absolute; top: 0; width: 1px; height: 1px; scroll-snap-align: center; }

.layer { position: absolute; display: block; user-select: none; -webkit-user-select: none; pointer-events: none; }
.room, .flat { inset: 0; width: 100%; height: 100%; }
.outside { will-change: transform; }

/* 砧板上的晨光：慢慢呼吸 */
.light { position: absolute; pointer-events: none; mix-blend-mode: soft-light; border-radius: 40%;
  background: radial-gradient(60% 55% at 45% 40%, rgba(255, 226, 170, .95), rgba(255, 226, 170, 0) 70%);
  animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: .75; } }

/* 牆上的農民曆：程式寫日期 */
.cal { position: absolute; container-type: size; display: flex; flex-direction: column; align-items: center;
  justify-content: center; color: #3A332A; pointer-events: none; text-align: center; }
.cal-m { font-size: 9cqh; letter-spacing: .1em; }
.cal-d { font-size: 40cqh; line-height: 1; font-family: Georgia, "MF Iansui", serif; color: #B8452B; }
.cal-w { font-size: 8cqh; margin-top: 2cqh; }
.cal-t { font-size: 8cqh; margin-top: 4cqh; padding: .5cqh 6cqw; border-top: 1px solid rgba(58, 51, 42, .35); }

/* 可以點的地方 */
.spot { position: absolute; padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer; border-radius: 18px; }
.spot:focus-visible { outline: 3px dashed rgba(255, 255, 255, .9); outline-offset: -6px; }
@media (hover: hover) { .spot:hover { outline: 3px dashed rgba(255, 255, 255, .9); outline-offset: -6px; } }
.spot:focus:not(:focus-visible) { outline: none; }
.spot .tag { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); white-space: nowrap;
  background: rgba(251, 247, 238, .92); color: var(--ink); font-size: 15px; padding: 3px 10px; border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12); opacity: 0; transition: opacity .2s; pointer-events: none; }
.spot:focus-visible .tag, body.hint .spot.main .tag { opacity: 1; }
@media (hover: hover) { .spot:hover .tag { opacity: 1; } }
body.hint .spot.main::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px;
  margin: -9px 0 0 -9px; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
  animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 100% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } }

/* 左上標題 */
.top { position: fixed; z-index: 5; left: max(16px, env(safe-area-inset-left)); top: max(14px, env(safe-area-inset-top));
  background: rgba(251, 247, 238, .88); border-radius: 14px; padding: 8px 14px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  pointer-events: none; }
.top .title { font-size: 20px; letter-spacing: .08em; }
.top .sub { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* 下方工作台捷徑 */
.chips { position: fixed; z-index: 5; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; gap: 6px; background: rgba(251, 247, 238, .9); padding: 6px; border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12); }
.chips button { font: inherit; font-size: 16px; border: 0; background: transparent; color: var(--ink);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; white-space: nowrap; flex: none; }
.chips button.on { background: var(--ink); color: var(--card); }

/* 說明卡 */
.sheet-bg { position: fixed; z-index: 10; inset: 0; background: rgba(40, 34, 26, .18); }
.sheet { position: fixed; z-index: 11; left: 50%; bottom: 0; transform: translateX(-50%); width: min(560px, 100%);
  max-height: 72vh; overflow: auto; background: var(--card); border-radius: 22px 22px 0 0;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 30px rgba(0, 0, 0, .15);
  animation: up .22s ease-out; }
@keyframes up { from { transform: translate(-50%, 30px); opacity: 0; } }
.sheet h2 { margin: 0 34px 10px 0; font-weight: normal; font-size: 24px; letter-spacing: .05em; }
.sheet p { margin: 0 0 12px; font-size: 17px; line-height: 1.7; }
.sheet .src { font-size: 13px; color: var(--ink-soft); }
.sheet-x { position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border: 0; background: transparent;
  font-size: 28px; color: var(--ink-soft); cursor: pointer; border-radius: 50%; }
.act { font: inherit; font-size: 17px; border: 0; border-radius: 999px; padding: 10px 20px; margin-top: 4px;
  background: var(--accent); color: #fff; opacity: .55; cursor: not-allowed; }
.rlist { list-style: none; padding: 0; margin: 6px 0 0; }
.rlist li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 17px; }
.rlist .meta { color: var(--ink-soft); font-size: 14px; white-space: nowrap; }
.rgroup { margin: 16px 0 0; font-size: 15px; color: var(--ink-soft); letter-spacing: .1em; }

@media (prefers-reduced-motion: reduce) { .light, body.hint .spot.main::after { animation: none; } }

/* ===================== 第一關 ===================== */
.spot.target { outline: 4px solid rgba(255, 244, 214, .95); outline-offset: -8px; animation: glowpulse 1.6s ease-in-out infinite; }
@keyframes glowpulse { 50% { outline-color: rgba(228, 87, 46, .85); } }

.task { position: fixed; z-index: 6; left: 50%; transform: translateX(-50%); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 62px);
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 32px);
  background: var(--card); border-radius: 16px; padding: 8px 8px 8px 12px; box-shadow: 0 3px 14px rgba(0, 0, 0, .14); }
.task-n { font-size: 13px; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.task-t { font-size: 15px; line-height: 1.4; }
.task-go { font: inherit; font-size: 15px; border: 0; border-radius: 999px; background: var(--ink); color: var(--card); padding: 7px 14px; cursor: pointer; white-space: nowrap; }

.act-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.act.on { opacity: 1; cursor: pointer; }
.act.ghost { opacity: 1; cursor: pointer; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.steps { padding-left: 1.3em; margin: 6px 0; } .steps li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.tips { padding-left: 1.2em; margin: 6px 0; } .tips li { font-size: 15px; line-height: 1.7; color: #4A4338; margin-bottom: 4px; }
.badge { display: inline-block; font-size: 12px; background: #F3D9CF; color: #9A3A1E; border-radius: 6px; padding: 0 6px; margin-right: 6px; vertical-align: 2px; }

/* 特寫畫面 */
.cu { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom));
  background-color: #EEE6D6; overflow-y: auto;
  background-image: radial-gradient(circle at 20% 30%, rgba(160, 140, 110, .25) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(120, 140, 160, .2) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 45% 80%, rgba(200, 150, 110, .22) 0 1.5px, transparent 2.5px);
  background-size: 37px 41px, 29px 33px, 43px 31px; }
.cu-head { width: min(620px, 100%); display: flex; align-items: center; gap: 10px; }
.cu-back { font: inherit; font-size: 16px; border: 0; background: var(--card); border-radius: 999px; padding: 8px 14px; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.cu-title { font-size: 22px; letter-spacing: .05em; flex: 1; }
.cu-adult { font-size: 13px; background: #F3D9CF; color: #9A3A1E; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.cu-clock { width: min(620px, 100%); display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; color: var(--ink);
  background: #FFF6D8; border: 2px solid #F2C65A; border-radius: 14px; padding: 8px 14px; }
.cu-clock .ck-label { font-size: 16px; }
.cu-clock .ck-num { font-weight: normal; font-size: 24px; line-height: 1.1; text-align: right; color: #B8452B; font-variant-numeric: tabular-nums; }
.cu-clock .ck-bar { grid-column: 1 / 3; height: 10px; border-radius: 999px; background: #F1E3B4; overflow: hidden; }
.cu-clock .ck-bar i { display: block; height: 100%; background: #E4572E; border-radius: 999px; transition: width .25s linear; }
.cu-clock .ck-note { grid-column: 1 / 3; font-size: 13px; color: #7A6A3E; }
/* 步驟的小訣竅（knacks.js） */
.cu-knack { width: min(620px, 100%); margin: 0; display: grid; gap: 2px; font-size: 15px; line-height: 1.65; background: #EEF4E6; color: #2F4F2C; border-radius: 14px; padding: 10px 14px; }
.cu-knack b { font-weight: normal; font-size: 13px; letter-spacing: .08em; color: #3E6B3A; display: flex; align-items: center; }
.cu-stage { position: relative; width: min(620px, 100%, 66vh); aspect-ratio: 5 / 4; flex: none; border-radius: 22px; overflow: hidden;
  touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 6px 20px rgba(80, 60, 30, .12); }
.cu-stage img { pointer-events: none; }
.cu-tip { width: min(620px, 100%); margin: 0; font-size: 17px; line-height: 1.7; background: var(--card); border-radius: 14px; padding: 12px 16px; min-height: 3.4em; }
.cu-actions { width: min(620px, 100%); display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cu-btn { font: inherit; font-size: 17px; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); min-height: 44px; }
.cu-btn.primary { background: var(--accent); color: #fff; }
.cu-btn:disabled { opacity: .45; cursor: default; }
.cu-toast { position: fixed; left: 50%; top: 30%; transform: translateX(-50%); z-index: 25; max-width: min(460px, 86vw); text-align: center;
  background: rgba(46, 42, 36, .9); color: #fff; font-size: 16px; line-height: 1.6; padding: 10px 18px; border-radius: 14px; pointer-events: none; }

/* 菜籃 */
.st-basket { background: #E9DCC2; background-image: repeating-linear-gradient(45deg, rgba(150, 110, 60, .12) 0 6px, transparent 6px 14px),
  repeating-linear-gradient(-45deg, rgba(150, 110, 60, .12) 0 6px, transparent 6px 14px); }
.pick-grid { position: absolute; inset: 6%; display: grid; grid-template-columns: 1fr 1fr; gap: 4%; }
.pick-card { font: inherit; border: 0; border-radius: 18px; background: rgba(251, 247, 238, .92); cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; padding: 8px; box-shadow: 0 2px 8px rgba(80, 60, 30, .12); position: relative; }
.pick-card img { width: 78%; max-height: 62%; object-fit: contain; }
.pick-name { font-size: 18px; }
.pick-card.got::before { content: ""; position: absolute; z-index: 1; right: 16px; top: 14px; width: 14px; height: 14px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l4.5 4.5 10.5-11'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l4.5 4.5 10.5-11'/%3E%3C/svg%3E") center / contain no-repeat; }
.pick-card.got::after { content: ""; position: absolute; right: 10px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: #6FA34C; color: #fff;
  display: grid; place-items: center; font-size: 15px; }

/* 水槽 */
.st-sink { background: #E3DED3; }
.basin { position: absolute; left: 4%; right: 4%; top: 8%; bottom: 6%; border-radius: 26px; background: radial-gradient(ellipse at 50% 40%, #DADFE2, #B9C0C4 75%);
  box-shadow: inset 0 6px 18px rgba(60, 70, 80, .25); }
.faucet { position: absolute; left: 47%; top: 0; width: 6%; height: 12%; border-radius: 0 0 12px 12px; background: linear-gradient(90deg, #9BA3A8, #D8DDE0 50%, #9BA3A8); }
.stream { position: absolute; left: 48.3%; top: 11%; width: 3.4%; height: 40%; border-radius: 6px; opacity: 0; transition: opacity .2s;
  background: repeating-linear-gradient(180deg, rgba(220, 238, 248, .9) 0 10px, rgba(190, 220, 238, .7) 10px 20px); animation: flow .4s linear infinite; }
.stream.on { opacity: 1; }
@keyframes flow { to { background-position: 0 20px; } }
.wash-item { position: absolute; }
.wash-item img { width: 100%; display: block; }
.mud { position: absolute; transform: translate(-50%, -50%); border-radius: 46% 54% 40% 60%; background: radial-gradient(circle, #8C6A44 0 45%, rgba(140, 106, 68, .6) 70%, transparent 72%);
  transition: opacity .15s; pointer-events: none; }
.meter { position: absolute; left: 8%; right: 8%; bottom: 4%; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .6); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: #6FA34C; transition: width .1s; }
.sparkle::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, .8) 0 2px, transparent 3px),
  radial-gradient(circle at 70% 35%, rgba(255, 255, 255, .8) 0 2px, transparent 3px), radial-gradient(circle at 55% 70%, rgba(255, 255, 255, .8) 0 2px, transparent 3px);
  animation: twinkle 1s ease-out; pointer-events: none; }
@keyframes twinkle { from { opacity: 0; transform: scale(.9); } 50% { opacity: 1; } to { opacity: 0; transform: scale(1.1); } }

/* 砧板 */
.st-board { background: #E8E0CF; }
.st-board::before { content: ""; position: absolute; inset: 7% 4%; border-radius: 20px; box-shadow: 0 6px 0 #B98A55, 0 10px 18px rgba(80, 50, 20, .2);
  background: #DDB57D repeating-linear-gradient(90deg, rgba(150, 100, 50, .12) 0 2px, transparent 2px 23px, rgba(150, 100, 50, .08) 23px 24px, transparent 24px 61px); }
.item { position: absolute; }
.item > img { width: 100%; display: block; transition: opacity .3s; }
.skinwrap { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.skin { position: absolute; background: #DED3B8; box-shadow: inset 0 -3px 0 rgba(150, 125, 85, .3), inset 0 3px 0 rgba(255, 255, 255, .35);
  background-image: repeating-linear-gradient(90deg, rgba(150, 125, 85, .18) 0 2px, transparent 2px 19px); transition: transform .5s, opacity .5s; }
.skin.off { transform: translate(8%, -60%) rotate(-8deg) scaleY(.6); opacity: 0; }
.item.chop .seg { position: absolute; inset: 0; background: center / 100% 100% no-repeat; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }
.cutline { position: absolute; top: 4%; bottom: 4%; width: 0; border-left: 3px dashed rgba(228, 87, 46, .9); transform: translateX(-1.5px); animation: breathe 1.4s ease-in-out infinite; }
/* 菜刀（刀尖朝下）：停在虛線上方，點一下就切下去再抬起來 */
.chopknife { position: absolute; width: 8.5%; max-width: none; transform: translateX(-50%); pointer-events: none; z-index: 4;
  transition: left .28s cubic-bezier(.3, 1.3, .5, 1), top .28s ease, opacity .3s; filter: drop-shadow(5px -8px 6px rgba(60, 40, 20, .3)); animation: hover 1.6s ease-in-out infinite;
  scale: 1 -1; }   /* 刀圖上下翻過來：刀柄朝站在流理台前的人（畫面下方）、刀尖朝前（scale 和動畫用的 transform 分開，不會互相蓋掉；翻過來後影子也反向，所以 y 寫負的） */
.chopknife.hit { animation: chopdown .3s cubic-bezier(.5, 0, .4, 1); }
.chopknife.nope { animation: nope .32s ease; }
.chopknife.away { opacity: 0; top: 110% !important; }
@keyframes hover { 50% { transform: translate(-50%, -6%); } }
@keyframes chopdown { 0% { transform: translate(-50%, -10%); } 36% { transform: translate(-50%, var(--drop)); } 55% { transform: translate(-50%, var(--drop)); } 100% { transform: translate(-50%, 0); } }
@keyframes nope { 25% { transform: translate(-80%, 0) rotate(-6deg); } 60% { transform: translate(-25%, 0) rotate(5deg); } }
/* 左手貓爪：指尖縮起來，壓在還沒切的那一邊 */
.chophand { position: absolute; width: 33%; max-width: none; pointer-events: none; z-index: 3; transform-origin: 94% 12%;
  transform: translate(-94%, -12%) rotate(-6deg); transition: left .35s ease, top .35s ease, opacity .3s;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 96%); mask-image: linear-gradient(to bottom, #000 70%, transparent 96%);
  filter: drop-shadow(0 8px 10px rgba(60, 40, 20, .25)); }
.chophand.press { animation: press .3s ease; }
.chophand.away { opacity: 0; }
@keyframes press { 40% { transform: translate(-94%, -10%) rotate(-6deg) scale(.97); } }
.item.chop.thud { animation: thud .26s ease; transform-origin: 50% 100%; }
@keyframes thud { 35% { transform: scale(1.02, .95); } 70% { transform: scale(.995, 1.01); } }
.crumb { position: absolute; aspect-ratio: 1; border-radius: 40%; pointer-events: none; z-index: 5; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(60, 50, 30, .15); animation: crumb .6s cubic-bezier(.2, .7, .4, 1) forwards; }
@keyframes crumb { 60% { opacity: 1; } to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 28px)) rotate(120deg); opacity: 0; } }

/* 爐台 */
.st-stove { background: #C9CCCB; background-image: radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, .35), transparent 60%); }
.glow { position: absolute; left: 50%; top: 40%; width: 62%; aspect-ratio: 1; margin: -31% 0 0 -31%; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, transparent 60%, rgba(90, 140, 255, .65) 66%, rgba(255, 150, 70, .55) 70%, transparent 76%);
  transition: opacity .4s, transform .4s; }
.pot { position: absolute; left: 50%; top: 40%; width: 54%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: #9DB3D1; box-shadow: 0 8px 18px rgba(30, 40, 60, .25), inset 0 0 0 6px #8AA1C1; transition: opacity .6s, transform .6s; }
.pot.away { opacity: 0; transform: translate(-50%, -50%) scale(.9); }
.pot .handle { position: absolute; top: 44%; width: 12%; height: 12%; background: #7F95B4; border-radius: 40%; }
.pot .handle.l { left: -9%; } .pot .handle.r { right: -9%; }
.liquid { position: absolute; inset: 8%; border-radius: 50%; background: #E9EEF0; overflow: hidden; box-shadow: inset 0 4px 10px rgba(0, 0, 0, .12); }
.liquid.full { background: var(--soup, #DCE6EA); transition: background .8s; }
.stuff, .bubbles, .foam { position: absolute; inset: 0; }
.stuff .in { position: absolute; width: 22%; animation: drop .45s ease-out both; transition: opacity .6s; }
.stuff .in.radish { width: 17%; }
.stuff .in.out { opacity: 0; }
.stuff .in.poked { animation: poke .5s ease-out; }
@keyframes drop { from { opacity: 0; margin-top: -18%; } }
@keyframes poke { 40% { filter: brightness(1.15); margin-top: 3%; } }
.stuff .dot { position: absolute; width: 2.4%; aspect-ratio: 1; border-radius: 50%; animation: drop .4s ease-out both; }
.bubbles i { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); transform: translate(-50%, -50%) scale(.3); animation: bub .9s ease-out forwards; }
@keyframes bub { to { transform: translate(-50%, -50%) scale(1.2); opacity: 0; } }
.foam i { position: absolute; transform: translate(-50%, -50%); border-radius: 45% 55% 50% 50%; background: rgba(176, 160, 136, .85); animation: drop .6s ease-out both; }
.steam { position: absolute; left: 30%; right: 30%; top: 4%; height: 40%; opacity: 0; pointer-events: none; transition: opacity .6s;
  background: radial-gradient(ellipse at 30% 70%, rgba(255, 255, 255, .7), transparent 45%), radial-gradient(ellipse at 65% 40%, rgba(255, 255, 255, .6), transparent 45%);
  filter: blur(6px); animation: rise 3s ease-in-out infinite; }
@keyframes rise { 50% { transform: translateY(-8%) scaleX(1.1); } }
.tray { position: absolute; right: 3%; top: 6%; display: flex; flex-direction: column; gap: 8px; width: 21%; }
.tray-item { font: inherit; font-size: 13px; border: 0; border-radius: 14px; background: rgba(251, 247, 238, .95); padding: 6px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); animation: wiggle 1.4s ease-in-out infinite; }
.tray-item img { width: 80%; }
.tray-item.taken { opacity: .35; animation: none; }
@keyframes wiggle { 50% { transform: rotate(-3deg); } }
.firebar { position: absolute; left: 3%; bottom: 4%; display: flex; align-items: center; gap: 6px; background: rgba(251, 247, 238, .92); border-radius: 999px; padding: 5px 6px 5px 12px; }
.fire-label { font-size: 14px; color: var(--ink-soft); }
.fire-btn { font: inherit; font-size: 15px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #E9E3D6; cursor: pointer; }
.fire-btn.on { background: var(--accent); color: #fff; }
.fire-btn[data-l="0"].on { background: var(--ink); }
.bowl { position: absolute; left: 50%; top: 42%; width: 54%; transform: translate(-50%, -50%); animation: drop .6s ease-out both; }

/* 料理明信片 */
.reward { position: fixed; inset: 0; z-index: 30; background: rgba(40, 34, 26, .55); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 14px; padding: 20px; overflow-y: auto; animation: fadein .4s ease-out; }
@keyframes fadein { from { opacity: 0; } }
.pc { width: min(340px, 78vw, 46vh); aspect-ratio: 3 / 4; background: #F6F1E7; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35); animation: cardin .7s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes cardin { from { transform: translateY(40px) rotate(-6deg) scale(.9); opacity: 0; } }
.pc-photo { position: relative; height: 50%; background: url("/img/layer-outside.webp") 62% 58% / 260% auto; }
.pc-bowl { position: absolute; left: 50%; bottom: -10%; width: 38%; transform: translateX(-50%); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .25)); }
.pc-stamp { position: absolute; right: 6%; top: 6%; width: 16%; aspect-ratio: 3 / 4; background: #FBF7EE; overflow: hidden;
  border: 4px dotted #FBF7EE; box-shadow: inset 0 0 0 2px #C9D6E6, 0 2px 6px rgba(0, 0, 0, .18); display: grid; place-items: center; }
.pc-stamp img { width: 170%; max-width: none; transform: rotate(-70deg); }
.pc-mark { position: absolute; right: 17%; top: 12%; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(31, 42, 68, .7);
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(31, 42, 68, .8); transform: rotate(-12deg); }
.pc-mark span { font: 600 9px Georgia, serif; letter-spacing: .1em; } .pc-mark b { font: 600 8px Georgia, serif; }
.pc-low { position: relative; flex: 1; }
.pc-title { position: absolute; right: 8%; top: 22%; text-align: left; color: #1F2A44; display: flex; flex-direction: column; gap: 2px; }
.pc-title i { width: 24px; border-top: 1.5px solid #1F2A44; margin-bottom: 4px; }
.pc-title strong { font: 700 18px Georgia, serif; letter-spacing: .12em; } .pc-title small { font: italic 11px Georgia, serif; }
.pc-fields { position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: repeating-linear-gradient(170deg, #C9D9B4 0 10px, #E5E9D2 10px 22px); opacity: .8; }
.reward-msg { margin: 0; color: #fff; font-size: 17px; text-align: center; max-width: 420px; line-height: 1.7; }
.reward .act.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }

/* ===================== 選菜單 ===================== */
.levels { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.lv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #F3ECDD; }
.lv-info { display: flex; flex-direction: column; gap: 2px; }
.lv-info strong { font-weight: normal; font-size: 19px; }
.lv-info span { font-size: 14px; color: var(--ink-soft); }
.lv-info em { font-style: normal; font-size: 13px; color: #4F7A33; }
.lv .act { margin: 0; white-space: nowrap; }
.pick-grid.six { grid-template-columns: 1fr 1fr 1fr; }
.pc.art { background: none; }
.pc-full { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===================== 擦乾 ===================== */
.st-sink.towel { background: #E9E1D2; background-image: repeating-linear-gradient(0deg, rgba(157, 179, 209, .25) 0 14px, transparent 14px 28px),
  repeating-linear-gradient(90deg, rgba(157, 179, 209, .25) 0 14px, transparent 14px 28px); }
.drop { position: absolute; transform: translate(-50%, -50%); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, rgba(190, 220, 240, .85) 30%, rgba(150, 190, 220, .6) 70%); transition: opacity .15s; }
.cloth { position: absolute; width: 22%; aspect-ratio: 1.3; transform: translate(-50%, -50%) rotate(-8deg); border-radius: 12px; opacity: 0; pointer-events: none;
  background: #F2EADB repeating-linear-gradient(90deg, rgba(228, 87, 46, .35) 0 4px, transparent 4px 16px); box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.cloth.on { opacity: 1; }

/* ===================== 麵團 ===================== */
.mixbowl { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #FBF8F1 55%, #E9E2D3 70%, #F6F1E7 72%); box-shadow: 0 6px 14px rgba(80, 60, 30, .2), inset 0 0 0 6px #EFE8DA; }
.flourpile { position: absolute; left: 50%; top: 50%; width: 56%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 48% 52% 46% 54%;
  background: radial-gradient(circle at 40% 35%, #FFFFFF, #EFEBE2 70%); transition: transform .1s; }
.hotwater { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(200, 225, 240, .9), rgba(200, 225, 240, .2) 70%); box-shadow: 0 -20px 30px rgba(255, 255, 255, .6); }
.hotwater.on { opacity: 1; }
.flake { position: absolute; width: 9%; height: 5.5%; border-radius: 40% 60% 50% 45%; background: #F3E7CC; box-shadow: inset 0 -2px 0 rgba(190, 160, 110, .35);
  transition: left .2s, top .2s, opacity .3s; }
.doughball { position: absolute; left: 50%; top: 50%; width: 56%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.3);
  background: radial-gradient(circle at 38% 32%, #FFF8EA, #F1E2C2 65%, #E2CDA3); box-shadow: 0 4px 10px rgba(120, 90, 40, .2); transition: border-radius .2s; }
.doughball.smooth { border-radius: 50% !important; }
.wrapfilm { position: absolute; inset: 4%; border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .08) 50%, rgba(255, 255, 255, .4));
  animation: fadein .5s ease-out; }
.sticks { position: absolute; width: 4%; height: 34%; transform: translate(-50%, -85%) rotate(18deg); opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, #B98A55 0 35%, transparent 35% 65%, #B98A55 65%); }
.sticks.on { opacity: 1; }
.sheetdough { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 6%;
  background: radial-gradient(ellipse at 40% 35%, #FBF2DF, #F1E4C8 70%); background-color: #F1E4C8; box-shadow: 0 3px 8px rgba(120, 90, 40, .18);
  transition: width .08s, height .08s, top .08s; }
.oilgrid { position: absolute; inset: 4%; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); }
.oilgrid i { background: radial-gradient(ellipse, rgba(240, 190, 60, .75), rgba(240, 190, 60, .35) 75%); opacity: 0; transition: opacity .3s; }
.oilgrid i.on { opacity: .8; }
.fdot { position: absolute; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); animation: drop .35s ease-out both; box-shadow: 0 0 0 1px rgba(60, 50, 30, .22); }
.pin { position: absolute; width: 70%; height: 7%; transform: translate(-50%, -50%); border-radius: 999px; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, #E6C597, #C99A60); box-shadow: 0 4px 8px rgba(80, 50, 20, .25); }
.pin::before, .pin::after { content: ""; position: absolute; top: 15%; width: 9%; height: 70%; background: #A97A45; border-radius: 999px; }
.pin::before { left: -7%; } .pin::after { right: -7%; }
.pin.on { opacity: 1; }
.brush { position: absolute; width: 10%; aspect-ratio: .7; transform: translate(-50%, -80%) rotate(-20deg); opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, #B98A55 0 55%, #F2D48A 55%); border-radius: 30% 30% 40% 40%; }
.brush.on { opacity: 1; }
.log { position: absolute; left: 50%; top: 50%; width: 72%; height: 10%; transform: translate(-50%, -50%); border-radius: 999px;
  background: linear-gradient(180deg, #FBF2DF, #EAD7B0); box-shadow: 0 3px 6px rgba(120, 90, 40, .2); transition: width .1s; }
.snail { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.3); border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FBF2DF, #EAD7B0); box-shadow: 0 3px 8px rgba(120, 90, 40, .2); }
.snail .spiral, .pancake .spiral { position: absolute; inset: 0; width: 100%; height: 100%; }
.snail.flat { transform: translate(-50%, -50%) scale(1); }
.snail.flat .spiral path { stroke: var(--ring, #D2B98C); }

/* ===================== 平底鍋 ===================== */
.pot.pan { background: #3C3F43; box-shadow: 0 8px 18px rgba(30, 30, 30, .3), inset 0 0 0 7px #2A2C2F; }
.pot.pan .handle.r { display: none; }
.pot.pan .handle.l { left: -42%; top: 45%; width: 40%; height: 10%; background: #7A5435; border-radius: 8px; }
.pot.pan .liquid { background: #303236; inset: 7%; }
.pot.pan .liquid.oiled { background: radial-gradient(circle at 40% 35%, rgba(255, 220, 120, .35), transparent 60%), #3A3A33; }
.pancake { position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, rgba(255, 255, 255, .25), transparent 60%), var(--face, #F1E4C8);
  box-shadow: 0 0 0 6px var(--edge, #F1E4C8), 0 3px 8px rgba(0, 0, 0, .3); transition: left .6s, transform .6s; animation: drop .45s ease-out both; }
.pancake.flip { animation: flip .7s ease-in-out; }
@keyframes flip { 50% { transform: translate(-50%, -50%) rotateY(90deg) scale(1.08); } }
.pancake.aside { left: 64%; }
.pancake.push { animation: squish .3s ease-out; }
@keyframes squish { 50% { transform: translate(-50%, -50%) scale(.94); } }
.pancake.fluffy .spiral path { stroke: #B9823A; stroke-width: 4; }
.friedegg { position: absolute; left: 28%; top: 50%; width: 44%; aspect-ratio: 1.1; transform: translate(-50%, -50%); border-radius: 48% 52% 45% 55%;
  background: #FBF8F0; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); animation: drop .4s ease-out both; }
.friedegg .yolk { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #F2B02E; transition: all .5s; }
.friedegg.broken .yolk { width: 70%; border-radius: 40% 60% 55% 45%; opacity: .75; }

/* ===================== 芋頭三關 ===================== */
/* 電鍋 */
.st-cooker { background: #E9E1D0; }
.cooker { position: absolute; left: 42%; top: 50%; width: 64%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: #F3EBD8; box-shadow: 0 8px 18px rgba(80, 60, 30, .22), inset 0 0 0 8px #E6DCC4; }
.cooker-water { position: absolute; inset: 9%; border-radius: 50%; background: #CBD3D6; transition: background .5s; }
.cooker-water.on { background: radial-gradient(circle, #CBD3D6 62%, #BFD8E6 64%, #AFCFE2 80%); }
.cooker-inner { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #E3E7E9, #B9C0C4); box-shadow: inset 0 3px 8px rgba(0, 0, 0, .2); }
.cooker-plate { position: absolute; inset: 10%; border-radius: 50%; background: #F8F4EA; box-shadow: inset 0 0 0 4px #9DB3D1; }
.cooker-plate .in { position: absolute; width: 24%; animation: drop .45s ease-out both; transition: filter .6s; }
.cooker-plate.soft .in { filter: saturate(.85) brightness(1.05); }
.cooker-lid { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FBF6EA, #EADFC6); box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
.cooker-lid::after { content: ""; position: absolute; left: 38%; top: 44%; width: 24%; height: 12%; border-radius: 999px; background: #C9B58E; }
.cooker-switch { position: absolute; left: 39%; bottom: 3%; width: 6%; height: 9%; border-radius: 6px; background: #D9CBB0; transition: transform .2s; }
.cooker-switch::after { content: ""; position: absolute; left: 50%; top: -60%; width: 60%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #B8AE9C; }
.cooker-switch.on { transform: translateY(18%); } .cooker-switch.on::after { background: #F28B30; box-shadow: 0 0 10px #F28B30; }
.cooker-switch.pop { animation: pop .3s ease-out; }
@keyframes pop { 50% { transform: translateY(-25%); } }
.st-cooker .steam { left: 22%; right: 38%; }

/* 壓泥、揉團、搓條 */
.paste { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.2); border-radius: 46% 54% 50% 50%;
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .08); }
.mixbowl .chunk { position: absolute; width: 16%; transition: opacity .2s; }
.fork { position: absolute; width: 6%; height: 28%; transform: translate(-50%, -88%) rotate(16deg); opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0 0, #C9CED1 0); border-radius: 3px;
  -webkit-mask: linear-gradient(90deg, #000 0 18%, transparent 18% 41%, #000 41% 59%, transparent 59% 82%, #000 82%) top / 100% 30% no-repeat, linear-gradient(#000, #000) bottom / 45% 72% no-repeat;
  mask: linear-gradient(90deg, #000 0 18%, transparent 18% 41%, #000 41% 59%, transparent 59% 82%, #000 82%) top / 100% 30% no-repeat, linear-gradient(#000, #000) bottom / 45% 72% no-repeat; }
.fork.on { opacity: 1; }
.doughball.crumbly { filter: contrast(.9); box-shadow: 0 0 0 6px rgba(255, 255, 255, .5), 0 4px 10px rgba(120, 90, 40, .2); }
.rolllog { position: absolute; left: 50%; top: 50%; width: 26%; height: 26%; transform: translate(-50%, -50%); border-radius: 999px;
  box-shadow: inset 0 -5px 8px rgba(0, 0, 0, .1), 0 3px 8px rgba(120, 90, 40, .18); transition: width .08s, height .08s; }

/* 泡水 */
.soakrow { position: absolute; inset: 14% 6% 10%; display: flex; justify-content: space-around; align-items: center; }
.soakcell { width: 30%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.soakbowl { width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #D4E3EC 60%, #F8F4EA 62%); box-shadow: inset 0 0 0 4px #9DB3D1;
  position: relative; display: grid; place-items: center; }
.soakbowl .soaking { width: 60%; animation: drop .45s ease-out both; opacity: .9; }
.soakcell .tray-item { width: 80%; }

/* 鍋鏟 */
.spatula { position: absolute; width: 8%; height: 30%; transform: translate(-50%, -85%) rotate(24deg); opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, #C9CED1 0 30%, #8A5A35 30%); border-radius: 30% 30% 6px 6px; }
.spatula.on { opacity: 1; }
.stuff { transition: transform .05s linear; }
.stuff .in.sunk { opacity: .55; filter: blur(.6px); }
.stuff .in.float { animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { margin-top: -2%; } }
.stuff .in.small { width: 11%; }
.stuff .in.mid { width: 15%; }

/* ===================== 台灣旬味地圖 ===================== */
.mapbtn { position: fixed; z-index: 5; right: max(16px, env(safe-area-inset-right)); top: max(14px, env(safe-area-inset-top));
  font: inherit; font-size: 15px; border: 0; border-radius: 999px; padding: 9px 16px; background: rgba(251, 247, 238, .9); color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1); cursor: pointer; }
.map { position: fixed; inset: 0; z-index: 22; background: #D9EBEE url("/img/map-sea.webp") center / cover no-repeat; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: max(10px, env(safe-area-inset-top)) 12px max(10px, env(safe-area-inset-bottom)); }
.map-head { width: min(760px, 100%); display: flex; align-items: center; gap: 10px; }
.map-head h2 { margin: 0; font-weight: normal; font-size: 22px; letter-spacing: .08em; flex: 1; }
.map-back { font: inherit; font-size: 16px; color: var(--ink); border: 0; background: var(--card); border-radius: 999px; padding: 8px 14px; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.map-tabs { width: min(760px, 100%); display: flex; gap: 6px; background: rgba(251, 247, 238, .9); border-radius: 999px; padding: 5px; }
.map-tabs button { flex: 1; font: inherit; font-size: 15px; border: 0; background: transparent; border-radius: 999px; padding: 7px 4px; cursor: pointer; color: var(--ink); white-space: nowrap; }
.map-tabs button.on { background: var(--ink); color: var(--card); }
.map-month { display: flex; align-items: center; gap: 10px; }
.map-month.off { visibility: hidden; height: 0; margin: -4px 0; }
.map-month strong { font-weight: normal; font-size: 19px; min-width: 3.5em; text-align: center; }
.map-month span { font-size: 14px; color: var(--ink-soft); min-width: 6em; }
.mm { font: inherit; font-size: 20px; color: var(--ink); line-height: 1; padding: 0; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--card); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.map-wrap { flex: 1; min-height: 0; width: min(760px, 100%); display: flex; justify-content: center; }
.tw { height: 100%; max-width: 100%; touch-action: manipulation; --u: 2; }
.tw.zoomed { width: 100%; }
.county { stroke: #FBF8EF; stroke-width: calc(1.4px * var(--u)); cursor: pointer; transition: fill .2s, transform .25s; }
@media (hover: hover) { .county:hover { fill: #F6F1DD; } }
.county.on { fill: #FBF6E2; transform: translate(-2px, -4px); filter: url(#lift); }
.zoomed .county:not(.on) { fill: #E4E3D6; }
.town { fill: none; stroke: #CDBA98; stroke-width: calc(1px * var(--u)); stroke-dasharray: 3 3; pointer-events: none; transform: translate(-2px, -4px); }
.town-label { font-size: calc(11px * var(--u)); fill: #7A6F5D; text-anchor: middle; pointer-events: none; transform: translate(-2px, -4px); }
.county-label { font-size: calc(13px * var(--u)); fill: #4A4233; text-anchor: middle; pointer-events: none; letter-spacing: .1em; paint-order: stroke; stroke: rgba(251, 248, 239, .85); stroke-width: calc(3px * var(--u)); }
.county-label.small { font-size: calc(11px * var(--u)); }
.labels.dim { opacity: .25; }
.inset-label { font-size: calc(10px * var(--u)); fill: #7A6F5D; }
.peak { pointer-events: none; }
.peak-label { font-size: calc(9px * var(--u)); fill: #6F7F62; text-anchor: middle; }
.zoomed .peak { opacity: .5; }
.mpin { cursor: pointer; }
.pin-in { scale: var(--u); }
.pin-dot { stroke: #fff; stroke-width: 2.5; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .25)); }
.mpin.produce .pin-dot { fill: #6FA34C; }
.mpin.night .pin-dot { fill: #E4572E; }
.mpin.market .pin-dot { fill: #3E7CB1; }
.mpin.level .pin-dot { fill: #C78A2C; }
.mpin.no-icon .pin-icon, .mpin.no-label .pin-lab { display: none; }
.mpin.no-label:focus .pin-lab { display: inline; }
@media (hover: hover) { .mpin.no-label:hover .pin-lab { display: inline; } }
.pin-icon { filter: drop-shadow(0 1px 1px rgba(60, 40, 20, .3)); pointer-events: none; }
.pin-n { font-size: 12px; fill: #fff; text-anchor: middle; font-family: Georgia, serif; }
.pin-bg { fill: rgba(251, 247, 238, .95); stroke: rgba(74, 66, 51, .25); }
.pin-label { font-size: 13px; fill: #3A332A; text-anchor: middle; }
.mpin:focus .pin-dot { stroke: #F2B33D; }
@media (hover: hover) { .mpin:hover .pin-dot { stroke: #F2B33D; } }
.map-card { position: fixed; z-index: 23; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(560px, calc(100% - 24px));
  max-height: 46vh; overflow: auto; background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); animation: up .2s ease-out; }
.map-card h3 { margin: 0 34px 4px 0; font-weight: normal; font-size: 21px; }
.map-card .sub { margin: 0 0 6px; font-size: 14px; color: var(--ink-soft); }
.map-card-x { position: absolute; right: 8px; top: 6px; width: 38px; height: 38px; border: 0; background: transparent; font-size: 26px; color: var(--ink-soft); cursor: pointer; }
.map-list { list-style: none; padding: 0; margin: 0; }
.map-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.map-list li:last-child { border-bottom: 0; }
.map-list li strong { font-weight: normal; font-size: 17px; margin-right: 8px; }
.map-list .meta { font-size: 13px; color: var(--ink-soft); }
.map-list p { margin: 2px 0 0; font-size: 15px; color: #4A4338; }
.map-list .known { color: #8A4A2A; }
.map-list em { font-style: normal; font-size: 12px; color: #9A3A1E; background: #F3D9CF; border-radius: 6px; padding: 0 6px; }
.map-note { margin: 0; font-size: 11px; color: #7E7563; text-align: center; background: rgba(251, 247, 238, .82); border-radius: 10px; padding: 3px 10px; max-width: min(760px, 100%); }

.map-list .scene { display: block; width: 100%; border-radius: 12px; margin-bottom: 8px; }

/* ---------- Codex 正式圖 ---------- */
/* 特寫工作台：正上方俯視的砧板、爐台、水槽（img/closeups/，由 tools/slice_sheets.py 切出） */
.st-board { background: #EADBC4 url("/img/closeups/board.webp") center 50% / 100% auto no-repeat; }
.st-board::before { display: none; }
.st-stove { background: #E6D8C2 url("/img/closeups/stove.webp") center 0 / 100% auto no-repeat; }
.st-sink { background: #E6D8C2 url("/img/closeups/sink.webp") center 50% / 100% auto no-repeat; }
.st-sink .basin, .st-sink .faucet { display: none; }
.st-sink .stream { left: 38.2%; top: 12%; width: 3%; height: 46%; }
.st-sink.towel { background: #E9E1D2; background-image: repeating-linear-gradient(0deg, rgba(157, 179, 209, .25) 0 14px, transparent 14px 28px),
  repeating-linear-gradient(90deg, rgba(157, 179, 209, .25) 0 14px, transparent 14px 28px); }
.item > img, .wash-item img, .pick-card img, .tray-item img, .stuff .in { filter: drop-shadow(0 4px 5px rgba(70, 50, 25, .22)); }
/* 產地郵票 */
.pc-stamp.art { background: none; border: 0; box-shadow: none; overflow: visible; width: 17%; }
.pc-stamp.art .stamp-old { display: none; }
.pc-stamp img.stamp-art { width: 100%; height: 100%; object-fit: contain; transform: none; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .2)); }
.pc-stamp img.stamp-food { position: absolute; left: 16%; top: 22%; width: 68%; transform: none; }
/* 削皮（正式圖）：外皮是一層半透明的土黃色，看得到底下畫好的食材 */
.item.art .skin { background: rgba(176, 150, 104, .42); background-image: repeating-linear-gradient(90deg, rgba(120, 95, 60, .18) 0 2px, transparent 2px 23px);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .35); mix-blend-mode: multiply; }
/* 湯鍋：和 Codex 鍋具圖一樣的霧藍琺瑯鍋，鍋緣有小花 */
.pot:not(.pan) { background: radial-gradient(circle at 42% 36%, #B9CAE0, #9CB2CF 58%, #8199BB 74%);
  box-shadow: 0 12px 22px rgba(40, 50, 70, .3), inset 0 0 0 4px #C6D3E5, inset 0 0 0 8px #879FC0; }
.pot:not(.pan)::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 3.6%, #EBA9AC 0 2%, transparent 2.4%), radial-gradient(circle at 96.4% 50%, #EBA9AC 0 2%, transparent 2.4%),
    radial-gradient(circle at 50% 96.4%, #EBA9AC 0 2%, transparent 2.4%), radial-gradient(circle at 3.6% 50%, #EBA9AC 0 2%, transparent 2.4%),
    radial-gradient(circle at 17.5% 17.5%, #F3C9A0 0 1.4%, transparent 1.8%), radial-gradient(circle at 82.5% 82.5%, #F3C9A0 0 1.4%, transparent 1.8%); }
.pot:not(.pan) .handle { background: #8199BB; box-shadow: inset 0 0 0 3px #A9BCD6; }
/* 小手：從畫面下方伸進來，工具尖端對準手指 */
.cu-stage .hand { position: absolute; width: 36%; max-width: none; transform-origin: var(--ax) var(--ay);
  transform: translate(calc(var(--ax) * -1), calc(var(--ay) * -1)) rotate(var(--rot, 0deg));
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%); mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
  opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 3; filter: drop-shadow(0 8px 10px rgba(60, 40, 20, .25)); }
.cu-stage .hand.on { opacity: 1; }
.reward-thumb { display: block; width: 92px; margin: 0 auto 2px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3)); }
/* 節氣插畫（農民曆、關卡開場） */
.term-art { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 78%; border-radius: 14px; margin: 0 0 14px; }
/* 挑食材卡片：正式圖有高有矮，固定圖的高度，名稱才不會被擠出去 */
.pick-grid { grid-auto-rows: 1fr; }
.pick-card { min-height: 0; overflow: hidden; }
.pick-card img { width: 80%; height: 0; flex: 1 1 0; min-height: 0; max-height: none; object-fit: contain; }

/* 旬味地圖：當令食材卡片的小圖 */
.map-list li .pic { float: right; width: 56px; height: 56px; object-fit: contain; margin: 0 0 4px 10px; filter: drop-shadow(0 2px 2px rgba(80,60,30,.18)); }
.map-list li::after { content: ""; display: block; clear: both; }

/* 食譜的材料：名稱和份量一列，說明在下一行 */
.rlist.ings li { display: block; }
.ing-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ing-top .meta { white-space: normal; text-align: right; flex: 0 1 auto; }
.ing-name { flex: 0 0 auto; max-width: 60%; }
.ing-note { margin-top: 3px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* 料理知識卡 */
.kbtn { margin: 0 0 14px; }
.kcard { background: #fff; border-radius: 16px; padding: 14px 16px 4px; margin: 10px 0; box-shadow: 0 1px 0 var(--line), 0 2px 10px rgba(80, 60, 30, .06); }
.kcard-art { display: block; width: calc(100% + 32px); margin: -14px -16px 12px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px 16px 0 0; }
.kcard h3 { margin: 0 0 6px; font-weight: normal; font-size: 19px; letter-spacing: .04em; }
.kcard p { font-size: 16px; }
.kchips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -2px 0 14px; font-size: 14px; color: var(--ink-soft); }
.kchips button { font: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 0; border-radius: 999px; padding: 5px 12px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line); }

/* 在地人留言板（board.js） */
.board { clear: both; margin: 10px 0 2px; padding: 10px 12px; background: rgba(255, 251, 242, .92); border: 1px solid var(--line); border-radius: 12px; font-size: 15px; color: var(--ink); }
.board h4 { margin: 0 0 6px; font-size: 15px; font-weight: normal; letter-spacing: .05em; color: #8A5A2B; }
.board .hint { margin: 4px 0; font-size: 14px; color: #7A6E5C; }
.board .posts { list-style: none; margin: 0; padding: 0; }
.board .posts li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.board .posts li p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.board .meta { display: flex; align-items: center; gap: 2px; font-size: 13px; color: #8C8170; margin-top: 2px; }
.board .del { margin-left: auto; border: 0; background: none; color: #B4553B; font: inherit; font-size: 13px; padding: 4px 6px; }
.board .more { border: 0; background: none; color: #3E7CB1; font: inherit; font-size: 14px; padding: 6px 0; }
.board .compose { margin-top: 8px; }
.board textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); resize: vertical; }
.board .rule { margin: 4px 0 6px; font-size: 12.5px; color: #8C8170; }
.board .compose button { border: 0; border-radius: 999px; padding: 8px 16px; background: #C78A2C; color: #fff; font: inherit; font-size: 15px; }
.board .compose button:disabled { opacity: .6; }

/* 手機橫放：地圖的標題、分頁、月份放左欄，地圖放右邊；資訊卡蓋在左欄上 */
@media (orientation: landscape) and (max-height: 520px) {
  .map { display: grid; grid-template-columns: 210px 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 12px; row-gap: 8px; align-items: start;
    padding: 8px max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left)); }
  .map-head { grid-column: 1; grid-row: 1; width: auto; }
  .map-head h2 { font-size: 17px; letter-spacing: .04em; }
  .map-back { padding: 6px 10px; font-size: 14px; }
  .map-tabs { grid-column: 1; grid-row: 2; width: auto; display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .map-month { grid-column: 1; grid-row: 3; justify-content: space-between; }
  .map-month.off { margin: 0; }
  .map-month span { min-width: 0; font-size: 12px; }
  .map-note { grid-column: 1; grid-row: 4; align-self: end; text-align: left; font-size: 9.5px; }
  .map-wrap { grid-column: 2; grid-row: 1 / 5; width: 100%; height: 100%; }
  .map-card { left: max(8px, env(safe-area-inset-left)); right: auto; top: 8px; bottom: 8px; transform: none; width: min(380px, 46vw); max-height: none; }
}

/* 手機橫放：做菜特寫的工作台放左邊，標題、提示和按鈕放右邊 */
@media (orientation: landscape) and (max-height: 520px) {
  .cu { display: grid; grid-template-columns: auto minmax(220px, 340px); grid-template-rows: auto auto 1fr auto; column-gap: 16px; row-gap: 8px;
    align-items: start; justify-content: center; align-content: center; overflow-y: hidden;
    padding: 8px max(14px, env(safe-area-inset-right)) 8px max(14px, env(safe-area-inset-left)); }
  .cu-stage { grid-column: 1; grid-row: 1 / 5; align-self: center; width: auto; height: min(calc(100dvh - 16px), calc((100vw - 300px) * .8)); }
  .cu-head, .cu-clock, .cu-tip, .cu-actions { grid-column: 2; width: auto; }
  .cu-head { grid-row: 1; } .cu-clock { grid-row: 2; } .cu-tip { grid-row: 3; font-size: 15px; max-height: 100%; overflow-y: auto; }
  .cu-actions { grid-row: 4; justify-content: flex-start; }
  .cu-title { font-size: 18px; }
  .cu-btn { font-size: 15px; padding: 8px 16px; }
  .cu-toast { top: 18%; }
}

/* 市場夜市：星期幾有開 */
.map-list .week { display: flex; align-items: center; gap: 4px; margin: 6px 0 2px; flex-wrap: wrap; }
.map-list .week span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #A39885; background: #EFE9DC; }
.map-list .week span.on { background: #E4572E; color: #fff; }
.map-list .week span.today { box-shadow: 0 0 0 2px #F2B33D; }
.map-list .week b { font-weight: normal; font-size: 13px; margin-left: 6px; color: #8A4A2A; }
.map-list .open { color: #3A332A; }
.map-list .closed, .map-list .addr, .map-list .src { font-size: 13px; color: #8C8170; }
.map-list .tip { color: #3E6B3A; }

/* 食譜書架：每道菜都是可以點的一列 */
.rlist .rrow { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; cursor: pointer; }
.rlist li:has(.rrow) { padding: 0; }
.rlist .rrow { padding: 10px 2px; }
.rlist .rrow:focus-visible span:first-child { color: var(--accent); }
@media (hover: hover) { .rlist .rrow:hover span:first-child { color: var(--accent); } }
.rlist .rrow:focus-visible { outline: 2px solid #F2B33D; outline-offset: 2px; border-radius: 6px; }
.rlist .rrow::after { content: "›"; color: var(--ink-soft); margin-left: -4px; }
.rpic { display: block; width: min(180px, 56%); margin: 2px auto 8px; filter: drop-shadow(0 4px 6px rgba(80, 60, 30, .18)); }

/* 食譜書架：分類標籤＋圖卡 */
.cat-bar { display: flex; gap: 8px; margin: 4px 0 6px; padding: 8px 0; background: var(--card); }
/* 用滑鼠的電腦：標籤直接換行排好，不用左右捲 */
@media (hover: hover) and (pointer: fine) { .cat-bar { flex-wrap: wrap; } }
/* 手機、平板：一排左右滑，右邊淡出提示後面還有；滑到底才不淡出 */
@media (hover: none), (pointer: coarse) {
  .cat-bar { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 12px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .cat-bar.at-end { -webkit-mask-image: none; mask-image: none; }
  .cat-bar::-webkit-scrollbar { display: none; }
  .cat-chip { scroll-snap-align: start; }
}
.cat-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 15px; color: var(--ink); background: #F1EADB; border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; white-space: nowrap; }
.cat-chip[aria-selected="true"] { background: var(--ink); color: var(--card); }
.cat-chip .cat-ic { width: 22px; height: 22px; object-fit: contain; margin-left: -4px; }
.cat-head { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; }
.cat-head .cat-ic { width: 44px; height: 44px; object-fit: contain; }
.cat-head b { display: block; font-weight: normal; font-size: 18px; letter-spacing: .06em; }
.cat-head span { display: block; font-size: 13px; color: var(--ink-soft); }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.rcard { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; color: var(--ink); text-align: center;
  background: #FBF7EE; border: 1px solid var(--line); border-radius: 16px; padding: 10px 8px 12px; cursor: pointer; }
.rcard:focus-visible { border-color: #E2B36A; box-shadow: 0 3px 10px rgba(120, 90, 40, .12); outline: none; }
@media (hover: hover) { .rcard:hover { border-color: #E2B36A; box-shadow: 0 3px 10px rgba(120, 90, 40, .12); outline: none; } }
.rcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(80, 60, 30, .16)); margin-bottom: 4px; }
.rc-name { font-size: 16px; line-height: 1.35; }
.rc-meta { font-size: 12.5px; color: var(--ink-soft); }
.rc-tag { position: absolute; top: 8px; left: 8px; font-size: 11.5px; background: #C78A2C; color: #fff; border-radius: 999px; padding: 1px 8px; }

/* 第六關：擂缽（levels/leicha.js） */
.mortar { position: absolute; left: 50%; top: 50%; width: 58%; transform: translate(-50%, -50%); transition: opacity .5s, transform .5s; }
.mortar.away { opacity: 0; transform: translate(-50%, -40%) scale(.9); }
.mortar-bowl { width: 100%; display: block; filter: drop-shadow(0 6px 8px rgba(70, 50, 25, .25)); }
.mortar-pile { position: absolute; left: 9%; top: 17%; width: 62%; height: 36%; }
.mortar-pile::after { content: ""; position: absolute; inset: 14% 6%; border-radius: 50%; background: #9DB65E; mix-blend-mode: multiply;
  opacity: calc(var(--tint, 0) * .5); pointer-events: none; }
.mortar.green { --tint: 1; }
.mortar .seed { position: absolute; width: 24%; animation: seedin .35s ease-out both; transition: opacity .2s; }
.mortar .seed.sesame { width: 28%; } .mortar .seed.pumpkin { width: 22%; }
@keyframes seedin { from { opacity: 0; margin-top: -8%; } to { opacity: 1; margin-top: 0; } }
.lei-paste { position: absolute; left: 50%; top: 50%; width: 92%; height: 84%; border-radius: 50%; opacity: 0; transform: translate(-50%, -50%) scale(.4);
  background: radial-gradient(circle at 40% 40%, #D9BD8E, #B8925E 70%); box-shadow: inset 0 2px 6px rgba(90, 60, 20, .35); }
.pestle { position: absolute; width: 4.5%; height: 34%; border-radius: 12px; pointer-events: none; opacity: 0; z-index: 3;
  background: linear-gradient(90deg, #B98A55, #E2C291 45%, #C99B62); box-shadow: 2px 3px 6px rgba(70, 45, 15, .3);
  transform: translate(-50%, -92%) rotate(-18deg); transform-origin: 50% 100%; transition: opacity .15s; }
.pestle.on { opacity: 1; }

/* 第七關：包潤餅（levels/runbing.js） */
.rb-sheet { position: absolute; left: 50%; top: 50%; width: 64%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; transition: opacity .4s;
  transform: translate(-50%, -50%) scaleY(calc(1 - var(--roll, 0) * .72)) scaleX(calc(1 - var(--roll, 0) * .25));
  background: radial-gradient(circle at 45% 40%, #FBF5E6, #F0E3C8 68%, #E2CEA8); box-shadow: 0 6px 14px rgba(80, 60, 30, .22); }
.rb-sheet.away { opacity: 0; }
.rb-fill { position: absolute; left: 6%; right: 6%; top: 26%; bottom: 26%; }
.rb-item { position: absolute; animation: seedin .35s ease-out both; filter: drop-shadow(0 2px 3px rgba(70, 50, 25, .25)); }
.rb-flap { position: absolute; z-index: 2; background: linear-gradient(#F7EEDA, #EADBBB); box-shadow: 0 0 8px rgba(80, 60, 30, .28); }
.rb-flap.bottom { left: 0; right: 0; bottom: 0; height: 0; border-radius: 45% 45% 0 0; }
.rb-flap.left { left: 0; top: 0; bottom: 0; width: 0; border-radius: 0 45% 45% 0; transition: width .4s; }
.rb-flap.right { right: 0; top: 0; bottom: 0; width: 0; border-radius: 45% 0 0 45%; transition: width .4s; }

/* 家常料理關卡（levels/_home.js） */
.item.scrape { aspect-ratio: auto; }
.item.scrape > img { transition: opacity .15s; }
.item.scrape > img.after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* 包粽子（levels/home-dishes.js）：--fold 粽葉折成漏斗、--cover 上面的葉子蓋下來、--tie 綁繩子 */
.zong { position: absolute; left: 50%; top: 50%; width: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); transition: opacity .4s; }
.zong.away { opacity: 0; }
.zong-cone { position: absolute; inset: 0; transform-origin: 50% 0;
  transform: scaleY(calc(.32 + var(--fold, 0) * .68));
  clip-path: polygon(0 0, 100% 0, calc(50% + (1 - var(--fold, 0)) * 50%) 100%, calc(50% - (1 - var(--fold, 0)) * 50%) 100%);
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 14px), linear-gradient(160deg, #8DB86A, #5E8A40);
  filter: drop-shadow(0 4px 6px rgba(50, 70, 30, .3)); }
.zong-in { position: absolute; left: 14%; right: 14%; top: 6%; bottom: 30%; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.zong-in i { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(80, 60, 30, .2); animation: seedin .3s ease-out both; }
.zong-lid { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--cover, 0) * 62%); clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: repeating-linear-gradient(80deg, rgba(255, 255, 255, .12) 0 2px, transparent 2px 14px), linear-gradient(200deg, #7FAE5C, #4F7A35); }
.zong-string { position: absolute; inset: 0; opacity: var(--tie, 0); pointer-events: none;
  background: linear-gradient(transparent 30%, #F2EBDD 30% 33%, transparent 33% 52%, #F2EBDD 52% 55%, transparent 55%); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* 當令食材 ↔ 食譜 ↔ 節氣 */
.produce-chips button small { margin-left: 6px; font-size: 12px; color: var(--ink-soft); }
.map-list .can-cook { margin: 6px 0 2px; font-size: 13px; }
.map-list .can-cook button { font-size: 13px; padding: 4px 10px; background: #F3ECDD; }
.term-dishes { margin-top: 6px; }

/* 旬味地圖按鈕：米白底卡上一個小台灣，島上直寫「旬味地圖」 */
.mapbtn.icon { padding: 0; width: 74px; height: 108px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(251, 247, 238, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }
.mapbtn-tw { position: absolute; inset: 7px 8px; width: calc(100% - 16px); height: calc(100% - 14px); overflow: visible; filter: drop-shadow(0 2px 3px rgba(60, 50, 30, .25)); }
.mapbtn-tw path { fill: #9DC07A; stroke: #FBF7EE; stroke-width: 3; stroke-linejoin: round; }
.mapbtn.icon:focus-visible .mapbtn-tw path { fill: #8AB566; }
@media (hover: hover) { .mapbtn.icon:hover .mapbtn-tw path { fill: #8AB566; } }
.mapbtn-t { position: relative; writing-mode: vertical-rl; letter-spacing: .04em; font-size: 14px; line-height: 1; color: #fff; margin: 8px 0 0 3px;
  text-shadow: 0 1px 2px rgba(40, 60, 20, .6), 0 0 5px rgba(40, 60, 20, .4); }

/* 縣市卡片：有食譜的小吃、料理可以點 */
.map-list li.chiprow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.map-list .chiprow .lbl { color: var(--ink-soft); }
.map-list .chiprow .chip { font: inherit; font-size: 14px; color: var(--ink); background: #F3ECDD; border: 0; border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.map-list .chiprow .chip:focus-visible { background: #EAD9B8; outline: none; }
@media (hover: hover) { .map-list .chiprow .chip:hover { background: #EAD9B8; outline: none; } }

/* 地圖圖釘：點了以後不要瀏覽器預設的粗外框；用鍵盤選到時，圓點換成金色粗邊 */
.mpin, .mpin:focus { outline: none; -webkit-tap-highlight-color: transparent; }
.mpin:focus-visible .pin-dot { stroke: #F2B33D; stroke-width: 4; }
.mpin:focus-visible .pin-bg { stroke: #F2B33D; stroke-width: 2; }

/* 留言板：按讚、檢舉、暱稱、送出後的提示 */
.board .like { margin-left: auto; border: 0; background: #F6EEE2; color: #B4553B; font: inherit; font-size: 13px; border-radius: 999px; padding: 2px 10px; cursor: pointer; min-width: 40px; }
.board .like.on { background: #F8DCD2; }
.board .like:disabled { opacity: .6; }
.board .report { border: 0; background: none; color: #A39885; font: inherit; font-size: 12px; padding: 2px 4px; cursor: pointer; }
.board .meta .like + .report, .board .meta .like + .del { margin-left: 2px; }
.board .compose input { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; padding: 6px 10px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.board .notice { margin: 6px 0 0; font-size: 14px; color: #3E6B3A; background: #EAF2E0; border-radius: 10px; padding: 6px 10px; }

/* 電鍋說明卡 */
.cooker-sub { margin: 14px 0 8px; font-size: 15px; color: var(--ink-soft); }

/* 廚房說明卡（水槽…） */
.guide-img { display: block; width: 100%; max-height: 220px; object-fit: cover; object-position: center 60%; border-radius: 14px; margin: 2px 0 10px; }
.guide-list li.warn { color: #9A3A1E; background: #F8E3DA; border-radius: 8px; padding: 4px 8px; list-style: none; margin-left: -1.2em; }
.guide-list li.warn::before { content: ""; display: inline-block; width: 1.05em; height: 1.05em; margin-right: .35em; vertical-align: -0.17em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 2.8 19.5h18.4z'/%3E%3Cpath d='M12 10v4.5'/%3E%3Ccircle cx='12' cy='17.2' r='.8' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4 2.8 19.5h18.4z'/%3E%3Cpath d='M12 10v4.5'/%3E%3Ccircle cx='12' cy='17.2' r='.8' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; }
.rgroup .badge { margin-left: 8px; letter-spacing: 0; }

/* ---------- 右上角：購物清單、我的筆記 ---------- */
.tools { position: fixed; z-index: 5; right: max(16px, env(safe-area-inset-right)); top: calc(max(14px, env(safe-area-inset-top)) + 118px);
  display: flex; flex-direction: column; gap: 8px; }
.tools button { position: relative; width: 74px; padding: 8px 2px 7px; border: 0; border-radius: 16px; cursor: pointer; font: inherit; font-size: 12.5px; color: var(--ink);
  display: grid; justify-items: center; gap: 3px; background: rgba(251, 247, 238, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); box-shadow: 0 2px 10px rgba(0, 0, 0, .1); }
.tools button:focus-visible { background: rgba(251, 247, 238, .95); }
@media (hover: hover) { .tools button:hover { background: rgba(251, 247, 238, .95); } }
.tools svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tools .count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 12px; line-height: 20px; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.tools .count[hidden] { display: none; }
@media (orientation: landscape) and (max-height: 520px) {
  .tools { top: max(14px, env(safe-area-inset-top)); right: calc(max(16px, env(safe-area-inset-right)) + 82px); flex-direction: row; }
}

/* ---------- 購物清單 ---------- */
.shop-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.shop-row .act { margin: 0; }
.shop-add.on { background: #E5EFD8; color: #3D5A22; border-color: #B9CF9C; }
.shop-dishes { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.shop-dish { display: flex; align-items: center; gap: 2px; background: #F3ECDD; border-radius: 999px; padding: 3px 4px 3px 12px; font-size: 15px; }
.shop-dish button { font: inherit; border: 0; background: transparent; cursor: pointer; color: var(--ink-soft); min-width: 32px; min-height: 32px; border-radius: 999px; }
.shop-dish .mult { color: var(--accent); font-weight: 600; }
@media (hover: hover) { .shop-dish button:hover { background: rgba(0, 0, 0, .06); } }
.shop-share { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-share .act { margin: 0; }
.shop-share .line { background: #06C755; border-color: #06C755; color: #fff; }
.shop-msg { min-height: 1.2em; margin: 4px 0; font-size: 13px; color: var(--ink-soft); }
.shop-cat .rgroup small, .shop-cat summary small { margin-left: 8px; font-size: 12px; color: var(--ink-soft); letter-spacing: 0; font-weight: 400; }
.shop-cat.fold summary { cursor: pointer; list-style: none; }
.shop-cat.fold summary::-webkit-details-marker { display: none; }
.shop-cat.fold summary::after { content: "▾"; margin-left: 6px; color: var(--ink-soft); }
.shop-cat.fold[open] summary::after { content: "▴"; }
.shop-list { list-style: none; margin: 0 0 8px; padding: 0; }
.shop-list li { border-bottom: 1px dashed rgba(107, 98, 83, .25); padding: 6px 0; }
.shop-list label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 16px; }
.shop-list input { width: 22px; height: 22px; accent-color: #5C8A3A; flex: none; }
.shop-list .nm { flex: 1; }
.shop-list .amt { color: var(--accent); font-size: 14px; white-space: nowrap; }
.shop-list small { display: block; margin: 2px 0 0 32px; font-size: 12.5px; color: var(--ink-soft); }
.shop-list li.done .nm, .shop-list li.done .amt { text-decoration: line-through; color: #A59C8C; }

/* ---------- 我的筆記 ---------- */
.act.small { font-size: 15px; padding: 7px 14px; }
.note-box { margin-top: 10px; }
.note-paper { background: #FFF6D8; border-radius: 4px 14px 14px 14px; padding: 10px 14px; box-shadow: 0 1px 0 rgba(120, 95, 40, .15), 2px 3px 8px rgba(120, 95, 40, .1); margin: 4px 0 8px; }
.note-paper p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.note-paper small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-soft); }
.note-paper.story b { display: block; font-size: 13px; color: #8A6A1E; margin-bottom: 2px; }
.note-ta, .f-in { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line, #E4DACA);
  border-radius: 12px; padding: 9px 12px; line-height: 1.6; }
.note-ta { resize: vertical; min-height: 60px; }
.note-ta:focus, .f-in:focus { outline: none; border-color: #C78A2C; box-shadow: 0 0 0 3px rgba(199, 138, 44, .18); }
select.f-in { appearance: auto; padding: 8px 10px; }
.f-row { display: block; margin: 0 0 10px; }
.f-lab { display: block; font-size: 14px; color: var(--ink-soft); margin: 0 0 3px; }
.f-row small { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.f-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.f-list { display: grid; gap: 6px; }
.f-ing { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 36px; gap: 6px; align-items: center; }
.f-x { font: inherit; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; min-height: 36px; border-radius: 10px; font-size: 18px; }
.f-x.wide { font-size: 13px; padding: 0 8px; }
@media (hover: hover) { .f-x:hover { background: rgba(0, 0, 0, .06); color: var(--accent); } }
.f-units { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin: 8px 0 6px; }
.f-units small { font-size: 12.5px; color: var(--ink-soft); margin-right: 2px; }
.f-unit { font: inherit; font-size: 13.5px; border: 1px solid #E4D6BE; background: #FBF4E6; color: var(--ink); border-radius: 999px; padding: 4px 10px; cursor: pointer; min-height: 32px; }
@media (hover: hover) { .f-unit:hover { background: #F3E6CC; } }
.f-steps { margin: 0 0 6px; padding-left: 1.5em; display: grid; gap: 8px; }
.f-steptools { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 2px; }
.f-adult { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; }
.f-adult input { width: 18px; height: 18px; accent-color: #C78A2C; flex: none; }
.f-paste { background: #F6EFE1; border-radius: 14px; padding: 8px 12px; margin: 4px 0 12px; }
.f-paste summary { cursor: pointer; font-size: 15px; color: #7A5A1E; }
.f-paste[open] summary { margin-bottom: 8px; }
.f-paste .act { margin-top: 8px; }
.mine-tools { margin: 4px 0 8px; }
.mine-tools .act-row { margin-top: 4px; }
.share-box { margin-top: 10px; background: #F2F6EC; border-radius: 14px; padding: 10px 12px; }
.share-box .f-in { margin: 6px 0; }
.share-st { margin: 0; font-size: 15px; } .share-st.ok { color: #3D5A22; } .share-st.no { color: #9A3A1E; }
.act.like[aria-pressed="true"] { color: var(--accent); }
.rc-tag.ok { background: #E5EFD8; color: #3D5A22; }
.note-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.note-list button { width: 100%; text-align: left; font: inherit; border: 0; background: #FFF6D8; border-radius: 12px; padding: 8px 12px; cursor: pointer; display: grid; gap: 2px; }
.note-list button b { font-size: 15px; } .note-list button span { font-size: 14px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shared-shelf .hint { color: var(--ink-soft); }
.f-steps .note-ta { display: block; }

/* ---------- 營養小卡 ---------- */
.nutri { background: #F1F5E8; border: 1.5px solid #CFDDB8; border-radius: 14px; padding: 8px 12px; margin: 10px 0 10px; }
.nutri summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; min-height: 32px; }
.nutri summary::-webkit-details-marker { display: none; }
.nutri summary b { font-size: 15.5px; white-space: nowrap; }
.nu-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.nu-tags i { font-style: normal; font-size: 12.5px; color: #fff; border-radius: 999px; padding: 1px 8px; }
.nu-tags .g0 { background: #C9A15A; } .nu-tags .g1 { background: #C9714F; } .nu-tags .g2 { background: #6E9A4A; }
.nu-tags .g3 { background: #D46A82; } .nu-tags .g4 { background: #6E9BC0; } .nu-tags .g5 { background: #9C7F55; }
.nu-dots { display: flex; gap: 4px; }
.nu-dots i { width: 12px; height: 12px; border-radius: 50%; background: #DDD6C6; }
.nu-more { margin-left: auto; font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.nu-more::after { content: " ▾"; } .nutri[open] .nu-more::after { content: " ▴"; }
.nu-h { margin: 8px 0 4px; font-size: 13.5px; color: var(--ink-soft); }
.nu-groups { display: flex; flex-wrap: wrap; gap: 5px; }
.nu-groups span { font-size: 13.5px; padding: 2px 10px; border-radius: 999px; background: #E9E3D5; color: #A59C8C; }
.nu-groups span.on { color: #fff; }
.nu-dots .g0.on, .nu-groups .g0.on { background: #C9A15A; } .nu-dots .g1.on, .nu-groups .g1.on { background: #C9714F; }
.nu-dots .g2.on, .nu-groups .g2.on { background: #6E9A4A; } .nu-dots .g3.on, .nu-groups .g3.on { background: #D46A82; }
.nu-dots .g4.on, .nu-groups .g4.on { background: #6E9BC0; } .nu-dots .g5.on, .nu-groups .g5.on { background: #9C7F55; }
.nu-hi { margin: 0; padding-left: 1.2em; font-size: 14.5px; line-height: 1.7; }
.nu-bento { margin: 8px 0 2px; font-size: 14.5px; background: #FFF6D8; border-radius: 10px; padding: 6px 10px; }
.nutri .src { margin-top: 6px; }

/* ---------- 這週菜價 ---------- */
.pbadge { display: inline-block; margin-left: 6px; font-size: 11.5px; line-height: 1.5; padding: 0 6px; border-radius: 999px; vertical-align: 1px; white-space: nowrap; font-weight: 500; }
.pbadge.cheap { background: #E2EFD3; color: #3D6A22; } .pbadge.pricey { background: #F8E0D8; color: #A0402A; }
.pweek { background: #F3F6EC; border-radius: 14px; padding: 8px 12px; margin: 8px 0 10px; }
.pweek .rgroup { margin-top: 2px; }
.pw-h { margin: 4px 0; font-size: 14px; }
.pw-cheap small { color: #3D6A22 !important; }
.season-h { margin: 14px 0 6px; font-size: 15px; font-weight: 600; color: #4E6B2E; }
/* 當令食譜沒有成品圖：用食材圖，小一點、加一圈淡淡的底 */
.rcard.pp img { box-sizing: border-box; padding: 7% 14%; background: radial-gradient(closest-side, #F1EAD9 70%, transparent 100%); }
.rpic.pp { width: min(140px, 44%); }

/* ---------- 第一次進來的導覽 ---------- */
.tour { position: fixed; inset: 0; z-index: 40; }
.tour.center { background: rgba(40, 32, 20, .55); }
.tour-ring { position: fixed; border-radius: 18px; box-shadow: 0 0 0 3px #FBF7EE, 0 0 0 9999px rgba(40, 32, 20, .55); transition: all .35s ease; pointer-events: none; }
.tour-card { position: fixed; left: 50%; transform: translateX(-50%); width: min(380px, calc(100vw - 32px)); background: var(--card); border-radius: 18px;
  padding: 14px 16px 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, .2); bottom: 16px; }
.tour.center .tour-card { top: 50%; bottom: auto; transform: translate(-50%, -50%); }
.tour-card h3 { margin: 2px 0 6px; font-weight: normal; font-size: 20px; letter-spacing: .06em; }
.tour-n { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.tour-x { margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; }
.tour-row { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.tour-row .act { margin: 0; }
.tour-skip { margin-right: auto; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink-soft); cursor: pointer; padding: 6px 2px; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .tour-ring { transition: none; } }

/* 右上角的「選單」：展開後是一張小卡，放在按鈕左邊 */
.tools .tool-menu { position: absolute; right: calc(100% + 8px); top: 0; display: flex; flex-direction: column; gap: 2px; min-width: 168px; padding: 6px;
  background: var(--card); border-radius: 16px; box-shadow: 0 4px 18px rgba(0, 0, 0, .16); }
.tools .tool-menu[hidden] { display: none; }
.tools .tool-menu button { width: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 15px; border-radius: 12px;
  background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; text-align: left; }
.tools .tool-menu button:focus-visible { background: #EFE8D8; }
@media (hover: hover) { .tools .tool-menu button:hover { background: #EFE8D8; } }
.tools .tool-menu .count { position: static; margin-left: auto; box-shadow: none; }
#menuBtn[aria-expanded="true"] { background: rgba(251, 247, 238, .95); }
@media (orientation: landscape) and (max-height: 520px) {
  .tools .tool-menu { right: 0; top: calc(100% + 8px); }
}

/* 食譜書架：上面三個大分頁＋「全部」底下一排小分類 */
.shelf-top { position: sticky; top: -1px; z-index: 2; background: var(--card); padding: 6px 0 4px; margin-bottom: 4px; }
.cat-bar.main { display: flex; gap: 4px; margin: 0; padding: 4px; background: #F1EADB; border-radius: 999px; overflow: visible; -webkit-mask-image: none; mask-image: none; flex-wrap: nowrap; }
.cat-tab { flex: 1; font: inherit; font-size: 15.5px; color: var(--ink); background: none; border: 0; border-radius: 999px; padding: 8px 6px; cursor: pointer; white-space: nowrap; }
.cat-tab[aria-selected="true"] { background: var(--ink); color: var(--card); }
.cat-sub { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.cat-sub.at-end { -webkit-mask-image: none; mask-image: none; }
.cat-sub::-webkit-scrollbar { display: none; }
.cat-sub[hidden] { display: none; }
.cat-sub .cat-chip { font-size: 14px; padding: 5px 12px 5px 10px; background: none; border: 1px solid #E4DCCB; }
.cat-sub .cat-chip[aria-pressed="true"] { background: var(--ink); color: var(--card); border-color: var(--ink); }
.shelf-tip { margin: 6px 0 2px; font-size: 14px; color: var(--ink-soft); }

/* 旬味地圖：底色都是 Codex 畫的水彩海（.map 的 map-sea.webp）；夜市、市場、料理產地在地圖區角落加小景物（map.js 的 DECO） */
.map-wrap { position: relative; }
.map-wrap .tw { position: relative; z-index: 1; }
.map-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.map-deco img { position: absolute; width: clamp(78px, 21vw, 140px); height: auto; }
.map-deco .tl { left: -6px; top: 0; } .map-deco .tr { right: -6px; top: 0; }
.map-deco .bl { left: -6px; bottom: 0; } .map-deco .br { right: -6px; bottom: 0; }


/* 手機（沒有滑鼠）：砧板上的光不要一直呼吸，混色動畫在手機上很吃效能 */
@media (hover: none) { .light { animation: none; opacity: .55; } }

/* 旬味地圖放大縮小：整張圖直接縮放（map.js 的 setView），動的時候圖釘先藏起來，到了再淡入 */
.map-wrap { overflow: hidden; }
.tw { transform-origin: 0 0; }
.tw.moving { will-change: transform; }
.tw .pins { transition: opacity .2s; }
.tw.moving .pins { opacity: 0; transition: none; }
.town-label.crowd { visibility: hidden; }
/* 購物清單存成圖片：預覽 */
.shop-pic { display: block; width: 100%; height: auto; margin: 12px 0; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); -webkit-touch-callout: default; user-select: auto; }
.shop-share a.act { text-decoration: none; display: inline-flex; align-items: center; }
/* 旬味地圖第一次打開：下載地圖資料的時候先出現這個畫面（map.js 的 showWait） */
.map-wait { position: fixed; inset: 0; z-index: 23; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: #D9EBEE url("/img/map-sea.webp") center / cover no-repeat; color: var(--ink); text-align: center; padding: 24px; }
.map-wait p { margin: 0; font-size: 20px; background: rgba(251, 247, 238, .9); padding: 8px 18px; border-radius: 999px; }
.map-wait-tw { width: 120px; height: auto; animation: breathe 1.2s ease-in-out infinite; overflow: visible; }
.map-wait-tw path { fill: #9DC07A; stroke: #FBF7EE; stroke-width: 3; stroke-linejoin: round; }
.map-wait-row { display: flex; gap: 10px; }
/* 市場、夜市介紹（map.js 的 marketRow）：一段一段分開，小標題＋段落之間留白 */
.map-list li.mk { padding: 12px 0 18px; }
.mk-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin-bottom: 4px; }
.mk-head strong { font-size: 20px !important; margin: 0 !important; }
.mk-sec { margin-top: 18px; }
.mk-sec h4 { margin: 0 0 6px; font-weight: normal; font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); }
.map-list .mk-sec p { margin: 0; font-size: 16px; line-height: 1.75; }
.map-list .mk-when .week { margin: 0 0 8px; }
.map-list .mk-when .open { font-size: 16px; }
.map-list .mk-when .closed { font-size: 13px; margin-top: 2px; }
.mk-intro p { color: var(--ink) !important; }
.mk-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-tags span { background: #FBE7DC; color: #8A3A1E; border-radius: 999px; padding: 4px 12px; font-size: 15px; line-height: 1.5; }
.mk-tip { background: #EEF4E6; border-radius: 12px; padding: 12px 14px; }
.mk-tip h4 { color: #3E6B3A; }
.map-list .mk-tip p { color: #2F4F2C; }
.map-list .mk-where .addr { font-size: 15px; color: #4A4338; }
.map-list li.mk > .src { margin-top: 18px; }
.map-list a.gmap { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; text-decoration: none; font-size: 15px; }
.map-list a.gmap::before { content: ""; width: 14px; height: 18px; background: #E4572E; border-radius: 50% 50% 50% 0; transform: rotate(-45deg) scale(.8); box-shadow: inset 0 0 0 4px #E4572E, inset 0 0 0 7px #fff; }

/* 小圖示（sprites.js 的 ICON）：取代 emoji，線條顏色跟著文字 */
.ic { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -0.18em; margin-right: .3em;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.fill { fill: currentColor; }
.nutri summary b { display: inline-flex; align-items: center; color: #3E6B3A; }
.nu-bento .ic { color: #B07A1E; }
.mk-tip h4 { display: flex; align-items: center; }
.board .like .ic, .act.like .ic { margin-right: .15em; }
.share-st.ok .ic { color: #3E6B3A; }

/* 頁面上的確認（sprites.js 的 ask）：取代瀏覽器的確認視窗 */
.ask-inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0; padding: 8px 10px; border-radius: 12px; background: #FBEDE6; }
.ask-inline .ask-q { flex: 1 1 100%; font-size: 15px; color: #8A3A1E; }
.ask-inline .act { margin: 0; }

/* 畫面下方的小字提示（sprites.js 的 toast） */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); width: max-content; max-width: min(92vw, 460px);
  background: #2E2A24; color: #FBF7EE; font-size: 15px; line-height: 1.5; padding: 10px 18px; border-radius: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #9A3A1E; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---------- 小朋友的手指：可以按的東西夠大 ----------
   主要按鈕至少 44×44（Apple 的建議）；一長串的小標籤（食材、菜名、分類）至少 40 高，才不會佔太多版面。 */
.chips button, .task-go, .act, .map-back, .cat-tab, .tools .tool-menu button { min-height: 44px; }
.act.small, .cat-chip, .cat-sub .cat-chip, .kchips button, .map-list .chiprow .chip { min-height: 40px; }
.kchips button, .map-list .chiprow .chip { display: inline-flex; align-items: center; gap: 4px; }
.map-list .chiprow .chip { padding: 6px 12px; }
.task-go { padding: 8px 16px; }
.sheet-x { width: 44px; height: 44px; right: 8px; top: 6px; }
.map-card-x { width: 44px; height: 44px; right: 4px; top: 2px; }
.mm { width: 44px; height: 44px; }
.map-tabs { padding: 3px; }
.map-tabs button { min-height: 44px; }
.cat-bar.main { padding: 3px; }
.nutri summary { min-height: 44px; }
.f-paste summary, .shop-cat.fold summary { padding-block: 14px; }
.board .like, .board .report, .board .del { min-height: 40px; padding-inline: 12px; }
.pin-hit { fill: transparent; }

/* ---------- 這週菜單（menu.js） ---------- */
.menu-lead { color: var(--ink-soft); font-size: 15px; }
.menu-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 6px 0 14px; }
.menu-ctl-l { font-size: 15px; color: var(--ink-soft); }
.menu-seg { display: inline-flex; background: #F1EADB; border-radius: 999px; padding: 3px; gap: 2px; }
.menu-seg button { font: inherit; font-size: 15px; border: 0; background: none; color: var(--ink); border-radius: 999px; padding: 0 14px; min-height: 40px; cursor: pointer; }
.menu-seg button[aria-pressed="true"] { background: var(--ink); color: var(--card); }
.menu-ctl .act { margin: 0 0 0 auto; }
.menu-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mday { display: grid; grid-template-columns: 58px 1fr; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px 10px 8px; }
.mday.today { border-color: #E9B48A; box-shadow: 0 0 0 2px #FBE3D2 inset; }
.mday-date { display: flex; flex-direction: column; align-items: center; padding-top: 4px; line-height: 1.3; }
.mday-date b { font-size: 19px; font-weight: normal; font-variant-numeric: tabular-nums; }
.mday-date span { font-size: 13px; color: var(--ink-soft); }
.mday-date em { margin-top: 4px; font-style: normal; font-size: 12px; color: #fff; background: var(--accent); border-radius: 999px; padding: 0 8px; }
.mday-main { min-width: 0; display: grid; gap: 8px; }
.mday-dish { display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; min-height: 56px; border-radius: 12px; }
.mday-dish img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.mday-t { display: grid; gap: 2px; min-width: 0; }
.mday-t b { font-weight: normal; font-size: 18px; }
.mday-why { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.mday-why .cheap { color: #3D6A22; }
.mday-why small { display: inline-block; margin-left: 6px; font-size: 12px; border-radius: 999px; padding: 0 7px; }
.cheap-tag { background: #E4F0DA; color: #3D6A22; }
.pick-tag { background: #F1EADB; color: #7A5A1E; }
.mday-empty { margin: 0; color: var(--ink-soft); font-size: 15px; }
.mday-act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mday-act .act { margin: 0; }
.mday-done { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 44px; min-height: 48px; margin-top: 8px; font-size: 12px; color: var(--ink-soft); cursor: pointer; }
.mday-done input { width: 22px; height: 22px; margin: 0; accent-color: #6FA34C; cursor: pointer; }
.mday.done .mday-done { color: #3D6A22; }
.mday.done .mday-t b { text-decoration: line-through; color: var(--ink-soft); }
.mday.done .mday-dish img { opacity: .55; }
.menu-used { margin: 16px 0 4px; font-size: 15px; line-height: 1.9; }
.menu-used b { font-weight: normal; color: var(--ink-soft); }
.menu-go { margin-top: 10px; }
.menu-go .act:disabled { opacity: 1; cursor: default; }
.menu-tag { margin-left: 4px; font-size: 11px; color: #7A5A1E; background: #F1EADB; border-radius: 999px; padding: 0 6px; }
.season-menu { margin: 0 0 12px; }
.menu-more { margin-top: 14px; }
.menu-more summary { cursor: pointer; padding-block: 12px; color: var(--ink-soft); }

/* ---------- 我的郵票冊（stamps.js） ---------- */
.stamp-prog { display: grid; gap: 6px; margin: 4px 0 16px; }
.stamp-prog b { font-weight: normal; font-size: 16px; font-variant-numeric: tabular-nums; }
.stamp-bar { height: 10px; border-radius: 999px; background: #EDE5D3; overflow: hidden; }
.stamp-bar i { display: block; height: 100%; background: #6FA34C; border-radius: 999px; }
.stamp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; padding: 10px 6px 4px;
  background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(185, 138, 85, .14) 31px 32px), #FBF6EA; border-radius: 16px; }
.stamp-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; font: inherit; color: inherit; background: none; border: 0; padding: 4px 0; cursor: pointer; min-width: 0; }
.st-face { position: relative; width: 100%; max-width: 112px; aspect-ratio: 272 / 358; transform: rotate(var(--tilt, 0deg)); transition: transform .2s; }
.st-face img { width: 100%; height: 100%; object-fit: contain; display: block; }
.stamp-tile.got .st-face { filter: drop-shadow(0 3px 4px rgba(80, 60, 30, .25)); }
.stamp-tile:not(.got) .st-face img { opacity: .75; }
.st-q { position: absolute; inset: 14% 14%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px;
  border: 1.5px dashed #C9B48F; border-radius: 4px; color: #8A7B63; padding: 4px; }
.st-q small { font-size: 12px; }
.st-q b { font-weight: normal; font-size: 14px; line-height: 1.3; color: #6B5A3E; word-break: keep-all; overflow-wrap: anywhere; }
.st-cap { display: grid; gap: 1px; text-align: center; line-height: 1.35; min-width: 0; }
.st-cap > b { font-weight: normal; font-size: 15px; }
.st-cap small { font-size: 12px; color: var(--ink-soft); }
.st-dishes { font-size: 12px; color: var(--ink-soft); }
.st-dishes .done { color: #3D6A22; }
.st-dishes .ic { width: .95em; height: .95em; margin-right: .1em; }
@media (hover: hover) { .stamp-tile:hover .st-face { transform: rotate(0deg) scale(1.04); } }
.stamp-tile:focus-visible { outline: 3px solid #F2B33D; outline-offset: 2px; border-radius: 10px; }
.cooked-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.cooked { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left;
  font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 10px 6px 6px; min-height: 60px; cursor: pointer; }
.cooked img { grid-row: 1 / 3; width: 48px; height: 48px; object-fit: contain; }
.cooked b { grid-column: 2; font-weight: normal; font-size: 15px; align-self: end; }
.cooked small { grid-column: 2; font-size: 12px; color: var(--ink-soft); align-self: start; }
@media (prefers-reduced-motion: reduce) { .st-face { transition: none; } }

/* 市場、夜市介紹：站長的在地推薦（map.js 的 marketRow） */
.mk-local ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.map-list .mk-local li { display: grid; gap: 2px; padding: 0 0 0 12px; border-bottom: 0; border-left: 3px solid #F2C7A8; }
.mk-local li b { font-weight: normal; font-size: 16px; color: #8A3A1E; }
.mk-local li span { font-size: 15px; line-height: 1.7; color: #4A4338; }

/* ---------- 爐台上的鍋子：Codex 畫的俯視水彩鍋（tools/cut_cookware_top.py），取代原本程式畫的藍色圓形 ----------
   .pot 還是那個圓（湯、食材、泡泡都疊在裡面），鍋子的圖放大疊在後面：圖裡鍋口的圓佔圖寬的 1/1.36（平底鍋 1/2.2） */
.pot, .pot.pan { background: none; box-shadow: none; }
.pot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 136%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: url("/img/cookware/pot-top.webp") center / contain no-repeat; filter: drop-shadow(0 10px 12px rgba(40, 30, 20, .32)); pointer-events: none; }
.pot.pan::before { width: 220%; background-image: url("/img/cookware/pan-top.webp"); }
.pot .handle, .pot.pan .handle.l { display: none; }
.liquid { inset: 9%; background: transparent; box-shadow: none; }
.liquid.full { background: var(--soup, #DCE6EA); box-shadow: inset 0 3px 10px rgba(0, 0, 0, .14), 0 0 0 2px rgba(255, 255, 255, .25); }
.pot.pan .liquid { inset: 12%; background: transparent; }
.pot.pan .liquid.oiled { background: radial-gradient(circle at 40% 35%, rgba(255, 225, 130, .42), rgba(255, 215, 120, .12) 55%, transparent 72%); }
.pot:not(.pan) { background: none; box-shadow: none; }
.pot:not(.pan)::after { display: none; }
.pot .liquid, .pot:not(.pan) .liquid { background: transparent; box-shadow: none; }
.pot .liquid.full, .pot:not(.pan) .liquid.full { background: var(--soup, #DCE6EA); box-shadow: inset 0 3px 10px rgba(0, 0, 0, .14), 0 0 0 2px rgba(255, 255, 255, .25); }

/* ---------- 電鍋：Codex 畫的俯視水彩電鍋（tools/cut_cooker_top.py），取代原本程式畫的同心圓 ----------
   .cooker 還是那個圓（電鍋外殼的圓）；外殼的圖放大 1.5 倍疊在後面（多出來的是提把和下面的開關面板） */
.st-cooker { background: #E6D8C2 url("/img/closeups/stove.webp") 0 100% / 560% auto no-repeat; }
.cooker { background: none; box-shadow: none; }
.cooker::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: url("/img/cookware/cooker-body.webp") center / contain no-repeat; filter: drop-shadow(0 10px 12px rgba(40, 30, 20, .3)); pointer-events: none; }
.cooker-water { inset: 12%; background: transparent; }
.cooker-water.on { background: radial-gradient(circle, rgba(175, 207, 226, 0) 58%, rgba(170, 205, 228, .55) 64%, rgba(150, 195, 224, .7) 100%); }
.cooker-inner { inset: 19%; background: none; box-shadow: none; }
.cooker-plate { inset: 0; background: url("/img/cookware/cooker-plate.webp") center / 104% no-repeat; box-shadow: none; filter: drop-shadow(0 3px 5px rgba(40, 30, 20, .25)); }
.cooker-plate .in { filter: none; }
.cooker-lid { inset: 5%; background: url("/img/cookware/cooker-lid.webp") center / 104% no-repeat; box-shadow: none; filter: drop-shadow(0 5px 8px rgba(40, 30, 20, .3)); }
.cooker-lid::after { display: none; }
/* 開關：圖上面板的指示燈位置疊一顆燈，按下去亮橘色 */
.cooker-switch { left: 46.7%; top: 93.9%; bottom: auto; width: 2.6%; height: auto; aspect-ratio: 1; border-radius: 50%; background: transparent; transform: translate(-50%, -50%); }
.cooker-switch::after { display: none; }
.cooker-switch.on { transform: translate(-50%, -50%); background: #F28B30; box-shadow: 0 0 10px 3px rgba(242, 139, 48, .8); }

/* ---------- 食材架：要放進鍋子的食材排在畫面下方（engine.js 的 shelf） ---------- */
.cu-shelf { width: min(620px, 100%); }
.cu-shelf:empty, .cu-shelf:not(:has(.tray-item)) { display: none; }
.cu-shelf .tray { position: static; width: auto; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cu-shelf .tray-item { width: 74px; min-height: 74px; font-size: 13px; padding: 6px 4px; background: var(--card); transition: opacity .3s, transform .3s; }
.cu-shelf .tray-item img { width: 46px; height: 40px; object-fit: contain; }
.cu-shelf .tray-item.taken { opacity: 0; transform: translateY(-14px) scale(.8); }
.cu-knack { order: 9; }
@media (orientation: landscape) and (max-height: 520px) {
  .cu { grid-template-rows: auto auto auto 1fr auto auto; }
  .cu-stage { grid-row: 1 / 7; }
  .cu-shelf, .cu-knack { grid-column: 2; width: auto; }
  .cu-shelf { grid-row: 3; } .cu-tip { grid-row: 4; } .cu-actions { grid-row: 5; } .cu-knack { grid-row: 6; font-size: 13px; }
  .cu-shelf .tray { justify-content: flex-start; } .cu-shelf .tray-item { width: 60px; min-height: 60px; }
}
