/*
Theme Name: 戴安拆貸 v3
Theme URI: https://loan-map.com/
Author: 戴安拆貸編輯團隊
Description: 2026-12-02 v3.3「分類歸位」：每篇文章一個分類（15 類）、卡片與文章頁寫發文日與更新日、首頁加「想借哪一種」與最新文章。視覺沿用 v3.2「戴安的手帳」韓系手繪風，插圖全部 SVG 手繪，不用 AI 生圖。
Version: 3.3.1
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: loan-map-v3
*/

/* =========================================================
   0. 設計代幣
   ========================================================= */
:root {
	--bg: #F3F9F5;
	--grid: rgba(30, 61, 53, .055);
	--paper: #FFFFFF;
	--ink: #1E3D35;
	--text: #21322D;
	--muted: #586C66;
	--line: #CFE0D8;
	--line-soft: #E3EEE8;

	--mint: #CDEFDC;   --mint-l: #E7F7EE;
	--butter: #FFE79A; --butter-l: #FFF5D1;
	--pink: #FFD3C9;   --pink-l: #FFEBE5;
	--sky: #CFE5FF;    --sky-l: #E9F3FF;
	--lilac: #E3DCFF;  --lilac-l: #F2EEFF;
	--peach: #FFDDB5;  --peach-l: #FFF0DE;
	--sage: #DCEBCF;   --sage-l: #EEF6E7;
	--rose: #FFD3DF;   --rose-l: #FFEBF1;
	--aqua: #C6ECEC;   --aqua-l: #E6F7F7;
	--clay: #F1DCC8;   --clay-l: #FAF0E6;
	--lime: #E4EFB0;   --lime-l: #F4F8DC;

	--hl: #FFE45C;
	--cta: #FFD84D;
	--cta-hover: #FFCE2E;
	--money: #2F8F62;
	--warn: #D9442E;
	--warn-soft: #FFEBE6;

	/* 舊名稱相容（內容或程式碼片段可能用到） */
	--brand: var(--ink);
	--brand-dark: #163029;
	--brand-soft: var(--mint-l);
	--money-dark: #23704C;

	--door: var(--mint);
	--door-l: var(--mint-l);
	--lm-face: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="16 4 88 88"%3E%3Cpath d="M110,58C110.9,67.2 108.6,77.9 102.7,86.1S84.2,103.4 74.6,106.9S54.5,110.6 44.9,107S22.9,93.5 17.3,85.3S10.5,67.8 11.1,58S15,34.4 20.7,26.6S36.3,13.5 45.3,11.3S65.9,9.9 74.7,13.1S92,23.3 97.9,30.8S109.2,48.8 110,58Z" fill="%23E5F7EE"/%3E%3Cpath d="M52.1,80C54.7,78.1 65.3,78.1 68,80.1S70.7,90 68.1,92S54.7,93.9 52,91.9S49.4,82 52.1,80Z" fill="%23FFE4D4"/%3E%3Cpath d="M25.8,57.9C25.6,51.6 23.6,44.1 25,38.1S29.7,25.9 33.9,21.9S44.9,15.3 50.2,13.9S60.8,12.4 66.2,13.2S77.9,15.3 82.3,18.8S90.7,28 92.8,34.2S94.7,49 94.8,56S95,71.7 93.9,76.3S90.6,82.9 88,83.8S86,81.9 78.3,81.6S49.6,81.7 41.8,82.1S34.5,85.3 31.9,84.2S27.4,80.4 26.4,76S26.1,64.2 25.8,57.9Z" fill="%231E3D35"/%3E%3Cpath d="M33.8,51.3C33.6,46.3 33.4,40.8 34.9,37.1S38.5,31.1 42.8,29.2S55.1,25.8 61,25.7S74.3,26.9 78.6,28.7S85.1,33.2 86.6,36.9S87.9,45.9 87.7,50.9S87.7,62.4 85.8,67.1S80.6,75.9 76.5,78.8S66.3,84.3 61,84.3S48.7,81.8 44.5,78.9S37.6,71.6 35.8,67S34,56.2 33.8,51.3Z" fill="%23FFE4D4"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M32.8,50.2C32.7,45.2 32.5,39.7 34.1,35.9S37.6,29.5 41.9,27.8S53.8,25.3 59.8,25.3S73.9,26.2 78.3,27.9S84.5,32.1 86,35.7S87.4,44.7 87.2,49.8S87,61.5 85.1,66.2S80.2,75.5 76,78.3S65.2,82.8 59.8,82.7S47.9,80.5 43.7,77.7S36.6,70.5 34.8,65.9S32.9,55.2 32.8,50.2Z" stroke-width="2.3"/%3E%3C/g%3E%3Cpath d="M30.7,43.7C30,42.3 31.1,32.5 33.7,28.3S41.5,20.4 46.3,18.3S57,16.1 62.3,16.2S73.4,16.9 77.9,19.2S87,25.7 89.1,29.8S91.5,42.8 90.3,44.2S84.7,38.4 82,37.7S76.1,41.2 74.1,40.2S72,32.2 70,32S65.3,38.6 62.3,39S55.4,33.7 52.3,34S46,40.4 43.7,40.8S40.5,36.3 38.3,36.8S31.5,45.1 30.7,43.7Z" fill="%231E3D35"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M69.9,22C71.2,22.3 75.8,22.7 78,24S82.1,28.9 82.9,29.9" stroke-width="1.6" stroke="%23FFFFFF" stroke-opacity=".55"/%3E%3C/g%3E%3Cpath d="M46.4,47.5C48.1,47.2 50.2,47.4 51.8,48.2S54.9,50.3 55.8,51.8S57.2,55.5 57,57.2S55.5,60.7 54.3,61.9S51.3,64.2 49.6,64.5S45.5,64.2 43.9,63.5S40.8,61.5 40,60.1S38.9,56.7 39.1,55S40.2,51.2 41.4,49.9S44.6,47.7 46.4,47.5Z" fill="%23FFFFFF" fill-opacity=".45"/%3E%3Cpath d="M70.5,47.6C72.3,47.3 74.5,47.7 76,48.5S79.1,50.7 79.9,52.1S81.3,55.6 81.1,57.2S79.7,60.8 78.4,62S75.4,64.2 73.6,64.5S69.7,64.3 68.1,63.5S64.9,61.4 64.1,60S63,56.4 63.2,54.8S64.2,51.2 65.5,50S68.7,47.8 70.5,47.6Z" fill="%23FFFFFF" fill-opacity=".45"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M46.3,47.8C48,47.5 50.4,47.8 52.1,48.4S55.2,50.3 56,51.8S57.1,55.5 56.9,57.2S55.7,60.7 54.5,61.9S51.2,64.1 49.4,64.3S45.6,64.2 44,63.5S40.9,61.5 40.1,60S39,56.3 39.3,54.7S40.5,51.5 41.6,50.3S44.5,48.1 46.3,47.8Z" stroke-width="2.2"/%3E%3Cpath d="M70.2,47.8C71.9,47.5 74.1,47.4 75.7,48.1S79.1,50.4 79.9,51.9S81.2,55.7 80.9,57.4S79.8,61 78.6,62.1S75.3,64.2 73.5,64.5S69.6,64.4 68,63.7S64.6,61.3 63.8,59.9S63,56.6 63.3,55S64.5,51 65.6,49.9S68.6,48.1 70.2,47.8Z" stroke-width="2.2"/%3E%3Cpath d="M57,55C57.5,54.8 59.1,53.6 60,53.6S62.4,54.8 62.9,55" stroke-width="2"/%3E%3C/g%3E%3Cpath d="M48,57m-2.1,0a2.1,2.5 0 1,0 4.2,0a2.1,2.5 0 1,0 -4.2,0" fill="%231E3D35"/%3E%3Cpath d="M72,57m-2.1,0a2.1,2.5 0 1,0 4.2,0a2.1,2.5 0 1,0 -4.2,0" fill="%231E3D35"/%3E%3Cpath d="M39,63.8C40.3,63.7 42.1,63.9 43.2,64.4S45.2,65.7 45.4,66.4S45.2,68.2 44.5,68.8S42.2,70 41,70.2S37.9,70.1 36.8,69.6S34.8,68.3 34.6,67.6S34.8,65.8 35.5,65.2S37.8,64 39,63.8Z" fill="%23FFA99A" fill-opacity=".55"/%3E%3Cpath d="M79,63.8C80.3,63.7 82.1,63.9 83.2,64.4S85.2,65.7 85.4,66.4S85.2,68.2 84.5,68.8S82.2,70 81,70.2S77.9,70.1 76.8,69.6S74.8,68.3 74.6,67.6S74.8,65.8 75.5,65.2S77.8,64 79,63.8Z" fill="%23FFA99A" fill-opacity=".55"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M55,70.1C55.8,70.6 58.3,73.6 59.9,73.6S64.1,70.6 65,70.1" stroke-width="2.2"/%3E%3C/g%3E%3C/svg%3E');
	--lm-calc: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"%3E%3Cpath d="M108.6,62C109.2,72.6 106.2,86.9 99.5,94.9S78.7,109.4 68.3,110.5S45.7,107 37.1,101.7S19.8,88.5 16.4,78.9S13.4,53.8 17,44.3S29.2,27.7 37.6,22.5S58.1,11.2 67.8,12.7S89.2,23.1 96,31.3S108,51.4 108.6,62Z" fill="%23FFF4CC"/%3E%3Cpath d="M74.7,18.2C75.8,18.6 79.7,18.7 81.2,20.1S83.5,21.7 83.9,26.6S83.2,42.1 83.3,49.6S84.1,64.1 84.3,71.3S85.2,88.2 84.7,92.8S82.8,97.6 81.1,99.2S79,101.9 74.8,102.3S62.1,102 56.1,101.9S43.1,102.1 39.1,101.7S33.4,101.2 31.8,99.7S29.5,98 29.1,93.1S29.3,77.6 29.4,70.2S29.4,55.4 29.4,48.2S28.8,32 29.4,27.3S31.4,22 33,20.4S35.3,18.2 39.3,18S51.2,18.5 57,18.7S70.7,19 74.2,19.1S77.7,19.5 78.4,19.6" fill="%23FFE79A" transform="translate%282.2 2.4%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M74.7,18.2C75.8,18.6 79.7,18.7 81.2,20.1S83.5,21.7 83.9,26.6S83.2,42.1 83.3,49.6S84.1,64.1 84.3,71.3S85.2,88.2 84.7,92.8S82.8,97.6 81.1,99.2S79,101.9 74.8,102.3S62.1,102 56.1,101.9S43.1,102.1 39.1,101.7S33.4,101.2 31.8,99.7S29.5,98 29.1,93.1S29.3,77.6 29.4,70.2S29.4,55.4 29.4,48.2S28.8,32 29.4,27.3S31.4,22 33,20.4S35.3,18.2 39.3,18S51.2,18.5 57,18.7S70.7,19 74.2,19.1S77.7,19.5 78.4,19.6" stroke-width="2.4"/%3E%3C/g%3E%3Cpath d="M73.1,25.3C73.5,25.5 74.5,25.9 75.3,26.6S77.4,28.4 77.8,29.7S77.7,32.3 77.6,34.3S77.5,39.9 77.4,41.5S77.3,43.3 76.7,43.6S76.5,43.3 73.4,43.4S63,44.3 57.5,44.4S43.9,44.2 40.7,43.9S39.1,42.8 38.6,42.5S38.1,43.1 37.8,41.7S36.8,36.3 36.7,34.2S36.9,30.7 37.1,29.3S37.2,26.5 37.6,26.1S36.5,26.5 39.6,26.6S50.8,27.1 56.3,26.8S69.7,24.5 72.5,24.5S73.1,26.7 73.3,27.1" fill="%23CDEFDC" transform="translate%281.2 1.2%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M73.1,25.3C73.5,25.5 74.5,25.9 75.3,26.6S77.4,28.4 77.8,29.7S77.7,32.3 77.6,34.3S77.5,39.9 77.4,41.5S77.3,43.3 76.7,43.6S76.5,43.3 73.4,43.4S63,44.3 57.5,44.4S43.9,44.2 40.7,43.9S39.1,42.8 38.6,42.5S38.1,43.1 37.8,41.7S36.8,36.3 36.7,34.2S36.9,30.7 37.1,29.3S37.2,26.5 37.6,26.1S36.5,26.5 39.6,26.6S50.8,27.1 56.3,26.8S69.7,24.5 72.5,24.5S73.1,26.7 73.3,27.1" stroke-width="2"/%3E%3Cpath d="M56,35C57.3,35 61,35 63.7,35S70.6,35 72,35" stroke-width="2"/%3E%3C/g%3E%3Cpath d="M52,35m-1.3,0a1.3,1.3 0 1,0 2.6,0a1.3,1.3 0 1,0 -2.6,0" fill="%231E3D35"/%3E%3Cpath d="M41.9,54.4C43,54.2 44.4,54.7 45.3,55.6S47.1,58.2 46.8,59.3S44.6,62.1 43.3,62.2S39.8,61.3 39,60.4S38.2,57.7 38.7,56.7S40.8,54.6 41.9,54.4Z" fill="%23FFFFFF" transform="translate%280.6 0.7%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M41.9,54.4C43,54.2 44.4,54.7 45.3,55.6S47.1,58.2 46.8,59.3S44.6,62.1 43.3,62.2S39.8,61.3 39,60.4S38.2,57.7 38.7,56.7S40.8,54.6 41.9,54.4Z" stroke-width="1.6"/%3E%3C/g%3E%3Cpath d="M53.8,53.9C55.1,53.7 57.3,54.3 58.1,55.2S59.1,58.7 58.6,59.7S56.4,61.4 55.1,61.5S51.8,61 51,60.2S49.8,57.3 50.2,56.3S52.5,54.1 53.8,53.9Z" fill="%23FFFFFF" transform="translate%280.6 0.7%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M53.8,53.9C55.1,53.7 57.3,54.3 58.1,55.2S59.1,58.7 58.6,59.7S56.4,61.4 55.1,61.5S51.8,61 51,60.2S49.8,57.3 50.2,56.3S52.5,54.1 53.8,53.9Z" stroke-width="1.6"/%3E%3C/g%3E%3Cpath d="M65.6,53.9C66.8,53.8 68.8,54.7 69.7,55.6S71,58.5 70.6,59.5S68.3,62 67.1,62.1S64.1,61.2 63.3,60.2S62.2,57.5 62.6,56.5S64.4,54.1 65.6,53.9Z" fill="%23FFFFFF" transform="translate%280.6 0.7%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M65.6,53.9C66.8,53.8 68.8,54.7 69.7,55.6S71,58.5 70.6,59.5S68.3,62 67.1,62.1S64.1,61.2 63.3,60.2S62.2,57.5 62.6,56.5S64.4,54.1 65.6,53.9Z" stroke-width="1.6"/%3E%3C/g%3E%3Cpath d="M41.9,66.3C43.1,66 44.7,66.6 45.5,67.4S46.9,70.2 46.4,71.2S43.9,73.2 42.8,73.5S40.5,73.6 39.8,72.8S38.1,69.9 38.5,68.8S40.8,66.5 41.9,66.3Z" fill="%23FFFFFF" transform="translate%280.6 0.7%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M41.9,66.3C43.1,66 44.7,66.6 45.5,67.4S46.9,70.2 46.4,71.2S43.9,73.2 42.8,73.5S40.5,73.6 39.8,72.8S38.1,69.9 38.5,68.8S40.8,66.5 41.9,66.3Z" stroke-width="1.6"/%3E%3C/g%3E%3Cpath d="M53.6,66.3C54.9,66.1 57.3,66.8 58.1,67.7S58.8,70.9 58.4,71.8S56.8,73.4 55.6,73.5S52.1,73.3 51.2,72.5S49.9,69.8 50.3,68.7S52.3,66.4 53.6,66.3Z" fill="%23FFFFFF" transform="translate%280.6 0.7%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M53.6,66.3C54.9,66.1 57.3,66.8 58.1,67.7S58.8,70.9 58.4,71.8S56.8,73.4 55.6,73.5S52.1,73.3 51.2,72.5S49.9,69.8 50.3,68.7S52.3,66.4 53.6,66.3Z" stroke-width="1.6"/%3E%3C/g%3E%3Cpath d="M65.4,66.3C66.7,66 69.2,66.2 70.1,67S71.1,70 70.6,71.1S68.5,73.8 67.4,74.1S64.6,73.7 63.7,72.9S62.1,69.9 62.4,68.9S64.2,66.6 65.4,66.3Z" fill="%23FFFFFF" transform="translate%280.6 0.7%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M65.4,66.3C66.7,66 69.2,66.2 70.1,67S71.1,70 70.6,71.1S68.5,73.8 67.4,74.1S64.6,73.7 63.7,72.9S62.1,69.9 62.4,68.9S64.2,66.6 65.4,66.3Z" stroke-width="1.6"/%3E%3C/g%3E%3Cpath d="M41.4,78.3C42.7,78 44.8,78.4 45.6,79.2S46.6,82 46.2,83.1S44.7,85.4 43.5,85.6S39.9,85.1 39,84.3S37.8,81.9 38.2,80.9S40.2,78.5 41.4,78.3Z" fill="%23FFFFFF" transform="translate%280.6 0.7%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M41.4,78.3C42.7,78 44.8,78.4 45.6,79.2S46.6,82 46.2,83.1S44.7,85.4 43.5,85.6S39.9,85.1 39,84.3S37.8,81.9 38.2,80.9S40.2,78.5 41.4,78.3Z" stroke-width="1.6"/%3E%3C/g%3E%3Cpath d="M53.9,78.2C55.2,78 57.4,78.6 58.1,79.4S58.5,81.9 58,83.1S56.3,85.9 55.2,86.1S52.5,85.5 51.7,84.6S49.9,81.8 50.3,80.7S52.6,78.4 53.9,78.2Z" fill="%23FFFFFF" transform="translate%280.6 0.7%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M53.9,78.2C55.2,78 57.4,78.6 58.1,79.4S58.5,81.9 58,83.1S56.3,85.9 55.2,86.1S52.5,85.5 51.7,84.6S49.9,81.8 50.3,80.7S52.6,78.4 53.9,78.2Z" stroke-width="1.6"/%3E%3C/g%3E%3Cpath d="M66.2,77.9C67.4,77.7 69.4,78.9 70.1,79.8S71.1,82.4 70.5,83.4S68.2,85.3 66.9,85.6S63.5,85.4 62.8,84.7S62.2,82.2 62.8,81.1S65,78.1 66.2,77.9Z" fill="%23FFFFFF" transform="translate%280.6 0.7%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M66.2,77.9C67.4,77.7 69.4,78.9 70.1,79.8S71.1,82.4 70.5,83.4S68.2,85.3 66.9,85.6S63.5,85.4 62.8,84.7S62.2,82.2 62.8,81.1S65,78.1 66.2,77.9Z" stroke-width="1.6"/%3E%3C/g%3E%3Cpath d="M80.1,54.5C80.4,54.5 81.6,54.1 82,54.5S82.4,54.1 82.5,56.8S83,66.2 83,70.5S82.9,80.3 82.8,82.7S82.8,84.5 82.4,85S80.6,85.4 80.1,85.6S79.3,86.3 78.9,86.4S78,86.8 77.3,86.5S75.3,85.1 74.7,84.6S73.9,85.9 73.8,83.4S74,74.1 74,69.7S73.5,59 73.6,56.6S74.2,55.7 74.8,55.3S76.7,54.5 77.4,54.3S78.2,53.7 78.8,53.7S80.2,54 80.6,54S81,53.7 81.1,53.6" fill="%23F2735F" transform="translate%280.8 0.9%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M80.1,54.5C80.4,54.5 81.6,54.1 82,54.5S82.4,54.1 82.5,56.8S83,66.2 83,70.5S82.9,80.3 82.8,82.7S82.8,84.5 82.4,85S80.6,85.4 80.1,85.6S79.3,86.3 78.9,86.4S78,86.8 77.3,86.5S75.3,85.1 74.7,84.6S73.9,85.9 73.8,83.4S74,74.1 74,69.7S73.5,59 73.6,56.6S74.2,55.7 74.8,55.3S76.7,54.5 77.4,54.3S78.2,53.7 78.8,53.7S80.2,54 80.6,54S81,53.7 81.1,53.6" stroke-width="1.8"/%3E%3Cpath d="M40,92C42.4,92.1 49.3,92.9 54.3,92.9S67.4,92.1 70,92" stroke-width="1.6"/%3E%3C/g%3E%3Cpath d="M101,57.4C101.2,57.5 101.9,57.5 102.1,58S103.6,57.1 102.2,60.6S96.5,73.1 93.8,78.9S87.6,92.6 86.1,95.5S85.1,96.4 84.6,96.6S83.7,97.3 83.1,97.1S81.5,95.8 80.7,95.3S79,94.5 78.1,94.1S75.9,93 75.5,92.9S74,96.1 75.6,93.1S82.3,80.9 85,74.7S90.5,59.3 92,56S93.7,55.1 94.2,55.1S94.1,55.3 94.8,55.5S97.4,56 98.4,56.2S99.8,56.9 100.5,57.1S101.9,57.6 102.1,57.7" fill="%23CFE5FF" transform="translate%282.2 2.4%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M101,57.4C101.2,57.5 101.9,57.5 102.1,58S103.6,57.1 102.2,60.6S96.5,73.1 93.8,78.9S87.6,92.6 86.1,95.5S85.1,96.4 84.6,96.6S83.7,97.3 83.1,97.1S81.5,95.8 80.7,95.3S79,94.5 78.1,94.1S75.9,93 75.5,92.9S74,96.1 75.6,93.1S82.3,80.9 85,74.7S90.5,59.3 92,56S93.7,55.1 94.2,55.1S94.1,55.3 94.8,55.5S97.4,56 98.4,56.2S99.8,56.9 100.5,57.1S101.9,57.6 102.1,57.7" stroke-width="2.2"/%3E%3C/g%3E%3Cpath d="M75.5,94.5C77,93.4 84.5,96.7 84.5,98.5S77,105.9 75.5,105.3S74,95.6 75.5,94.5Z" fill="%23FFDDB5" transform="translate%280.8 0.8%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M75.5,94.5C77,93.4 84.5,96.7 84.5,98.5S77,105.9 75.5,105.3S74,95.6 75.5,94.5Z" stroke-width="2"/%3E%3C/g%3E%3Cpath d="M103.4,51.1C103.5,51.3 104.3,52 104.4,52.5S104.5,53.7 104.3,54.4S103.3,56.1 102.9,56.6S102.5,57.2 102.2,57.5S101.8,58.2 101.3,58.5S100.2,59.4 99.4,59.2S97.4,58.2 96.7,57.8S95.3,56.8 94.8,56.5S94,56.3 93.7,55.8S92.9,53.9 93,53.4S94.1,52.9 94.5,52.5S95.1,50.9 95.4,50.5S95.7,49.8 96.1,49.7S97.1,49.5 97.9,49.5S99.9,49.6 100.9,49.9S103.5,51 103.8,51.3S103.1,51.3 102.9,51.3" fill="%23FFD3C9" transform="translate%280.8 0.8%29"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M103.4,51.1C103.5,51.3 104.3,52 104.4,52.5S104.5,53.7 104.3,54.4S103.3,56.1 102.9,56.6S102.5,57.2 102.2,57.5S101.8,58.2 101.3,58.5S100.2,59.4 99.4,59.2S97.4,58.2 96.7,57.8S95.3,56.8 94.8,56.5S94,56.3 93.7,55.8S92.9,53.9 93,53.4S94.1,52.9 94.5,52.5S95.1,50.9 95.4,50.5S95.7,49.8 96.1,49.7S97.1,49.5 97.9,49.5S99.9,49.6 100.9,49.9S103.5,51 103.8,51.3S103.1,51.3 102.9,51.3" stroke-width="2"/%3E%3C/g%3E%3Cpath d="M22.9,25.5C23.3,25.5 23.2,28.8 24.1,29.7S28.3,30.7 28.3,31.1S25.1,31.4 24.2,32.3S23.3,36.4 22.9,36.4S22.4,33.2 21.4,32.3S17.4,31.3 17.4,30.9S20.5,30.7 21.4,29.8S22.4,25.5 22.9,25.5Z" fill="%23FFE79A"/%3E%3Cg fill="none" stroke="%231E3D35" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M21.9,24.4C22.3,24.4 22.2,27.8 23.1,28.7S27.6,29.5 27.6,29.9S24.3,30.2 23.3,31.1S22.4,35.5 21.9,35.6S21.5,32.1 20.6,31.2S16.4,30.3 16.4,29.9S19.9,29.6 20.9,28.7S21.6,24.4 21.9,24.4Z" stroke-width="1.8"/%3E%3C/g%3E%3C/svg%3E');

	--font: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
	--font-display: "LM Round", -apple-system, "PingFang TC", "Noto Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif;
	--font-head: var(--font);

	--wob: 18px 24px 16px 26px / 24px 16px 26px 18px;
	--wob-s: 12px 16px 10px 15px / 15px 10px 16px 12px;
	--pill: 999px 960px 999px 940px / 940px 999px 960px 999px;
	--sh: 3px 4px 0 var(--ink);
	--radius: 16px;
	--shell: 1080px;
	--narrow: 720px;
	--gut: max(16px, env(safe-area-inset-left, 0px));
	--gut-r: max(16px, env(safe-area-inset-right, 0px));
}

