/* 好物評比推薦 · 網站樣式 V1（設計系統：01-企畫/設計系統-v1.md）
   白底、綠色為品牌色；可點的文字不加底線（家族習慣）；手機 320 起不破版 */
:root {
  --brand: #0b7a5c;
  --brand-700: #075e47;
  --brand-50: #ebf6f1;
  --brand-100: #d3ece2;
  --ink: #1c2228;
  --ink-2: #47525d;
  --ink-3: #7a8591;
  --line: #e3e7eb;
  --line-2: #eef1f3;
  --panel: #f6f8f9;
  --price: #c8402a;
  --pro: #0b7a5c;
  --pro-bg: #eef7f2;
  --con: #a25a0c;
  --con-bg: #fdf4e6;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 32, .04), 0 4px 16px rgba(16, 24, 32, .05);
  --font: "Noto Sans TC", system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --wide: 1200px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.85 var(--font); letter-spacing: .01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; font-weight: 700; letter-spacing: .02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin: .3em 0; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 頁首 ---------- */
.hd { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.hd .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1.1; }
.logo-word b { font-size: 19px; letter-spacing: .06em; }
.logo-word small { font-size: 10.5px; color: var(--ink-3); letter-spacing: .14em; margin-top: 3px; font-weight: 500; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; }
.nav a:hover, .nav a.on { color: var(--brand-700); background: var(--brand-50); }

/* ---------- 頁尾 ---------- */
.ft { margin-top: 72px; background: var(--panel); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.ft .wrap { padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ft h4 { font-size: 14px; color: var(--ink); margin-bottom: 10px; }
.ft ul { list-style: none; padding: 0; margin: 0; }
.ft li { margin: 6px 0; }
.ft a { color: var(--ink-2); }
.ft a:hover { color: var(--brand-700); }
.ft .about { line-height: 1.8; max-width: 30em; }
.ft .copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; font-size: 12.5px; color: var(--ink-3); }

/* ---------- 共用元件 ---------- */
.crumb { font-size: 13px; color: var(--ink-3); padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--brand-700); }
.crumb span[aria-hidden] { color: #c3cad1; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--brand-700); background: var(--brand-50); padding: 3px 12px; border-radius: 999px; line-height: 1.6; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: var(--radius-sm); line-height: 1.3; transition: background .15s; }
.btn:hover { background: var(--brand-700); color: #fff; }
.btn svg { width: 15px; height: 15px; }
.btn-ghost { background: #fff; color: var(--brand-700); border: 1px solid var(--brand-100); }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand-700); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.muted { color: var(--ink-3); }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- 文章頁 ---------- */
.art { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.art-main { min-width: 0; max-width: 780px; }
.art-head { padding: 18px 0 8px; }
.art-head h1 { font-size: 32px; margin: 14px 0 12px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13.5px; color: var(--ink-3); }
.byline b { color: var(--ink-2); font-weight: 500; }
.disc { display: flex; gap: 10px; margin: 18px 0 22px; padding: 12px 16px; background: var(--panel); border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.disc .ico { margin-top: 3px; color: var(--ink-3); }
.hero { margin: 0 0 22px; }
.hero img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; background: var(--panel); }
figcaption { font-size: 12px; color: var(--ink-3); margin-top: 6px; text-align: right; }
.lead p { font-size: 17px; }

/* 重點速覽：每個價格帶的第 1 名 */
.picks { margin: 28px 0 8px; padding: 20px; background: linear-gradient(180deg, var(--brand-50), #fff 70%); border: 1px solid var(--brand-100); border-radius: var(--radius); }
.picks-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.picks-h h2 { font-size: 18px; }
.picks-h a { font-size: 13.5px; font-weight: 500; }
.picks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pick { display: grid; grid-template-rows: auto auto 1fr auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; color: var(--ink); }
.pick:hover { border-color: var(--brand-100); box-shadow: var(--shadow); color: var(--ink); }
.pick-tier { font-size: 12px; font-weight: 700; color: var(--brand-700); }
.pick img { width: 112px; height: 112px; object-fit: contain; margin: 10px auto; }
.pick-name { font-size: 14px; line-height: 1.55; }
.pick-name small { display: block; color: var(--ink-3); font-size: 12px; }
.pick-tag { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.pick-price { margin-top: 10px; font-weight: 700; color: var(--price); font-size: 15px; }

/* 目錄 */
.toc { margin: 26px 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.toc b { display: block; font-size: 15px; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; font-size: 14.5px; }
.toc li { break-inside: avoid; margin: 4px 0; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--brand-700); }

/* 內文 */
.prose h2 { font-size: 24px; margin: 56px 0 16px; padding-left: 14px; border-left: 4px solid var(--brand); }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose figure { margin: 22px 0; }
.prose figure img { border-radius: 12px; width: 100%; }
.prose strong { font-weight: 700; background: linear-gradient(transparent 62%, #fbe9a8 62%); }

/* 十大推薦 */
.top-note { font-size: 14px; color: var(--ink-2); background: var(--panel); border-radius: var(--radius-sm); padding: 10px 14px; }
.tier { display: flex; align-items: center; gap: 12px; margin: 44px 0 16px; }
.tier span { flex: none; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; padding: 5px 16px; border-radius: 999px; letter-spacing: .04em; }
.tier i { flex: 1; height: 1px; background: var(--line); }
.prod { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 22px; scroll-margin-top: 84px; }
.prod-h { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin-bottom: 18px; }
.rank { width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 700; font-feature-settings: "tnum"; }
.rank.r1 { background: #b98a2b; }
.prod-brand { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.prod-h h3 { font-size: 20px; margin: 2px 0 0; line-height: 1.4; }
.prod-tag { display: block; font-size: 14.5px; color: var(--brand-700); font-weight: 500; margin-top: 4px; }
.prod-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
.prod-img { margin: 0; }
.prod-img img { width: 220px; height: 220px; object-fit: contain; background: var(--panel); border-radius: 12px; }
.prod-img figcaption { text-align: center; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th { width: 6.5em; text-align: left; font-weight: 500; color: var(--ink-3); padding: 7px 8px 7px 0; vertical-align: top; }
.spec td { padding: 7px 0; color: var(--ink); }
.spec tr + tr { border-top: 1px solid var(--line-2); }
.spec .na { color: var(--ink-3); }
.src { display: inline-block; margin-left: 6px; font-size: 11px; line-height: 1.6; color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; vertical-align: 1px; }
a.src:hover { color: var(--brand-700); border-color: var(--brand-100); }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.price { font-size: 22px; font-weight: 700; color: var(--price); font-feature-settings: "tnum"; }
.price small { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-right: 4px; }
.asof { flex-basis: 100%; order: 3; font-size: 12px; color: var(--ink-3); margin-top: -4px; }
.buy .btn { margin-left: auto; }
.view { margin: 22px 0 0; padding: 18px 20px; background: var(--panel); border-radius: 12px; }
.view h4, .pc h4 { font-size: 14.5px; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.view p:last-child { margin-bottom: 0; }
.pc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.pc > div { border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.7; border: 1px solid var(--line); }
.pc ul { list-style: none; padding: 0; margin: 0; }
.pc li { position: relative; padding-left: 20px; margin: 6px 0; }
.pc li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.pc .pros { background: var(--pro-bg); border-color: transparent; }
.pc .pros h4 { color: var(--pro); }
.pc .pros li::before { background: none; width: auto; height: auto; top: 0; left: 0; content: "✓"; color: var(--pro); font-weight: 700; }
.pc .cons { background: var(--con-bg); border-color: transparent; }
.pc .cons h4 { color: var(--con); }
.pc .cons li::before { background: none; width: auto; height: auto; top: 0; left: 1px; content: "!"; color: var(--con); font-weight: 700; }
.fit { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 14.5px; color: var(--ink-2); }
.fit b { flex: none; color: var(--ink); }

/* 比較表 */
.scroll { position: relative; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.cmp { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 860px; font-size: 13.5px; }
.cmp th, .cmp td { padding: 10px 10px; text-align: center; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.cmp thead th { background: var(--panel); font-weight: 700; color: var(--ink-2); font-size: 13px; position: sticky; top: 0; }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }
.cmp .m { position: sticky; left: 0; background: #fff; text-align: left; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.cmp thead .m { background: var(--panel); z-index: 2; }
.cmp .m a { color: var(--ink); font-weight: 500; }
.cmp .m small { display: block; color: var(--ink-3); font-size: 11.5px; font-weight: 400; }
.cmp .tierrow td { background: var(--brand-50); color: var(--brand-700); font-weight: 700; text-align: left; font-size: 12.5px; padding: 6px 12px; position: sticky; left: 0; }
.cmp .na { color: #a9b2bb; font-size: 12px; }
.cmp .p { color: var(--price); font-weight: 700; }
.scroll-hint { display: none; font-size: 12px; color: var(--ink-3); margin: 6px 0 0; text-align: right; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; font-weight: 700; position: relative; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--brand); margin-right: 10px; font-weight: 700; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 24px; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq .a { padding: 0 0 16px 26px; color: var(--ink-2); }
.faq .a p:last-child { margin-bottom: 0; }

/* 我們怎麼評比 */
.method { margin-top: 56px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 14.5px; color: var(--ink-2); }
.method h2 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.weights { display: grid; gap: 8px; margin: 14px 0 6px; }
.weight { display: grid; grid-template-columns: 9em 1fr 3em; gap: 10px; align-items: center; font-size: 13.5px; }
.weight i { height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.weight i span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.weight b { text-align: right; font-weight: 500; color: var(--ink); font-feature-settings: "tnum"; }

/* 側欄 */
.side { position: sticky; top: 88px; padding-top: 24px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; }
.side-box h3 { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-bottom: 8px; letter-spacing: .06em; }
.side-toc { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 1.55; }
.side-toc li { margin: 0; }
.side-toc a { display: block; padding: 6px 0 6px 12px; color: var(--ink-2); border-left: 2px solid var(--line); }
.side-toc a:hover, .side-toc a.on { color: var(--brand-700); border-left-color: var(--brand); }
.side-list { list-style: none; padding: 0; margin: 0; font-size: 13.5px; counter-reset: n; }
.side-list li { margin: 0; }
.side-list a { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px; padding: 6px 0; color: var(--ink-2); border-top: 1px solid var(--line-2); }
.side-list li:first-child a { border-top: 0; }
.side-list a:hover { color: var(--brand-700); }
.side-list i { font-style: normal; font-weight: 700; color: var(--ink-3); font-feature-settings: "tnum"; }
.side-list em { font-style: normal; color: var(--price); font-weight: 500; font-feature-settings: "tnum"; }

/* ---------- 首頁、分類頁 ---------- */
.home-hero { background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%); border-bottom: 1px solid var(--line-2); }
.home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.home-hero h1 { font-size: 36px; line-height: 1.35; }
.home-hero h1 em { font-style: normal; color: var(--brand); }
.home-hero p { font-size: 16.5px; color: var(--ink-2); margin: 14px 0 22px; max-width: 30em; }
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.promise div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.promise b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; }
.promise b .ico { color: var(--brand); }
.promise span { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.6; margin-top: 4px; }
.hero-feature { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.hero-feature:hover { color: var(--ink); }
.hero-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-feature div { padding: 16px 18px 18px; }
.hero-feature h2 { font-size: 18px; margin: 8px 0 4px; }
.hero-feature span { font-size: 13px; color: var(--ink-3); }

.sec { margin-top: 52px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-h h2 { font-size: 22px; }
.sec-h p { margin: 0; color: var(--ink-3); font-size: 14px; }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: #fff; min-height: 128px; }
a.cat:hover { border-color: var(--brand-100); box-shadow: var(--shadow); color: var(--ink); }
.cat .cat-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.cat .cat-ico svg { width: 22px; height: 22px; }
.cat b { font-size: 15.5px; margin-top: 4px; }
.cat span { font-size: 12.5px; color: var(--ink-3); }
.cat.off { background: var(--panel); border-style: dashed; }
.cat.off .cat-ico { background: #fff; color: var(--ink-3); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.acard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); background: #fff; }
.acard:hover { box-shadow: var(--shadow); color: var(--ink); border-color: var(--brand-100); }
.acard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--panel); }
.acard div { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.acard h3 { font-size: 16px; line-height: 1.55; }
.acard p { font-size: 13.5px; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acard .meta { margin-top: auto; padding-top: 6px; font-size: 12.5px; color: var(--ink-3); display: flex; gap: 10px; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.how div { padding: 18px; border-radius: var(--radius); background: var(--panel); }
.how b { display: block; font-size: 15px; margin-bottom: 6px; }
.how b::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; margin-right: 8px; vertical-align: 1px; }
.how span { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

.cat-head { padding: 8px 0 28px; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.cat-head .cat-ico { width: 64px; height: 64px; border-radius: 16px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.cat-head .cat-ico svg { width: 34px; height: 34px; }
.cat-head h1 { font-size: 30px; }
.cat-head p { margin: 4px 0 0; color: var(--ink-2); }
.alist { display: grid; gap: 16px; }
.arow { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.arow:hover { box-shadow: var(--shadow); color: var(--ink); border-color: var(--brand-100); }
.arow img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.arow h2 { font-size: 19px; margin: 8px 0 6px; }
.arow p { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; }
.arow .top3 { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; }
.arow .top3 span { background: var(--panel); border-radius: 6px; padding: 2px 8px; color: var(--ink-2); }
.arow .meta { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.empty { padding: 28px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-3); text-align: center; background: var(--panel); }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 30px; }
.subcats a, .subcats span { font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; }
.subcats a:hover { border-color: var(--brand-100); color: var(--brand-700); }
.subcats .on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- 平板、手機 ---------- */
@media (max-width: 1080px) {
  .art { grid-template-columns: minmax(0, 1fr); }
  .art-main { width: 100%; max-width: 780px; justify-self: center; }
  .side { display: none; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .home-hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 32px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft .wrap { grid-template-columns: 1fr 1fr; }
  .ft .about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; line-height: 1.8; }
  .hd .wrap { height: 56px; gap: 12px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-word b { font-size: 17px; }
  .logo-word small { display: none; }
  .nav a { padding: 6px 10px; font-size: 14px; }
  .art-head h1 { font-size: 23px; }
  .lead p { font-size: 16px; }
  .prose h2 { font-size: 20px; margin-top: 44px; }
  .prose h3 { font-size: 17px; }
  .toc ol { columns: 1; }
  .picks { padding: 14px; }
  .picks-grid { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 76px 1fr; grid-template-rows: auto; gap: 2px 12px; align-items: center; }
  .pick img { grid-row: 1 / span 4; width: 76px; height: 76px; margin: 0; }
  .pick-price { margin-top: 2px; }
  .prod { padding: 16px; }
  .prod-h h3 { font-size: 17px; }
  .rank { width: 38px; height: 38px; font-size: 18px; border-radius: 10px; }
  .prod-body { grid-template-columns: 1fr; gap: 14px; }
  .prod-img img { width: 180px; height: 180px; margin: 0 auto; }
  .buy .btn { margin-left: 0; width: 100%; order: 4; }
  .pc { grid-template-columns: 1fr; }
  .scroll-hint { display: block; }
  .method { padding: 18px; }
  .weight { grid-template-columns: 7.5em 1fr 2.8em; }
  .home-hero h1 { font-size: 26px; }
  .promise { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { min-height: 0; padding: 14px; }
  .cards { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .cat-head { grid-template-columns: 1fr; gap: 12px; }
  .cat-head h1 { font-size: 24px; }
  .arow { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
  .ft .wrap { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .nav a { padding: 6px 8px; }
  .logo-word b { font-size: 16px; letter-spacing: .03em; }
}
@media (min-width: 1081px) { .art-main > .toc { display: none; } }
.picks-h h2 small { display: block; font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .12em; margin-bottom: 2px; }
.picks-h a { flex: none; }

/* 2026-10-22 指揮家審：手機商品卡（價格與按鈕在圖下、規格只露 4 個關鍵）、揭露一行摘要 */
.prod-body { grid-template-areas: "img spec" "img buy"; grid-template-rows: auto 1fr; row-gap: 0; }
.prod-img { grid-area: img; }
.prod-spec { grid-area: spec; min-width: 0; }
.prod-body > .buy { grid-area: buy; align-self: start; }
.spec-more { display: none; }
.disc-m { display: none; }
@media (max-width: 640px) {
  .prod-body { grid-template-areas: "img" "buy" "spec"; grid-template-columns: 1fr; grid-template-rows: auto; gap: 12px; }
  .prod-body > .buy { margin-top: 0; padding-top: 0; border-top: 0; }
  .prod-spec { border-top: 1px dashed var(--line); padding-top: 8px; }
  .spec tr.more { display: none; }
  .spec-toggle:checked + .spec tr.more { display: table-row; }
  .spec-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--brand); cursor: pointer; padding: 4px 0; }
  .spec-more::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -3px 0 0 6px; }
  .spec-more .c { display: none; }
  .spec-toggle:checked ~ .spec-more .o { display: none; }
  .spec-toggle:checked ~ .spec-more .c { display: inline; }
  .spec-toggle:checked ~ .spec-more::after { transform: rotate(-135deg); margin-top: 4px; }
  .disc-full { display: none; }
  .disc-m { display: block; margin: 14px 0 18px; padding: 10px 14px; }
  .disc-m summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; }
  .disc-m summary::-webkit-details-marker { display: none; }
  .disc-m summary span { flex: 1; min-width: 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .disc-m summary a { flex: none; font-size: 13px; }
  .disc-m summary .ico { margin-top: 0; }
  .disc-m > div { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
}

/* ---------- 方法論與固定頁 ---------- */
.page { max-width: 820px; }
.page-head { padding: 22px 0 8px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.page-head h1 { font-size: 30px; }
.page-lead { font-size: 16.5px; color: var(--ink-2); margin: 12px 0 18px; }
.page-body { padding-top: 6px; }
.page-body.prose h2 { font-size: 21px; margin-top: 40px; }
.page-body code { font-size: 13px; background: var(--panel); padding: 1px 6px; border-radius: 4px; }
.report-link { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.report-link:hover { color: var(--brand-700); }
.form { display: grid; gap: 16px; max-width: 560px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; }
.form .req { font-size: 12px; color: var(--price); font-weight: 500; }
.form .muted { font-size: 12.5px; font-weight: 400; }
.form input, .form select, .form textarea { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); border: 1px solid #cfd6dc; border-radius: var(--radius-sm); padding: 10px 12px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand-100); border-color: var(--brand); }
.form .btn { justify-self: start; min-width: 140px; border: 0; cursor: pointer; }
.form .btn:disabled { opacity: .6; cursor: default; }
.form-about { margin: 0; padding: 10px 14px; background: var(--brand-50); color: var(--brand-700); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; }
.form-msg { margin: 0; font-size: 14px; min-height: 1.5em; color: var(--ink-2); }
.form-msg.ok { color: var(--pro); }
.form-msg.err { color: var(--price); }
@media (max-width: 640px) { .page-head h1 { font-size: 24px; } .form .btn { justify-self: stretch; } }
.price.oos { color: var(--ink-3); font-size: 17px; }
.hidden { display: none; }

/* ---------- 地點卡（AI 協作寫文章的地點清單，2026-10-23；雜誌版、經典版共用，雜誌版的加強在 article-v2.css） ---------- */
.pls { display: grid; gap: 22px; margin: 0 0 8px; }
.pl { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background: #fff; scroll-margin-top: 84px; }
.pl-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.pl-n { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 700; font-feature-settings: "tnum"; }
.pl-t { min-width: 0; }
.pl-t h3 { font-size: 20px; line-height: 1.4; margin: 1px 0 0; overflow-wrap: anywhere; }
.pl-area { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.pl-area .ico { width: 15px; height: 15px; }
.pl-been { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #6b4d00; background: #fdf3d4; border: 1px solid #f2dc94; padding: 3px 11px 3px 8px; border-radius: 999px; white-space: nowrap; line-height: 1.5; }
.pl-been .ico { width: 15px; height: 15px; }
.pl-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 16px; }
.pl-main.has-photo { grid-template-columns: 260px minmax(0, 1fr); }
.pl-photo { margin: 0; }
.pl-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--panel); }
.pl-info { min-width: 0; }
.pl-dl { margin: 0; font-size: 14.5px; line-height: 1.7; }
.pl-dl div { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); }
.pl-dl div:first-child { border-top: 0; padding-top: 0; }
.pl-dl dt { color: var(--ink-3); font-weight: 500; }
.pl-dl dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.pl-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 0; }
.pl-tags li { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--brand-700); background: var(--brand-50); padding: 0 10px; border-radius: 999px; }
.pl-map { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--brand-700); border: 1px solid var(--brand-100); border-radius: var(--radius-sm); padding: 7px 12px; }
.pl-map:hover { background: var(--brand-50); }
.pl-map .ico { width: 16px; height: 16px; }
.pl-map .pl-ext { width: 13px; height: 13px; color: var(--ink-3); }
.pl-body { margin-top: 16px; font-size: 15.5px; }
.pl-body p:last-child, .pl-body ul:last-child { margin-bottom: 0; }
.pl-body h3 { font-size: 16px; margin: 14px 0 6px; }
.pl-note { margin: 16px 0 0; padding: 12px 16px; background: #fffaf0; border-left: 4px solid #f2c94c; border-radius: 0 10px 10px 0; font-size: 15px; color: var(--ink-2); }
.pl-note b { display: block; font-size: 13px; color: #6b4d00; margin-bottom: 2px; }
.pl-note p { margin: 0; }
.pl-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); }
.pl-src { margin: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12.5px; line-height: 1.7; color: var(--ink-3); }
.pl-src a { color: var(--ink-2); overflow-wrap: anywhere; }
.pl-src a:hover { color: var(--brand-700); }
.pl-foot .report-link { margin: 0; }

/* 延伸閱讀（站內文章） */
.rel { margin-top: 48px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.rel h2 { font-size: 18px; margin-bottom: 6px; }
.rel ul { list-style: none; padding: 0; margin: 0; }
.rel li { margin: 0; border-top: 1px solid var(--line-2); }
.rel li:first-child { border-top: 0; }
.rel a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; color: var(--ink); font-weight: 500; line-height: 1.6; }
.rel a:hover { color: var(--brand-700); }
.rel a span { flex: none; color: var(--ink-3); }

/* 頁尾多一欄好去處時（好去處有已發佈的文章） */
@media (min-width: 861px) { .ft .wrap.ft4 { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

@media (max-width: 640px) {
  .pl { padding: 16px; }
  .pl-h { grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px; }
  .pl-been { grid-column: 2; justify-self: start; }
  .pl-n { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
  .pl-t h3 { font-size: 18px; }
  .pl-main.has-photo { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pl-dl div { grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px; }
  .pl-body { font-size: 15px; }
  .rel { padding: 16px 18px; }
}

/* 選單多了「好去處」（三個項目）時，窄手機一行放得下：字與內距縮一點、不換行 */
@media (max-width: 400px) {
  .nav.nav3 { gap: 0; margin-right: -4px; }
  .nav.nav3 a { padding: 6px 5px; font-size: 13.5px; white-space: nowrap; }
  .hd .wrap:has(.nav3) { gap: 8px; }
  .hd .wrap:has(.nav3) .logo-mark { width: 28px; height: 28px; }
  .hd .wrap:has(.nav3) .logo-word b { font-size: 15px; letter-spacing: .02em; }
}

/* ---------- 分類架構 V1（2026-10-24）：全部分類 mega menu、手機抽屜、首頁大類格、大類／中類頁 ---------- */
.cat-btn, .menu-btn { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 12px; cursor: pointer; line-height: 1.3; flex: none; transition: background .15s, border-color .15s, color .15s; }
.cat-btn svg, .menu-btn svg { width: 18px; height: 18px; }
.cat-btn:hover, .cat-btn.on { color: var(--brand-700); background: var(--brand-50); border-color: var(--brand-100); }
.cat-btn .cat-chev { width: 15px; height: 15px; color: var(--ink-3); transition: transform .2s; }
.cat-btn.on .cat-chev { transform: rotate(180deg); color: var(--brand-700); }
.menu-btn { display: none; margin-left: auto; }
.menu-btn:hover { color: var(--brand-700); background: var(--brand-50); border-color: var(--brand-100); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 36px rgba(16, 24, 32, .10); }
.mega[hidden] { display: none; }
.hd .wrap.mega-in { display: grid; height: auto; gap: 0; align-items: stretch; grid-template-columns: 236px minmax(0, 1fr); padding-top: 18px; padding-bottom: 22px; max-height: calc(100vh - 64px); }
.mega-l { list-style: none; margin: 0; padding: 0 14px 0 0; border-right: 1px solid var(--line-2); overflow-y: auto; }
.mega-l li { margin: 0; }
.mega-tab { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--radius-sm); color: var(--ink); font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.mega-tab em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.mega-tab:hover, .mega-tab.on { background: var(--brand-50); color: var(--brand-700); }
.mega-tab.on { font-weight: 700; }
.mega-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--panel); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.mega-ic svg { width: 18px; height: 18px; }
.mega-tab.on .mega-ic, .mega-tab:hover .mega-ic { background: #fff; color: var(--brand); }
.mega-r { padding: 4px 4px 0 30px; overflow-y: auto; }
.mega-r[hidden] { display: none; }
.mega-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.mega-title { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: var(--ink); }
.mega-title span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--brand); }
.mega-title span svg { width: 14px; height: 14px; }
.mega-title:hover span { color: var(--brand-700); }
.mega-head p { margin: 0; flex: 1 1 320px; font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }
.mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 26px; }
.mega-mid { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
a.mega-mid:hover { color: var(--brand-700); }
.mega-mid.off { color: var(--ink-3); font-weight: 500; }
.mega-mid small, .dr-mid .off small { font-size: 11px; font-weight: 500; color: var(--ink-3); background: var(--panel); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 7px; line-height: 1.7; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li { margin: 0; font-size: 14px; line-height: 1.5; padding: 3px 0; }
.mega-col li a { color: var(--ink-2); }
.mega-col li a:hover { color: var(--brand-700); }
.mega-col li .off { color: #98a2ac; }
.mega-mid-intro { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer-mask { position: absolute; inset: 0; background: rgba(16, 24, 32, .42); animation: drFade .2s ease-out; }
.drawer-in { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; display: flex; flex-direction: column; box-shadow: -12px 0 32px rgba(16, 24, 32, .16); animation: drIn .22s ease-out; }
@keyframes drIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drFade { from { opacity: 0; } to { opacity: 1; } }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 8px 0 18px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-hd b { font-size: 16px; }
.drawer-x { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink-2); cursor: pointer; border-radius: 10px; }
.drawer-x:hover { background: var(--panel); }
.drawer-x svg { width: 22px; height: 22px; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 0 24px; }
.dr-big { border-bottom: 1px solid var(--line-2); }
.dr-big summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; padding: 11px 16px 11px 18px; cursor: pointer; list-style: none; }
.dr-big summary::-webkit-details-marker { display: none; }
.dr-name { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.dr-big summary em { font-style: normal; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.dr-chev { width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s; }
.dr-big[open] summary { background: var(--brand-50); }
.dr-big[open] summary .mega-ic { background: #fff; color: var(--brand); }
.dr-big[open] .dr-chev { transform: rotate(180deg); color: var(--brand-700); }
.dr-list { padding: 4px 18px 14px 60px; }
.dr-all { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; padding: 8px 0 4px; }
.dr-all svg { width: 14px; height: 14px; }
.dr-mid { padding: 8px 0; border-top: 1px dashed var(--line-2); }
.dr-mid > a, .dr-mid > .off { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.dr-mid > .off { color: var(--ink-3); font-weight: 500; }
.dr-leaves { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 13.5px; line-height: 1.7; }
.dr-leaves a { color: var(--ink-2); }
.dr-leaves .off { color: #a6afb8; }
.dr-foot { display: flex; gap: 18px; padding: 18px; font-size: 14px; }
.dr-foot a { color: var(--ink-2); }
html.noscroll, html.noscroll body { overflow: hidden; }


.mids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.midc { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.midc.off { background: #fff; }
.midc-h { display: flex; align-items: center; gap: 10px; }
.midc-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.midc-ico svg { width: 19px; height: 19px; }
.midc.off .midc-ico { background: var(--panel); color: var(--ink-3); }
.midc-h a, .midc-h b { font-size: 16px; font-weight: 700; color: var(--ink); }
.midc-h a:hover { color: var(--brand-700); }
.midc-h em { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border-radius: 999px; padding: 1px 10px; white-space: nowrap; }
.midc-h em.wip { color: var(--ink-3); background: #fff; border: 1px solid var(--line); font-weight: 500; }
.midc-l { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.midc-l a, .midc-l span { font-size: 13px; line-height: 1.5; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-3); }
.midc-l a { color: var(--brand-700); border-color: var(--brand-100); background: var(--brand-50); }
.midc-l a:hover { background: var(--brand-100); }
.midc-intro { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.65; }

.leaves { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -14px 0 30px; }
.leaves-h { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-right: 4px; }
.leaves a, .leaves .off { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; padding: 4px 12px; border-radius: var(--radius-sm); border: 1px solid var(--brand-100); background: var(--brand-50); color: var(--brand-700); }
.leaves .off { border-color: var(--line); background: #fff; color: var(--ink-3); }
.leaves .off small { font-size: 11px; color: #a6afb8; }

.ft-cats ul { columns: 2; column-gap: 20px; }
.ft-cats li { margin: 0 0 6px; break-inside: avoid; }

@media (max-width: 1180px) {
  .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hd .wrap:not(.mega-in) { gap: 18px; }
  .nav a { padding: 8px 11px; }
}
@media (max-width: 1080px) {
  .cat-btn, .mega, .nav { display: none !important; }
  .menu-btn { display: inline-flex; }
  .bigs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .bigs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .menu-btn { padding: 6px 12px 6px 10px; font-size: 14px; }
  .bigs { gap: 10px; }
  .mids { grid-template-columns: 1fr; }
  .sec-h { flex-wrap: wrap; row-gap: 2px; }
  .sec-h h2 { flex: none; }
  .leaves { margin-top: -18px; }
}
@media (max-width: 360px) {
  .bigs { gap: 8px; }
  .menu-btn span { display: none; }
  .menu-btn { padding: 8px; }
}

/* 首頁大類：照片大格（2026-10-24 指揮家：跟 review.com.tw 一樣一個大類一張情境圖；沒文章的不變灰，只在角落放「即將推出」） */
.bigs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.big { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.big:hover { color: var(--ink); border-color: transparent; box-shadow: 0 10px 28px rgba(16, 24, 32, .14); transform: translateY(-2px); }
.big-ph { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--brand-50); }
.big-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.big:hover .big-ph img { transform: scale(1.04); }
.big-ph::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(10, 20, 18, 0) 0%, rgba(10, 20, 18, .62) 100%); pointer-events: none; }
.big-ph b { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 1; color: #fff; font-size: 21px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.big-soon { position: absolute; top: 10px; right: 10px; z-index: 1; font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 2px 10px; line-height: 1.7; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.big.noimg .big-ph { display: grid; place-items: center; }
.big.noimg .big-ph::after { background: linear-gradient(180deg, rgba(11, 122, 92, 0) 0%, rgba(11, 122, 92, .5) 100%); }
.big-ico { width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--brand); display: grid; place-items: center; margin-top: -18%; }
.big-ico svg { width: 30px; height: 30px; }
.big-ft { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; min-height: 44px; }
.big-subs { flex: 1; min-width: 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.big-n { flex: none; font-size: 12.5px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border-radius: 999px; padding: 1px 10px; line-height: 1.7; }

/* 首頁主視覺右邊：還沒有已發佈的文章時，放四個大類的情境圖 */
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-collage a { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hero-collage a:hover img { transform: scale(1.04); }
.hero-collage a::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, rgba(10, 20, 18, 0), rgba(10, 20, 18, .55)); }
.hero-collage span { position: absolute; left: 12px; bottom: 8px; z-index: 1; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }

/* 大類頁頁首：同一張情境圖 */
.cat-hero { position: relative; margin-top: 18px; border-radius: var(--radius); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; background: var(--ink); }
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 18, .66) 0%, rgba(10, 20, 18, .30) 55%, rgba(10, 20, 18, .05) 100%); }
.cat-hero-in { position: relative; z-index: 1; padding: 32px 36px; max-width: 640px; color: #fff; }
.cat-hero h1 { font-size: 34px; letter-spacing: .05em; text-shadow: 0 1px 10px rgba(0, 0, 0, .3); }
.cat-hero p { margin: 6px 0 0; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .92); }

/* 全部分類選單、抽屜：大類小縮圖 */
.mega-th { width: 40px; height: 30px; border-radius: 6px; object-fit: cover; display: block; }
.mega-tab .mega-ic, .dr-big summary .mega-ic { justify-self: center; }
.mega-tab.on .mega-th, .mega-tab:hover .mega-th { box-shadow: 0 0 0 2px var(--brand-100); }

@media (max-width: 1080px) {
  .bigs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .bigs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-hero { min-height: 220px; }
  .cat-hero-in { padding: 24px; }
  .cat-hero h1 { font-size: 28px; }
}
@media (max-width: 640px) {
  .bigs { gap: 10px; }
  .big-ph b { left: 12px; bottom: 8px; font-size: 17px; }
  .big-soon { top: 7px; right: 7px; font-size: 10.5px; padding: 1px 8px; }
  .big-ft { padding: 7px 12px 9px; min-height: 0; flex-wrap: wrap; gap: 4px 8px; }
  .big-subs { font-size: 12px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
  .hero-collage { display: none; }
  .hero-collage span { font-size: 13.5px; left: 10px; bottom: 6px; }
  .cat-hero { min-height: 200px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; }
  .cat-hero::after { background: linear-gradient(180deg, rgba(10, 20, 18, .05) 0%, rgba(10, 20, 18, .68) 100%); }
  .cat-hero-in { padding: 18px var(--gutter); }
  .cat-hero h1 { font-size: 25px; }
  .cat-hero p { font-size: 14.5px; }
}
@media (max-width: 360px) {
  .bigs { gap: 8px; }
  .big-ph b { font-size: 15.5px; left: 10px; }
}

/* ---------- 美食店家的營業資訊比較表、一日行程時間軸（製作台三個入口，2026-10-24；雜誌版、經典版共用） ---------- */
.pl-cmp { margin: 26px 0 8px; }
.pl-cmp h3 { font-size: 17px; margin: 0 0 10px; }
.cmp.cmp-pl { min-width: 640px; }
.cmp.cmp-pl td { white-space: normal; min-width: 7em; max-width: 14em; text-align: left; line-height: 1.6; }
.cmp.cmp-pl .m { min-width: 9em; white-space: normal; }
.cmp.cmp-pl thead th { text-align: left; }   /* 表頭跟內容都靠左（2026-10-24 指揮家：表頭置中、內容靠左對不齊） */
.pl-cmp-note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-3); }

.trip { margin: 0 0 8px; }
.trip-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 14px 18px; border: 1px solid var(--brand-100); background: var(--brand-50); border-radius: var(--radius); margin-bottom: 22px; font-size: 13px; color: var(--ink-2); }
.trip-sum > span { display: flex; flex-direction: column; line-height: 1.4; }
.trip-sum b { font-size: 17px; color: var(--ink); }
.trip-sum .trip-route { margin: 0 0 0 auto; background: #fff; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl > li { display: grid; grid-template-columns: 4.6em 34px minmax(0, 1fr); column-gap: 14px; margin: 0; position: relative; }
.tl-time { text-align: right; font-weight: 700; font-size: 15px; font-feature-settings: "tnum"; padding-top: 8px; line-height: 1.3; color: var(--ink); }
.tl-time small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-3); }
.tl > li::before { content: ""; position: absolute; left: calc(4.6em + 14px + 16px); top: 0; bottom: 0; width: 2px; background: var(--brand-100); }
.tl > li:first-child::before { top: 18px; }
.tl > li:last-child::before { bottom: auto; height: 18px; }
.tl-dot { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; margin-top: 2px; box-shadow: 0 0 0 4px #fff; }
.tl-dot.food { background: #c8702a; }
.tl-start .tl-dot { width: 14px; height: 14px; margin: 10px auto 0; background: #fff; border: 3px solid var(--brand); }
.tl-start .tl-body { padding: 6px 0 14px; font-size: 15px; }
.tl-line { display: block; }
.tl-move .tl-body { padding: 10px 0 16px; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.tl-move .ico { width: 16px; height: 16px; color: var(--brand); vertical-align: -3px; margin-right: 6px; }
.tl-move a { display: inline-block; margin-left: 8px; line-height: 1.6; white-space: nowrap; font-size: 13px; color: var(--brand-700); border: 1px solid var(--brand-100); border-radius: 999px; padding: 1px 10px; }
.tl-move a:hover { background: var(--brand-50); }
.tl-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; margin-bottom: 6px; scroll-margin-top: 84px; }
.tl-stop { scroll-margin-top: 84px; }
.tl-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.tl-h h3 { font-size: 19px; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.tl-meta { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-3); }
.tl-meta > span { display: inline-flex; align-items: center; gap: 4px; }
.tl-meta .ico { width: 14px; height: 14px; }
.tl-stay { color: var(--brand-700); font-weight: 700; }
.tl-kind { color: #8a4a12; background: #fdf0e3; border-radius: 999px; padding: 0 8px; font-weight: 700; }
.tl-card .pl-main { margin-top: 12px; }
.tl-card .pl-src { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.trip-notes { margin: 14px 0 0; padding: 12px 16px 12px 34px; background: var(--panel); border-radius: var(--radius-sm); font-size: 13.5px; color: var(--ink-2); }
.trip-notes li { margin: 2px 0; }
@media (max-width: 640px) {
  .trip-sum { padding: 12px 14px; gap: 8px 16px; }
  .trip-sum .trip-route { margin-left: 0; }
  .tl > li { grid-template-columns: 3.4em 26px minmax(0, 1fr); column-gap: 8px; }
  .tl > li::before { left: calc(3.4em + 8px + 12px); }
  .tl-time { font-size: 13.5px; padding-top: 5px; }
  .tl-time small { font-size: 11.5px; }
  .tl-dot { width: 26px; height: 26px; font-size: 13px; }
  .tl-start .tl-dot { width: 12px; height: 12px; margin-top: 8px; }
  .tl-card { padding: 14px; }
  .tl-h h3 { font-size: 17px; }
  .tl-card .pl-main.has-photo { grid-template-columns: minmax(0, 1fr); }
  .cmp.cmp-pl { min-width: 560px; font-size: 13px; }
  .cmp.cmp-pl .m { min-width: 7.5em; max-width: 9em; }
  .cmp.cmp-pl td { min-width: 6.5em; }
}

/* 經典版購買按鈕：momo、蝦皮兩個並列（2026-10-24 使用者）；第二個白底；「分潤連結」小字；PChome 參考價 */
.buy2 .buy-btns { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.buy2 .btn.btn-ghost { border: 1.5px solid var(--brand); }
.buy2 .asof { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; }
.buy2 .aff { font-style: normal; font-size: 11px; font-weight: 500; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; margin-left: 2px; }
.buy2 .buy-ref a { color: var(--ink-2); }
@media (max-width: 640px) {
  .buy2 .buy-btns { margin-left: 0; width: 100%; order: 4; flex-direction: column; }
  .buy2 .buy-btns .btn { width: 100%; }
}

/* ===== 頁首 v5（2026-10-24）：大搜尋框＋第二排分類列；站內搜尋彈窗 ===== */
.hd-search { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border: 2px solid var(--brand); border-radius: 12px; background: #fff; color: var(--ink-3); font: inherit; font-size: 15px; cursor: text; text-align: left; }
.hd-search svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.hd-search span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hd-search:hover { box-shadow: 0 4px 14px rgba(11, 122, 92, .12); }
.hd-search-m { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; color: var(--ink-2); cursor: pointer; flex: none; }
.hd-search-m svg { width: 20px; height: 20px; }
.hd-row2 { border-top: 1px solid var(--line-2); }
.hd .hd-row2 .wrap { height: 44px; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.hd .hd-row2 .wrap::-webkit-scrollbar { display: none; }
.hd-row2 a { white-space: nowrap; padding: 6px 13px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.hd-row2 a:hover, .hd-row2 a.on { color: var(--brand-700); background: var(--brand-50); }
.hd-row2 a.hl { color: #b5541f; font-weight: 700; }
.smod { position: fixed; inset: 0; z-index: 90; background: rgba(20, 24, 22, .45); padding: 72px 16px 16px; }
.smod[hidden] { display: none; }
.smod-box { max-width: 680px; margin: 0 auto; background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 96px); }
.smod-in { display: flex; align-items: center; gap: 10px; padding: 0 8px 0 18px; height: 60px; border-bottom: 1px solid var(--line); }
.smod-in svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.smod-in input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 17px; background: transparent; }
.smod-in button { width: 40px; height: 40px; border: 0; background: none; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.smod-r { overflow-y: auto; padding: 6px 14px 16px; }
.smod-tip { color: var(--ink-2); margin: 16px 6px; font-size: 15px; }
.smod-n { margin: 12px 6px 6px; font-size: 13px; color: var(--ink-3); }
.smod-it { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: var(--ink); }
.smod-it:hover { background: var(--panel); color: var(--ink); }
.smod-it img, .smod-ph { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--panel); display: block; }
.smod-it small { display: block; font-size: 12.5px; color: var(--brand-700); font-weight: 700; }
.smod-it b { display: block; font-size: 15px; line-height: 1.5; font-weight: 500; }
@media (max-width: 1080px) {
  .hd-search { display: none; }
  .hd-search-m { display: inline-flex; margin-left: auto; }
  .hd-search-m + .menu-btn { margin-left: 8px; }
}
@media (max-width: 720px) { .smod { padding: 0; } .smod-box { border-radius: 0; height: 100vh; max-height: 100vh; } }
.smod-in input::-webkit-search-cancel-button { display: none; }

/* 深色大頁尾（2026-10-24，原型 home-v5）：分類只列有文章的；專題有特輯、選購指南才出 */
.ft { background: #0f1d18; color: #b8c4bf; border-top: 0; }
.ft .wrap { display: block; padding-top: 0; padding-bottom: 0; }
.ft .ft-top { display: grid; grid-template-columns: 1.4fr repeat(var(--n, 3), minmax(0, 1fr)); gap: 32px; padding: 52px 0 32px; }
.ft .logo-word b { color: #fff; } .ft .logo-word small { color: #84938d; }
.ft p { margin: 14px 0 0; line-height: 1.8; }
.ft h4 { margin: 0 0 12px; color: #fff; }
.ft ul { display: grid; gap: 8px; } .ft li { margin: 0; }
.ft a { color: #b8c4bf; } .ft a:hover { color: #fff; }
.ft .ft-src li { color: #b8c4bf; }
.ft .copy { border-top: 1px solid #23342d; padding: 18px 0 26px; color: #84938d; }
@media (max-width: 900px) { .ft .ft-top { grid-template-columns: 1fr 1fr; } .ft .ft-top > :first-child { grid-column: 1 / -1; } }
.ft .ft-cats ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }

/* 文章內文的表格（Markdown GFM 表格，2026-10-24；樣式照文章頁比較表 .a3-cmpt）：外框可左右捲，手機不撐爆頁面 */
.md-tblw { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0 18px; }
.md-tbl { border-collapse: collapse; font-size: 14px; width: 100%; line-height: 1.5; }
.md-tbl th, .md-tbl td { padding: 8px 10px; border-top: 1px solid var(--line-2); text-align: left; white-space: nowrap; }
.md-tbl thead th { font-size: 12.5px; color: var(--ink-3); font-weight: 600; border-top: 0; border-bottom: 1px solid var(--line); }
.md-tbl th:first-child, .md-tbl td:first-child { position: sticky; left: 0; background: #fff; }
