/* 文章頁 V2（2026-10-23）：封面卡、大商品圖、每台一欄的比較表、價格帶配色、更有節奏的段落 */
:root {
  --gold: #f2c94c;
  --gold-ink: #6b4d00;
  --t0: #0b7a5c;  --t0-bg: #e8f5ef;   /* 價格帶 1：品牌綠 */
  --t1: #b26b00;  --t1-bg: #fdf1dc;   /* 價格帶 2：琥珀 */
  --t2: #34558b;  --t2-bg: #e9eff8;   /* 價格帶 3：藍 */
}

/* ---------- 封面卡 ---------- */
.cv { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; margin: 16px 0 8px; border-radius: 20px; overflow: hidden;
  background-color: var(--brand);
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px; min-height: 420px; }
.cv-photo { position: relative; padding: 34px 0 34px 34px; }
.cv-photo .hero { margin: 0; height: 100%; }
.cv-photo .hero img { width: 100%; height: 100%; min-height: 352px; aspect-ratio: auto; object-fit: cover; border-radius: 14px; border: 8px solid #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); background: #fff; }
.cv-photo figcaption { position: absolute; left: 52px; right: auto; bottom: 48px; color: #fff; background: rgba(0,0,0,.35); padding: 0 8px; border-radius: 4px; }
.cv-card { position: relative; align-self: center; margin: 34px 34px 34px -36px; background: var(--gold); color: #1a1a1a; padding: 34px 34px 28px; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
.cv-year { display: inline-block; background: #1a1a1a; color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .12em; padding: 3px 12px; border-radius: 999px; }
.cv-noun { margin: 14px 0 0; font-size: min(46px, calc(400px / var(--n, 8))); white-space: nowrap; line-height: 1.22; font-weight: 700; letter-spacing: .02em; word-break: keep-all; overflow-wrap: anywhere; }
.cv-sub { margin: 4px 0 0; font-size: 40px; line-height: 1.25; font-weight: 700; color: var(--brand-700); letter-spacing: .04em; }
.cv-facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 4px; font-size: 15px; color: #3a3320; }
.cv-facts li { margin: 0; }
.cv-facts li::before { content: "✓"; color: var(--brand-700); font-weight: 700; margin-right: 8px; }
.cv-facts b { font-size: 18px; color: #1a1a1a; margin: 0 2px; }
.cv-brand { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 16px; border-top: 2px solid rgba(26, 26, 26, .15); }
.cv-brand .logo-mark { width: 34px; height: 34px; }
.cv-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.cv-brand b { font-size: 17px; letter-spacing: .06em; }
.cv-brand small { font-size: 10.5px; letter-spacing: .16em; color: #5a4f2c; }

.v2 .art-head h1 { font-size: 28px; margin: 18px 0 10px; }

/* ---------- 先看結論 ---------- */
.picks2 { margin: 26px 0 30px; }
.picks2 h2 { font-size: 22px; margin-bottom: 14px; }
.picks2 h2 small { display: block; font-size: 12.5px; color: var(--brand); letter-spacing: .14em; margin-bottom: 2px; }
.picks2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pk { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 2px solid var(--tc); border-radius: 16px; padding: 18px 14px 16px; color: var(--ink); }
.pk:hover { color: var(--ink); box-shadow: 0 8px 22px rgba(16, 24, 32, .1); transform: translateY(-1px); }
.pk-tier { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--tc); color: #fff; font-size: 13px; font-weight: 700; padding: 2px 14px; border-radius: 0 0 10px 10px; white-space: nowrap; }
.pk img { width: 150px; height: 150px; object-fit: contain; margin: 14px 0 6px; }
.pk-brand { font-size: 13px; font-weight: 700; color: var(--tc); letter-spacing: .04em; }
.pk-model { font-size: 16px; font-weight: 700; }
.pk-tag { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.55; }
.pk-price { margin-top: 10px; font-size: 22px; font-weight: 700; color: var(--price); font-feature-settings: "tnum"; }
.t0 { --tc: var(--t0); --tbg: var(--t0-bg); }
.t1 { --tc: var(--t1); --tbg: var(--t1-bg); }
.t2 { --tc: var(--t2); --tbg: var(--t2-bg); }

/* ---------- 段落標題 ---------- */
.v2 .prose h2 { position: relative; display: flex; align-items: baseline; gap: 12px; font-size: 25px; margin: 60px 0 18px; padding: 0 0 12px; border-left: 0; border-bottom: 2px solid var(--line-2); }
.v2 .prose h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 4px; background: var(--brand); border-radius: 2px; }
.v2 .prose h2 .h2n { flex: none; font-size: 15px; font-weight: 700; color: #fff; background: var(--brand); border-radius: 8px; padding: 2px 9px; letter-spacing: .04em; transform: translateY(-3px); }
.v2 .prose h3 { font-size: 19px; padding-left: 12px; border-left: 4px solid var(--gold); }
.v2 .prose strong { color: var(--brand-700); background: linear-gradient(transparent 62%, #fbe9a8 62%); }

/* ---------- 價格帶分隔 ---------- */
.tier2 { display: flex; align-items: center; gap: 12px; margin: 48px 0 18px; padding: 12px 20px; border-radius: 14px; background: var(--tbg); border-left: 8px solid var(--tc); }
.tier2 span { font-size: 22px; font-weight: 700; color: var(--tc); letter-spacing: .04em; }
.tier2 small { color: var(--ink-2); font-size: 14px; }

/* ---------- 商品卡 ---------- */
.p2 { display: grid; grid-template-columns: 40% minmax(0, 1fr); border: 1px solid var(--line); border-top: 5px solid var(--tc); border-radius: 18px; overflow: hidden; margin: 0 0 28px; background: #fff; scroll-margin-top: 84px; box-shadow: 0 2px 10px rgba(16, 24, 32, .04); }
.p2-media { position: relative; display: flex; flex-direction: column; align-items: center; padding: 24px 20px 16px; border-right: 1px solid var(--line-2); background: #fff; }
.p2-rank { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 8px; background: var(--tc); color: #fff; padding: 10px 14px 10px 16px; border-radius: 0 0 16px 0; }
.p2-rank b { font-size: 34px; line-height: 1; font-feature-settings: "tnum"; }
.p2-rank small { font-size: 11.5px; line-height: 1.25; font-weight: 700; opacity: .95; }
.p2-brand { display: flex; flex-direction: column; align-items: center; margin: 46px 0 6px; line-height: 1.15; text-align: center; }
.p2-brand b { font-size: 26px; letter-spacing: .03em; color: var(--ink); }
.p2-brand span { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
.p2-media figure { margin: 0; width: 100%; }
.p2-media img { width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: contain; margin: 0 auto; background: #fff; }
.p2-media figcaption { text-align: center; }
.p2-body { padding: 24px 26px 20px; min-width: 0; }
.p2-body h3 { font-size: 21px; line-height: 1.45; margin: 0; }
.p2-tag { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: var(--tc); }
.p2-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; background: var(--brand); color: #fff; border-radius: 12px; padding: 12px 18px; box-shadow: 0 6px 16px rgba(11, 122, 92, .25); transition: background .15s, transform .15s; }
.p2-buy:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.p2-buy-l { display: flex; flex-direction: column; font-size: 22px; font-weight: 700; line-height: 1.25; font-feature-settings: "tnum"; }
.p2-buy-l small { font-size: 12.5px; font-weight: 500; opacity: .85; }
.p2-buy-i { width: 26px; height: 26px; flex: none; }
.p2-asof { margin: 6px 0 0; font-size: 12px; color: var(--ink-3); }
.p2-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin: 18px 0 0; }
.p2-spec div { display: flex; flex-direction: column; padding: 9px 0; border-top: 1px solid var(--line-2); }
.p2-spec dt { font-size: 12.5px; color: var(--ink-3); }
.p2-spec dd { margin: 1px 0 0; font-size: 16px; font-weight: 700; color: var(--ink); }
.p2-view { grid-column: 1 / -1; margin: 0; padding: 22px 26px; background: var(--brand-50); border-top: 1px solid var(--brand-100); }
.p2-view h4, .p2-pc h4 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 8px; }
.p2-view h4 { color: var(--brand-700); }
.p2-view p:last-child { margin-bottom: 0; }
.p2-pc { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px 26px 6px; }
.p2-pc > div { border-radius: 14px; padding: 14px 16px; font-size: 14.5px; line-height: 1.7; }
.p2-pc ul { list-style: none; padding: 0; margin: 0; }
.p2-pc li { position: relative; padding-left: 20px; margin: 6px 0; }
.pc-pros { background: #e5f4ec; }
.pc-pros h4 { color: #08664c; }
.pc-pros li::before { content: "✓"; position: absolute; left: 0; color: #08664c; font-weight: 700; }
.pc-cons { background: #fdeedb; }
.pc-cons h4 { color: #9a4f00; }
.pc-cons li::before { content: "!"; position: absolute; left: 4px; color: #9a4f00; font-weight: 700; }
.pc-feat { background: var(--panel); }
.pc-feat h4 { color: var(--ink-2); }
.pc-feat li::before { content: ""; position: absolute; left: 3px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.p2-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 10px 26px 20px; }
.p2-fit { margin: 0; font-size: 15px; color: var(--ink-2); }
.p2-fit b { color: #fff; background: var(--ink); border-radius: 6px; padding: 1px 8px; margin-right: 10px; font-size: 13px; }
.p2-foot .report-link { margin: 0; }

/* ---------- 比較表：每台一欄 ---------- */
.ct-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.ct { border-collapse: separate; border-spacing: 0; font-size: 14px; min-width: 100%; }
.ct th, .ct td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line-2); min-width: 118px; vertical-align: middle; }
.ct thead th { background: var(--tc, var(--ink)); color: #fff; padding: 12px 8px; }
.ct thead th a { color: #fff; display: flex; flex-direction: column; line-height: 1.25; }
.ct thead th b { font-size: 15px; }
.ct thead th small { font-size: 12px; opacity: .85; font-weight: 500; }
.ct .ct-l { position: sticky; left: 0; z-index: 2; background: #f4f6f8; color: var(--ink-2); font-weight: 700; font-size: 13px; text-align: left; min-width: 92px; box-shadow: 1px 0 0 var(--line); }
.ct .ct-l small { display: block; font-weight: 500; color: var(--ink-3); }
.ct thead .ct-l { background: var(--ink); color: #fff; }
.ct tbody tr:nth-child(even) td { background: #fafbfc; }
.ct-tier td { color: var(--tc); background: var(--tbg) !important; font-weight: 700; font-size: 13px; }
.ct-img td { position: relative; padding: 12px 8px; }
.ct-img img { width: 96px; height: 96px; object-fit: contain; margin: 0 auto; }
.ct-rank { position: absolute; top: 8px; left: 8px; width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.ct-model { font-weight: 700; font-size: 13px; word-break: keep-all; overflow-wrap: normal; }   /* 型號絕不從字中間斷；放不下只會在連字號後換行 */
.ct-price { color: var(--price); font-weight: 700; font-size: 15px; font-feature-settings: "tnum"; }
.ct td.na { color: #b3bcc4; }
.ct tbody tr:last-child td, .ct tbody tr:last-child th { border-bottom: 0; }

/* ---------- 手機 ---------- */
@media (max-width: 860px) {
  .cv { grid-template-columns: 1fr; min-height: 0; }
  .cv-photo { padding: 18px 18px 0; }
  .cv-photo .hero img { min-height: 0; aspect-ratio: 3 / 2; border-width: 6px; }
  .cv-photo figcaption { bottom: 10px; left: 32px; }
  .cv-card { margin: -34px 18px 18px; padding: 22px 20px 18px; }
  .cv-noun { font-size: min(34px, calc((100vw - 120px) / var(--n, 8))); }
  .cv-sub { font-size: 28px; }
  .p2 { grid-template-columns: 1fr; }
  .p2-media { border-right: 0; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
  .p2-media img { max-width: 260px; }
  .p2-pc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cv { border-radius: 16px; margin-top: 12px; }
  .cv-noun { font-size: min(30px, calc((100vw - 110px) / var(--n, 8))); }
  .cv-sub { font-size: 24px; }
  .cv-facts { font-size: 14px; }
  .v2 .art-head h1 { font-size: 22px; }
  .picks2-grid { grid-template-columns: 1fr; }
  .pk { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto; text-align: left; align-items: center; gap: 0 12px; padding: 24px 14px 14px; }
  .pk img { grid-row: 1 / span 5; width: 96px; height: 96px; margin: 0; }
  .pk-price { margin-top: 4px; font-size: 19px; }
  .v2 .prose h2 { font-size: 20px; gap: 10px; }
  .tier2 span { font-size: 19px; }
  .p2-body, .p2-view { padding-left: 16px; padding-right: 16px; }
  .p2-pc, .p2-foot { padding-left: 16px; padding-right: 16px; }
  .p2-body h3 { font-size: 18px; }
  .p2-brand b { font-size: 22px; }
  .p2-buy-l { font-size: 20px; }
  .p2-spec dd { font-size: 15px; }
  .ct th, .ct td { min-width: 104px; font-size: 13px; }
  .ct .ct-l { min-width: 76px; }
}
@media (max-width: 360px) {
  .p2-spec { grid-template-columns: 1fr 1fr; gap: 0 12px; }

  .cv-sub { font-size: 21px; }
}

/* ---------- 比較表撐滿全寬（側欄在這一段讓開） ---------- */
.cmp-full { margin: 8px 0 0; }
.cmp-full .prose { max-width: 780px; }
@media (min-width: 1081px) {
  .cmp-full .ct { width: 100%; table-layout: fixed; }
  .cmp-full .ct th, .cmp-full .ct td { min-width: 0; padding: 10px 6px; font-size: 13.5px; }
  .cmp-full .ct .ct-l { width: 96px; }
  .cmp-full .ct thead th b { font-size: 14px; }
  .cmp-full .ct-img img { width: 84px; height: 84px; }
  .cmp-full .ct-model { font-size: 12px; letter-spacing: -.02em; font-feature-settings: "tnum"; }
  .cmp-full .scroll-hint { display: none; }
}
/* 1300px 以上：型號一行放完（字級 11.5、左右內距縮小）；比較窄的寬度才在連字號後換行 */
/* 超過 15 字的型號（例 TWD-T37BP160MWTA-WT）一行放不下會蓋到隔壁欄：這種照樣在連字號後換行 */
@media (min-width: 1300px) { .cmp-full .ct-model:not(.long) { white-space: nowrap; font-size: 11.5px; padding-left: 3px; padding-right: 3px; } }

/* ---------- 地點卡（雜誌版的加強；基本樣式在 site.css，2026-10-23） ---------- */
.v2 .pls { gap: 26px; }
.v2 .pl { border-top: 5px solid var(--brand); border-radius: 18px; box-shadow: 0 2px 10px rgba(16, 24, 32, .04); padding: 24px 26px 18px; }
.v2 .pl-n { width: 46px; height: 46px; font-size: 22px; border-radius: 12px; }
.v2 .pl-t h3 { font-size: 22px; }
.v2 .pl-dl dd { font-weight: 500; }
.v2 .pl-note { background: #fff8e6; border-left-color: var(--gold); }
.v2 .rel { border-radius: 18px; }
@media (max-width: 640px) {
  .v2 .pl { padding: 16px 16px 14px; }
  .v2 .pl-n { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
  .v2 .pl-t h3 { font-size: 19px; }
}

/* 購買按鈕：momo、蝦皮兩個並列（2026-10-24 使用者）；第二個白底；「分潤連結」小字在按鈕上；PChome 參考價在下面一行 */
.p2-buys { display: grid; gap: 10px; margin-top: 18px; }
.p2-buys.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p2-buys .p2-buy { margin-top: 0; }
.p2-buys.two .p2-buy-l { font-size: 18px; }
.p2-buy.alt { background: #fff; color: var(--brand-700); box-shadow: inset 0 0 0 1.5px var(--brand); }
.p2-buy.alt:hover { background: var(--brand-50); color: var(--brand-700); }
.p2-buy-l em { font-style: normal; font-size: 11px; font-weight: 500; padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, .22); vertical-align: 3px; margin-left: 4px; white-space: nowrap; }
.p2-buy.alt .p2-buy-l em { background: var(--brand-50); }
.p2-asof { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.p2-ref a { color: var(--ink-2); }
.p2-ref a:hover { color: var(--brand-700); }
@media (max-width: 640px) {
  .p2-buys.two { grid-template-columns: minmax(0, 1fr); }
}