/* 手寫圓體：jf open 粉圓（Huninn，SIL OFL 授權），只取網站固定文字用到的字，放在自己主機（LiteSpeed 會移除 Google 字型） */
@font-face { font-family: "LM Round"; src: url("/wp-content/themes/loan-map-v3/assets/fonts/lm-round.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* v3.3 補字：新分類名字用到、舊子集沒有的 48 個字（13KB）。瀏覽器只有頁面上出現這些字才會下載 */
@font-face { font-family: "LM Round"; src: url("/wp-content/themes/loan-map-v3/assets/fonts/lm-round-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+4F11,U+4FEE,U+5065,U+5152,U+5275,U+52A9,U+52DE,U+55AA,U+571F,U+5730,U+5A5A,U+5B78,U+5BF5,U+5C4B,U+5E03,U+610F,U+64DA,U+65C5,U+6D3B,U+6F62,U+72C0,U+751F,U+7559,U+7642,U+767C,U+7968,U+79DF,U+7A05,U+7E55,U+7E7C,U+80A1,U+80B2,U+846C,U+88DC,U+88DD,U+8B80,U+8CBC,U+8FB2,U+9000,U+9031,U+904A,U+907A,U+91AB,U+92B7,U+9418,U+9662,U+96AA,U+985E; }

/* 門的顏色：首頁門卡、門頁、文章頁、文章卡共用 */
.door--credit, .door-theme--credit, [data-door="credit"] { --door: var(--pink); --door-l: var(--pink-l); }
.door--debt, .door-theme--debt, [data-door="debt"] { --door: var(--butter); --door-l: var(--butter-l); }
.door--payroll, .door-theme--payroll, [data-door="payroll"] { --door: var(--sky); --door-l: var(--sky-l); }
.door--first, .door-theme--first, [data-door="first"] { --door: var(--mint); --door-l: var(--mint-l); }
.door--rejected, .door-theme--rejected, [data-door="rejected"] { --door: var(--lilac); --door-l: var(--lilac-l); }
.door--urgent, .door-theme--urgent, [data-door="urgent"] { --door: var(--peach); --door-l: var(--peach-l); }
.door--repaying, .door-theme--repaying, [data-door="repaying"] { --door: var(--sage); --door-l: var(--sage-l); }
.door--scam, .door-theme--scam, [data-door="scam"] { --door: var(--rose); --door-l: var(--rose-l); }
/* v3.3：七個「借哪一種」分類 */
.door--mortgage, .door-theme--mortgage, [data-door="mortgage"] { --door: var(--aqua); --door-l: var(--aqua-l); }
.door--car, .door-theme--car, [data-door="car"] { --door: var(--peach); --door-l: var(--peach-l); }
.door--student, .door-theme--student, [data-door="student"] { --door: var(--lilac); --door-l: var(--lilac-l); }
.door--business, .door-theme--business, [data-door="business"] { --door: var(--butter); --door-l: var(--butter-l); }
.door--secured, .door-theme--secured, [data-door="secured"] { --door: var(--lime); --door-l: var(--lime-l); }
.door--legal, .door-theme--legal, [data-door="legal"] { --door: var(--clay); --door-l: var(--clay-l); }
.door--life, .door-theme--life, [data-door="life"] { --door: var(--rose); --door-l: var(--rose-l); }

/* =========================================================
   1. 基礎
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
	margin: 0;
	background-color: var(--bg);
	background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 24px 24px;
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	overflow-wrap: break-word;
}
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }
body.menu-open { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; line-height: 1.38; text-wrap: balance; font-family: var(--font-head); font-weight: 700; color: var(--ink); letter-spacing: .01em; }
/* 固定文字的大標（首頁、門頁、說明頁、區段標題）用手寫圓體；文章標題是動態的，用手機系統字 */
.hero h1, .page-single .article__head h1, .section__head h2 { font-family: var(--font-display); font-weight: 700; font-synthesis: none; letter-spacing: .02em; }
.search .hero h1 { font-family: var(--font-head); }
p { margin: 0; }
a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.shell--narrow { max-width: var(--narrow); }

mark { background: linear-gradient(104deg, transparent 2%, var(--hl) 4%, var(--hl) 94%, transparent 97%) 0 62% / 100% 52% no-repeat; color: inherit; padding: 0 3px; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.art { display: block; width: 100%; height: auto; overflow: visible; }

/* 手寫字小標 */
.hand { font-family: var(--font-display); font-weight: 700; font-synthesis: none; }

/* 紙膠帶（任何 .tape 元素的 ::before） */
.tape::before, .door::before, .cta-box::before, .door-answer::before, .entry-content .gp-verdict::after {
	content: "";
	position: absolute;
	top: -11px;
	left: 22px;
	width: 74px;
	height: 22px;
	background: var(--tape, var(--door));
	opacity: .92;
	transform: rotate(-4deg);
	border-left: 2px dotted rgba(255, 255, 255, .7);
	border-right: 2px dotted rgba(255, 255, 255, .7);
	box-shadow: 0 1px 0 rgba(30, 61, 53, .08);
	pointer-events: none;
}

/* =========================================================
   2. 按鈕、連結、標籤
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	font-family: var(--font-display);
	font-weight: 700;
	font-synthesis: none;
	font-size: 17px;
	line-height: 1.3;
	letter-spacing: .02em;
	border-radius: var(--pill);
	padding: 12px 24px;
	text-decoration: none;
	border: 2px solid var(--ink);
	cursor: pointer;
	text-align: center;
	max-width: 100%;
	transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 3px 4px 0 var(--hl); }
.btn--primary:hover { background: #142c26; }
.btn--primary:active { box-shadow: 1px 1px 0 var(--hl); }
.btn--money { background: var(--cta); color: var(--ink); box-shadow: var(--sh); }
.btn--money:hover { background: var(--cta-hover); }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: var(--sh); }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-weight: 700;
	font-size: 15px;
	color: var(--ink);
	text-decoration: none;
	padding: 4px 2px;
	white-space: normal;
}
.text-link::after { content: ""; flex: none; width: 26px; height: 13px; background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 14"%3E%3Cpath d="M2 8.2c7-1.6 14-1.9 22.6-1M18.6 2.2c2.4 1.6 4.4 3 6.4 4.8-2.3 1.4-4.4 2.9-6.6 5" fill="none" stroke="%231E3D35" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') center / contain no-repeat; }
.text-link:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	background: var(--door-l, var(--mint-l));
	color: var(--ink);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
	border: 2px solid var(--ink);
	border-radius: var(--pill);
	padding: 4px 13px;
	text-decoration: none;
}
.chip:hover { background: var(--door, var(--mint)); }
.chip--soft { background: var(--paper); border-color: var(--line); border-width: 2px; font-weight: 500; color: var(--muted); }
.chip--soft:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.chips--doors .chip { font-size: 15px; min-height: 42px; padding: 6px 16px; }

/* =========================================================
   3. 頁首
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--paper);
	border-bottom: 2px solid var(--ink);
}
.site-header__inner {
	max-width: var(--shell);
	margin: 0 auto;
	padding: 8px var(--gut-r) 8px var(--gut);
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; flex: 0 1 auto; }
.site-logo svg, .site-logo .art { width: 40px; height: 40px; flex: none; transform: rotate(-4deg); }
.site-logo__text { font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 21px; line-height: 1.15; white-space: nowrap; }
.site-logo__text small { display: block; font-family: var(--font); font-size: 12px; color: var(--muted); letter-spacing: .02em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.primary-navigation { margin-left: auto; display: flex; align-items: center; gap: 14px; min-width: 0; }
.primary-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; }
.primary-menu a { display: flex; align-items: center; min-height: 40px; padding: 6px 11px; border-radius: var(--pill); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; border: 2px solid transparent; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { background: var(--butter-l); border-color: var(--ink); }
.search-form { display: flex; align-items: stretch; min-width: 0; }
.search-form label { display: flex; flex: 1; min-width: 0; }
.search-field {
	flex: 1;
	min-width: 0;
	width: 170px;
	border: 2px solid var(--ink);
	border-right: 0;
	border-radius: 22px 0 0 22px / 24px 0 0 20px;
	padding: 8px 14px;
	background: var(--bg);
	font-size: 16px;
	min-height: 44px;
	-webkit-appearance: none;
	appearance: none;
}
.search-field:focus { outline: none; background: #fff; box-shadow: inset 0 -3px 0 var(--hl); }
.search-submit { flex: none; width: 48px; min-height: 44px; border: 2px solid var(--ink); background: var(--cta); color: var(--ink); border-radius: 0 22px 22px 0 / 0 20px 24px 0; cursor: pointer; display: grid; place-items: center; }
.menu-toggle { display: none; margin-left: auto; flex: none; width: 46px; height: 46px; border: 2px solid var(--ink); background: var(--butter-l); border-radius: var(--wob-s); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; box-shadow: 2px 3px 0 var(--ink); }
.menu-toggle span { display: block; width: 20px; height: 2.6px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle span:nth-child(2) { width: 15px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

@media (max-width: 1000px) {
	.menu-toggle { display: flex; }
	.primary-navigation {
		display: none;
		position: fixed;
		inset: 66px 0 0 0;
		background: var(--bg);
		background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
		background-size: 24px 24px;
		flex-direction: column;
		align-items: stretch;
		padding: 18px var(--gut-r) max(24px, env(safe-area-inset-bottom, 0px)) var(--gut);
		gap: 16px;
		overflow: auto;
		overscroll-behavior: contain;
		z-index: 49;
		border-top: 2px solid var(--ink);
	}
	.primary-navigation.is-open { display: flex; }
	.primary-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.primary-menu li { min-width: 0; }
	.primary-menu a { min-height: 54px; justify-content: center; text-align: center; font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 18px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--wob-s); box-shadow: 2px 3px 0 var(--ink); }
	.search-form { width: 100%; }
	.search-field { width: auto; }
}
@media (max-width: 380px) {
	.site-logo__text { font-size: 19px; }
	.site-logo__text small { font-size: 11px; }
	.site-logo svg, .site-logo .art { width: 36px; height: 36px; }
}

/* =========================================================
   4. 頁面上方（hero）
   ========================================================= */
.hero { padding-block: 26px 20px; position: relative; }
.hero--small { padding-block: 26px 10px; }
.hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
	background: var(--butter-l);
	border: 2px dashed var(--ink);
	border-radius: var(--wob-s);
	padding: 5px 14px 5px 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	transform: rotate(-1.2deg);
	max-width: 100%;
}
.hero__kicker span { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; line-height: 1; }
.hero h1 { font-size: clamp(29px, 7.6vw, 46px); margin-top: 14px; max-width: 16em; }
.hero--small h1 { font-size: clamp(27px, 6.4vw, 38px); margin-top: 0; }
.hero__lead { font-size: 17px; color: var(--muted); margin-top: 10px; max-width: 34em; }
.hero--small .chips { margin-top: 16px; }

/* 頁面插圖：小頁面標題旁的手繪圖 */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; }
.page-hero__art { width: 104px; transform: rotate(3deg); }
.page-hero__art .art { filter: drop-shadow(2px 3px 0 rgba(30, 61, 53, .12)); }
@media (min-width: 760px) { .page-hero__art { width: 156px; } }
@media (max-width: 400px) { .page-hero__art { width: 84px; } }

/* 首頁 hero：左字右戴安 */
.hero--home .hero__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title art" "lead lead"; gap: 0 14px; align-items: end; margin-top: 14px; }
.hero--home .hero__top h1 { grid-area: title; margin-top: 0; align-self: center; }
.hero--home .hero__top .hero__lead { grid-area: lead; }
.hero--home .hero__diane { grid-area: art; width: 116px; margin-bottom: -4px; }
@media (min-width: 760px) {
	.hero--home .hero__top { grid-template-areas: "title art" "lead art"; column-gap: 28px; }
	.hero--home .hero__top h1 { align-self: end; }
	.hero--home .hero__top .hero__lead { align-self: start; }
	.hero--home .hero__diane { width: 210px; align-self: center; }
}
@media (max-width: 380px) { .hero--home .hero__diane { width: 96px; } }

/* =========================================================
   5. 痛點門（首頁的六扇門）
   ========================================================= */
.doors { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 26px; }
@media (min-width: 560px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .doors, .doors--six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; } }
.door {
	position: relative;
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	column-gap: 14px;
	align-items: center;
	text-decoration: none;
	color: var(--text);
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--wob);
	padding: 16px 16px 15px 12px;
	box-shadow: var(--sh);
	transition: transform .14s ease, box-shadow .14s ease;
}
.door:nth-child(odd) { transform: rotate(-.5deg); }
.door:nth-child(even) { transform: rotate(.45deg); }
.door::before { left: auto; right: 26px; width: 58px; transform: rotate(5deg); }
.door:hover, .door:focus-visible { transform: translate(-1px, -2px) rotate(0); box-shadow: 5px 7px 0 var(--ink); outline: none; }
.door:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.door__art, .door > svg { grid-row: 1 / span 2; width: 74px; height: auto; }
.door b { display: block; font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 21px; line-height: 1.3; color: var(--ink); }
.door i { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.55; }
.door i .hand { display: block; font-size: 15px; color: var(--ink); opacity: .75; }
@media (min-width: 900px) {
	.door { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 18px; align-content: start; }
	.door__art, .door > svg { grid-row: auto; width: 96px; margin-bottom: 4px; }
	.door b { font-size: 23px; }
}

.doors-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; }
.doors-mini span { color: var(--muted); font-weight: 700; font-family: var(--font-display); font-size: 17px; }
.doors-mini a { display: inline-flex; align-items: center; min-height: 42px; padding: 6px 16px; border-radius: var(--pill); border: 2px solid var(--ink); background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; }
.doors-mini a:hover { background: var(--butter-l); }
.doors-mini--block { margin-top: 0; padding: 16px; background: var(--paper); border: 2px dashed var(--ink); border-radius: var(--wob); }

/* 戴安的自我介紹（首頁） */
.diane {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	margin-top: 30px;
	max-width: 760px;
}
.diane__face { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mint-l); overflow: hidden; display: grid; place-items: center; }
.diane__face svg, .diane__face .art { width: 100%; height: 100%; }
.diane p {
	position: relative;
	font-size: 16px;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--wob);
	padding: 14px 16px;
}
.diane p::before { content: ""; position: absolute; left: -10px; top: 20px; width: 16px; height: 16px; background: var(--paper); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.diane b { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 17px; }

/* =========================================================
   6. 區段與文章卡
   ========================================================= */
.section { padding-block: 30px; }
.section__head { margin-bottom: 18px; }
.section__head h2 {
	font-size: clamp(23px, 5.4vw, 30px);
	padding-bottom: 12px;
	background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 12"%3E%3Cpath d="M2 7c8-6 14 5 22 0s14-6 22 0 14 5 22 0 14-6 22 0 14 5 26-1" fill="none" stroke="%23F2B705" stroke-width="3.2" stroke-linecap="round"/%3E%3C/svg%3E') left bottom / 84px 10px no-repeat;
}
.section__head p { color: var(--muted); margin-top: 8px; max-width: 40em; font-size: 16px; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.section__head--row > div { min-width: 0; flex: 1 1 260px; }
.section--calc { background: transparent; }
.section--how { padding-bottom: 48px; }
.how { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how > div { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--wob); padding: 18px 18px 16px 18px; }
.how > div:nth-child(1) { background: var(--mint-l); }
.how > div:nth-child(2) { background: var(--butter-l); }
.how > div:nth-child(3) { background: var(--sky-l); }
.how b { display: block; font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 19px; color: var(--ink); padding-left: 30px; background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M4.6 12.9c1.9 1.6 3.4 3.5 4.6 5.6C11.6 12.7 15 8 19.6 4.4" fill="none" stroke="%232F8F62" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') left 3px / 22px 22px no-repeat; }
.how p { font-size: 15px; color: var(--text); margin-top: 8px; }

.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 560px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.post-card {
	position: relative;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--wob);
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.post-card::after { content: ""; position: absolute; top: -10px; left: 50%; width: 64px; height: 20px; margin-left: -32px; background: var(--door, var(--mint)); opacity: .9; transform: rotate(-3deg); border-left: 2px dotted rgba(255, 255, 255, .7); border-right: 2px dotted rgba(255, 255, 255, .7); pointer-events: none; }
.post-card:nth-child(3n+2)::after { transform: rotate(2.5deg); }
.post-card__image {
	display: block;
	margin: 10px 10px 0;
	aspect-ratio: 1200 / 630;
	overflow: hidden;
	background: var(--door-l, var(--mint-l));
	border: 2px solid var(--ink);
	border-radius: 12px 16px 10px 14px / 14px 10px 16px 12px;
}
.post-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__image--art { display: grid; place-items: center; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 18px 18px; background-color: var(--door-l, var(--mint-l)); }
.post-card__image--art .art { width: 46%; height: auto; }
.post-card__body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.post-card__title { font-size: 19px; line-height: 1.45; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card__title a:hover { text-decoration: underline; text-decoration-color: var(--hl); text-decoration-thickness: 6px; text-underline-offset: -2px; text-decoration-skip-ink: none; }
.post-card .chips { position: relative; z-index: 1; }
.post-card__excerpt { font-size: 15px; color: var(--muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { font-size: 13.5px; color: var(--muted); margin-top: auto; padding-top: 8px; border-top: 2px dotted var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }

.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; justify-content: center; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 6px 14px; border-radius: var(--wob-s); background: var(--paper); border: 2px solid var(--ink); text-decoration: none; color: var(--ink); font-weight: 700; }
.pagination a:hover { background: var(--butter-l); }
.pagination .current { background: var(--ink); color: #fff; }
.pagination .dots { border-style: dashed; }
.empty { text-align: center; padding: 30px 0; color: var(--muted); }
.empty__art { width: 120px; margin: 0 auto 12px; }
.empty .search-form { justify-content: center; margin: 14px auto 0; max-width: 440px; }

/* =========================================================
   7. 試算器
   ========================================================= */
.calc {
	position: relative;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--wob);
	padding: 20px 16px 18px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	background-image: linear-gradient(transparent 31px, var(--line-soft) 32px);
	background-size: 100% 32px;
	background-position: 0 6px;
}
@media (min-width: 760px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 24px; gap: 26px; } }
.calc__form { display: grid; gap: 16px; min-width: 0; }
.calc__field { min-width: 0; }
.calc__field label { display: block; font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.calc__field small { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.55; }
.calc__input { display: flex; align-items: center; min-width: 0; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--wob-s); overflow: hidden; }
.calc__input:focus-within { box-shadow: 0 0 0 3px var(--hl); }
.calc__input span { flex: none; padding: 0 10px 0 12px; color: var(--muted); font-weight: 700; }
.calc__input input, .calc__input select { flex: 1 1 auto; width: 100%; min-width: 0; border: 0; padding: 11px 12px; font-size: 18px; background: transparent; -webkit-appearance: none; appearance: none; border-radius: 0; }
.calc__input input[type="number"] { -moz-appearance: textfield; }
.calc__input input::-webkit-outer-spin-button, .calc__input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__input select { background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 10"%3E%3Cpath d="M2 2.5c2 2 4 3.6 6 5.2 2.2-1.8 4-3.4 6-5.4" fill="none" stroke="%231E3D35" stroke-width="2.2" stroke-linecap="round"/%3E%3C/svg%3E') right 14px center / 16px 10px no-repeat; padding-right: 40px; cursor: pointer; }
.calc__input input:focus, .calc__input select:focus { outline: none; }
.calc__range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.calc__range em { font-style: normal; color: var(--muted); font-weight: 700; }
.calc__error { color: var(--warn); font-weight: 700; }
.calc .btn { width: 100%; }
@media (min-width: 760px) { .calc .btn { width: auto; justify-self: start; } }
@media (min-width: 760px) {
	.calc:has(> .calc__result[hidden])::after { content: ""; align-self: center; justify-self: center; width: min(220px, 70%); aspect-ratio: 1; background: var(--lm-calc) center / contain no-repeat; transform: rotate(4deg); }
}
.calc__result {
	position: relative;
	align-self: start;
	background: var(--butter-l);
	border: 2px solid var(--ink);
	border-radius: var(--wob);
	padding: 18px 18px 16px;
	min-width: 0;
}
.calc__label { font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 16px; color: var(--muted); }
.calc__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-family: var(--font-display); font-size: clamp(24px, 6.6vw, 32px); color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; line-height: 1.3; }
.calc__amount em { font-style: normal; font-family: var(--font); font-size: 15px; color: var(--muted); }
.calc__note { margin-top: 10px; font-size: 15px; }
.calc__disc { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* 舊版月付試算（/tools/ 內文的 brand-calculator） */
.brand-calculator {
	margin: 22px 0;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--wob);
	padding: 18px 16px;
}
.brand-calculator .calc-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 560px) { .brand-calculator .calc-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.brand-calculator label { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t t" "i u"; align-items: center; gap: 6px 8px; font-family: var(--font-display); font-size: 17px; color: var(--ink); min-width: 0; }
.brand-calculator label > input { grid-area: i; width: 100%; min-width: 0; border: 2px solid var(--ink); border-radius: var(--wob-s); padding: 10px 12px; font-family: var(--font); font-size: 18px; background: #fff; -moz-appearance: textfield; }
.brand-calculator label > input:focus { outline: none; box-shadow: 0 0 0 3px var(--hl); }
.brand-calculator input::-webkit-outer-spin-button, .brand-calculator input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.brand-calculator label > small { grid-area: u; font-family: var(--font); font-size: 14px; color: var(--muted); }
.brand-calculator .calc-result { margin-top: 16px; background: var(--butter-l); border: 2px dashed var(--ink); border-radius: var(--wob-s); padding: 14px 16px; }
.brand-calculator .calc-result > span { display: block; font-family: var(--font-display); font-weight: 700; font-synthesis: none; color: var(--muted); }
.brand-calculator .calc-result b { display: block; font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: clamp(26px, 7vw, 34px); color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.3; }
.brand-calculator .calc-result div { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font-size: 15px; }
.brand-calculator > p { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* =========================================================
   8. 申辦按鈕框（門頁、文末、文內）
   ========================================================= */
.cta-box {
	--tape: var(--cta);
	position: relative;
	margin-top: 24px;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--wob);
	padding: 22px 18px 18px;
	max-width: 760px;
	box-shadow: 4px 5px 0 var(--door, var(--mint));
}
.cta-box__head { font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 21px; line-height: 1.45; color: var(--ink); }
.cta-box__text { font-size: 15px; color: var(--muted); margin-top: 8px; }
.cta-box__btn { margin-top: 16px; font-size: 18px; padding: 14px 26px; }
.cta-box__note { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.single-page .cta-box { margin-top: 36px; }

/* 三家並排（程式碼片段 #13 產生，內嵌樣式一律蓋掉） */
.cta-multi__grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; margin: 16px 0 6px !important; }
@media (min-width: 640px) { .cta-multi__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
.cta-multi__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 2px solid var(--ink) !important;
	border-radius: var(--wob-s) !important;
	padding: 14px 14px 14px !important;
	background: var(--butter-l) !important;
}
.cta-multi__card:nth-child(2) { background: var(--mint-l) !important; }
.cta-multi__card:nth-child(3) { background: var(--sky-l) !important; }
.cta-multi__card > p:first-child { font-family: var(--font-display); font-weight: 700 !important; font-synthesis: none; font-size: 19px !important; color: var(--ink); margin: 0 0 4px !important; }
.cta-multi__card > p:nth-child(2) { font-size: 14px !important; color: var(--text); margin: 0 0 12px !important; flex: 1; }
.cta-multi__card .btn { display: flex !important; width: 100%; min-height: 48px; }

/* =========================================================
   9. 門頁
   ========================================================= */
.hero--door { padding-top: 22px; }
.hero--door .door-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; }
.hero--door .door-hero > svg, .hero--door .door-hero__art { width: 108px; height: auto; transform: rotate(4deg); grid-column: 2; grid-row: 1; }
.hero--door .door-hero > div { grid-column: 1; grid-row: 1; min-width: 0; }
@media (min-width: 760px) { .hero--door .door-hero > svg, .hero--door .door-hero__art { width: 168px; } }
@media (max-width: 400px) { .hero--door .door-hero > svg, .hero--door .door-hero__art { width: 86px; } }
.hero--door h1 { margin-top: 0; font-size: clamp(28px, 7.2vw, 44px); }
.hero--door .hero__lead { margin-top: 10px; }
.door-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: 16px; color: var(--ink); background: var(--door-l); border: 2px solid var(--ink); border-radius: var(--pill); padding: 2px 12px; margin-bottom: 10px; }

.door-answer {
	--tape: var(--door);
	position: relative;
	margin-top: 24px;
	background: var(--butter-l);
	border: 2px solid var(--ink);
	border-radius: 4px 18px 6px 16px / 16px 6px 18px 4px;
	padding: 22px 18px 16px;
	max-width: 760px;
	transform: rotate(-.4deg);
}
.door-answer__label { font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 17px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.door-answer__label .art { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mint-l); }
.door-answer p + p { margin-top: 6px; font-size: 18px; font-weight: 500; color: var(--text); }

.gets { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 760px; }
@media (min-width: 900px) { .gets { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
.gets li {
	position: relative;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--wob-s);
	padding: 12px 14px 12px 50px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.6;
	min-width: 0;
}
.gets li::before { content: ""; position: absolute; left: 12px; top: 11px; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 8px 10px 7px 9px; background: var(--mint-l) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M4.6 12.9c1.9 1.6 3.4 3.5 4.6 5.6C11.6 12.7 15 8 19.6 4.4" fill="none" stroke="%232F8F62" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') center / 22px 22px no-repeat; }

.picks { list-style: none; margin: 0; padding: 0; counter-reset: pick; display: grid; gap: 14px; }
.picks li { counter-increment: pick; min-width: 0; }
.picks a {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	column-gap: 14px;
	row-gap: 4px;
	align-items: start;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--wob);
	padding: 14px 16px 14px 12px;
	text-decoration: none;
	color: var(--text);
	transition: transform .12s ease, box-shadow .12s ease;
}
.picks a:hover { transform: translate(-1px, -2px); box-shadow: var(--sh); }
.picks a::before {
	content: counter(pick);
	grid-column: 1;
	grid-row: 1 / span 2;
	width: 46px;
	height: 46px;
	border: 2px solid var(--ink);
	border-radius: 48% 52% 45% 55% / 55% 45% 52% 48%;
	background: var(--door-l, var(--butter-l));
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 22px;
	display: grid;
	place-items: center;
}
.picks b { grid-column: 2; display: block; font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.4; color: var(--ink); }
.picks span { grid-column: 2; display: block; font-size: 14px; color: var(--muted); line-height: 1.6; }

.stop-box {
	position: relative;
	background: var(--warn-soft);
	border: 2px solid var(--warn);
	border-radius: var(--wob);
	padding: 16px 18px 16px 62px;
	max-width: 760px;
}
.stop-box::before { content: "!"; position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border: 2px solid var(--warn); border-radius: 50%; background: #fff; color: var(--warn); font-family: var(--font-display); font-size: 21px; line-height: 1; display: grid; place-items: center; transform: rotate(-6deg); }
.stop-box__label { font-family: var(--font-display); font-weight: 700; font-synthesis: none; color: var(--warn); font-size: 19px; }
.stop-box p + p { margin-top: 4px; }

/* =========================================================
   10. 文章頁
   ========================================================= */
.article__head { padding-block: 24px 6px; position: relative; }
.article__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: start; }
.article__art { width: 70px; transform: rotate(5deg); margin-top: -2px; }
@media (min-width: 760px) { .article__art { width: 96px; } }
.article__head h1 { font-size: clamp(27px, 6.6vw, 40px); margin-top: 12px; }
.article__meta { font-size: 14px; color: var(--muted); margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta span:first-child { font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 16px; color: var(--ink); }
.article__meta .art { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mint-l); }
.article__toc { margin-top: 16px; }
.single-page .shell--narrow { padding-bottom: 8px; }

.entry-content { font-size: 17px; line-height: 1.85; min-width: 0; }
.entry-content > * { margin-top: 0; margin-bottom: 0; }
.entry-content > * + * { margin-top: 18px; }
.entry-content p { margin-top: 14px; }
.entry-content > p:first-child { margin-top: 20px; }
.entry-content :is(p, li, dd, dt, figcaption, blockquote, td, th, h2, h3, h4) { overflow-wrap: anywhere; }
.entry-content a { color: var(--ink); text-decoration: underline; text-decoration-color: #8DB8A6; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: var(--ink); background: var(--butter-l); }
.entry-content h2 {
	font-size: clamp(23px, 5.6vw, 28px);
	margin-top: 46px;
	padding: 4px 0 14px;
	line-height: 1.4;
	background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 12"%3E%3Cpath d="M2 7c8-6 14 5 22 0s14-6 22 0 14 5 22 0 14-6 22 0 14 5 26-1" fill="none" stroke="%23F2B705" stroke-width="3.2" stroke-linecap="round"/%3E%3C/svg%3E') left bottom / 92px 11px no-repeat;
	border: 0;
}
.entry-content h2.is-q { position: relative; padding-left: 50px; }
.entry-content h2.is-q::before {
	content: "Q";
	position: absolute;
	left: 0;
	top: 2px;
	width: 40px;
	height: 36px;
	display: grid;
	place-items: center;
	padding-bottom: 6px;
	background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 36"%3E%3Cpath d="M6 4.6C14 3 26 3 34.4 4.8c2.4.6 3.4 2.4 3.4 5.2l-.2 11c-.1 2.8-1.6 4.4-4.4 4.8-5 .6-10 .8-15 .8l-7.6 6.6.6-6.8c-2-.2-4.2-.4-6.2-.8-2.6-.6-3.6-2.2-3.8-4.8L1.4 10c.1-2.8 1.8-4.8 4.6-5.4z" fill="%23FFE79A" stroke="%231E3D35" stroke-width="2.4" stroke-linejoin="round"/%3E%3C/svg%3E') center / contain no-repeat;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 19px;
	line-height: 1;
	margin: 0;
}
.entry-content h3 { font-size: 21px; margin-top: 30px; }
.entry-content h4 { font-size: 18px; margin-top: 22px; }
.entry-content ul, .entry-content ol { padding-left: 1.45em; }
.entry-content li { margin-top: 8px; }
.entry-content li::marker { color: var(--ink); font-weight: 700; }
.entry-content > ul { list-style: none; padding-left: 0; }
.entry-content > ul > li { position: relative; padding-left: 26px; }
.entry-content > ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 11px; height: 11px; border: 2px solid var(--ink); border-radius: 48% 52% 45% 55% / 55% 45% 52% 48%; background: var(--hl); }
.entry-content strong { font-weight: 700; color: var(--ink); }
.entry-content img { border-radius: 12px; display: block; }
.entry-content figure { margin: 22px 0; max-width: 100%; }
.entry-content figure.wp-block-image img, .entry-content > figure img { border: 2px solid var(--ink); background: #fff; }
.entry-content figure > svg, .entry-content p > svg { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.entry-content figure:has(> svg) {
	position: relative;
	background: var(--paper);
	border: 2px dashed var(--ink);
	border-radius: var(--wob);
	padding: 18px 12px 12px;
}
.entry-content figure:has(> svg) svg [stroke]:not(text) { filter: url(#lm-rough); }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.65; text-align: left; }
.entry-content blockquote, .entry-content .tl-quote {
	margin: 22px 0;
	padding: 14px 18px 14px 20px;
	border: 2px solid var(--ink);
	border-radius: var(--wob-s);
	background: var(--sky-l);
	color: var(--text);
	font-size: 15.5px;
	position: relative;
}
.entry-content blockquote p { margin: 0; }
.entry-content blockquote p + p { margin-top: 8px; }
.entry-content hr { border: 0; height: 12px; margin: 32px 0; background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 12"%3E%3Cpath d="M2 7c8-6 14 5 22 0s14-6 22 0 14 5 22 0 14-6 22 0 14 5 26-1" fill="none" stroke="%239FC9B6" stroke-width="3.2" stroke-linecap="round"/%3E%3C/svg%3E') center / 120px 12px no-repeat; }
.entry-content code { background: var(--mint-l); padding: 1px 6px; border-radius: 6px; font-size: .88em; word-break: break-all; overflow-wrap: anywhere; }
.entry-content pre { overflow-x: auto; max-width: 100%; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--wob-s); padding: 12px 14px; font-size: 14px; }
.entry-content pre code { background: none; padding: 0; word-break: normal; overflow-wrap: normal; }
.entry-content .has-small-font-size, .entry-content p.has-small-font-size { font-size: 13.5px !important; color: var(--muted); }
.entry-content .fdisc { font-size: 12.5px; color: var(--muted); border-top: 2px dashed var(--line); padding-top: 12px; margin-top: 30px; }
.entry-content iframe { max-width: 100%; }

/* 先講答案（產線 .grp-first-answer） */
.entry-content .grp-first-answer { font-size: 18px; line-height: 1.8; }
.entry-content .grp-first-answer > strong:first-child { display: inline-block; font-family: var(--font-display); font-weight: 700; font-synthesis: none; background: var(--hl); border-radius: 4px 8px 4px 6px; padding: 0 6px; margin-right: 4px; transform: rotate(-1deg); }

/* 一句話答案 */
.entry-content .gp-verdict {
	--tape: var(--door);
	position: relative;
	margin: 28px 0 22px !important;
	padding: 24px 18px 16px !important;
	background: var(--butter-l) !important;
	border: 2px solid var(--ink) !important;
	border-radius: 4px 18px 6px 16px / 16px 6px 18px 4px !important;
	font-size: 18px;
	font-weight: 500;
	transform: rotate(-.3deg);
}
.entry-content .gp-verdict::before { content: "一句話答案"; display: block; font-family: var(--font-display); font-size: 16px; color: var(--muted); font-weight: 700; font-synthesis: none; margin-bottom: 4px; }
.entry-content .gp-verdict p { margin: 0; }
.entry-content .gp-verdict p + p { margin-top: 8px; }
.entry-content .gp-verdict strong { font-weight: 700; }

/* 戴安的規則框、戴安的判斷 */
.entry-content .gp-diane, .entry-content .gp-diane-close {
	position: relative;
	margin: 26px 0 !important;
	padding: 18px 18px 16px 18px !important;
	background: var(--mint-l) !important;
	border: 2px solid var(--ink) !important;
	border-left-width: 2px !important;
	border-radius: var(--wob) !important;
	line-height: 1.75 !important;
}
.entry-content .gp-diane > p:first-child { font-family: var(--font-head); font-size: 19px; color: var(--ink); padding-left: 46px; min-height: 38px; display: flex; align-items: center; background: var(--lm-face) left center / 38px 38px no-repeat; margin-bottom: 8px !important; }
.entry-content .gp-diane > p:last-child { font-size: 14px !important; }

/* 適合／不適合 */
.entry-content .gp-compare { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 24px 0; }
@media (min-width: 640px) { .entry-content .gp-compare:has(> div + div) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.entry-content .gp-compare > div { border: 2px solid var(--ink); border-radius: var(--wob-s); background: var(--paper); overflow: hidden; min-width: 0; }
.entry-content .gp-compare > div > h3, .entry-content .gp-compare > div > h4 { margin: 0; padding: 10px 14px; color: var(--ink); background: var(--mint); font-size: 18px; border: 0; border-bottom: 2px solid var(--ink); }
.entry-content .gp-compare > div.is-bad > h3, .entry-content .gp-compare > div.is-bad > h4 { background: var(--pink); }
.entry-content .gp-compare ul { margin: 0; padding: 10px 14px 12px 14px; list-style: none; }
.entry-content .gp-compare li { margin: 8px 0; font-size: 15.5px; padding-left: 28px; background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M4.6 12.9c1.9 1.6 3.4 3.5 4.6 5.6C11.6 12.7 15 8 19.6 4.4" fill="none" stroke="%232F8F62" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') left 4px / 20px 20px no-repeat; }
.entry-content .gp-compare .is-bad li { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath d="M6 5.6c4.2 4.6 7.8 8.6 12.3 13M18.2 5.4C14 9.6 10 14 5.8 18.6" fill="none" stroke="%23D9442E" stroke-width="3" stroke-linecap="round"/%3E%3C/svg%3E'); }
.entry-content .gp-compare li::marker { content: none; }

/* 三步驟（flow3） */
.entry-content ol.flow3 { list-style: none; counter-reset: flow; padding: 0; display: grid; gap: 12px; margin: 22px 0; }
.entry-content ol.flow3 > li { counter-increment: flow; position: relative; margin: 0; padding: 14px 16px 14px 62px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--wob-s); }
.entry-content ol.flow3 > li::before { content: counter(flow); position: absolute; left: 12px; top: 12px; width: 38px; height: 38px; border: 2px solid var(--ink); border-radius: 48% 52% 45% 55% / 55% 45% 52% 48%; background: var(--butter); color: var(--ink); font-family: var(--font-display); font-size: 20px; display: grid; place-items: center; }
.entry-content ol.flow3 > li:not(:last-child)::after { content: ""; position: absolute; left: 30px; bottom: -14px; width: 2px; height: 14px; background: repeating-linear-gradient(var(--ink) 0 3px, transparent 3px 6px); }
.entry-content ol.flow3 > li > b:first-child { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); }

/* 聯盟按鈕框（產線 .affbtn-box，內嵌樣式一律蓋掉） */
.entry-content .affbtn-box {
	position: relative;
	margin: 26px 0 !important;
	padding: 18px 16px 14px !important;
	background: var(--paper) !important;
	border: 2px solid var(--ink) !important;
	border-radius: var(--wob) !important;
	box-shadow: 4px 5px 0 var(--door, var(--mint));
}
.entry-content .affbtn-box > p:first-child { font-family: var(--font-head); font-size: 19px !important; font-weight: 700 !important; color: var(--ink); line-height: 1.5; margin: 0 0 8px !important; }
.entry-content .affbtn-box p { font-size: 15px; }
.entry-content .affbtn-box p:last-child { font-size: 12.5px !important; color: var(--muted) !important; margin-top: 10px !important; line-height: 1.6; }
.entry-content a.affbtn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	max-width: 100%;
	margin: 8px 10px 6px 0 !important;
	padding: 12px 22px !important;
	border-radius: var(--pill) !important;
	background: var(--cta) !important;
	color: var(--ink) !important;
	border: 2px solid var(--ink) !important;
	box-shadow: var(--sh) !important;
	text-decoration: none !important;
	font-family: var(--font-head);
	font-weight: 700 !important;
	font-size: 17px !important;
	line-height: 1.35 !important;
	text-align: center;
}
.entry-content a.affbtn:hover { background: var(--cta-hover) !important; }
.entry-content a.affbtn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink) !important; }
.entry-content .cpa-link-disabled { display: none; }

/* 各種小框：更正、查證、作者 */
.entry-content .tl-note, .entry-content .tl-correct {
	margin: 24px 0 !important;
	padding: 14px 16px !important;
	border: 2px dashed var(--ink) !important;
	border-radius: var(--wob-s) !important;
	background: var(--paper) !important;
	font-size: 15px;
}
.entry-content .tl-correct { border-color: var(--warn) !important; background: var(--warn-soft) !important; }
.entry-content .grp-author {
	position: relative;
	margin: 36px 0 12px !important;
	padding: 16px 16px 14px 76px !important;
	border: 2px solid var(--ink) !important;
	border-radius: var(--wob) !important;
	background: var(--paper) var(--lm-face) 14px 16px / 48px 48px no-repeat !important;
	font-size: 15px !important;
	min-height: 84px;
}
.entry-content .grp-author > div:first-child { font-family: var(--font-head); font-weight: 700 !important; font-size: 17px; }
.entry-content .brand-article-section { margin-top: 18px; }

/* =========================================================
   11. 表格：桌機是表格；手機 4 欄以上變成一列一張小卡
   ========================================================= */
.entry-content .tl-tw, .entry-content .table-scroll, .entry-content .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
	margin: 18px 0;
}
.entry-content table {
	width: 100%;
	border-collapse: separate !important;
	border-spacing: 0;
	margin: 0 !important;
	font-size: 15px !important;
	font-variant-numeric: tabular-nums;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: 14px;
	overflow: hidden;
}
.entry-content table th {
	background: var(--mint) !important;
	color: var(--ink) !important;
	text-align: left !important;
	padding: 10px 12px !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	border: 0 !important;
	border-bottom: 2px solid var(--ink) !important;
	min-width: 0 !important;
	vertical-align: bottom;
}
.entry-content table td { padding: 10px 12px !important; border: 0 !important; border-top: 1px dashed #B9D2C6 !important; vertical-align: top; line-height: 1.6 !important; min-width: 0 !important; }
.entry-content table tbody tr:first-child td { border-top: 0 !important; }
.entry-content table tbody tr:nth-child(even) td { background: #F7FBF9; }
.entry-content table td:first-child { font-weight: 700; color: var(--ink); }
.entry-content table tbody tr:has(> td:first-child > strong) td { background: var(--butter-l); }
.entry-content table + p.has-small-font-size, .entry-content .tl-sig > p:last-child:not(:first-child) { font-size: 13.5px !important; color: var(--muted) !important; line-height: 1.6; }
.entry-content .wp-block-table figcaption { margin-top: 8px; }

/* 招牌表 */
.entry-content .tl-sig {
	position: relative;
	margin: 30px 0 !important;
	background: var(--paper);
	border: 2px solid var(--ink);
	border-radius: var(--wob);
	padding: 20px 14px 12px;
}
.entry-content .tl-sig::before { content: ""; position: absolute; top: -12px; right: 24px; width: 70px; height: 22px; background: var(--door, var(--butter)); opacity: .92; transform: rotate(4deg); border-left: 2px dotted rgba(255,255,255,.7); border-right: 2px dotted rgba(255,255,255,.7); }
.entry-content .tl-sig > p:first-child { font-family: var(--font-head); font-size: 18px !important; font-weight: 700 !important; color: var(--ink); margin: 0 0 6px !important; }
.entry-content .tl-sig .tl-tw { margin: 8px 0 4px; }
.entry-content .tl-sig table { border-width: 2px; }

/* 手機：表格變小卡（有 data-label 的直接用 CSS；其他由 theme.js 補上 data-label 與 .is-cardify） */
@media (max-width: 640px) {
	.entry-content table:is(.is-cardify, :has(td[data-label])) { border: 0; background: transparent; border-radius: 0; overflow: visible; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) :is(thead, tbody, tr, td, tfoot) { display: block; width: 100% !important; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) thead { position: absolute; width: 1px !important; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) tr { border: 2px solid var(--ink); border-radius: var(--wob-s); margin: 12px 0; overflow: hidden; background: var(--paper); }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td {
		display: block !important;
		padding: 9px 12px !important;
		border-top: 1px dashed #B9D2C6 !important;
		background: var(--paper) !important;
		overflow-wrap: anywhere;
	}
	/* 欄名：沒有 .td-v 時疊在內容上面；theme.js 包好 .td-v 後改成左右兩欄 */
	.entry-content table:is(.is-cardify, :has(td[data-label])) td::before { content: attr(data-label); display: block; color: var(--muted); font-weight: 700; font-size: 13.5px; line-height: 1.55; padding-top: 1px; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td:has(> .td-v) { display: grid !important; grid-template-columns: minmax(84px, 38%) minmax(0, 1fr); gap: 10px; align-items: start; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td > .td-v { min-width: 0; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td:first-child { display: block !important; border-top: 0 !important; background: var(--door, var(--mint)) !important; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 17px; border-bottom: 2px solid var(--ink) !important; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td:first-child::before { display: none; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td:first-child + td { border-top: 0 !important; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td:empty { display: none !important; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td[data-label=""]:has(> .td-v) { grid-template-columns: minmax(0, 1fr); }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td[data-label=""]::before { display: none; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td:is([data-label*="判斷"], [data-label*="戴安說"]) { background: var(--butter-l) !important; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) td:is([data-label*="判斷"], [data-label*="戴安說"]):has(> .td-v) { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.entry-content table:is(.is-cardify, :has(td[data-label])) tbody tr:has(> td:first-child > strong) td:not(:first-child) { background: var(--butter-l) !important; }
	.entry-content :is(.tl-tw, .table-scroll, .wp-block-table):has(> table:is(.is-cardify, :has(td[data-label]))) { overflow: visible; }
	.entry-content .tl-sig { padding: 18px 10px 8px; }
}

/* =========================================================
   12. 證據折疊、目錄、債務協助
   ========================================================= */
.entry-content details.proof { margin: 24px 0; border: 2px dashed var(--ink); border-radius: var(--wob-s); background: var(--paper); }
.entry-content details.proof > summary { cursor: pointer; padding: 12px 16px; min-height: 48px; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 15px; list-style: none; }
.entry-content details.proof > summary::-webkit-details-marker { display: none; }
.entry-content details.proof > summary::before { content: ""; flex: none; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 6px 8px 5px 7px; background: var(--butter) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 14"%3E%3Cpath d="M2 8.2c7-1.6 14-1.9 22.6-1M18.6 2.2c2.4 1.6 4.4 3 6.4 4.8-2.3 1.4-4.4 2.9-6.6 5" fill="none" stroke="%231E3D35" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E') center / 14px 8px no-repeat; transition: transform .15s ease; }
.entry-content details.proof[open] > summary::before { transform: rotate(90deg); }
.entry-content details.proof > .proof__title { font-size: 17px; margin: 0; padding: 0 16px; border: 0; color: var(--muted); background: none; }
.entry-content details.proof > div { padding: 4px 16px 14px; font-size: 14.5px; color: var(--muted); }
.entry-content details.proof > div > * + * { margin-top: 10px; }

.entry-content #ez-toc-container, .article__toc #ez-toc-container, .ez-toc-widget-container {
	position: relative;
	background: var(--paper) !important;
	border: 2px solid var(--ink) !important;
	border-radius: var(--wob) !important;
	padding: 14px 16px 12px !important;
	box-shadow: none !important;
	width: 100% !important;
	font-size: 15px;
	margin: 22px 0 !important;
}
#ez-toc-container .ez-toc-title-container { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#ez-toc-container .ez-toc-title, .ez-toc-widget-container .ez-toc-title { font-family: var(--font-display) !important; font-weight: 700 !important; font-synthesis: none; font-size: 18px !important; color: var(--ink) !important; }
/* Easy TOC 外掛的開關按鈕：外掛把圖示框往右推 10px，會凸出按鈕外 → 拉回來 */
#ez-toc-container .ez-toc-title-toggle a, #ez-toc-container a.ez-toc-toggle { display: inline-flex !important; align-items: center; justify-content: center; min-width: 46px; min-height: 42px; padding: 4px 8px !important; border: 2px solid var(--ink) !important; border-radius: var(--wob-s) !important; background: var(--butter-l) !important; box-shadow: none !important; text-shadow: none !important; }
#ez-toc-container .ez-toc-js-icon-con { float: none !important; position: static !important; left: auto !important; display: inline-flex !important; width: auto !important; padding: 0 !important; border: 0 !important; }
#ez-toc-container .ez-toc-icon-toggle-span { width: auto !important; height: auto !important; gap: 2px; }
#ez-toc-container .ez-toc-icon-toggle-span svg { fill: var(--ink) !important; color: var(--ink) !important; }
#ez-toc-container nav ul { padding-left: 0 !important; margin: 8px 0 0 !important; }
#ez-toc-container nav li { margin: 0 !important; padding: 0 !important; line-height: 1.5 !important; list-style: none !important; }
#ez-toc-container nav li::marker, #ez-toc-container nav li::before { content: none !important; }
#ez-toc-container a, .ez-toc-widget-container a { display: block; color: var(--ink) !important; text-decoration: none !important; padding: 7px 4px; border-bottom: 1px dashed #C9DDD3; }
#ez-toc-container a:hover { background: var(--butter-l) !important; }
#ez-toc-container ul ul, .ez-toc-widget-container ul ul { display: none !important; }

.debt-help {
	position: relative;
	margin: 34px 0 8px;
	background: var(--sky-l);
	border: 2px solid var(--ink);
	border-radius: var(--wob-s);
	padding: 14px 16px 14px 60px;
	font-size: 15px;
}
.debt-help::before { content: "☎"; position: absolute; left: 14px; top: 13px; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 17px; line-height: 1; }
.debt-help b { color: var(--ink); }

.section--related { background: var(--paper); border-top: 2px solid var(--ink); margin-top: 32px; padding-block: 34px 44px; }

/* =========================================================
   13. 一般頁面（關於、方法、政策、主題…）
   ========================================================= */
.page-single .article__head { padding-block: 26px 4px; }
.page-single .article__head h1 { margin-top: 0; }
.page-single .entry-content { padding-bottom: 28px; }
.entry-content .brand-page-lead {
	position: relative;
	margin-top: 8px;
	font-size: 17.5px;
	line-height: 1.8;
	background: var(--butter-l);
	border: 2px solid var(--ink);
	border-radius: 4px 18px 6px 16px / 16px 6px 18px 4px;
	padding: 18px 18px 16px;
	transform: rotate(-.3deg);
}
.entry-content .brand-topic-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
@media (min-width: 560px) { .entry-content .brand-topic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.entry-content .brand-topic-list > div { display: flex; align-items: center; gap: 12px; min-width: 0; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--wob-s); padding: 12px 14px; }
.entry-content .brand-topic-list > div > span { flex: none; width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 48% 52% 45% 55% / 55% 45% 52% 48%; background: var(--mint); display: grid; place-items: center; font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.entry-content .brand-topic-list > div:nth-child(4n+2) > span { background: var(--butter); }
.entry-content .brand-topic-list > div:nth-child(4n+3) > span { background: var(--sky); }
.entry-content .brand-topic-list > div:nth-child(4n+4) > span { background: var(--pink); }
.entry-content .brand-topic-list > div > strong { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.4; }
.page-hub { margin-top: 10px; }

/* 規則總表 */
.entry-content table.gp-rules td:first-child strong { font-family: var(--font-head); font-weight: 700; }

/* =========================================================
   14. 頁尾
   ========================================================= */
.site-footer { position: relative; background: var(--ink); color: #fff; margin-top: 36px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px; background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 14" preserveAspectRatio="none"%3E%3Cpath d="M0 14V7c13-6 27-6 40 0s27 6 40 0 27-6 40 0 27 6 40 0v7z" fill="%231E3D35"/%3E%3C/svg%3E') left bottom / 160px 14px repeat-x; }
.site-footer__inner { max-width: var(--shell); margin: 0 auto; padding: 34px var(--gut-r) 18px var(--gut); display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: 1fr 1fr 1fr; gap: 28px; } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .site-footer__inner { grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 32px; } .site-footer__brand { grid-column: auto; } }
.site-footer__brand { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; align-items: center; align-content: start; }
.site-footer__brand svg, .site-footer__brand .art { width: 48px; height: 48px; grid-row: 1; }
.site-footer__brand strong { font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 22px; }
.site-footer__brand p { grid-column: 1 / -1; font-size: 14px; opacity: .88; margin-top: 8px; max-width: 32em; line-height: 1.7; }
.site-footer h2, .site-footer .footer-title { font-family: var(--font-display) !important; font-size: 18px !important; font-weight: 700 !important; font-synthesis: none; color: var(--butter) !important; opacity: 1; margin: 0 0 8px !important; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (min-width: 760px) { .footer-menu { grid-template-columns: minmax(0, 1fr); } }
.footer-menu a { display: flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.footer-menu a:hover { color: var(--butter); }
.site-footer__bottom { border-top: 1px dashed rgba(255, 255, 255, .25); }
.site-footer__bottom p { max-width: var(--shell); margin: 0 auto; padding: 14px var(--gut-r) 6px var(--gut); font-size: 12.5px; opacity: .78; line-height: 1.7; }
.fdisc { font-size: 12.5px; }
/* 程式碼片段 #5 放在頁尾後面的兩行揭露：併進頁尾，不要再是兩個灰框 */
.fdisc-block { background: var(--ink); color: rgba(255, 255, 255, .78); max-width: none !important; margin: 0 !important; padding: 0 var(--gut-r) max(26px, env(safe-area-inset-bottom, 0px)) var(--gut) !important; }
.fdisc-block .fdisc { max-width: var(--shell); margin: 0 auto !important; padding: 0 !important; background: none !important; color: inherit; opacity: 1 !important; font-size: 12.5px !important; line-height: 1.7 !important; }
.fdisc-block .fdisc + .fdisc { margin-top: 4px !important; }
body > .fdisc, .site-footer ~ .fdisc { background: var(--ink); color: rgba(255, 255, 255, .78); margin: 0; padding: 0 var(--gut-r) 18px var(--gut); }
.site-footer ~ div .fdisc { background: none; }

.back-to-top { position: fixed; right: var(--gut-r); bottom: max(18px, env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--cta); color: var(--ink); cursor: pointer; z-index: 40; box-shadow: 2px 3px 0 var(--ink); display: grid; place-items: center; }
.back-to-top[hidden] { display: none; }

/* 404 */
.notfound { display: grid; justify-items: start; gap: 6px; }
.notfound__art { width: 140px; transform: rotate(-4deg); margin-bottom: 4px; }


/* v3.2 補：程式碼片段 #13 把模板 H2 換成 p.h2-like，樣式要跟上 */
.section__head .h2-like, .section__head .section__title { font-family: var(--font-display); font-weight: 700 !important; font-synthesis: none; font-size: clamp(23px, 5.4vw, 30px) !important; line-height: 1.35; color: var(--ink); margin: 0 !important; padding-bottom: 12px; background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 12"%3E%3Cpath d="M2 7c8-6 14 5 22 0s14-6 22 0 14 5 22 0 14-6 22 0 14 5 26-1" fill="none" stroke="%23F2B705" stroke-width="3.2" stroke-linecap="round"/%3E%3C/svg%3E') left bottom / 84px 10px no-repeat; }
.tools-extra { margin-top: 30px; max-width: var(--narrow); }
.notfound-search { margin-top: 18px; max-width: 480px; }
@media (max-width: 640px) { .entry-content table.is-cardify tr.is-headrow { display: none !important; } }

/* =========================================================
   15. 動作偏好
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
	.front-page .door { animation: lm-stick .5s cubic-bezier(.2, .9, .3, 1.25) backwards; }
	.front-page .door:nth-child(2) { animation-delay: .05s; }
	.front-page .door:nth-child(3) { animation-delay: .1s; }
	.front-page .door:nth-child(4) { animation-delay: .15s; }
	.front-page .door:nth-child(5) { animation-delay: .2s; }
	.front-page .door:nth-child(6) { animation-delay: .25s; }
	@keyframes lm-stick { from { opacity: 0; transform: translateY(10px) rotate(-2deg) scale(.98); } }
}

/* 列印 */
@media print {
	body { background: #fff; }
	.site-header, .site-footer, .fdisc-block, .back-to-top, .cta-box, .affbtn-box, .section--related { display: none !important; }
}


/* =========================================================
   16. v3.3「分類歸位」（2026-12-02）：發文日、分類目錄、想借哪一種、月份線
   ========================================================= */
/* 日期：發文／更新（卡片與文章頁共用） */
.pdate { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pdate b { flex: none; font-weight: 700; font-size: 12px; line-height: 1; color: var(--ink); background: var(--butter-l); border: 1.5px solid var(--ink); border-radius: 6px 8px 6px 7px / 7px 6px 8px 6px; padding: 3px 6px; }
.pdate--upd b { background: var(--mint-l); }
.pdate time { color: var(--text); font-weight: 700; }
.pdate--upd time { font-weight: 500; color: var(--muted); }
.article__meta .pdate { font-size: 14.5px; }
.article__meta .pdate b { font-size: 12.5px; padding: 4px 7px; }
.article__meta .pdate--read { color: var(--muted); }

/* 文章頁最上面：「分類」兩個字＋一顆標籤 */
.chips__label { display: inline-flex; align-items: center; min-height: 34px; font-size: 13px; font-weight: 700; color: var(--muted); }
.chips__label::after { content: "："; }

/* 標籤上的篇數、目前所在的分類 */
.chip small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.chip.is-current { background: var(--door, var(--mint)); box-shadow: 2px 3px 0 var(--ink); }
.chip.is-current small { color: var(--ink); }

/* 分類目錄：兩排（照你的狀況找／照想借的種類找） */
.cat-dir { margin-top: 18px; display: grid; gap: 12px; background: var(--paper); border: 2px dashed var(--ink); border-radius: var(--wob); padding: 14px 14px 16px; }
.cat-dir__row { display: grid; gap: 8px; min-width: 0; }
.cat-dir__label { font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 17px; color: var(--ink); }
.cat-dir__label::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border: 2px solid var(--ink); border-radius: 50%; background: var(--hl); vertical-align: 1px; }
.hero--small .cat-dir .chips { margin-top: 0; }
.cat-dir .chips { gap: 8px; }
.cat-dir .chip { min-height: 44px; }
@media (min-width: 900px) { .cat-dir__row { grid-template-columns: 9.5em minmax(0, 1fr); align-items: start; } .cat-dir__label { padding-top: 9px; } }

/* 分類頁：上面一小行「全部文章 › 分類」、下面一條「先看重點整理」 */
.hero__crumb { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.hero__crumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.hero__more { margin-top: 10px; }
.more-line { margin-top: 22px; }

/* 首頁：想借哪一種（七類小卡） */
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 900px) { .kinds { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.kind { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; align-items: center; min-height: 76px; text-decoration: none; color: var(--text); background: var(--door-l, var(--paper)); border: 2px solid var(--ink); border-radius: var(--wob-s); padding: 10px 12px 10px 10px; box-shadow: 3px 4px 0 var(--ink); transition: transform .14s ease, box-shadow .14s ease; }
.kind:hover, .kind:focus-visible { transform: translate(-1px, -2px); box-shadow: 4px 6px 0 var(--ink); outline: none; }
.kind:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.kind__art, .kind > svg { grid-row: 1 / span 2; width: 52px; height: auto; }
.kind b { display: block; font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 18px; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.kind small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
/* 手機兩欄時：圖在上、字在下，名字不要被切成兩行 */
@media (max-width: 559px) {
	.kind { grid-template-columns: minmax(0, 1fr); row-gap: 2px; align-content: start; padding: 10px 10px 12px 12px; }
	.kind__art, .kind > svg { grid-row: auto; width: 46px; }
	.kind b { font-size: 17px; white-space: nowrap; }
}
@media (max-width: 359px) { .kind { padding: 8px 6px 10px 8px; } .kind b { font-size: 15px; letter-spacing: -.02em; } }
@media (min-width: 900px) { .kind b { font-size: 20px; } .kind { grid-template-columns: 60px minmax(0, 1fr); } .kind__art, .kind > svg { width: 60px; } }

/* 文章庫：月份線（2026 年 12 月發的文章） */
.month-line { display: flex; align-items: center; gap: 12px; margin: 30px 0 18px; font-family: var(--font-display); font-weight: 700; font-synthesis: none; font-size: 19px; color: var(--ink); }
.month-line:first-child { margin-top: 0; }
.month-line span { flex: none; background: var(--butter); border: 2px solid var(--ink); border-radius: var(--wob-s); padding: 4px 14px; transform: rotate(-1deg); }
.month-line::after { content: ""; flex: 1; min-width: 20px; border-top: 2px dashed var(--ink); opacity: .55; }

/* 主選單多了「全部文章」：1001–1240px 寬時字和搜尋框縮一點，不要折成兩行 */
@media (min-width: 1001px) and (max-width: 1240px) {
	.primary-navigation { gap: 8px; }
	.primary-menu { flex-wrap: nowrap; gap: 0; }
	.primary-menu a { padding: 6px 7px; font-size: 14.5px; white-space: nowrap; }
	.search-field { width: 120px; padding-inline: 10px; }
	.site-logo__text small { display: none; }
}
@media (min-width: 1241px) { .primary-menu { flex-wrap: nowrap; } .primary-menu a { white-space: nowrap; } }

/* 留言表單（2026-12-02 程式碼片段 #14 在每篇文章最後加的 WordPress 原生表單）：手機不能凸出框、樣式跟手帳一致 */
.comment-respond { margin: 30px 0 6px; padding: 16px 16px 18px; background: var(--paper); border: 2px dashed var(--ink); border-radius: var(--wob); max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.comment-respond .comment-reply-title { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.4; color: var(--ink); margin: 0 0 6px; }
.comment-respond .comment-reply-title small { font-size: 14px; font-weight: 500; margin-left: 8px; }
.comment-respond .comment-reply-title small a { display: inline-flex; align-items: center; min-height: 44px; }
.comment-respond form > p { margin: 0 0 12px; }
.comment-respond .comment-notes, .comment-respond .logged-in-as { font-size: 14px; color: var(--muted); line-height: 1.7; }
.comment-respond label { display: block; font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.comment-respond textarea, .comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"] { display: block; width: 100%; max-width: 100%; box-sizing: border-box; min-height: 46px; border: 2px solid var(--ink); border-radius: 12px 16px 12px 14px / 14px 12px 16px 12px; padding: 10px 12px; background: var(--bg); color: var(--text); font: inherit; font-size: 16px; line-height: 1.6; -webkit-appearance: none; appearance: none; }
.comment-respond textarea { min-height: 132px; resize: vertical; }
.comment-respond textarea:focus, .comment-respond input:focus { outline: none; background: #fff; box-shadow: inset 0 -3px 0 var(--hl); }
.comment-respond .comment-form-cookies-consent { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: start; min-height: 44px; }
.comment-respond .comment-form-cookies-consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--money); font-size: 16px; }
.comment-respond .comment-form-cookies-consent label { font-weight: 500; font-size: 14px; color: var(--muted); margin: 0; line-height: 1.7; }
.comment-respond .form-submit { margin-bottom: 0; }
.comment-respond .submit { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 26px; border: 2px solid var(--ink); border-radius: var(--pill); background: var(--cta); color: var(--ink); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; box-shadow: 2px 3px 0 var(--ink); -webkit-appearance: none; appearance: none; }
.comment-respond .submit:hover { background: var(--cta-hover); }
.comment-respond .submit:active { transform: translate(2px, 3px); box-shadow: none; }
